localedata: eo: new Esperanto locale [BZ #16190]
[glibc.git] / ChangeLog
blob94caf576157aedcfb3bd101f608f96bef89754e8
1 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #20240]
4         * math/Makefile (CFLAGS-s_modf.c): New variable.
5         (CFLAGS-s_modff.c): Likewise.
6         (CFLAGS-s_modfl.c): Likewise.
7         * math/libm-test.inc (modf_test_data): Add sNaN tests.
9 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
11         [BZ #20215]
12         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
13         [!__GNUC_PREREQ (3,2)]: Likewise.
15 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
17         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
18         (msghdr.msg_controllen): Likewise.
19         (cmsghdr.cmsg_len): Likewise.
20         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
21         ptw-oldsendmsg.
22         (CFLAGS-oldrecvmsg.c): Remove rule.
23         (CFLAGS-oldsendmsg.c): Likewise.
24         (CFLAGS-recvmsg.c): Add rule.
25         (CFLAGS-sendmsg.c): Likewise.
26         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
27         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
28         (CFLAGS-recvmsg.c): Remove rule.
29         (CFLAGS-sendmsg.c): Likewise.
30         (CFLAGS-oldrecvmsg.c): Likewise.
31         (CFLAGS-oldsendmsg.c): Likewise.
32         (CFLAGS-recvmmsg.c): Likewise.
33         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
34         to kernel defined interfaces.
35         (msghdr.msg_controllen): Likewise.
36         (cmsghdr.cmsg_len): Likewise.
37         (msghdr.__glibc_reserved1): Remove member.
38         (msghdr.__glibc_reserved2): Likewise.
39         (cmsghdr.__glibc_reserved1): Likewise.
40         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
41         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
42         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
43         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
44         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
45         version.
46         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
47         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
48         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
49         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
50         Remove recvmsg and sendmsg.
51         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
52         Likewise.
53         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
54         Likewise.
55         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
56         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
57         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
58         Likewise.
59         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
60         Likewise.
61         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
62         [libc] (GLIBC_2.24): Likewise.
63         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
64         Likewise.
65         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
66         Likewise.
67         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
68         [libc] (GLIBC_2.24): Likewise.
69         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
70         Likewise.
71         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
72         Likewise.
73         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
74         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
75         Likewise.
76         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
77         Likewise.
78         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
79         Likewise.
80         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
81         Likewise.
82         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
83         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
84         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
85         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
86         version for {recv,send,recm,sendm}msg.
87         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
88         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
89         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
90         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
91         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
92         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
93         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
94         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
95         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
96         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
97         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
98         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
99         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
100         Likewise.
101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
102         Likewise.
103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
105         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
106         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
107         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
108         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
109         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
110         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
113         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
114         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
115         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
117 2016-06-10  Florian Weimer  <fweimer@redhat.com>
119         [BZ #19564]
120         Remove __malloc_initialize_hook from the API.
121         * malloc/malloc.h (__malloc_initialize_hook): Remove.
122         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
123         #pragma GCC poison.
124         * malloc/malloc-hooks.h: New file.
125         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
126         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
127         (old__malloc_initialize_hook): Rename from
128         __malloc_initialize_hook to evade poisoning.  Turn into compat
129         symbol.
130         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
131         __malloc_initialize_hook.
132         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
133         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
134         * manual/memory.texi (Hooks for Malloc): Remove
135         __malloc_initialize_hook.  Adjust hook example.
137 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
139         [BZ #20235]
140         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
141         itself.
142         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
143         * math/libm-test.inc (log2_test_data): Add sNaN tests.
145         [BZ #20234]
146         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
147         infinity or NaN input to itself.
149         [BZ #20233]
150         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
151         to itself.
153         [BZ #20232]
154         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
155         itself.
157 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
159         * sysdeps/x86_64/start.S (_start): Always indirect branch to
160         __libc_start_main via GOT.
162 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
164         * sysdeps/x86_64/memcopy.h: New file.
165         * sysdeps/x86_64/wordcopy.c: Likewise.
167 2016-06-09  Florian Weimer  <fweimer@redhat.com>
169         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
170         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
171         <cstdlib>.
172         (optimization_barrier): New.
173         (do_test): Use it.  Call quick_exit in the global namespace.
174         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
175         instead of <cstdlib>, <thread>.
176         (optimization_barrier): New.
177         (non_main_thread): Adjust declaration.  Call optimization_barrier.
178         Call quick_exit in the global namespace.
179         (do_test): Call optimization_barrier.  Use pthread_create,
180         pthread_join instead of std::thread.
182 2016-06-09  Andreas Schwab  <schwab@suse.de>
184         [BZ #19755]
185         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
186         new entries in auto-propagate mode.
187         * nscd/grpcache.c (cache_addgr): Likewise.
189 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@gmail.com>
191         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
192         New functions.
193         (add_temp_file): Use them.
195 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
197         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
199 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
201         [BZ #20229]
202         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
203         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
204         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
206         [BZ #20228]
207         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
208         itself.
209         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
210         * math/libm-test.inc (log10_test_data): Add sNaN tests.
212         [BZ #20227]
213         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
214         itself.
215         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
216         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
217         * math/libm-test.inc (log_test_data): Add sNaN tests.
219         [BZ #20226]
220         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
221         itself.
222         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
223         * math/libm-test.inc (exp_test_data): Add sNaN tests.
224         (exp10_test_data): Likewise.
225         (expm1_test_data): Likewise.
227         [BZ #20225]
228         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
229         itself.
230         * math/s_ldexpf.c (__ldexpf): Likewise.
231         * math/s_ldexpl.c (__ldexpl): Likewise.
232         * math/w_scalbln.c (__w_scalbln): Likewise.
233         * math/w_scalblnf.c (__w_scalblnf): Likewise.
234         * math/w_scalblnl.c (__w_scalblnl): Likewise.
235         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
236         (scalbln_test_data): Likewise.
238         [BZ #20224]
239         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
240         argument to itself.
241         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
243 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
245         [BZ #19776]
246         * sysdeps/x86_64/memcpy.S: Make it dummy.
247         * sysdeps/x86_64/mempcpy.S: Likewise.
248         * sysdeps/x86_64/memmove.S: New file.
249         * sysdeps/x86_64/memmove_chk.S: Likewise.
250         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
251         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
252         * sysdeps/x86_64/memmove.c: Removed.
253         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
254         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
255         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
256         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
257         Likewise.
258         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
259         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
260         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
261         memcpy-sse2-unaligned, memmove-avx-unaligned,
262         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
263         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
264         (__libc_ifunc_impl_list): Replace
265         __memmove_chk_avx512_unaligned_2 with
266         __memmove_chk_avx512_unaligned.  Remove
267         __memmove_chk_avx_unaligned_2.  Replace
268         __memmove_chk_sse2_unaligned_2 with
269         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
270         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
271         with __memmove_avx512_unaligned.  Replace
272         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
273         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
274         with __memcpy_chk_avx512_unaligned.  Remove
275         __memcpy_chk_avx_unaligned_2.  Replace
276         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
277         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
278         Replace __memcpy_avx512_unaligned_2 with
279         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
280         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
281         with __mempcpy_chk_avx512_unaligned.  Remove
282         __mempcpy_chk_avx_unaligned_2.  Replace
283         __mempcpy_chk_sse2_unaligned_2 with
284         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
285         Replace __mempcpy_avx512_unaligned_2 with
286         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
287         Replace __mempcpy_sse2_unaligned_2 with
288         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
289         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
290         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
291         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
292         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
293         (ENTRY): Removed.
294         (END): Likewise.
295         (ENTRY_CHK): Likewise.
296         (libc_hidden_builtin_def): Likewise.
297         Don't include ../memcpy.S.
298         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
299         __memcpy_chk_avx512_unaligned_erms and
300         __memcpy_chk_avx512_unaligned.  Use
301         __memcpy_chk_avx_unaligned_erms and
302         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
303         Default to __memcpy_chk_sse2_unaligned.
304         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
305         Change function suffix from unaligned_2 to unaligned.
306         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
307         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
308         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
309         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
310         (ENTRY): Removed.
311         (END): Likewise.
312         (ENTRY_CHK): Likewise.
313         (libc_hidden_builtin_def): Likewise.
314         Don't include ../mempcpy.S.
315         (mempcpy): New.  Add a weak alias.
316         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
317         __mempcpy_chk_avx512_unaligned_erms and
318         __mempcpy_chk_avx512_unaligned.  Use
319         __mempcpy_chk_avx_unaligned_erms and
320         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
321         Default to __mempcpy_chk_sse2_unaligned.
323 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
325         [BZ #19881]
326         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
327         into ...
328         * sysdeps/x86_64/memset.S: This.
329         (__bzero): Removed.
330         (__memset_tail): Likewise.
331         (__memset_chk): Likewise.
332         (memset): Likewise.
333         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
334         defined.
335         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
336         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
337         (__memset_zero_constant_len_parameter): Check SHARED instead of
338         PIC.
339         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
340         memset-avx2 and memset-sse2-unaligned-erms.
341         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
342         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
343         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
344         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
345         (__bzero): Enabled.
346         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
347         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
348         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
349         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
350         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
351         (memset): Removed.
352         (__memset_chk): Likewise.
353         (MEMSET_SYMBOL): New.
354         (libc_hidden_builtin_def): Replace __memset_sse2 with
355         __memset_sse2_unaligned.
356         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
357         __memset_chk_sse2 and __memset_chk_avx2 with
358         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
359         Use __memset_chk_sse2_unaligned_erms or
360         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
361         __memset_chk_avx512_unaligned_erms and
362         __memset_chk_avx512_unaligned.
364 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
366         * math/gen-auto-libm-test.c (fp_format_desc): remove
367         suffix member.
368         (output_generic_value): Remove usage of suffix member,
369         and the resulting unuse of the fp_format argument.
370         (output_for_one_input_case): Remove unused fp_format
371         parameter.
373         * math/auto-libm-test-out: Regenerate.
375         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
376         usage with TEST_COND_ibm128.
377         (TEST_COND_flt_32): Remove.
378         (TEST_COND_dbl_64): Remove.
379         (TEST_COND_ldbl_96_intel): Remove.
380         (TEST_COND_ldbl_96_m68k): Remove.
381         (TEST_COND_ldbl_128): Remove.
383 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
385         * auto-libm-test-in:
386         Replace flt-32 usage with binary32.
387         Replace dbl-64 usage with binary64.
388         Replace ldbl-intel-96 usage with intel96.
389         Replace ldbl-m68k-96 usage with m68k96.
390         Replace ldbl-128ibm usage with ibm128.
391         Replace ldbl-128 usage with binary128.
393         * auto-libm-test-out: Regenerate.
395 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
397         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
398         (parse_ulps): Dynamically generate type name matching
399         string from all_floats.
400         (get_ulps): Generate the ulps as an array instead.
401         (output_ulps): Dynamically compose the type based
402         on the number of supported formats, and print
403         the indices as type specific helper macros.
405         * math/libm-test.inc: Remove comment about CHOOSE.
406         (ulp_data): Generate the type in libm-test-ulps.h.
407         (ULP_IDX): New macro.
408         (find_ulps): Update usage of max_ulp.
410         * math/test-double-vlen2.h (CHOOSE): Remove.
411         * math/test-double-vlen4.h (CHOOSE): Likewise.
412         * math/test-double-vlen8.h (CHOOSE): Likewise.
413         * math/test-float.c (CHOOSE): Likewise.
414         * math/test-float-finite.c (CHOOSE): Likewise.
415         * math/test-double.c (CHOOSE): Likewise.
416         * math/test-double-finite.c (CHOOSE): Likewise.
417         * math/test-idouble.c (CHOOSE): Likewise.
418         * math/test-ifloat.c (CHOOSE): Likewise.
419         * math/test-ildoubl.c (CHOOSE): Likewise.
420         * math/test-ldouble-finite.c (CHOOSE): Likewise.
421         * math/test-ldouble.c (CHOOSE): Likewise.
423         * math/test-float.h (TEST_FLOAT): Remove.
424         * math/test-double.h (TEST_DOUBLE): Likewise.
425         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
427 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
429         * math/gen-libm-test.pl: (apply_lit): New subroutine.
430         (parse_args): Strip C suffix from floating point literals
431         typed with 'f' and wrap them with LIT().
433         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
434         (test_ff_f_data_nexttoward): Rename to
435         (test_fj_f_data): New struct.
436         (nexttoward_test_data): Relabel tests as
437         TEST_fj_f instead of TEST_ff_f.
439 2016-06-08  Florian Weimer  <fweimer@redhat.com>
441         Emacs bug 23726.
442         * malloc/malloc.c (dumped_main_arena_start): Update comment.
443         (__libc_realloc): Correct size computation for dumped fake mmapped
444         chunks.
446 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
448         [BZ #20219]
449         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
450         to itself.
451         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
453         [BZ #20218]
454         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
455         to itself.
456         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
458 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
460         [BZ #20195]
461         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
462         check to ...
463         (init_cpu_features): Here.
465 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
467         [BZ #20214]
468         * sysdeps/unix/sysv/linux/bits/in.h
469         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
470          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
471         Define to 1.
472         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
473          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
474         Define to 0.
475         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
476         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
478 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
480         [BZ #20198]
481         * stdlib/Makefile (tests): Add tst-quick_exit, and
482         tst-thread-quick_exit.
483         [ifeq ($(have-cxx-thread_local),yes)]
484         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
485         (CFLAGS-tst-thread-quick_exit.o): Likewise.
486         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
487         (LDLIBS-tst-thread-quick_exit): Likewise.
488         [ifneq ($(have-cxx-thread_local),yes)]
489         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
490         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
491         If run_dtors is true call __call_tls_dtors.
492         (exit): Call __run_exit_handlers with run_dtors set to true.
493         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
494         definition.
495         * stdlib/quick_exit.c (quick_exit): Remove function.
496         (__new_quick_exit): New function.
497         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
498         function.
499         * stdlib/tst-quick_exit.cc: New file.
500         * stdlib/tst-thread-quick_exit.cc: New file.
501         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
502         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
503         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
504         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
505         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
506         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
507         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
508         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
509         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
510         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
511         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
512         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
513         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
514         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
515         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
516         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
521         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
522         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
523         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
524         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
525         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
528         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
529         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
530         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
532 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
534         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
535         a typo in comments.
537 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
539         [BZ #20213]
540         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
541         argument to itself.
542         * math/libm-test.inc (asin_test_data): Add sNaN tests.
544 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
546         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
547         required flags.
548         (CFLAGS-pwritev64.c): Likewise.
549         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
550         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
551         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
552         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
553         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
554         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
555         syscall from auto-generation.
556         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
557         [WORDSIZE == 64] (pwritev64): Remove macro.
558         [!PWRITEV] (PWRITEV): Likewise.
559         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
560         [!PWRITEV] (PWRITE): Likewise.
561         [!PWRITEV] (OFF_T): Likewise.
562         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
563         (LO_HI_LONG): Remove macro.
564         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
565         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
566         (PWRITEV): Remove macro.
567         (PWRITEV_REPLACEMENTE): Likewise.
568         (PWRITE): Likewise.
569         (OFF_T): Likewise.
570         (pwritev64): New function.
571         * nptl/tst-cancel4.c (tf_writev): Add test.
573         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
574         required flags.
575         (CFLAGS-preadv64.c): Likewise.
576         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
577         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
578         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
579         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
580         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
581         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
582         syscall from auto-generation.
583         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
584         [WORDSIZE == 64] (preadv64): Remove macro.
585         [!PREADV] (PREADV): Likewise.
586         [!PREADV] (PREADV_REPLACEMENT): Likewise.
587         [!PREADV] (PREAD): Likewise.
588         [!PREADV] (OFF_T): Likewise.
589         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
590         (LO_HI_LONG): Remove macro.
591         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
592         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
593         (PREADV): Remove macro.
594         (PREADV_REPLACEMENTE): Likewise.
595         (PREAD): Likewise.
596         (OFF_T): Likewise.
597         (preadv64): New function.
598         * nptl/tst-cancel4.c (tf_preadv): Add test.
600 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
602         [BZ #20212]
603         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
604         argument to itself.
605         * math/libm-test.inc (acos_test_data): Add sNaN tests.
607 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
609         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
610         New symbol defined as libc_hidden_def.
611         (strcasestr): Became a weak alias to __strcasestr.
612         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
613         according to multi-arch support.  Move __stpncpy hidden
614         definition from here to...
615         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
616         symbol stpncpy.
617         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
618         libc_hidden_builtin_def.
619         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
620         memset symbol to use when multi-arch support is available.
622 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
624         * dlfcn/tst-rec-dlopen.c: Include string.h.
626 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
628         * manual/install.texi: Remove mention of --without-tls
629         * INSTALL: Regenerate.
631 2016-06-05  Florian Weimer  <fweimer@redhat.com>
633         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
634         Remove.
635         (call_function, interposed_malloc_called): New variables.
636         (malloc): New function.
637         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
638         and clear call_function as needed.
640 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
642         * include/wchar.h (__wmemset): Use __typeof.
644 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
646         * include/wchar.h (__wmemset): Declare function without typeof.
648 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
650         [BZ #20205]
651         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
652         exponent when incrementing negative subnormal with low mantissa
653         word zero.
654         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
655         Add another test.
657 2016-06-03  Florian Weimer  <fweimer@redhat.com>
659         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
660         __wmemset instead of wmemset.
662 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
664         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
665         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
666         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
667         __USE_KERNEL_IPV6_DEFS to 0.
668         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
669         Update comment.
671 2016-06-01  Florian Weimer  <fweimer@redhat.com>
673         [BZ #19861]
674         Do not use IFUNC resolver with potentially unrelocated symbol.
675         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
676         (DEFINE_FORK): Remove macro and inline definition.
677         (fork_alias): Renamed from fork_ifunc.
678         (__fork_alias): Renamed from __fork_ifunc.
680 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
682         [BZ 19653]
683         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
684         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
686 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
688         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
689         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
690         i386-linux-gnu).
691         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
692         Set to no.
693         * sysdeps/mach/hurd/configure: Refresh.
695 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
697         [BZ #20178]
698         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
699         on failure instead of exit.
701 2016-05-30  Roland McGrath  <roland@hack.frob.com>
703         [BZ #3629]
704         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
705         of POSIX.1-2008.
707 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
709         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
710           Use PLT entry for calling _hurd_self_sigstate.
712 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
714         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
715         available logical processors with SMT level type sharing L2
716         cache for Intel processors.
718 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
720         [BZ #20160]
721         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
722         argument to itself before returning the result.
723         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
724         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
725         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
726         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
727         Likewise.
728         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
729         Likewise.
730         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
731         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
732         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
733         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
734         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
735         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
737         [BZ #20160]
738         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
739         argument to itself before returning the result.
740         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
741         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
742         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
743         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
744         Likewise.
745         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
746         Likewise.
747         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
748         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
749         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
750         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
751         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
752         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
754 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
756         * libm-test.inc: Replace usage of M_El with
757         (lit_e): New macro.
759 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
761         * libm-test.inc: Replace usage of M_PI_4l with
762         (lit_pi_4_d): New macro.
764 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
766         * libm-test.inc: Replace usage of M_PIl with
767         (lit_pi): New macro.
769 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
771         * libm-test.inc: Replace usage of M_PI2l with
772         (lit_pi_2_d): New macro.
774         * math/test-double.h (LITM): New macro.
775         * math/test-float.h (LITM): Likewise.
776         * math/test-ldouble.h (LITM): Likewise.
778 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
780         * libm-test.inc (M_PI_34l): Rename to
781         (lit_pi_3_m_4_d): New Macro.
782         (M_PI_34_LOG10El): Rename to
783         (lit_pi_3_m_4_ln10_m_d): New Macro.
784         (M_PI2_LOG10El): Rename to
785         (lit_pi_2_ln10_m_d):  New Macro.
786         (M_PI4_LOG10El): Rename to
787         (lit_pi_4_ln10_m_d):  New Macro.
788         (M_PI_LOG10El): Rename to
789         (lit_pi_ln10_d):  New Macro.
791 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
793         [BZ #20157]
794         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
795         determine whether to negate low half if [_ARCH_PPCGR], and integer
796         comparison otherwise.
797         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
798         determine whether to negate low half.
800         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
801         (NO_TEST_INLINE_DOUBLE): Likewise.
802         (TEST_COND_x86_64): Likewise.
803         (TEST_COND_x86): Likewise.
804         (M_PI_6l): Likewise.
806 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
808         * math/libm-test.inc:
809         (TEST_FLOAT): Change usage to TEST_COND_binary32.
810         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
811         (TEST_LDOUBLE): Update usage to evaluate as true if
812         the guarded tests match the property being tested.
813         (LDBL_MAX_EXP): Change to MAX_EXP.
814         (LDBL_MIN_EXP): Change to MIN_EXP.
815         (LDBL_MANT_DIG): Change to MANT_DIG, except for
816         nexttoward tests.
818 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
820         * math/libm-test.inc:
821         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
822         (TYPE_MIN): Likewise.
823         (TYPE_TRUE_MIN): Likewise.
824         (TYPE_MAX): Likewise.
825         (MIN_EXP): Likewise.
826         (MAX_EXP): Likewise.
827         (MANT_DIG): Likewise.
829         (FSTR_MAX): New macro.
830         (__CONCATX): Likewise.
831         (QTYPE_STR): Likewise.
832         (TEST_COND_binary32): Likewise.
833         (TEST_COND_binary64): Likewise.
834         (TEST_COND_binary128): Likewise.
835         (TEST_COND_ibm128): Likewise.
836         (TEST_COND_intel96): Likewise.
837         (TEST_COND_m68k96): Likewise.
839         (TEST_COND_flt_32): Redefine as equivalent format test macro.
840         (TEST_COND_dbl_64): Likewise.
841         (TEST_COND_ldbl_96_intel): Likewise.
842         (TEST_COND_ldbl_96_m68k): Likewise.
843         (TEST_COND_ldbl_128): Likewise.
844         (TEST_COND_ldbl_128ibm): Likewise.
846         (plus_zero): Redefine using LIT macro.
847         (minus_zero): Likewise.
848         (plus_infty): Redefine as (INF).
849         (minux_infty): Redefine as (-INF).
850         (max_value): Redefine as TYPE_MAX.
851         (min_value): Redefine as TYPE_MIN.
852         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
854         (print_float): Refactor to use snprintf to convert FLOAT values
855         to string. This brings it closer to dropin replacement of strtof
856         for the TS 18661 defined types.
857         (update_stats): Likewise.
858         (print_complex_function_ulps): Likewise.
859         (print_max_error): Likewise.
860         (print_complex_max_error): Likewise.
861         (check_float_internal): Likewise.
863         * math/test-float.h (PREFIX): New macro.
864         (LIT): Likewise.
865         (TYPE_STR): Likewise.
866         (FTOSTR): Likewise.
868         * math/test-double.h (PREFIX): New macro.
869         (LIT): Likewise.
870         (TYPE_STR): Likewise.
871         (FTOSTR): Likewise.
873         * math/test-ldouble.h (PREFIX): New macro.
874         (LIT): Likewise.
875         (TYPE_STR): Likewise.
876         (FTOSTR): Likewise.
878 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
880         [BZ #20156]
881         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
882         to itself when zero or not finite.
883         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
884         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
885         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
886         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
888 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
890         [BZ #20153]
891         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
892         x * x + x for infinities and NaNs.
894         [BZ #20151]
895         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
896         argument to itself before returning result.
897         (__ieee754_y0l): Likewise.
898         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
899         (__ieee754_y1l).
901         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
902         (atan_test_data): Likewise.
903         (ceil_test_data): Likewise.
904         (cos_test_data): Likewise.
905         (cosh_test_data): Likewise.
906         (erf_test_data): Likewise.
907         (exp2_test_data): Likewise.
908         (fabs_test_data): Likewise.
909         (floor_test_data): Likewise.
910         (ilogb_test_data): Likewise.
911         (j0_test_data): Likewise.
912         (j1_test_data): Likewise.
913         (jn_test_data): Likewise.
914         (lgamma_test_data): Likewise.
915         (lrint_test_data): Likewise.
916         (llrint_test_data): Likewise.
917         (logb_test_data): Likewise.
918         (lround_test_data): Likewise.
919         (llround_test_data): Likewise.
920         (nearbyint_test_data): Likewise.
921         (rint_test_data): Likewise.
922         (round_test_data): Likewise.
923         (sin_test_data): Likewise.
924         (sincos_test_data): Likewise.
925         (sinh_test_data): Likewise.
926         (sqrt_test_data): Likewise.
927         (tan_test_data): Likewise.
928         (tanh_test_data): Likewise.
929         (tgamma_test_data): Likewise.
930         (trunc_test_data): Likewise.
931         (y0_test_data): Likewise.
932         (y1_test_data): Likewise.
933         (yn_test_data): Likewise.
935         * math/libm-test.inc: Update comment about NaN testing.
936         (TEST_SNAN): New macro.
937         (snan_value): Likewise.
938         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
939         (fpclassify_test_data): Add sNaN tests.
940         (isfinite_test_data): Likewise.
941         (isinf_test_data): Likewise.
942         (isnan_test_data): Likewise.
943         (isnormal_test_data): Likewise.
944         (issignaling_test_data): Likewise.
945         (signbit_test_data): Likewise.
946         * math/gen-libm-test.pl (%beautify): Add snan_value.
947         (show_exceptions): Add argument $test_snan.
948         (parse_args): Handle snan_value as non-finite.  Update call to
949         show_exceptions.
950         * math/Makefile (libm-test-no-inline-cflags): Add
951         -fsignaling-nans.
953 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
955         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
956         (CFLAGS-oldsendmsg.c): Add rule.
957         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
958         Correct recvmsg symbol name.
959         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
960         Likewise.
962 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
964         * sysdeps/unix/sysv/linux/Makefile
965         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
966         oldsendmmsg.
967         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
968         sendmmsg.
969         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
970         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
971         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
972         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
974         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
975         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
977         Likewise.
978         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
979         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
980         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
981         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
982         iovlen and controllen fields to adjust to POSIX specification.
983         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
985         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
986         and change to correct expected type.
987         (msghdr.msg_controllen): Likewise.
988         (cmsghdr.cmsg_len): Likewise.
989         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
990         expected POSIX assumption about the size.
991         (msghdr.msg_controllen): Likewise.
992         (msghdr.__glibc_reserved1): Likewise.
993         (msghdr.__glibc_reserved2): Likewise.
994         (cmsghdr.cmsg_len): Likewise.
995         (cmsghdr.__glibc_reserved1): Likewise.
996         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
997         Add ptw-oldrecvmsg and ptw-oldsendmsg.
998         (CFLAGS-sendmsg.c): Remove rule.
999         (CFLAGS-recvmsg.c): Likewise.
1000         (CFLAGS-oldsendmsg.c): Add rule.
1001         (CFLAGS-oldrecvmsg.c): Likewise.
1002         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
1003         recvmsg and sendmsg.
1004         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
1005         Likewise.
1006         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
1007         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
1008         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1009         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
1010         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1011         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1012         Likewise.
1013         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1014         Likewise.
1015         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
1016         Likewise.
1017         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
1018         Likewise.
1019         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
1020         Likewise.
1021         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
1022         Likewise.
1023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
1024         (GLIBC_2.24): Likewise.
1025         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
1026         Likewise.
1027         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
1028         Likewise.
1029         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
1030         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
1031         Likewise.
1032         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
1033         Likewise.
1034         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
1035         Likewise.
1036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
1037         (GLIBC_2.24): Likewise.
1038         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
1039         Likewise.
1040         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
1041         Likewise.
1042         * sysdeps/unix/sysv/linux/Makefile
1043         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
1044         (CFLAGS-sendmsg.c): Add rule.
1045         (CFLAGS-recvmsg.c): Likewise.
1046         (CFLAGS-oldsendmsg.c): Likewise.
1047         (CFLAGS-oldrecvmsg.c): Likewise.
1048         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
1049         initialization.
1050         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
1051         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
1052         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
1053         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
1054         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
1055         iovlen and controllen fields to adjust to POSIX specification.
1056         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
1057         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
1058         added recvmsg and sendmsg.
1059         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1060         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1061         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1062         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1063         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1064         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1065         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1066         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1067         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1068         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1069         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1070         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
1071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1072         Likewise.
1073         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
1074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1075         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1076         Likewise.
1077         Likewise.
1078         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1079         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1080         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1081         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1082         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1083         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1085         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1087         Likewise.
1088         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1089         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1091         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
1092         from auto-generation.
1093         (sendmsg): Likewise.
1094         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
1095         (sendmsg): Likewise.
1096         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
1097         (sendmsg): Likewise.
1098         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
1099         (sendmsg): Likewise.
1100         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
1101         (sendmsg): Likewise.
1102         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
1103         (sendmsg): Likewise.
1104         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
1105         Likewise.
1106         (sendmsg): Likewise.
1107         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
1108         (sendmsg): Likewise.
1109         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1110         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1111         Remove.
1112         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1113         Likewise.
1114         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1115         Undefine.
1116         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1117         Likewise.
1118         * sysdeps/unix/sysv/linux/kernel-features.h
1119         (__ASSUME_SENDMSG_SYSCALL): Define.
1120         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1121         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1122         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1123         Remove.
1124         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1125         Likewise.
1126         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1127         Undefine.
1128         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1129         Likewise.
1130         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1131         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1132         Remove.
1133         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1134         Likewise.
1135         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1136         Undefine.
1137         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1138         Likewise.
1139         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1140         (__ASSUME_SENDMSG_SYSCALL): Undefine.
1141         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1142         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1143         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1144         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1145         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1146         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1147         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1149 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1151         * stdlib/gen-tst-strtod-round.c: Add backslash to
1152         compile command in comment.
1153         (printfp): Remove the literal suffix, and define an infinite
1154         value as INF to avoid expansion clash with INFINITY.
1155         (round_str): Remove the literal suffix.
1156         (round_for_all): Likewise, remove the now duplicate ldbl-64
1157         entry, and remove some magic constants.
1159         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
1160         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
1161         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
1162         (_CONCAT): New macro.
1163         (CONCAT): Likewise.
1164         (CHOOSE_ld): Likewise.
1165         (CHOOSE_f): Likewise.
1166         (CHOOSE_d): Likewise.
1167         (FTYPE_MEMBER): Likewise.
1168         (BOOL_MEMBER): Likewise.
1169         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
1170         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
1171         (_XNTRY): Likewise.
1172         (XNTRY): Likewise.
1173         (_ENTRY): Likewise.
1174         (ENTRY): Likewise.
1175         (test_exactness): Generate members via macro.
1176         (test_results): Likewise.
1177         (test): Update members.
1178         (TEST): Redefine using new macros.
1179         (INF): New macro.
1180         (fetestmodes): New structure.
1181         (do_test): Refactor to be type generic.
1182         (test_in_one_mode): Refactor duplicate code into
1183         (GEN_ONE_TEST): New macro.
1185         * stdlib/tst-strtod-round-data.h: Regenerate.
1187         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
1188         Extend to pass additional arbitrary parameters to
1189         generators.
1191 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
1193         [BZ #15479]
1194         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
1195         floating-point state after first floating-point operation on
1196         input.  Restore full floating-point state instead of just rounding
1197         mode.
1198         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
1199         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
1200         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
1201         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
1202         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
1204         [BZ #15479]
1205         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
1206         floating-point state after first floating-point operation on
1207         input.  Restore full floating-point state instead of just rounding
1208         mode.
1209         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
1210         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
1211         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
1212         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
1213         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
1215 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1217         [BZ #19727]
1218         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
1219         valid high surrogate.
1220         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
1221         of an utf16 surrogate.
1222         * iconv/gconv_simple.c (BODY): Likewise.
1223         * iconvdata/bug-iconv12.c: New file.
1224         * iconvdata/Makefile (tests): Add bug-iconv12.
1226 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1228         [BZ #19726]
1229         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
1230         outptrp in case of an illegal input.
1231         * iconv/tst-iconv6.c: New file.
1232         * iconv/Makefile (tests): Add tst-iconv6.
1234 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1236         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
1237         an error in case of a value in range of an utf16 low surrogate.
1239 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1241         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
1242         an error in case of a value in range of an utf16 low surrogate.
1244 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1246         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
1247         Move to ...
1248         * sysdeps/s390/Makefile: ... here.
1249         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
1250         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
1251         (BRANCH_ON_COUNT): New define.
1252         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
1253         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
1254         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
1255         run on s390-32, too.
1256         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
1257         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
1258         run on s390-32, too.
1259         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
1260         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
1261         run on s390-32, too.
1263 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1265         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
1266         etf3eh or new vector loop-variant.
1268 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1270         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
1271         etf3eh or new vector loop-variant.
1273 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1275         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
1276         or new vector loop-variant.
1278 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1280         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
1281         Rename to TR_LOOP and usage of tr instead of troo instruction.
1283 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1285         * sysdeps/s390/multiarch/gconv_simple.c: New File.
1286         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
1288 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1290         * sysdeps/s390/multiarch/8bit-generic.c: New File.
1291         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
1292         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
1293         New override define.
1294         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
1296 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1298         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
1299         * sysdeps/s390/configure.ac: Add test for S390 vector register
1300         support in gcc.
1301         * sysdeps/s390/configure: Regenerated.
1303 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1305         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
1306         Install file from $(objpfx)gconv-modules.
1307         ($(objpfx)gconv-modules): Concatenate architecture specific file
1308         in variable sysdeps-gconv-modules and gconv-modules in src dir.
1309         * sysdeps/s390/gconv-modules: New file.
1310         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
1311         Deleted.
1312         ($(objpfx)gconv-modules-s390): Deleted.
1313         (sysdeps-gconv-modules): New variable.
1315 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
1317         [BZ #15479]
1318         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
1319         of immediate operand to rounding instruction.
1320         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
1321         Likewise.
1322         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
1323         Likewise.
1324         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
1325         Likewise.
1327 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1329         * math/libm-test.inc (MIN_EXP): Directly define as
1330         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
1332 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1334         * math/libm-test.inc (MANT_DIG): Directly define as
1335         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
1337 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1339         * stdlib/gen-tst-strtod-round.c (main):
1340           Change usage to more closely match the generated
1341           output.  Add usage and compilation instructions.
1342           (string_to_fp): Add and use FILE* parameter as
1343           output target.
1344           (print_fp): Likewise.
1345           (round_str): Likewise.
1346           (round_for_all): Likewise.
1347         * stdlib/tst-strtod-round.c (tests): Move into
1348         * stdlib/tst-strtod-round-data.h: New file.
1350 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
1352         [BZ #15479]
1353         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
1354         (__round): Do not force "inexact" exception.
1355         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
1356         variable.
1357         (__round): Do not force "inexact" exception.
1358         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
1359         (__roundf): Do not force "inexact" exception.
1360         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
1361         (__roundl): Do not force "inexact" exception.
1362         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
1363         (__roundl): Do not force "inexact" exception.
1364         * math/libm-test.inc (round_test_data): Do not allow spurious
1365         "inexact" exceptions.
1367         [BZ #15479]
1368         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
1369         exception in comment.
1370         (huge): Remove variable.
1371         (__floor): Do not force "inexact" exception.
1372         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
1373         "inexact" exception in comment.
1374         (huge): Remove variable.
1375         (__floor): Do not force "inexact" exception.
1376         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
1377         exception in comment.
1378         (huge): Remove variable.
1379         (__floorf): Do not force "inexact" exception.
1380         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
1381         exception in comment.
1382         (huge): Remove variable.
1383         (__floorl): Do not force "inexact" exception.
1385         [BZ #15479]
1386         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
1387         exception in comment.
1388         (huge): Remove variable.
1389         (__ceil): Do not force "inexact" exception.
1390         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
1391         "inexact" exception in comment.
1392         (huge): Remove variable.
1393         (__ceil): Do not force "inexact" exception.
1394         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
1395         (__ceilf): Do not force "inexact" exception.
1396         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
1397         exception in comment.
1398         (huge): Remove variable.
1399         (__ceill): Do not force "inexact" exception.
1401 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
1403         * config.h.in (BIND_NOW): New.
1404         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
1405         * configure: Regenerated.
1406         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
1407         indirect branch via the GOT slot.
1409 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1411         [BZ #19765]
1412         * sysdeps/s390/mempcpy.S: New File.
1413         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
1414         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
1415         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1416         Add mempcpy variants.
1417         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
1418         (memcpy): Adjust to be usable from mempcpy entry point.
1419         (__memcpy_mvcle): Likewise.
1420         * sysdeps/s390/s390-64/memcpy.S: Likewise.
1421         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
1422         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
1423         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
1424         (__memcpy_z10): Likewise.
1425         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
1427 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1429         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
1430         Remove __GI_ symbol.
1431         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
1432         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
1433         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
1434         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
1435         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
1436         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
1438 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1440         * sysdeps/s390/s390-64/memcpy.S (memcpy):
1441         Use cghi instead of chi to compare 64bit value.
1443 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1445         * sysdeps/s390/s390-32/memcpy.S (memcpy):
1446         Jump to 1MB check before executing mvc-loop.
1448 2016-05-24  Florian Weimer  <fweimer@redhat.com>
1450         [BZ #6527]
1451         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
1452         unconditionally.
1453         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
1455 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1457         * stdlib/tst-strtod6.c (do_test): Use new type generic
1458         invocation of the test function.
1459         (test): Refactor into ...
1460         (TEST_STRTOD): New macro base function.
1462 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1464         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
1465         (TEST_STRTOD): New macro.
1466         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
1468 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1470         * stdlib/tst-strtod6.c (do_test): Use new type generic
1471         invocation of the test function.
1472         (test): Refactor into ...
1473         (TEST_STRTOD): New macro base function.
1475 2016-05-23  Florian Weimer  <fweimer@redhat.com>
1477         CVE-2016-4429
1478         [BZ #20112]
1479         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
1480         payload.
1482 2016-05-23  Florian Weimer  <fweimer@redhat.com>
1484         [BZ #20111]
1485         * bits/sockaddr.h (_SS_SIZE): Define.
1486         * bits/socket.h (_SS_SIZE): Remove.
1487         (_SS_PADSIZE): Adjust to account for all padding.
1488         (struct sockaddr_storage): Update comment.  Avoid implicit
1489         padding.
1490         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
1491         (_SS_PADSIZE): Adjust to account for all padding.
1492         (struct sockaddr_storage): Update comment.  Avoid implicit
1493         padding.
1494         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
1495         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
1496         (_SS_PADSIZE): Adjust to account for all padding.
1497         (struct sockaddr_storage): Update comment.  Avoid implicit
1498         padding.
1499         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
1500         __SS_SIZE is 126 in this version.
1501         * inet/tst-sockaddr.c: New file.
1502         * inet/Makefile (tests): Add tst-sockaddr.c
1503         (tst-sockaddr.c): Compile with non-strict aliasing.
1505 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
1507         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
1508         [XPG3 || XPG4].
1509         (NL_ARGMAX): Also expect for [XPG3].
1510         (NL_LANGMAX): Likewise.
1511         (NL_MSGMAX): Likewise.
1512         (NL_NMAX): Likewise.
1513         (NL_SETMAX): Likewise.
1514         (NL_TEXTMAX): Likewise.
1515         (NZERO): Likewise.
1516         (TMP_MAX): Likewise.
1517         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
1518         variable.
1520         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
1521         (PF_MAX): Update value.
1522         (AF_KCM): New macro.
1523         (SOL_NETBEUI): Likewise.
1524         (SOL_LLC): Likewise.
1525         (SOL_DCCP): Likewise.
1526         (SOL_NETLINK): Likewise.
1527         (SOL_TIPC): Likewise.
1528         (SOL_RXRPC): Likewise.
1529         (SOL_PPPOL2TP): Likewise.
1530         (SOL_BLUETOOTH): Likewise.
1531         (SOL_PNPIPE): Likewise.
1532         (SOL_RDS): Likewise.
1533         (SOL_IUCV): Likewise.
1534         (SOL_CAIF): Likewise.
1535         (SOL_ALG): Likewise.
1536         (SOL_NFC): Likewise.
1537         (SOL_KCM): Likewise.
1538         (MSG_BATCH): New enum value and macro.
1540 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
1542         [BZ #18185]
1543         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
1544         sharing L2 cache to 2 for Knights Landing.
1546 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
1548         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
1549         (FTW_DP): Do not expect for [XPG3 || XPG4].
1550         (FTW_SL): Do not expect for [XPG3].
1551         (FTW_SLN): Likewise.
1552         (FTW_PHYS): Likewise.
1553         (FTW_MOUNT): Likewise.
1554         (FTW_DEPTH): Likewise.
1555         (FTW_CHDIR): Likewise.
1556         (nftw): Likewise.
1557         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
1558         variable.
1560 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
1562         * manual/errno.texi: Fix various typos & grammar errors.
1564 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
1566         * manual/intro.texi: Fix duplicated typo.
1568 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
1570         [BZ #13304]
1571         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
1572         <float.h>, <math_private.h> and <stdlib.h>.
1573         (add_split): New function.
1574         (mul_split): Likewise.
1575         (ext_val): New typedef.
1576         (store_ext_val): New function.
1577         (mul_ext_val): New function.
1578         (compare): New function.
1579         (add_split_ext): New function.
1580         (__fmal): After checking for Inf, NaN and zero, compute result as
1581         an exact sum of scaled double values in round-to-nearest before
1582         adding those up and adjusting for other rounding modes.
1583         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
1584         tests of fma.
1585         * math/auto-libm-test-out: Regenerated.
1587 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1589         [BZ #20119]
1590         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
1591         processor level type mask for CPUID with EAX == 11.
1593 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1595         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
1596         logical threads if the HTT bit is 0.
1597         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
1598         (index_cpu_HTT): Likewise.
1599         (reg_HTT): Likewise.
1601 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1603         [BZ #20115]
1604         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
1605         Remove alignments on jump targets.
1607 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
1609         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
1610         (getpwent): Likewise.
1611         (setpwent): Likewise.
1612         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
1613         variable.
1615         * conform/data/search.h-data (insque): Do not expect for [XPG3].
1616         (remque): Likewise.
1617         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
1618         variable.
1620 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
1622         * math/libm-test.inc: Update comment not to refer to signs of NaNs
1623         not being tested.
1625 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1627         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
1628         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
1629         call.
1630         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
1631         (__condvar_cleanup1): Likewise.
1633 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1635         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
1636         New
1637         (__pthread_unwind): Renamed to ...
1638         (PTHREAD_UNWIND): This.
1639         (__pthread_enable_asynccancel): Replace
1640         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
1642 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
1644         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
1645         (CLONE_NEWCGROUP): New macro.
1647         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
1648         (Q_GETNEXTQUOTA): New macro.
1650 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1652         [BZ #19907]
1653         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
1654         buffer updated by the previous run.
1655         * string/test-memcpy.c (do_one_test): Likewise.
1656         * benchtests/bench-memmove.c (do_one_test): Add a comment.
1657         * string/test-memmove.c (do_one_test): Likewise.
1659 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
1661         [BZ #20094]
1662         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
1663         not [__USE_XOPEN].
1664         (unlockpt): Likewise.
1665         (ptsname): Likewise.
1666         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
1667         variable.
1669         [BZ #20076]
1670         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
1671         instead of [__USE_UNIX98].
1672         (S_ISSOCK): Likewise.
1673         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
1674         variable.
1676         [BZ #20074]
1677         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
1678         [__USE_POSIX].
1679         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
1680         variable.
1682         [BZ #20051]
1683         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
1684         (ttyslot): Do not declare.
1685         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
1686         (ttyslot): New prototype.
1687         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
1688         variable.
1689         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1691 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1693         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
1695 2016-05-13  Florian Weimer  <fweimer@redhat.com>
1697         Fix race condition in tst-mallocfork2, use fewer resources.
1698         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
1699         to current process group.
1700         (signal_sender): Yield in the non-sleeping case.
1702 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
1704         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
1705         (ecvt): Likewise.
1706         (fcvt): Likewise.
1707         (gcvt): Likewise.
1708         (getsubopt): Likewise.
1709         (grantpt): Likewise.
1710         (initstate): Likewise.
1711         (l64a): Likewise.
1712         (mktemp): Likewise.
1713         (mkstemp): Likewise.
1714         (ptsname): Likewise.
1715         (random): Likewise.
1716         (realpath): Likewise.
1717         (setstate): Likewise.
1718         (srandom): Likewise.
1719         (ttyslot): Likewise.
1720         (unlockpt): Likewise.
1721         (valloc): Likewise.
1723         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
1724         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
1725         variable.
1727 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1729         [BZ #20072]
1730         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
1731         init_cpu_features only if SHARED is defined.
1732         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
1734 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1736         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
1737         non-inclusive caches on Intel processors.
1739 2016-05-13  Florian Weimer  <fweimer@redhat.com>
1741         * malloc/malloc.c (dumped_main_arena_start)
1742         (dumped_main_arena_end): New variables.
1743         (DUMPED_MAIN_ARENA_CHUNK): New macro.
1744         (do_check_chunk): Skip dumped fake mmapped chunks.
1745         (munmap_chunk): Likewise.
1746         (__libc_free): Do not adjust statistics for fake mmapped chunks.
1747         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
1748         mmapped chunks.
1749         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
1750         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
1751         and dumped_main_arena_end to cover the dumped heap.
1753 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
1755         * conform/data/time.h-data (getdate_err): Do not expect for
1756         [XPG3].
1757         (getdate): Likewise.
1758         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
1759         variable.
1761         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
1762         (F_ULOCK): Likewise.
1763         (F_TEST): Likewise.
1764         (F_TLOCK): Likewise.
1765         (useconds_t): Likewise.
1766         (intptr_t): Do not expect for [XPG3] or [XPG4].
1767         (brk): Do not expect for [XPG3]
1768         (fchown): Likewise.
1769         (fchdir): Likewise.
1770         (ftruncate): Likewise.
1771         (getdtablesize): Likewise.
1772         (gethostid): Likewise.
1773         (getpagesize): Likewise.
1774         (getpgid): Likewise.
1775         (getsid): Likewise.
1776         (getwd): Likewise.
1777         (lchown): Likewise.
1778         (lockf): Likewise.
1779         (readlink): Likewise.
1780         (sbrk): Likewise.
1781         (setpgrp): Likewise.
1782         (setregid): Likewise.
1783         (setreuid): Likewise.
1784         (symlink): Likewise.
1785         (sync): Likewise.
1786         (truncate): Likewise.
1787         (ualarm): Likewise.
1788         (usleep): Likewise.
1789         (vfork): Likewise.
1790         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
1791         variable.
1793         [BZ #20054]
1794         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
1795         not [__USE_UNIX98].
1796         * conform/data/unistd.h-data (gethostname): Do not expect for
1797         [XPG3].
1799         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
1800         [!POSIX] (S_IFBLK): Likewise.
1801         [!POSIX] (S_IFCHR): Likewise.
1802         [!POSIX] (S_IFIFO): Likewise.
1803         [!POSIX] (S_IFREG): Likewise.
1804         [!POSIX] (S_IFDIR): Likewise.
1805         [!POSIX] (S_IFLNK): Likewise.
1806         [!POSIX] (S_IFSOCK): Likewise.
1807         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
1808         variable.
1809         (test-xfail-XPG4/fcntl.h/conform): Likewise.
1811 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
1813         * sysdeps/aarch64/memset.S (__memset):
1814         Rewrite of optimized memset.
1816 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1818         [BZ #19703]
1819         Partially async-signal-safe fork for single-threaded processes.
1820         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
1821         variable.  Do not acquire and reset/release malloc and libio locks
1822         in single-threaded processes.
1823         * malloc/tst-mallocfork2.c: New file.
1824         * malloc/Makefile (tests): Add it.
1826 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1828         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
1829         argument.  Use scratch buffer instead of extend_alloca.
1830         (gethosts): Use scratch buffer instead of extend_alloca.
1831         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
1832         extend_alloca.
1833         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
1835 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
1837         [BZ #20055]
1838         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
1839         instead of [__USE_UNIX98].
1840         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
1841         [__USE_UNIX98].
1842         * conform/data/termios.h-data (tcgetsid): Do not expect for
1843         [XPG3].
1844         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
1845         variable.
1846         (test-xfail-XPG4/termios.h/conform): Likewise.
1848 2016-05-11  Florian Weimer  <fweimer@redhat.com>
1850         Do not use mcheck in localedef.
1851         * locale/programs/localedef.c (turn_on_mcheck)
1852         (__malloc_initialize_hook): Remove.
1854 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1856         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
1857         * sysdeps/s390/s390-64/Makefile: Likewise.
1859 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
1861         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
1862         Remove ifunc-defines.sym.
1863         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
1864         Likewise.
1865         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
1866         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1867         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
1868         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
1869         rtld-global-offsets.sym.
1870         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
1871         * sysdeps/x86/cpu-features-offsets.sym: This.
1872         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
1873         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
1875 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
1877         [BZ #20073]
1878         * io/sys/stat.h (fchmod): Declare for
1879         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
1880         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
1881         variable.
1883         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
1884         [XPG3] (S_IFSOCK): Likewise.
1885         [XPG3] (S_ISVTX): Likewise.
1886         [XPG3] (S_ISLNK): Likewise.
1887         [XPG3] (S_ISSOCK): Likewise.
1888         [XPG3] (fchmod): Likewise.
1889         [XPG3] (lstat): Likewise.
1890         [XPG3] (mknod): Likewise.
1892         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
1893         [XPG3].  Expect type long and XFAIL for [XPG4].
1894         (st_blocks): Likewise.
1896         [BZ #20044]
1897         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
1898         (pthread_atfork): New prototype.
1899         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
1900         variable.
1902         [BZ #20043]
1903         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
1904         prototype.
1906 2016-05-10  Florian Weimer  <fweimer@redhat.com>
1908         [BZ #20017]
1909         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
1910         gmtime.
1912 2016-05-10  Florian Weimer  <fweimer@redhat.com>
1914         [BZ #19994]
1915         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
1916         flag in _res.options.
1918 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
1920         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
1921         [XPG3 || XPG4].
1922         (blksize_t): Likewise.
1923         (clockid_t): Likewise.
1924         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
1925         variable.
1926         (test-xfail-XPG4/sys/types.h/conform): Likewise.
1928 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1930         * sysdeps/unix/sysv/linux/s390/init-first.c:
1931         Add VDSO_SYMBOL(getcpu).
1932         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
1933         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
1934         Add VDSO_SYMBOL(getcpu).
1935         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
1936         New define HAVE_GETCPU_VSYSCALL.
1937         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1939 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
1941         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
1942         instead of <sysdeps/x86_64/cacheinfo.c>.
1943         * sysdeps/x86_64/cacheinfo.c: Moved to ...
1944         * sysdeps/x86/cacheinfo.c: Here.
1946 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1948         * malloc/malloc-internal.h: Adjust header file guard.
1950 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1952         [BZ #19787]
1953         * inet/getnameinfo.c (check_sprintf_result): New function.
1954         (CHECKED_SNPRINTF): New macro.
1955         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
1956         to the host buffer.
1957         (gni_host_local): Use checked_copy to copy the host name.
1958         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
1959         (gni_serv_local): Use checked_copy to copy the service name.
1960         (getnameinfo): Remove unnecessary truncation of result buffers.
1962 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1964         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
1965         in case of inet_ntop failure.
1967 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1969         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
1970         avoid long lines.
1971         (gni_host_inet_numeric): Likewise.  Reduce scope of local
1972         variables.
1973         (gni_host_inet, gni_host_local): Add comment.
1974         (gni_host): Add comment.  Use temporary to avoid long lines.
1976 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1978         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
1979         registers specifiers where general purpose registers specifiers should
1980         have been used.
1982 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1984         [BZ #19779]
1985         CVE-2016-1234
1986         Avoid copying names of directory entries.
1987         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
1988         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
1989         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
1990         (struct readdir_result): New type.
1991         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
1992         (GL_READDIR): New macros.
1993         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
1994         (convert_dirent, convert_dirent64): New functions.
1995         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
1996         convert_dirent64.  Adjust references to the readdir result.
1997         * sysdeps/unix/sysv/linux/i386/glob64.c:
1998         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
1999         * posix/bug-glob2.c (LONG_NAME): Define.
2000         (filesystem): Add LONG_NAME.
2001         (my_DIR): Increase the size of room_for_dirent.
2003 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
2005         [BZ #20041]
2006         * misc/sys/select.h (__need_timespec): Only define if
2007         [__USE_XOPEN2K].
2008         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
2009         variable.
2010         (test-xfail-XPG4/utmpx.h/conform): Likewise.
2011         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2012         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2014 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2015             Segher Boessenkool  <segher@gcc.gnu.org>
2017         [BZ #20004]
2018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
2019         (__novec_swapcontext): Add missing load.
2021 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
2023         [BZ #20023]
2024         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
2025         <time.h>.
2026         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
2027         variable.
2028         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2030 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
2033         flags CLONE_VM compare.
2035 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2037         [BZ #20031]
2038         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
2039         completely empty.
2041 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2043         [BZ #19573]
2044         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
2045         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
2046         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
2047         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
2048         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
2049         (hesiod_free_list): Mark as hidden.
2050         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
2051         res_set, res_get.
2052         * hesiod/hesiod.c: Remove unnecessary forward declarations.
2053         (init, __hesiod_res_get, __hesiod_res_set): Remove.
2054         (hesiod_init): Remove obsolete res_ninit call.
2055         (hesiod_end): Do not free resolver state.  Do not invoke callback.
2056         (hesiod_bind): Do not call init.
2057         (get_txt_records): Use res_mkquery, res_send instead of
2058         res_nmkquery, res_nsend.
2059         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
2060         instead of _nss_hesiod_init.
2061         (_nss_hesiod_initgroups_dyn): Likewise.
2062         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
2063         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
2064         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
2066 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2068         * hesiod/hesiod_p.h (DEF_RHS): Remove.
2069         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
2071 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2073         * hesiod/hesiod.h: Remove RCS keyword.
2074         * hesiod/hesiod_p.h: Likewise.
2076         * hesiod/hesiod.c: Likewise.
2078 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
2080         [BZ #12450]
2081         * locale/iso-639.def: Add Samogitian/sgs.
2083 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
2085         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
2087         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
2089 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
2090             Carlos O'Donell  <carlos@redhat.com>
2092         [BZ #19072]
2093         * grp/Makefile (headers): Add grp-merge.h
2094         (routines): Add grp-merge.
2095         * grp/getgrgid_r.c: Include grp-merge.h.
2096         (DEEPCOPY_FN): Define.
2097         (MERGE_FN): Define.
2098         * grp/getgrname_r.c: Include grp-merge.h.
2099         (DEEPCOPY_FN): Define.
2100         (MERGE_FN): Define.
2101         * grp/grp-merge.c: New file.
2102         * grp/grp-merge.h: New file.
2103         * include/grp-merge.h: New file.
2104         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
2105         __copy_grp@GLIBC_PRIVATE.
2106         * manual/nss.texi (Actions in the NSS configuration): Describe
2107         return, continue, and merge.
2108         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
2109         (DEEPCOPY_FN): Define.
2110         (MERGE_FN): Define.
2111         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
2112         (DEEPCOPY_FN): Define.
2113         (MERGE_FN): Define.
2114         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
2115         [!MERGE_FN]: Define __merge_einval.
2116         (CHECK_MERGE): Define.
2117         (REENTRANT_NAME): Process merge if do_merge is true.
2118         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
2119         (__nss_getent_r): Likewise.
2120         * nss/nsswitch.c (nss_parse_service_list): Likewise.
2121         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
2123 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2125         [BZ #20012]
2126         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
2127         length to calculate the buffer to read.
2128         (fmemopen_write): Set the buffer position based on bytes written.
2129         (fmemopen_seek): Return EINVAL for invalid whence modes.
2131         [BZ #19957]
2132         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
2133         tst-getpid2.
2134         (test): Add tst-clone2.
2135         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
2136         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
2137         pid/tid fields for CLONE_VM.
2138         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
2139         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
2140         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
2141         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
2142         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
2143         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
2144         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
2145         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
2146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
2147         Likewise.
2148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2149         Likewise.
2150         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
2151         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
2152         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
2153         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2154         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
2155         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
2156         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
2157         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
2159 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2161         [BZ #19642]
2162         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
2163         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
2164         (gni_serv_local, gni_serv): New functions extracted from
2165         getnameinfo.
2166         (getnameinfo): Call gni_host and gni_serv to perform the
2167         processing.  Always free scratch buffer.
2169 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2171         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
2172         remaining bytes in the dest string, with zeros.
2174 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2176         [BZ #20010]
2177         CVE-2016-3706
2178         * sysdeps/posix/getaddrinfo.c
2179         (convert_hostent_to_gaih_addrtuple): New function.
2180         (gethosts): Call convert_hostent_to_gaih_addrtuple.
2181         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
2182         AF_INET data.
2184 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2186         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
2187         callback function gl_readdir.
2188         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
2189         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
2190         (glob_in_dir): Remove len.  Use strdup instead of malloc and
2191         memcpy to copy the name.
2192         * manual/pattern.texi (Calling Glob): Document requirements for
2193         implementations of the gl_readdir callback function.
2194         * manual/examples/mkdirent.c: New example.
2195         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
2196         per the manual guidance.
2197         * posix/tst-gnuglob.c (my_readdir): Likewise.
2199 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
2201         [BZ #20014]
2202         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
2203         not [__USE_POSIX].
2204         (getchar_unlocked): Likewise.
2205         (putc_unlocked): Likewise.
2206         (putchar_unlocked): Likewise.
2207         (flockfile): Likewise.
2208         (ftrylockfile): Likewise.
2209         (funlockfile): Likewise.
2210         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
2211         variable.
2212         (test-xfail-XPG4/stdio.h/conform): Likewise.
2214         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
2215         Expect constant.
2216         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
2217         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
2218         variable.
2219         (test-xfail-XPG4/langinfo.h/conform): Likewise.
2220         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2222         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
2223         [__USE_LARGEFILE64] (off64_t): Likewise.
2224         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
2225         variable.
2227 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2229         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
2231 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2233         * resolv/inet_addr.c: Reindent preprocessor conditionals.
2234         * resolv/res_init.c: Likewise.
2235         * resolv/res_mkquery.c: Likewise.
2237 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2239         * resolv/res_init.c (isascii): Do not define.  Use definition in
2240         <ctype.h>.
2241         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
2242         (LOG_AUTH): Remove.
2243         (SPRINTF): Remove, adjust caller.
2244         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
2246 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2248         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
2249         SUNSECURITY conditional.
2250         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
2252 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2254         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
2255         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
2256         Remove BSD-related preprocessor conditionals.
2257         * conf/portability.h: Remove.
2259 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2261         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
2262         * resolv/res_data.c: Likewise.
2264 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2266         * resolv/res_comp.c: Remove code conditional on __ultrix__.
2267         * resolv/res_data.c: Remove code conditional on ultrix.
2269 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2271         * resolv/res_init.c (RFC1535): Do not define.  Remove
2272         RFC1535 preprocessor conditionals.
2273         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
2274         because there configuration options which make the resolver
2275         behavior different.
2277 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2279         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
2280         RESOLVSORT preprocessor conditionals.
2281         * resolv/nss_dns/dns-host.c: Likewise.
2282         * resolv/res_init.c: Likewise.
2284 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2286         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
2287         is never defined.
2289 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2291         * inet/inet_lnaof.c: Remove SCSS keyword.
2292         * inet/inet_mkadr.c: Likewise.
2293         * inet/inet_net.c: Likewise.
2294         * inet/inet_netof.c: Likewise.
2295         * inet/rcmd.c: Likewise.
2296         * inet/rexec.c: Likewise.
2297         * inet/ruserpass.c: Likewise.
2299 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2301         * resolv/inet_addr.c: Remove _LIBC conditionals.
2302         * resolv/res_data.c: Likewise.
2303         * resolv/res_init.c: Likewise.
2304         * resolv/res_mkquery.c: Likewise.
2305         * resolv/res_libc.c: Update comment.
2306         * resolv/README: Update.
2308 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2310         * resolv/gethnamaddr.c: Remove SCSS keyword.
2311         * resolv/herror.c: Likewise.
2312         * resolv/inet_addr.c: Likewise.
2313         * resolv/inet_net_ntop.c: Likewise.
2314         * resolv/inet_net_pton.c: Likewise.
2315         * resolv/inet_neta.c: Likewise.
2316         * resolv/inet_ntop.c: Likewise.
2317         * resolv/inet_pton.c: Likewise.
2318         * resolv/ns_date.c: Remove RCS keyword.
2319         * resolv/ns_name.c: Likewise.
2320         * resolv/ns_netint.c: Likewise.
2321         * resolv/ns_parse.c: Likewise.
2322         * resolv/ns_print.c: Likewise.
2323         * resolv/ns_samedomain.c: Likewise.
2324         * resolv/ns_ttl.c: Likewise.
2325         * resolv/nsap_addr.c: Likewise.
2326         * resolv/res_comp.c: Remove SCSS and RCS keyword.
2327         * resolv/res_data.c: Remove RCS keyword.
2328         * resolv/res_debug.c: Remove SCSS and RCS keyword.
2329         * resolv/res_init.c: Likewise.
2330         * resolv/res_mkquery.c: Likewise.
2331         * resolv/res_query.c: Likewise.
2332         * resolv/res_send.c: Likewise.
2334 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
2336         * conform/data/stdio.h-data (fdopen): Expect also for
2337         [XPG3 || XPG4].
2339         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
2340         (fseeko): Likewise.
2341         (ftello): Likewise.
2342         (ftrylockfile): Likewise.
2343         (funlockfile): Likewise.
2344         (getc_unlocked): Likewise.
2345         (getchar_unlocked): Likewise.
2346         (putc_unlocked): Likewise.
2347         (putchar_unlocked): Likewise.
2349 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2351         [BZ #19868]
2352         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
2353         DNS packet syntax checks (which were not needed before).  Skip
2354         over non-PTR records.
2356 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2358         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
2359         definition.  Include <stddef.h> instead.
2361 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2363         [BZ #19831]
2364         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
2365         function.
2366         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
2367         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
2369 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2371         [BZ #19862]
2372         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
2373         (getanswer_r): Do not call syslog.
2374         (gaih_getanswer_slice): Likewise.
2375         * resolv/gethnamaddr.c (AskedForGot): Remove.
2376         (getanswer): Do not call syslog.
2377         (gethostbyaddr): Likewise.
2379 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
2381         * conform/data/signal.h-data (union sigval): Expect also if
2382         [XOPEN2K].
2383         (struct sigevent): Likewise.
2384         (SIGEV_NONE): Likewise.
2385         (SIGEV_SIGNAL): Likewise.
2386         (SIGEV_THREAD): Likewise.
2387         (SIGRTMIN): Likewise.
2388         (SIGRTMAX): Likewise.
2389         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
2390         variable.
2391         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2393 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2395         [BZ #19830]
2396         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
2397         (gaih_getanswer_slice): Likewise.
2398         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
2399         Also check for availability of RR metadata.
2401 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2403         [BZ #19825]
2404         * resolv/res_send.c (send_vc): Remove early *resplen2
2405         initialization.  Set *resplen2 on socket error.  Call
2406         close_and_return_error for other errors.
2408 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
2410         * sysdeps/unix/sysv/linux/netiucv/iucv.h
2411         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
2412         (SCM_IUCV_TRGCLS): New define.
2414 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2416         [BZ #20005]
2417         * libio/fmemopen.c (fmemopen_write): Update internal position after
2418         write.
2419         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
2420         * stdio-common/tst-fmemopen4.c: New file..
2422 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
2424         [BZ #19996]
2425         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
2426         not [__USE_XOPEN2K].
2427         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
2428         variable.
2430         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
2431         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
2432         variable.
2434         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
2435         [__USE_XOPEN2K8].
2436         [__USE_LARGEFILE64] (off64_t): Likewise.
2437         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
2438         variable.
2440 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
2442         [BZ #19989]
2443         * libio/stdio.h (cuserid): Do not declare if
2444         [__USE_XOPEN2K && !__USE_GNU].
2445         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
2446         variable.
2448 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2450         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2451         (sysdep_routines): Add P8 and PPC64 strcspn targets.
2452         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2453         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
2454         ifunc'ed strcspn.
2455         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
2456         [EALIGN]: Removed.
2457         [END]: Likewise
2458         [STRSPN]: Define instead of the above to control symbol name.
2459         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
2460         New file.
2461         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
2462         Likewise.
2463         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
2464         Likewise.
2465         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
2466         Likewise.
2467         * sysdeps/powerpc/powerpc64/power8/strspn.S:
2468         [INITIAL_MASK]: New macro.
2469         [STRCSPN]: Likewise.
2470         [UPDATE_MASK]: Likewise.
2471         [USE_AS_STRCSPN]: Lisewise.
2473 2016-04-25  Florian Weimer  <fweimer@redhat.com>
2475         [BZ #19931]
2476         * stdio-common/tst-vfprintf-width-prec.c: New file.
2477         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
2478         (tests-special): Add tst-vfprintf-width-prec-mem.out.
2479         (generated): Add mtrace-related files.
2480         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
2481         (tst-%-mem.out): New pattern rule, replaces
2482         tst-printf-bz18872-mem.out.
2483         * stdio-common/vfprintf.c (vfprintf): When handling a precision
2484         specifier, deallocate any previously allocated work buffer.
2486 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
2488         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
2489         Add nop before __startcontext, add explaining comments.
2491 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
2493         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
2494         any more. Notably since IPV6_PKTINFO has been reintroduced with a
2495         completely different API.
2497         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
2498         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
2499         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
2500         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
2501         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
2502         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
2503         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
2504         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
2505         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
2506         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
2508 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
2510         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
2512 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
2514         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
2515         when it is the default of 0.
2517 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2519         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
2520         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2521         (sysdep_routines): Add new strcasestr targets.
2522         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2523         (__libc_ifunc_impl_list): Likewise.
2524         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
2525         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
2526         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
2527         * sysdeps/powerpc/powerpc64/power8/Makefile:
2528         New file to add strcasestr-ppc64 to sysdep_routines.
2529         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
2530         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
2532 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
2534         * benchtests/Makefile (wcsmbs-benchset): Include only for
2535         native builds and runs.
2536         (LOCALES): Likewise.
2537         (bench-build): Build timing-type here instead of the bench
2538         target.  Generate locale only for native builds.
2539         * benchtests/README: Add note for cross-building.
2541         * benchtests/Makefile (bench-clean): Clean up extra-objs.
2543         * benchtests/README: Update README to include instructions on
2544         using bench-build.
2546         * Makefile.in (bench-build): New target.
2547         * Rules (PHONY): Add bench-build target.
2548         * benchtests/Makefile (bench): Depend on bench-build.
2549         (bench-build): New target.
2551 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2553         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
2554         profil_reply_port.
2555         (profile_waiter): Do not initialize profil_reply_port.
2556         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
2557         frequency instead of tick length in us.
2559 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
2561         [BZ #18712]
2562         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
2563         (__old_mempcpy_small): Likewise.
2564         (__old_strcpy_small): Likewise.
2565         (__old_stpcpy_small): Likewise.
2566         (__old_strpbrk_c2): Fix compat symbol name.
2567         (__old_strpbrk_c3): Likewise.
2568         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
2569         (__mempcpy_small): Remove.
2570         (__strcpy_small): Remove.
2571         (__stpcpy_small): Remove.
2573 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
2575         [BZ #19400]
2576         * locale/iso-639.def: Add the Talossan/tzl language.
2578 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
2580         [BZ #16983]
2581         * locale/programs/ld-address.c (address_finish): Update postal_fmt
2582         comment.  Add "ln" to strchr check on postal_fmt.
2584 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
2586         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
2587         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
2588         tel_dom_fmt.
2590 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2592         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2593         (sysdep_routines): Added __strlen_power8.
2594         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
2595         __strlen_power8 entry.
2596         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
2597         Implementation for POWER8.
2598         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
2599         for __strlen_power8.
2600         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
2601         Implementation for POWER8.
2603 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
2605         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
2607 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
2609         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
2610         Goldmont and Airmont processors.
2612 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
2614         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
2615         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
2616         (__STRING2_SMALL_GET32): Remove.
2617         (memset): Remove.
2618         (__memset_1): Remove.
2619         (__memset_gc): Remove.
2620         (__mempcpy): Remove.
2621         (mempcpy): Remove.
2622         (__mempcpy_args): Remove.
2623         (strchr): Remove.
2624         (strcpy): Remove.
2625         (strcpy_args): Remove.
2626         (__stpcpy_args): Remove.
2627         (__strcmp_cc): Remove.
2628         (__strcmp_gc): Remove.
2629         (strstr): Remove.
2631 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
2633         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
2634         * nis/nis_call.c (nis_server_cache_add): Likewise.
2636 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2638         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
2640 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2642         * malloc/arena.c (__malloc_fork_lock_parent)
2643         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
2644         internal_function attribute.
2646 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
2648         * stdio-common/printf_fp.c (__printf_fp_l):
2649         Rename ___printf_fp_l to __printf_fp_l and
2650         remove strong alias. Use libc_hidden_def instead
2651         of ldbl_hidden_def macro.
2653 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2655         Remove malloc hooks from fork handler.  They are no longer needed
2656         because malloc runs right before fork, and no malloc calls from
2657         other fork handlers are not possible anymore.
2658         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
2659         declarations.
2660         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
2661         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
2662         (atfork_recursive_cntr): Remove.
2663         (__malloc_fork_lock_parent): Do not override malloc hooks and
2664         thread_arena.
2665         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
2666         thread_arena.
2667         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
2668         thread_arena instead of save_arena.
2670 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2672         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
2673         (thread_atfork, thread_atfork_static): Remove.
2674         * sysdeps/mach/hurd/malloc-machine.h:
2675         (thread_atfork, thread_atfork_static): Remove.
2677 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2679         [BZ #19431]
2680         Run the malloc fork handler as late as possible to avoid deadlocks.
2681         * malloc/malloc-internal.h: New file.
2682         * malloc/malloc.c: Include it.
2683         * malloc/arena.c (ATFORK_MEM): Remove.
2684         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
2685         Update comment.
2686         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
2687         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
2688         Remove outdated comment.
2689         (ptmalloc_init): Do not call thread_atfork.  Remove
2690         thread_atfork_static.
2691         * malloc/tst-malloc-fork-deadlock.c: New file.
2692         * Makefile (tests): Add tst-malloc-fork-deadlock.
2693         (tst-malloc-fork-deadlock): Link against libpthread.
2694         * manual/memory.texi (Aligned Memory Blocks): Update safety
2695         annotation comments.
2696         * sysdeps/nptl/fork.c (__libc_fork): Call
2697         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
2698         __malloc_fork_unlock_child.
2699         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2701 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2703         [BZ #19613]
2704         Remove union wait.
2705         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
2706         (w_stopsig, w_stopval): Remove.
2707         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
2708         stat_loc argument.
2709         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
2710         (__WAIT_STATUS_DEFN): Remove.
2711         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
2712         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
2713         (wait, wait3, wait4): Use int * for the stat_loc argument.
2714         * posix/wait.c (__wait): Likewise.
2715         * posix/wait3.c (__wait3): Likewise.
2716         * posix/wait4.c (__wait4): Likewise.
2717         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
2718         (__WAIT_STATUS_DEFN): Remove.
2719         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
2720         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
2721         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
2722         argument.
2723         * sysdeps/posix/wait.c (__libc_wait): Likewise.
2724         * sysdeps/posix/wait3.c (__wait3): Likewise.
2725         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
2726         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
2727         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
2728         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
2729         stat_loc argument.
2730         * manual/process.texi (BSD Wait Functions): Remove union wait.
2732 2016-04-13  Andreas Schwab  <schwab@suse.de>
2734         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
2735         (test-extras): Add tst-tlsalign-vars.
2736         * math/Makefile: Wrap long lines.
2737         (libm-vec-test-wrappers): Define.
2738         (test-extras): Add $(libm-vec-test-wrappers).
2739         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
2740         * nss/Makefile (extra-test-objs): Add nss_test1.os.
2741         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
2742         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
2743         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
2744         (extra-test-objs): Add corresponding objects.
2746 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
2748         [BZ #19928]
2749         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
2750         New.
2751         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
2752         times of shared cache size.
2753         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
2754         (VMOVNT): New.
2755         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
2756         (VMOVNT): Likewise.
2757         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
2758         (VMOVNT): Likewise.
2759         (VMOVU): Changed to movups for smaller code sizes.
2760         (VMOVA): Changed to movaps for smaller code sizes.
2761         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
2762         comments.
2763         (PREFETCH): New.
2764         (PREFETCH_SIZE): Likewise.
2765         (PREFETCHED_LOAD_SIZE): Likewise.
2766         (PREFETCH_ONE_SET): Likewise.
2767         Rewrite to use forward and backward loops, which move 4 vector
2768         registers at a time, to support overlapping addresses and use
2769         non temporal store if size is above the threshold and there is
2770         no overlap between destination and source.
2772 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
2774         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
2775         Include dl-vdso.
2776         * sysdeps/unix/sysv/linux/mips/Versions: Add
2777         __vdso_clock_gettime.
2778         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
2779         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
2780         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
2781         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
2782         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
2783         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
2784         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2785         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
2786         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2788 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2790         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
2791         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
2792         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2793         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2794         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2795         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2798         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
2799         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
2800         syscalls generation.
2801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2802         [__NR_pwrite64] (__NR_write): Remove define.
2803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2804         [__NR_pwrite64] (__NR_write): Remove define.
2805         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
2806         Remove define.
2807         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
2808         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
2809         Remove define.
2810         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
2811         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
2812         Linux implementation as base.
2813         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2815         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
2816         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
2817         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2818         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
2820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2821         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
2822         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
2823         syscall generation.
2824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2825         [__NR_pread64] (__NR_pread): Remove define.
2826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2827         [__NR_pread64] (__NR_pread): Likewise.
2828         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
2829         define.
2830         (__libc_pread): Use SYSCALL_LL macro on offset argument.
2831         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
2832         Remove define.
2833         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
2834         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
2835         Linux implementation as base.
2836         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2837         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2838         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2840         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
2841         definition.
2842         (__ALIGNMENT_COUNT): Likewise.
2843         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
2844         (__ALIGNMENT_COUNT): Likewise.
2845         (SYSCALL_LL): New define.
2846         (SYSCALL_LL64): Likewise.
2847         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
2848         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
2849         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
2850         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
2852         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2853         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
2854         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2855         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
2856         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2857         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
2859 2016-04-11  Florian Weimer  <fweimer@redhat.com>
2861         [BZ #19865]
2862         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
2863         original buffer before retry.
2865 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2867         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
2868         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
2869         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
2870         GLRO(dl_auxv) list.
2871         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
2872         including <ldsodefs.h>.
2873         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
2875 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
2877         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
2878         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
2879         $(CPPFLAGS).
2881 2016-04-09  Khem Raj  <raj.khem@gmail.com>
2883         [BZ #17950]
2884         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
2885         Add -mfpmath=387.
2887 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
2889         * sysdeps/i386/configure.ac: Change == to = when calling test.
2890         * sysdeps/x86_64/configure.ac: Likewise.
2891         * sysdeps/i386/configure: Regenerated.
2892         * sysdeps/x86_64/configure: Likewise.
2894 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
2896         [BZ #16137]
2897         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
2898         * benchtests/bench-strcoll.c (input_files): Likewise.
2899         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2900         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
2901         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
2903 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
2905         [BZ #19929]
2906         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
2907         [__USE_XOPEN2K8 && !__USE_GNU].
2908         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
2909         variable.
2911         [BZ #19925]
2912         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
2913         define if [!__USE_MISC && __USE_XOPEN2K].
2914         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
2915         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
2916         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
2917         Likewise.
2918         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
2919         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
2920         variable.
2921         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2923 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2925         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2926         (sysdep_routines): Add new strspn targets.
2927         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2928         (__libc_ifunc_impl_list): Add strspn.
2929         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
2930         New file.
2931         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
2932         Likewise.
2933         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
2934         Likewise.
2935         * sysdeps/powerpc/powerpc64/power8/strspn.S:
2936         Likewise.
2938 2016-04-07  Florian Weimer  <fweimer@redhat.com>
2940         * misc/hsearch_r.c: Include <limits.h>.
2942 2016-04-07  Florian Weimer  <fweimer@redhat.com>
2944         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
2946 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2948         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2949         (MEMCPY_SYMBOL): New.
2950         (MEMPCPY_SYMBOL): Likewise.
2951         (MEMMOVE_CHK_SYMBOL): Likewise.
2952         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
2953         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
2954         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
2955         Provide alias for memcpy in libc.a and ld.so.
2957 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2959         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2960         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
2961         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
2962         Disabled fro now.
2963         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
2964         symbols.  Properly check USE_MULTIARCH on __memset symbols.
2966 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2968         * benchtests/Makefile (string-benchset): Add memcpy-large,
2969         memmove-large and memset-large.
2970         * benchtests/bench-memcpy-large.c: New file.
2971         * benchtests/bench-memmove-large.c: Likewise.
2972         * benchtests/bench-memmove-large.c: Likewise.
2973         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
2975 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
2977         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
2978         32-bit displacement to avoid long nop between instructions.
2980 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
2982         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
2983         a comment on VMOVU and VMOVA.
2985 2016-04-04  Florian Weimer  <fweimer@redhat.com>
2987         [BZ #19633]
2988         Use specified locale for number formatting in strfmon_l.
2989         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
2990         (__nl_lookup_word): New inline functions.
2991         * include/printf.h (__print_fp_l): Declare.
2992         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
2993         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
2994         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
2995         (___printf_fp): New function.
2996         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
2997         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
2998         * stdlib/tst-strfmon_l.c (do_test): New test.
2999         * stdlib/Makefile (tests): Add kt.
3000         (LOCALES): Build additional locales.
3001         (tst-strfmon_l.out): Require locales.
3003 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
3005         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
3006         if not in libc.
3007         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3008         Likewise.
3009         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
3010         Likewise.
3011         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3012         Likewise.
3014 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
3016         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3017         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
3018         with unaligned_erms.
3019         (__memmove_erms): Skip if source == destination.
3020         (__memmove_unaligned_erms): Don't check source == destination
3021         first.
3023 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3025         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
3026         bit_arch_Fast_Copy_Backward for Intel Core proessors.
3028 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3030         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
3031         * string/strspn.c (strspn): Likewise.
3033 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3035         * benchtests/bench-memset.c (do_test): Support 64-byte
3036         alignment.
3037         (test_main): Test 64-byte alignment.
3039 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3041         * benchtests/bench-memmove.c (test_main): Test 64-byte
3042         alignment.
3044 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3046         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
3048 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3050         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
3051         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
3052         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
3054         * string/strpbrk.c (strpbrk): Rewrite function.
3055         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
3056         (__strpbrk_c2): Likewise.
3057         (__strpbrk_c3): Likewise.
3058         * string/string-inlines.c
3059         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
3060         Likewise.
3061         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
3062         Likewise.
3064         * string/strspn.c (strcspn): Rewrite function.
3065         * string/bits/string2.h (strspn): Use __builtin_strcspn.
3066         (__strspn_c1): Remove inline function.
3067         (__strspn_c2): Likewise.
3068         (__strspn_c3): Likewise.
3069         * string/string-inlines.c
3070         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
3071         compatibility symbol.
3072         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
3073         Likewise.
3074         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
3075         Likewise.
3076         * string/string-inlines.c: Include generic version.
3078 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
3079             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3081         * string/Version (libc): Add GLIBC_2.24.
3082         * string/strcspn.c (strcspn): Rewrite function.
3083         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
3084         (__strcspn_c1): Remove inline function.
3085         (__strcspn_c2): Likewise.
3086         (__strcspn_c3): Likewise.
3087         * string/string-inline.c
3088         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
3089         compatibility symbol.
3090         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
3091         Likewise.
3092         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
3093         Likewise.
3094         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
3096 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
3098         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
3099         Use ahi instead of aghi to adjust stack pointer.
3101 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3103         [BZ #19853]
3104         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
3105         TEST to take significant digits as second parameter.
3106         [TEST]: Redefine in terms of TEST_N taking 30
3107         significant digits.
3108         (do_test): Add test case to demonstrate precision
3109         failure in the ldbl-128ibm printf.
3110         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
3111         (__mpn_extract_long_double): Carry 7 extra intermediate
3112         bits of precision to aide computing difference when
3113         signs differ.
3115 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
3117         [BZ #19881]
3118         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3119         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
3120         memset-avx512-unaligned-erms.
3121         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3122         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
3123         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
3124         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
3125         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
3126         __memset_sse2_unaligned_erms, __memset_erms,
3127         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
3128         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
3129         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
3130         file.
3131         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3132         Likewise.
3133         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
3134         Likewise.
3135         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
3136         Likewise.
3138 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
3140         [BZ #19776]
3141         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3142         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
3143         memmove-avx512-unaligned-erms.
3144         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3145         (__libc_ifunc_impl_list): Test
3146         __memmove_chk_avx512_unaligned_2,
3147         __memmove_chk_avx512_unaligned_erms,
3148         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
3149         __memmove_chk_sse2_unaligned_2,
3150         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
3151         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
3152         __memmove_avx512_unaligned_erms, __memmove_erms,
3153         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
3154         __memcpy_chk_avx512_unaligned_2,
3155         __memcpy_chk_avx512_unaligned_erms,
3156         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
3157         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
3158         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
3159         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
3160         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
3161         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
3162         __mempcpy_chk_avx512_unaligned_erms,
3163         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
3164         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
3165         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
3166         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
3167         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
3168         __mempcpy_erms.
3169         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
3170         file.
3171         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3172         Likwise.
3173         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
3174         Likwise.
3175         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3176         Likwise.
3178 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3180         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
3181         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
3182         (La_s390_64_regs): Likewise.
3183         (La_s390_32_retval): Append vector register lrv_v24.
3184         (La_s390_64_retval): Likeweise.
3185         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
3186         Handle extended structs La_s390_32_regs and La_s390_32_retval.
3187         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
3188         Handle extended structs La_s390_64_regs and La_s390_64_retval.
3190 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3192         [BZ #19916]
3193         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
3194         to create a non-vector/vector version for _dl_runtime_resolve and
3195         _dl_runtime_profile. Move implementation to ...
3196         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
3197         (_dl_runtime_resolve) Save and restore fpr/vrs.
3198         (_dl_runtime_profile) Save and restore vrs and fix some issues
3199         if _dl_call_pltexit is called.
3200         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
3201         Choose the correct resolver function if running on a machine with vx.
3202         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
3203         to create a non-vector/vector version for _dl_runtime_resolve and
3204         _dl_runtime_profile. Move implementation to ...
3205         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
3206         (_dl_runtime_resolve) Save and restore fpr/vrs.
3207         (_dl_runtime_profile) Save and restore vrs and fix some issues
3208         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
3209         Choose the correct resolver function if running on a machine with vx.
3211 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3213         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
3215 2016-03-31  Florian Weimer  <fweimer@redhat.com>
3217         [BZ #19509]
3218         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
3219         skip_map != NULL.
3220         * elf/tst-dlsym-error.c: New file.
3221         * elf/Makefile (tests): Add tst-dlsym-error.
3222         (tst-dlsym-error): Link against libdl.
3224 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
3226         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3227         (__ASSUME_FUTIMESAT): Remove macro.
3228         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
3230 2016-03-29  Florian Weimer  <fweimer@redhat.com>
3232         [BZ #19879]
3233         CVE-2016-3075
3234         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
3235         copy name.
3237 2016-03-29  Florian Weimer  <fweimer@redhat.com>
3239         [BZ #19837]
3240         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
3241         error if parse_line fails.
3243 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3245         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
3246         (index_cpu_ERMS): Likewise.
3247         (reg_ERMS): Likewise.
3249 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
3251         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
3252         PER_LINUX_FDPIC): Add.
3254 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3256         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3257         memcpy-avx512-no-vzeroupper.
3258         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
3259         to ...
3260         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
3261         (MEMCPY): Don't define.
3262         (MEMCPY_CHK): Likewise.
3263         (MEMPCPY): Likewise.
3264         (MEMPCPY_CHK): Likewise.
3265         (MEMPCPY_CHK): Renamed to ...
3266         (__mempcpy_chk_avx512_no_vzeroupper): This.
3267         (MEMPCPY_CHK): Renamed to ...
3268         (__mempcpy_chk_avx512_no_vzeroupper): This.
3269         (MEMCPY_CHK): Renamed to ...
3270         (__memmove_chk_avx512_no_vzeroupper): This.
3271         (MEMCPY): Renamed to ...
3272         (__memmove_avx512_no_vzeroupper): This.
3273         (__memcpy_avx512_no_vzeroupper): New alias.
3274         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
3276 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3278         [BZ #18858]
3279         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3280         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
3281         and mempcpy-avx512-no-vzeroupper.
3282         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
3283         New.
3284         (MEMPCPY): Likewise.
3285         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
3286         (MEMPCPY_CHK): New.
3287         (MEMPCPY): Likewise.
3288         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
3289         (MEMPCPY): Likewise.
3290         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
3291         (MEMPCPY): Likewise.
3292         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
3293         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
3294         Likewise.
3295         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
3296         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
3298 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3299              Amit Pawar  <Amit.Pawar@amd.com>
3301         [BZ #19583]
3302         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3303         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
3304         processors.  Set Fast_Copy_Backward for AMD Excavator
3305         processors.
3306         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
3307         New.
3308         (index_arch_Fast_Unaligned_Copy): Likewise.
3309         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
3310         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
3312 2016-03-25  Florian Weimer  <fweimer@redhat.com>
3314         [BZ #19791]
3315         * resolv/res_send.c (close_and_return_error): New function.
3316         (send_dg): Initialize *resplen2 after reopen failure.  Call
3317         close_and_return_error for error returns.  On error paths without
3318         __res_iclose, initialze *resplen2 explicitly.  Update comment for
3319         successful return.
3321 2016-03-25  Florian Weimer  <fweimer@redhat.com>
3323         [BZ# 19860]
3324         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
3325         zero if the compiler does not provide the AVX512F bit.
3327 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
3329         [BZ #19848]
3330         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
3331         from 8 to 4.
3332         (__ieee754_powl): Compare integer exponent against 4 not 8.
3333         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
3334         from 8 to 4.
3335         (__ieee754_powl): Compare integer exponent against 4 not 8.
3336         * math/auto-libm-test-in: Add more tests of pow.
3337         * math/auto-libm-test-out: Regenerated.
3338         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
3339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3341 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
3343         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
3344         Make code unconditional.
3345         [!__NR_utimensat]: Remove conditional code.
3346         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
3347         Make code unconditional.
3348         [!__NR_utimensat]: Remove conditional code.
3349         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
3350         Make code unconditional.
3351         [!__NR_utimensat]: Remove conditional code.
3353 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
3355         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
3356         Make code unconditional.
3358 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
3360         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
3361         call-clobbered %eax on retry path.
3362         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
3364 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3366         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
3367         Don't set %rcx twice before "rep movsb".
3369 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3371         [BZ #19583]
3372         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
3373         inline.  Check family before setting family, model and
3374         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
3375         bits here.
3376         (init_cpu_features): Replace HAS_CPU_FEATURE and
3377         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
3378         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
3379         for Intel processors with usable AVX2.  Call get_common_indeces
3380         for other processors with family == NULL.
3381         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
3382         (CPU_FEATURES_ARCH_P): Likewise.
3383         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
3384         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
3386 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3388         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
3389         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
3390         $(shared-thread-library) instead of hardcoding the path to libpthread.
3392 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
3394         * sysdeps/unix/sysv/linux/kernel-features.h
3395         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
3396         * sysdeps/unix/sysv/linux/getdents.c
3397         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
3398         [!have_no_getdents64_defined]: Likewise.
3399         (__GETDENTS): Remove __have_no_getdents64 conditional.
3401 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
3403         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
3404         Remove macro.
3405         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
3406         <kernel-features.h>.
3407         (signalfd) [__NR_signalfd4]: Make code unconditional.
3408         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
3410 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3412         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
3413         style.
3415 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3417         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
3418         (__pthread_enable_asynccancel): Use JUMPTARGET to call
3419         __pthread_unwind.
3420         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3421         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
3422         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3423         (__condvar_cleanup1): Likewise.
3425 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
3427         [BZ #19822]
3428         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
3429         move it to the final $@ location.
3431 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3433         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
3434         access where posix_spawn success and pid argument is null.
3435         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
3436         success case.
3438 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
3440         * sysdeps/mach/hurd/i386/c++-types.data: New file.
3442         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
3444         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
3445         and __fcntl.
3446         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
3447         __fcntl only.
3448         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
3449         adding attribute_hidden to __open and __fcntl.
3451         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
3452         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
3453         depend on libc-modules.h,
3454         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
3456 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
3458         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
3459         Remove macro.
3460         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
3461         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
3462         entry.
3464         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
3465         Remove macro.
3466         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
3467         include <kernel-features.h>.
3468         [!__ASSUME_FALLOCATE]: Remove conditional code.
3469         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
3471 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3473         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
3474         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
3475         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
3476         (_ZGVdN4v_cos_avx2): Likewise.
3477         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
3478         (_ZGVdN4v_cos): Likewise.
3479         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
3480         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
3481         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
3482         (_ZGVdN4v_exp_avx2): Likewise.
3483         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
3484         (_ZGVdN4v_exp): Likewise.
3485         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
3486         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
3487         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
3488         (_ZGVdN4v_log_avx2): Likewise.
3489         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
3490         (_ZGVdN4v_log): Likewise.
3491         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
3492         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
3493         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
3494         (_ZGVdN4vv_pow_avx2): Likewise.
3495         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
3496         (_ZGVdN4vv_pow): Likewise.
3497         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
3498         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
3499         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
3500         (_ZGVdN4v_sin_avx2): Likewise.
3501         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
3502         (_ZGVdN4v_sin): Likewise.
3503         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
3504         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
3505         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
3506         (_ZGVdN4vvv_sincos_avx2): Likewise.
3507         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
3508         (_ZGVdN4vvv_sincos): Likewise.
3509         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
3510         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
3511         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
3512         (_ZGVbN4v_cosf_sse4): Likewise.
3513         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
3514         (_ZGVdN8v_cosf_avx2): Likewise.
3515         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
3516         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
3517         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
3518         (_ZGVbN4v_expf_sse4): Likewise.
3519         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
3520         (_ZGVdN8v_expf_avx2): Likewise.
3521         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
3522         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
3523         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
3524         (_ZGVbN4v_logf_sse4): Likewise.
3525         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
3526         (_ZGVdN8v_logf_avx2): Likewise.
3527         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
3528         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
3529         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
3530         (_ZGVbN4vv_powf_sse4): Likewise.
3531         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
3532         (_ZGVdN8vv_powf_avx2): Likewise.
3533         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
3534         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
3535         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
3536         (_ZGVbN4vvv_sincosf_sse4): Likewise.
3537         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
3538         (_ZGVdN8vvv_sincosf_avx2): Likewise.
3539         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
3540         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
3541         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
3542         (_ZGVbN4v_sinf_sse4): Likewise.
3543         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
3544         (_ZGVdN8v_sinf_avx2): Likewise.
3545         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
3546         Use JUMPTARGET to call callee.
3547         (WRAPPER_IMPL_SSE2_ff): Likewise.
3548         (WRAPPER_IMPL_SSE2_fFF): Likewise.
3549         (WRAPPER_IMPL_AVX): Likewise.
3550         (WRAPPER_IMPL_AVX_ff): Likewise.
3551         (WRAPPER_IMPL_AVX_fFF): Likewise.
3552         (WRAPPER_IMPL_AVX512): Likewise.
3553         (WRAPPER_IMPL_AVX512_ff): Likewise.
3554         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
3555         Likewise.
3556         (WRAPPER_IMPL_SSE2_ff): Likewise.
3557         (WRAPPER_IMPL_SSE2_fFF): Likewise.
3558         (WRAPPER_IMPL_AVX): Likewise.
3559         (WRAPPER_IMPL_AVX_ff): Likewise.
3560         (WRAPPER_IMPL_AVX_fFF): Likewise.
3561         (WRAPPER_IMPL_AVX512): Likewise.
3562         (WRAPPER_IMPL_AVX512_ff): Likewise.
3563         (WRAPPER_IMPL_AVX512_fFF): Likewise.
3565 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3567         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
3568         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
3569         qualifier.
3570         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
3571         internal_function qualifiers.
3573 2016-03-15  Carlos O'Donell <carlos@redhat.com>
3575         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
3576         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
3577         * math/atest-exp.c (exp_mpn): Mark chk unused.
3578         * math/atest-exp2.c (exp_mpn): Likwise.
3579         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
3580         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
3582 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
3584         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
3585         Remove macro.
3586         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
3587         <kernel-features.h>.
3588         [__NR_ppoll]: Make code unconditional.
3589         [!__ASSUME_PPOLL]: Remove conditional code.
3591         * sysdeps/unix/sysv/linux/kernel-features.h
3592         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
3593         (__ASSUME_ACCEPT4): Likewise.
3594         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3595         Define.
3596         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
3597         Likewise.
3598         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3599         Likewise.
3600         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
3601         Likewise.
3602         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
3603         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
3604         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3605         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3606         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3607         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3608         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3609         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3610         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3611         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3612         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3613         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3614         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3615         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3616         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3617         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3618         Likewise.
3619         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3620         Likewise.
3621         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3622         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3623         0x040300].
3624         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3625         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3626         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3627         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3628         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
3629         0x030300].
3630         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
3631         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3632         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3633         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3634         0x040300].
3635         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3636         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3637         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3638         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3639         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3640         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3641         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
3642         0x030300].
3643         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3644         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3645         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3646         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3647         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3648         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3649         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3650         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3651         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3652         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3653         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3654         0x040300].
3655         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3656         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3657         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3658         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3659         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3660         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3661         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3662         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3663         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3664         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3665         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3666         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3667         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3668         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3669         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
3670         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3671         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3672         Likewise.
3673         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3674         Likewise.
3676 2016-03-15  Andreas Schwab  <schwab@suse.de>
3678         [BZ #19257]
3679         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
3680         statp->_u._ext.nscount as loop count.
3682 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
3684         * math/test-signgam-finite-c99.c: Also #undef
3685         __LIBC_INTERNAL_MATH_INLINES.
3686         * math/test-signgam-main.c: Likewise.
3688 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
3690         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
3691         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
3692         (MADV_FREE): Likewise.
3693         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
3694         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
3695         EPOLLEXCLUSIVE.
3697 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
3699         * timezone/README: Remove mention of checktab.awk. Mention wiki
3700         SharedSourceFiles.
3702 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
3704         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
3705         WUNTRACED.
3707 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3709         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
3710         order to match the type of p when calling atomic_exchange_acq().
3712 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3714         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
3715         cfi_offset calls.
3716         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
3717         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
3718         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
3719         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
3720         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
3722 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
3724         * timezone/checktab.awk: Removed.
3726 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
3728         * manual/math.texi (Errors in Math Functions): Document relaxed
3729         accuracy goals for IBM long double.
3730         * math/libm-test.inc (test_exceptions): Always allow spurious
3731         "underflow" and "inexact" exceptions for IBM long double.
3733 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
3735         [BZ #19762]
3736         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
3737         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
3738         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
3739         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
3740         (bit_arch_*): This for feature array.
3741         (bit_*): Renamed to ...
3742         (bit_cpu_*): This for cpu array.
3743         (index_*): Renamed to ...
3744         (index_arch_*): This for feature array.
3745         (index_*): Renamed to ...
3746         (index_cpu_*): This for cpu array.
3747         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
3748         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
3749         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
3750         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
3751         bit_##name with index_cpu_##name and bit_cpu_##name.
3752         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
3753         bit_##name with index_arch_##name and bit_arch_##name.
3755 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
3757         [BZ #19792]
3758         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
3759         Terminate FDE before return label.
3761 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
3763         [BZ #19790]
3764         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
3765         (rintl): Define as macro.
3766         [USE_AS_NEARBYINTL] (__rintl): Likewise.
3767         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
3768         of fesetround.  Ensure results are evaluated before end of scope.
3769         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
3770         USE_AS_NEARBYINTL and include s_rintl.c.
3771         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
3772         Disable exception traps in new environment.
3773         (libc_feholdsetround_ppc_ctx): Likewise.
3775 2016-03-08  Roland McGrath  <roland@hack.frob.com>
3777         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
3778         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
3779         (tst_audit10_aux) [__AVX512F__]: ... here.
3781 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
3783         * include/sys/auxv.h: New file.
3785 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3787         [BZ #19759]
3788         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
3790 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3792         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
3793         operand modifier.
3794         (feclearexcept): Likewise.
3796 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3798         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
3799         to reflect the entire 32-bit HWCAP.
3800         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
3801         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
3803 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3805         [BZ #19783]
3806         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
3807         $(test-via-rtld-prefix).
3808         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
3810 2016-03-08  Florian Weimer  <fweimer@redhat.com>
3812         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
3813         union wait.  Report any non-zero exit status as error.
3815 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3817         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
3818         configured with --enable-hardcoded-path-in-tests.
3820 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
3822         [BZ #19677]
3823         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
3824         (__ieee754_remainderl): Put zero low parts in canonical form.
3825         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
3826         file.  Based on
3827         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
3828         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
3829         with wrapper round test-fmodrem-ldbl-128ibm.c.
3830         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
3831         file.
3832         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
3833         Likewise.
3834         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
3835         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
3837 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3839         [BZ #19610]
3840         * elf/ldconfig.c (opt_link): Update comment.
3841         (options): Update help string for option -X.
3842         (search_dir): Unlink stale symbolic link only if updating symbolic
3843         links.
3844         * elf/tst-ldconfig-X.sh: New file.
3845         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
3846         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
3848 2016-03-07  Andreas Schwab  <schwab@suse.de>
3850         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
3851         needed arguments.
3853 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
3855         [BZ #15333]
3856         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
3857         to lstat64.
3859 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3861         * libio/filedoalloc.c (isatty): Remove.
3862         (local_isatty): Add comment.  Call __isatty directly.
3863         (_IO_file_doallocate): Update comment.  Assume _LIBC.
3864         * libio/wfiledoalloc.c (isatty): Remove.
3865         (_IO_wfile_doallocate): Update comment.
3867 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3869         [BZ #19269]
3870         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
3871         tst-audit4-aux.o.
3872         (tst-audit10): Depend on tst-audit10-aux.o.
3873         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
3874         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
3875         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
3876         instead of inline AVX code.
3877         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
3878         instead of inline AVX512 code.
3879         * sysdeps/x86_64/tst-audit4-aux.c: New file
3880         * sysdeps/x86_64/tst-audit10-aux.c: New file
3882         [BZ #19648]
3883         * test-skeleton.c (main): Do not set RLIMIT_DATA.
3885 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3887         [BZ #14750]
3888         [BZ #10354]
3889         [BZ #18433]
3890         * include/sched.h (__clone): Add hidden prototype.
3891         (__clone2): Likewise.
3892         * include/unistd.h (__dup): Likewise.
3893         * posix/Makefile (tests): Add tst-spawn2.
3894         * posix/tst-spawn2.c: New file.
3895         * sysdeps/posix/dup.c (__dup): Add hidden definition.
3896         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
3897         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3898         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3899         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3900         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3901         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
3902         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3903         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
3904         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3905         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3907         Likewise.
3908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3909         Likewise.
3910         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3911         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3912         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3913         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3914         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3915         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3916         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3917         * sysdeps/unix/sysv/linux/nptl-signals.h
3918         (____nptl_is_internal_signal): New function.
3919         * sysdeps/unix/sysv/linux/spawni.c: New file.
3921         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
3922         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
3923         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
3924         * posix/tst-execvp2.c (do_test): Likewise.
3925         * posix/tst-execvp3.c (do_test): Likewise.
3926         * posix/tst-execvp4.c (do_test): Likewise.
3927         * posix/tst-execvpe1.c: New file.
3928         * posix/tst-execvpe2.c: Likewise.
3929         * posix/tst-execvpe3.c: Likewise.
3930         * posix/tst-execvpe4.c: Likewise.
3931         * posix/tst-execvpe5.c: Likewise.
3932         * posix/tst-execvpe6.c: Likewise.
3934         [BZ #19534]
3935         * posix/execl.c (execl): Remove dynamic memory allocation.
3936         * posix/execle.c (execle): Likewise.
3937         * posix/execlp.c (execlp): Likewise.
3939 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3941         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
3942         Replace .text with .text.avx512.
3943         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3944         Likewise.
3946 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
3948         * sysdeps/generic/libnsl.abilist: New file.
3949         * sysdeps/generic/libutil.abilist: New file.
3951 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3953         [BZ #19762]
3954         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
3955         HAS_ARCH_FEATURE with Fast_Rep_String.
3956         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
3957         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
3958         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
3959         Likewise.
3960         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
3961         Likewise.
3962         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
3963         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
3964         Likewise.
3965         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
3966         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
3967         Likewise.
3969 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3971         [BZ #19745]
3972         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
3973         with *%rax in call.
3975 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3977         [BZ #19745]
3978         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
3979         with *__libc_start_main@GOTPCREL(%rip) in call.
3981 2016-03-04  Roland McGrath  <roland@hack.frob.com>
3983         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
3984         inside conditional for nonempty $(CXX).
3986         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
3987         nonempty.
3989         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
3990         to test for empty $(CXX) rather than $(CXX) of "no".
3992 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3994         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
3996 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
3997             H.J. Lu  <hongjiu.lu@intel.com>
3999         [BZ #18880]
4000         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
4001         instead of Slow_BSF, and also check for Fast_Copy_Backward to
4002         enable __memcpy_ssse3_back.
4004 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
4006         [BZ #19758]
4007         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
4008         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
4010 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
4012         [BZ #19490]
4013         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
4014         (__fentry__): Likewise.
4016 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
4018         * gmon/Makefile (noprof): Add $(sysdep_noprof).
4019         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
4021 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
4023         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
4024         __mcount_internal directly.
4025         (C_LABEL(__fentry__)): Likewise.
4026         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
4027         directly.
4029 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
4031         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4032         (__start_context): Call __setcontext directly.
4034 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
4036         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4037         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4038         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
4039         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
4040         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4041         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4042         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
4043         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4044         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4045         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
4046         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
4047         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
4048         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4049         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4050         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4051         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4052         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
4053         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4054         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4055         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
4056         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
4057         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4058         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4059         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
4060         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
4061         Remove conditional code.
4062         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4063         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
4064         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4065         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4066         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
4067         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4068         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
4069         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4070         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4071         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4072         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4073         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4075 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
4077         * NEWS (2.23): Fix typo in bug 19048 text.
4079 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
4081         [BZ #14259]
4082         * Makeconfig: Rename msgcatdir to localedir.
4083         Rename inst_msgcatdir to inst_localedir.
4084         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
4085         * config.make.in: Add localedir.
4086         * elf/Makefile ($(objpfx)sotruss): Use localedir.
4087         (ldd-rewrite): Likewise.
4088         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
4089         (install-others): Use inst_localedir.
4090         (CPPFLAGS): Use localedir.
4091         * locale/Makefile (locale-CPPFLAGS): Likewise.
4092         * po/Makefile (mo-installed): Use inst_localedir.
4094         [BZ #19575]
4095         * localedata/charmaps/GB18030: Update comments regarding PAU to
4096         non-PUA mappings.
4098 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
4100         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
4101         test for header.
4102         * sysdeps/unix/sysv/linux/configure: Regenerated.
4103         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
4104         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
4105         Remove conditional code.
4106         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
4108         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4109         Define to 3.2.0.
4110         (arch_minimum_kernel): Likewise.
4111         * sysdeps/unix/sysv/linux/configure: Regenerated.
4112         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
4113         Define to 2.6.32.
4114         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
4115         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
4116         (arch_minimum_kernel): Define to 2.6.32.
4117         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
4118         * README: Document Linux 3.2 requirement.
4119         * manual/install.texi (Linux): Document Linux 3.2 headers
4120         requirement.
4121         * INSTALL: Regenerated.
4123 2016-02-24  Andreas Schwab  <schwab@suse.de>
4125         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
4126         if !NO_LONG_DOUBLE.
4128 2016-02-22  Roland McGrath  <roland@hack.frob.com>
4130         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
4131         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
4133 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
4135         [BZ #19512]
4136         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
4138 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
4140         * posix/tst-dir.c: Include libc-internal.h.
4142 2016-02-20  Florian Weimer  <fweimer@redhat.com>
4144         [BZ #19056]
4145         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
4146         * manual/filesys.texi (Reading/Closing Directory): Mention
4147         deprecaion.
4148         * posix/tst-dir.c (main): Disable deprecation warning in test.
4150 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
4152         [BZ #19679]
4153         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
4154         Renamed to ...
4155         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
4156         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4157         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
4158         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4159         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
4160         * sysdeps/x86_64/dl-trampoline.h
4161         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4162         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
4164 2016-02-19  Mark Wielaard  <mjw@redhat.com>
4166         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
4168 2016-02-19  Mark Wielaard  <mjw@redhat.com>
4170         * elf/elf.h (R_386_GOT32X): New.
4171         (R_386_NUM): Update.
4172         (R_X86_64_GOTPCRELX: New.
4173         (R_X86_64_REX_GOTPCRELX): New.
4174         (R_X86_64_NUM): Update.
4176 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
4178         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
4180 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
4182         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
4183         assign attr->stackaddr to it, and adjust it down when
4184         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
4185         [_STACK_GROWS_UP]: Delete assert.
4186         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
4187         Implement stack grows up logic.
4188         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
4189         stack grows up logic.
4191 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4193         * NEWS: Update with 2.24 template.
4195 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
4197         [BZ #19678]
4198         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4199         Ensure +0.0 is returned when taking the next value below the least
4200         positive value.
4202 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4204         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
4205         available.  Do not define NO_THREADS.
4206         * malloc/malloc.c: Do not check NO_THREADS.
4207         * malloc/arena.c: Likewise.
4209 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4211         * malloc/malloc.c (__libc_mallinfo): Update comment.
4212         (struct malloc_par): Remove max_total_mem member, it was always 0.
4213         (int_mallinfo): Store 0 into usmblks (no functional change).
4214         * malloc/hooks.c (struct malloc_state): Document that
4215         max_total_mem is always 0.
4216         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
4217         always 0.
4218         * manual/memory.texi (Statistics of Malloc): Likewise.
4220 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4222         * malloc/malloc.c (sysmalloc): Do not update arena_max.
4223         * malloc/arena.c (arena_max): Remove.
4224         (heap_trim, _int_new_arena): Do not update arena_max.
4226 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4228         * resolv/res_init.c (res_ninit): Update comment.
4230 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4232         [BZ #19505]
4233         * posix/spawn_int.h: Add headers and include guard.
4234         (__spawn_valid_fd): New function.
4235         * posix/spawn_faction_addopen.c
4236         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
4237         * posix/spawn_faction_addclose.c
4238         (posix_spawn_file_actions_addclose): Likewise.
4239         * posix/spawn_faction_adddup2.c
4240         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
4241         second file descriptor.
4242         * posix/spawn_valid_fd.c: New file.
4243         * posix/tst-posix_spawn-fd.c: New file.
4244         * posix/Makefile (routines): Add spawn_valid_fd.
4245         (tests): Add tst-posix_spawn-fd.
4247 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4249         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
4250         (do_test): Limit the number of arenas, so that we can use fewer
4251         outer threads.  Limit timeout to 3 seconds, in preparation for a
4252         larger TIMEOUT value.
4254 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
4256         [BZ #19674]
4257         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
4258         sign in overflowing and underflowing results when overflow or
4259         underflow is detected early.  Include sign in result before rather
4260         than after scaling.
4262         [BZ #19603]
4263         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4264         (__ieee754_remainderl): Adjust sign of integer version of low part
4265         when taking absolute value of high part.
4266         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4267         * math/libm-test.inc (remainder_test_data): Add another test.
4268         (remquo_test_data): Likewise.
4270 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
4272         [BZ #19602]
4273         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
4274         equal high parts and both low parts zero specially.
4275         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
4276         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
4277         Add test-fmodl-ldbl-128ibm.
4279         [BZ #19595]
4280         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
4281         common logic for all cases of shifting subnormal results.  Do not
4282         insert sign bit in shifted mantissa.  Always pass -1023 as biased
4283         exponent to ldbl_insert_mantissa in subnormal case.
4285         [BZ #19594]
4286         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
4287         on high and low parts then adjust result and use
4288         ldbl_canonicalize_int if needed.
4290         [BZ #19593]
4291         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
4292         on high part and __floor or __ceil on low part then use
4293         ldbl_canonicalize_int if needed.
4295         [BZ #19592]
4296         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
4297         high and low parts then use ldbl_canonicalize_int if needed.
4299         [BZ #17899]
4300         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
4301         New function.
4302         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
4303         on high and low parts then use ldbl_canonicalize_int if needed.
4305 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4307         * configure: Regenerated.
4309         * po/libc.pot: Regenerated.
4311         * po/be.po: Updated translation.
4312         * po/bg.po: Likewise.
4313         * po/ca.po: Likewise.
4314         * po/cs.po: Likewise.
4315         * po/da.po: Likewise.
4316         * po/el.po: Likewise.
4317         * po/eo.po: Likewise.
4318         * po/es.po: Likewise.
4319         * po/fi.po: Likewise.
4320         * po/fr.po: Likewise.
4321         * po/gl.po: Likewise.
4322         * po/hr.po: Likewise.
4323         * po/hu.po: Likewise.
4324         * po/ia.po: Likewise.
4325         * po/id.po: Likewise.
4326         * po/it.po: Likewise.
4327         * po/ja.po: Likewise.
4328         * po/lt.po: Likewise.
4329         * po/nb.po: Likewise.
4330         * po/nl.po: Likewise.
4331         * po/pt_BR.po: Likewise.
4332         * po/rw.po: Likewise.
4333         * po/sk.po: Likewise.
4334         * po/sl.po: Likewise.
4335         * po/sv.po: Likewise.
4336         * po/tr.po: Likewise.
4337         * po/zh_CN.po: Likewise.
4338         * po/zh_TW.po: Likewise.
4340         * version.h (RELEAES): Set to "development".
4341         (VERSION): Set to 2.23.90.
4343         * version.h (RELEASE): Set to "stable".
4344         (VERSION): Set to 2.23.
4345         * include/feature.h (__GLIBC_MINOR__): Set to 23.
4347         * NEWS: Updated fixed bugs.
4349 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
4350             Wilco Dijkstra  <wdijkstr@arm.com>
4352         [BZ #19462]
4353         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
4354         (_STRING_INLINE_unaligned): This.
4355         * include/string.h: Include <string_private.h>.
4356         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
4357         _STRING_INLINE_unaligned.
4358         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
4359         (_STRING_INLINE_unaligned): New.
4360         * sysdeps/aarch64/string_private.h: New file.
4361         * sysdeps/generic/string_private.h: Likewise.
4362         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
4363         * sysdeps/s390/string_private.h: Likewise.
4364         * sysdeps/x86/string_private.h: Likewise.
4365         * sysdeps/m68k/m680x0/m68020/bits/string.h
4366         (_STRING_ARCH_unaligned): Renamed to ...
4367         (_STRING_INLINE_unaligned): This.
4368         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
4369         to ...
4370         (_STRING_INLINE_unaligned): This.
4371         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
4372         to ...
4373         (_STRING_INLINE_unaligned): This.
4374         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
4375         to ...
4376         (_STRING_INLINE_unaligned): This.
4378 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
4379             H.J. Lu  <hongjiu.lu@intel.com>
4381         [BZ #19590]
4382         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
4383         relocation.
4385 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
4387         [BZ #18665]
4388         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
4389         *herrno_p.
4390         (gaih_getanswer): Document functional behviour. Return tryagain
4391         if any result is tryagain.
4392         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
4393         when freed.
4394         * resolv/res_send.c: Add copyright text.
4395         (__libc_res_nsend): Document that MAXPACKET is expected.
4396         (send_vc): Document. Remove buffer reuse.
4397         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
4398         size of the buffer. Add Dprint for truncated UDP buffer.
4400 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
4402         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
4403         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
4404         * INSTALL: Regenerate.
4406 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
4407             Jonathan Wakely  <jwakely@redhat.com>
4408             Carlos O'Donell  <carlos@redhat.com>
4410         [BZ 19439]
4411         * math/Makefile (tests): Add test-math-isinff.
4412         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
4413         * math/bits/mathcalls.h [__USE_MISC]: Use
4414         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
4415         functions not in C++11 and which don't conflict e.g. isinff,
4416         isinfl etc.
4417         * math/test-math-isinff.cc: New file.
4419 2016-02-12  Florian Weimer  <fweimer@redhat.com>
4421         * misc/bug18240.c (do_test): Set RLIMIT_AS.
4423 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4425         [BZ #19529]
4426         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
4428 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4430         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4432 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
4434         [BZ #19550]
4435         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
4436         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
4437         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
4438         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
4439         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
4440         New syscall entry.
4441         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
4442         New syscall entry.
4443         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
4444         syscall entry.
4446 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
4448         [BZ #18240]
4449         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
4450         unsigned int wraparound.
4452 2016-01-27  Florian Weimer  <fweimer@redhat.com>
4454         [BZ #18240]
4455         * misc/bug18240.c: New test.
4456         * misc/Makefile (tests): Add it.
4458 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
4459             Joseph Myers  <joseph@codesourcery.com>
4461         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
4462         load in branch delay slot when less than a word of input left.
4464 2016-01-27  Andreas Schwab  <schwab@suse.de>
4466         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
4467         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
4468         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
4469         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
4471 2016-01-26  David S. Miller  <davem@davemloft.net>
4473         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
4475 2016-01-25  David S. Miller  <davem@davemloft.net>
4477         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
4478         __sqrtl_finite.
4479         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
4480         instead using versioned_symbol.
4481         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
4482         of entries.
4484         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
4485         __sqrtl_finite to GLIBC_2.23
4487 2016-01-25  Ricchard Henderson  <rth@redhat.com>
4489         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4491 2016-01-25  Andreas Schwab  <schwab@suse.de>
4493         [BZ #17514]
4494         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
4495         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
4496         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
4497         * nptl/tst-mutex-errorcheck.c: New file.
4499 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4501         [BZ #18560]
4502         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
4503         (IPCOP_semop): Likewise.
4504         (IPCOP_semget): Likewise.
4505         (IPCOP_semctl): Likewise.
4506         (IPCOP_msgsnd): Likewise.
4507         (IPCOP_msgrcv): Likewise.
4508         (IPCOP_msgget): Likewise.
4509         (IPCOP_msgctl): Likewise.
4510         (IPCOP_shmat): Likewise.
4511         (IPCOP_shmdt): Likewise.
4512         (IPCOP_shmget): Likewise.
4513         (IPCOP_shmctl): Likewise.
4515 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
4517         * string/tst-endian.c: Include <libc-internal.h>.
4518         (do_test): Ignore tautological-compare warnings around
4519         "htobeXX (beXXtoh (i)) != i" and
4520         "htoleXX (leXXtoh (i)) != i" if-statements.
4522 2016-01-24  David S. Miller  <davem@davemloft.net>
4524         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
4525         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
4526         alias.
4527         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
4528         __sqrtl_finite.
4530         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4532 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
4534         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
4535         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
4536         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4538 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4540         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
4541         (thread_func): Use new function to simplify barrier check.
4542         (do_test): Use new function to simplify checking barrier exit
4543         code, and actually join the child thread.
4545 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4547         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
4548         semicolon.
4549         (__libc_tend): Likewise.
4550         (__libc_tabort): Likewise.
4552 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
4554         * sysdeps/nios2/libm-test-ulps: Update.
4555         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
4556         (__gtsf2): Likewise.
4557         (__unorddf2): Likewise.
4558         (__unordsf2): Likewise.
4559         (__ledf2): Likewise.
4561 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
4563         * nis/nis_table.c (__follow_path): Disable diagnostic for
4564         uninitialized variable that is a false positive for gcc 4.7.
4565         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
4567 2016-01-20  Roland McGrath  <roland@hack.frob.com>
4569         * sysdeps/nacl/lowlevellock-futex.h
4570         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
4571         Always evaluate PRIVATE argument.
4573 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
4575         [BZ #19490]
4576         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
4577         (pthread_cond_broadcast): Use ENTRY/END
4578         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
4579         (pthread_cond_signal): Likewise.
4580         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
4581         Likewise.
4582         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
4583         Likewise.
4584         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
4585         Likewise.
4587 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
4589         * sysdeps/ieee754/dbl-64/s_finite.c
4590         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
4591         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
4592         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
4593         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
4594         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
4596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
4597         (__gtsf2): Add as optional for libc.so.
4598         (__unordsf2): Likewise.
4599         (__signbit): Remove for libc.so.
4600         (__signbitl): Likewise.
4602 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
4604         * iconvdata/bug-iconv11.c (test_ibm93x):
4605         Use %zu printf format specifier for size_t argument.
4607 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
4609         * math/gen-libm-test.pl (parse_ulps): Do not reduce
4610         already-recorded ulps.
4611         * sysdeps/arm/libm-test-ulps: Regenerated.
4612         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4613         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4614         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4616 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4617             Paul Pluzhnikov  <ppluzhnikov@google.com>
4619         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
4620         assembler not supporting AVX-512.
4622 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
4624         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4626 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
4628         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4629         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4631         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4633         * sysdeps/arm/libm-test-ulps: Regenerated.
4635 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
4637         [BZ #19451]
4638         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
4640 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
4642         [BZ #19486]
4643         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
4644         * sysdeps/generic/fix-fp-int-convert-overflow.h
4645         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
4646         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
4647         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
4648         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
4649         Likewise.
4650         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
4651         Avoid conversions to long int where inexact exceptions
4652         could be raised.
4653         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
4654         Likewise.
4655         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
4656         Avoid conversions to long long int where inexact exceptions
4657         could be raised.
4658         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
4659         Likewise.
4661 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
4663         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
4664         * configure: Regenerated.
4666 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
4668         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
4670 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
4672         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
4673         outside of comment.
4675 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4677         * nptl/tst-barrier1.c: Add description on first line.
4678         * nptl/tst-barrier2.c: Likewise.
4679         * nptl/tst-barrier3.c: Likewise.
4680         * nptl/tst-barrier4.c: Likewise.
4681         * nptl/tst-barrier5.c: Likewise.
4683 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4685         [BZ #18868]
4686         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
4688 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
4690         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
4691         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
4692         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
4693         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
4694         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
4695         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
4696         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4697         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4698         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4699         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4700         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4702 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4704         [BZ #13065]
4705         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
4706         new implementation.
4707         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
4708         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
4709         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
4710         (BARRIER_IN_THRESHOLD): New macro.
4711         * nptl/pthread_barrierattr_setpshared.c
4712         (pthread_barrierattr_setpshared): Clean up.
4713         * nptl/tst-barrier4.c: Correct comment.
4714         * nptl/tst-barrier5.c: New file.
4715         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
4716         (gen-as-const-headers): Remove lowlevelbarrier.sym.
4717         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
4718         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
4719         * nptl/lowlevelbarrier.sym: Remove.
4720         * nptl/DESIGN-barrier.txt: Remove.
4721         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
4722         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
4723         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
4724         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
4725         error.
4726         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
4727         implementation.
4729 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4731         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
4732         (do_child): Mask SIGRTMIN while thr is running.
4734 2016-01-15  Martin Sebor  <msebor@redhat.com>
4736         [BZ #19432]
4737         * iconvdata/Makefile: Add bug-iconv11.
4738         * iconvdata/bug-iconv11.c: New test.
4739         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
4740         * iconvdata/ibm933.c: Same.
4741         * iconvdata/ibm935.c: Same.
4742         * iconvdata/ibm937.c: Same.
4743         * iconvdata/ibm939.c: Same.
4745 2016-01-15  Martin Sebor  <msebor@redhat.com>
4747         [BZ #19443]
4748         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
4749         [DEBUG] (_ufc_set_bits): Declare used.
4750         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
4751         [DEBUG] (print_all): Declare used.
4752         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
4753         operands of the ternary ?: expression to target type.
4754         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
4755         calling the undeclared abort.
4756         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
4758 2016-01-15  Martin Sebor  <msebor@redhat.com>
4760         [BZ #18755]
4761         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
4762         warnings.
4763         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
4764         (__gai_create_helper_thread): Same.
4765         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
4766         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
4767         to suppress -Wmaybe-uninitialized warnings.
4769 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
4771         [BZ #19465]
4772         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
4773         inside if.
4774         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4775         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4776         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4778 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
4780         [BZ #19466]
4781         * time/tst-mktime2.c (time_t_max): Removed.
4782         (time_t_min): Likewise.
4783         (TYPE_SIGNED): New.
4784         (TYPE_MINIMUM): Likewise.
4785         (TYPE_MAXIMUM): Likewise.
4786         (TIME_T_MIN): Likewise.
4787         (TIME_T_MAX): Likewise.
4788         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
4789         and TIME_T_MIN.
4790         (do_test): Likewise.
4792 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
4794         [BZ #19467]
4795         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4796         index_Fast_Unaligned_Load flag for Excavator family CPUs.
4798 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
4800         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
4802 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
4804         * benchtests/Makefile (PYTHON): Define.
4805         (bench-func): Use $(PYTHON) to run python scripts.
4806         ($(objpfx)bench-%.c): Likewise.
4808 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
4810         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
4811         leading slash when `file_name' is "/".
4813 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
4815         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
4816         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
4817         Likewise.
4818         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
4819         Likewise.
4820         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
4821         Likewise.
4822         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
4823         enum constant and macro.
4824         (PTRACE_SETSIGMASK): Likewise.
4825         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4826         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
4827         (PTRACE_GETSIGMASK): Likewise.
4828         (PTRACE_SETSIGMASK): Likewise.
4829         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4830         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
4831         Likewise.
4832         (PTRACE_SETSIGMASK): Likewise.
4833         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4834         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
4835         (PTRACE_GETSIGMASK): Likewise.
4836         (PTRACE_SETSIGMASK): Likewise.
4837         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4838         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
4839         Likewise.
4840         (PTRACE_SETSIGMASK): Likewise.
4841         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4842         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
4843         Likewise.
4844         (PTRACE_SETSIGMASK): Likewise.
4845         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4846         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
4847         Likewise.
4848         (PTRACE_SETSIGMASK): Likewise.
4849         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4851 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
4852             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4854         [BZ #19439]
4855         * math/bits/mathcalls.h
4856         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
4857         prototype.
4858         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
4860 2016-01-11  Andreas Schwab  <schwab@suse.de>
4862         [BZ #19253]
4863         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
4864         cache when TZDEFRULES was used.
4865         * time/tst-tzname.c: New file.
4866         * time/Makefile (test): Add tst-tzname.
4867         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
4868         * timezone/Makefile (test-zones): Add $(posixrules-file).
4869         ($(testdata)/$(posixrules-file)): New rule.
4871 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
4873         Fix doc quoting problems with Texinfo 5
4874         Without this change, in the info file output, Texinfo 5 quotes code
4875         in text with undirected single quotes 'like this' and generates
4876         code examples that with many PDF readers cannot be cut out of PDFs
4877         and pasted into code.
4878         * manual/libc.texinfo: Configure the libc manual like the GNU
4879         Emacs manual, by using @documentencoding and setting
4880         txicodequoteundirected and txicodequotebacktick.  This way,
4881         Texinfo 5 quotes code in text with directed single quotes ‘like
4882         this’ and produces examples that can be cut out of PDFs.  This
4883         change causes Texinfo 5 to generate info files that contain UTF-8
4884         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
4885         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
4887 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4889         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
4890         __libc_tabort, __libc_tend): New wrappers that enforce compiler
4891         barriers to their respective compiler built-ins.
4892         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
4893         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
4894         * sysdeps/powerpc/sysdep.h: Likewise.
4895         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
4896         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
4897         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
4899 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
4901         * scripts/config.guess: Revert previous shebang change.
4902         * scripts/config.sub: Likewise.
4903         * scripts/mkinstalldirs: Likewise.
4905 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4907         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
4908         PPC_FEATURE2_HAS_IEEE128.
4909         * sysdeps/powerpc/dl-procinfo.c:
4910         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
4912 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
4914         [BZ #19415]
4915         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
4916         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
4917         (_dl_lookup_address): Rewrite using function resolver trampoline.
4918         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
4919         two bits in address.
4921 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
4923         * longlong.h: Change !__SHMEDIA__ to
4924         (!defined (__SHMEDIA__) || !__SHMEDIA__).
4925         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
4927 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
4928             Joseph Myers  <joseph@codesourcery.com>
4929             Mark Shinwell  <shinwell@codesourcery.com>
4930             Andrew Stubbs  <ams@codesourcery.com>
4931             Rich Felker <dalias@libc.org>
4933         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
4935 2016-01-07  Richard Henderson  <rth@redhat.com>
4937         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
4939 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
4941         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
4942         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
4943         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4944         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4945         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
4947 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
4948             Joseph Myers  <joseph@codesourcery.com>
4950         * timezone/private.h: Update from tzcode 2015g.
4951         * timezone/tzfile.h: Likewise.
4952         * timezone/tzselect.ksh: Likewise.
4953         * timezone/zdump.c: Likewise.
4954         * timezone/zic.c: Likewise.
4955         * timezone/ialloc.c: Remove file.
4956         * timezone/scheck.c: Likewise.
4957         * timezone/Makefile (extra-objs): Remove variable.
4958         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
4959         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
4960         -Wno-maybe-uninitialized.
4961         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
4962         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
4963         (CFLAGS-ialloc.c): Remove variable.
4964         (CFLAGS-scheck.c): Likewise.
4965         * timezone/README: Update list of files from tzcode.
4967 2016-01-07  Khem Raj  <raj.khem@gmail.com>
4969         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
4970         instead of __fxprintf when _LIBC is undefined.
4972 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
4974         * catgets/test-gencat.sh: Remove space after shebang.
4975         * conform/GlibcConform.pm: Likewise.
4976         * conform/check-header-lists.sh: Likewise.
4977         * conform/conformtest.pl: Likewise.
4978         * conform/linknamespace.pl: Likewise.
4979         * conform/list-header-symbols.pl: Likewise.
4980         * debug/catchsegv.sh: Likewise.
4981         * elf/genrtldtbl.awk: Likewise.
4982         * elf/tst-pathopt.sh: Likewise.
4983         * elf/tst-rtld-load-self.sh: Likewise.
4984         * grp/tst_fgetgrent.sh: Likewise.
4985         * iconvdata/gen-8bit-gap-1.sh: Likewise.
4986         * iconvdata/gen-8bit-gap.sh: Likewise.
4987         * iconvdata/gen-8bit.sh: Likewise.
4988         * iconvdata/run-iconv-test.sh: Likewise.
4989         * intl/tst-gettext.sh: Likewise.
4990         * intl/tst-gettext2.sh: Likewise.
4991         * intl/tst-gettext4.sh: Likewise.
4992         * intl/tst-gettext6.sh: Likewise.
4993         * intl/tst-translit.sh: Likewise.
4994         * io/ftwtest-sh: Likewise.
4995         * libio/test-freopen.sh: Likewise.
4996         * locale/gen-translit.pl: Likewise.
4997         * malloc/tst-mtrace.sh: Likewise.
4998         * manual/check-safety.sh: Likewise.
4999         * manual/libc-texinfo.sh: Likewise.
5000         * manual/tsort.awk: Likewise.
5001         * manual/xtract-typefun.awk: Likewise.
5002         * nptl/tst-cancel-wrappers.sh: Likewise.
5003         * nptl/tst-tls6.sh: Likewise.
5004         * posix/globtest.sh: Likewise.
5005         * posix/tst-getconf.sh: Likewise.
5006         * posix/wordexp-tst.sh: Likewise.
5007         * scripts/check-c++-types.sh: Likewise.
5008         * scripts/check-local-headers.sh: Likewise.
5009         * scripts/config.guess: Likewise.
5010         * scripts/config.sub: Likewise.
5011         * scripts/cpp: Likewise.
5012         * scripts/cross-test-ssh.sh: Likewise.
5013         * scripts/documented.sh: Likewise.
5014         * scripts/evaluate-test.sh: Likewise.
5015         * scripts/gen-libc-abis: Likewise.
5016         * scripts/gen-sorted.awk: Likewise.
5017         * scripts/list-fixed-bugs.py: Likewise.
5018         * scripts/merge-test-results.sh: Likewise.
5019         * scripts/mkinstalldirs: Likewise.
5020         * scripts/rellns-sh: Likewise.
5021         * scripts/test-installation.pl: Likewise.
5022         * scripts/update-copyrights: Likewise.
5023         * stdio-common/tst-printf.sh: Likewise.
5024         * stdio-common/tst-unbputc.sh: Likewise.
5025         * stdlib/tst-fmtmsg.sh: Likewise.
5026         * stdlib/tst-setcontext3.sh: Likewise.
5027         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
5028         * sysdeps/unix/make-syscalls.sh: Likewise.
5030 2016-01-06  John David Anglin  <dave.anglin@bell.net>
5032         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
5033         asm stw with atomic_exchange_rel.  Add explanatory comment.
5034         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
5035         Likewise.
5037 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
5039         [BZ #19122]
5040         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
5041         * sysdeps/generic/dl-unistd.h: New file.
5042         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
5044 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
5046          [BZ #19122]
5047          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
5048          * sysdeps/generic/dl-mman.h: New file.
5049          * sysdeps/mach/hurd/dl-mman.h: Likewise.
5051 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
5053         * manual/texinfo.tex: Update to version 2016-01-04.21 with
5054         trailing whitespace removed.
5055         * scripts/config.guess: Update to version 2016-01-01.
5056         * scripts/config.sub: Update to version 2016-01-01.
5057         * scripts/move-if-change: Update from gnulib.
5059 2016-01-04  Anton Blanchard  <anton@samba.org>
5061         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
5062         for array indices.
5063         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
5065 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
5067         * NEWS: Update copyright dates.
5068         * catgets/gencat.c (print_version): Likewise.
5069         * csu/version.c (banner): Likewise.
5070         * debug/catchsegv.sh: Likewise.
5071         * debug/pcprofiledump.c (print_version): Likewise.
5072         * debug/xtrace.sh (do_version): Likewise.
5073         * elf/ldconfig.c (print_version): Likewise.
5074         * elf/ldd.bash.in: Likewise.
5075         * elf/pldd.c (print_version): Likewise.
5076         * elf/sotruss.sh: Likewise.
5077         * elf/sprof.c (print_version): Likewise.
5078         * iconv/iconv_prog.c (print_version): Likewise.
5079         * iconv/iconvconfig.c (print_version): Likewise.
5080         * locale/programs/locale.c (print_version): Likewise.
5081         * locale/programs/localedef.c (print_version): Likewise.
5082         * login/programs/pt_chown.c (print_version): Likewise.
5083         * malloc/memusage.sh (do_version): Likewise.
5084         * malloc/memusagestat.c (print_version): Likewise.
5085         * malloc/mtrace.pl: Likewise.
5086         * manual/libc.texinfo: Likewise.
5087         * nptl/version.c (banner): Likewise.
5088         * nscd/nscd.c (print_version): Likewise.
5089         * nss/getent.c (print_version): Likewise.
5090         * nss/makedb.c (print_version): Likewise.
5091         * posix/getconf.c (main): Likewise.
5092         * scripts/test-installation.pl: Likewise.
5093         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5095         * All files with FSF copyright notices: Update copyright dates
5096         using scripts/update-copyrights.
5097         * intl/plural.c: Regenerated.
5098         * locale/programs/charmap-kw.h: Likewise.
5099         * locale/programs/locfile-kw.h: Likewise.
5101 2016-01-02  Helge Deller  <deller@gmx.de>
5103         [BZ #19285]
5104         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
5105         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
5106         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
5107         (MADV_xxK_PAGES): Remove.
5109 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
5111         [BZ #15421]
5112         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
5113         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
5114         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
5115         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
5117 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
5119         [BZ #19408]
5120         * sysdeps/unix/sysv/linux/personality.c: New file.
5121         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
5122         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
5123         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
5124         (sysdep_routines): Add personality.
5125         (tests): Add tst-personality.
5126         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
5127         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
5128         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
5129         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
5130         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
5131         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
5132         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
5133         Likewise.
5134         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
5135         Likewise.
5136         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
5137         Likewise.
5138         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
5139         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
5140         Likewise.
5142 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
5144         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
5145         (PATH_ARM_SYSTYPE): Remove.
5146         (PATH_CPUINFO): Likewise.
5147         (IO_BASE_FOOTBRIDGE): Likewise.
5148         (IO_SHIFT_FOOTBRIDGE): Likewise.
5149         (struct platform): Likewise.
5150         (init_iosys): Remove compatibility code for 2.4 kernels.
5151         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
5153 2015-12-29  Florian Weimer  <fweimer@redhat.com>
5155         * malloc/tst-malloc-thread-fail.c: New file.
5156         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
5157         (tst-malloc-thread-fail): Link against libpthread.
5159 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
5161         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
5162         (get_parser): New function.
5163         (main): New function.
5165 2015-12-29  Rob Wu  <rob@robwu.nl>
5167         [BZ #19369]
5168         * resolv/res_init.c (__res_vinit): Reset defdname before use.
5170 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
5172         [BZ #19270]
5173         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
5175 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
5177         [BZ #15421]
5178         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
5180 2015-12-23  Torvald Riegel  <triegel@redhat.com>
5182         [BZ #13690]
5183         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
5184         after releasing it.
5185         (__lll_robust_unlock): Likewise.
5186         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5187         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
5188         (lll_robust_unlock): Likewise.
5189         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
5190         Prevent warnings in callers.
5192 2015-12-23  Florian Weimer  <fweimer@redhat.com>
5194         * malloc/arena.c (list_lock): Update comment.
5196 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5198         * sysdeps/powerpc/hwcapinfo.c: Export symbol
5199         __parse_hwcap_and_convert_at_platform to libc.a.
5201 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5203         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
5204         platform and feature support for POWER9.
5205         * sysdeps/powerpc/dl-procinfo.h: Likewise.
5206         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
5207         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
5208         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
5209         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
5210         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
5211         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
5212         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
5214 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5216         Harmonize generic stdio-lock support with nptl
5218         This fixes build when _IO_funlockfile is a macro, fixes build where
5219         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
5220         stack unwind.
5222         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
5223         _IO_release_lock ): Use cleanup attribute on new
5224         _IO_acquire_lock_file variable instead of assuming that
5225         _IO_release_lock will be called.
5226         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
5227         _IO_acquire_lock_needs_exceptions_enabled.
5228         (_IO_acquire_lock_clear_flags2): New macro.
5230 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5232         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5234 2015-12-21  Florian Weimer  <fweimer@redhat.com>
5236         [BZ #19182]
5237         * malloc/arena.c (list_lock): Document lock ordering requirements.
5238         (free_list_lock): New lock.
5239         (ptmalloc_lock_all): Comment on free_list_lock.
5240         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
5241         (detach_arena): Update comment.  free_list_lock is now needed.
5242         (_int_new_arena): Use free_list_lock around detach_arena call.
5243         Acquire arena lock after list_lock.  Add comment, including FIXME
5244         about incorrect synchronization.
5245         (get_free_list): Switch to free_list_lock.
5246         (reused_arena): Acquire free_list_lock around detach_arena call
5247         and attached threads counter update.  Add two FIXMEs about
5248         incorrect synchronization.
5249         (arena_thread_freeres): Switch to free_list_lock.
5250         * malloc/malloc.c (struct malloc_state): Update comments to
5251         mention free_list_lock.
5253 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
5255         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
5256         Remove functions.
5257         (sloww, sloww1): Accept argument to offset quadrant.
5258         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
5259         quadrant.
5260         (__sin, __cos): Consolidate common code into new functions.
5261         (reduce_sincos_1, do_sincos_1): New functions.
5262         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
5264         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
5265         code to new functions.
5266         (reduce_sincos_2, do_sincos_2): New functions.
5267         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
5269         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
5270         common code for sincos.
5271         (__cos) [!IN_SINCOS]: Likewise.
5272         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
5273         New function.
5274         (__sincos): Use it.
5276 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
5278         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
5279         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
5280         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5282 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5284         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
5285         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
5286         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
5287         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
5288         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5289         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
5290         index_Prefer_No_VZEROUPPER): New feature.
5291         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
5292         Prefer_No_VZEROUPPER for Knights Landing.
5294 015-12-18  Torvald Riegel  <triegel@redhat.com>
5296         * math/atest-exp2.c (mp_exp_m1): Remove.
5298 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5300         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
5301         syscalls.
5302         (__SYSCALL0): New macro.
5303         (__SYSCALL1): Likewise.
5304         (__SYSCALL2): Likewise.
5305         (__SYSCALL3): Likewise.
5306         (__SYSCALL4): Likewise.
5307         (__SYSCALL5): Likewise.
5308         (__SYSCALL6): Likewise.
5309         (__SYSCALL_CONCAT_X): Likewise.
5310         (__SYSCALL_CONCAT): Likewise.
5311         (__SYSCALL_DIST): Likewise.
5312         (__SYSCALL_CALL): Likewise.
5314 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
5316         [BZ #19363]
5317         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
5319 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5321         [BZ #19375]
5322         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
5323         negative subnormals.
5325 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
5327         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5328         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
5329         (INTERNAL_SYSCALL_NCS): Use it.
5330         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5332 2015-12-16  Florian Weimer  <fweimer@redhat.com>
5334         [BZ #19243]
5335         * malloc/arena.c (get_free_list): Remove assert and adjust
5336         reference count handling.  Add comment about reused_arena
5337         interaction.
5338         (reused_arena): Add comments abount get_free_list interaction.
5339         * malloc/tst-malloc-thread-exit.c: New file.
5340         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
5341         (tst-malloc-thread-exit): Link against libpthread.
5343 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
5345         [BZ #19367]
5346         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
5347         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
5348         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
5349         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
5350         (index_Prefer_MAP_32BIT_EXEC): Likewise.
5352 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
5354         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
5355         Silvermont optimizations for Knights Landing.
5357 2015-12-15  Andreas Schwab  <schwab@suse.de>
5359         [BZ #17197]
5360         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
5361         immediately after emitting SI.
5362         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
5363         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
5364         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
5365         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
5366         * iconvdata/bug-iconv10.c: New file.
5367         * iconvdata/Makefile (tests): Add bug-iconv10.
5368         ($(objpfx)bug-iconv10.out): New rule.
5370 2015-12-15  Florian Weimer  <fweimer@redhat.com>
5372         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
5373         aliasing violation.
5375 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
5377         [BZ #18472]
5378         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
5379         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
5380         conditionals for them.
5381         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
5382         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
5383         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5384         sys/kdaemon.h.
5385         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
5386         compat-only syscall, obsoleted in glibc 2.23.
5387         (create_module): Likewise.
5388         (get_kernel_syms): Likewise.
5389         (query_module): Likewise.
5390         (uselib): Likewise.
5391         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
5393 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
5395         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
5396         <linux/version.h>.
5397         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
5398         conditional code.
5399         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
5400         and ioshift_name initialization.
5402 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5404         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5405         Fix indentation.
5407 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5409         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
5411 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5413         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
5415 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
5416             Jakub Wilk  <jwilk@debian.org>
5418         [BZ #19347]
5419         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
5420         to change the group of the device to the tty group.
5422 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
5424         Split large string section; add truncation advice
5425         * manual/examples/strncat.c: Remove.
5426         This example was misleading, as the code would have undefined
5427         behavior if "hello" was longer than SIZE.  Anyway, the manual
5428         shouldn't encourage strncpy+strncat for this sort of thing.
5429         * manual/string.texi (Copying Strings and Arrays): Split into
5430         three sections Copying Strings and Arrays, Concatenating Strings,
5431         and Truncating Strings, as this section was way too long.  All
5432         cross-referenced changed.  Add advice about string-truncation
5433         functions.  Remove misleading strncat example.
5435 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
5437         * manual/nss.texi (NSS Modules Interface): Document
5438         NSS_STATUS_NOTFOUND and SUCCESS.
5440 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
5442         [BZ 18568]
5443         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5444         201505L, for Unicode 8.
5446 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
5448         * locale/C-translit.h: Regenerate.
5450 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
5452         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
5453         and U+0153.
5455 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
5457         [BZ #19351]
5458         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
5459         expanding log(1+z), compare z rather than its square with epsilon
5460         to determine when to avoid evaluating the expansion.
5462         [BZ #19350]
5463         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
5464         Increase overflow threshold.
5466         [BZ #19349]
5467         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
5468         when small.
5470         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5471         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
5472         New macro.
5473         [__LINUX_KERNEL_VERSION >= 0x040300]
5474         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5475         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
5476         Likewise.
5477         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
5478         Likewise.
5479         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
5480         Likewise.
5481         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
5482         Likewise.
5483         [__LINUX_KERNEL_VERSION >= 0x040300]
5484         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
5485         [__LINUX_KERNEL_VERSION >= 0x040300]
5486         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5487         [__LINUX_KERNEL_VERSION >= 0x040300]
5488         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5489         [__LINUX_KERNEL_VERSION >= 0x040300]
5490         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5491         [__LINUX_KERNEL_VERSION >= 0x040300]
5492         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5493         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
5494         Likewise.
5495         [__LINUX_KERNEL_VERSION >= 0x040300]
5496         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5497         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5498         Likewise.
5499         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
5500         Likewise.
5501         [__LINUX_KERNEL_VERSION >= 0x040300]
5502         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
5503         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5504         Likewise.
5505         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
5506         Likewise.
5507         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5508         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
5509         Likewise.
5510         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
5511         Likewise.
5512         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
5513         Likewise.
5514         [__LINUX_KERNEL_VERSION >= 0x040300]
5515         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5516         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
5517         Likewise.
5518         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
5519         Likewise.
5520         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
5521         Likewise.
5522         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
5523         Likewise.
5524         [__LINUX_KERNEL_VERSION >= 0x040300]
5525         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
5526         [__LINUX_KERNEL_VERSION >= 0x040300]
5527         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5528         [__LINUX_KERNEL_VERSION >= 0x040300]
5529         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5530         [__LINUX_KERNEL_VERSION >= 0x040300]
5531         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5532         [__LINUX_KERNEL_VERSION >= 0x040300]
5533         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5534         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
5535         Likewise.
5536         [__LINUX_KERNEL_VERSION >= 0x040300]
5537         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5538         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5539         Likewise.
5540         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
5541         Likewise.
5542         [__LINUX_KERNEL_VERSION >= 0x040300]
5543         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
5544         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5545         Likewise.
5546         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
5547         Likewise.
5548         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5549         (__ASSUME_SOCKET_SYSCALL): Likewise.
5550         (__ASSUME_BIND_SYSCALL): Likewise.
5551         (__ASSUME_CONNECT_SYSCALL): Likewise.
5552         (__ASSUME_LISTEN_SYSCALL): Likewise.
5553         (__ASSUME_ACCEPT_SYSCALL): Likewise.
5554         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5555         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5556         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5557         (__ASSUME_SEND_SYSCALL): Likewise.
5558         (__ASSUME_SENDTO_SYSCALL): Likewise.
5559         (__ASSUME_RECV_SYSCALL): Likewise.
5560         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5561         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
5562         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5563         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5564         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5565         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5566         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5567         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
5568         Likewise.
5569         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
5570         Likewise.
5571         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
5572         Likewise.
5573         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
5574         Likewise.
5575         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
5576         Likewise.
5577         [__LINUX_KERNEL_VERSION >= 0x020625]
5578         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5579         [__LINUX_KERNEL_VERSION >= 0x020625]
5580         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5581         [__LINUX_KERNEL_VERSION >= 0x020625]
5582         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5583         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
5584         Likewise.
5585         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
5586         Likewise.
5587         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
5588         Likewise.
5589         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
5590         Likewise.
5591         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
5592         Likewise.
5593         [__LINUX_KERNEL_VERSION >= 0x020625]
5594         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5595         [__LINUX_KERNEL_VERSION >= 0x020625]
5596         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5597         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
5598         Likewise.
5599         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
5600         Likewise.
5602 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
5604         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
5605         record the current if the current ABI and CPU support the FP64
5606         extension.
5607         (has-modd-spreg): Define to record the current if the current ABI and
5608         CPU support 32-bit floating point values in odd FPU registers.
5609         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5610         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
5611         $(has-modd-spreg) equals yes.
5612         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
5613         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
5614         $(has-modd-spreg) equal yes.
5616 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
5618         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
5619         basename.
5621 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
5623         * benchtests/Makefile (bench-math): Move ffs and ffsll...
5624         (bench-string): ... here.
5625         (bench): Add bench-string.
5626         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
5627         to *-benchset to reflect what they are.
5628         (benchset): Adjust.
5630         * benchtests/sincos-inputs: Add inputs from sin-inputs and
5631         cos-inputs.
5633 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
5635         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
5636         __attribute__ ((__simd__)) for vector math function declarations.
5638 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
5640         Fix typo in strncat, wcsncat manual entries
5641         * manual/string.texi (Copying and Concatenation): Fix typos in
5642         sample implementations of strncat and wcsncat, by having them use
5643         the old value of the destination length, not the new one.
5645 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
5647         [BZ #16961]
5648         [BZ #16962]
5649         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
5650         string on the stack for strtod.
5651         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
5652         a string on the stack for strtof.
5653         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
5654         constructing a string on the stack for strtold.
5655         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
5656         __strtold_nan to GLIBC_PRIVATE.
5657         * math/test-nan-overflow.c: New file.
5658         * math/test-nan-payload.c: Likewise.
5659         * math/Makefile (tests): Add test-nan-overflow and
5660         test-nan-payload.
5662 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
5664         Consistency about byte vs character in string.texi
5665         * manual/string.texi (String and Array Utilities):
5666         Distinguish more carefully among bytes, multibyte characters,
5667         and wide characters.  Use "byte" when talking about C 'char',
5668         to distinguish it more clearly from multibyte characters.
5669         Say "wide character" or "multibyte character" instead of
5670         "character", when a wide or multibyte character is intended.
5671         Similarly for "multibyte string" versus "string".
5672         Define these terms more carefully.
5674 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
5676         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
5677         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
5678         Likewise.
5679         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
5680         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
5681         * sysdeps/sh/math_private.h: New file.
5682         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
5683         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
5684         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
5685         long double function name.
5686         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5687         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5688         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5689         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5690         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
5692         Remove __finitel, __isinfl, and __isnanl.
5693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5694         Likewise.
5695         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5697         Remove __finitel.
5698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5699         Likewise.
5700         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5702 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
5704         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
5705         installed libmvec_nonshared.a.
5707 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5709         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
5710         (sysdep_routines): Likewise.
5711         (sysdep-rtld-routines): Likewise.
5712         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
5713         [$(subdir) = nptl](tests-static): test-get_hwcap-static
5714         * sysdeps/powerpc/Versions: Added new
5715         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
5716         * sysdeps/powerpc/hwcapinfo.c: New file.
5717         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
5718         and parse hwcap, hwcap2 and platform number information.
5719         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
5720         to store HWCAP+HWCAP2 and platform number.
5721         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
5722         for HWCAP+HWCAP2 and platform number in the TCB.
5723         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
5724         the HWCAP, HWCAP2 and platform number in the TCB.
5725         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
5726         (TLS_INIT_TP): Included calls to add the hwcap and
5727         at_platform values in the TCB in TP initialization.
5728         (TLS_DEFINE_INIT_TP): Likewise.
5729         (THREAD_GET_HWCAP): New macro.
5730         (THREAD_SET_HWCAP): Likewise.
5731         (THREAD_GET_AT_PLATFORM): Likewise.
5732         (THREAD_SET_AT_PLATFORM): Likewise.
5733         * sysdeps/powerpc/powerpc32/dl-machine.h:
5734         (dl_platform_init): New function that calls
5735         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
5736         powerpc32.
5737         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
5738         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
5739         this functionality, static linking case.
5740         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
5741         linking case.
5742         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
5743         __parse_hwcap_and_convert_at_platform for the static linking case.
5744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
5745         Included the new __parse_hwcap_and_convert_at_platform symbol in the
5746         ABI list for GLIBC 2.23.
5747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
5748         Likewise.
5749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
5750         Likewise.
5752 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
5754         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
5755         * configure: Regenerate.
5756         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
5757         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
5759 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
5761         * iconvdata/ibm930.c: Add comment explaining encoding uses.
5762         * iconvdata/ibm933.c: Likewise.
5763         * iconvdata/ibm935.c: Likewise.
5764         * iconvdata/ibm937.c: Likewise.
5765         * iconvdata/ibm939.c: Likewise.
5767 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5769         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
5770         pthread_join.
5771         * nptl/tst-cancel21.c (tf): Likewise.
5773 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
5775         [BZ #19313]
5776         * bits/typesizes.h (__CPU_MASK_TYPE): New.
5777         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
5778         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
5779         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
5780         Likewise.
5781         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
5782         Likewise.
5783         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
5784         Likewise.
5785         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
5786         Likewise.
5787         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
5788         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
5789         unsigned long int with __CPU_MASK_TYPE.
5791 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5793         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5795 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
5797         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
5798         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
5799         t512.x.
5800         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
5802 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
5804         [BZ #19214]
5805         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
5806         argument to return extended model.  Update family and model
5807         with extended family and model when family == 0x0f.
5808         (init_cpu_features): Updated.
5810 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5812         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
5813         signed off_t, so 32bit bigger than 2GiB values are fine actually.
5815         * sysdeps/mach/hurd/mmap64.c: New file.
5817 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
5819         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
5820         rights for its main user thread in NEWTASK.
5822 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
5824         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
5825         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
5827 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
5829         [BZ #14259]
5830         * Makeconfig: Rename localedir to complocaledir.
5831         Rename inst_localedir to inst_complocaledir.
5832         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
5833         * config.make.in: Use complocaledir and libc_cv_complocaledir.
5834         * configure.ac: Use libc_cv_complocaledir.
5835         * configure: Regenerate.
5836         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
5837         -DCOMPLOCALEDIR.
5838         * locale/findlocale.c: Use COMPLOCALEDIR.
5839         * locale/loadarchive.c: Likewise.
5840         * locale/programs/locale.c: Likewise.
5841         * locale/programs/localedef.c: Likewise.
5842         * locale/programs/locarchive.c: Likewise.
5843         * localedata/Makefile: Use inst_complocaledir.
5844         * sysdeps/gnu/configure: Regenerate.
5845         * sysdeps/hppa/configure: Regenerate.
5846         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
5847         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5849         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
5850         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
5851         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
5852         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
5854 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
5856         [BZ #19058]
5857         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
5858         AS_NEEDED.
5859         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
5860         workaround.
5861         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
5862         libmvec-static-only-routines): Added new file.
5863         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
5865 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5867         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
5868         of interrupted RPC instead of restoring it.
5870         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
5871         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
5872         libc_hidden_def.
5873         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
5874         into initialized data instead of common. Define rtld_hidden_data_def.
5875         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
5876         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
5877         libc_hidden_def.
5878         (if_freenameindex): Add libc_hidden_weak.
5879         (if_nameindex): Add libc_hidden_weak.
5880         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
5881         __open64.
5882         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
5883         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
5884         * sysdeps/mach/nanosleep.c: Include <time.h>
5885         (__nanosleep): Rename to __libc_nanosleep.
5886         (__nanosleep): Add weak_alias.
5887         (nanosleep): Update alias.
5889 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
5891         * stdlib/strtod_nan.c: New file.
5892         * stdlib/strtod_nan_double.h: Likewise.
5893         * stdlib/strtod_nan_float.h: Likewise.
5894         * stdlib/strtod_nan_main.c: Likewise.
5895         * stdlib/strtod_nan_narrow.h: Likewise.
5896         * stdlib/strtod_nan_wide.h: Likewise.
5897         * stdlib/strtof_nan.c: Likewise.
5898         * stdlib/strtold_nan.c: Likewise.
5899         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
5900         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
5901         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
5902         * wcsmbs/wcstod_nan.c: Likewise.
5903         * wcsmbs/wcstof_nan.c: Likewise.
5904         * wcsmbs/wcstold_nan.c: Likewise.
5905         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
5906         strtold_nan.
5907         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
5908         wcstof_nan.
5909         * include/stdlib.h (__strtof_nan): Declare and use
5910         libc_hidden_proto.
5911         (__strtod_nan): Likewise.
5912         (__strtold_nan): Likewise.
5913         (__wcstof_nan): Likewise.
5914         (__wcstod_nan): Likewise.
5915         (__wcstold_nan): Likewise.
5916         * include/wchar.h (____wcstoull_l_internal): Declare.
5917         * stdlib/strtod_l.c: Do not include <ieee754.h>.
5918         (____strtoull_l_internal): Remove declaration.
5919         (STRTOF_NAN): Define macro.
5920         (SET_MANTISSA): Remove macro.
5921         (STRTOULL): Likewise.
5922         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
5923         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
5924         (STRTOF_NAN): Define macro.
5925         (SET_MANTISSA): Remove macro.
5926         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
5927         (SET_MANTISSA): Remove macro.
5928         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
5929         macro.
5930         (SET_MANTISSA): Remove macro.
5931         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
5932         macro.
5933         (SET_MANTISSA): Remove macro.
5934         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
5935         (SET_MANTISSA): Remove macro.
5936         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
5937         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
5938         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
5940         [BZ #19266]
5941         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
5942         upper case and lower case letters inside NAN(), not using TOLOWER.
5943         * stdlib/tst-strtod-nan-locale-main.c: New file.
5944         * stdlib/tst-strtod-nan-locale.c: Likewise.
5945         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
5946         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
5947         Depend on $(gen-locales).
5948         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
5949         * wcsmbs/tst-wcstod-nan-locale.c: New file.
5950         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
5951         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
5952         Depend on $(gen-locales).
5953         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
5955 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
5957         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
5959         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
5960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
5961         __finitel, __isinfl, and __isnanl.
5962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5963         Likewise.
5964         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
5966         __finitel.
5967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5968         Likewise.
5969         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5971 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
5973         * malloc/memusage.c (me): Remove redundant getenv call.
5975 2015-10-24  Florian Weimer  <fweimer@redhat.com>
5977         [BZ #19143]
5978         [BZ #19164]
5979         * nptl/check-cpuset.h: Remove.
5980         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
5981         Remove CPU set size check.
5982         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
5983         Likewise.
5984         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
5985         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5986         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
5987         (__pthread_setaffinity_new): Remove CPU set size check.
5988         * sysdeps/unix/sysv/linux/sched_setaffinity.c
5989         (__kernel_cpumask_size): Remove.
5990         (__sched_setaffinity_new): Remove CPU set size check.
5991         * manual/threads.texi (Default Thread Attributes): Remove stale
5992         reference to check_cpuset_attr, determine_cpumask_size in comment.
5993         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
5994         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
5995         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
5996         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
5997         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
5998         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
5999         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
6000         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
6001         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
6002         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
6003         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
6004         skeleton test file.
6005         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
6006         tst-affinity-pid.
6008 2015-11-24  Florian Weimer  <fweimer@redhat.com>
6010         * scripts/update-abilist.sh: New file.
6011         * Makefile (+subdir_targets): Add subdir_update-all-abi.
6012         * Makerules (update-all-abi-%, update-all-abi)
6013         (subdir_update-all-abi): New targets.
6014         * elf/Makefile (update-all-abi): New target.
6016 2015-11-24  Florian Weimer  <fweimer@redhat.com>
6018         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
6019         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
6020         (__libc_lock_define_initialized): Use it.
6021         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
6022         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
6023         * malloc/malloc.c (main_arena): Likewise.
6024         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
6025         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
6027 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
6029         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
6030         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
6031         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6032         (PTRACE_O_MASK): Update value.
6033         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
6034         New value in enum __ptrace_setoptions.
6035         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6036         (PTRACE_O_MASK): Update value.
6037         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
6038         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6039         (PTRACE_O_MASK): Update value.
6040         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
6041         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6042         (PTRACE_O_MASK): Update value.
6043         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
6044         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6045         (PTRACE_O_MASK): Update value.
6046         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
6047         New value in enum __ptrace_setoptions.
6048         (PTRACE_O_MASK): Update value.
6049         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
6050         New value in enum __ptrace_setoptions.
6051         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6052         (PTRACE_O_MASK): Update value.
6054         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
6055         New macro.
6056         (PACKET_AUXDATA): Likewise.
6057         (PACKET_ORIGDEV): Likewise.
6058         (PACKET_VERSION): Likewise.
6059         (PACKET_HDRLEN): Likewise.
6060         (PACKET_RESERVE): Likewise.
6061         (PACKET_TX_RING): Likewise.
6062         (PACKET_LOSS): Likewise.
6063         (PACKET_VNET_HDR): Likewise.
6064         (PACKET_TX_TIMESTAMP): Likewise.
6065         (PACKET_TIMESTAMP): Likewise.
6066         (PACKET_FANOUT): Likewise.
6067         (PACKET_TX_HAS_OFF): Likewise.
6068         (PACKET_QDISC_BYPASS): Likewise.
6069         (PACKET_ROLLOVER_STATS): Likewise.
6070         (PACKET_FANOUT_DATA): Likewise.
6071         (PACKET_MR_UNICAST): Likewise.
6073         [BZ #19242]
6074         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
6075         (TOUPPER): Likewise.
6076         * stdlib/tst-strtol-locale-main.c: New file.
6077         * stdlib/tst-strtol-locale.c: Likewise.
6078         * stdlib/Makefile (tests): Add tst-strtol-locale.
6079         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
6080         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
6081         Depend on $(gen-locales).
6082         * wcsmbs/tst-wcstol-locale.c: New file.
6083         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
6084         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
6085         tr_TR.ISO-8859-9.
6086         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
6087         Depend on $(gen-locales).
6089 2015-11-20  Roland McGrath  <roland@hack.frob.com>
6091         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
6092         __glibc_likely instead of __builtin_expect.  After falling back to
6093         dyncode_create in a non-ET_DYN case, use the allocate_code_data
6094         system interface to register the code pages as occupied.
6096 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
6098         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6099         [!ARM_MATH_PRIVATE_H].
6100         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
6101         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6102         [!HPPA_MATH_PRIVATE_H].
6103         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
6104         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
6105         to [!I386_MATH_PRIVATE_H].
6106         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
6107         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
6108         Change guard to [!M68K_MATH_PRIVATE_H].
6109         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
6110         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
6111         guard to [!MICROBLAZE_MATH_PRIVATE_H].
6112         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
6113         macro.
6114         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6115         [!MIPS_MATH_PRIVATE_H].
6116         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
6117         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6118         [!NIO2_MATH_PRIVATE_H].
6119         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
6120         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6121         [!TILE_MATH_PRIVATE_H].
6122         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
6124         [BZ #15421]
6125         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
6126         initialize with 0 and define as weak alias of __signgam.
6127         * include/math.h [!_ISOMAC] (__signgam): Declare.
6128         * math/Makefile (libm-calls): Add w_lgamma_compat.
6129         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
6130         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
6131         test-signgam-ullong-init.
6132         (tests-static): Add test-signgam-uchar-static,
6133         test-signgam-uchar-init-static, test-signgam-uint-static,
6134         test-signgam-uint-init-static, test-signgam-ullong-static and
6135         test-signgam-ullong-init-static.
6136         (CFLAGS-test-signgam-uchar.c): New variable.
6137         (CFLAGS-test-signgam-uchar-init.c): Likewise.
6138         (CFLAGS-test-signgam-uchar-static.c): Likewise.
6139         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
6140         (CFLAGS-test-signgam-uint.c): Likewise.
6141         (CFLAGS-test-signgam-uint-init.c): Likewise.
6142         (CFLAGS-test-signgam-uint-static.c): Likewise.
6143         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
6144         (CFLAGS-test-signgam-ullong.c): Likewise.
6145         (CFLAGS-test-signgam-ullong-init.c): Likewise.
6146         (CFLAGS-test-signgam-ullong-static.c): Likewise.
6147         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
6148         * math/Versions (libm): Add GLIBC_2.23.
6149         * math/lgamma-compat.h: New file.
6150         * math/test-signgam-main.c: Likewise.
6151         * math/test-signgam-uchar-init-static.c: Likewise.
6152         * math/test-signgam-uchar-init.c: Likewise.
6153         * math/test-signgam-uchar-static.c: Likewise.
6154         * math/test-signgam-uchar.c: Likewise.
6155         * math/test-signgam-uint-init-static.c: Likewise.
6156         * math/test-signgam-uint-init.c: Likewise.
6157         * math/test-signgam-uint-static.c: Likewise.
6158         * math/test-signgam-uint.c: Likewise.
6159         * math/test-signgam-ullong-init-static.c: Likewise.
6160         * math/test-signgam-ullong-init.c: Likewise.
6161         * math/test-signgam-ullong-static.c: Likewise.
6162         * math/test-signgam-ullong.c: Likewise.
6163         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
6164         wrapper of w_lgamma_main.c.
6165         * math/w_lgamma_compat.c: New file.
6166         * math/w_lgamma_compatf.c: Likewise.
6167         * math/w_lgamma_compatl.c: Likewise.
6168         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
6169         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6170         defining compatibility symbols.
6171         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
6172         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
6173         wrapper of w_lgammaf_main.c.
6174         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
6175         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6176         defining compatibility symbols.
6177         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
6178         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
6179         wrapper of w_lgammal_main.c.
6180         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
6181         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6182         defining compatibility symbols.
6183         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
6184         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
6185         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
6186         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
6187         <lgamma-compat.h>.
6188         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
6189         (__ieee754_gamma): Define as alias.
6190         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
6191         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
6192         <lgamma-compat.h>.
6193         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
6194         (__ieee754_gammaf): Define as alias.
6195         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
6196         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
6197         <lgamma-compat.h>.
6198         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
6199         (__ieee754_gammal): Define as alias.
6200         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
6201         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
6202         <math/w_lgamma_compat.c>.
6203         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
6204         Define as alias of __lgamma_compat and use in defining lgammal.
6205         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
6206         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
6207         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
6208         (USE_AS_COMPAT): New macro.
6209         (LGAMMA_OLD_VER): Undefine and redefine.
6210         (lgammal): Do not define here.
6211         (gammal): Only define here if [GAMMA_ALIAS].
6212         * conform/linknamespace.pl (@whitelist): Remove signgam.
6213         * sysdeps/nacl/libm.abilist: Update.
6214         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6215         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6216         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6217         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6218         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6219         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6220         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6221         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6222         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6223         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6224         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6225         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6227         Likewise.
6228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6229         Likewise.
6230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6231         Likewise.
6232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6233         Likewise.
6234         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6235         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6236         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6237         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6238         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6240         Likewise.
6241         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6242         Likewise.
6243         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6244         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6245         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6247 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6249         [BZ #16364]
6250         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
6251         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
6253 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6255         * sysdeps/s390/fpu/bits/mathinline.h:
6256         Use __asm__ [__volatile__] instead of asm [volatile].
6257         * sysdeps/s390/abort-instr.h: Likewise.
6258         * sysdeps/s390/atomic-machine.h: Likewise.
6259         * sysdeps/s390/bits/string.h: Likewise.
6260         * sysdeps/s390/dl-tls.h: Likewise.
6261         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6262         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6263         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6264         * sysdeps/s390/fpu/fesetround.c: Likewise.
6265         * sysdeps/s390/fpu/fpu_control.h: Likewise.
6266         * sysdeps/s390/fpu/s_fma.c: Likewise.
6267         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
6268         * sysdeps/s390/memusage.h: Likewise.
6269         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
6270         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
6271         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
6272         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
6273         * sysdeps/s390/nptl/tls.h: Likewise.
6274         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
6275         * sysdeps/s390/s390-32/backtrace.c: Likewise.
6276         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6277         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
6278         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6279         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6280         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
6281         * sysdeps/s390/s390-64/backtrace.c: Likewise.
6282         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6283         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
6284         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
6285         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6286         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6287         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
6288         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
6289         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
6290         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
6291         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6292         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
6293         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6294         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
6295         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6296         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
6298 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6299             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6301         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
6302         Add lwarx hint, and use macro for acquire instruction.
6303         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
6304         Likewise.
6305         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
6306         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
6307         update to use new atomic macros.
6309 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6311         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
6312         (__lll_trylock_elision): Fix setting of adapt_count.
6313         * sysdeps/unix/sysv/linux/powerpc/htm.h
6314         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
6315         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
6316         (_ABORT_SYSCALL): Renumber, and clarify definition.
6317         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
6319 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6321         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
6322         after system headers to prevent MIN/MAX redefinition.  Define
6323         HAVE_ALLOCA to preserve builtin alloca usage.
6325 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
6327         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
6328         static and don't set or restore rounding.
6329         (__cos)[IN_SINCOS]: Likewise.
6330         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
6331         (__sincos): Set and restore rounding mode.  Remove check for infinite
6332         or NaN input.
6334         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
6336         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
6337         as used.
6339 2015-11-16  Florian Weimer  <fweimer@redhat.com>
6341         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
6343 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
6345         * config.make.in (have-glob-dat-reloc): New.
6346         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
6347         target supports GLOB_DAT relocaton. AC_SUBST.
6348         * configure: Regenerated.
6349         * elf/Makefile (tests): Add tst-prelink.
6350         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
6351         (tst-prelink-ENV): New.
6352         ($(objpfx)tst-prelink-conflict.out): Likewise.
6353         ($(objpfx)tst-prelink-cmp.out): Likewise.
6354         * sysdeps/x86/tst-prelink.c: Moved to ...
6355         * elf/tst-prelink.c: Here.
6356         * sysdeps/x86/tst-prelink.exp: Moved to ...
6357         * elf/tst-prelink.exp: Here.
6358         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
6359         (tst-prelink-ENV): Removed.
6360         ($(objpfx)tst-prelink-conflict.out): Likewise.
6361         ($(objpfx)tst-prelink-cmp.out): Likewise.
6362         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
6364 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
6366         [BZ #14551]
6367         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
6368         (__mpn_construct_long_double): If high part overflows to infinity,
6369         set errno and recompute overflowed result of the correct sign.
6370         * sysdeps/ieee754/ldbl-128ibm/Makefile
6371         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
6372         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
6373         $(libm).
6374         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
6376 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
6378         [BZ #15479]
6379         [BZ #19238]
6380         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
6381         floating-point state after first operation on input.  Restore full
6382         state rather than just rounding mode.
6383         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
6384         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
6385         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
6387         [BZ #19235]
6388         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
6389         add 0.5 to integer arguments.
6390         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
6391         Likewise.
6392         (.LC2): New object.
6394 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
6396         * scripts/pylintrc (reports): Set to no.
6398 2015-11-10  Roland McGrath  <roland@hack.frob.com>
6400         * elf/dl-load.c (open_verify): Take new argument FD.
6401         Skip __open call if passed FD is not -1.
6402         (_dl_map_object, open_path): Update callers.
6403         * elf/dl-sysdep-open.h: New file.
6404         * elf/dl-load.c: Include it.
6405         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
6406         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
6407         * sysdeps/nacl/dl-sysdep-open.h: New file.
6408         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
6409         from libc to rtld.
6411 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
6413         [BZ #19228]
6414         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
6415         and restore full floating-point state.
6416         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6417         Likewise.
6418         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
6419         Likewise.
6420         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
6421         Likewise.
6422         * math/test-nearbyint-except-2.c: New file.
6423         * math/Makefile (tests): Add test-nearbyint-except-2.
6425 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
6427         [BZ #19178]
6428         * sysdeps/x86/Makefile (tests): Add tst-prelink.
6429         (tst-prelink-ENV): New.
6430         ($(objpfx)tst-prelink-conflict.out): Likewise.
6431         ($(objpfx)tst-prelink-cmp.out): Likewise.
6432         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
6433         * sysdeps/x86/tst-prelink.c: New file.
6434         * sysdeps/x86/tst-prelink.exp: Likewise.
6436 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
6438         * math/auto-libm-test-in: Add another test of pow.
6439         * math/auto-libm-test-out: Regenerated.
6440         * math/libm-test.inc (pow_test_data): Add another test.
6442 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6444         [BZ #19219]
6445         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
6446         weak_alias to nearbyintl.
6448 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
6450         * sysdeps/aarch64/bits/string.h: New file.
6451         (_STRING_ARCH_unaligned): Define.
6453 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
6455         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
6456         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6457         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6458         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
6459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
6461 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
6463         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
6464         for original name of the DSO.  Add it to the name list of the DSO
6465         if it is actually given.
6466         (_dl_map_object): Keep track of whether an audit module rewrote
6467         the file name.  If yes, pass the original name to
6468         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
6469         debugging is enabled, log the change of the file name.
6470         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
6471         _dl_map_object_from_fd.
6472         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
6473         * elf/tst-audit11.c: New file
6474         * elf/tst-auditmod11.c: New file.
6475         * elf/tst-audit11mod1.c: New file.
6476         * elf/tst-audit11mod2.c: New file.
6477         * elf/tst-audit11mod2.map: New file.
6478         * elf/tst-audit12.c: New file
6479         * elf/tst-auditmod12.c: New file.
6480         * elf/tst-audit12mod1.c: New file.
6481         * elf/tst-audit12mod2.c: New file.
6482         * elf/tst-audit12mod2.map: New file.
6483         * elf/tst-audit12mod3.c: New file.
6485 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6487         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
6488         Don't create weak aliases,
6489         because versioned symbols are created later.
6490         * sysdeps/s390/s390-32/setjmp.S
6491         (setjmp, _setjmp): Remove weak and rename to an unique name
6492         in SHARED case due to existing versioned symbols.
6493         * sysdeps/s390/s390-64/setjmp.S: Likewise.
6494         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
6495         (getcontext): Create weak alias only in non SHARED case.
6496         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6498 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6500         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
6501         (__ASSUME_*_SYSCALL) Define new macros.
6502         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
6503         Remove socketcall syscalls.
6504         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
6505         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
6506         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
6507         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
6508         * sysdeps/unix/sysv/linux/send.c (__libc_send):
6509         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
6511 2015-11-09  Florian Weimer  <fweimer@redhat.com>
6513         [BZ #12926]
6514         Terminate process on invalid netlink response.
6515         * sysdeps/unix/sysv/linux/netlinkaccess.h
6516         (__netlink_assert_response): Declare.
6517         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
6518         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
6519         (sysdep_routines): Add netlink_assert_response.
6520         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
6521         __netlink_assert_response.
6522         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
6523         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
6524         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
6525         __netlink_assert_response.
6527 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
6529         [BZ #19178]
6530         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
6531         (RTYPE_CLASS_PLT): Likewise.
6532         (RTYPE_CLASS_COPY): Likewise.
6533         (RTYPE_CLASS_TLS): Likewise.
6534         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
6535         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
6536         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
6537         DL_DEBUG_PRELINK.
6539 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
6541         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
6542         calls with argument -0.5.
6543         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
6545         * configure.ac (libc_cv_z_nodelete): Remove configure test.
6546         (libc_cv_z_nodlopen): Likewise.
6547         (libc_cv_z_initfirst): Likewise.
6548         * configure: Regenerated.
6550 2015-11-06  Florian Weimer  <fweimer@redhat.com>
6552         Simplify abilist format to be line-based.
6553         * scripts/abilist.awk: Collect descriptors in the descs variable.
6554         (emit): Write descs variable and sort it
6555         externally, with sort.
6556         * sysdeps/**/*.abilist: Convert to new format.
6558 2015-11-06  Mark Wielaard  <mjw@redhat.com>
6560         [BZ #11460]
6561         * io/Makefile (routines): Add fts64.
6562         (tests): Add tst-fts and tst-fts-lfs.
6563         (CFLAGS-fts64.c): New.
6564         * io/Versions (GLIBC_2.23): New.
6565         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
6566         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
6567         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
6568         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
6569         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
6570         (FTSENT64): Likewise.
6571         (fts64_children): Likewise.
6572         (fts64_close): Likewise.
6573         (fts64_open): Likewise.
6574         (fts64_read): Likewise.
6575         (fts64_set): Likewise.
6576         * io/fts64.c: New file.
6577         * io/tst-fts.c: New test.
6578         * io/tst-fts-lfs.c: Likewise.
6579         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
6580         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
6581         fts64_set.
6582         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6583         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6584         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6585         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6586         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6587         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6588         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6589         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6590         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6591         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6592         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6593         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6594         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6596         Likewise.
6597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6598         Likewise.
6599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6601         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6602         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6603         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6604         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6605         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6608         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6609         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6610         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6611         * sysdeps/wordsize-64/fts.c: New file.
6612         * sysdeps/wordsize-64/fts64.c: Likewise.
6613         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
6614         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
6615         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
6616         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
6618 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
6620         * math/libm-test.inc (NON_FINITE): New macro.
6621         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
6622         * math/gen-libm-test.pl (show_exceptions): Add argument
6623         $non_finite.
6624         (parse_args): Update call to show_exceptions.
6625         * math/test-math-finite.h: New file.
6626         * math/test-math-no-finite.h: Likewise.
6627         * math/test-double-finite.c: Likewise.
6628         * math/test-float-finite.c: Likewise.
6629         * math/test-ldouble-finite.c: Likewise.
6630         * math/test-double.c: Include "test-math-no-finite.h".
6631         * math/test-float.c: Include "test-math-no-finite.h".
6632         * math/test-ldouble.c: Include "test-math-no-finite.h".
6633         * math/test-math-inline.h (TEST_FINITE): New macro.
6634         * math/test-math-vector.h (TEST_FINITE): Likewise.
6635         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
6636         (libm-tests): Add test-float-finite and test-double-finite.
6637         ($(objpfx)test-float-finite.o): New dependency on
6638         $(objpfx)libm-test.stmp.
6639         ($(objpfx)test-double-finite.o): Likewise.
6640         ($(objpfx)test-ldouble-finite.o): Likewise.
6641         (libm-test-no-inline-cflags): New variable.
6642         (libm-test-finite-cflags): Likewise.
6643         (CFLAGS-test-float-finite.c): Likewise.
6644         (CFLAGS-test-double-finite.c): Likewise.
6645         (CFLAGS-test-ldouble-finite.c): Likewise.
6646         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
6647         (CFLAGS-test-double.c): Likewise.
6648         (CFLAGS-test-ldouble.c): Likewise.
6650 2015-11-05  Roland McGrath  <roland@hack.frob.com>
6652         * io/fcntl.c (__fcntl): Add ... to prototype.
6653         * misc/ioctl.c (__ioctl): Likewise.
6654         * misc/syscall.c (syscall): Likewise.
6656 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
6658         * scripts/list-fixed-bugs.py: New file.
6660         [BZ #19213]
6661         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
6662         returned for argument 1.
6663         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
6664         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
6665         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
6666         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
6667         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
6668         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
6670         [BZ #19211]
6671         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
6672         __USE_XOPEN], not if [!__USE_ISOC99].
6673         (lgammaf): Likewise.
6674         (lgammal): Likewise.
6675         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
6676         (gammaf): Likewise.
6677         (gammal): Likewise.
6678         * math/test-signgam-finite-c11.c: New file.
6679         * math/test-signgam-finite-c99.c: Likewise.
6680         * math/test-signgam-finite.c: Likewise.
6681         * math/Makefile (tests): Add test-signgam-finite,
6682         test-signgam-finite-c99 and test-signgam-finite-c11.
6683         (CFLAGS-test-signgam-finite.c): New variable.
6684         (CFLAGS-test-signgam-finite-c99.c): Likewise.
6685         (CFLAGS-test-signgam-finite-c11.c): Likewise.
6687         [BZ #19212]
6688         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
6689         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
6690         500].
6691         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
6692         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
6693         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
6694         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
6695         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
6696         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
6697         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
6698         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
6699         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
6700         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
6702         [BZ #19209]
6703         * math/bits/math-finite.h (ldexp): Remove declaration.
6704         (ldexpf): Likewise.
6705         (ldexpl): Likewise.
6707         [BZ #19205]
6708         * math/bits/math-finite.h (acosf): Condition declaration on
6709         [__USE_ISOC99].
6710         (acosl): Likewise.
6711         (acoshf): Likewise.
6712         (acoshl): Likewise.
6713         (asinf): Likewise.
6714         (asinl): Likewise.
6715         (atan2f): Likewise.
6716         (atan2l): Likewise.
6717         (atanhf): Likewise.
6718         (atanhl): Likewise.
6719         (coshf): Likewise.
6720         (coshl): Likewise.
6721         (expf): Likewise.
6722         (expl): Likewise.
6723         (fmodf): Likewise.
6724         (fmodl): Likewise.
6725         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
6726         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
6727         (j0l): Likewise.
6728         (y0f): Likewise.
6729         (y0l): Likewise.
6730         (j1f): Likewise.
6731         (j1l): Likewise.
6732         (y1f): Likewise.
6733         (y1l): Likewise.
6734         (jnf): Likewise.
6735         (jnl): Likewise.
6736         (ynf): Likewise.
6737         (ynl): Likewise.
6738         (lgammaf_r): Condition declaration on [__USE_ISOC99].
6739         (lgammal_r): Likewise.
6740         (__lgamma_r_finite): New declaration.
6741         (__lgammaf_r_finite): Likewise.
6742         (__lgammal_r_finite): Likewise.
6743         (lgamma): Use __lgamma_r_finite.
6744         (lgammaf): Condition definition on [__USE_ISOC99].  Use
6745         __lgammaf_r_finite.
6746         (lgammal): Condition definition on [__USE_ISOC99].  Use
6747         __lgammal_r_finite.
6748         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
6749         __lgamma_r_finite.
6750         (gammaf): Condition definition on [__USE_ISOC99].  Use
6751         __lgammaf_r_finite.
6752         (gammal): Condition definition on [__USE_ISOC99].  Use
6753         __lgammal_r_finite.
6754         (logf): Condition declaration on [__USE_ISOC99].
6755         (logl): Likewise.
6756         (log10f): Likewise.
6757         (log10l): Likewise.
6758         (ldexpf): Likewise.
6759         (ldexpl): Likewise.
6760         (powf): Likewise.
6761         (powl): Likewise.
6762         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
6763         __USE_ISOC99].
6764         (remainderf): Condition declaration on [__USE_ISOC99].
6765         (remainderl): Likewise.
6766         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
6767         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
6768         (scalbl): Likewise.
6769         (sinhf): Condition declaration on [__USE_ISOC99].
6770         (sinhl): Likewise.
6771         (sqrtf): Likewise.
6772         (sqrtl): Likewise.
6774 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
6776         * sysdeps/arm/atomic-machine.h
6777         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
6778         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
6779         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
6780         Remove conditional code.
6781         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
6782         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
6783         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
6784         Change conditional to [__ASSEMBLER__].
6785         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
6786         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
6787         [!__ASSEMBLER__].
6788         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
6789         code.
6790         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
6791         conditional macro definitions.
6792         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
6793         (__arch_compare_and_exchange_val_16_acq): Likewise.
6794         (__arch_compare_and_exchange_val_32_acq): Likewise.
6795         (atomic_exchange_and_add): Likewise.
6796         (atomic_add): Likewise.
6797         (atomic_add_negative): Likewise.
6798         (atomic_add_zero): Likewise.
6799         (atomic_bit_set): Likewise.
6800         (atomic_bit_test_set): Likewise.
6801         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
6802         code unconditional.
6803         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6805         * math/test-math-errno.h: New file.
6806         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
6807         empty.
6808         (TEST_ERRNO): New macro.
6809         (TEST_EXCEPTIONS): Likewise.
6810         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
6811         (TEST_EXCEPTIONS): Likewise.
6812         * math/test-math-vector.h (TEST_ERRNO): Likewise.
6813         * math/test-double.c: Include "test-math-errno.h".
6814         * math/test-float.c: Likewise.
6815         * math/test-ldouble.c: Likewise.
6816         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
6817         code unconditional.
6818         (test_exceptions): Only run code if TEST_EXCEPTIONS.
6819         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
6820         unconditional.
6821         (test_errno): Only run code if TEST_ERRNO.
6822         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
6824 2015-11-04  Florian Weimer  <fweimer@redhat.com>
6826         * nptl/tst-once5.cc: Remove attribution.
6828 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
6830         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
6831         sqrt, tan, tanh, y0, y1 and yn.
6832         * math/auto-libm-test-out: Regenerated.
6833         * math/libm-test.inc (scalb_test_data): Add more tests.
6834         (scalbn_test_data): Likewise.
6835         (scalbln_test_data): Likewise.
6836         (signbit_test_data): Likewise.
6837         (sin_test_data): Likewise.
6838         (sincos_test_data): Likewise.
6839         (sinh_test_data): Likewise.
6840         (sqrt_test_data): Likewise.
6841         (tan_test_data): Likewise.
6842         (tanh_test_data): Likewise.
6843         (tgamma_test_data): Likewise.
6844         (y0_test_data): Likewise.
6845         (y1_test_data): Likewise.
6846         (yn_test_data): Likewise.
6847         (significand_test_data): Likewise.
6848         * sysdeps/i386/fpu/libm-test-ulps: Update.
6850 2015-11-03  David Kastrup  <dak@gnu.org>
6852         [BZ #18604]
6853         * assert/assert.h (assert): Don't macro-expand failed assertion
6854         expression in error message.
6855         * malloc/malloc.c (assert): Likewise.
6857 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
6859         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
6860         test.
6861         * configure: Regenerated.
6863 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
6865         * math/libm-test.inc (modf_test_data): Add more tests.
6866         (nearbyint_test_data): Likewise.
6867         (nextafter_test_data): Likewise.
6868         (nexttoward_test_data): Likewise.
6869         (pow_test_data): Likewise.
6870         (remainder_test_data): Likewise.
6871         (remquo_test_data): Likewise.
6872         (rint_test_data): Likewise.
6874         [BZ #19201]
6875         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6876         Check for zero remainder in case of large exponents and ensure
6877         correct sign of result in that case.
6878         * math/libm-test.inc (remainder_test_data): Add more tests.
6880         [BZ #6799]
6881         * math/s_nextafter.c: Include <errno.h>.
6882         (__nextafter): Set errno on overflow and underflow.
6883         * math/s_nexttowardf.c: Include <errno.h>.
6884         (__nexttowardf): Set errno on overflow and underflow.
6885         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
6886         (__nextafterl): Set errno on overflow and underflow.
6887         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
6888         (__nexttoward): Set errno on overflow and underflow.
6889         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
6890         (__nexttowardf): Set errno on overflow and underflow.
6891         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
6892         (__nextafterf): Set errno on overflow and underflow.
6893         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
6894         (__nextafterl): Set errno on overflow and underflow.
6895         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
6896         (__nexttoward): Set errno on overflow and underflow.
6897         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
6898         (__nexttowardf): Set errno on overflow and underflow.
6899         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
6900         (__nextafterl): Set errno on overflow and underflow.
6901         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
6902         (__nexttoward): Set errno on overflow and underflow.
6903         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
6904         (__nexttowardf): Set errno on overflow and underflow.
6905         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
6906         (__nexttoward): Set errno on overflow and underflow.
6907         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
6908         (__nexttowardf): Set errno on overflow and underflow.
6909         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
6910         (__nldbl_nexttowardf): Set errno on overflow and underflow.
6911         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
6912         (__nextafterl): Set errno on overflow and underflow.
6913         * math/libm-test.inc (nextafter_test_data): Do not allow errno
6914         setting to be missing on overflow.  Add more tests.
6915         (nexttoward_test_data): Likewise.
6917         * configure.ac (libc_cv_initfini_array): Remove configure test.
6918         * configure: Regenerated.
6920 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
6922         [BZ #19189]
6923         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
6924         non-finite argument handle arguments with negative sign.
6926         * math/libm-test.inc (j0_test_data): Do not test sign of zero
6927         result from infinite argument.
6928         (j1_test_data): Likewise.
6929         (jn_test_data): Likewise.
6930         (y0_test_data): Likewise.
6931         (y1_test_data): Likewise.
6932         (yn_test_data): Likewise.
6934         [BZ #16171]
6935         * math/w_remainder.c (drem): Define as weak alias of __remainder.
6936         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
6937         * math/w_remainderf.c (dremf): Define as weak alias of
6938         __remainderf.
6939         * math/w_remainderl.c (dreml): Define as weak alias of
6940         __remainderl.
6941         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
6942         __remainder.
6943         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
6944         __remainderf.
6945         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
6946         __remainderl.
6947         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
6948         weak alias of remainderl.
6949         * sysdeps/ieee754/ldbl-opt/w_remainder.c
6950         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
6951         alias of __remainder.
6952         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
6953         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
6954         strong alias of __remainderl.
6955         (dreml): Use long_double_symbol.
6956         * math/Makefile (libm-calls): Remove w_drem.
6957         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
6958         (CFLAGS-nldbl-drem.c): Remove variable.
6959         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
6960         * math/w_drem.c: Remove file.
6961         * math/w_dremf.c: Likewise.
6962         * math/w_dreml.c: Likewise.
6963         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
6964         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
6965         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
6967         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
6968         * sysdeps/i386/configure: Regenerated.
6969         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
6970         * sysdeps/x86_64/configure: Regenerated.
6972         * configure.ac (libc_cv_asm_protected_directive): Remove configure
6973         test.
6974         (libc_cv_visibility_attribute): Likewise.
6975         (libc_cv_protected_data): Test unconditionally.
6976         (libc_cv_broken_visibility_attribute): Remove configure test.
6977         (libc_cv_have_sdata_section): Test unconditionally.
6978         * configure: Regenerated.
6980         * include/libc-internal.h (libc_max_align_t): Remove typedef.
6981         * include/scratch_buffer.h: Include <stddef.h> instead of
6982         <libc-internal.h>.
6983         (struct scratch_buffer): Use max_align_t instead of
6984         libc_max_align_t.
6986 2015-10-29  Florian Weimer  <fweimer@redhat.com>
6988         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
6989         instead of extend_alloca.  Change control flow to avoid a goto.
6990         Remove assert which is trivially always true.
6992 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6994         [BZ #16068]
6995         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
6996         (FE_ALL_EXCEPT_X86): New macro.
6997         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
6998         FE_ALL_EXCEPT.  Ensure precision control is included in
6999         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
7000         handle "denormal operand exception" and clear FZ and DAZ bits.
7001         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
7002         (FE_ALL_EXCEPT_X86): New macro.
7003         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
7004         FE_ALL_EXCEPT.  Ensure precision control is included in
7005         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
7006         handle "denormal operand exception" and clear FZ and DAZ bits.
7007         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
7008         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
7009         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7010         test-fenv-x87 and test-fenv-sse-2.
7011         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
7013         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
7014         * math/test-double.h (BUILD_COMPLEX): New macro.
7015         * math/test-float.h (BUILD_COMPLEX): Likewise.
7016         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
7018         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
7019         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
7020         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
7021         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
7022         instead of DBL_DENORM_MIN in comment.
7023         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
7024         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
7025         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
7026         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
7027         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
7028         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
7030 2015-10-28  Florian Weimer  <fweimer@redhat.com>
7032         [BZ# 19048]
7033         * malloc/malloc.c (struct malloc_state): Update comment.  Add
7034         attached_threads member.
7035         (main_arena): Initialize attached_threads.
7036         * malloc/arena.c (list_lock): Update comment.
7037         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
7038         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
7039         (deattach_arena): New function.
7040         (_int_new_arena): Initialize arena reference count and deattach
7041         replaced arena.
7042         (get_free_list, reused_arena): Update reference count and deattach
7043         replaced arena.
7044         (arena_thread_freeres): Update arena reference count and only put
7045         unreferenced arenas on the free list.
7047 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7049         [BZ #19181]
7050         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
7051         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
7052         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
7053         * math/test-fenv-clear-main.c: New file.
7054         * math/test-fenv-clear.c: Likewise.
7055         * math/Makefile (tests): Add test-fenv-clear.
7056         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
7057         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7058         test-fenv-clear-sse.
7059         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
7061         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
7062         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
7063         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
7065 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7067         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
7068         static libc.
7070 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7072         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
7073         test.
7074         * sysdeps/i386/configure: Regenerated.
7075         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
7076         test.
7077         * sysdeps/x86_64/configure: Regenerated.
7078         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
7079         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7080         memset-avx2 unconditionally instead of conditionally on
7081         [$(config-cflags-avx2) = yes].
7082         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7083         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
7084         unconditional.
7085         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
7086         * sysdeps/x86_64/multiarch/memset_chk.S
7087         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
7088         to [IS_IN (libc) && SHARED].
7090 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7092         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
7093         configure test.
7094         * sysdeps/arm/configure: Regenerated.
7095         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
7096         Define variable if not already defined.
7098         [BZ #17404]
7099         * sysdeps/mips/atomic-machine.h
7100         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
7101         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
7102         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
7104         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
7105         unconditional.
7106         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
7107         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7108         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
7109         unconditional.
7110         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7111         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
7112         unconditional.
7113         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7114         * stdlib/setenv.c
7115         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
7116         code unconditional.
7117         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
7118         Remove conditional code.
7119         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
7120         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
7121         unconditional.
7122         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7123         code.
7124         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
7125         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
7126         unconditional.
7127         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7128         code.
7129         * sysdeps/ieee754/ldbl-128/k_tanl.c
7130         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7131         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7132         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
7133         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7134         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7135         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
7136         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
7137         unconditional.
7138         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7139         code.
7140         * sysdeps/ieee754/ldbl-96/k_tanl.c
7141         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7142         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7144         * nptl/tst-initializers1-c11.c: New file.
7145         * nptl/tst-initializers1-gnu11.c: Likewise.
7146         * nptl/Makefile (tests): Add these new tests.
7147         (CFLAGS-tst-initializers1-c11.c): New variable.
7148         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
7150         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
7151         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
7152         instead of -std=gnu99.
7153         * configure.ac (systemtap): Test with -std=gnu11 instead of
7154         -std=gnu99.
7155         * configure: Regenerated.
7156         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
7157         in compilation command in comment.
7159         * sysdeps/nptl/configure.ac: Remove file.
7160         * sysdeps/nptl/configure: Remove generated file.
7161         * configure.ac (libc_cv_forced_unwind): Do not substitute.
7162         * configure: Regenerated.
7163         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
7164         * config.make.in (have-forced-unwind): Remove variable.
7165         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
7166         unconditional.
7167         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
7168         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
7169         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
7170         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
7171         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
7172         unconditional.
7174 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7176         [BZ #19174]
7177         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
7178         .skip_lock_out_of_tbegin_retries.
7179         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7180         (__lll_lock_elision): Likewise, and respect a value of
7181         try_tbegin <= 0.
7183 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7185         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
7186         statement.
7188 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7190         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
7191         variable.
7192         (test-xfail-ISO11/stdalign.h/conform): Likewise.
7193         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7195         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
7196         of -std=c1x -D_ISOC11_SOURCE.
7198         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
7199         * configure: Regenerated.
7200         * manual/install.texi (Tools for Compilation): Document
7201         requirement for GCC 4.7 or later.
7202         * INSTALL: Regenerated.
7204 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
7206         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
7207         on CNT to a conditional jump to 'puntdata'.
7209 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7211         * configure.ac (libc_cv_gcc___thread): Remove configure test.
7212         (libc_cv_gcc_tls_model_attr): Likewise.
7213         * configure: Regenerated.
7215         * configure.ac (libc_cv_need_minus_P): Remove configure test.
7216         * configure: Regenerated.
7217         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
7219 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
7221         * configure.ac (old_glibc_headers): Remove configure test.
7222         * configure: Regenerated.
7223         * config.make.in (old-glibc-headers): Remove variable.
7224         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
7225         (install): Remove dependency on remove-old-headers.
7226         (headers2_0): Remove variable.
7227         (remove-old-headers): Remove rule.
7229         * configure.ac (libc_cv_dot_text): Remove configure test.
7230         (libc_cv_asm_set_directive): Use .text instead of
7231         ${libc_cv_dot_text} in configure test.
7232         * configure: Regenerated.
7234 2015-10-26  Florian Weimer  <fweimer@redhat.com>
7236         [BZ #19168]
7237         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7239 2015-10-26  Florian Weimer  <fweimer@redhat.com>
7241         * configure.ac (CXX): Clear the variable if the C++ toolchain does
7242         not support static linking.
7243         * configure: Regenerate.
7245 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
7247         * math/libm-test.inc (check_float_internal): Do not special-case
7248         errors up to 0.5 ulp.
7250         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7251         log2.
7252         * math/auto-libm-test-out: Regenerated.
7253         * math/libm-test.inc (MAX_EXP): New macro.
7254         (ilogb_test_data): Add more tests.
7255         (isfinite_test_data): Likewise.
7256         (isgreater_test_data): Likewise.
7257         (isgreaterequal_test_data): Likewise.
7258         (isinf_test_data): Likewise.
7259         (isless_test_data): Likewise.
7260         (islessequal_test_data): Likewise.
7261         (islessgreater_test_data): Likewise.
7262         (isnan_test_data): Likewise.
7263         (isnormal_test_data): Likewise.
7264         (issignaling_test_data): Likewise.
7265         (isunordered_test_data): Likewise.
7266         (j0_test_data): Likewise.
7267         (j1_test_data): Likewise.
7268         (jn_test_data): Likewise.
7269         (lgamma_test_data): Likewise.
7270         (log_test_data): Likewise.
7271         (log10_test_data): Likewise.
7272         (log1p_test_data): Likewise.
7273         (log2_test_data): Likewise.
7274         (logb_test_data): Likewise.
7275         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7277         [BZ #18611]
7278         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
7279         avoid excess range and precision on underflow.
7280         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7281         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
7282         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7283         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
7284         underflow.
7285         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7286         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7287         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7288         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7289         * math/auto-libm-test-in: Do not allow missing errno setting for
7290         tests of j1 and jn.
7291         * math/auto-libm-test-out: Regenerated.
7293 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
7295         [BZ #15491]
7296         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
7297         floating-point environment instead of clearing all exceptions.
7298         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
7299         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
7300         merging in "invalid" exceptions from frndint.
7301         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
7302         * math/test-nearbyint-except.c: New file.
7303         * math/Makefile (tests): Add test-nearbyint-except.
7305 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
7307         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
7309         * sysdeps/tile/libm-test-ulps: Regenerated.
7311 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
7314         (__NR_sync_file_range2): Assume it is always defined.
7315         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
7316         (__NR_sync_file_range): Assume it is always defined.
7318 2015-10-22  Andreas Schwab  <schwab@suse.de>
7320         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
7321         INTERNAL_SYSCALL_ERRNO.
7322         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7323         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
7324         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7325         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
7326         Likewise.
7327         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7329 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7331         * io/tst-fcntl.c (fd): New static variable.
7332         (do_prepare): Open temporary file here....
7333         (do_test): ...not here.
7335         * io/ftwtest-sh: Also trap on exit to remove temporary files.
7337 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
7339         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
7340         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
7341         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
7342         Moved before "#ifdef __ASSEMBLER__".
7344 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7346         [BZ #19156]
7347         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
7348         arguments very close to 0.
7350 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
7352         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
7353         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
7355 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
7357         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
7358         New.  Defined for GCC 5 and above when not compiling for
7359         profiling.
7360         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
7362         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
7363         Renamed to ...
7364         (CFLAGS-epoll_pwait.o): This.
7365         (CFLAGS-mmap.c): Renamed to ...
7366         (CFLAGS-mmap.o): This.
7367         (CFLAGS-mmap64.c): Renamed to ...
7368         (CFLAGS-mmap64.o): This.
7369         (CFLAGS-epoll_pwait.os): New.
7370         (CFLAGS-mmap.os): Likewise.
7371         (CFLAGS-mmap64.os): Likewise.
7372         (CFLAGS-semtimedop.os): Likewise.
7373         (CFLAGS-semtimedop.c): Renamed to ...
7374         (CFLAGS-semtimedop.o): This.
7376 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7378         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
7379         warning message.
7381 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7383         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
7384         * Makefile ($(objpfx)c++-types-check.out): Filter out
7385         $(+gccwarn-c) instead of -Wstrict-prototypes.
7387         * io/fts.c (fts_open): Convert to prototype-style function
7388         definition.
7389         * malloc/mcheck.c (mcheck): Likewise.
7390         (mcheck_pedantic): Likewise.
7391         * posix/regexec.c (re_search_2_stub): Likewise.  Use
7392         internal_function.
7393         (re_search_internal): Likewise.
7394         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
7395         prototype-style function definition.
7396         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7397         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7398         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
7399         (xdr_utmpptr): Likewise.
7400         (xdr_utmparr): Likewise.
7401         (xdr_utmpidle): Likewise.
7402         (xdr_utmpidleptr): Likewise.
7403         (xdr_utmpidlearr): Likewise.
7405         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
7406         log, log10 and log2.
7407         * math/auto-libm-test-out: Regenerated.
7408         * math/libm-test.inc (fmod_test_data): Add more tests.
7409         (fpclassify_test_data): Likewise.
7410         (frexp_test_data): Likewise.
7411         (hypot_test_data): Likewise.
7412         (ilogb_test_data): Likewise.
7414 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
7416         * debug/fortify_fail.c (__fortify_fail): Convert to
7417         prototype-style function definition.  Use internal_function.
7418         * libio/genops.c (save_for_backup): Convert to prototype-style
7419         function definition.
7420         * libio/wgenops.c (save_for_wbackup): Likewise.
7421         * login/grantpt.c (grantpt): Likewise.
7422         * login/ptsname.c (ptsname): Likewise.
7423         (__ptsname_r): Likewise.
7424         * login/unlockpt.c (unlockpt): Likewise.
7425         * mach/msgserver.c (__mach_msg_server): Likewise.
7426         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
7427         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
7428         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
7429         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
7430         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
7431         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
7432         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
7433         Likewise.
7434         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
7435         internal_function.
7436         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
7437         prototype-style function definition.
7438         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
7439         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
7440         (__pthread_create_2_0): Likewise.
7441         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
7442         * nptl/register-atfork.c (__register_atfork): Likewise.
7443         * posix/glob.c (glob): Likewise.
7444         * posix/regcomp.c (re_comp): Likewise.
7445         * posix/regexec.c (re_exec): Likewise.
7446         * stdlib/add_n.c [__STDC__]: Make code unconditional.
7447         [!__STDC__]: Remove conditional code.
7448         * stdlib/cmp.c [__STDC__]: Make code unconditional.
7449         [!__STDC__]: Remove conditional code.
7450         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
7451         [!__STDC__]: Remove conditional code.
7452         * stdlib/divrem.c [__STDC__]: Make code unconditional.
7453         [!__STDC__]: Remove conditional code.
7454         * stdlib/lshift.c [__STDC__]: Make code unconditional.
7455         [!__STDC__]: Remove conditional code.
7456         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
7457         [!__STDC__]: Remove conditional code.
7458         * stdlib/mul.c [__STDC__]: Make code unconditional.
7459         [!__STDC__]: Remove conditional code.
7460         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
7461         [!__STDC__]: Remove conditional code.
7462         * stdlib/rshift.c [__STDC__]: Make code unconditional.
7463         [!__STDC__]: Remove conditional code.
7464         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
7465         function definition.
7466         (STRTOF): Likewise.
7467         * stdlib/strtod_l.c (__STRTOF): Likewise.
7468         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
7469         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
7470         (__strtol_l): Likewise.
7471         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
7472         [!__STDC__]: Remove conditional code.
7473         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
7474         definition.
7475         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
7476         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7477         type.
7478         (__strcasecmp): Convert to prototype-style function definition.
7479         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
7480         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7481         type.
7482         (__strncasecmp): Convert to prototype-style function definition.
7483         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
7484         * sunrpc/xdr.c (xdr_union): Likewise.
7485         * sunrpc/xdr_array.c (xdr_array): Likewise.
7486         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
7487         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
7488         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
7489         Likewise.
7490         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
7491         Likewise.
7492         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
7493         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7494         Likewise.
7495         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
7496         (LOCALE_PARAM_PROTO): Likewise.
7497         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
7498         argument type.
7499         (ut_argument_spec): Remove macro.
7500         (ut_argument_spec_iso): Rename to ut_argument_spec.
7501         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
7502         prototype-style function definition.
7503         (memcpy_uppcase): Likewise.
7504         (__strftime_internal): Likewise.
7505         (my_strftime): Likewise.
7506         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
7507         (LOCALE_PARAM_DECL): Likewise.
7508         [_LIBC] (LOCALE_PARAM): Include argument type.
7509         (__strptime_internal): Convert to prototype-style function
7510         definition.
7511         (strptime): Likewise.
7512         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
7513         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7514         type.
7515         (__wcscasecmp): Convert to prototype-style function definition.
7516         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
7517         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7518         type.
7519         (__wcsncasecmp): Convert to prototype-style function definition.
7521         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
7522         function definition.
7523         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7524         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7525         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
7526         * elf/dl-minimal.c (_itoa): Likewise.
7527         * hurd/hurdmalloc.c (malloc): Likewise.
7528         (free): Likewise.
7529         (realloc): Likewise.
7530         * inet/inet6_option.c (inet6_option_space): Likewise.
7531         (inet6_option_init): Likewise.
7532         (inet6_option_append): Likewise.
7533         (inet6_option_alloc): Likewise.
7534         (inet6_option_next): Likewise.
7535         (inet6_option_find): Likewise.
7536         * io/ftw.c (FTW_NAME): Likewise.
7537         (NFTW_NAME): Likewise.
7538         (NFTW_NEW_NAME): Likewise.
7539         (NFTW_OLD_NAME): Likewise.
7540         * libio/iofwide.c (_IO_fwide): Likewise.
7541         * libio/strops.c (_IO_str_init_static_internal): Likewise.
7542         (_IO_str_init_static): Likewise.
7543         (_IO_str_init_readonly): Likewise.
7544         (_IO_str_overflow): Likewise.
7545         (_IO_str_underflow): Likewise.
7546         (_IO_str_count): Likewise.
7547         (_IO_str_seekoff): Likewise.
7548         (_IO_str_pbackfail): Likewise.
7549         (_IO_str_finish): Likewise.
7550         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
7551         (_IO_wstr_overflow): Likewise.
7552         (_IO_wstr_underflow): Likewise.
7553         (_IO_wstr_count): Likewise.
7554         (_IO_wstr_seekoff): Likewise.
7555         (_IO_wstr_pbackfail): Likewise.
7556         (_IO_wstr_finish): Likewise.
7557         * locale/programs/localedef.c (normalize_codeset): Likewise.
7558         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7559         (add_locales_to_archive): Likewise.
7560         (delete_locales_from_archive): Likewise.
7561         * malloc/malloc.c (__libc_mallinfo): Likewise.
7562         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
7563         * misc/tsearch.c (__tfind): Likewise.
7564         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
7565         * nptl/pthread_attr_getdetachstate.c
7566         (__pthread_attr_getdetachstate): Likewise.
7567         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
7568         Likewise.
7569         * nptl/pthread_attr_getinheritsched.c
7570         (__pthread_attr_getinheritsched): Likewise.
7571         * nptl/pthread_attr_getschedparam.c
7572         (__pthread_attr_getschedparam): Likewise.
7573         * nptl/pthread_attr_getschedpolicy.c
7574         (__pthread_attr_getschedpolicy): Likewise.
7575         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
7576         Likewise.
7577         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
7578         Likewise.
7579         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
7580         Likewise.
7581         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
7582         Likewise.
7583         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
7584         (__pthread_attr_init_2_0): Likewise.
7585         * nptl/pthread_attr_setdetachstate.c
7586         (__pthread_attr_setdetachstate): Likewise.
7587         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
7588         Likewise.
7589         * nptl/pthread_attr_setinheritsched.c
7590         (__pthread_attr_setinheritsched): Likewise.
7591         * nptl/pthread_attr_setschedparam.c
7592         (__pthread_attr_setschedparam): Likewise.
7593         * nptl/pthread_attr_setschedpolicy.c
7594         (__pthread_attr_setschedpolicy): Likewise.
7595         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
7596         Likewise.
7597         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
7598         Likewise.
7599         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
7600         Likewise.
7601         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
7602         Likewise.
7603         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
7604         Likewise.
7605         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
7606         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
7607         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
7608         use internal_function.
7609         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
7610         prototype-style function definition.
7611         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
7612         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
7613         internal_function.
7614         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
7615         Convert to prototype-style function definition.
7616         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7617         Likewise.
7618         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
7619         Likewise.
7620         (__pthread_mutex_unlock): Likewise.
7621         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
7622         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
7623         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
7624         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
7625         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
7626         * nss/makedb.c (process_input): Likewise.
7627         * posix/fnmatch.c (__strchrnul): Likewise.
7628         (__wcschrnul): Likewise.
7629         (fnmatch): Likewise.
7630         * posix/fnmatch_loop.c (FCT): Likewise.
7631         * posix/glob.c (globfree): Likewise.
7632         (__glob_pattern_type): Likewise.
7633         (__glob_pattern_p): Likewise.
7634         * posix/regcomp.c (re_compile_pattern): Likewise.
7635         (re_set_syntax): Likewise.
7636         (re_compile_fastmap): Likewise.
7637         (regcomp): Likewise.
7638         (regerror): Likewise.
7639         (regfree): Likewise.
7640         * posix/regexec.c (regexec): Likewise.
7641         (re_match): Likewise.
7642         (re_search): Likewise.
7643         (re_match_2): Likewise.
7644         (re_search_2): Likewise.
7645         (re_search_stub): Likewise.  Use internal_function
7646         (re_copy_regs): Likewise.
7647         (re_set_registers): Convert to prototype-style function
7648         definition.
7649         (prune_impossible_nodes): Likewise.  Use internal_function.
7650         * resolv/inet_net_pton.c (inet_net_pton): Convert to
7651         prototype-style function definition.
7652         (inet_net_pton_ipv4): Likewise.
7653         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7654         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
7655         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
7656         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
7657         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7658         Make variadic.
7659         * time/strptime_l.c (localtime_r): Convert to prototype-style
7660         function definition.
7661         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7662         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7663         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7664         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7666         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
7667         definition.
7668         (_ufc_doit_r): Likewise.
7669         * crypt/crypt_util.c (_ufc_copymem): Likewise.
7670         (_ufc_output_conversion_r): Likewise.
7671         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
7672         * inet/rcmd.c (rcmd_af): Likewise.
7673         (rcmd): Likewise.
7674         (ruserok_af): Likewise.
7675         (ruserok): Likewise.
7676         (ruserok2_sa): Likewise.
7677         (ruserok_sa): Likewise.
7678         (iruserok_af): Likewise.
7679         (iruserok): Likewise.
7680         (__ivaliduser): Likewise.
7681         (__validuser2_sa): Likewise.
7682         * inet/rexec.c (rexec_af): Likewise.
7683         (rexec): Likewise.
7684         * inet/ruserpass.c (ruserpass): Likewise.
7685         * locale/programs/xmalloc.c (xcalloc): Likewise.
7686         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
7687         * math/w_drem.c (__drem): Likewise.
7688         * math/w_dremf.c (__dremf): Likewise.
7689         * math/w_dreml.c (__dreml): Likewise.
7690         * misc/daemon.c (daemon): Likewise.
7691         * resolv/res_debug.c (p_fqnname): Likewise.
7692         * stdlib/div.c (div): Likewise.
7693         * string/memcmp.c (memcmp_bytes): Likewise.
7694         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
7695         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
7697         * crypt/cert.c (main): Convert to prototype-style function
7698         definition.
7699         * io/pipe.c (__pipe): Likewise.
7700         * io/pipe2.c (__pipe2): Likewise.
7701         * misc/futimesat.c (futimesat): Likewise.
7702         * misc/utimes.c (__utimes): Likewise.
7703         * posix/execve.c (__execve): Likewise.
7704         * posix/execvp.c (execvp): Likewise.
7705         * posix/execvpe.c (__execvpe): Likewise.
7706         * posix/fexecve.c (fexecve): Likewise.
7707         * socket/socketpair.c (socketpair): Likewise.
7708         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7709         * stdlib/erand48.c (erand48): Likewise.
7710         * stdlib/erand48_r.c (__erand48_r): Likewise.
7711         * stdlib/jrand48.c (jrand48): Likewise.
7712         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
7713         * stdlib/lcong48.c (lcong48): Likewise.
7714         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
7715         * stdlib/nrand48.c (nrand48): Likewise.
7716         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
7717         * stdlib/seed48.c (seed48): Likewise.
7718         * stdlib/seed48_r.c (__seed48_r): Likewise.
7719         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
7720         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
7721         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
7723 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
7725         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
7726         * configure: Regenerated.
7727         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
7728         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
7729         unconditional.
7730         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7731         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7732         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7733         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
7734         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
7735         unconditional.
7736         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7738         * posix/Makefile (CFLAGS-regex.c): Remove variable.
7739         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
7741         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
7742         function definition.
7743         * crypt/crypt_util.c (__encrypt_r): Likewise.
7744         * libio/genops.c (_IO_no_init): Likewise.
7745         * libio/iofopncook.c (_IO_fopencookie): Likewise.
7746         (_IO_old_fopencookie): Likewise.
7747         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
7748         * libio/iogetline.c (_IO_getline): Likewise.
7749         (_IO_getline_info): Likewise.
7750         * libio/iogetwline.c (_IO_getwline): Likewise.
7751         (_IO_getwline_info): Likewise.
7752         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
7753         * libio/vswprintf.c (_IO_vswprintf): Likewise.
7754         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
7755         (find_entry): Likewise.
7756         (iterate_table): Likewise.
7757         (lookup): Likewise.
7758         * login/forkpty.c (forkpty): Likewise.
7759         * misc/hsearch_r.c (__hsearch_r): Likewise.
7760         * misc/select.c (__select): Likewise.
7761         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
7762         Likewise.
7763         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
7764         Likewise.
7765         * nptl/old_pthread_cond_timedwait.c
7766         (__pthread_cond_timedwait_2_0): Likewise.
7767         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
7768         * nptl/pthread_barrierattr_getpshared.c
7769         (pthread_barrierattr_getpshared): Likewise.
7770         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
7771         Likewise.
7772         * nptl/pthread_mutex_setprioceiling.c
7773         (pthread_mutex_setprioceiling): Likewise.
7774         * nptl/pthread_mutexattr_getprioceiling.c
7775         (pthread_mutexattr_getprioceiling): Likewise.
7776         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
7777         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7778         Likewise.
7779         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7780         Likewise.
7781         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
7782         Likewise.
7783         * socket/recvfrom.c (__recvfrom): Likewise.
7784         * socket/sendto.c (__sendto): Likewise.
7785         * socket/setsockopt.c (__setsockopt): Likewise.
7786         * stdio-common/_itoa.c (_itoa): Likewise.
7787         * stdio-common/_itowa.c (_itowa): Likewise.
7788         * stdio-common/reg-printf.c (__register_printf_specifier):
7789         Likewise.
7790         (__register_printf_function): Likewise.
7791         * stdio-common/tempname.c (__path_search): Likewise.
7792         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
7793         * stdlib/mul_1.c (mpn_mul_1): Likewise.
7794         * stdlib/random_r.c (__initstate_r): Likewise.
7795         * stdlib/setenv.c (__add_to_environ): Likewise.
7796         * stdlib/submul_1.c (mpn_submul_1): Likewise.
7797         * streams/getpmsg.c (getpmsg): Likewise.
7798         * streams/putmsg.c (putmsg): Likewise.
7799         * streams/putpmsg.c (putpmsg): Likewise.
7800         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
7801         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
7802         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
7803         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
7804         * sunrpc/pm_getport.c (pmap_getport): Likewise.
7805         * sunrpc/svc_udp.c (cache_get): Likewise.
7806         * sunrpc/xdr_array.c (xdr_vector): Likewise.
7807         * sysdeps/mach/hurd/getcwd.c
7808         (__canonicalize_directory_name_internal): Likewise.
7809         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
7810         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
7811         * sysdeps/mach/hurd/select.c (__select): Likewise.
7812         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
7813         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
7814         * sysdeps/sparc/nptl/pthread_barrier_init.c
7815         (__pthread_barrier_init): Likewise.
7816         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
7817         (__pthread_cond_timedwait): Likewise.
7818         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
7819         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
7820         Likewise.
7821         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
7822         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
7823         Likewise.
7824         * sysvipc/semtimedop.c (semtimedop): Likewise.
7825         * time/setitimer.c (__setitimer): Likewise.
7826         * time/strftime_l.c (emacs_strftime): Likewise.
7828 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7830         * config.make.in (have-ssp): Delete.
7831         (stack-protector): New variable.
7832         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
7833         cache test for -fstack-protector-strong.  Export stack_protector to
7834         the best ssp flag.
7835         * configure: Regenerated.
7836         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
7837         * nscd/Makefile (CFLAGS-nscd): Likewise.
7838         * resolv/Makefile (CFLAGS-libresolv): Likewise.
7840 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
7842         [BZ #19122]
7843         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
7844         attribute_hidden.
7846 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7848         [BZ #18743]
7849         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
7850         code to...
7851         (ELIDE_LOCK): ...here.
7852         (__get_new_count): New function with part of the code from
7853         __elide_lock that updates the value of adapt_count after a
7854         transaction abort.
7855         (__elided_trylock): Moved this code to...
7856         (ELIDE_TRYLOCK): ...here.
7858 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7860         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
7861         * configure: Regenerate.
7862         * INSTALL: Regenerate.
7863         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
7864         and tweak grammar.
7866 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
7868         * login/programs/pt_chown.c: Include signal.h
7869         (main): Clear any signal mask from the parent process.
7871 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
7873         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
7874         * configure: Regenerated.
7875         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
7876         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
7877         $(gnu89-inline-CFLAGS).
7879         * configure.ac (libc_cv_asm_weak_directive): Remove configure
7880         test.
7881         (libc_cv_asm_weakext_directive): Likewise.
7882         * configure: Regenerated.
7883         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
7884         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
7885         * include/libc-symbols.h
7886         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
7887         #error.
7888         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
7889         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
7891         * sysdeps/arm/backtrace.c (__backtrace): Convert to
7892         prototype-style function definition.
7893         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
7894         * sysdeps/i386/ffs.c (__ffs): Likewise.
7895         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7896         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
7897         Likewise.
7898         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7899         Likewise.
7900         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
7901         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7902         Likewise.
7903         * sysdeps/m68k/ffs.c (__ffs): Likewise.
7904         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
7905         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
7906         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
7907         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
7908         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
7909         * sysdeps/mach/hurd/access.c (__access): Likewise.
7910         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
7911         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
7912         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
7913         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
7914         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
7915         (cthread_getspecific): Likewise.
7916         (cthread_setspecific): Likewise.
7917         (__libc_getspecific): Likewise.
7918         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
7919         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
7920         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
7921         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
7922         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
7923         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
7924         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
7925         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
7926         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
7927         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
7928         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
7929         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
7930         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
7931         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
7932         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
7933         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
7934         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
7935         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
7936         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
7937         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
7938         * sysdeps/mach/hurd/link.c (__link): Likewise.
7939         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
7940         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
7941         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
7942         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
7943         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
7944         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
7945         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
7946         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
7947         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7948         * sysdeps/mach/hurd/rename.c (rename): Likewise.
7949         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
7950         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
7951         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
7952         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
7953         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
7954         * sysdeps/mach/hurd/send.c (__send): Likewise.
7955         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
7956         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
7957         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
7958         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
7959         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
7960         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
7961         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
7962         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
7963         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
7964         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
7965         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
7966         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
7967         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
7968         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
7969         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
7970         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
7971         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
7972         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
7973         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
7974         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
7975         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
7976         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
7977         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
7978         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
7979         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
7980         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
7981         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
7982         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
7983         * sysdeps/posix/alarm.c (alarm): Likewise.
7984         * sysdeps/posix/cuserid.c (cuserid): Likewise.
7985         * sysdeps/posix/dirfd.c (dirfd): Likewise.
7986         * sysdeps/posix/dup.c (__dup): Likewise.
7987         * sysdeps/posix/dup2.c (__dup2): Likewise.
7988         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
7989         (main): Likewise.
7990         * sysdeps/posix/flock.c (__flock): Likewise.
7991         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
7992         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
7993         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
7994         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
7995         * sysdeps/posix/isatty.c (__isatty): Likewise.
7996         * sysdeps/posix/killpg.c (killpg): Likewise.
7997         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
7998         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
7999         * sysdeps/posix/raise.c (raise): Likewise.
8000         * sysdeps/posix/remove.c (remove): Likewise.
8001         * sysdeps/posix/rename.c (rename): Likewise.
8002         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
8003         * sysdeps/posix/seekdir.c (seekdir): Likewise.
8004         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
8005         * sysdeps/posix/sigignore.c (sigignore): Likewise.
8006         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
8007         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
8008         * sysdeps/posix/sigset.c (sigset): Likewise.
8009         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
8010         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
8011         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
8012         * sysdeps/posix/time.c (time): Likewise.
8013         * sysdeps/posix/ttyname.c (getttyname): Likewise.
8014         (ttyname): Likewise.
8015         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
8016         * sysdeps/posix/utime.c (utime): Likewise.
8017         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
8018         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
8019         Likewise.
8020         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
8021         (pthread_spin_trylock): Likewise.
8022         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
8023         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
8024         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
8025         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
8026         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
8027         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
8028         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
8029         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
8030         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
8031         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
8032         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
8033         * sysdeps/s390/ffs.c (__ffs): Likewise.
8034         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
8035         Likewise.
8036         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8037         Likewise.
8038         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
8039         Likewise.
8040         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
8041         (pthread_barrier_destroy): Likewise.
8042         * sysdeps/sparc/nptl/pthread_barrier_wait.c
8043         (__pthread_barrier_wait): Likewise.
8044         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
8045         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
8046         (__pthread_barrier_wait): Likewise.
8047         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
8048         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
8049         (memcmp_not_common_alignment): Likewise.
8050         (MEMCMP): Likewise.
8051         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
8052         (_wordcopy_fwd_dest_aligned): Likewise.
8053         (_wordcopy_bwd_aligned): Likewise.
8054         (_wordcopy_bwd_dest_aligned): Likewise.
8055         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
8056         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
8057         * sysdeps/unix/bsd/stty.c (stty): Likewise.
8058         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
8059         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
8060         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
8061         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
8062         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
8063         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
8064         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
8065         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
8066         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
8067         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
8068         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
8069         * sysdeps/unix/stime.c (stime): Likewise.
8070         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
8071         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
8072         Likewise.  Use internal_function.
8073         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
8074         Convert to prototype-style function definition.
8075         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8076         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8077         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
8078         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8079         Likewise.  Use internal_function.
8080         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
8081         prototype-style function definition
8082         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8083         Likewise.
8084         (__getlogin_r): Likewise.
8085         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
8086         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
8087         (__pthread_cond_broadcast): Likewise.
8088         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
8089         (__pthread_cond_destroy): Likewise.
8090         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
8091         (__pthread_cond_init): Likewise.
8092         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
8093         (__pthread_cond_signal): Likewise.
8094         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
8095         (__pthread_cond_wait): Likewise.
8096         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
8097         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
8098         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
8099         Likewise.
8100         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
8101         Likewise.
8102         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
8103         Likewise.
8104         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
8105         Likewise.
8106         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
8107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
8108         (__ftruncate64): Likewise.
8109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
8110         (truncate64): Likewise.
8111         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
8112         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
8113         (pthread_getcpuclockid): Likewise.
8114         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
8115         Likewise.
8116         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
8117         Likewise.
8118         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
8119         Likewise.
8120         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
8121         Likewise.
8122         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
8123         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
8124         (__libc_sigaction): Likewise.
8125         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
8126         Likewise.
8127         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
8128         (__sigprocmask): Likewise.
8129         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
8130         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
8131         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
8132         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
8133         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8134         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
8135         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8136         Likewise.
8137         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
8138         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
8139         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8140         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
8141         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
8142         Likewise.
8143         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
8144         (__sigprocmask): Likewise.
8145         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
8146         (cfgetispeed): Likewise.
8147         (cfsetospeed): Likewise.
8148         (cfsetispeed): Likewise.
8149         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
8150         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
8151         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8152         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
8153         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
8154         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
8155         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
8156         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
8157         Likewise.
8158         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
8159         Likewise.
8160         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
8161         Likewise.
8162         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
8163         Likewise.
8164         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
8166 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8168         sunrpc: Rewrite with explicit TLS access using __thread.
8169         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
8170         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
8171         directly.
8172         (__rpc_thread_variables): Access thread_rpc_vars directly.
8173         Eliminate redundant assignment of the tvp variable.
8175 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8177         malloc: Rewrite with explicit TLS access using __thread.
8178         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
8179         (tsd_setspecific, tsd_getspecific): Remove.
8180         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
8181         (tsd_setspecific, tsd_getspecific): Likewise.
8182         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
8183         (tsd_setspecific, tsd_getspecific): Likewise.
8184         * malloc/arena.c (thread_arena): New TLS variable.
8185         (arena_key): Remove variable.
8186         (arena_get): Use thread_arena.
8187         (arena_lookup): Remove macro.
8188         (malloc_atfork, free_atfork, ptmalloc_lock_all)
8189         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
8190         (_int_new_arena, get_free_list, reused_arena)
8191         (arena_thread_freeres): Use thread_arena.
8192         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
8193         tsd_getspecific, tsd_setspecific from safety annotations.
8194         (Allocating Cleared Space): Remove arena_lookup from safety
8195         annotations.
8197 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8199         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
8200         struct scratch_buffer instead of extend_alloca.
8202 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8204         * sysdeps/unix/sysv/linux/kernel-features.h
8205         (__ASSUME_SOCK_CLOEXEC): Remove.
8206         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
8207         (__have_paccept): Remove unused macro.
8208         * include/unistd.h (__have_sock_cloexec): Remove declaration.
8209         * misc/syslog.c (openlog_internal): Remove fallback code for
8210         !__ASSUME_SOCK_CLOEXEC.
8211         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
8212         missing SOCK_CLOEXEC.
8213         * nscd/connections.c (have_sock_cloexec): Remove definition.
8214         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
8215         * nscd/nscd_helper.c (open_socket): Remove fallback code for
8216         !__ASSUME_SOCK_CLOEXEC.
8217         * resolv/res_send.c (__have_o_nonblock): Remove definition.
8218         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
8219         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
8220         definition.
8221         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
8222         code for !__ASSUME_SOCK_CLOEXEC.
8224 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8226         [BZ #18982]
8227         * manual/stdio.texi (Variable Arguments Output): Add portability
8228         note, explaining that vfprintf clobbers the va_list pointer.
8230 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
8232         * math/libm-test.inc (fabs_test_data): Add more tests.
8233         (fdim_test_data): Likewise.
8234         (fma_test_data): Likewise.
8235         (fmax_test_data): Likewise.
8236         (fmin_test_data): Likewise.
8237         (fmod_test_data): Likewise.
8239 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
8241         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
8242         data.
8244 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
8246         * math/libm-test.inc (ceil_test_data): Add more tests and more
8247         expectations for "inexact".
8248         (floor_test_data): Add more tests.
8249         (round_test_data): Likewise.
8250         (trunc_test_data): Likewise.
8252         * crypt/cert.c (good_bye): Convert to prototype-style function
8253         definition.
8254         (get8): Likewise.
8255         (put8): Likewise.
8256         * crypt/crypt-entry.c (crypt): Likewise.
8257         (__fcrypt): Likewise.
8258         * crypt/crypt_util.c (_ufc_prbits): Likewise.
8259         (_ufc_set_bits): Likewise.
8260         (_ufc_clearmem): Likewise.
8261         (__init_des_r): Likewise.
8262         (shuffle_sb): Likewise.
8263         (shuffle_sb): Likewise.
8264         (_ufc_setup_salt_r): Likewise.
8265         (_ufc_mk_keytab_r): Likewise.
8266         (_ufc_dofinalperm_r): Likewise.
8267         (encrypt): Likewise.
8268         (__setkey_r): Likewise.
8269         (setkey): Likewise.
8270         * crypt/md5.c (md5_init_ctx): Likewise.
8271         (md5_read_ctx): Likewise.
8272         (md5_finish_ctx): Likewise.
8273         (md5_stream): Likewise.
8274         (md5_buffer): Likewise.
8275         (md5_process_bytes): Likewise.
8276         * crypt/sha256.c (__sha256_init_ctx): Likewise.
8277         (__sha256_finish_ctx): Likewise.
8278         (__sha256_process_bytes): Likewise.
8279         * crypt/sha512.c (__sha512_init_ctx): Likewise.
8280         (__sha512_finish_ctx): Likewise.
8281         (__sha512_process_bytes): Likewise.
8282         * ctype/isctype.c (__isctype): Likewise.
8283         * debug/backtrace.c (__backtrace): Likewise.
8284         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
8285         * debug/fgets_chk.c (__fgets_chk): Likewise.
8286         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
8287         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
8288         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8289         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8290         * debug/memset_chk.c (__memset_chk): Likewise.
8291         * debug/strcat_chk.c (__strcat_chk): Likewise.
8292         * debug/strncat_chk.c (__strncat_chk): Likewise.
8293         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
8294         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
8295         * dirent/dirfd.c (dirfd): Likewise.
8296         * dirent/getdents.c (__getdirentries): Likewise.
8297         * dirent/getdents64.c (getdirentries64): Likewise.
8298         * dirent/rewinddir.c (__rewinddir): Likewise.
8299         * dirent/seekdir.c (seekdir): Likewise.
8300         * dirent/telldir.c (telldir): Likewise.
8301         * elf/sln.c (makesymlinks): Likewise.
8302         (makesymlink): Likewise.
8303         * gmon/gmon.c (__moncontrol): Likewise.
8304         (__monstartup): Likewise.
8305         (write_hist): Likewise.
8306         (write_call_graph): Likewise.
8307         (write_bb_counts): Likewise.
8308         * grp/setgroups.c (setgroups): Likewise.
8309         * inet/inet_lnaof.c (inet_lnaof): Likewise.
8310         * inet/inet_net.c (inet_network): Likewise.
8311         * inet/inet_netof.c (inet_netof): Likewise.
8312         * inet/rcmd.c (rresvport_af): Likewise.
8313         (rresvport): Likewise.
8314         * io/access.c (__access): Likewise.
8315         * io/chdir.c (__chdir): Likewise.
8316         * io/chmod.c (__chmod): Likewise.
8317         * io/chown.c (__chown): Likewise.
8318         * io/close.c (__close): Likewise.
8319         * io/creat.c (creat): Likewise.
8320         * io/creat64.c (creat64): Likewise.
8321         * io/dup.c (__dup): Likewise.
8322         * io/dup2.c (__dup2): Likewise.
8323         * io/dup3.c (__dup3): Likewise.
8324         * io/euidaccess.c (__euidaccess): Likewise.
8325         * io/faccessat.c (faccessat): Likewise.
8326         * io/fchmod.c (__fchmod): Likewise.
8327         * io/fchmodat.c (fchmodat): Likewise.
8328         * io/fchown.c (__fchown): Likewise.
8329         * io/fchownat.c (fchownat): Likewise.
8330         * io/fcntl.c (__fcntl): Likewise.
8331         * io/flock.c (__flock): Likewise.
8332         * io/fts.c (fts_load): Likewise.
8333         (fts_close): Likewise.
8334         (fts_read): Likewise.
8335         (fts_set): Likewise.
8336         (fts_children): Likewise.
8337         (fts_build): Likewise.
8338         (fts_stat): Likewise.
8339         (fts_sort): Likewise.
8340         (fts_alloc): Likewise.
8341         (fts_lfree): Likewise.
8342         (fts_palloc): Likewise.
8343         (fts_padjust): Likewise.
8344         (fts_maxarglen): Likewise.
8345         (fts_safe_changedir): Likewise.
8346         * io/getwd.c (getwd): Likewise.
8347         * io/isatty.c (__isatty): Likewise.
8348         * io/lchown.c (__lchown): Likewise.
8349         * io/link.c (__link): Likewise.
8350         * io/linkat.c (linkat): Likewise.
8351         * io/lseek.c (__libc_lseek): Likewise.
8352         * io/mkdir.c (__mkdir): Likewise.
8353         * io/mkdirat.c (mkdirat): Likewise.
8354         * io/mkfifo.c (mkfifo): Likewise.
8355         * io/mkfifoat.c (mkfifoat): Likewise.
8356         * io/open.c (__libc_open): Likewise.
8357         * io/open64.c (__libc_open64): Likewise.
8358         * io/readlink.c (__readlink): Likewise.
8359         * io/readlinkat.c (readlinkat): Likewise.
8360         * io/rmdir.c (__rmdir): Likewise.
8361         * io/symlink.c (__symlink): Likewise.
8362         * io/symlinkat.c (symlinkat): Likewise.
8363         * io/ttyname.c (ttyname): Likewise.
8364         * io/ttyname_r.c (__ttyname_r): Likewise.
8365         * io/umask.c (__umask): Likewise.
8366         * io/unlink.c (__unlink): Likewise.
8367         * io/unlinkat.c (unlinkat): Likewise.
8368         * io/utime.c (utime): Likewise.
8369         * libio/clearerr.c (clearerr): Likewise.
8370         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
8371         * libio/feof.c (_IO_feof): Likewise.
8372         * libio/feof_u.c (feof_unlocked): Likewise.
8373         * libio/ferror.c (_IO_ferror): Likewise.
8374         * libio/ferror_u.c (ferror_unlocked): Likewise.
8375         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8376         * libio/fileno.c (__fileno): Likewise.
8377         * libio/fputc.c (fputc): Likewise.
8378         * libio/fputc_u.c (fputc_unlocked): Likewise.
8379         * libio/fputwc.c (fputwc): Likewise.
8380         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
8381         * libio/freopen.c (freopen): Likewise.
8382         * libio/freopen64.c (freopen64): Likewise.
8383         * libio/fseek.c (fseek): Likewise.
8384         * libio/fseeko.c (fseeko): Likewise.
8385         * libio/fseeko64.c (fseeko64): Likewise.
8386         * libio/ftello.c (__ftello): Likewise.
8387         * libio/ftello64.c (ftello64): Likewise.
8388         * libio/fwide.c (fwide): Likewise.
8389         * libio/genops.c (_IO_un_link): Likewise.
8390         (_IO_link_in): Likewise.
8391         (_IO_least_marker): Likewise.
8392         (_IO_switch_to_main_get_area): Likewise.
8393         (_IO_switch_to_backup_area): Likewise.
8394         (_IO_switch_to_get_mode): Likewise.
8395         (_IO_free_backup_area): Likewise.
8396         (_IO_switch_to_put_mode): Likewise.
8397         (__overflow): Likewise.
8398         (__underflow): Likewise.
8399         (__uflow): Likewise.
8400         (_IO_setb): Likewise.
8401         (_IO_doallocbuf): Likewise.
8402         (_IO_default_underflow): Likewise.
8403         (_IO_default_uflow): Likewise.
8404         (_IO_default_xsputn): Likewise.
8405         (_IO_sgetn): Likewise.
8406         (_IO_default_xsgetn): Likewise.
8407         (_IO_sync): Likewise.
8408         (_IO_default_setbuf): Likewise.
8409         (_IO_default_seekpos): Likewise.
8410         (_IO_default_doallocate): Likewise.
8411         (_IO_init): Likewise.
8412         (_IO_old_init): Likewise.
8413         (_IO_default_sync): Likewise.
8414         (_IO_default_finish): Likewise.
8415         (_IO_default_seekoff): Likewise.
8416         (_IO_sputbackc): Likewise.
8417         (_IO_sungetc): Likewise.
8418         (_IO_set_column): Likewise.
8419         (_IO_set_column): Likewise.
8420         (_IO_adjust_column): Likewise.
8421         (_IO_get_column): Likewise.
8422         (_IO_init_marker): Likewise.
8423         (_IO_remove_marker): Likewise.
8424         (_IO_marker_difference): Likewise.
8425         (_IO_marker_delta): Likewise.
8426         (_IO_seekmark): Likewise.
8427         (_IO_unsave_markers): Likewise.
8428         (_IO_nobackup_pbackfail): Likewise.
8429         (_IO_default_pbackfail): Likewise.
8430         (_IO_default_seek): Likewise.
8431         (_IO_default_stat): Likewise.
8432         (_IO_default_read): Likewise.
8433         (_IO_default_write): Likewise.
8434         (_IO_default_showmanyc): Likewise.
8435         (_IO_default_imbue): Likewise.
8436         (_IO_iter_next): Likewise.
8437         (_IO_iter_file): Likewise.
8438         * libio/getc.c (_IO_getc): Likewise.
8439         * libio/getwc.c (_IO_getwc): Likewise.
8440         * libio/iofclose.c (_IO_new_fclose): Likewise.
8441         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8442         * libio/iofflush.c (_IO_fflush): Likewise.
8443         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
8444         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
8445         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
8446         * libio/iofgets.c (_IO_fgets): Likewise.
8447         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
8448         * libio/iofgetws.c (fgetws): Likewise.
8449         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8450         * libio/iofopen64.c (_IO_fopen64): Likewise.
8451         * libio/iofopncook.c (_IO_cookie_read): Likewise.
8452         (_IO_cookie_write): Likewise.
8453         (_IO_cookie_seek): Likewise.
8454         (_IO_cookie_close): Likewise.
8455         (_IO_cookie_seekoff): Likewise.
8456         (_IO_old_cookie_seek): Likewise.
8457         * libio/iofputs.c (_IO_fputs): Likewise.
8458         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
8459         * libio/iofputws.c (fputws): Likewise.
8460         * libio/iofputws_u.c (fputws_unlocked): Likewise.
8461         * libio/iofread.c (_IO_fread): Likewise.
8462         * libio/iofread_u.c (__fread_unlocked): Likewise.
8463         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
8464         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
8465         * libio/ioftell.c (_IO_ftell): Likewise.
8466         * libio/iofwrite.c (_IO_fwrite): Likewise.
8467         * libio/iogetdelim.c (_IO_getdelim): Likewise.
8468         * libio/iogets.c (_IO_gets): Likewise.
8469         * libio/iopadn.c (_IO_padn): Likewise.
8470         * libio/iopopen.c (_IO_new_proc_open): Likewise.
8471         (_IO_new_popen): Likewise.
8472         (_IO_new_proc_close): Likewise.
8473         * libio/ioputs.c (_IO_puts): Likewise.
8474         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
8475         (_IO_seekoff): Likewise.
8476         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
8477         (_IO_seekpos): Likewise.
8478         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
8479         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
8480         * libio/ioungetc.c (_IO_ungetc): Likewise.
8481         * libio/ioungetwc.c (ungetwc): Likewise.
8482         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8483         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
8484         * libio/iowpadn.c (_IO_wpadn): Likewise.
8485         * libio/libc_fatal.c (__libc_fatal): Likewise.
8486         * libio/memstream.c (__open_memstream): Likewise.
8487         (_IO_mem_sync): Likewise.
8488         (_IO_mem_finish): Likewise.
8489         * libio/oldfileops.c (_IO_old_file_init): Likewise.
8490         (_IO_old_file_close_it): Likewise.
8491         (_IO_old_file_finish): Likewise.
8492         (_IO_old_file_fopen): Likewise.
8493         (_IO_old_file_attach): Likewise.
8494         (_IO_old_file_setbuf): Likewise.
8495         (_IO_old_do_write): Likewise.
8496         (old_do_write): Likewise.
8497         (_IO_old_file_underflow): Likewise.
8498         (_IO_old_file_overflow): Likewise.
8499         (_IO_old_file_sync): Likewise.
8500         (_IO_old_file_seekoff): Likewise.
8501         (_IO_old_file_write): Likewise.
8502         (_IO_old_file_xsputn): Likewise.
8503         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
8504         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8505         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
8506         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
8507         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
8508         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
8509         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
8510         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
8511         (_IO_old_popen): Likewise.
8512         (_IO_old_proc_close): Likewise.
8513         * libio/oldpclose.c (__old_pclose): Likewise.
8514         * libio/pclose.c (__new_pclose): Likewise.
8515         * libio/peekc.c (_IO_peekc_locked): Likewise.
8516         * libio/putc.c (_IO_putc): Likewise.
8517         * libio/putc_u.c (putc_unlocked): Likewise.
8518         * libio/putchar.c (putchar): Likewise.
8519         * libio/putchar_u.c (putchar_unlocked): Likewise.
8520         * libio/putwc.c (putwc): Likewise.
8521         * libio/putwc_u.c (putwc_unlocked): Likewise.
8522         * libio/putwchar.c (putwchar): Likewise.
8523         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
8524         * libio/rewind.c (rewind): Likewise.
8525         * libio/setbuf.c (setbuf): Likewise.
8526         * libio/setlinebuf.c (setlinebuf): Likewise.
8527         * libio/vasprintf.c (_IO_vasprintf): Likewise.
8528         * libio/vscanf.c (_IO_vscanf): Likewise.
8529         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
8530         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
8531         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
8532         * libio/wgenops.c (_IO_least_wmarker): Likewise.
8533         (_IO_switch_to_main_wget_area): Likewise.
8534         (_IO_switch_to_wbackup_area): Likewise.
8535         (_IO_wsetb): Likewise.
8536         (_IO_wdefault_pbackfail): Likewise.
8537         (_IO_wdefault_finish): Likewise.
8538         (_IO_wdefault_uflow): Likewise.
8539         (__woverflow): Likewise.
8540         (__wuflow): Likewise.
8541         (__wunderflow): Likewise.
8542         (_IO_wdefault_xsputn): Likewise.
8543         (_IO_wdefault_xsgetn): Likewise.
8544         (_IO_wdoallocbuf): Likewise.
8545         (_IO_wdefault_doallocate): Likewise.
8546         (_IO_switch_to_wget_mode): Likewise.
8547         (_IO_free_wbackup_area): Likewise.
8548         (_IO_switch_to_wput_mode): Likewise.
8549         (_IO_sputbackwc): Likewise.
8550         (_IO_sungetwc): Likewise.
8551         (_IO_adjust_wcolumn): Likewise.
8552         (_IO_init_wmarker): Likewise.
8553         (_IO_wmarker_delta): Likewise.
8554         (_IO_seekwmark): Likewise.
8555         (_IO_unsave_wmarkers): Likewise.
8556         * libio/wmemstream.c (open_wmemstream): Likewise.
8557         (_IO_wmem_sync): Likewise.
8558         (_IO_wmem_finish): Likewise.
8559         * locale/nl_langinfo.c (nl_langinfo): Likewise.
8560         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
8561         * locale/programs/simple-hash.c (init_hash): Likewise.
8562         (delete_hash): Likewise.
8563         (insert_entry): Likewise.
8564         (set_entry): Likewise.
8565         (next_prime): Likewise.
8566         (is_prime): Likewise.
8567         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
8568         (xmalloc): Likewise.
8569         (xrealloc): Likewise.
8570         * locale/programs/xstrdup.c (xstrdup): Likewise.
8571         * localedata/collate-test.c (xstrcoll): Likewise.
8572         * localedata/xfrm-test.c (xstrcmp): Likewise.
8573         * login/getlogin_r.c (__getlogin_r): Likewise.
8574         * login/getpt.c (__posix_openpt): Likewise.
8575         * login/login_tty.c (login_tty): Likewise.
8576         * login/setlogin.c (setlogin): Likewise.
8577         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
8578         (mach_msg_destroy_port): Likewise.
8579         (mach_msg_destroy_memory): Likewise.
8580         * malloc/mcheck.c (flood): Likewise.
8581         * misc/acct.c (acct): Likewise.
8582         * misc/brk.c (__brk): Likewise.
8583         * misc/chflags.c (chflags): Likewise.
8584         * misc/chroot.c (chroot): Likewise.
8585         * misc/fchflags.c (fchflags): Likewise.
8586         * misc/fstab.c (getfsspec): Likewise.
8587         (getfsfile): Likewise.
8588         * misc/fsync.c (fsync): Likewise.
8589         * misc/ftruncate.c (__ftruncate): Likewise.
8590         * misc/ftruncate64.c (__ftruncate64): Likewise.
8591         * misc/getdomain.c (getdomainname): Likewise.
8592         (getdomainname): Likewise.
8593         * misc/gethostname.c (__gethostname): Likewise.
8594         * misc/getpass.c (getpass): Likewise.
8595         * misc/getttyent.c (skip): Likewise.
8596         (value): Likewise.
8597         * misc/gtty.c (gtty): Likewise.
8598         * misc/hsearch.c (hsearch): Likewise.
8599         (hcreate): Likewise.
8600         * misc/hsearch_r.c (__hcreate_r): Likewise.
8601         (__hdestroy_r): Likewise.
8602         * misc/ioctl.c (__ioctl): Likewise.
8603         * misc/mkdtemp.c (mkdtemp): Likewise.
8604         * misc/mkostemp.c (mkostemp): Likewise.
8605         * misc/mkostemp64.c (mkostemp64): Likewise.
8606         * misc/mkostemps.c (mkostemps): Likewise.
8607         * misc/mkostemps64.c (mkostemps64): Likewise.
8608         * misc/mkstemp.c (mkstemp): Likewise.
8609         * misc/mkstemp64.c (mkstemp64): Likewise.
8610         * misc/mkstemps.c (mkstemps): Likewise.
8611         * misc/mkstemps64.c (mkstemps64): Likewise.
8612         * misc/mktemp.c (__mktemp): Likewise.
8613         * misc/preadv.c (preadv): Likewise.
8614         * misc/preadv64.c (preadv64): Likewise.
8615         * misc/pwritev.c (pwritev): Likewise.
8616         * misc/pwritev64.c (pwritev64): Likewise.
8617         * misc/readv.c (__readv): Likewise.
8618         * misc/revoke.c (revoke): Likewise.
8619         * misc/setdomain.c (setdomainname): Likewise.
8620         * misc/setegid.c (setegid): Likewise.
8621         * misc/seteuid.c (seteuid): Likewise.
8622         * misc/sethostid.c (sethostid): Likewise.
8623         * misc/sethostname.c (sethostname): Likewise.
8624         * misc/setregid.c (__setregid): Likewise.
8625         * misc/setreuid.c (__setreuid): Likewise.
8626         * misc/sstk.c (sstk): Likewise.
8627         * misc/stty.c (stty): Likewise.
8628         * misc/syscall.c (syscall): Likewise.
8629         * misc/syslog.c (setlogmask): Likewise.
8630         * misc/truncate.c (__truncate): Likewise.
8631         * misc/truncate64.c (truncate64): Likewise.
8632         * misc/ualarm.c (ualarm): Likewise.
8633         * misc/usleep.c (usleep): Likewise.
8634         * misc/ustat.c (ustat): Likewise.
8635         * misc/writev.c (__writev): Likewise.
8636         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
8637         * nptl/old_pthread_cond_broadcast.c
8638         (__pthread_cond_broadcast_2_0): Likewise.
8639         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
8640         Likewise.
8641         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
8642         Likewise.
8643         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
8644         Likewise.
8645         * nptl/pt-raise.c (raise): Likewise.
8646         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
8647         Likewise.
8648         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
8649         * nptl/pthread_barrierattr_destroy.c
8650         (pthread_barrierattr_destroy): Likewise.
8651         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
8652         Likewise.
8653         * nptl/pthread_barrierattr_setpshared.c
8654         (pthread_barrierattr_setpshared): Likewise.
8655         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8656         Likewise.
8657         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
8658         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
8659         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
8660         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
8661         Likewise.
8662         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
8663         Likewise.
8664         * nptl/pthread_condattr_getpshared.c
8665         (pthread_condattr_getpshared): Likewise.
8666         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
8667         Likewise.
8668         * nptl/pthread_condattr_setpshared.c
8669         (pthread_condattr_setpshared): Likewise.
8670         * nptl/pthread_detach.c (pthread_detach): Likewise.
8671         * nptl/pthread_equal.c (__pthread_equal): Likewise.
8672         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
8673         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
8674         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
8675         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
8676         Likewise.
8677         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8678         Likewise.
8679         * nptl/pthread_mutex_getprioceiling.c
8680         (pthread_mutex_getprioceiling): Likewise.
8681         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
8682         Likewise.
8683         * nptl/pthread_mutexattr_getprotocol.c
8684         (pthread_mutexattr_getprotocol): Likewise.
8685         * nptl/pthread_mutexattr_getpshared.c
8686         (pthread_mutexattr_getpshared): Likewise.
8687         * nptl/pthread_mutexattr_getrobust.c
8688         (pthread_mutexattr_getrobust): Likewise.
8689         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
8690         Likewise.
8691         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
8692         Likewise.
8693         * nptl/pthread_mutexattr_setprioceiling.c
8694         (pthread_mutexattr_setprioceiling): Likewise.
8695         * nptl/pthread_mutexattr_setprotocol.c
8696         (pthread_mutexattr_setprotocol): Likewise.
8697         * nptl/pthread_mutexattr_setpshared.c
8698         (pthread_mutexattr_setpshared): Likewise.
8699         * nptl/pthread_mutexattr_setrobust.c
8700         (pthread_mutexattr_setrobust): Likewise.
8701         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
8702         Likewise.
8703         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
8704         Likewise.
8705         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
8706         Likewise.
8707         * nptl/pthread_rwlockattr_getkind_np.c
8708         (pthread_rwlockattr_getkind_np): Likewise.
8709         * nptl/pthread_rwlockattr_getpshared.c
8710         (pthread_rwlockattr_getpshared): Likewise.
8711         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
8712         Likewise.
8713         * nptl/pthread_rwlockattr_setkind_np.c
8714         (pthread_rwlockattr_setkind_np): Likewise.
8715         * nptl/pthread_rwlockattr_setpshared.c
8716         (pthread_rwlockattr_setpshared): Likewise.
8717         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
8718         Likewise.
8719         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
8720         Likewise.
8721         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
8722         Likewise.
8723         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
8724         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
8725         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
8726         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
8727         * nptl/sem_close.c (sem_close): Likewise.
8728         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
8729         * nptl/sem_init.c (__old_sem_init): Likewise.
8730         * nptl/sigaction.c (__sigaction): Likewise.
8731         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
8732         * posix/_exit.c (_exit): Likewise.
8733         * posix/alarm.c (alarm): Likewise.
8734         * posix/confstr.c (confstr): Likewise.
8735         * posix/fpathconf.c (__fpathconf): Likewise.
8736         * posix/getgroups.c (__getgroups): Likewise.
8737         * posix/getpgid.c (__getpgid): Likewise.
8738         * posix/group_member.c (__group_member): Likewise.
8739         * posix/pathconf.c (__pathconf): Likewise.
8740         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
8741         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
8742         * posix/setgid.c (__setgid): Likewise.
8743         * posix/setpgid.c (__setpgid): Likewise.
8744         * posix/setuid.c (__setuid): Likewise.
8745         * posix/sleep.c (__sleep): Likewise.
8746         * posix/sysconf.c (__sysconf): Likewise.
8747         * posix/times.c (__times): Likewise.
8748         * posix/uname.c (__uname): Likewise.
8749         * posix/waitid.c (__waitid): Likewise.
8750         * pwd/getpw.c (__getpw): Likewise.
8751         * resolv/base64.c (b64_pton): Likewise.
8752         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
8753         * resolv/gethnamaddr.c (Dprintf): Likewise.
8754         (gethostbyname): Likewise.
8755         (gethostbyname2): Likewise.
8756         (gethostbyaddr): Likewise.
8757         (_sethtent): Likewise.
8758         (_gethtbyname): Likewise.
8759         (_gethtbyname2): Likewise.
8760         (_gethtbyaddr): Likewise.
8761         (map_v4v6_address): Likewise.
8762         (map_v4v6_hostent): Likewise.
8763         (addrsort): Likewise.
8764         (ht_sethostent): Likewise.
8765         (ht_gethostbyname): Likewise.
8766         (ht_gethostbyaddr): Likewise.
8767         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
8768         (inet_net_ntop_ipv4): Likewise.
8769         * resolv/inet_neta.c (inet_neta): Likewise.
8770         * resolv/inet_ntop.c (inet_ntop): Likewise.
8771         (inet_ntop4): Likewise.
8772         (inet_ntop6): Likewise.
8773         * resolv/inet_pton.c (__inet_pton): Likewise.
8774         (inet_pton4): Likewise.
8775         (inet_pton6): Likewise.
8776         * resolv/res_debug.c (loc_aton): Likewise.
8777         (loc_ntoa): Likewise.
8778         * resource/getpriority.c (__getpriority): Likewise.
8779         * resource/getrusage.c (__getrusage): Likewise.
8780         * resource/nice.c (nice): Likewise.
8781         * resource/setpriority.c (__setpriority): Likewise.
8782         * resource/setrlimit64.c (setrlimit64): Likewise.
8783         * resource/vlimit.c (vlimit): Likewise.
8784         * resource/vtimes.c (vtimes): Likewise.
8785         * rt/aio_error.c (aio_error): Likewise.
8786         * rt/aio_return.c (aio_return): Likewise.
8787         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
8788         * signal/kill.c (__kill): Likewise.
8789         * signal/killpg.c (killpg): Likewise.
8790         * signal/raise.c (raise): Likewise.
8791         * signal/sigaction.c (__sigaction): Likewise.
8792         * signal/sigaddset.c (sigaddset): Likewise.
8793         * signal/sigaltstack.c (sigaltstack): Likewise.
8794         * signal/sigandset.c (sigandset): Likewise.
8795         * signal/sigblock.c (__sigblock): Likewise.
8796         * signal/sigdelset.c (sigdelset): Likewise.
8797         * signal/sigempty.c (sigemptyset): Likewise.
8798         * signal/sigfillset.c (sigfillset): Likewise.
8799         * signal/sighold.c (sighold): Likewise.
8800         * signal/sigignore.c (sigignore): Likewise.
8801         * signal/sigintr.c (siginterrupt): Likewise.
8802         * signal/sigisempty.c (sigisemptyset): Likewise.
8803         * signal/sigismem.c (sigismember): Likewise.
8804         * signal/signal.c (signal): Likewise.
8805         * signal/sigorset.c (sigorset): Likewise.
8806         * signal/sigpause.c (__sigpause): Likewise.
8807         * signal/sigpending.c (sigpending): Likewise.
8808         * signal/sigprocmask.c (__sigprocmask): Likewise.
8809         * signal/sigrelse.c (sigrelse): Likewise.
8810         * signal/sigreturn.c (__sigreturn): Likewise.
8811         * signal/sigset.c (sigset): Likewise.
8812         * signal/sigsetmask.c (__sigsetmask): Likewise.
8813         * signal/sigstack.c (sigstack): Likewise.
8814         * signal/sigsuspend.c (__sigsuspend): Likewise.
8815         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
8816         * signal/sysv_signal.c (__sysv_signal): Likewise.
8817         * socket/accept.c (accept): Likewise.
8818         * socket/accept4.c (__libc_accept4): Likewise.
8819         * socket/bind.c (__bind): Likewise.
8820         * socket/connect.c (__connect): Likewise.
8821         * socket/getpeername.c (getpeername): Likewise.
8822         * socket/getsockname.c (__getsockname): Likewise.
8823         * socket/getsockopt.c (getsockopt): Likewise.
8824         * socket/listen.c (__listen): Likewise.
8825         * socket/recv.c (__recv): Likewise.
8826         * socket/recvmsg.c (__recvmsg): Likewise.
8827         * socket/send.c (__send): Likewise.
8828         * socket/sendmsg.c (__sendmsg): Likewise.
8829         * socket/shutdown.c (shutdown): Likewise.
8830         * socket/sockatmark.c (sockatmark): Likewise.
8831         * socket/socket.c (__socket): Likewise.
8832         * stdio-common/ctermid.c (ctermid): Likewise.
8833         * stdio-common/cuserid.c (cuserid): Likewise.
8834         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
8835         * stdio-common/remove.c (remove): Likewise.
8836         * stdio-common/rename.c (rename): Likewise.
8837         * stdio-common/renameat.c (renameat): Likewise.
8838         * stdio-common/tempname.c (__gen_tempname): Likewise.
8839         * stdio-common/xbug.c (InitBuffer): Likewise.
8840         (AppendToBuffer): Likewise.
8841         (ReadFile): Likewise.
8842         * stdlib/a64l.c (a64l): Likewise.
8843         * stdlib/drand48_r.c (drand48_r): Likewise.
8844         * stdlib/getcontext.c (getcontext): Likewise.
8845         * stdlib/getenv.c (getenv): Likewise.
8846         * stdlib/l64a.c (l64a): Likewise.
8847         * stdlib/llabs.c (llabs): Likewise.
8848         * stdlib/lldiv.c (lldiv): Likewise.
8849         * stdlib/lrand48_r.c (lrand48_r): Likewise.
8850         * stdlib/mrand48_r.c (mrand48_r): Likewise.
8851         * stdlib/putenv.c (putenv): Likewise.
8852         * stdlib/random.c (__srandom): Likewise.
8853         (__initstate): Likewise.
8854         (__setstate): Likewise.
8855         * stdlib/random_r.c (__srandom_r): Likewise.
8856         (__setstate_r): Likewise.
8857         (__random_r): Likewise.
8858         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
8859         * stdlib/setcontext.c (setcontext): Likewise.
8860         * stdlib/setenv.c (setenv): Likewise.
8861         (unsetenv): Likewise.
8862         * stdlib/srand48.c (srand48): Likewise.
8863         * stdlib/srand48_r.c (__srand48_r): Likewise.
8864         * stdlib/swapcontext.c (swapcontext): Likewise.
8865         * stdlib/system.c (__libc_system): Likewise.
8866         * stdlib/tst-strtod.c (expand): Likewise.
8867         * stdlib/tst-strtol.c (expand): Likewise.
8868         * stdlib/tst-strtoll.c (expand): Likewise.
8869         * streams/fattach.c (fattach): Likewise.
8870         * streams/fdetach.c (fdetach): Likewise.
8871         * streams/getmsg.c (getmsg): Likewise.
8872         * streams/isastream.c (isastream): Likewise.
8873         * string/ffs.c (__ffs): Likewise.
8874         * string/ffsll.c (ffsll): Likewise.
8875         * string/memcmp.c (memcmp_common_alignment): Likewise.
8876         (memcmp_not_common_alignment): Likewise.
8877         (MEMCMP): Likewise.
8878         * string/memcpy.c (memcpy): Likewise.
8879         * string/memmove.c (MEMMOVE): Likewise.
8880         * string/memset.c (memset): Likewise.
8881         * string/rawmemchr.c (RAWMEMCHR): Likewise.
8882         * string/strchrnul.c (STRCHRNUL): Likewise.
8883         * string/strerror.c (strerror): Likewise.
8884         * string/strndup.c (__strndup): Likewise.
8885         * string/strverscmp.c (__strverscmp): Likewise.
8886         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
8887         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
8888         (clnttcp_freeres): Likewise.
8889         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
8890         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
8891         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
8892         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
8893         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
8894         (xdr_callhdr): Likewise.
8895         * sunrpc/rpcinfo.c (udpping): Likewise.
8896         (tcpping): Likewise.
8897         (pstatus): Likewise.
8898         (pmapdump): Likewise.
8899         (brdcst): Likewise.
8900         (deletereg): Likewise.
8901         (getprognum): Likewise.
8902         (getvers): Likewise.
8903         (get_inet_address): Likewise.
8904         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
8905         * sunrpc/svc_udp.c (svcudp_create): Likewise.
8906         (svcudp_stat): Likewise.
8907         (svcudp_recv): Likewise.
8908         (svcudp_reply): Likewise.
8909         (svcudp_getargs): Likewise.
8910         (svcudp_freeargs): Likewise.
8911         (svcudp_destroy): Likewise.
8912         * sunrpc/xdr.c (xdr_bytes): Likewise.
8913         (xdr_netobj): Likewise.
8914         (xdr_string): Likewise.
8915         (xdr_wrapstring): Likewise.
8916         * sunrpc/xdr_float.c (xdr_float): Likewise.
8917         (xdr_double): Likewise.
8918         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
8919         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
8920         * sysvipc/ftok.c (ftok): Likewise.
8921         * sysvipc/msgctl.c (msgctl): Likewise.
8922         * sysvipc/msgget.c (msgget): Likewise.
8923         * sysvipc/msgrcv.c (msgrcv): Likewise.
8924         * sysvipc/msgsnd.c (msgsnd): Likewise.
8925         * sysvipc/semget.c (semget): Likewise.
8926         * sysvipc/semop.c (semop): Likewise.
8927         * sysvipc/shmat.c (shmat): Likewise.
8928         * sysvipc/shmctl.c (shmctl): Likewise.
8929         * sysvipc/shmdt.c (shmdt): Likewise.
8930         * sysvipc/shmget.c (shmget): Likewise.
8931         * termios/cfmakeraw.c (cfmakeraw): Likewise.
8932         * termios/speed.c (cfgetospeed): Likewise.
8933         (cfgetispeed): Likewise.
8934         (cfsetospeed): Likewise.
8935         (cfsetispeed): Likewise.
8936         * termios/tcflow.c (tcflow): Likewise.
8937         * termios/tcflush.c (tcflush): Likewise.
8938         * termios/tcgetattr.c (__tcgetattr): Likewise.
8939         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
8940         * termios/tcgetsid.c (tcgetsid): Likewise.
8941         * termios/tcsendbrk.c (tcsendbreak): Likewise.
8942         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
8943         * time/adjtime.c (__adjtime): Likewise.
8944         * time/dysize.c (dysize): Likewise.
8945         * time/ftime.c (ftime): Likewise.
8946         * time/getitimer.c (__getitimer): Likewise.
8947         * time/gettimeofday.c (__gettimeofday): Likewise.
8948         * time/gmtime.c (__gmtime_r): Likewise.
8949         (gmtime): Likewise.
8950         * time/localtime.c (__localtime_r): Likewise.
8951         (localtime): Likewise.
8952         * time/offtime.c (__offtime): Likewise.
8953         * time/settimeofday.c (__settimeofday): Likewise.
8954         * time/stime.c (stime): Likewise.
8955         * time/strftime_l.c (tm_diff): Likewise.
8956         (iso_week_days): Likewise.
8957         * time/strptime.c (strptime): Likewise.
8958         * time/time.c (time): Likewise.
8959         * time/timespec_get.c (timespec_get): Likewise.
8960         * time/tzset.c (tzset_internal): Likewise.
8961         (compute_change): Likewise.
8962         (__tz_compute): Likewise.
8963         * wcsmbs/btowc.c (__btowc): Likewise.
8964         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
8965         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
8966         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
8967         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
8968         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
8969         * wcsmbs/wcscat.c (__wcscat): Likewise.
8970         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8971         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
8972         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
8973         * wcsmbs/wcscspn.c (wcscspn): Likewise.
8974         * wcsmbs/wcsdup.c (wcsdup): Likewise.
8975         * wcsmbs/wcslen.c (__wcslen): Likewise.
8976         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
8977         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
8978         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
8979         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
8980         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8981         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
8982         * wcsmbs/wcsspn.c (wcsspn): Likewise.
8983         * wcsmbs/wcsstr.c (wcsstr): Likewise.
8984         * wcsmbs/wcstok.c (wcstok): Likewise.
8985         * wcsmbs/wctob.c (wctob): Likewise.
8986         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
8987         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8988         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
8989         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
8990         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
8991         * wcsmbs/wmemset.c (__wmemset): Likewise.
8992         * wctype/wcfuncs.c (__towlower): Likewise.
8993         (__towupper): Likewise.
8995         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
8996         (lll_unlock_elision): Add adapt_count parameter.
8998 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
9000         * sysdeps/nptl/configure.ac: Do not give errors based on the
9001         results of top-level configure tests.
9002         * sysdeps/nptl/configure: Regenerated.
9004         * configure.ac (libc_cv_Bgroup): Remove configure test.
9005         * configure: Regenerated.
9006         * config.make.in (have-Bgroup): Remove variable.
9008         * configure.ac (sizeof_long_double): Remove configure test.
9009         * configure: Regenerated.
9010         * config.make.in (sizeof-long-double): Remove variable.
9012         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
9013         * configure: Regenerated.
9014         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
9015         variable.
9016         (exceptions): Likewise.
9017         * sysdeps/arm/configure: Regenerated.
9018         * config.make.in (exceptions): Remove variable.
9019         * Makeconfig (uses-callbacks): Use -fexceptions instead of
9020         $(exceptions).
9021         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
9022         (CFLAGS-vdprintf_chk.c): Likewise.
9023         (CFLAGS-printf_chk.c): Likewise.
9024         (CFLAGS-fprintf_chk.c): Likewise.
9025         (CFLAGS-vprintf_chk.c): Likewise.
9026         (CFLAGS-vfprintf_chk.c): Likewise.
9027         (CFLAGS-gets_chk.c): Likewise.
9028         (CFLAGS-fgets_chk.c): Likewise.
9029         (CFLAGS-fgets_u_chk.c): Likewise.
9030         (CFLAGS-fread_chk.c): Likewise.
9031         (CFLAGS-fread_u_chk.c): Likewise.
9032         (CFLAGS-wprintf_chk.c): Likewise.
9033         (CFLAGS-fwprintf_chk.c): Likewise.
9034         (CFLAGS-vwprintf_chk.c): Likewise.
9035         (CFLAGS-vfwprintf_chk.c): Likewise.
9036         (CFLAGS-fgetws_chk.c): Likewise.
9037         (CFLAGS-fgetws_u_chk.c): Likewise.
9038         * libio/Makefile (CFLAGS-fileops.c): Likewise.
9039         (CFLAGS-fputc.c): Likewise.
9040         (CFLAGS-fputwc.c): Likewise.
9041         (CFLAGS-freopen64.c): Likewise.
9042         (CFLAGS-freopen.c): Likewise.
9043         (CFLAGS-fseek.c): Likewise.
9044         (CFLAGS-fseeko64.c): Likewise.
9045         (CFLAGS-fseeko.c): Likewise.
9046         (CFLAGS-ftello64.c): Likewise.
9047         (CFLAGS-ftello.c): Likewise.
9048         (CFLAGS-fwide.c): Likewise.
9049         (CFLAGS-genops.c): Likewise.
9050         (CFLAGS-getc.c): Likewise.
9051         (CFLAGS-getchar.c): Likewise.
9052         (CFLAGS-getwc.c): Likewise.
9053         (CFLAGS-getwchar.c): Likewise.
9054         (CFLAGS-iofclose.c): Likewise.
9055         (CFLAGS-iofflush.c): Likewise.
9056         (CFLAGS-iofgetpos64.c): Likewise.
9057         (CFLAGS-iofgetpos.c): Likewise.
9058         (CFLAGS-iofgets.c): Likewise.
9059         (CFLAGS-iofgetws.c): Likewise.
9060         (CFLAGS-iofputs.c): Likewise.
9061         (CFLAGS-iofputws.c): Likewise.
9062         (CFLAGS-iofread.c): Likewise.
9063         (CFLAGS-iofsetpos64.c): Likewise.
9064         (CFLAGS-iofsetpos.c): Likewise.
9065         (CFLAGS-ioftell.c): Likewise.
9066         (CFLAGS-iofwrite.c): Likewise.
9067         (CFLAGS-iogetdelim.c): Likewise.
9068         (CFLAGS-iogetline.c): Likewise.
9069         (CFLAGS-iogets.c): Likewise.
9070         (CFLAGS-iogetwline.c): Likewise.
9071         (CFLAGS-ioputs.c): Likewise.
9072         (CFLAGS-ioseekoff.c): Likewise.
9073         (CFLAGS-ioseekpos.c): Likewise.
9074         (CFLAGS-iosetbuffer.c): Likewise.
9075         (CFLAGS-iosetvbuf.c): Likewise.
9076         (CFLAGS-ioungetc.c): Likewise.
9077         (CFLAGS-ioungetwc.c): Likewise.
9078         (CFLAGS-oldfileops.c): Likewise.
9079         (CFLAGS-oldiofclose.c): Likewise.
9080         (CFLAGS-oldiofgetpos64.c): Likewise.
9081         (CFLAGS-oldiofgetpos.c): Likewise.
9082         (CFLAGS-oldiofsetpos64.c): Likewise.
9083         (CFLAGS-oldiofsetpos.c): Likewise.
9084         (CFLAGS-peekc.c): Likewise.
9085         (CFLAGS-putc.c): Likewise.
9086         (CFLAGS-putchar.c): Likewise.
9087         (CFLAGS-putwc.c): Likewise.
9088         (CFLAGS-putwchar.c): Likewise.
9089         (CFLAGS-rewind.c): Likewise.
9090         (CFLAGS-wfileops.c): Likewise.
9091         (CFLAGS-wgenops.c): Likewise.
9092         (CFLAGS-oldiofopen.c): Likewise.
9093         (CFLAGS-iofopen.c): Likewise.
9094         (CFLAGS-iofopen64.c): Likewise.
9095         (CFLAGS-oldtmpfile.c): Likewise.
9096         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
9097         (CFLAGS-fprintf.c): Likewise.
9098         (CFLAGS-printf.c): Likewise.
9099         (CFLAGS-vfwprintf.c): Likewise.
9100         (CFLAGS-vfscanf.c): Likewise.
9101         (CFLAGS-vfwscanf.c): Likewise.
9102         (CFLAGS-fscanf.c): Likewise.
9103         (CFLAGS-scanf.c): Likewise.
9104         (CFLAGS-isoc99_vfscanf.c): Likewise.
9105         (CFLAGS-isoc99_vscanf.c): Likewise.
9106         (CFLAGS-isoc99_fscanf.c): Likewise.
9107         (CFLAGS-isoc99_scanf.c): Likewise.
9108         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
9109         (CFLAGS-isoc99_fwscanf.c): Likewise.
9110         (CFLAGS-isoc99_vwscanf.c): Likewise.
9111         (CFLAGS-isoc99_vfwscanf.c): Likewise.
9113         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
9114         after mkstemp64.
9115         * login/tst-utmp.c (do_prepare): Likewise.
9116         * rt/tst-aio.c (do_prepare): Likewise.
9117         * rt/tst-aio64.c (do_prepare): Likewise.
9119 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9121         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9122         (__lll_lock_elision): Remove adapt_count decrement...
9123         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9124         (__lll_trylock_elision): Likewise.
9125         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
9126         (__lll_unlock_elision): ... to here. And utilize
9127         new adapt_count parameter.
9128         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
9129         (__lll_unlock_elision): Update to include adapt_count
9130         parameter.
9131         (lll_unlock_elision): Pass pointer to adapt_count
9132         variable.
9134 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9136         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
9137         Add elision adapt_count parameter to list of arguments.
9138         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
9139         (lll_unlock_elision): Update with new parameter list
9140         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
9141         (lll_unlock_elision): Likewise.
9142         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
9143         (lll_unlock_elision): Likewise.
9145 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9147         [BZ #19122]
9148         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
9149         attribute_hidden.
9151         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
9152         attribute_hidden.
9153         [IS_IN (rtld)] (__strdup): Likewise.
9154         [IS_IN (rtld)] (__strerror_r): Likewise.
9155         [IS_IN (rtld)] (__strsep_g): Likewise.
9156         [IS_IN (rtld)] (memchr): Likewise.
9157         [IS_IN (rtld)] (memcmp): Likewise.
9158         [IS_IN (rtld)] (memcpy): Likewise.
9159         [IS_IN (rtld)] (memmove): Likewise.
9160         [IS_IN (rtld)] (memset): Likewise.
9161         [IS_IN (rtld)] (rawmemchr): Likewise.
9162         [IS_IN (rtld)] (stpcpy): Likewise.
9163         [IS_IN (rtld)] (strchr): Likewise.
9164         [IS_IN (rtld)] (strcmp): Likewise.
9165         [IS_IN (rtld)] (strlen): Likewise.
9166         [IS_IN (rtld)] (strnlen): Likewise.
9167         [IS_IN (rtld)] (strsep): Likewise.
9169         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
9170         attribute_hidden.
9171         [IS_IN (rtld)] (__strtoul_internal): Likewise.
9173         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
9174         attribute_hidden.
9175         [IS_IN (rtld)] (__libc_sigaction): Likewise.
9177         * include/setjmp.h (__longjmp): Add attribute_hidden.
9178         [IS_IN (rtld)] (__sigsetjmp): Likewise.
9180         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
9181         Add attribute_hidden.
9183         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
9184         [IS_IN (rtld)] (__open): Likewise.
9185         [IS_IN (rtld)] (__fcntl): Likewise.
9187         * include/dirent.h (__opendirat): Add attribute_hidden.
9188         (__getdents): Likewise.
9189         (__getdents64): Likewise.
9190         (__alloc_dir): Likewise.
9191         [IS_IN (rtld)] (__closedir): Likewise.
9192         [IS_IN (rtld)] (__fdopendir): Likewise.
9193         [IS_IN (rtld)] (__readdir): Likewise.
9194         [IS_IN (rtld)] (__readdir64): Likewise.
9195         [IS_IN (rtld)] (__rewinddir): Likewise.
9197         * include/dlfcn.h (_dl_catch_error): Moved to ...
9198         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
9199         attribute_hidden.
9201         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
9202         (_itoa_word): Likewise.
9204         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
9205         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
9206         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
9207         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
9208         (_dl_higher_prime_number): Likewise.
9209         (_dl_debug_printf_c): Likewise.
9210         (_dl_signal_cerror): Likewise.
9211         (_dl_receive_error): Likewise.
9212         (_dl_reloc_bad_type): Likewise.
9213         (_dl_resolve_conflicts): Likewise.
9214         (_dl_check_all_versions): Likewise.
9215         (_dl_check_map_versions): Likewise.
9216         (_dl_sort_fini): Likewise.
9217         (_dl_debug_initialize): Likewise.
9218         (_dl_init_paths): Likewise.
9219         (_dl_show_auxv): Likewise.
9220         (_dl_next_ld_env_entry): Likewise.
9221         (_dl_important_hwcaps): Likewise.
9222         (_dl_load_cache_lookup): Likewise.
9223         (_dl_update_slotinfo): Likewise.
9224         (_dl_show_scope): Likewise.
9226         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
9227         attribute_hidden.
9228         (_wordcopy_fwd_dest_aligned): Likewise.
9229         (_wordcopy_bwd_aligned): Likewise.
9230         (_wordcopy_bwd_dest_aligned): Likewise.
9232         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9233         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
9234         Likewise.
9235         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
9236         Likewise.
9237         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
9239 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9241         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
9242         GCC 5 requirement.
9244 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
9246         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
9247         test.
9248         * sysdeps/i386/configure: Regenerated.
9249         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
9250         code unconditional.
9252         * configure.ac (libc_cv_asm_previous_directive): Remove configure
9253         test.
9254         (libc_cv_asm_popsection_directive): Likewise.
9255         * configure: Regenerated.
9256         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
9257         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
9258         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
9259         (__make_section_unallocated): Make definition unconditional.
9260         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
9261         Remove conditional definition.
9262         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
9263         (__make_section_unallocated): Likewise.
9265         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
9266         * configure: Regenerated.
9267         * config.make.in (static-libgcc): Remove variable.
9268         * Makerules (build-shlib-helper): Use -static-libgcc instead of
9269         $(static-libgcc).
9270         (build-module-helper): Likewise.
9272         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
9273         * configure: Regenerated.
9275 2015-10-15  Florian Weimer  <fweimer@redhat.com>
9277         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
9278         (struct char_buffer): New type.
9279         (char_buffer_start, char_buffer_size, char_buffer_error)
9280         (char_buffer_rewind, char_buffer_add): New functions.
9281         (ADDW): Remove macro, replaced by the char_buffer_add function.
9282         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
9283         of extend_alloca.  Make control flow more explicit.
9285 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9287         [BZ #19137]
9288         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
9289         Add -fomit-frame-pointer.
9290         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
9292 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9294         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
9295         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
9296         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
9297         only if !__GNUC_PREREQ (5,0).
9298         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
9299         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
9300         (INTERNAL_SYSCALL_NCS): Likewise.
9301         (LOADREGS_0): New macro for GCC 5.
9302         (ASMARGS_0): Likewise.
9303         (LOADREGS_1): Likewise.
9304         (ASMARGS_1): Likewise.
9305         (LOADREGS_2): Likewise.
9306         (ASMARGS_2): Likewise.
9307         (LOADREGS_3): Likewise.
9308         (ASMARGS_3): Likewise.
9309         (LOADREGS_4): Likewise.
9310         (ASMARGS_4): Likewise.
9311         (LOADREGS_5): Likewise.
9312         (ASMARGS_5): Likewise.
9313         (LOADREGS_6): Likewise.
9314         (ASMARGS_6): Likewise.
9316 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9318         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
9319         -fomit-frame-pointer.
9320         (CFLAGS-mmap64.c): Likewise.
9321         (CFLAGS-semtimedop.c): Likewise.
9322         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
9323         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
9324         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9325         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9327 2015-10-15  Florian Weimer  <fweimer@redhat.com>
9329         [BZ #18928]
9330         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
9331         _dl_pointer_guard member.
9332         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
9333         initializer.
9334         (security_init): Always set up pointer guard.
9335         (process_envvars): Do not process LD_POINTER_GUARD.
9337 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
9339         [BZ #19134]
9340         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
9341         (.LC2): Likewise.
9342         (.LC3): Likewise.
9343         (__lround): Do not add 0.5 to integer or out-of-range arguments.
9345 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9347         [BZ #19129]
9348         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
9349         r0 and r1.
9351 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
9353         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
9355 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
9357         * include/stap-probe.h: Fix macro definition formatting.
9359 2015-10-14  Florian Weimer  <fweimer@redhat.com>
9361         [BZ #19074]
9362         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
9363         load and store num_ifs.
9365 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9367         [BZ #18822]
9368         * sysdeps/unix/sysv/linux/sched_getaffinity.c
9369         (__sched_getaffinity_new): Add libc_hidden_proto and
9370         libc_hidden_def.
9372 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9374         [BZ #19007]
9375         * scripts/localplt.awk: Also allow GOT references.
9376         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
9377         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
9378         with "+ REL R_386_GLOB_DAT".
9379         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
9380         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
9382 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9384         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
9385         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9386         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
9387         Likewise.
9388         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
9389         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
9390         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
9391         INTERNAL_SYSCALLINTERNAL_SYSCALL and
9392         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9393         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
9394         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9395         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
9396         Likewise.
9397         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9399 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
9401         [BZ #19125]
9402         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
9403         <math_private.h> and <stdint.h>.
9404         (__llround): Avoid conversions to and from long long int, and
9405         subtractions, where those might raise spurious exceptions.
9406         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
9407         <math_private.h> and <stdint.h>.
9408         (__llroundf): Avoid conversions to and from long long int, and
9409         subtractions, where those might raise spurious exceptions.
9411 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9413         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
9414         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9415         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9416         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
9417         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9418         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9419         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
9420         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
9421         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
9422         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9423         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9424         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9425         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
9426         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9427         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9428         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
9429         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
9430         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9431         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
9432         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
9433         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
9434         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
9435         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
9436         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
9437         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
9438         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
9439         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
9440         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9441         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9442         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
9443         (__xstat64_conv): Likewise.
9444         (__xstat32_conv): Likewise.
9446 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9448         * sysdeps/unix/sysv/linux/sysdep.h: New file.
9449         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
9450         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
9451         <sysdeps/unix/sysv/linux/sysdep.h>.
9452         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9453         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
9454         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
9455         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9456         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9457         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
9458         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
9459         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
9460         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
9461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9463         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9464         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9465         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9466         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9467         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9468         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
9469         (sysdep-dl-routines): Add sysdep.
9470         [$(subdir) == nptl] (libpthread-routines): Likewise.
9471         [$(subdir) == rt] (librt-routines): Likewise.
9472         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
9473         PIC when branching to SYSCALL_ERROR_LABEL.
9474         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
9475         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
9476         <sysdeps/unix/sysv/linux/sysdep.h>.
9477         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
9478         (SYSCALL_ERROR_ERRNO): Removed.
9479         (SYSCALL_ERROR_HANDLER): Changed to empty.
9480         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
9481         (__syscall_error): New prototype.
9482         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
9483         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
9485 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9487         [BZ #19124]
9488         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
9489         (_dl_runtime_resolve_avx512): Make it a hidden alias of
9490         _dl_runtime_resolve_avx.
9491         (_dl_runtime_profile_avx512): Make it a hidden alias of
9492         _dl_runtime_profile_avx.
9494 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
9496         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
9497         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
9498         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
9499         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
9501         [BZ #16422]
9502         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
9503         New configure test.
9504         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
9505         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
9506         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
9507         <math_private.h> and <stdint.h>.
9508         (__llrint): Avoid conversions to long long int where those might
9509         raise spurious exceptions.
9510         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
9511         <math_private.h> and <stdint.h>.
9512         (__llrintf): Avoid conversions to long long int where those might
9513         raise spurious exceptions.
9515 2015-10-12  Andreas Schwab  <schwab@suse.de>
9517         [BZ #18969]
9518         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
9519         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
9520         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
9521         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
9522         $(gen-locales).
9523         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
9524         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
9525         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
9526         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
9527         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
9528         $(gen-locales).
9529         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
9530         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
9531         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
9532         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
9533         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
9534         ($(objpfx)tst-ftell-active-handler.out)
9535         ($(objpfx)tst-ftell-append.out)
9536         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
9537         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
9538         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
9539         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
9540         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
9541         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
9542         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
9543         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
9544         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
9545         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
9546         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
9547         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
9548         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
9549         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
9550         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
9551         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
9552         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
9553         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
9554         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
9555         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
9556         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
9557         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
9558         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
9559         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
9560         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
9561         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
9562         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
9563         $(gen-locales).
9564         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
9565         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
9566         $(gen-locales).
9567         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
9568         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
9569         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
9570         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
9571         $(gen-locales).
9572         * libio/tst_wprintf2.c (main): Use explicit locale.
9573         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
9575 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9577         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
9578         __msg_sig_post.
9579         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
9581 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
9583         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9584         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9586         * sysdeps/arm/libm-test-ulps: Regenerated.
9588         [BZ #15470]
9589         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
9591         [BZ #16399]
9592         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
9593         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
9594         and <fix-fp-int-convert-overflow.h>.
9595         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
9596         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9597         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
9598         and <fix-fp-int-convert-overflow.h>.
9599         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
9600         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9601         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
9602         <fix-fp-int-convert-overflow.h>.
9603         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
9604         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9605         * sysdeps/ieee754/dbl-64/s_lround.c: Include
9606         <fix-fp-int-convert-overflow.h>.
9607         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
9608         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9609         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
9610         and <fix-fp-int-convert-overflow.h>.
9611         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
9612         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9613         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
9614         <limits.h> and <fix-fp-int-convert-overflow.h>.
9615         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
9616         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9617         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
9618         and <fix-fp-int-convert-overflow.h>.
9619         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
9620         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9621         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
9622         and <fix-fp-int-convert-overflow.h>.
9623         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
9624         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9625         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
9627 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
9629         [BZ #18589]
9630         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
9631         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
9632         $(gen-locales).
9634 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9635             Phil Blundell <pb@pbcl.net>
9637         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
9638         * nptl/tst-cancel26.c: New file.
9639         * nptl/tst-cancel27.c: Likewise.
9641 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
9643         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
9644         __ILP32__ isn't defined.
9645         (lrint): Likewise.
9646         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
9647         (lrintf): Likewise.
9648         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
9649         (lrintl): Likewise.
9650         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
9651         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
9652         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
9654 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9656         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
9657         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
9659         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
9660         file.
9661         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
9662         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
9664 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
9666         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
9667         configure test.
9668         * sysdeps/i386/configure: Regenerated.
9669         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
9670         configure test.
9671         * sysdeps/x86_64/configure: Regenerated.
9672         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
9673         Make code unconditional.
9675         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
9676         test.
9677         * sysdeps/i386/configure: Regenerated.
9678         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
9679         test.
9680         * sysdeps/x86_64/configure: Regenerated.
9681         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
9682         Make code unconditional.
9683         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
9684         Likewise.
9685         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
9686         Likewise.
9687         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9688         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
9689         code unconditional.
9690         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9691         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
9692         code unconditional.
9693         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9694         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
9695         code unconditional.
9696         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
9697         code unconditional.
9698         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9699         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
9700         code unconditional.
9701         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9702         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
9703         code unconditional.
9704         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9705         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
9706         code unconditional.
9707         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9708         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
9709         code unconditional.
9710         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9711         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
9713         [BZ #19095]
9714         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
9715         mantissa to long int before shifting left.
9717 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
9719         [BZ #19094]
9720         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
9721         <limits.h>.
9722         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9723         when result overflows but exception would not result from cast.
9724         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
9725         <limits.h>.
9726         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9727         when result overflows but exception would not result from cast.
9728         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
9729         <limits.h>.
9730         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9731         when result overflows but exception would not result from cast.
9732         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
9733         <limits.h>.
9734         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9735         when result overflows but exception would not result from cast.
9736         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
9737         <limits.h>.
9738         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9739         when result overflows but exception would not result from cast.
9740         * math/libm-test.inc (lrint_test_data): Add more tests.
9741         (llrint_test_data): Likewise.
9743 2015-10-08  Roland McGrath  <roland@hack.frob.com>
9745         [BZ #18872]
9746         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
9747         Move out from under [$(run-built-tests) = yes] conditional.
9748         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
9749         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
9751 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
9753         [BZ #18589]
9754         * string/Makefile (tests): Add bug-strcoll2.
9755         (LOCALES): Add cs_CZ.UTF-8.
9756         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
9758         [BZ #18589]
9759         * string/bug-strcoll2.c: New file.
9760         * locale/categories.def: Revert commit
9761         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
9762         * locale/langinfo.h: Likewise.
9763         * locale/localeinfo.h: Likewise.
9764         * locale/C-collate.c: Likewise.
9765         * locale/programs/ld-collate.c (collate_output): Likewise.
9766         * string/strcoll_l.c (STRDIFF): Likewise.
9767         (STRCOLL): Likewise.
9768         * wcsmbs/wcscoll_l.c: Likewise.
9770 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
9772         * math/libm-test.inc (lround_test_data): Do not expect the absence
9773         of "inexact" for some tests with non-integer arguments.
9774         (llround_test_data): Likewise.
9776         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
9777         test.
9778         (libc_cv_cc_sse2avx): Likewise.
9779         * sysdeps/i386/configure: Regenerated.
9780         * sysdeps/i386/i686/multiarch/Makefile
9781         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
9782         [$(subdir) = math].
9783         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
9784         code unconditional.
9785         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9786         Likewise.
9787         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
9788         Likewise.
9789         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9790         Likewise.
9791         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
9792         test.
9793         (libc_cv_cc_sse2avx): Likewise.
9794         * sysdeps/x86_64/configure: Regenerated.
9795         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
9796         unconditional.
9797         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
9798         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
9799         unconditional.
9800         (_dl_runtime_profile)
9801         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
9802         conditional code.
9803         * sysdeps/x86_64/fpu/multiarch/Makefile
9804         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
9805         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9806         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9807         * sysdeps/x86_64/fpu/multiarch/e_exp.c
9808         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9809         * sysdeps/x86_64/fpu/multiarch/e_log.c
9810         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9811         * sysdeps/x86_64/fpu/multiarch/s_atan.c
9812         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9813         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9814         Likewise.
9815         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9816         Likewise.
9817         * sysdeps/x86_64/fpu/multiarch/s_sin.c
9818         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9819         * sysdeps/x86_64/fpu/multiarch/s_tan.c
9820         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9821         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
9822         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
9823         (HAVE_SSE2AVX_SUPPORT): Likewise.
9825 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
9827         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
9828         instead of #pragma optimize.
9830 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9832         [BZ #17195]
9833         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
9834         as is similarly done in systrim and _int_free already.
9836 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9838         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
9840 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9842         [BZ #19088]
9843         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
9844         <limits.h>.
9845         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
9846         overflows but exception would not result from cast.
9847         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
9848         and <limits.h>.
9849         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
9850         overflows but exception would not result from cast.
9851         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
9852         <limits.h>.
9853         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
9854         overflows but exception would not result from cast.
9855         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
9856         <limits.h>.
9857         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
9858         overflows but exception would not result from cast.
9859         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
9860         <limits.h>.
9861         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
9862         overflows but exception would not result from cast.
9863         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
9864         <limits.h>.
9865         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
9866         overflows but exception would not result from cast.
9867         * math/libm-test.inc (lround_test_data): Add more tests.
9868         (llround_test_data): Likewise.
9870 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
9872         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
9873         (CFLAGS-ialloc.c): Ditto.
9874         (CFLAGS-scheck.c): Ditto.
9876 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9878         [BZ #19086]
9879         * manual/filesys.texi (Storage Allocation): Fix argument order for
9880         posix_fallocate64.
9882 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9884         [BZ #19085]
9885         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
9886         exponent below 48 inside case for non-overflowing exponent.
9887         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
9889 2015-10-07  Florian Weimer  <fweimer@redhat.com>
9891         * iconvdata/cp737.h (from_idx): Add const.
9892         * iconvdata/cp775.h (from_idx): Likewise.
9894 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9896         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
9897         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
9898         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
9900         [BZ #19079]
9901         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
9902         file, conditioned on [!_LP64].
9903         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
9904         [!_LP64] (__lround): Do not define as function or alias.
9905         [!_LP64] (lround): Likewise.
9906         [!_LP64] (__lroundl): Likewise.
9907         [!_LP64] (lroundl): Likewise.
9908         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
9909         macro.
9910         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
9911         Likewise.
9913 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
9915         * math/libm-test.inc (lrint_test_data): Add more tests.
9916         (llrint_test_data): Likewise.
9917         (lround_test_data): Likewise.
9918         (llround_test_data): Likewise.
9920         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
9921         (llrint_test_data): Add tests used for lrint.
9923         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
9924         test.
9925         * sysdeps/i386/configure: Regenerated.
9926         * sysdeps/i386/i686/multiarch/Makefile
9927         [$(config-cflags-sse4) = yes]: Make code unconditional.
9928         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
9929         Likewise.
9930         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
9931         Likewise.
9932         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
9933         test.
9934         * sysdeps/x86_64/configure: Regenerated.
9935         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
9936         Make code unconditional.
9937         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
9938         Likewise.
9939         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
9940         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
9942         * scripts/rpm2dynsym.sh: Remove file.
9944 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9946         * configure.ac (libc_cv_cxx_thread_local): Define.
9947         * configure: Regenerate.
9948         * config.make.in (have-cxx-thread_local): Define.
9949         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
9950         (LDLIBS-tst-thread_local1): Define.
9951         (tests): Add tst-thread_local1.
9952         [have-cxx-thread_local != yes] (tests-unsupported): Add
9953         tst-thread_local1.
9954         * nptl/tst-thread_local1.cc: New file.
9956 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
9958         [BZ #19078]
9959         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
9960         (u_thres): Likewise.
9961         (__expl): Determine whether to call __kernel_standard_l based on
9962         value of result, not argument.
9964         * math/libm-test.inc (scalb_test_data): Add more expectations for
9965         the "inexact" exception.
9967         [BZ #19077]
9968         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
9969         0.0L for argument 1.0L.
9971         [BZ #19076]
9972         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
9973         constant 0.0L when computing infinite result.
9975 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9977         [BZ #10432]
9978         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
9979         malloc_usable_size.
9981 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9983         [BZ #19018]
9984         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9985         Mangle function pointer before storing it.
9986         (__call_tls_dtors): Demangle function pointer before calling it.
9988 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9990         [BZ #19012]
9991         * iconv/gconv_db.c (gen_steps): Check for additional errors.
9992         Clean up on failure.
9994 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
9996         [BZ #19071]
9997         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
9998         long int variable to store possibly incremented high part of
9999         mantissa.
10000         * math/libm-test.inc (lround_test_data): Add tests used for
10001         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
10002         for tests requiring 64-bit long.  Do not condition tests on
10003         [TEST_FLOAT] unnecessarily.
10004         (llround_test_data): Add tests used for lround.  Add another
10005         expectation for the "inexact" exception.  Do not condition tests
10006         on [TEST_FLOAT] unnecessarily.
10008         [BZ #887]
10009         [BZ #19049]
10010         [BZ #19050]
10011         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
10012         * sysdeps/ieee754/dbl-64/e_log10.c: Include
10013         <fix-int-fp-convert-zero.h>.
10014         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10015         * sysdeps/ieee754/dbl-64/e_log2.c: Include
10016         <fix-int-fp-convert-zero.h>.
10017         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10018         * sysdeps/ieee754/dbl-64/s_erf.c: Include
10019         <fix-int-fp-convert-zero.h>.
10020         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10021         * sysdeps/ieee754/dbl-64/s_logb.c: Include
10022         <fix-int-fp-convert-zero.h>.
10023         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10024         * sysdeps/ieee754/flt-32/e_log10f.c: Include
10025         <fix-int-fp-convert-zero.h>.
10026         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10027         * sysdeps/ieee754/flt-32/e_log2f.c: Include
10028         <fix-int-fp-convert-zero.h>.
10029         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10030         * sysdeps/ieee754/flt-32/s_erff.c: Include
10031         <fix-int-fp-convert-zero.h>.
10032         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10033         * sysdeps/ieee754/flt-32/s_logbf.c: Include
10034         <fix-int-fp-convert-zero.h>.
10035         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10036         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
10037         <fix-int-fp-convert-zero.h>.
10038         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10039         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
10040         <fix-int-fp-convert-zero.h>.
10041         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10042         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
10043         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
10044         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
10045         file.
10046         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
10048 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
10050         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10052 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
10054         [BZ #19059]
10055         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
10056         overflowing computation.
10057         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10058         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
10059         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10060         Likewise.
10061         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10062         Likewise.
10063         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
10064         Likewise.
10065         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10066         Likewise.
10067         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10068         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10069         Likewise.
10070         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10071         Likewise.
10072         * math/libm-test.inc (nexttoward_test_data): Add more tests.
10074         * nss/rewrite_field.c (__nss_rewrite_field): Use
10075         internal_function.
10076         * nss/valid_field.c (__nss_valid_field): Likewise.
10077         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
10079 2015-10-02  Florian Weimer  <fweimer@redhat.com>
10081         [BZ #18724]
10082         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
10083         (__nss_invalid_field_characters, __nss_valid_field)
10084         (__nss_valid_list_field, __nss_rewrite_field): Declare.
10085         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
10086         tst-field.c: New file.
10087         * nss/Makefile (routines): Add valid_field, rewrite_field.
10088         (tests-static): Define unconditionally.
10089         (tests): Include tests-static.
10090         [build-static-nss] (tests-static): Use append.
10091         [build-static-nss] (tests): Remove modification.
10092         * nss/getent.c (print_group): Call putgrent.  Report error.
10093         (print_gshadow): Call putsgent.  Report error.
10094         (print_passwd): Call putpwent.  Report error.
10095         (print_shadow): Call putspent.  Report error.
10096         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
10097         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
10098         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
10099         name, password, directory, shell fields for valid syntax.  Rewrite
10100         GECOS field to match syntax.
10101         * pwd/Makefile (tests): Add tst-putpwent.
10102         * pwd/tst-putpwent.c: New file.
10103         * grp/putgrent.c (putgrent): Convert to ISO function definition.
10104         Check grName, grpasswd, gr_mem fields for valid syntax.
10105         Change loop variable i to size_t.
10106         * grp/Makefile (tests): Add tst-putgrent.
10107         * grp/tst-putgrent.c: New file.
10108         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
10109         valid syntax.
10110         * shadow/Makefile (tests): Add tst-putspent.
10111         * shadow/tst-putspent.c: New file.
10112         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
10113         sg_mem fields for valid syntax.
10114         * gshadow/Makefile (tests): Add tst-putsgent.
10115         * gshadow/tst-putsgent.c: New file.
10117 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10119         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
10120         assembly instructions.
10122 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10124         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
10125         prefix from operands.
10127 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
10129         [BZ #16347]
10130         [BZ #19046]
10131         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
10132         <libc-internal.h>.
10133         (MAXLGM): Do not use diagnostic control macros.
10134         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
10135         threshold for ldbl-128ibm.
10136         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
10137         instead of multiplying by log then subtracting.
10138         * math/auto-libm-test-in: Add more tests of lgamma.
10139         * math/auto-libm-test-out: Regenerated.
10141         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
10142         (TYPE_HEX_DIG): Likewise.
10143         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
10144         precisions when printing floating-point numbers.
10145         (check_float_internal): Likewise.
10147 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
10149         [BZ #16620]
10150         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
10151         of log (10) rounded downward to 48 bits.
10152         (log10_low): Use corresponding low part of log (10).
10154         [BZ #19032]
10155         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
10156         compute result as (x - x) / (x - x) not as 0 / 0.
10157         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10158         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
10160         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10161         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
10162         and expm1.
10163         * math/auto-libm-test-out: Regenerated.
10164         * math/libm-test.inc (acos_test_data): Add more tests.
10165         (asin_test_data): Likewise.
10166         (asinh_test_data): Likewise.
10167         (atan_test_data): Likewise.
10168         (atanh_test_data): Likewise.
10169         (atan2_test_data): Likewise.
10170         (cbrt_test_data): Likewise.
10171         (ceil_test_data): Likewise.
10172         (copysign_test_data): Likewise.
10173         (cos_test_data): Likewise.
10174         (cosh_test_data): Likewise.
10175         (erf_test_data): Likewise.
10176         (erfc_test_data): Likewise.
10177         (exp_test_data): Likewise.
10178         (exp10_test_data): Likewise.
10179         (exp2_test_data): Likewise.
10180         (expm1_test_data): Likewise.
10181         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10183 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
10185         [BZ #19006]
10186         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
10187         to ...
10188         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
10189         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
10190         to ...
10191         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
10192         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
10193         to ...
10194         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
10195         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
10196         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
10197         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
10198         to ...
10199         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
10200         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10201         Moved to ...
10202         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
10203         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10204         Moved to ...
10205         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
10206         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
10207         to ...
10208         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
10209         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10210         Moved to ...
10211         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
10212         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
10213         to ...
10214         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
10215         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
10216         Removed.
10217         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
10218         Likewise.
10219         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
10220         Likewise.
10221         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
10222         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
10223         Likewise.
10224         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10225         Likewise.
10226         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10227         Likewise.
10228         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10229         Likewise.
10230         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10231         Likewise.
10232         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
10233         Likewise.
10234         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
10235         Likewise.
10236         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
10237         Likewise.
10238         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
10239         Likewise.
10240         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
10241         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
10242         Likewise.
10243         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10244         Likewise.
10245         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10246         Likewise.
10247         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10248         Likewise.
10249         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
10250         Likewise.
10251         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10252         Replace ../i486/pthread_cond_timedwait.S with
10253         ../pthread_cond_timedwait.S.
10255 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
10257         * math/libm-test.inc (acos_test_data): Refine expectations for
10258         errno and "inexact" exceptions.
10259         (acosh_test_data): Likewise.
10260         (asin_test_data): Likewise.
10261         (asinh_test_data): Likewise.
10262         (atan_test_data): Likewise.
10263         (atanh_test_data): Likewise.
10264         (atan2_test_data): Likewise.
10265         (cbrt_test_data): Likewise.
10266         (ceil_test_data): Likewise.
10267         (copysign_test_data): Likewise.
10268         (cosh_test_data): Likewise.
10269         (erf_test_data): Likewise.
10270         (erfc_test_data): Likewise.
10271         (exp_test_data): Likewise.
10272         (exp10_test_data): Likewise.
10273         (exp2_test_data): Likewise.
10274         (expm1_test_data): Likewise.
10275         (fabs_test_data): Likewise.
10276         (floor_test_data): Likewise.
10277         (fma_test_data): Likewise.
10278         (fmax_test_data): Likewise.
10279         (fmin_test_data): Likewise.
10280         (fmod_test_data): Likewise.
10281         (fpclassify_test_data): Likewise.
10282         (frexp_test_data): Likewise.
10283         (hypot_test_data): Likewise.
10284         (ilogb_test_data): Likewise.
10285         (isgreater_test_data): Likewise.
10286         (isgreaterequal_test_data): Likewise.
10287         (isinf_test_data): Likewise.
10288         (isless_test_data): Likewise.
10289         (islessequal_test_data): Likewise.
10290         (islessgreater_test_data): Likewise.
10291         (isnan_test_data): Likewise.
10292         (isnormal_test_data): Likewise.
10293         (issignaling_test_data): Likewise.
10294         (isunordered_test_data): Likewise.
10295         (j0_test_data): Likewise.
10296         (j1_test_data): Likewise.
10297         (jn_test_data): Likewise.
10298         (lgamma_test_data): Likewise.
10299         (lrint_test_data): Likewise.
10300         (llrint_test_data): Likewise.
10301         (log_test_data): Likewise.
10302         (log10_test_data): Likewise.
10303         (log1p_test_data): Likewise.
10304         (log2_test_data): Likewise.
10305         (logb_test_data): Likewise.
10306         (lround_test_data): Likewise.
10307         (llround_test_data): Likewise.
10308         (modf_test_data): Likewise.
10309         (nearbyint_test_data): Likewise.
10310         (nextafter_test_data): Likewise.
10311         (nexttoward_test_data): Likewise.
10312         (pow_test_data): Likewise.
10313         (remainder_test_data): Likewise.
10314         (remquo_test_data): Likewise.
10315         (rint_test_data): Likewise.
10316         (round_test_data): Likewise.
10317         (signbit_test_data): Likewise.
10318         (sinh_test_data): Likewise.
10319         (sqrt_test_data): Likewise.
10320         (tanh_test_data): Likewise.
10321         (tgamma_test_data): Likewise.
10322         (trunc_test_data): Likewise.
10323         (y0_test_data): Likewise.
10324         (y1_test_data): Likewise.
10325         (yn_test_data): Likewise.
10326         (significand_test_data): Likewise.
10328 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
10330         * manual/filesys.texi (Storage Allocation): Document that
10331         posix_fallocate emulation fails when fd is open with O_WRONLY.
10333 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
10335         [BZ #19016]
10336         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
10337         allow more cases with X^2 + Y^2 >= 0.5.
10338         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
10339         normal element in sum instead of special-casing based on values of
10340         arguments.
10341         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
10342         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
10343         -1 as normal element in sum instead of special-casing based on
10344         values of arguments.
10345         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
10346         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
10347         (__x2y2m1): Update comment.
10348         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
10349         as normal element in sum instead of special-casing based on values
10350         of arguments.
10351         * math/s_clog.c (__clog): Handle more cases using log1p without
10352         hypot.
10353         * math/s_clog10.c (__clog10): Likewise.
10354         * math/s_clog10f.c (__clog10f): Likewise.
10355         * math/s_clog10l.c (__clog10l): Likewise.
10356         * math/s_clogf.c (__clogf): Likewise.
10357         * math/s_clogl.c (__clogl): Likewise.
10358         * math/auto-libm-test-in: Add more tests of clog and clog10.
10359         * math/auto-libm-test-out: Regenerated.
10360         * sysdeps/i386/fpu/libm-test-ulps: Update.
10361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10363 2015-09-28  Martin Sebor  <msebor@redhat.com>
10365         [BZ #18969]
10366         * string/Makefile (LOCALES): Define.
10367         (gen-locales.mk): Include.
10368         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
10369         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
10370         * string/tst-strxfrm2.c (do_test): Print the name of the locale
10371         on setlocale failure.
10373 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
10375         [BZ #18985]
10376         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
10377         (__strftime_internal): Likewise.
10378         * time/tst-strftime.c (do_bz18985): New test.
10379         (do_test): Call it.
10381 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
10383         [BZ #18956]
10384         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
10385         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
10386         extracting high part.
10387         * math/auto-libm-test-in: Add another test of pow.
10388         * math/auto-libm-test-out: Regenerated.
10389         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10391 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
10393         [BZ #18825]
10394         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
10395         New macro.
10396         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
10397         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10398         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
10399         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
10400         DBL_NARROW_EVAL, reloading the PIC register as needed.
10401         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
10402         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
10403         FLT_NARROW_EVAL.  Use separate return path for case when first
10404         argument is NaN.
10405         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
10406         DEFINE_LDBL_MIN.
10407         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
10408         PIC register.
10409         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
10410         math_check_force_underflow_nonneg.
10411         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
10412         underflow for subnormal result.
10413         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10414         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
10415         math_check_force_underflow_nonneg.
10416         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
10417         math_check_force_underflow.
10418         * sysdeps/x86_64/fpu/x86_64-math-asm.h
10419         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
10420         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
10421         DEFINE_LDBL_MIN.
10422         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
10423         * math/auto-libm-test-in: Add more tests of pow.
10424         * math/auto-libm-test-out: Regenerated.
10426 2015-09-25  Florian Weimer  <fweimer@redhat.com>
10428         * nss/bug17079.c (init_test_items): Add diagnostic for
10429         inconsistent entries.
10430         (test_buffer_size): Skip inconsistent entries.
10432 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
10434         [BZ #13304]
10435         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
10436         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
10437         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
10439         [BZ #13304]
10440         * sysdeps/microblaze/s_fma.c: New file.
10441         * sysdeps/microblaze/s_fmaf.c: Likewise.
10442         * sysdeps/microblaze/sfp-machine.h: Likewise.
10444 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
10446         [BZ #17250]
10447         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
10448         member.
10450 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
10452         [BZ #18803]
10453         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
10454         (MO): New macro.
10455         (__ieee754_hypot) [PIC]: Load PIC register.
10456         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
10457         DBL_NARROW_EVAL.
10458         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
10459         math_check_force_underflow_nonneg in case where result might be
10460         tiny.
10461         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10462         Likewise.
10463         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10464         Likewise.
10465         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
10466         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
10467         * math/auto-libm-test-in: Add more tests of hypot.
10468         * math/auto-libm-test-out: Regenerated.
10470 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
10472         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
10474 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
10476         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
10477         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
10478         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
10479         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
10480         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
10481         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
10482         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
10484         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
10485         LOAD_PIC_REG.
10487         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
10488         (FLT_CHECK_FORCE_UFLOW): Likewise.
10489         (DBL_CHECK_FORCE_UFLOW): Likewise.
10490         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
10491         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
10492         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
10493         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10494         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10495         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10496         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10497         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10498         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
10499         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10500         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
10501         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
10502         (flt_min): Replace with use of DEFINE_FLT_MIN.
10503         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
10504         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
10505         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10506         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
10507         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
10508         (flt_min): Replace with use of DEFINE_FLT_MIN.
10509         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
10510         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
10511         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10512         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
10513         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
10514         (flt_min): Replace with use of DEFINE_FLT_MIN.
10515         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
10516         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
10517         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
10518         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
10519         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
10520         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
10521         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
10522         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
10523         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10524         (__atan): Use DBL_CHECK_FORCE_UFLOW.
10525         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
10526         (flt_min): Replace with use of DEFINE_FLT_MIN.
10527         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
10528         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
10529         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10530         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
10531         main computation.
10532         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
10533         (flt_min): Replace with use of DEFINE_FLT_MIN.
10534         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
10535         main computation.
10536         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
10537         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10538         (MO): New macro.
10539         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
10540         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
10541         (flt_min): Replace with use of DEFINE_FLT_MIN.
10542         (MO): New macro.
10543         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
10544         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
10545         (__log1pl): Use MO.
10547         [BZ #19003]
10548         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
10549         $(config-cflags-nofma).
10551 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10553         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10555 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
10557         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
10558         (TWO127): Likewise.
10560         * sysdeps/generic/math_private.h (fabs_tg): New macro.
10561         (min_of_type): Likewise.
10562         (math_check_force_underflow): Likewise.
10563         (math_check_force_underflow_nonneg): Likewise.
10564         (math_check_force_underflow_complex): Likewise.
10565         * math/e_exp2l.c (__ieee754_exp2l): Use
10566         math_check_force_underflow_nonneg.
10567         * math/k_casinh.c (__kernel_casinh): Likewise.
10568         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10569         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10570         * math/s_catan.c (__catan): Use
10571         math_check_force_underflow_complex.
10572         * math/s_catanf.c (__catanf): Likewise.
10573         * math/s_catanh.c (__catanh): Likewise.
10574         * math/s_catanhf.c (__catanhf): Likewise.
10575         * math/s_catanhl.c (__catanhl): Likewise.
10576         * math/s_catanl.c (__catanl): Likewise.
10577         * math/s_ccosh.c (__ccosh): Likewise.
10578         * math/s_ccoshf.c (__ccoshf): Likewise.
10579         * math/s_ccoshl.c (__ccoshl): Likewise.
10580         * math/s_cexp.c (__cexp): Likewise.
10581         * math/s_cexpf.c (__cexpf): Likewise.
10582         * math/s_cexpl.c (__cexpl): Likewise.
10583         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
10584         * math/s_clog10.c (__clog10): Likewise.
10585         * math/s_clog10f.c (__clog10f): Likewise.
10586         * math/s_clog10l.c (__clog10l): Likewise.
10587         * math/s_clogf.c (__clogf): Likewise.
10588         * math/s_clogl.c (__clogl): Likewise.
10589         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
10590         * math/s_csinf.c (__csinf): Likewise.
10591         * math/s_csinh.c (__csinh): Likewise.
10592         * math/s_csinhf.c (__csinhf): Likewise.
10593         * math/s_csinhl.c (__csinhl): Likewise.
10594         * math/s_csinl.c (__csinl): Likewise.
10595         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
10596         * math/s_csqrtf.c (__csqrtf): Likewise.
10597         * math/s_csqrtl.c (__csqrtl): Likewise.
10598         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
10599         * math/s_ctanf.c (__ctanf): Likewise.
10600         * math/s_ctanh.c (__ctanh): Likewise.
10601         * math/s_ctanhf.c (__ctanhf): Likewise.
10602         * math/s_ctanhl.c (__ctanhl): Likewise.
10603         * math/s_ctanl.c (__ctanl): Likewise.
10604         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
10605         instead of volatile.
10606         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
10607         math_check_force_underflow.
10608         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10609         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
10610         volatile when forcing underflow.
10611         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10612         math_check_force_underflow_nonneg.
10613         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10614         Likewise.
10615         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
10616         math_check_force_underflow.
10617         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10618         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10619         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10620         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
10621         math_check_force_underflow_nonneg.
10622         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
10623         math_check_force_underflow.
10624         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
10625         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
10626         instead of volatile.
10627         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
10628         math_check_force_underflow.
10629         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10630         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10631         math_check_force_underflow_nonneg.
10632         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
10633         math_check_force_underflow.
10634         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
10635         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10636         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
10637         math_check_force_underflow_nonneg.
10638         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10639         Likewise.
10640         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
10641         math_check_force_underflow.
10642         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10643         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
10644         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10645         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
10646         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
10647         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
10648         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
10649         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
10650         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10651         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
10652         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
10653         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
10654         Likewise.
10655         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
10656         math_check_force_underflow_nonneg.
10657         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10658         Likewise.
10659         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
10660         math_check_force_underflow.
10661         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10662         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
10663         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10664         Likewise.
10665         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
10666         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
10667         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
10668         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
10669         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
10670         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
10671         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
10672         instead of volatile.
10673         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
10674         math_check_force_underflow.
10675         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
10676         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
10677         math_check_force_underflow.
10678         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
10679         Likewise.
10680         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10681         Use math_check_force_underflow_nonneg.
10682         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
10683         math_check_force_underflow.
10684         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
10685         Likewise.
10686         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10687         Likewise.
10688         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10689         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10690         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10691         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10692         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
10693         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10694         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
10695         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
10696         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
10697         math_check_force_underflow_nonneg.
10698         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
10699         math_check_force_underflow.
10700         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10701         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
10702         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
10703         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
10704         math_check_force_underflow_nonneg.
10705         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
10706         math_check_force_underflow.
10707         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
10708         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
10709         instead of volatile.
10710         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
10711         math_check_force_underflow.
10713         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
10714         * stdlib/strtod_l.c: Include <math_private.h>.
10715         (overflow_value): Use math_narrow_eval.
10716         (underflow_value): Likewise.
10717         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10718         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
10719         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
10720         (__ieee754_gamma_r): Likewise.
10721         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
10722         Likewise.
10723         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10724         Likewise.
10725         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
10726         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
10727         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
10728         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
10729         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10730         (__ieee754_gammaf_r): Likewise.
10731         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10732         Likewise.
10733         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
10734         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
10735         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
10736         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
10737         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
10738         volatile.
10739         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
10740         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
10741         math_narrow_eval.
10742         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
10743         Likewise.
10744         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10745         Likewise.
10746         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
10747         Likewise.
10748         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
10749         volatile.
10750         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
10751         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
10752         math_narrow_eval.
10753         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10754         Likewise.
10755         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10756         Likewise.
10758 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
10760         * nptl/Versions: Remove ignored symbols.
10762 2015-09-22  Florian Weimer  <fweimer@redhat.com>
10764         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
10765         * nss/Makefile (tests): Update.
10767 2015-09-22  Florian Weimer  <fweimer@redhat.com>
10769         * nss/bug18287.c: New file.
10770         * nss/Makefile (tests): Add bug18287.
10772 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10774         * mach/Versions (__mach_host_self_): Add symbol.
10776 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10778         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
10779         vm_page_size.
10781 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10783         Really fix sysdeps/i386/fpu/s_scalbn.S build
10785         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
10786         (libc: GLIBC_2_22): Remove unused version set.
10788 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10790         * config.make.in (enable-timezone-tools): New variable.
10791         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
10792         (enable_timezone_tools): Export to generated files.
10793         * configure: Regenerate.
10794         * INSTALL: Regenerate.
10795         * manual/install.texi (--disable-timezone-tools): Document new flag.
10796         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
10797         ifeq ($(enable-timezone-tools),yes) check.
10799 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10801         * timezone/Makefile: Revert previous change.
10803         [BZ #18980]
10804         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
10805         (DEFINE_DBL_MIN): Likewise.
10806         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10807         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10808         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10809         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10810         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
10811         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10812         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10813         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
10814         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
10815         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10816         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10817         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
10818         (flt_min): Replace with use of DEFINE_FLT_MIN.
10819         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10820         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
10821         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10822         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10823         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
10824         (flt_min): Replace with use of DEFINE_FLT_MIN.
10825         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10826         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
10827         (flt_min): Replace with use of DEFINE_FLT_MIN.
10828         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10829         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
10830         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
10831         (__ieee754_hypot): Use DBL_NARROW_EVAL.
10832         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
10833         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
10834         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
10835         (__ieee754_pow): Use DBL_NARROW_EVAL.
10836         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
10837         (__ieee754_powf): Use FLT_NARROW_EVAL.
10838         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
10839         (__ieee754_expf_sse2): Convert double-precision result to single
10840         precision.
10841         * sysdeps/i386/fpu/libm-test-ulps: Update.
10843 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10845         * timezone/Makefile: Ignore unused variable errors due to private.h
10846         (time_t_min) and (time_t_max).
10847         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
10848         Likewise.
10850 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10852         [BZ #18981]
10853         * sysdeps/i386/fpu/i386-math-asm.h: New file.
10854         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
10855         (__ieee754_scalb): Use DBL_NARROW_EVAL.
10856         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
10857         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
10858         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
10859         (__scalbn): Use DBL_NARROW_EVAL.
10860         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
10861         (__scalbnf): Use FLT_NARROW_EVAL.
10863 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10865         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
10866         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
10867         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
10868         * stdio-common/printf_fp.c (___printf_fp):
10869         Use signbit to get the sign. Use isinf macro to allow inlining.
10870         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
10871         * stdio-common/printf_size.c (__printf_size): Likewise.
10873 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10875         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
10877 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10879         [BZ #18980]
10880         * sysdeps/generic/math_private.h: Include <float.h>.
10881         (math_narrow_eval): New macro.
10882         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
10883         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
10884         math_narrow_eval on overflowing return value.
10885         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
10886         Likewise.
10887         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10888         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
10889         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
10890         Likewise.
10891         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
10893 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10895         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
10896         * math/Makefile: Remove isinf_ns.c.
10897         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
10898         * math/multc3.c (__multc3): Likewise.
10899         * math/s_casin.c (__casin): Likewise.
10900         * math/s_casinf.c (__casinf): Likewise.
10901         * math/s_casinl.c (__casinl): Likewise.
10902         * math/s_cproj.c (__cproj): Likewise.
10903         * math/s_cprojf.c (__cprojf): Likewise.
10904         * math/s_cprojl.c (__cprofl): Likewise.
10905         * math/s_ctan.c (__ctan): Likewise.
10906         * math/s_ctanf.c (__ctanf): Likewise.
10907         * math/s_ctanh.c (__ctanh): Likewise.
10908         * math/s_ctanhf.c (__ctanhf): Likewise.
10909         * math/s_ctanhl.c (__ctanhl): Likewise.
10910         * math/s_ctanl.c (__ctanl): Likewise.
10911         * math/w_fmod.c (__fmod): Likewise.
10912         * math/w_fmodf.c (__fmodf): Likewise.
10913         * math/w_fmodl.c (_fmodl): Likewise.
10914         * math/w_remainder.c (__remainder): Likewise.
10915         * math/w_remainderf.c (__remainderf): Likewise.
10916         * math/w_remainderl.c (__remainderl): Likewise.
10917         * math/w_scalb.c (__scalb): Likewise.
10918         * math/w_scalbf.c (__scalbf): Likewise.
10919         * math/w_scalbl.c (__scalbl): Likewise.
10920         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
10921         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
10922         with isinf.
10923         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
10924         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
10925         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
10926         __isinf_nsf with isinf.
10927         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
10928         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
10929         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
10930         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
10931         with isinf.
10932         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
10933         __isinf_nsl with isinf.
10934         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
10935         with isinf.
10936         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
10937         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
10938         __isinf_nsl with isinf.
10939         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
10940         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
10941         with isinf.
10943 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10945         * resolv/base64.c (rcsid): Remove unused static.
10946         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
10947         static.  (tqpi1): Likewise.
10948         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
10949         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
10950         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
10951         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
10952         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
10953         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
10954         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
10955         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
10956         Likewise.
10958 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
10960         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
10961         <nptl/pthreadP.h>.
10962         (_longjmp_unwind): Use __libc_ptf_call.
10963         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
10965 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
10967         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
10968         * sysdeps/arm/__longjmp.S: Likewise.
10970 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10972         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
10973         Use __builtin_signbit.
10974         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
10975         Use __builtin_signbitf.
10976         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
10977         Use __builtin_signbitl.
10978         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10979         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
10981 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10983         [BZ #15367]
10984         [BZ #17441]
10986         * math/Makefile: Build test-snan.c with -fsignaling-nans.
10987         * math/math.h (fpclassify): Use __builtin_fpclassify when
10988         available.  (signbit): Use __builtin_signbit(f/l).
10989         (isfinite): Use__builtin_isfinite.  (isnormal): Use
10990         __builtin_isnormal.  (isnan): Use __builtin_isnan.
10991         (isinf): Use __builtin_isinf_sign.
10993 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10995         * benchtests/Makefile: Add bench-math-inlines, link with libm.
10996         * benchtests/bench-math-inlines.c: New benchmark.
10997         * benchtests/bench-util.h: New file.
10998         * benchtests/bench-util.c: New file.
10999         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
11001 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
11003         * elf/tst-dlmopen1.c: Define TEST_SO.
11004         (do_test): Use TEST_SO.
11006         * elf/dl-load.c: Include libc-internal.h.
11007         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
11009 2015-09-18  Vincent Bernat  <vincent@bernat.im>
11011         [BZ #17887]
11012         * time/strptime_l.c (__strptime_internal): Make %z accept
11013         [+-]HH:MM time zones.
11015 2015-09-18  Vincent Bernat  <vincent@bernat.im>
11017         [BZ #17886]
11018         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
11019         valid time zone.
11021 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
11023         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
11024         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
11025         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11026         (__ASSUME_FDATASYNC): Delete.
11028 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11030         * conform/linknamespace.pl: Require weak undefined symbols to be
11031         in the standard namespace.
11032         (%strong_syms): Rename to %seen_syms.
11033         (%strong_seen): Rename to %seen_where.
11035 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
11037         [BZ #18970]
11038         * misc/error.c (error): Replace pthread_setcancelstate with
11039         __pthread_setcancelstate.
11040         (error_at_line): Likewise.
11041         * posix/wordexp.c (parse_comm): Likewise.
11042         * stdlib/fmtmsg.c (fmtmsg): Likewise.
11043         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
11044         (__pthread_setcancelstate): This.
11045         (pthread_setcancelstate): Add an alias.
11046         * nptl/nptl-init.c (pthread_functions): Replace
11047         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
11048         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
11049         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
11050         hidden_proto.
11051         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
11052         it with hidden_def.
11053         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
11054         (pthread_setcancelstate): Renamed to ...
11055         (__pthread_setcancelstate): This.
11056         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
11057         __libc_ptf_call with __pthread_setcancelstate.
11059 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11060             Andreas Schwab  <schwab@suse.de>
11062         [BZ #17118]
11063         * math/s_ctan.c (__ctan): Determine sign of zero real part of
11064         result when imaginary part of argument is infinite using sine and
11065         cosine.
11066         * math/s_ctanf.c (__ctanf): Likewise.
11067         * math/s_ctanl.c (__ctanl): Likewise.
11068         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
11069         of result when real part of argument is infinite using sine and
11070         cosine.
11071         * math/s_ctanhf.c (__ctanhf): Likewise.
11072         * math/s_ctanhl.c (__ctanhl): Likewise.
11073         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
11074         (ctanh_test_data): Add more tests of ctanh.
11076 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11078         [BZ #15384]
11079         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
11080         bit-mask as in subtraction.
11081         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
11082         Likewise.
11083         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
11084         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
11085         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
11087         [BZ #18951]
11088         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
11089         underflow exception for small results.
11090         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11091         Likewise.
11092         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11093         Likewise.
11094         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11095         Likewise.
11096         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11097         Likewise.
11098         * math/auto-libm-test-in: Add more tests of tgamma.
11099         * math/auto-libm-test-out: Regenerated.
11101 2015-09-17  Andreas Schwab  <schwab@suse.de>
11103         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
11105 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
11107         [BZ #18977]
11108         * math/bits/mathcalls.h
11109         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
11110         not declare.
11111         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
11112         Likewise.
11113         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
11114         Likewise.
11115         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
11116         Likewise.
11117         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
11118         Likewise.
11119         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
11120         Likewise.
11121         * conform/data/math.h-data
11122         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
11123         function.
11124         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
11125         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
11126         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
11127         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
11128         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
11129         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
11130         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
11131         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
11132         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
11133         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
11134         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
11136         [BZ #6803]
11137         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
11138         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
11139         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
11140         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
11141         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
11142         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
11143         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
11144         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
11145         [NO_LONG_DOUBLE] (scalbnl): Likewise.
11146         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
11147         Likewise.
11148         [NO_LONG_DOUBLE] (scalbnl): Likewise.
11149         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
11150         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
11151         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
11152         long_double_symbol calls.
11153         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
11154         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
11155         strong alias of __ldexpl.
11156         (scalbnl): Define using long_double_symbol.
11157         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
11158         Remove alias.
11159         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
11160         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
11161         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
11162         (scalbln_test_data): Add more errno expectations.
11164 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
11166         Cache the host port like we cache the task port.  This way we do not
11167         need to call the kernel just to get the port.  Furthermore, we no
11168         longer increase the reference count on every invocation of
11169         `mach_host_self'.
11171         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
11172         Protect declarations against the macro expansion.
11173         * mach/mach_init.c (__mach_host_self_): New variable.
11174         (mach_init): Initialize `__mach_host_self_'.
11175         * mach/mach_init.h (__mach_host_self_): New declaration.
11176         (__mach_host_self, mach_host_self): New macros.
11177         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
11178         Release reference.
11180 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
11182         [BZ #4404]
11183         * po/de.po: Update from Translation Project.
11185         [BZ #16415]
11186         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
11187         (__expm1l): Remove code to handle positive infinity and overflow.
11188         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
11189         variable.
11190         (__expm1l): Remove code to handle positive infinity and overflow.
11192 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
11193             Paul Pluzhnikov  <ppluzhnikov@google.com>
11195         [BZ #18872]
11196         * stdio-common/Makefile (tst-printf-bz18872): New test.
11197         (tst-printf-bz18872-mem.out): Likewise.
11198         * stdio-common/tst-printf-bz18872.sh: Generate new test.
11199         * stdio-common/vfprintf.c: Fix memory leaks.
11201 2015-09-16  Andreas Schwab  <schwab@suse.de>
11203         [BZ #17244]
11204         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
11205         Remove extra va_start/va_end calls.
11207         [BZ #17243]
11208         * posix/execl.c (execl): Add missing va_end.
11209         * posix/execle.c (execle): Likewise.
11210         * posix/execlp.c (execlp): Likewise.
11212 2015-09-15  Roland McGrath  <roland@hack.frob.com>
11214         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
11215         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
11217 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
11219         [BZ #18967]
11220         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
11221         undefine around includes of <bits/mathcalls.h>.
11222         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
11223         not declare function.
11224         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
11225         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
11226         (scalb): Likewise.
11227         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
11228         not define macro.
11229         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
11230         variable.
11231         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11232         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11233         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11235         [BZ #18857]
11236         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
11237         return non-finite argument without doing ordered comparisons on
11238         it.
11240         [BZ #16296]
11241         * math/fenv.h (fegetround): Use __attribute_pure__.
11242         * include/fenv.h (__fegetround): Likewise.
11244         [BZ #18595]
11245         * math/s_ctan.c (__ctan): Force underflow exception for results
11246         whose real or imaginary part has small absolute value.
11247         * math/s_ctanf.c (__ctanf): Likewise.
11248         * math/s_ctanh.c (__ctanh): Likewise.
11249         * math/s_ctanhf.c (__ctanhf): Likewise.
11250         * math/s_ctanhl.c (__ctanhl): Likewise.
11251         * math/s_ctanl.c (__ctanl): Likewise.
11252         * math/auto-libm-test-in: Do not allow missing underflow for ctan
11253         and ctanh.  Add more tests of ctan and ctanh.
11255         [BZ #15918]
11256         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
11257         handling of cases where one argument is an infinity.
11259         [BZ #18875]
11260         [BZ #18966]
11261         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
11262         (MO): New macro.
11263         (__ieee754_exp10): For small results, force underflow exception
11264         and remove excess range and precision from return value.
11265         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
11266         (MO): New macro.
11267         (__ieee754_exp10f): For small results, force underflow exception
11268         and remove excess range and precision from return value.
11269         * math/auto-libm-test-in: Add more tests of exp10.
11270         * math/auto-libm-test-out: Regenerated.
11272 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
11274         [BZ #18875]
11275         [BZ #18961]
11276         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
11277         (MO): New macro.
11278         (__ieee754_exp): For small results, force underflow exception and
11279         remove excess range and precision from return value.
11280         (__exp_finite): Likewise.
11281         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
11282         (MO): New macro.
11283         (__ieee754_expf): For small results, force underflow exception and
11284         remove excess range and precision from return value.
11285         (__expf_finite): Likewise.
11286         * math/auto-libm-test-in: Add more tests of exp.
11287         * math/auto-libm-test-out: Regenerated.
11289         [BZ #16521]
11290         [BZ #18875]
11291         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
11292         small results.
11293         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
11294         (MO): New macro.
11295         (__ieee754_exp2): For small results, force underflow exception and
11296         remove excess range and precision from return value.
11297         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
11298         (MO): New macro.
11299         (__ieee754_exp2f): For small results, force underflow exception
11300         and remove excess range and precision from return value.
11301         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
11302         (MO): New macro.
11303         (__ieee754_exp2l): Force underflow exception for small results.
11304         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11305         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
11306         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
11307         (MO): New macro.
11308         (__ieee754_exp2l): Force underflow exception for small results.
11309         * math/auto-libm-test-in: Add more tests or exp2.
11310         * math/auto-libm-test-out: Regenerated.
11312 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
11314         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
11316         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
11317         /dev/null.
11319 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11321         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11322         io fs process)): Drop spurious backslash.
11324 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11326         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
11327         Use sysinfo system call instead of parsing /proc/meminfo.
11328         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
11329         Likewise.
11331 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
11333         [BZ #16985]
11334         * programs/localedef.c (main): Display argv[remaining] when
11335         output_path is NULL.
11337 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
11339         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11340         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
11341         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
11342         tanh.
11343         * math/auto-libm-test-out: Regenerated.
11344         * sysdeps/i386/fpu/libm-test-ulps: Update.
11345         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11346         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11349 2015-09-11  Roland McGrath  <roland@hack.frob.com>
11351         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
11352         Use 'override' keyword to freeze the value here, preventing
11353         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
11355 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
11357         [BZ #14912]
11358         * sysdeps/aarch64/bits/atomic.h: Move to ...
11359         * sysdeps/aarch64/atomic-machine.h: ...here.
11360         (_AARCH64_BITS_ATOMIC_H): Rename macro to
11361         _AARCH64_ATOMIC_MACHINE_H.
11362         * sysdeps/alpha/bits/atomic.h: Move to ...
11363         * sysdeps/alpha/atomic-machine.h: ...here.
11364         * sysdeps/arm/bits/atomic.h: Move to ...
11365         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
11366         * bits/atomic.h: Move to ...
11367         * sysdeps/generic/atomic-machine.h: ...here.
11368         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11369         * sysdeps/i386/bits/atomic.h: Move to ...
11370         * sysdeps/i386/atomic-machine.h: ...here.
11371         * sysdeps/ia64/bits/atomic.h: Move to ...
11372         * sysdeps/ia64/atomic-machine.h: ...here.
11373         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
11374         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
11375         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11376         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
11377         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
11378         * sysdeps/microblaze/bits/atomic.h: Move to ...
11379         * sysdeps/microblaze/atomic-machine.h: ...here.
11380         * sysdeps/mips/bits/atomic.h: Move to ...
11381         * sysdeps/mips/atomic-machine.h: ...here.
11382         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
11383         * sysdeps/powerpc/bits/atomic.h: Move to ...
11384         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
11385         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
11386         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
11387         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
11388         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
11389         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
11390         <atomic-machine.h> instead of <bits/atomic.h>.
11391         * sysdeps/s390/bits/atomic.h: Move to ...
11392         * sysdeps/s390/atomic-machine.h: ...here.
11393         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
11394         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
11395         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11396         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
11397         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
11398         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
11399         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
11400         * sysdeps/tile/bits/atomic.h: Move to ...
11401         * sysdeps/tile/atomic-machine.h: ...here.
11402         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
11403         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
11404         <sysdeps/tile/atomic-machine.h> instead of
11405         <sysdeps/tile/bits/atomic.h>.
11406         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11407         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
11408         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
11409         <sysdeps/tile/atomic-machine.h> instead of
11410         <sysdeps/tile/bits/atomic.h>.
11411         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11412         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
11413         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
11414         <sysdeps/arm/atomic-machine.h> instead of
11415         <sysdeps/arm/bits/atomic.h>.
11416         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
11417         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
11418         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11419         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
11420         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
11421         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11422         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
11423         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
11424         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
11425         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
11426         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
11427         * sysdeps/x86_64/bits/atomic.h: Move to ...
11428         * sysdeps/x86_64/atomic-machine.h: ...here.
11429         * include/atomic.h: Include <atomic-machine.h> instead of
11430         <bits/atomic.h>.
11432         * sysdeps/mips/mips32/libm-test-ulps: Update.
11433         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11435         [BZ #18952]
11436         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
11437         not convert non-integer negative arguments to int to determine the
11438         value of signgam.
11439         * math/auto-libm-test-in: Add more tests of lgamma.
11440         * math/auto-libm-test-out: Regenerated.
11442         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
11443         cosh, csqrt, erfc, expm1 and lgamma.
11444         * math/auto-libm-test-out: Regenerated.
11445         * sysdeps/i386/fpu/libm-test-ulps: Update.
11446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11448 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
11450         [BZ #2542]
11451         [BZ #2543]
11452         [BZ #2558]
11453         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
11454         __lgamma_neg for arguments from -28.0 to -2.0.
11455         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
11456         __lgamma_negf for arguments from -15.0 to -2.0.
11457         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11458         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
11459         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
11460         Call __lgamma_negl for arguments from -33.0 to -2.0.
11461         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
11462         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
11463         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11464         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
11465         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11466         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11467         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
11468         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
11469         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
11470         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
11471         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
11472         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
11473         (__lgamma_neg): Likewise.
11474         (__lgamma_negl): Likewise.
11475         (__lgamma_product): Likewise.
11476         (__lgamma_productl): Likewise.
11477         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
11478         * math/auto-libm-test-in: Add more tests of lgamma.
11479         * math/auto-libm-test-out: Regenerated.
11480         * sysdeps/i386/fpu/libm-test-ulps: Update.
11481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11483 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
11485         [BZ #18675]
11486         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
11488 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
11490         [BZ #14912]
11491         * bits/libc-lock.h: Move to ...
11492         * sysdeps/generic/libc-lock.h: ...here.
11493         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11494         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
11495         * sysdeps/mach/hurd/libc-lock.h: ...here.
11496         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11497         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
11498         * sysdeps/mach/bits/libc-lock.h: Move to ...
11499         * sysdeps/mach/libc-lock.h: ...here.
11500         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11501         * sysdeps/nptl/bits/libc-lock.h: Move to ...
11502         * sysdeps/nptl/libc-lock.h: ...here.
11503         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11504         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
11505         * sysdeps/nptl/libc-lockP.h: ...here.
11506         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
11507         * crypt/crypt_util.c: Include <libc-lock.h> instead of
11508         <bits/libc-lock.h>.
11509         * dirent/scandir-tail.c: Likewise.
11510         * dlfcn/dlerror.c: Likewise.
11511         * elf/dl-close.c: Likewise.
11512         * elf/dl-iteratephdr.c: Likewise.
11513         * elf/dl-lookup.c: Likewise.
11514         * elf/dl-open.c: Likewise.
11515         * elf/dl-support.c: Likewise.
11516         * elf/dl-writev.h: Likewise.
11517         * elf/rtld.c: Likewise.
11518         * grp/fgetgrent.c: Likewise.
11519         * gshadow/fgetsgent.c: Likewise.
11520         * gshadow/sgetsgent.c: Likewise.
11521         * iconv/gconv_conf.c: Likewise.
11522         * iconv/gconv_db.c: Likewise.
11523         * iconv/gconv_dl.c: Likewise.
11524         * iconv/gconv_int.h: Likewise.
11525         * iconv/gconv_trans.c: Likewise.
11526         * include/link.h: Likewise.
11527         * inet/getnameinfo.c: Likewise.
11528         * inet/getnetgrent.c: Likewise.
11529         * inet/getnetgrent_r.c: Likewise.
11530         * intl/bindtextdom.c: Likewise.
11531         * intl/dcigettext.c: Likewise.
11532         * intl/finddomain.c: Likewise.
11533         * intl/gettextP.h: Likewise.
11534         * intl/loadmsgcat.c: Likewise.
11535         * intl/localealias.c: Likewise.
11536         * intl/textdomain.c: Likewise.
11537         * libidn/idn-stub.c: Likewise.
11538         * libio/libioP.h: Likewise.
11539         * locale/duplocale.c: Likewise.
11540         * locale/freelocale.c: Likewise.
11541         * locale/newlocale.c: Likewise.
11542         * locale/setlocale.c: Likewise.
11543         * login/getutent_r.c: Likewise.
11544         * login/getutid_r.c: Likewise.
11545         * login/getutline_r.c: Likewise.
11546         * login/utmp-private.h: Likewise.
11547         * login/utmpname.c: Likewise.
11548         * malloc/mtrace.c: Likewise.
11549         * misc/efgcvt.c: Likewise.
11550         * misc/error.c: Likewise.
11551         * misc/fstab.c: Likewise.
11552         * misc/getpass.c: Likewise.
11553         * misc/mntent.c: Likewise.
11554         * misc/syslog.c: Likewise.
11555         * nis/nis_call.c: Likewise.
11556         * nis/nis_callback.c: Likewise.
11557         * nis/nss-default.c: Likewise.
11558         * nis/nss_compat/compat-grp.c: Likewise.
11559         * nis/nss_compat/compat-initgroups.c: Likewise.
11560         * nis/nss_compat/compat-pwd.c: Likewise.
11561         * nis/nss_compat/compat-spwd.c: Likewise.
11562         * nis/nss_nis/nis-alias.c: Likewise.
11563         * nis/nss_nis/nis-ethers.c: Likewise.
11564         * nis/nss_nis/nis-grp.c: Likewise.
11565         * nis/nss_nis/nis-hosts.c: Likewise.
11566         * nis/nss_nis/nis-network.c: Likewise.
11567         * nis/nss_nis/nis-proto.c: Likewise.
11568         * nis/nss_nis/nis-pwd.c: Likewise.
11569         * nis/nss_nis/nis-rpc.c: Likewise.
11570         * nis/nss_nis/nis-service.c: Likewise.
11571         * nis/nss_nis/nis-spwd.c: Likewise.
11572         * nis/nss_nisplus/nisplus-alias.c: Likewise.
11573         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
11574         * nis/nss_nisplus/nisplus-grp.c: Likewise.
11575         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
11576         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
11577         * nis/nss_nisplus/nisplus-network.c: Likewise.
11578         * nis/nss_nisplus/nisplus-proto.c: Likewise.
11579         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
11580         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
11581         * nis/nss_nisplus/nisplus-service.c: Likewise.
11582         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
11583         * nis/ypclnt.c: Likewise.
11584         * nptl/libc_pthread_init.c: Likewise.
11585         * nss/getXXbyYY.c: Likewise.
11586         * nss/getXXent.c: Likewise.
11587         * nss/getXXent_r.c: Likewise.
11588         * nss/nss_db/db-XXX.c: Likewise.
11589         * nss/nss_db/db-netgrp.c: Likewise.
11590         * nss/nss_db/nss_db.h: Likewise.
11591         * nss/nss_files/files-XXX.c: Likewise.
11592         * nss/nss_files/files-alias.c: Likewise.
11593         * nss/nsswitch.c: Likewise.
11594         * posix/regex_internal.h: Likewise.
11595         * posix/wordexp.c: Likewise.
11596         * pwd/fgetpwent.c: Likewise.
11597         * resolv/res_hconf.c: Likewise.
11598         * resolv/res_libc.c: Likewise.
11599         * shadow/fgetspent.c: Likewise.
11600         * shadow/lckpwdf.c: Likewise.
11601         * shadow/sgetspent.c: Likewise.
11602         * socket/opensock.c: Likewise.
11603         * stdio-common/reg-modifier.c: Likewise.
11604         * stdio-common/reg-printf.c: Likewise.
11605         * stdio-common/reg-type.c: Likewise.
11606         * stdio-common/vfprintf.c: Likewise.
11607         * stdio-common/vfscanf.c: Likewise.
11608         * stdlib/abort.c: Likewise.
11609         * stdlib/cxa_atexit.c: Likewise.
11610         * stdlib/fmtmsg.c: Likewise.
11611         * stdlib/random.c: Likewise.
11612         * stdlib/setenv.c: Likewise.
11613         * string/strsignal.c: Likewise.
11614         * sunrpc/auth_none.c: Likewise.
11615         * sunrpc/bindrsvprt.c: Likewise.
11616         * sunrpc/create_xid.c: Likewise.
11617         * sunrpc/key_call.c: Likewise.
11618         * sunrpc/rpc_thread.c: Likewise.
11619         * sysdeps/arm/backtrace.c: Likewise.
11620         * sysdeps/generic/ldsodefs.h: Likewise.
11621         * sysdeps/generic/stdio-lock.h: Likewise.
11622         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
11623         * sysdeps/i386/backtrace.c: Likewise.
11624         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11625         * sysdeps/m68k/backtrace.c: Likewise.
11626         * sysdeps/mach/hurd/cthreads.c: Likewise.
11627         * sysdeps/mach/hurd/dirstream.h: Likewise.
11628         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
11629         * sysdeps/nptl/malloc-machine.h: Likewise.
11630         * sysdeps/nptl/stdio-lock.h: Likewise.
11631         * sysdeps/posix/dirstream.h: Likewise.
11632         * sysdeps/posix/getaddrinfo.c: Likewise.
11633         * sysdeps/posix/system.c: Likewise.
11634         * sysdeps/pthread/aio_suspend.c: Likewise.
11635         * sysdeps/s390/s390-32/backtrace.c: Likewise.
11636         * sysdeps/s390/s390-64/backtrace.c: Likewise.
11637         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11638         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
11639         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
11640         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
11641         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
11642         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11643         * sysdeps/unix/sysv/linux/system.c: Likewise.
11644         * sysdeps/x86_64/backtrace.c: Likewise.
11645         * time/alt_digit.c: Likewise.
11646         * time/era.c: Likewise.
11647         * time/tzset.c: Likewise.
11648         * wcsmbs/wcsmbsload.c: Likewise.
11649         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
11650         instead of <bits/libc-lock.h> in comment.
11652 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
11654         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
11655         Only use .set mips2 if the current ISA is below mips2.
11656         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
11657         Likewise.
11658         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
11659         mips32r2 if the current ISA is below mips32r2.
11660         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
11661         (TLS_IE): Updated to use the TLD_RDHWR macro.
11662         (TLS_LE): Likewise.
11663         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
11664         __ASSEMBLER__ condition.
11666 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11668         Fix parallel build of before-compile targets.
11670         * sysdeps/mach/Makefile ($(patsubst
11671         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
11672         mach-before-compile target.
11673         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11674         io fs process)): Move rule to dedicated hurd-before-compile target.
11676 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11678         Fix rules generating headers in hurd/ and mach/ when initial make call
11679         has subdir= explicitly set.
11681         * sysdeps/mach/Makefile ($(patsubst
11682         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
11683         calling $(MAKE).
11684         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11685         io fs process)): Force subdir to hurd when calling $(MAKE).
11686         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
11687         subdir to mach when calling $(MAKE).
11689 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
11691         Check sysheaders when looking for Mach and Hurd headers
11693         * sysdeps/mach/configure.ac: Add sysheaders check.
11694         * sysdeps/mach/configure: Regenerate.
11695         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
11696         * sysdeps/mach/hurd/configure: Regenerate.
11698 2015-09-04  Roland McGrath  <roland@hack.frob.com>
11700         [BZ #18921]
11701         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
11702         Fix inverted sense of test of 'o_directory_works' value.
11703         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
11704         Bernhard Voelker <mail@bernhard-voelker.de>.
11706 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
11708         [BZ #14912]
11709         * bits/linkmap.h: Move to ...
11710         * sysdeps/generic/linkmap.h: ...here.
11711         * sysdeps/aarch64/bits/linkmap.h: Move to ...
11712         * sysdeps/aarch64/linkmap.h: ...here.
11713         * sysdeps/arm/bits/linkmap.h: Move to ...
11714         * sysdeps/arm/linkmap.h: ...here.
11715         * sysdeps/hppa/bits/linkmap.h: Move to ...
11716         * sysdeps/hppa/linkmap.h: ...here.
11717         * sysdeps/ia64/bits/linkmap.h: Move to ...
11718         * sysdeps/ia64/linkmap.h: ...here.
11719         * sysdeps/mips/bits/linkmap.h: Move to ...
11720         * sysdeps/mips/linkmap.h: ...here.
11721         * sysdeps/s390/bits/linkmap.h: Move to ...
11722         * sysdeps/s390/linkmap.h: ...here.
11723         * sysdeps/sh/bits/linkmap.h: Move to ...
11724         * sysdeps/sh/linkmap.h: ...here.
11725         * sysdeps/x86/bits/linkmap.h: Move to ...
11726         * sysdeps/x86/linkmap.h: ...here.
11727         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
11729 2015-09-04  Andreas Schwab  <schwab@suse.de>
11731         [BZ #18635]
11732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
11733         (__makecontext): Terminate FDE before return label.
11734         (__novec_makecontext): Likewise.
11736 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11738         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
11739         first member of struct sv in syscall macro.
11741 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
11743         [BZ #14912]
11744         * bits/stdio-lock.h: Move to ...
11745         * sysdeps/generic/stdio-lock.h: ...here.
11746         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
11747         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
11748         * sysdeps/nptl/stdio-lock.h: ...here.
11749         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
11750         * include/libio.h: Include <stdio-lock.h> instead of
11751         <bits/stdio-lock.h>.
11752         * sysdeps/nptl/fork.c: Likewise.
11753         * sysdeps/pthread/flockfile.c: Likewise.
11754         * sysdeps/pthread/ftrylockfile.c: Likewise.
11755         * sysdeps/pthread/funlockfile.c: Likewise.
11757         [BZ #14912]
11758         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
11759         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
11760         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
11761         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
11762         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
11763         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11764         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
11766 2015-09-03  Roland McGrath  <roland@hack.frob.com>
11768         * elf/Makefile (test-xfail-tst-protected1a): New variable.
11769         (test-xfail-tst-protected1b): New variable.
11771 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
11773         [BZ #14912]
11774         * bits/libc-tsd.h: Move to ...
11775         * sysdeps/generic/libc-tsd.h: ...here.
11776         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
11777         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
11778         * sysdeps/mach/hurd/libc-tsd.h: ...here.
11779         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
11780         * include/ctype.h: Include <libc-tsd.h> instead of
11781         <bits/libc-tsd.h>.
11782         * include/rpc/rpc.h: Likewise.
11783         * locale/localeinfo.h: Likewise.
11784         * sunrpc/rpc_thread.c: Likewise.
11785         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
11786         * sysdeps/nptl/malloc-machine.h: Likewise.
11788         * Makefile (headers): Remove bits/libc-lock.h.
11789         * libio/Makefile (headers): Remove bits/stdio-lock.h.
11791         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
11792         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
11793         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
11794         <bits/stdio-lock.h>.
11795         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
11796         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
11798 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11800         [BZ #18757]
11801         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
11802         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
11803         BZ #18757.
11805 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11807         * malloc/mtrace.pl: Filter out NULL entries.
11809 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
11811         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
11812         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
11813         macro.
11815         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
11816         (TCP_CC_INFO): Likewise.
11817         (TCP_SAVE_SYN): Likewise.
11818         (TCP_SAVED_SYN): Likewise.
11820 2015-08-31  Brett Neumeier <brett@neumeier.us>
11822         [BZ #18870]
11823         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
11825 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
11827         [BZ #18873]
11828         Fix broken overflow check in posix_fallocate
11829         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
11830         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
11831         Fix parenthesization typo.
11833 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
11835         [BZ #18887]
11836         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
11837         tst-mntent-blank-passno.
11838         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
11839         * misc/tst-mntent-blank-corrupt.c: New test.
11840         * misc/tst-mntent-blank-passno.c: New test ripped from ...
11841         * misc/tst-mntent.c (do_test): ... here.
11843 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
11845         [BZ #4404]
11846         * po/de.po: Fix SIGALRM typo.
11848 2015-08-28  James Perkins  <james@loowit.net>
11850         * time/tst-strptime2.c (tests): Replace short list of test
11851         strings for strptime %z specifier with code which exhaustively
11852         tests every combination of sign and 0 to 5 digits. Tests for
11853         rejection of invalid strings.
11855 2015-08-28  James Perkins  <james@loowit.net>
11857         [BZ #16141]
11858         * time/strptime_l.c (__strptime_internal): Fix %z minutes
11859         calculation, removing incorrect decimal time rounding, so that
11860         all minute values result in a valid seconds value.
11861         * time/strptime_l.c (__strptime_internal): Extend %z time zone
11862         offset range limits to UTC-99:59 through UTC+99:59 to parse
11863         current and historical use cases.
11864         * time/tst-strptime2.c (tests): Modify and add tests for the
11865         strptime %z input field descriptor, specifically conversion of
11866         minutes to seconds and validating an offset range of -9959 to
11867         +9959.
11869 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11870             Dmitry V. Levin  <ldv@altlinux.org>
11872         [BZ #18877]
11873         * posix/Makefile (tests): Add tst-mmap-offset.
11874         * posix/tst-mmap.c: New file.
11875         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
11876         offset calculation for negative values.
11878 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11880         * sysdeps/i386/init-arch.h: New file.
11881         * sysdeps/i386/i586/init-arch.h: Likewise.
11882         * sysdeps/i386/i686/init-arch.h: Likewise.
11883         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
11884         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
11885         * sysdeps/x86/cpu-features.h (bit_I586): New.
11886         (bit_I686): Likewise.
11887         (bit_CX8): Likewise.
11888         (bit_CMOV): Likewise.
11889         (index_CX8): Likewise.
11890         (index_CMOV): Likewise.
11891         (index_I586): Likewise.
11892         (index_I686): Likewise.
11893         (reg_CX8): Likewise.
11894         (reg_CMOV): Likewise.
11895         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
11896         available at compile-time.
11897         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
11898         available at compile-time.
11899         * sysdeps/x86/init-arch.h (USE_I586): New macro.
11900         (USE_I686): Likewise.
11902 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11904         * sysdeps/i386/bcopy.S: New file.
11905         * sysdeps/i386/bzero.S: Likewise.
11906         * sysdeps/i386/memcpy.S: Likewise.
11907         * sysdeps/i386/memmove.S: Likewise.
11908         * sysdeps/i386/mempcpy.S: Likewise.
11909         * sysdeps/i386/memset.S: Likewise.
11910         * sysdeps/i386/bzero.c: Removed.
11911         * sysdeps/i386/memset.c: Likewise.
11912         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
11913         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
11914         * sysdeps/i386/i586/memset_chk.S: Likewise.
11915         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
11916         * sysdeps/i386/memcpy_chk.S: Here.
11917         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
11918         * sysdeps/i386/memmove_chk.S: Here.
11919         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
11920         * sysdeps/i386/mempcpy_chk.S: Likewise.
11921         * sysdeps/i386/i686/memset_chk.S: Moved to ...
11922         * sysdeps/i386/memset_chk.S: Likewise.
11924 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
11926         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
11927         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
11928         file, move DIAG_POP_NEEDS_COMMENT to end of file.
11929         * soft-fp/fmadf4.c: Ditto.
11930         * soft-fp/fmatf4.c: Ditto.
11932 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11934         * sysdeps/i386/i586/Implies: Removed.
11935         * sysdeps/i386/i686/Implies: Likewise.
11937 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11939         * sysdeps/i386/i486/strlen.S: Moved to ...
11940         * sysdeps/i386/strlen.S: Here.
11942 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11944         * sysdeps/i386/i486/strcat.S: Moved to ...
11945         * sysdeps/i386/strcat.S: Here.
11947 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11949         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
11950         * sysdeps/i386/pthread_spin_trylock.S: Here.
11951         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
11952         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
11954 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11956         * sysdeps/i386/i486/string-inlines.c: Moved to ...
11957         * sysdeps/i386/string-inlines.c: Here.
11959 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11961         * sysdeps/i386/i486/htonl.S: Moved ...
11962         * sysdeps/i386/htonl.S: here.
11964 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11966         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
11967         * sysdeps/i386/bits/atomic.h: Here.
11969 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11971         * sysdeps/i386/i486/Versions: Removed.
11973 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11975         [BZ #2898]
11976         * misc/mktemp.c: Add mkdtemp to the link_warning message.
11977         Based on patch by Aurelien Jarno.
11979 2015-08-26  Stan Shebs  <stanshebs@google.com>
11981         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
11982         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11984 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11986         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
11987         * sysdeps/powerpc/dl-procinfo.c:
11988         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
11989         feature so it shows when LD_SHOW_AUXV=1.
11991 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11993         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11994         (__arch_compare_and_exchange_val_32_acq): Remove and use common
11995         definition.  ISA 2.07B no longer requires full sync.
11997 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
11999         [BZ #18863]
12000         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
12001         (si_call_addr): Define.
12002         (si_syscall): Define.
12003         (si_arch): Define.
12005 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
12007         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
12008         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
12009         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
12010         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
12011         (__memset_zero_constant_len_parameter): New.
12012         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
12013         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
12014         (__memset_zero_constant_len_parameter): Don't define if
12015         __memset_chk or USE_AS_BZERO are defined.
12017         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
12018         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
12019         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
12021         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
12022         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
12023         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
12024         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
12025         comments.
12026         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
12027         -mno-mmx for $(all-rtld-routines).
12028         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
12029         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
12030         i386.
12032 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
12034         * sysdeps/generic/unwind.h
12035         (_Unwind_Word): Use __mode__(__unwind_word__)
12036         instead of __mode__(__word__).
12037         (_Unwind_Sword): Likewise.
12039         * sysdeps/s390/s390-64/utf8-utf16-z9.c
12040         (MAX_NEEDED_INPUT): New define.
12041         (MAX_NEEDED_OUTPUT): New define.
12043         * NEWS: New item for IBM z13 string optimizations.
12045         * sysdeps/s390/multiarch/memrchr-c.c: New File.
12046         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
12047         * sysdeps/s390/multiarch/memrchr.c: Likewise.
12048         * sysdeps/s390/multiarch/Makefile
12049         (sysdep_routines): Add memrchr functions.
12050         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12051         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
12053         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
12054         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
12055         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
12056         * sysdeps/s390/multiarch/Makefile
12057         (sysdep_routines): Add wmemcmp functions.
12058         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12059         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
12060         * benchtests/bench-wmemcmp.c: New File.
12061         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
12063         * sysdeps/s390/multiarch/wmemset-c.c: New File.
12064         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
12065         * sysdeps/s390/multiarch/wmemset.c: Likewise.
12066         * sysdeps/s390/multiarch/Makefile
12067         (sysdep_routines): Add wmemset functions.
12068         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12069         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
12070         * wcsmbs/wmemset.c: Use WMEMSET if defined.
12071         * string/test-memset.c: Add wmemset support.
12072         * wcsmbs/test-wmemset.c: New File.
12073         * wcsmbs/Makefile (strop-tests): Add wmemset.
12074         * benchtests/bench-memset.c: Add wmemset support.
12075         * benchtests/bench-wmemset.c: New File.
12076         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
12078         * sysdeps/s390/multiarch/memccpy-c.c: New File.
12079         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
12080         * sysdeps/s390/multiarch/memccpy.c: Likewise.
12081         * sysdeps/s390/multiarch/Makefile
12082         (sysdep_routines): Add memccpy functions.
12083         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12084         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
12085         * string/memccpy.c: Use MEMCCPY if defined.
12087         * sysdeps/s390/multiarch/memchr-vx.S: New File.
12088         * sysdeps/s390/multiarch/memchr.c: Likewise.
12089         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
12090         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
12091         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
12092         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
12093         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
12094         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
12095         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
12096         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
12097         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
12098         and rawmemchr functions.
12099         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12100         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
12101         and wmemchr.
12102         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
12103         * string/test-memchr.c: Add wmemchr support.
12104         * wcsmbs/test-wmemchr.c: New File.
12105         * wcsmbs/Makefile (strop-tests): Add wmemchr.
12106         * benchtests/bench-memchr.c: Add wmemchr support.
12107         * benchtests/bench-wmemchr.c: New File.
12108         * benchtests/Makefile (wcsmbs-bench): wmemchr.
12110         * sysdeps/s390/multiarch/strcspn-c.c: New File.
12111         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
12112         * sysdeps/s390/multiarch/strcspn.c: Likewise.
12113         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
12114         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
12115         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
12116         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
12117         wcscspn functions.
12118         * sysdeps/s390/multiarch/ifunc-impl-list.c
12119         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
12120         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
12121         * string/test-strcspn.c: Add wcscspn support.
12122         * wcsmbs/test-wcscspn.c: New File.
12123         * wcsmbs/Makefile (strop-tests): Add wcscspn.
12124         * benchtests/bench-strcspn.c: Add wcscspn support.
12125         * benchtests/bench-wcscspn.c: New File.
12126         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
12128         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
12129         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
12130         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
12131         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
12132         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
12133         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
12134         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
12135         wcspbrk functions.
12136         * sysdeps/s390/multiarch/ifunc-impl-list.c
12137         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
12138         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
12139         * string/test-strpbrk.c: Add wcspbrk support.
12140         * wcsmbs/test-wcspbrk.c: New File.
12141         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
12142         * benchtests/bench-strpbrk.c: Add wcspbrk support.
12143         * benchtests/bench-wcspbrk.c: New File.
12144         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
12146         * sysdeps/s390/multiarch/strspn-c.c: New File.
12147         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
12148         * sysdeps/s390/multiarch/strspn.c: Likewise.
12149         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
12150         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
12151         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
12152         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
12153         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
12154         wcsspn functions.
12155         * sysdeps/s390/multiarch/ifunc-impl-list.c
12156         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
12157         * string/test-strspn.c: Add wcsspn support.
12158         * wcsmbs/test-wcsspn.c: New File.
12159         * wcsmbs/Makefile (strop-tests): Add wcsspn.
12160         * benchtests/bench-strspn.c: Add wcsspn support.
12161         * benchtests/bench-wcsspn.c: New File.
12162         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
12164         * sysdeps/s390/multiarch/strrchr-c.c: New File.
12165         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
12166         * sysdeps/s390/multiarch/strrchr.c: Likewise.
12167         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
12168         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
12169         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
12170         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
12171         wcsrchr functions.
12172         * sysdeps/s390/multiarch/ifunc-impl-list.c
12173         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
12174         * benchtests/bench-wcsrchr.c: New File.
12175         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
12177         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
12178         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
12179         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
12180         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
12181         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
12182         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
12183         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
12184         wcschrnul functions.
12185         * sysdeps/s390/multiarch/ifunc-impl-list.c
12186         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
12187         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
12188         * string/test-strchr.c: Add wcschrnul support.
12189         * wcsmbs/test-wcschrnul.c: New File.
12190         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
12191         * benchtests/bench-strchr.c: Add wcschrnul support.
12192         * benchtests/bench-wcschrnul.c: New File.
12193         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
12195         * sysdeps/s390/multiarch/strchr-c.c: New File.
12196         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
12197         * sysdeps/s390/multiarch/strchr.c: Likewise.
12198         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
12199         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
12200         * sysdeps/s390/multiarch/wcschr.c: Likewise.
12201         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
12202         wcschr functions.
12203         * sysdeps/s390/multiarch/ifunc-impl-list.c
12204         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
12205         * string/strchr.c (STRCHR): Define and use macro.
12206         * benchtests/bench-wcschr.c: New File.
12207         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
12209         * sysdeps/s390/multiarch/strncmp-c.c: New File.
12210         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
12211         * sysdeps/s390/multiarch/strncmp.c: Likewise.
12212         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
12213         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
12214         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
12215         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
12216         wcsncmp functions.
12217         * sysdeps/s390/multiarch/ifunc-impl-list.c
12218         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
12219         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
12220         * benchtests/bench-strncmp.c: Add wcsncmp support.
12221         * benchtests/bench-wcsncmp.c: New File.
12222         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
12224         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
12225         * sysdeps/s390/multiarch/strcmp.c: Likewise.
12226         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
12227         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
12228         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
12229         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
12230         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
12231         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
12232         wcscmp functions.
12233         * sysdeps/s390/multiarch/ifunc-impl-list.c
12234         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
12235         * string/strcmp.c (STRCMP): Define and use macro.
12236         * benchtests/bench-wcscmp.c: New File.
12237         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
12238         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
12239         instead of _HAVE_STRING_ARCH_memchr.
12241         * sysdeps/s390/multiarch/strncat-c.c: New File.
12242         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
12243         * sysdeps/s390/multiarch/strncat.c: Likewise.
12244         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
12245         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
12246         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
12247         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
12248         wcsncat functions.
12249         * sysdeps/s390/multiarch/ifunc-impl-list.c
12250         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
12251         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
12252         * string/test-strncat.c: Add wcsncat support.
12253         * wcsmbs/test-wcsncat.c: New File.
12254         * wcsmbs/Makefile (strop-tests): Add wcsncat.
12255         * benchtests/bench-strncat.c: Add wcsncat support.
12256         * benchtests/bench-wcsncat.c: New File.
12257         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
12259         * sysdeps/s390/multiarch/strcat-c.c: New File.
12260         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
12261         * sysdeps/s390/multiarch/strcat.c: Likewise.
12262         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
12263         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
12264         * sysdeps/s390/multiarch/wcscat.c: Likewise.
12265         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
12266         wcscat functions.
12267         * sysdeps/s390/multiarch/ifunc-impl-list.c
12268         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
12269         * string/strcat.c (STRCAT): Define and use macro.
12270         * wcsmbs/wcscat.c: Use WCSCAT if defined.
12271         * string/test-strcat.c: Add wcscat support.
12272         * wcsmbs/test-wcscat.c: New File.
12273         * wcsmbs/Makefile (strop-tests): Add wcscat.
12274         * benchtests/bench-strcat.c: Add wcscat support.
12275         * benchtests/bench-wcscat.c: New File.
12276         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
12278         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
12279         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
12280         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
12281         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
12282         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
12283         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
12284         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
12285         wcpncpy functions.
12286         * sysdeps/s390/multiarch/ifunc-impl-list.c
12287         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
12288         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
12289         * string/test-stpncpy.c: Add wcpncpy support.
12290         * wcsmbs/test-wcpncpy.c: New File.
12291         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
12292         * benchtests/bench-stpncpy.c: Add wcpncpy support.
12293         * benchtests/bench-wcpncpy.c: New File.
12294         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
12296         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
12297         * sysdeps/s390/multiarch/strncpy.c: Likewise.
12298         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
12299         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
12300         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
12301         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
12302         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
12303         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
12304         wcsncpy functions.
12305         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
12306         * sysdeps/s390/multiarch/ifunc-impl-list.c
12307         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
12308         * string/test-strncpy.c: Add wcsncpy support.
12309         * wcsmbs/test-wcsncpy.c: New File.
12310         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
12311         * benchtests/bench-strncpy.c: Add wcsncpy support.
12312         * benchtests/bench-wcsncpy.c: New File.
12313         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
12315         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
12316         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
12317         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
12318         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
12319         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
12320         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
12321         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
12322         wcpcpy functions.
12323         * string/stpcpy.c: Use STPCPY if defined.
12324         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
12325         * sysdeps/s390/multiarch/ifunc-impl-list.c
12326         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
12327         * string/test-stpcpy.c: Add wcpcpy support.
12328         * wcsmbs/test-wcpcpy.c: New File.
12329         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
12330         * benchtests/bench-stpcpy.c: Add wcpcpy support.
12331         * benchtests/bench-wcpcpy.c: New File.
12332         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
12334         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
12335         * sysdeps/s390/multiarch/strcpy.c: Likewise.
12336         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
12337         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
12338         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
12339         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
12340         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
12341         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
12342         wcscpy functions.
12343         * sysdeps/s390/multiarch/ifunc-impl-list.c
12344         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
12345         * benchtests/bench-wcscpy.c: New File.
12346         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
12348         * sysdeps/s390/multiarch/strnlen-c.c: New File.
12349         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
12350         * sysdeps/s390/multiarch/strnlen.c: Likewise.
12351         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
12352         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
12353         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
12354         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
12355         wcsnlen functions.
12356         * sysdeps/s390/multiarch/ifunc-impl-list.c
12357         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
12358         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
12359         * string/test-strnlen.c: Add wcsnlen support.
12360         * wcsmbs/test-wcsnlen.c: New File.
12361         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
12362         * benchtests/bench-strnlen.c: Add wcsnlen support.
12363         * benchtests/bench-wcsnlen.c: New File.
12364         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
12366         * sysdeps/s390/multiarch/Makefile: New File.
12367         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
12368         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
12369         * sysdeps/s390/multiarch/strlen.c: Likewise.
12370         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
12371         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
12372         * sysdeps/s390/multiarch/wcslen.c: Likewise.
12373         * string/strlen.c (STRLEN): Define and use macro.
12374         * sysdeps/s390/multiarch/ifunc-impl-list.c
12375         (IFUNC_VX_IMPL): New macro function.
12376         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
12377         * benchtests/Makefile (wcsmbs-bench): New variable.
12378         (string-bench-all): Added wcsmbs-bench.
12379         * benchtests/bench-wcslen.c: New File.
12381         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
12382         s390_vx_libc_ifunc2): New macro function.
12384         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
12385         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
12386         assembler support.
12387         * sysdeps/s390/configure: Regenerated.
12389         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
12390         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
12392         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
12393         * sysdeps/s390/dl-procinfo.h: Add vector capability.
12394         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
12396         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
12397         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
12398         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
12399         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
12400         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
12401         (memcmp, bcmp): Use __memcmp_default as alias source.
12402         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
12403         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
12404         Rename to __memcmp_default.
12405         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
12406         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
12407         (memcpy): Use __memcpy_default as alias source.
12408         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
12409         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
12410         Rename to __memcpy_default.
12411         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
12412         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
12413         (memset): Use __memset_default as alias source.
12414         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
12415         * sysdeps/s390/s390-32/memset.S (__memset_g5):
12416         Rename to __memset_default.
12417         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
12418         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
12419         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
12420         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
12421         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
12422         (memcmp, bcmp): Use __memcmp_default as alias source.
12423         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
12424         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
12425         Rename to __memcmp_default.
12426         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
12427         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
12428         (memcpy): Use __memcpy_default as alias source.
12429         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
12430         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
12431         Rename to __memcpy_default.
12432         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
12433         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
12434         (memset): Use __memset_default as alias source.
12435         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
12436         * sysdeps/s390/s390-64/memset.S (__memset_z900):
12437         Rename to __memset_default.
12438         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
12439         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
12441         [BZ #18610]
12442         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
12443         __ieee_instruction_pointer to __unused.
12444         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
12445         __ieee_instruction_pointer.
12446         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
12447         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
12448         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12449         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12450         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
12451         Mark dxc-field as reserved.
12453 2015-08-25  Roland McGrath  <roland@hack.frob.com>
12455         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
12456         if the weak reference is not null.
12458 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12460         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
12462         [BZ #11214]
12463         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
12465 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12467         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
12468         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
12469         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
12470         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
12471         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
12472         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
12473         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
12474         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
12475         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
12476         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
12477         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
12478         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
12479         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
12480         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
12481         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
12482         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
12483         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
12484         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
12486 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12488         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
12489         register other than r0 for tabort, it has special meaning.
12490         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
12491         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
12492         transaction before starting syscall.
12494 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12496         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
12498 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12500         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
12502         * sysdeps/x86_64/rtld-memcmp.c: Removed.
12503         * sysdeps/x86_64/rtld-memset.S: Likewise.
12504         * sysdeps/x86_64/rtld-strchr.S: Likewise.
12505         * sysdeps/x86_64/rtld-strlen.S: Likewise.
12506         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
12507         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
12509         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
12511 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
12513         * debug/strcpy_chk.c: Improve performance.
12514         * debug/stpcpy_chk.c: Likewise.
12515         * sysdeps/x86_64/strcpy_chk.S: Remove.
12516         * sysdeps/x86_64/stpcpy_chk.S: Remove.
12518         [BZ #18240]
12519         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
12521 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12523         [BZ #15128]
12524         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
12525         ifuncmain8.
12526         (modules-names): Add ifuncmod8.
12527         ($(objpfx)ifuncmain8): New rule.
12528         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
12529         <cpuid.h>.
12530         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
12531         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
12532         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
12533         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
12534         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
12535         * sysdeps/x86_64/dl-trampoline.h: Likewise.
12536         * sysdeps/x86_64/ifuncmain8.c: New file.
12537         * sysdeps/x86_64/ifuncmod8.c: Likewise.
12538         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
12539         Removed.
12540         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
12541         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
12542         Change rtld_savespace_sse to __glibc_unused2.
12543         (RTLD_CHECK_FOREIGN_CALL): Removed.
12544         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
12545         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
12546         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
12548 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
12550         * sysdeps/aarch64/bzero.S (__bzero): Remove.
12552 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
12554         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
12555         Unconditionally set __fpcr to avoid uninialized warning.
12556         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
12558 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12560         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
12561         is corrupt.
12563         * malloc/arena.c (arena_get2): Drop unused argument.
12564         (arena_lock): Adjust.
12565         (arena_get_retry): Likewise.
12567 2015-08-24  Andreas Schwab  <schwab@suse.de>
12569         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
12570         Don't define.
12571         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12572         (__ASSUME_IPC64): Don't undef.
12573         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
12574         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12575         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12576         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
12577         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
12578         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
12579         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
12580         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
12581         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
12582         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
12583         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
12584         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
12585         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
12586         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
12587         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
12588         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
12589         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
12590         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
12591         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
12592         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
12593         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
12595 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
12597         * manual/Makefile (install): Only build manual when perl is available.
12599 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12601         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
12602         '#undef memcpy' by '#undef memchr'.
12604 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12606         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
12607         memchr not point to the internal __GI_memchr implementation.
12609 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
12611         * timezone/Makefile (CFLAGS-zdump.c): Remove
12612         -Wno-strict-prototypes.
12613         (CFLAGS-zic.c): Likewise.
12614         (CFLAGS-ialloc.c): Likewise.
12615         (CFLAGS-scheck.c): Likewise.
12617         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
12618         -Wno-error=undef.
12620 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12622         * i386/i686/multiarch/strcasestr-c.c: Removed.
12623         * x86_64/multiarch/strcasestr.c: Likewise.
12624         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12625         Remove strcasestr.
12627 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
12629         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
12631         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
12632         variables for high and low parts before possibly modifying them.
12634 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12636         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
12637         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
12638         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
12639         of "multiarch/init-arch.h".
12640         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
12641         * sysdeps/x86/init-arch.h: This.
12643 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12645         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
12646         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
12648 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
12650         [BZ #17787]
12651         * manual/macros.texi: Add twoexp macro.
12652         * manual/filesys.texi: Fix exponents.
12653         * manual/llio.texi: Likewise.
12654         * manual/stdio.texi: Likewise.
12656 2015-08-20  Florian Weimer  <fweimer@redhat.com>
12658         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
12659         incorrect use.
12661 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
12663         [BZ #18370]
12664         * math/s_csqrt.c (__csqrt): Force underflow exception for results
12665         whose real or imaginary part has small absolute value.
12666         * math/s_csqrtf.c (__csqrtf): Likewise.
12667         * math/s_csqrtl.c (__csqrtl): Likewise.
12668         * math/auto-libm-test-in: Add more tests of csqrt.
12669         * math/auto-libm-test-out: Regenerated.
12670         * sysdeps/i386/fpu/libm-test-ulps: Update.
12672 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12674         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
12675         __ppc_set_ppr_very_low): New functions.
12676         * manual/platform.texi: Add documentation about
12677         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
12679 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
12681         * string/stpncpy.c (stpncpy): Improve performance using
12682         __strnlen/memcpy/memset.
12684 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12686         [BZ #18796]
12687         * scripts/test-installation.pl: Don't add -lmvec to build options if
12688         libmvec wasn't built.
12690 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
12692         [BZ #14341]
12693         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
12694         case when there is a gap between DT_REL and DT_JMPREL sections.
12695         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
12696         (LDFLAGS-tst-split-dynreloc): New.
12697         (tst-split-dynreloc-ENV): Likewise.
12698         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
12699         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
12701 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12703         [BZ #18822]
12704         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
12705         attribute_hidden.
12706         (__xstat64_conv): Likewise.
12707         (__xstat32_conv): Likewise.
12709 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12711         [BZ #18822]
12712         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
12713         Don't load %ebx when calling __setcontext.  Call __setcontext
12714         with HIDDEN_JUMPTARGET.
12715         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
12716         libc_hidden_def.
12718 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12720         * sysdeps/i386/i686/Makefile
12721         [$(subdir) == string] (sysdep_routines): Moved to ...
12722         * sysdeps/i386/Makefile: Here.
12723         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
12724         * sysdeps/i386/cacheinfo.c: Here.
12725         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
12726         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
12727         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
12728         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
12730 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12732         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
12733         __i586__ is defined.
12734         (HAS_I686): Defined to 1 if __i686__ is defined.
12736 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
12738         * elf/Makefile [$(have-z-execstack) = yes]
12739         (CPPFLAGS-tst-execstack.c): New variable.
12741         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
12742         conditional to [defined UTMPX || _HAVE_UT_TYPE].
12743         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
12744         UTMPX || _HAVE_UT_TV].
12745         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
12746         UTMPX || _HAVE_UT_TV - 0].
12748 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
12750         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
12751         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
12752         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
12754 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12756         * sysdeps/powerpc/dl-procinfo.c:
12757         (_dl_powerpc_cap_flags): Added missing strings for some
12758         hwcap features.
12759         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
12761 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
12763         Port the 0x7efe...feff pattern to GCC 6.
12764         See Steve Ellcey's bug report in:
12765         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
12766         * string/memrchr.c (MEMRCHR):
12767         * string/rawmemchr.c (RAWMEMCHR):
12768         * string/strchr.c (strchr):
12769         * string/strchrnul.c (STRCHRNUL):
12770         Rewrite code to avoid issues with signed shift overflow.
12772 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
12774         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
12775         whether cpuid is available only if HAS_CPUID is 0.
12776         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
12777         (HAS_I586): Likewise.
12778         (HAS_I686): Likewise.
12780 2015-08-18  Zack Weinberg  <zackw@panix.com>
12782         * misc/Versions (libc): Add GLIBC_2.23.
12784 2015-08-18  Alan Modra  <amodra@gmail.com>
12786         [BZ #18421]
12787         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
12788         .Lp__global.
12789         (_start): Load %dp via .Lp__global.
12790         [!SHARED]: Use .section .rodata.
12792 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12794         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
12795         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
12797 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12799         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
12800         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
12802 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12804         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
12805         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
12807 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12809         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
12810         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
12812 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12814         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
12815         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
12817 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12819         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
12820         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
12822 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12824         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
12826 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12828         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
12829         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
12830         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12831         (__ASSUME_LWS_CAS): Delete.
12833 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12835         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
12836         * sysdeps/hppa/configure: Regenerated.
12837         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
12838         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
12839         * sysdeps/hppa/nptl/tls.h: Likewise.
12841 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
12843         [BZ #18823]
12844         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
12845         for scaling up small arguments.
12846         * math/s_csqrtf.c (__csqrtf): Likewise.
12847         * math/s_csqrtl.c (__csqrtl): Likewise.
12848         * math/auto-libm-test-in: Add more tests of csqrt.
12849         * math/auto-libm-test-out: Regenerated.
12851 2015-08-17  Andreas Schwab  <schwab@suse.de>
12853         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
12854         version set GLIBC_2.19.
12856 2015-08-16  Zack Weinberg  <zackw@panix.com>
12858         [BZ #18681]
12859         * misc/regexp.h: This interface is no longer supported.
12860         Remove all contents, leaving only an #error directive.
12861         * misc/regexp.c (loc1, loc2, locs, step, advance):
12862         Demote to compatibility symbols.
12864 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
12866         [BZ #18084]
12867         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
12868         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
12869         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12870         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
12871         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
12872         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
12873         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
12874         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
12875         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12877 2015-08-15  Zack Weinberg  <zackw@panix.com>
12879         [BZ #18795]
12880         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
12881         buffer length is known to be too large, not if it's known to be
12882         small enough.
12883         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
12884         overflow at runtime, involving a length parameter, twice: once
12885         with a compile-time constant length parameter, once without.
12887 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
12889         [BZ #18824]
12890         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
12891         scaling x * y up instead of down.
12892         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12893         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12894         * math/auto-libm-test-in: Add more tests of fma.
12895         * math/auto-libm-test-out: Regenerated.
12897 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12899         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12901 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12903         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
12904         unnecessary movq.
12905         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
12906         Likewise.
12908 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
12910         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12911         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
12912         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
12913         and tgamma.
12914         * math/auto-libm-test-out: Regenerated.
12915         * sysdeps/i386/fpu/libm-test-ulps: Update.
12916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12918         [BZ #16520]
12919         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
12920         (__tanh): Force underflow exception for arguments with small
12921         absolute value.
12922         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
12923         (__tanhf): Force underflow exception for arguments with small
12924         absolute value.
12925         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
12926         (__tanhl): Force underflow exception for arguments with small
12927         absolute value.
12928         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
12929         (__tanhl): Force underflow exception for arguments with small
12930         absolute value.
12931         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
12932         (__tanhl): Force underflow exception for arguments with small
12933         absolute value.
12934         * math/auto-libm-test-in: Add more tests of tanh.
12935         * math/auto-libm-test-out: Regenerated.
12936         * sysdeps/i386/fpu/libm-test-ulps: Update.
12938 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12940         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
12941         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
12943 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12945         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
12946         <cpuid.h>.
12948 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12950         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
12951         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
12953 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12955         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
12956         Remove $(objpfx)init-arch.o.
12957         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
12958         init-arch.
12959         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
12960         (INIT_ARCH_EXT): Defined as empty.
12961         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
12962         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
12963         __init_cpu_features call.  Replace HAS_XXX with
12964         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12965         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
12966         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
12967         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
12968         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
12969         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
12970         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
12971         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
12972         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
12973         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
12974         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
12975         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
12976         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
12977         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
12978         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
12979         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
12980         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
12981         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
12982         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
12983         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
12984         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
12985         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
12986         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
12987         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
12988         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
12989         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
12990         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
12991         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
12992         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
12993         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
12994         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
12995         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
12996         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
12997         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
12998         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
12999         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
13001 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13003         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
13004         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13005         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
13006         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
13007         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
13008         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
13009         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
13010         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
13011         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
13012         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
13013         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
13014         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
13015         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13016         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13017         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13018         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13019         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13020         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13021         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13022         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13023         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13024         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13025         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13026         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13027         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13028         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13029         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13030         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13031         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13032         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13033         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13034         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13035         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13036         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13037         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13038         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13039         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13040         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13041         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13042         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13043         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13044         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13045         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13047 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13049         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
13050         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13051         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13052         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13053         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13054         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
13055         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13056         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
13057         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13058         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13059         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13060         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
13061         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
13062         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
13063         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
13064         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
13065         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
13066         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
13067         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
13068         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
13069         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
13070         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
13071         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
13072         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13073         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13074         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
13075         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
13076         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
13077         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13078         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13079         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13080         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13081         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13082         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13083         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13084         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13085         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13086         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13087         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13088         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13089         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13090         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13091         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13093 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13095         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
13096         (dl_platform_init): Call init_cpu_features.
13097         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
13098         * sysdeps/i386/i686/cacheinfo.c
13099         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
13100         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
13101         * sysdeps/i386/i686/multiarch/Versions: Removed.
13102         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
13103         Removed.
13104         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
13105         * sysdeps/unix/sysv/linux/x86/Makefile
13106         (libpthread-sysdep_routines): Remove init-arch.
13107         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
13108         <sysdeps/x86_64/dl-procinfo.c> instead of
13109         sysdeps/generic/dl-procinfo.c>.
13110         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
13111         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
13112         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
13113         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
13114         [$(subdir) == elf] (tests-static): Add
13115         tst-get-cpu-features-static.
13116         * sysdeps/x86/Versions: New file.
13117         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
13118         * sysdeps/x86/cpu-features.c: Likewise.
13119         * sysdeps/x86/cpu-features.h: Likewise.
13120         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
13121         * sysdeps/x86/libc-start.c: Likewise.
13122         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
13123         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
13124         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
13125         * sysdeps/x86_64/dl-procinfo.c: Likewise.
13126         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
13127         Assume USE_MULTIARCH is defined and don't check it.
13128         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
13129         (is_amd): Likewise.
13130         (max_cpuid): Likewise.
13131         (intel_check_word): Likewise.
13132         (__cache_sysconf): Don't call __init_cpu_features.
13133         (__x86_preferred_memory_instruction): Removed.
13134         (init_cacheinfo): Don't call __init_cpu_features. Replace
13135         __cpu_features with GLRO(dl_x86_cpu_features).
13136         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
13137         (dl_platform_init): Call init_cpu_features.
13138         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
13139         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
13140         * sysdeps/x86_64/multiarch/Versions: Removed.
13141         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
13142         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
13143         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
13144         Removed.
13145         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
13147 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13149         [BZ #18820]
13150         * libio/Makefile (test-fmemopen-mem): New test.
13151         * libio/test-fmemopen.c (do_bz18820): New test.
13152         * libio/fmemopen.c (__fmemopen): Fix memory leak.
13153         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
13155 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13157         [BZ #16734]
13158         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
13159         (FREE_BUF): Delete.
13160         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
13161         * libio/genops.c (_IO_setb): Use malloc and free directly.
13162         (_IO_default_doallocate, _IO_default_finish): Likewise.
13163         ( _IO_unbuffer_all): Likewise.
13164         ( libc_freeres_fn): Likewise.
13165         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13166         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
13167         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
13168         (_IO_wdefault_doallocate): Likewise.
13170 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13172         [BZ #18086]
13173         * sysdeps/posix/nice.c (nice): Restore old errno.
13174         * posix/tst-nice.c (do_test): Add test for BZ #18086.
13176 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
13178         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
13180 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13182         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
13183         __bcopy and add a weak_alias to bcopy.
13184         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
13185         for static build.
13187         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
13188         cleanup macro usage.
13189         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
13190         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
13191         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
13192         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
13193         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
13194         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
13195         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
13196         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
13197         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13198         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
13199         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13200         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
13201         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13202         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
13203         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13204         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
13205         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
13206         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
13207         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
13209         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
13210         libc_hidden_def.
13211         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
13213         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
13214         (sysdep_routines): Add strstr-ppc64.
13215         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
13217 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
13219         [BZ #18778]
13220         * elf/Makefile (tests): Add Add tst-nodelete2.
13221         (modules-names): Add tst-nodelete2mod.
13222         (tst-nodelete2mod.so-no-z-defs): New.
13223         ($(objpfx)tst-nodelete2): Likewise.
13224         ($(objpfx)tst-nodelete2.out): Likewise.
13225         (LDFLAGS-tst-nodelete2): Likewise.
13226         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
13227         out of loop through all loaded libraries.
13228         * elf/tst-nodelete2.c: New file.
13229         * elf/tst-nodelete2mod.c: Likewise.
13230         * elf/tst-znodelete-zlib.cc: Delete.
13232 2015-08-11  Andreas Schwab  <schwab@suse.de>
13234         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
13235         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
13236         (__openat64_nocancel): Likewise.
13238 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
13240         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
13241         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
13242         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
13243         * math/auto-libm-test-out: Regenerated.
13244         * sysdeps/i386/fpu/libm-test-ulps: Update.
13245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13247 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
13249         [BZ #18790]
13250         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
13251         threshold for returning +/- 1.
13252         * math/auto-libm-test-in: Add more tests of tanh.
13253         * math/auto-libm-test-out: Regenerated.
13254         * sysdeps/i386/fpu/libm-test-ulps: Update.
13256 2015-08-10  Andreas Schwab  <schwab@suse.de>
13258         [BZ #18781]
13259         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
13260         MORE_OFLAGS to oflag.
13261         * io/test-lfs.c (do_test): Test openat64.
13263 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
13265         [BZ #18789]
13266         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
13267         smaller threshold for returning the argument.
13268         * math/auto-libm-test-in: Add more tests of sinh.
13269         * math/auto-libm-test-out: Regenerated.
13270         * sysdeps/i386/fpu/libm-test-ulps: Update.
13272 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
13274         [BZ #18674]
13275         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
13276         break.
13278 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
13280         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
13281         (generated): Don't add $(addprefix z.,$(tzfiles)).
13283 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13285         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
13286         * scripts/sysd-rules.awk: Likewise.
13288 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13290         * iconvdata/tst-tables.sh: Change echo -n to printf.
13291         * nss/db-Makefile: Likewise.
13292         * posix/tst-getconf.sh: Likewise.
13293         * stdio-common/tst-unbputc.sh: Likewise.
13295 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13297         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
13298         MADV_*_PAGES defines behind this feature check.
13300 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
13302         [BZ #18480]
13303         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
13304         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
13305         Define.
13306         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
13307         LOAD_REGS_5, LOAD_REGS_6): Update.
13308         (INTERNAL_SYSCALL): Update using new LOAD defines.
13309         (INTERNAL_SYSCALL_NCS): Likewise.
13310         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
13312 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13314         [BZ #16734]
13315         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
13317 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13319         [BZ #17905]
13320         * catgets/Makefile (tst-catgets-mem): New test.
13321         * catgets/catgets.c (catopen): Don't use unbounded alloca.
13322         * catgets/open_catalog.c (__open_catalog): Likewise.
13323         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
13325 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
13327         [BZ #18787]
13328         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
13329         clobber registers.
13330         (atomic_compare_and_exchange_val_acq): Use register asms to assign
13331         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
13332         Cast return to __typeof (oldval).
13334 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
13336         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
13337         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
13338         and delete sys/syscall.h include.
13340 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
13342         [BZ #16517]
13343         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
13344         (tan): Force underflow exception for arguments with small absolute
13345         value.
13346         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
13347         (__kernel_tanf): Force underflow exception for arguments with
13348         small absolute value.
13349         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
13350         (__kernel_tanl): Force underflow exception for arguments with
13351         small absolute value.
13352         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
13353         (__kernel_tanl): Force underflow exception for arguments with
13354         small absolute value.
13355         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
13356         (__kernel_tanl): Force underflow exception for arguments with
13357         small absolute value.
13358         * math/auto-libm-test-in: Add more tests of tan.
13359         * math/auto-libm-test-out: Regenerated.
13361 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13363         Fix sysdeps/i386/fpu/s_scalbn.S build
13365         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
13367 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
13369         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
13371 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13373         Fix gcrt0.o compilation
13375         When static-start-installed-name is different from
13376         start-installed-name, we must not use the shared objects.
13378         * csu/Makefile
13379         (extra-objs): Add gmon-start.o when building shared library and
13380         $(static-start-installed-name) is different from
13381         $(start-installed-name).
13382         $(objpfx)g$(static-start-installed-name): When building shared
13383         library and $(static-start-installed-name) is different from
13384         $(static-start-installed-name), revert to non-shared rule,
13385         i.e. using $(objpfx)% and gmon-start.o.
13387 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
13389         [BZ #16519]
13390         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
13391         (__ieee754_sinh): Force underflow exception for arguments with
13392         small absolute value.
13393         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
13394         (__ieee754_sinhf): Force underflow exception for arguments with
13395         small absolute value.
13396         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
13397         (__ieee754_sinhl): Force underflow exception for arguments with
13398         small absolute value.
13399         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
13400         (__ieee754_sinhl): Force underflow exception for arguments with
13401         small absolute value.
13402         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
13403         (__ieee754_sinhl): Force underflow exception for arguments with
13404         small absolute value.
13405         * math/auto-libm-test-in: Add more tests of sinh.
13406         * math/auto-libm-test-out: Regenerated.
13407         * sysdeps/i386/fpu/libm-test-ulps: Update.
13409 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13411         * libio/oldfileops.c: Include unistd.h.
13413 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
13415         * stdlib/isomac.c: Include ctype.h.
13417 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
13419         * dirent/tst-seekdir.c (main): Converted to ...
13420         (do_test): ... this.
13421         (TEST_FUNCTION): New macro.
13422         Include test-skeleton.c.
13423         * elf/tst-dlmodcount.c (main): Converted to ...
13424         (do_test): ... this.
13425         (TEST_FUNCTION): New macro.
13426         Include test-skeleton.c.
13427         * elf/tst-order-main.c (main): Converted to ...
13428         (do_test): ... this.
13429         (TEST_FUNCTION): New macro.
13430         Include test-skeleton.c.
13431         * elf/tst-pie2.c (main): Converted to ...
13432         (do_test): ... this.
13433         (TEST_FUNCTION): New macro.
13434         Include test-skeleton.c.
13435         * inet/tst-ether_aton.c (main): Converted to ...
13436         (do_test): ... this.
13437         (TEST_FUNCTION): New macro.
13438         Include test-skeleton.c.
13439         * misc/tst-mntent.c (main): Converted to ...
13440         (do_test): ... this.
13441         (TEST_FUNCTION): New macro.
13442         Include test-skeleton.c.
13443         * misc/tst-tsearch.c (main): Converted to ...
13444         (do_test): ... this.
13445         (TEST_FUNCTION): New macro.
13446         Include test-skeleton.c.
13447         * posix/tst-regexloc.c (main): Converted to ...
13448         (do_test): ... this.
13449         (TEST_FUNCTION): New macro.
13450         Include test-skeleton.c.
13451         * resolv/tst-aton.c (main): Converted to ...
13452         (do_test): ... this.
13453         (TEST_FUNCTION): New macro.
13454         Include test-skeleton.c.
13455         * stdio-common/test-fwrite.c (main): Converted to ...
13456         (do_test): ... this.
13457         (TEST_FUNCTION): New macro.
13458         Include test-skeleton.c.
13459         * stdio-common/tst-ferror.c (main): Converted to ...
13460         (do_test): ... this.
13461         (TEST_FUNCTION): New macro.
13462         Include test-skeleton.c.
13463         * stdio-common/tst-printf.c (main): Converted to ...
13464         (do_test): ... this.
13465         (TEST_FUNCTION): New macro.
13466         Include test-skeleton.c.
13467         * stdio-common/tst-printfsz.c (main): Converted to ...
13468         (do_test): ... this.
13469         (TEST_FUNCTION): New macro.
13470         Include test-skeleton.c.
13471         * stdlib/tst-strtod.c (main): Converted to ...
13472         (do_test): ... this.
13473         (TEST_FUNCTION): New macro.
13474         Include test-skeleton.c.
13475         * string/tst-strlen.c (main): Converted to ...
13476         (do_test): ... this.
13477         (TEST_FUNCTION): New macro.
13478         Include test-skeleton.c.
13479         * string/tst-svc.c (main): Converted to ...
13480         (do_test): ... this.
13481         (TEST_FUNCTION): New macro.
13482         Include test-skeleton.c.
13483         * time/tst-strptime.c (main): Converted to ...
13484         (do_test): ... this.
13485         (TEST_FUNCTION): New macro.
13486         Include test-skeleton.c.
13487         * timezone/tst-timezone.c (main): Converted to ...
13488         (do_test): ... this.
13489         (TEST_FUNCTION): New macro.
13490         Include test-skeleton.c.
13492 2015-08-05  Zack Weinberg  <zackw@panix.com>
13494         * misc/regexp.h: Update comments.
13496 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
13498         [BZ #18635]
13499         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
13500         before return label.
13502 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13504         [BZ #18661]
13505         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
13506         when calling __errno_location.
13507         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
13508         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
13510 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13512         [BZ #18661]
13513         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
13514         (__lll_timedwait_tid): Align stack to 16 bytes when calling
13515         __gettimeofday.
13517 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13519         [BZ #18661]
13520         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13521         (__start_context): Don't use pop to restore %rdi so that stack
13522         is aligned to 16 bytes when calling __setcontext.
13524 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13526         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
13527         only for libc.
13528         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13530 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13532         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
13533         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
13534         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
13536 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13538         * string/memccpy.c (memccpy):
13539         Improve performance by using memchr/memcpy/__mempcpy.
13541 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13543         * string/strncpy.c (strncpy):
13544         Improve performance by using __strnlen/memcpy.
13546 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13548         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13549         Optimize to avoid an unnecessary FPCR read.
13551 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13553         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
13554         Optimize to reduce FPCR/FPSR accesses.
13556 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13558         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
13559         dead->data[category] != NULL.
13561 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
13563         [BZ #18647]
13564         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
13565         and |x| close to 1, use absolute value of x when computing log.
13566         * math/auto-libm-test-in: Add more tests of pow.
13567         * math/auto-libm-test-out: Regenerated.
13569 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13571         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
13572         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
13573         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
13575 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
13577         [BZ #18525]
13578         * locales/km_KH: Remove timezone definition.
13579         * locales/lo_LA: Likewise.
13580         * locales/my_MM: Likewise.
13581         * locales/nan_TW@latin: Likewise.
13582         * locales/th_TH: Likewise.
13583         * locales/uk_UA: Likewise.
13585 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
13587         [BZ #18265]
13588         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
13589         (wcsncat): Likewise.
13590         (wcscmp): Likewise.
13591         (wcsncmp): Likewise.
13593 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13595         * test-skeleton.c (usage): New function.
13596         (main): Call usage when opt is '?'.
13598 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13600         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
13601         before first use.
13603 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13605         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
13606         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
13607         in there too.
13609 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
13611         * version.h (RELEASE): Set to "development".
13612         (VERSION): Set to "2.22.90"
13614         * version.h (RELEASE): Set to "stable".
13615         (VERSION): Set to "2.22"
13616         * include/features.h (__GLIBC_MINOR__): Set to 22.
13618 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
13620         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
13621         Restructure macro to avoid "value computed is not used" warning.
13622         (atomic_compare_and_exchange_val_acq): Likewise.
13624 2015-08-04  Andreas Schwab  <schwab@suse.de>
13626         [BZ #18635]
13627         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
13628         ret.
13629         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
13631 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
13633         * po/pl.po: Updated translation.
13634         * po/uk.po: Likewise.
13635         * po/fi.po: Likewise.
13636         * po/ko.po: Likewise.
13637         * po/ru.po: Likewise.
13638         * po/vi.po: Likewise.
13640 2015-07-31  Zack Weinberg  <zackw@panix.com>
13642         [BZ #18681]
13643         * regexp.h: Add unconditional #warning stating that this header
13644         will be removed soon.  Revise banner comment to match.
13645         (compile): Consistently use ERROR instead of RETURN to report
13646         errors (partial fix for bz#18681).
13647         * regexp.c: Don't include regexp.h. Remove some unnecessary
13648         declarations.
13650 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
13652         * po/libc.pot: Regenerated.
13654 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
13656         [BZ #18740]
13657         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
13658         float-vlen4-arch-ext-cflags): Removed.
13659         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
13660         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
13662 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13664         [BZ #14113]
13665         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
13666         aligned to __aligned__.
13667         (pthread_cond_t, pthread_rwlock_t): Likewise.
13669 2015-07-30  Torvald Riegel  <triegel@redhat.com>
13671         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
13673 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13675         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
13676         (struct sigaction): Change sa_flags from a long to an int, and add
13677         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
13679 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13681         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
13682         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
13683         sysdeps/generic/sysdep.h include.
13684         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
13685         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
13686         sysdeps/hppa/sysdep.h.
13687         (ENTRY, PSEUDO): Undefine before defining.
13689 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13691         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
13692         from scratch to use INTERNAL_SYSCALL.
13694 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
13696         [BZ #18078]
13697         * scripts/check-localplt.awk: Support alternate relocations.
13698         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
13699         sections.
13700         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
13701         malloc entries with + REL R_386_GLOB_DAT.
13702         * sysdeps/x86_64/localplt.data: New file.
13704 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
13706         [BZ #18731]
13707         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
13708         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13709         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13711 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13713         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
13715 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13717         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
13718         directly in terms of __sync_fetch_and_add and delete (int) cast.
13720 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13722         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
13723         the -D_ASM_IA64_CURRENT_H flag.
13725 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13727         [BZ #18641]
13728         * pwd/pwd.h (putpwent): Delete __nonnull markings.
13730 2015-07-27  Andreas Schwab  <schwab@suse.de>
13732         * conform/conformtest.pl (checknamespace): Filter out string
13733         literals while tokenizing.
13735 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
13737         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13738         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
13739         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13741 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
13743         * nptl/tst-join7mod.c: Add #include <string.h>.
13745 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
13747         * sysdeps/nios2/libm-test-ulps: Update.
13749 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
13751         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
13752         Fix order of arguments to the rt_sigprocmask syscall.
13753         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
13754         Likewise.
13756 2015-07-24  Roland McGrath  <roland@hack.frob.com>
13758         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
13760 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13762         [BZ #18457]
13763         * nptl/Makefile (tests): New test case tst-join7.
13764         (modules-names): New test case module tst-join7mod.
13765         * nptl/tst-join7.c: New file.
13766         * nptl/tst-join7mod.c: New file.
13767         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
13768         all translation units in libc.so, libpthread.so and rtld.
13770 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13774 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
13776         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
13777         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
13778         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
13779         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
13780         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
13781         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
13782         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
13783         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
13784         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
13785         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
13786         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
13787         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
13788         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
13789         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
13790         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
13791         implementation.
13793 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13795         [BZ #17711]
13796         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13797         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
13798         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13799         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13800         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
13801         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13803 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13805         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
13806         instead of just saying load lock in the comments.
13808 2015-07-23  Roland McGrath  <roland@hack.frob.com>
13810         * sysdeps/unix/Subdirs: Moved ...
13811         * sysdeps/posix/Subdirs: ... here.
13812         * login/pty.h (struct termios, struct winsize): Add forward decls.
13813         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
13814         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
13815         * sysdeps/arm/nacl/libc.abilist: Updated.
13816         * sysdeps/nacl/libutil.abilist: New file.
13818         * bits/signum.h: Update comments to mention 1003.1-2013 too.
13819         (SIGWINCH): New macro.
13821         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
13822         * sysdeps/arm/nacl/libc.abilist: Add it.
13824 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13826         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
13828 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13830         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13831         Swap __glibc_reserved0 and sa_flags order.
13833 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13835         [BZ #18657]
13836         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
13837         are pending TLS destructor calls.
13838         * include/link.h (struct link_map): Add concurrency note for
13839         L_TLS_DTOR_COUNT.
13840         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13841         Don't touch the link map flag.  Atomically increment
13842         l_tls_dtor_count.
13843         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
13844         Avoid taking the load lock and don't touch the link map flag.
13845         * stdlib/tst-tls-atexit-nodelete.c: New test case.
13846         * stdlib/Makefile (tests): Use it.
13847         * stdlib/tst-tls-atexit.c (do_test): dlopen
13848         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
13849         to allow tst-tls-atexit-nodelete test case to use it.
13851 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13853         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
13854         to bits/types.h.
13855         (msgqnum_t): New typedef.
13856         (msglen_t): Likewise.
13857         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
13858         and msg_qbytes type to msglen_t.
13860 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13862         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
13863         pad0 to __glibc_reserved0.
13864         (struct stat64): Likewise.
13866 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13868         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13869         Change sa_flags from a long to an int and add __glibc_reserved0 before
13870         it for padding.
13872 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13874         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
13875         anonymous by deleting "siginfo" name.
13877 2015-07-21  Roland McGrath  <roland@hack.frob.com>
13879         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
13880         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
13881         rather than __nacl_irt_filename.
13882         * sysdeps/nacl/xstat.c (__xstat): Likewise.
13884         * NEWS: New item for arm-nacl port.
13885         * sysdeps/arm/nacl/libc.abilist: New file.
13886         * sysdeps/nacl/ld.abilist: New file.
13887         * sysdeps/nacl/libBrokenLocale.abilist: New file.
13888         * sysdeps/nacl/libanl.abilist: New file.
13889         * sysdeps/nacl/libcrypt.abilist: New file.
13890         * sysdeps/nacl/libdl.abilist: New file.
13891         * sysdeps/nacl/libm.abilist: New file.
13892         * sysdeps/nacl/libpthread.abilist: New file.
13893         * sysdeps/nacl/libresolv.abilist: New file.
13894         * sysdeps/nacl/librt.abilist: New file.
13896 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
13898         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
13899         __startcontext to initialize the new context.
13900         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
13901         up CFI directive to forbid further backtracing.
13903 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
13905         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
13906         reference.
13907         * charmaps/ANSI_X3.4-1968: Likewise.
13908         * charmaps/BS_4730: Likewise.
13909         * charmaps/BS_VIEWDATA: Likewise.
13910         * charmaps/CP1250: Likewise.
13911         * charmaps/CP1251: Likewise.
13912         * charmaps/CP1252: Likewise.
13913         * charmaps/CP1253: Likewise.
13914         * charmaps/CP1254: Likewise.
13915         * charmaps/CP1255: Likewise.
13916         * charmaps/CP1256: Likewise.
13917         * charmaps/CSN_369103: Likewise.
13918         * charmaps/EBCDIC-DK-NO: Likewise.
13919         * charmaps/GB_1988-80: Likewise.
13920         * charmaps/GREEK-CCITT: Likewise.
13921         * charmaps/GREEK7: Likewise.
13922         * charmaps/INIS-8: Likewise.
13923         * charmaps/ISIRI-3342: Likewise.
13924         * charmaps/ISO_2033-1983: Likewise.
13925         * charmaps/ISO_5427-EXT: Likewise.
13926         * locales/POSIX: Likewise.
13927         * locales/ar_SA: Likewise.
13928         * locales/be_BY: Likewise.
13929         * locales/be_BY@latin: Likewise.
13930         * locales/ca_ES: Likewise.
13931         * locales/cs_CZ: Likewise.
13932         * locales/da_DK: Likewise.
13933         * locales/de_BE: Likewise.
13934         * locales/de_CH: Likewise.
13935         * locales/de_LU: Likewise.
13936         * locales/en_AU: Likewise.
13937         * locales/en_BW: Likewise.
13938         * locales/en_CA: Likewise.
13939         * locales/en_DK: Likewise.
13940         * locales/en_GB: Likewise.
13941         * locales/en_IE: Likewise.
13942         * locales/en_NZ: Likewise.
13943         * locales/en_ZA: Likewise.
13944         * locales/en_ZW: Likewise.
13945         * locales/es_AR: Likewise.
13946         * locales/es_BO: Likewise.
13947         * locales/es_CL: Likewise.
13948         * locales/es_CO: Likewise.
13949         * locales/es_DO: Likewise.
13950         * locales/es_EC: Likewise.
13951         * locales/es_ES: Likewise.
13952         * locales/es_HN: Likewise.
13953         * locales/es_MX: Likewise.
13954         * locales/es_PA: Likewise.
13955         * locales/es_PE: Likewise.
13956         * locales/es_PY: Likewise.
13957         * locales/es_SV: Likewise.
13958         * locales/es_US: Likewise.
13959         * locales/es_UY: Likewise.
13960         * locales/es_VE: Likewise.
13961         * locales/et_EE: Likewise.
13962         * locales/fa_IR: Likewise.
13963         * locales/fo_FO: Likewise.
13964         * locales/fr_CA: Likewise.
13965         * locales/fr_CH: Likewise.
13966         * locales/gv_GB: Likewise.
13967         * locales/he_IL: Likewise.
13968         * locales/hr_HR: Likewise.
13969         * locales/id_ID: Likewise.
13970         * locales/is_IS: Likewise.
13971         * locales/it_CH: Likewise.
13972         * locales/iw_IL: Likewise.
13973         * locales/kl_GL: Likewise.
13974         * locales/ko_KR: Likewise.
13975         * locales/kw_GB: Likewise.
13976         * locales/lg_UG: Likewise.
13977         * locales/lt_LT: Likewise.
13978         * locales/lv_LV: Likewise.
13979         * locales/mi_NZ: Likewise.
13980         * locales/nhn_MX: Likewise.
13981         * locales/nl_BE: Likewise.
13982         * locales/pl_PL: Likewise.
13983         * locales/sk_SK: Likewise.
13984         * locales/sl_SI: Likewise.
13985         * locales/sv_FI: Likewise.
13986         * locales/tl_PH: Likewise.
13987         * locales/tr_TR: Likewise.
13988         * locales/vi_VN: Likewise.
13990 2015-07-21  Khem Raj  <raj.khem@gmail.com>
13992         [BZ #17475]
13993         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
13994         of tu_IN and bh_IN.
13996 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
13998         [BZ #18694]
13999         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
14000         bits/wordsize.h.
14001         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
14003 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14005         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
14006         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
14007         (spawn_thread): New function.
14008         (load): Rename to reg_dtor_and_close.  Move dlopen to...
14009         (do_test): ... here.  Use IS_LOADED to test for its
14010         availability.
14012 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
14014         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14016 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
14018         [BZ #18696]
14019         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
14020         si_addr_bnd.
14021         (si_lower): New.
14022         (si_upper): Likewise.
14024 2015-07-16  David S. Miller  <davem@davemloft.net>
14026         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
14028 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14030         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
14031         buffer.
14032         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
14033         fail output information.
14035 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14037         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
14038         and strstr-ppc64..
14039         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14040         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
14041         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
14042         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
14043         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
14045 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
14047         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
14048         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14049         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
14050         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14052 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
14054         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14055         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
14056         rtld_hidden_proto.
14057         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
14059 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14061         * tst-nodelete-opened.c (do_test): Add comment to clarify how
14062         the test can fail.
14064         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
14066         [BZ #18676]
14067         * elf/tst-nodelete-opened.c: New test case.
14068         * elf/tst-nodelete-opened-lib.c: New test case module.
14069         * elf/Makefile (tests, modules-names): Use them.
14070         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
14071         early.
14073 2015-07-15  David S. Miller  <davem@davemloft.net>
14075         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
14076         futex-intenal.h
14077         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
14078         * sysdeps/sparc/sparc64/Makefile: Likewise.
14079         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
14080         Remove space from macro define.
14081         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
14083 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
14085         [BZ #17475]
14086         * locale/iso-639.def: Update Bhili and Tulu language codes as
14087         per iso639-3.
14089 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
14091         * elf/tst-leaks1.c (main): Converted to ...
14092         (do_test): ... this.
14093         (TEST_FUNCTION): New macro.
14094         Include test-skeleton.c.
14095         * localedata/tst-langinfo.c (main): Converted to ...
14096         (do_test): ... this.
14097         (TEST_FUNCTION): New macro.
14098         Include test-skeleton.c.
14099         * math/test-fpucw.c (main): Converted to ...
14100         (do_test): ... this.
14101         (TEST_FUNCTION): New macro.
14102         Include test-skeleton.c.
14103         * math/test-tgmath.c (main): Converted to ...
14104         (do_test): ... this.
14105         (TEST_FUNCTION): New macro.
14106         Include test-skeleton.c.
14107         * math/test-tgmath2.c (main): Converted to ...
14108         (do_test): ... this.
14109         (TEST_FUNCTION): New macro.
14110         Include test-skeleton.c.
14111         * setjmp/tst-setjmp.c (main): Converted to ...
14112         (do_test): ... this.
14113         (TEST_FUNCTION): New macro.
14114         Include test-skeleton.c.
14115         * stdio-common/tst-sscanf.c (main): Converted to ...
14116         (do_test): ... this.
14117         (TEST_FUNCTION): New macro.
14118         Include test-skeleton.c.
14119         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
14120         (do_test): ... this.
14121         (TEST_FUNCTION): New macro.
14122         Include test-skeleton.c.
14124         * elf/tst-audit9.c (main): Converted to ...
14125         (do_test): ... this.
14126         (TEST_FUNCTION): New macro.
14127         Include test-skeleton.c.
14129 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
14131         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
14133 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
14135         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
14136         New variable.
14138 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
14140         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14142 2015-07-14  Roland McGrath  <roland@hack.frob.com>
14144         * sysdeps/generic/dl-fileid.h: New file.
14145         * sysdeps/posix/dl-fileid.h: New file.
14146         * sysdeps/nacl/dl-fileid.h: New file.
14147         * include/link.h: Include <dl-fileid.h>.
14148         (struct link_map): Replace l_dev and l_ino with l_file_id.
14149         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
14150         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
14151         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
14153 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14155         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
14157 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14159         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
14160         Add iff $CXX is set.
14161         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
14162         Likewise.
14163         (tst-nodelete-zmodiff): Likewise.
14164         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
14166 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14168         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
14170 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
14172         * sysdeps/aarch64/fpu/math_private.h
14173         (define math_opt_barrier): Add AArch64 version.
14174         (math_force_eval): Likewise.
14176 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
14178         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
14180 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
14182         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
14183         %ld with %jd and cast to intmax_t.
14184         (do_test_length_zero): Likewise.
14186 2015-07-10  Roland McGrath  <roland@hack.frob.com>
14188         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
14190 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
14192         * sysdeps/tile/libm-test-ulps: Regenerated.
14194         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
14195         Comment out the whole function, not just its body.
14197 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14199         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
14200         locks.
14202         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
14204 2015-07-10  Torvald Riegel  <triegel@redhat.com>
14206         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
14207         (sem_assume_only_signals_cause_futex_EINTR): Remove.
14209 2015-07-10  Torvald Riegel  <triegel@redhat.com>
14211         * sysdeps/nptl/futex-internal.h: New file.
14212         * sysdeps/nacl/futex-internal.h: New file.
14213         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
14214         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
14215         error checking.
14216         (setxid_unmark_thread): Likewise.
14217         (__nptl_setxid): Likewise.
14218         (__wait_lookup_done): Likewise.
14219         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
14220         * nptl/nptl-init.c (sighandler_setxid): Likewise.
14221         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
14222         * nptl/pthread_once.c (clear_once_control): Likewise.
14223         (__pthread_once_slow): Likewise.
14224         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
14225         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
14226         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
14227         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14228         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
14229         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
14230         Likewise.
14231         (__pthread_rwlock_rdlock): Likewise.
14232         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14233         Likewise.
14234         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14235         Likewise.
14236         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
14237         Likewise.
14238         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
14239         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
14240         Likewise.
14241         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
14242         __ASSUME_PRIVATE_FUTEX check.
14243         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
14244         Check that shared futexes are supported.
14245         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
14246         wrappers with error checking.
14247         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
14248         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
14249         * nptl/pthread_barrierattr_setpshared.c
14250         (pthread_barrierattr_setpshared): Check that shared futexes are
14251         supported.
14252         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
14253         Likewise.
14254         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
14255         Likewise.
14256         * nptl/sem_init.c (futex_private_if_supported): Remove.
14257         (__new_sem_init): Adapt and check that shared futexes are supported.
14258         * nptl/sem_open.c (sem_open): Likewise.
14259         * nptl/sem_post.c (futex_wake): Remove.
14260         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
14261         (do_futex_wait): Use futex wrappers with error checking.
14262         * nptl/sem_wait.c: Include lowlevellock.h.
14263         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
14264         Use futex_supports_pshared.
14265         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
14266         Use futex wrappers with error checking.
14267         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
14268         Likewise.
14269         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
14270         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
14271         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
14272         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
14273         (futex_wake): Likewise.
14274         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
14275         (do_futex_wait): Use futex wrappers with error checking.
14276         (__new_sem_wait_slow): Update EINTR handling.
14277         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
14279 2015-07-09  Martin Sebor  <msebor@redhat.com>
14281         [BZ #18435]
14282         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
14283         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
14284         * nptl/Makefile (test-xfail-tst-once5): Define.
14286 2015-07-09  Roland McGrath  <roland@hack.frob.com>
14288         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
14289         * elf/dl-minimal.c: For readability, reorder some definitions and
14290         introduce more page breaks.  Include <stdio.h>.
14291         (__libc_fatal): New function.
14293         * include/unistd.h: Add rtld_hidden_proto for _exit.
14294         * posix/_exit.c: Add rtld_hidden_def.
14295         * sysdeps/mach/hurd/_exit.c: Likewise.
14296         * sysdeps/nacl/_exit.c: Likewise.
14297         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
14298         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
14300 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
14302         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
14303         bndmov encoding with zero displacement.
14305 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
14306             H.J. Lu  <hongjiu.lu@intel.com>
14308         [BZ #18134]
14309         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
14310         * sysdeps/i386/configure: Regenerated.
14311         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
14312         (_dl_runtime_profile): Save and restore Intel MPX return bound
14313         registers when calling _dl_call_pltexit.  Add
14314         PRESERVE_BND_REGS_PREFIX before return.
14315         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
14316         (LRV_BND1_OFFSET): Likewise.
14317         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
14318         lrv_bnd1.
14319         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
14320         typo in bndmov encoding.
14321         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
14322         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
14323         branch instructions to preserve bounds.
14325 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
14328         [GLIBC_2.22]: Add fmemopen.
14330 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14332         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
14333         returns an error, also try to use host port from __mach_host_self for
14334         the __vm_wire call.
14335         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
14337 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14339         [BZ #18400]
14340         [BZ #18648]
14341         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
14342         Fix pr_uid and pr_gid members.
14343         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
14344         definition to elf_greg_t.
14346 2015-07-08  Roland McGrath  <roland@hack.frob.com>
14348         [BZ #18383]
14349         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
14350         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
14351         * sysdeps/arm/configure: Regenerated.
14352         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
14353         (test-xfail-tst-tlsalign-static): Variable removed.
14355         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
14356         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
14357         rather than explicit 'ln -s'.
14359         * resolv/rpc/netdb.h: New file.
14360         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
14362 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14364         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
14365         length buffers.
14366         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
14367         test-skeleton.c.
14369         [BZ #6544]
14370         [BZ #11216]
14371         [BZ #12836]
14372         [BZ #13151]
14373         [BZ #13152]
14374         [BZ #14292]
14375         * include/stdio.h (fmemopen): Remove hidden prototype.
14376         (__fmemopen): Add new hidden prototype.
14377         * libio/Makefile: Add oldfmemopen object.
14378         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
14379         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
14380         compliance.
14381         * libio/oldfmemopen.c: New file: old fmemopen implementation for
14382         symbol compatibility.
14383         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
14384         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
14385         fmemopen.
14386         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
14387         on append and read mode.
14388         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
14389         fmemopen.
14390         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
14391         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
14392         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
14393         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
14394         Likewise.
14395         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
14396         [GLIBC_2.22]: Likewise.
14397         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
14398         Likewise.
14399         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
14400         Likewise.
14401         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
14402         [GLIBC_2.22]: Likewise.
14403         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
14404         [GLIBC_2.22]: Likewise.
14405         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
14406         [GLIBC_2.22]: Likewise.
14407         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
14408         [GLIBC_2.22]: Likewise.
14409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
14410         [GLIBC_2.22]: Likewise.
14411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
14412         [GLIBC_2.22]: Likewise.
14413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
14414         [GLIBC_2.22]: Likewise.
14415         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
14416         Likewise.
14417         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
14418         Likewise.
14419         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
14420         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
14421         [GLIBC_2.22]: Likewise.
14422         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
14423         [GLIBC_2.22]: Likewise.
14424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
14425         [GLIBC_2.22]: Likewise.
14426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
14427         [GLIBC_2.22]: Likewise.
14428         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
14429         Likewise.
14430         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
14431         Likewise.
14432         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
14433         Likewise.
14434         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
14435         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
14437 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
14439         [BZ #18643]
14440         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
14441         IPV6_PATHMTU, and IPV6_DONTFRAG.
14443 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
14445         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
14446         and _IO_UNBUFFERED.
14447         * libio/oldfileops.c: Likewise.
14448         * libio/wfileops.c: Likewise.
14450 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
14452         * nscd/selinux.c: Delete selinux/flask.h include.
14454 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
14456         [BZ #18641]
14457         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
14458         (putpwent): Likewise.
14459         (getpwnam): Likewise.
14460         (getpwent_r): Likewise.
14461         (getpwuid_r): Likewise.
14462         (getpwnam_r): Likewise.
14463         (fgetpwent_r): Likewise.
14465 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
14467         [BZ #18557]
14468         * inet/rcmd.c (__validuser2_sa): Check user first to
14469         short-circuit host check.
14471 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
14472             Mikhail Ilin  <m.ilin@samsung.com>
14474         [BZ #17833]
14475         * elf/Makefile (tests): Add tst-nodelete.
14476         (modules-names): Add tst-nodelete-uniquemod.
14477         (tst-nodelete-uniquemod.so-no-z-defs): New.
14478         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
14479         (tst-nodelete-zmod.so-no-z-defs): Likewise.
14480         ($(objpfx)tst-nodelete): Likewise.
14481         ($(objpfx)tst-nodelete.out): Likewise.
14482         (LDFLAGS-tst-nodelete): Likewise.
14483         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
14484         * elf/dl-close.c (_dl_close_worker): Add a parameter to
14485         implement forced object deletion.
14486         (_dl_close): Pass false to _dl_close_worker.
14487         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
14488         * elf/tst-nodelete.cc: New file.
14489         * elf/tst-nodeletelib.cc: Likewise.
14490         * elf/tst-znodeletelib.cc: Likewise.
14491         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
14493 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14495         [BZ #18508]
14496         * stdlib/Makefile ($(objpfx)tst-makecontext3):
14497         Depend on $(libdl).
14498         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
14499         is not called infinitely times.
14500         (backtrace_helper): New function.
14501         (trace_arg): New struct.
14502         (st1): Enlarge stack size.
14503         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14504         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
14505         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14506         Likewise.
14508 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14510         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14512 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14514         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
14515         Include sys/types.h instead of bits/types.h.
14516         Remove inclusion of bits/wordsize.h.
14518 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14520         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
14521         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
14522         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
14523         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
14524         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
14525         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
14527 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14529         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
14530         link-defines.sym.
14531         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
14532         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
14533         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
14534         and LR_SIZE.
14535         * sysdeps/i386/link-defines.sym: New file.
14537 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14539         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
14540         (modules-names): Add tst-auditmod3a tst-auditmod3b.
14541         ($(objpfx)tst-audit3): New rule.
14542         ($(objpfx)tst-audit3.out): Likewise.
14543         * sysdeps/i386/tst-audit3.c: New file.
14544         * sysdeps/i386/tst-audit3.h: Likewise.
14545         * sysdeps/i386/tst-auditmod3a.c: Likewise.
14546         * sysdeps/i386/tst-auditmod3b.c: Likewise.
14548 2015-07-07  Torvald Riegel  <triegel@redhat.com>
14550         [BZ #18633]
14551         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
14552         pointer in C code.
14553         (__strcat_c): Likewise.
14554         (__strcat_g): Likewise.
14556 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
14558         [BZ #18592]
14559         * misc/sbrk.c: Set errno to ENOMEM on overflow.
14561 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
14563         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
14564         New function.  (__ieee754_sqrtf): New function.
14565         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
14566         New function.
14567         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
14568         New function.
14570 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
14572         * sysdeps/ieee754/support.c: Remove unused file.
14574 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14576         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
14577         registers instead of d ones so the layout is kernel abi compatible.
14578         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
14579         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
14580         Likewise.
14582 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14584         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14586 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
14588         [BZ #18619]
14589         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
14590         and return argument in case of subnormal argument.
14592 2015-07-01  Martin Sebor  <msebor@redhat.com>
14594         [BZ #18435]
14595         * nptl/Makefile: Add tst-once5.cc.
14596         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
14597         Remove macro redefinitions.
14598         * nptl/tst-once5.cc: New test.
14600 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
14602         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14604         * sysdeps/arm/libm-test-ulps: Regenerated.
14606         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14607         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14609 2015-06-30  Torvald Riegel  <triegel@redhat.com>
14611         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
14612         lll_lock_wait_private and lll_futex_wake probes.
14614         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
14615         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
14616         Likewise.
14617         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
14618         atomic_spin_nop.
14619         * sysdeps/x86_64/bits/atomic.h: Likewise.
14620         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
14621         to atomic_spin_nop and move ...
14622         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
14623         ... here and ...
14624         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
14625         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
14626         atomic_spin_nop instead of BUSY_WAIT_NOP.
14627         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
14628         Likewise.
14629         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
14630         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
14631         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
14632         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
14633         instead of atomic_delay.
14635 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
14637         [BZ #18613]
14638         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
14639         X_ADJ not X when adjusting exponent.
14640         (__ieee754_gamma_r): Do intermediate computations in
14641         round-to-nearest then adjust overflowing and underflowing results
14642         as needed.
14643         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
14644         of X_ADJ not X when adjusting exponent.
14645         (__ieee754_gammaf_r): Do intermediate computations in
14646         round-to-nearest then adjust overflowing and underflowing results
14647         as needed.
14648         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
14649         log of X_ADJ not X when adjusting exponent.
14650         (__ieee754_gammal_r): Do intermediate computations in
14651         round-to-nearest then adjust overflowing and underflowing results
14652         as needed.  Use 1.0L not 1.0f as numerator of division.
14653         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
14654         log of X_ADJ not X when adjusting exponent.
14655         (__ieee754_gammal_r): Do intermediate computations in
14656         round-to-nearest then adjust overflowing and underflowing results
14657         as needed.  Use 1.0L not 1.0f as numerator of division.
14658         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
14659         of X_ADJ not X when adjusting exponent.
14660         (__ieee754_gammal_r): Do intermediate computations in
14661         round-to-nearest then adjust overflowing and underflowing results
14662         as needed.  Use 1.0L not 1.0f as numerator of division.
14663         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
14664         to auto-libm-test-in.
14665         (tgamma_test): Use ALL_RM_TEST.
14666         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
14667         tests of tgamma with spurious-overflow.
14668         * math/auto-libm-test-out: Regenerated.
14669         * math/gen-libm-have-vector-test.sh: Do not check for START.
14670         * sysdeps/i386/fpu/libm-test-ulps: Update.
14671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14673         [BZ #18612]
14674         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
14675         arguments, just return 0.5 times the argument, with underflow
14676         forced as needed.
14677         * math/auto-libm-test-in: Add more tests of j1.
14678         * math/auto-libm-test-out: Regenerated.
14680         [BZ #16559]
14681         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
14682         (__ieee754_j1): Force underflow exception for small results.
14683         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14684         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
14685         (__ieee754_j1f): Force underflow exception for small results.
14686         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14687         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14688         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14689         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
14690         (__ieee754_j1l): Force underflow exception for small results.
14691         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14692         * math/auto-libm-test-in: Add more tests of j1 and jn.
14693         * math/auto-libm-test-out: Regenerated.
14695         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
14696         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
14697         (PF_MPLS): Likewise.
14698         (AF_IB): Likewise.
14699         (AF_MPLS): Likewise.
14700         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
14701         value and macro.
14702         (MS_RMT_MASK): Include MS_LAZYTIME.
14704 2015-06-26  Mel Gorman  <mgorman@suse.de>
14706         [BZ #18502]
14707         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
14708         already minimal.
14710 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
14712         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
14713         (DT_MIPS_NUM): Update.
14714         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
14715         DT_MIPS_RLD_MAP_REL.
14717 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
14719         [BZ #16559]
14720         [BZ #18602]
14721         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
14722         round-to-nearest internally then recompute results that
14723         underflowed to zero in the original rounding mode.
14724         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14725         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14726         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14727         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14728         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
14729         * sysdeps/i386/fpu/libm-test-ulps: Update.
14730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14732 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
14734         * NEWS: Fixed description of link with vector math library.
14736 2015-06-25  Andreas Schwab  <schwab@suse.de>
14738         [BZ #18549]
14739         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
14740         * libio/test-fmemopen.c (do_test): Add test for it.
14742 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
14744         [BZ #17841]
14745         * Makeconfig (no-pie-ldflag): New.
14746         (+link): Set to $(+link-pie) if default to PIE.
14747         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
14748         * config.make.in (build-pie-default): New.
14749         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
14750         is default.  AC_SUBST.
14751         * configure: Regenerated.
14752         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
14754 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14756         * nptl/descr.h (struct pthread): Change type of field setxid_futex
14757         to 'unsigned int'.
14759         * resolv/gai_misc.h (struct waitlist): Change type of field
14760         counterp to 'volatile unsigned int *'.
14761         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
14762         FUTEXADDR and OLDVAL.
14763         * resolv/getaddrinfo_a.c (getaddrinfo_a):
14764         Give local variable TOTAL type 'volatile unsigned int'.
14765         (struct async_waitlist): Change type of field counter to 'unsigned int'.
14766         * resolv/gai_suspend.c (gai_suspend):
14767         Give local variable CNTR type 'unsigned int'.
14769         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
14770         counterp to 'volatile unsigned int *'.
14771         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
14772         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
14773         (aio_suspend): Give local variable CNTR type 'unsigned int'.
14774         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
14775         Give local variable TOTAL type 'volatile unsigned int'.
14776         (struct async_waitlist): Change type of field counter to 'unsigned int'.
14778 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
14780         [BZ #18383]
14781         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
14782         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
14783         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
14784         comment for i386/x86-64.
14785         (test-xfail-tst-tlsalign-extern-static): Removed.
14787 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14789         * math/test-double.h: New file.
14790         * math/test-float.h: Likewise.
14791         * math/test-ldouble.h: Likewise.
14792         * math/test-math-inline.h: Likewise.
14793         * math/test-math-no-inline.h: Likewise.
14794         * math/test-math-scalar.h: Likewise.
14795         * math/test-math-vector.h: Likewise.
14796         * math/test-vec-loop.h: Remove file.  Contents moved into
14797         test-math-vector.h.
14798         * math/libm-test.inc (MATHCONST): Do not document macro.
14799         * math/test-double.c: Include test-double.h, test-math-no-inline.h
14800         and test-math-scalar.h.
14801         (FUNC): Remove macro.
14802         (FUNC_TEST): Likewise.
14803         (FLOAT): 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         * math/test-float.c: Include test-float.h, test-math-no-inline.h
14812         and test-math-scalar.h.
14813         (FUNC): Remove macro.
14814         (FUNC_TEST): Likewise.
14815         (FLOAT): Likewise.
14816         (MATHCONST): Likewise.
14817         (PRINTF_EXPR): Likewise.
14818         (PRINTF_XEXPR): Likewise.
14819         (PRINTF_NEXPR): Likewise.
14820         (TEST_FLOAT): Likewise.
14821         (TEST_MATHVEC): Likewise.
14822         (__NO_MATH_INLINES): Likewise.
14823         * math/test-idouble.c: Include test-double.h, test-math-inline.h
14824         and test-math-scalar.h.
14825         (FUNC): Remove macro.
14826         (FUNC_TEST): Likewise.
14827         (FLOAT): Likewise.
14828         (MATHCONST): Likewise.
14829         (PRINTF_EXPR): Likewise.
14830         (PRINTF_XEXPR): Likewise.
14831         (PRINTF_NEXPR): Likewise.
14832         (TEST_DOUBLE): Likewise.
14833         (TEST_MATHVEC): Likewise.
14834         (TEST_INLINE): Likewise.
14835         (__NO_MATH_INLINES): Likewise.
14836         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
14837         test-math-scalar.h.
14838         (FUNC): Remove macro.
14839         (FUNC_TEST): Likewise.
14840         (FLOAT): Likewise.
14841         (MATHCONST): Likewise.
14842         (PRINTF_EXPR): Likewise.
14843         (PRINTF_XEXPR): Likewise.
14844         (PRINTF_NEXPR): Likewise.
14845         (TEST_FLOAT): Likewise.
14846         (TEST_MATHVEC): Likewise.
14847         (TEST_INLINE): Likewise.
14848         (__NO_MATH_INLINES): Likewise.
14849         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
14850         and test-math-scalar.h.
14851         (FUNC): Remove macro.
14852         (FUNC_TEST): Likewise.
14853         (FLOAT): Likewise.
14854         (MATHCONST): Likewise.
14855         (PRINTF_EXPR): Likewise.
14856         (PRINTF_XEXPR): Likewise.
14857         (PRINTF_NEXPR): Likewise.
14858         (TEST_LDOUBLE): Likewise.
14859         (TEST_MATHVEC): Likewise.
14860         (TEST_INLINE): Likewise.
14861         (__NO_MATH_INLINES): Likewise.
14862         * math/test-ldouble.c: Include test-ldouble.h,
14863         test-math-no-inline.h and test-math-scalar.h.
14864         (FUNC): Remove macro.
14865         (FUNC_TEST): Likewise.
14866         (FLOAT): Likewise.
14867         (MATHCONST): Likewise.
14868         (PRINTF_EXPR): Likewise.
14869         (PRINTF_XEXPR): Likewise.
14870         (PRINTF_NEXPR): Likewise.
14871         (TEST_LDOUBLE): Likewise.
14872         (TEST_MATHVEC): Likewise.
14873         (__NO_MATH_INLINES): Likewise.
14874         * math/test-double-vlen2.h: Include test-double.h,
14875         test-math-no-inline.h and test-math-vector.h.
14876         (FLOAT): Remove macro.
14877         (FUNC): Likewise.
14878         (MATHCONST): Likewise.
14879         (PRINTF_EXPR): Likewise.
14880         (PRINTF_XEXPR): Likewise.
14881         (PRINTF_NEXPR): Likewise.
14882         (TEST_DOUBLE): Likewise.
14883         (TEST_MATHVEC): Likewise.
14884         (__NO_MATH_INLINES): Likewise.
14885         (CNCT): Likewise.
14886         (CONCAT): Likewise.
14887         (WRAPPER_NAME): Likewise.
14888         (WRAPPER_DECL): Likewise.
14889         (WRAPPER_DECL_ff): Likewise.
14890         (WRAPPER_DECL_fFF): Likewise.
14891         (VECTOR_WRAPPER): Likewise.
14892         (VECTOR_WRAPPER_ff): Likewise.
14893         (VECTOR_WRAPPER_fFF): Likewise.
14894         (VEC_LEN): New macro.
14895         * math/test-double-vlen4.h: Include test-double.h,
14896         test-math-no-inline.h and test-math-vector.h.
14897         (FLOAT): Remove macro.
14898         (FUNC): Likewise.
14899         (MATHCONST): Likewise.
14900         (PRINTF_EXPR): Likewise.
14901         (PRINTF_XEXPR): Likewise.
14902         (PRINTF_NEXPR): Likewise.
14903         (TEST_DOUBLE): Likewise.
14904         (TEST_MATHVEC): Likewise.
14905         (__NO_MATH_INLINES): Likewise.
14906         (CNCT): Likewise.
14907         (CONCAT): Likewise.
14908         (WRAPPER_NAME): Likewise.
14909         (WRAPPER_DECL): Likewise.
14910         (WRAPPER_DECL_ff): Likewise.
14911         (WRAPPER_DECL_fFF): Likewise.
14912         (VECTOR_WRAPPER): Likewise.
14913         (VECTOR_WRAPPER_ff): Likewise.
14914         (VECTOR_WRAPPER_fFF): Likewise.
14915         (VEC_LEN): New macro.
14916         * math/test-double-vlen8.h: Include test-double.h,
14917         test-math-no-inline.h and test-math-vector.h.
14918         (FLOAT): Remove macro.
14919         (FUNC): Likewise.
14920         (MATHCONST): Likewise.
14921         (PRINTF_EXPR): Likewise.
14922         (PRINTF_XEXPR): Likewise.
14923         (PRINTF_NEXPR): Likewise.
14924         (TEST_DOUBLE): Likewise.
14925         (TEST_MATHVEC): Likewise.
14926         (__NO_MATH_INLINES): Likewise.
14927         (CNCT): Likewise.
14928         (CONCAT): Likewise.
14929         (WRAPPER_NAME): Likewise.
14930         (WRAPPER_DECL): Likewise.
14931         (WRAPPER_DECL_ff): Likewise.
14932         (WRAPPER_DECL_fFF): Likewise.
14933         (VECTOR_WRAPPER): Likewise.
14934         (VECTOR_WRAPPER_ff): Likewise.
14935         (VECTOR_WRAPPER_fFF): Likewise.
14936         (VEC_LEN): New macro.
14937         * math/test-float-vlen4.h: Include test-float.h,
14938         test-math-no-inline.h and test-math-vector.h.
14939         (FLOAT): Remove macro.
14940         (FUNC): Likewise.
14941         (MATHCONST): Likewise.
14942         (PRINTF_EXPR): Likewise.
14943         (PRINTF_XEXPR): Likewise.
14944         (PRINTF_NEXPR): Likewise.
14945         (TEST_FLOAT): Likewise.
14946         (TEST_MATHVEC): Likewise.
14947         (__NO_MATH_INLINES): Likewise.
14948         (CNCT): Likewise.
14949         (CONCAT): Likewise.
14950         (WRAPPER_NAME): Likewise.
14951         (WRAPPER_DECL): Likewise.
14952         (WRAPPER_DECL_ff): Likewise.
14953         (WRAPPER_DECL_fFF): Likewise.
14954         (VECTOR_WRAPPER): Likewise.
14955         (VECTOR_WRAPPER_ff): Likewise.
14956         (VECTOR_WRAPPER_fFF): Likewise.
14957         (VEC_LEN): New macro.
14958         * math/test-float-vlen8.h: Include test-float.h,
14959         test-math-no-inline.h and test-math-vector.h.
14960         (FLOAT): Remove macro.
14961         (FUNC): Likewise.
14962         (MATHCONST): Likewise.
14963         (PRINTF_EXPR): Likewise.
14964         (PRINTF_XEXPR): Likewise.
14965         (PRINTF_NEXPR): Likewise.
14966         (TEST_FLOAT): Likewise.
14967         (TEST_MATHVEC): Likewise.
14968         (__NO_MATH_INLINES): Likewise.
14969         (CNCT): Likewise.
14970         (CONCAT): Likewise.
14971         (WRAPPER_NAME): Likewise.
14972         (WRAPPER_DECL): Likewise.
14973         (WRAPPER_DECL_ff): Likewise.
14974         (WRAPPER_DECL_fFF): Likewise.
14975         (VECTOR_WRAPPER): Likewise.
14976         (VECTOR_WRAPPER_ff): Likewise.
14977         (VECTOR_WRAPPER_fFF): Likewise.
14978         (VEC_LEN): New macro.
14979         * math/test-float-vlen16.h: Include test-float.h,
14980         test-math-no-inline.h and test-math-vector.h.
14981         (FLOAT): Remove macro.
14982         (FUNC): Likewise.
14983         (MATHCONST): Likewise.
14984         (PRINTF_EXPR): Likewise.
14985         (PRINTF_XEXPR): Likewise.
14986         (PRINTF_NEXPR): Likewise.
14987         (TEST_FLOAT): Likewise.
14988         (TEST_MATHVEC): Likewise.
14989         (__NO_MATH_INLINES): Likewise.
14990         (CNCT): Likewise.
14991         (CONCAT): Likewise.
14992         (WRAPPER_NAME): Likewise.
14993         (WRAPPER_DECL): Likewise.
14994         (WRAPPER_DECL_ff): Likewise.
14995         (WRAPPER_DECL_fFF): Likewise.
14996         (VECTOR_WRAPPER): Likewise.
14997         (VECTOR_WRAPPER_ff): Likewise.
14998         (VECTOR_WRAPPER_fFF): Likewise.
14999         (VEC_LEN): New macro.
15000         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
15001         test-vec-loop.h.
15002         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15003         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15004         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15005         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15006         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15007         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15008         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15010 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15012         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
15013         (__getlogin_r): ... this.
15015 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15017         [BZ #18594]
15018         * math/s_ccosh.c (__ccosh): Compare with least normal value
15019         instead of comparing class with FP_SUBNORMAL.
15020         * math/s_ccoshf.c (__ccoshf): Likewise.
15021         * math/s_ccoshl.c (__ccoshl): Likewise.
15022         * math/s_cexp.c (__cexp): Likewise.
15023         * math/s_cexpf.c (__cexpf): Likewise.
15024         * math/s_cexpl.c (__cexpl): Likewise.
15025         * math/s_csin.c (__csin): Likewise.
15026         * math/s_csinf.c (__csinf): Likewise.
15027         * math/s_csinh.c (__csinh): Likewise.
15028         * math/s_csinhf.c (__csinhf): Likewise.
15029         * math/s_csinhl.c (__csinhl): Likewise.
15030         * math/s_csinl.c (__csinl): Likewise.
15031         * math/s_ctan.c (__ctan): Likewise.
15032         * math/s_ctanf.c (__ctanf): Likewise.
15033         * math/s_ctanh.c (__ctanh): Likewise.
15034         * math/s_ctanhf.c (__ctanhf): Likewise.
15035         * math/s_ctanhl.c (__ctanhl): Likewise.
15036         * math/s_ctanl.c (__ctanl): Likewise.
15037         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
15038         csin, csinh, ctan and ctanh.
15039         * math/auto-libm-test-out: Regenerated.
15040         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
15041         * sysdeps/i386/fpu/libm-test-ulps: Update.
15042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15044 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15046         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
15047         return value is wrong, print the expected value too.
15049 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
15051         [BZ #18585]
15052         * elf/readlib.c (is_gdb_python_file): New.
15053         (process_file): Don't issue errors on filenames with -gdb.py
15054         suffix.
15056 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15058         * math/auto-libm-test-in: Add more tests of csin and csinh.
15059         * math/auto-libm-test-out: Regenerated.
15060         * math/libm-test.inc (csin_test_data): Remove tests moved to
15061         auto-libm-test-in.
15062         (csinh_test_data): Likewise.
15064         [BZ #18593]
15065         * math/s_csin.c (__csin): Negate before rather than after possibly
15066         overflowing multiplication.
15067         * math/s_csinf.c (__csinf): Likewise.
15068         * math/s_csinh.c (__csinh): Likewise.
15069         * math/s_csinhf.c (__csinhf): Likewise.
15070         * math/s_csinhl.c (__csinhl): Likewise.
15071         * math/s_csinl.c (__csinl): Likewise.
15072         * math/auto-libm-test-in: Add some tests of csin and csinh.
15073         * math/auto-libm-test-out: Regenerated.
15074         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
15075         (csinh_test_data): Likewise.
15076         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15078         [BZ #18586]
15079         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
15080         underflow exception for small results.
15082 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
15084         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
15085         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
15086         variable and included header.
15087         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
15088         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
15089         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
15090         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
15091         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
15092         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
15093         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
15094         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
15095         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
15096         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
15097         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
15098         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
15099         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
15100         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
15101         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
15102         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
15104 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15106         [BZ #16526]
15107         [BZ #16538]
15108         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
15109         (__sin): Force underflow exception for arguments with small
15110         absolute value.
15111         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
15112         (__kernel_sinf): Force underflow exception for arguments with
15113         small absolute value.
15114         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
15115         (__kernel_sincosl): Force underflow exception for arguments with
15116         small absolute value.
15117         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
15118         (__kernel_sinl): Force underflow exception for arguments with
15119         small absolute value.
15120         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
15121         (__kernel_sincosl): Force underflow exception for arguments with
15122         small absolute value.
15123         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
15124         (__kernel_sinl): Force underflow exception for arguments with
15125         small absolute value.
15126         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
15127         (__kernel_sinl): Force underflow exception for arguments with
15128         small absolute value.
15129         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
15130         (__kernel_sinf): Force underflow exception for arguments with
15131         small absolute value.
15132         * math/auto-libm-test-in: Add more tests of sin and sincos.
15133         * math/auto-libm-test-out: Regenerated.
15135         [BZ #18245]
15136         [BZ #18583]
15137         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
15138         (__kernel_standard_l): Use feholdexcept and fesetenv around
15139         conversion to double instead of special-casing overflow and
15140         underflow.
15141         * math/libm-test.inc (fmod_test_data): Add more tests.
15142         (remainder_test_data): Likewise.
15143         (sqrt_test_data): Likewise.
15145 2015-06-23  Torvald Riegel  <triegel@redhat.com>
15147         [BZ #17403]
15148         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
15149         atomic_read_barrier, atomic_write_barrier): Define.
15150         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
15151         atomic_read_barrier, atomic_write_barrier): Define.
15153 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15155         * math/Makefile [$(PERL) != no]
15156         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
15157         dependency on libm-test.stmp below the inclusion of Rules.
15159 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
15161         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
15162         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
15163         and included header.
15164         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
15165         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
15166         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
15167         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
15168         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
15169         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
15170         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
15171         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
15172         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
15173         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
15174         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
15175         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
15176         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
15177         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
15178         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
15179         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
15180         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
15181         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
15182         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
15184 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15186         [BZ #18371]
15187         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
15188         intermediate but not final result might underflow.
15189         * math/s_csqrtf.c (__csqrtf): Likewise.
15190         * math/s_csqrtl.c (__csqrtl): Likewise.
15191         * math/auto-libm-test-in: Add more tests of csqrt.
15192         * math/auto-libm-test-out: Regenerated.
15193         * sysdeps/i386/fpu/libm-test-ulps: Update.
15195         [BZ #18219]
15196         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
15197         threshold on absolute value of exponent for which scaling is used.
15198         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15199         * math/auto-libm-test-in: Add more tests of exp2.
15200         * math/auto-libm-test-out: Regenerated.
15202 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
15204         [BZ #17977]
15205         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
15206         when initializing interface list, based on the bug analysis
15207         and the patch proposed by Eric Newton.
15208         * resolv/tst-res_hconf_reorder.c: New test.
15209         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
15210         tst-res_hconf_reorder.
15211         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
15212         and $(shared-thread-library).
15213         (tst-res_hconf_reorder-ENV): New variable.
15215         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
15216         in comment.
15218 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
15220         [BZ #16353]
15221         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
15222         (__expm1): Force underflow exception for arguments with small
15223         absolute value.
15224         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
15225         (__expm1f): Force underflow exception for arguments with small
15226         absolute value.
15227         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
15228         (__expm1): Force underflow exception for arguments with small
15229         absolute value.
15230         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
15231         (__expm1f): Force underflow exception for arguments with small
15232         absolute value.
15233         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15234         Check for small arguments before calling __expm1.
15235         * math/auto-libm-test-in: Do not mark underflow exceptions as
15236         possibly missing for bug 16353.
15237         * math/auto-libm-test-out: Regenerated.
15239 2015-06-22  Andreas Schwab  <schwab@suse.de>
15241         [BZ #18513]
15242         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
15243         PTR queries.
15245 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
15247         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
15249         * string/strcoll_l.c: Remove unused struct element idxnow.
15251 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
15253         [BZ #18569]
15254         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
15255         underflow and return argument in case of subnormal argument.
15256         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15257         Likewise.
15258         * math/auto-libm-test-in: Add more tests of expm1.
15259         * math/auto-libm-test-out: Regenerated.
15261         [BZ #16361]
15262         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
15263         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
15264         tiny results.
15265         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
15266         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
15267         tiny results.
15268         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
15269         mark underflow exceptions as possibly missing for bug 16361.
15270         * math/auto-libm-test-out: Regenerated.
15272 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
15274         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
15275         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
15276         Remove variable.
15277         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15278         (test-xfail-XOPEN2K8/utmpx.h/conform).
15280         * conform/conformtest.pl ($xerrors): New variable.
15281         (note_error): New function.
15282         (compiletest): New argument $xfail.  Use not_error.
15283         (runtest): Likewise.
15284         (top level): Handle xfail- lines.  Update calls to compiletest and
15285         runtest.  Handle xfail- and optional- in headers listed with
15286         allow-header.
15287         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
15288         (O_EXEC): Likewise.
15289         (O_SEARCH): Likewise.
15290         * conform/data/stropts.h-data (ioctl): Likewise.
15291         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
15292         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
15293         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
15294         (msghdr.msg_controllen): Likewise.
15295         (cmsghdr.cmsg_len): Likewise.
15296         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
15297         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
15298         variable.
15299         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15300         (test-xfail-XPG4/stropts.h/conform): Likewise.
15301         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15302         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15303         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15304         (test-xfail-UNIX98/stropts.h/conform): Likewise.
15305         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15306         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15307         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15308         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15309         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15310         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15311         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15312         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15313         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15314         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15315         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15316         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15317         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15318         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15319         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15321 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
15323         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
15324         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
15325         definitions for proper unfolding of __MATHDECL_VEC.
15327 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15329         * benchtests/bench-strcoll.c:
15330         Include string.h.
15331         (main): Remove unused variable res.
15333 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15335         * timezone/Makefile (%/UTC %/Universal):
15336         Generate test-result files for UTC and Universal.
15338 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15340         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15342 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
15344         [BZ #16350]
15345         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
15346         for arguments with small absolute value.
15347         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
15348         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
15349         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
15350         (__asinh): Force underflow exception for arguments with small
15351         absolute value.
15352         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
15353         (__asinhf): Force underflow exception for arguments with small
15354         absolute value.
15355         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
15356         (__asinhl): Force underflow exception for arguments with small
15357         absolute value.
15358         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
15359         (__asinhl): Force underflow exception for arguments with small
15360         absolute value.
15361         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
15362         (__asinhl): Force underflow exception for arguments with small
15363         absolute value.
15364         * math/auto-libm-test-in: Do not mark underflow exceptions as
15365         possibly missing for bug 16350.
15366         * math/auto-libm-test-out: Regenerated.
15368         * include/bits/ipc.h: Remove file.
15369         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
15370         variable.
15371         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15372         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15373         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15374         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15375         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15376         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15377         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15378         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15379         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15381         * math/auto-libm-test-in: Remove spurious underflow allowance for
15382         tests of cexp.
15383         * math/auto-libm-test-out: Regenerated.
15385         [BZ #18558]
15386         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
15387         unconditional definition.
15388         (MCAST_BLOCK_SOURCE): Likewise.
15389         (MCAST_UNBLOCK_SOURCE): Likewise.
15390         (MCAST_LEAVE_GROUP): Likewise.
15391         (MCAST_JOIN_SOURCE_GROUP): Likewise.
15392         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15393         (MCAST_MSFILTER): Likewise.
15394         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
15395         Remove variable.
15396         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15397         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15398         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15399         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15400         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15402 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
15404         * NEWS: Mention addition of x86_64 vector sincosf.
15405         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
15406         * math/test-float-vlen4.h: Likewise.
15407         * math/test-float-vlen8.h: Likewise.
15408         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15409         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
15410         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15411         * sysdeps/x86_64/fpu/Versions: New versions added.
15412         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15413         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15414         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15415         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
15416         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
15417         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
15418         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
15419         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
15420         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
15421         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
15422         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
15423         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
15424         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
15425         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
15426         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
15427         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
15428         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
15429         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15430         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15431         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15432         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15433         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15434         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15435         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15437         * NEWS: Mention addition of x86_64 vector sincos.
15438         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
15439         * math/math.h (__MATHDECL_VEC): New macro.
15440         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
15441         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
15442         declaration under condition.
15443         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
15444         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
15445         TEST_VEC_LOOP change.
15446         * math/test-double-vlen4.h: Likewise.
15447         * math/test-double-vlen8.h: Likewise.
15448         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
15449         * math/test-float-vlen4.h: Likewise.
15450         * math/test-float-vlen8.h: Likewise.
15451         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15452         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
15453         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15454         * sysdeps/x86_64/fpu/Versions: New versions added.
15455         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15456         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15457         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15458         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
15459         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
15460         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
15461         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
15462         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
15463         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
15464         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
15465         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
15466         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
15467         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
15468         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
15469         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
15470         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
15471         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
15472         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15473         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15474         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15475         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15476         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15477         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15478         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15480         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15481         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15482         redirections for powf.
15483         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15484         * sysdeps/x86_64/fpu/Versions: New versions added.
15485         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15486         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15487         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15488         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
15489         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
15490         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
15491         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
15492         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
15493         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
15494         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
15495         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
15496         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
15497         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
15498         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
15499         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
15500         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
15501         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
15502         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15503         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15504         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15505         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15506         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15507         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15508         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15509         * math/test-float-vlen16.h: Fixed 2 argument macro.
15510         * math/test-float-vlen4.h: Likewise.
15511         * math/test-float-vlen8.h: Likewise.
15512         * NEWS: Mention addition of x86_64 vector powf.
15514 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
15516         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15517         and redefine.
15518         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15519         and redefine.
15520         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
15521         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15522         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15524         [BZ #18553]
15525         * resource/getpriority.c (getpriority): Rename to __getpriority
15526         and define as weak alias of __getpriority.
15527         * resource/setpriority.c (setpriority): Rename to __setpriority
15528         and define as weak alias of __setpriority.
15529         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
15530         __getpriority and define as weak alias of __getpriority.
15531         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
15532         __setpriority and define as weak alias of __setpriority.
15533         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
15534         strong name.
15535         (setpriority): Use __setpriority as strong name.
15536         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
15537         __getpriority and define as weak alias of __getpriority.
15538         * include/sys/resource.h (__getpriority): Declare.  Use
15539         libc_hidden_proto.
15540         (__setpriority): Likewise.
15541         (getpriority): Don't use libc_hidden_proto.
15542         (setpriority): Likewise.
15543         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
15544         getpriority.  Call __setpriority instead of setpriority.
15545         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
15546         Remove variable.
15548         [BZ #18547]
15549         * misc/getttyent.c (getttynam): Rename to __getttynam and define
15550         as weak alias of __getttynam.  Use prototype function definition.
15551         Call __setttyent, __getttyent and __endttyent instead of
15552         setttyent, getttyent and endttyent.
15553         (getttyent): Rename to __getttyent and define as weak alias of
15554         __getttyent.  Call __setttyent instead of setttyent.  Call
15555         __fgets_unlocked instead of fgets_unlocked.
15556         (setttyent): Rename to __setttyent and define as weak alias of
15557         __setttyent.
15558         (endttyent): Rename to __endttyent and define as weak alias of
15559         __endttyent.
15560         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
15561         (__setttyent): Likewise.
15562         (__endttyent): Likewise.
15563         (getttyent): Don't use libc_hidden_proto.
15564         (setttyent): Likewise.
15565         (endttyent): Likewise.
15566         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
15567         __endttyent instead of setttyent, getttyent and endttyent.
15568         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
15569         Remove variable.
15571         [BZ #18546]
15572         * socket/recv.c (__recv): Use libc_hidden_def.
15573         * socket/socket.c (__socket): Likewise.
15574         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
15575         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
15576         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
15577         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
15578         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
15579         libc_hidden_def.
15580         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
15581         libc_hidden_weak.
15582         * include/sys/socket.h (__socket): Do not use attribute_hidden.
15583         Use libc_hidden_proto.
15584         (__recv): Likewise.
15585         * socket/Versions (libc): Export __recv and __socket at version
15586         GLIBC_PRIVATE.
15587         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
15588         instead of recv.
15589         (init_mq_netlink): Call __socket instead of socket.
15590         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
15591         Remove variable.
15593         [BZ #18545]
15594         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
15595         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
15596         hidden_weak.
15597         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
15598         define as alias of __mq_timedsend.  Use hidden_weak.
15599         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
15600         __mq_timedsend as strong name.
15601         (mq_timedreceive): Use __mq_timedreceive as strong name.
15602         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
15603         (__mq_timedreceive): Likewise.
15604         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
15605         __mq_timedreceive instead of mq_timedreceive.
15606         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
15607         instead of mq_timedsend.
15608         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
15609         Remove variable.
15611         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
15612         hidden_def and hidden_weak instead of libc_hidden_def and
15613         libc_hidden_weak.
15614         (top level): Refer to hidden_def in comment.
15615         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
15616         macro.  Use it instead of libc_hidden_def.
15617         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
15618         specify __GI_* name explicitly.
15619         (mq_timedreceive): Likewise.
15620         (mq_setattr): Likewise.
15622         [BZ #18544]
15623         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
15624         __pthread_barrier_init and define as weak alias of
15625         __pthread_barrier_init.
15626         * sysdeps/sparc/nptl/pthread_barrier_init.c
15627         (pthread_barrier_init): Likewise.
15628         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
15629         __pthread_barrier_wait and define as weak alias of
15630         __pthread_barrier_wait.
15631         * sysdeps/sparc/nptl/pthread_barrier_wait.c
15632         (pthread_barrier_wait): Likewise.
15633         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
15634         (pthread_barrier_wait): Likewise.
15635         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
15636         (pthread_barrier_wait): Likewise.
15637         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
15638         (pthread_barrier_wait): Likewise.
15639         * nptl/Versions (libpthread): Export __pthread_barrier_init and
15640         __pthread_barrier_wait at version GLIBC_PRIVATE.
15641         * include/pthread.h (__pthread_barrier_init): Declare.
15642         (__pthread_barrier_wait): Likewise.
15643         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
15644         Call __pthread_barrier_wait instead of pthread_barrier_wait.
15645         (helper_thread): Likewise.
15646         (init_mq_netlink): Call __pthread_barrier_init instead of
15647         pthread_barrier_init.
15649         [BZ #18542]
15650         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
15651         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
15652         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
15653         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
15654         vswscanf.
15655         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
15656         Remove variable.
15658         [BZ #18540]
15659         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
15660         strong alias of _IO_fflush.  Use libc_hidden_def.
15661         * libio/iofflush_u.c (fflush_unlocked): Rename to
15662         __fflush_unlocked and define as weak alias of __fflush_unlocked.
15663         Use libc_hidden_weak.
15664         * include/stdio.h (__fflush_unlocked): Declare.  Use
15665         libc_hidden_proto.
15666         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
15667         fflush_unlocked.
15668         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
15669         Remove variable.
15671         [BZ #18539]
15672         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
15673         define as weak alias of __addseverity.
15674         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
15675         Remove variable.
15676         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
15677         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
15678         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
15680         [BZ #18536]
15681         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
15682         (__tfind): Likewise.
15683         (__tdelete): Likewise.
15684         (__twalk): Likewise.
15685         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
15686         __twalk to GLIBC_PRIVATE.
15687         * include/search.h (__tsearch): Use libc_hidden_proto.
15688         (__tfind): Likewise.
15689         (__tdelete): Likewise.
15690         (__twalk): Likewise.
15691         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
15692         Call __tdelete instead of tdelete.
15693         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
15694         tfind.  Call __tsearch instead of tsearch.
15695         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
15696         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
15697         Remove variable.
15698         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
15700         [BZ #18534]
15701         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
15702         (dprintf): Define as a weak alias of __dprintf, not a strong
15703         alias.
15704         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
15705         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
15706         dprintf.
15707         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
15708         Remove variable.
15709         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
15710         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
15712         [BZ #18533]
15713         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
15714         not a strong alias.
15715         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
15716         Remove variable.
15718         [BZ #18532]
15719         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
15720         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
15721         (in6addr_loopback): Rename to __in6addr_loopback and define as
15722         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
15723         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
15724         libc_hidden_proto.
15725         (__in6addr_any): Likewise.
15726         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
15727         in6addr_any.
15728         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
15729         variable.
15730         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
15732 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
15734         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
15735         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
15736         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15737         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15738         redirections for pow.
15739         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15740         * sysdeps/x86_64/fpu/Versions: New versions added.
15741         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15742         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15743         build of SSE, AVX2 and AVX512 IFUNC versions.
15744         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
15745         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
15746         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
15747         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
15748         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
15749         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
15750         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
15751         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
15752         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
15753         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
15754         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
15755         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
15756         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
15757         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
15758         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15759         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15760         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15761         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15762         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15763         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15764         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15765         * NEWS: Mention addition of x86_64 vector pow.
15767         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15768         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15769         redirections for expf.
15770         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15771         * sysdeps/x86_64/fpu/Versions: New versions added.
15772         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15773         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15774         build of SSE, AVX2 and AVX512 IFUNC versions.
15775         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
15776         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
15777         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
15778         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
15779         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
15780         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
15781         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
15782         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
15783         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
15784         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
15785         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
15786         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
15787         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
15788         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15789         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15790         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15791         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15792         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15793         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15794         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15795         * NEWS: Mention addition of x86_64 vector expf.
15797         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
15798         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
15799         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15800         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15801         redirections for exp.
15802         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15803         * sysdeps/x86_64/fpu/Versions: New versions added.
15804         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15805         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15806         build of SSE, AVX2 and AVX512 IFUNC versions.
15807         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
15808         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
15809         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
15810         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
15811         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
15812         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
15813         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
15814         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
15815         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
15816         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
15817         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
15818         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
15819         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
15820         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15821         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15822         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15823         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15824         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15825         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15826         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15827         * NEWS: Mention addition of x86_64 vector exp.
15829         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15830         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15831         redirections for logf.
15832         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15833         * sysdeps/x86_64/fpu/Versions: New versions added.
15834         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15835         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15836         build of SSE, AVX2 and AVX512 IFUNC versions.
15837         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
15838         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
15839         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
15840         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
15841         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
15842         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
15843         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
15844         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
15845         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
15846         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
15847         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
15848         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
15849         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
15850         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15851         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15852         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15853         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15854         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15855         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15856         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15857         * NEWS: Mention addition of x86_64 vector logf.
15859         * bits/libm-simd-decl-stubs.h: Added stubs for log.
15860         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
15861         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15862         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15863         redirections for log.
15864         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15865         * sysdeps/x86_64/fpu/Versions: New versions added.
15866         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15867         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15868         build of SSE, AVX2 and AVX512 IFUNC versions.
15869         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
15870         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
15871         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
15872         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
15873         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
15874         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
15875         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
15876         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
15877         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
15878         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
15879         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
15880         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
15881         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
15882         test.
15883         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15884         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15885         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15886         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15887         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15888         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15889         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15890         * NEWS: Mention addition of x86_64 vector log.
15892 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15894         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
15895         cfi_adjust_cfa_offset argument.
15896         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
15897         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
15899         [BZ #18034]
15900         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
15901         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
15902         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
15903         ordering using ldar.
15904         (_dl_tlsdesc_dynamic): Likewise.
15905         (_dl_tlsdesc_return_lazy): Likewise.
15906         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
15907         relaxed atomics instead of volatile and synchronize with release store.
15908         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
15909         volatile.
15910         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15912 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
15914         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15915         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
15916         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15917         * sysdeps/x86_64/fpu/Versions: New versions added.
15918         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15919         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15920         build of SSE, AVX2 and AVX512 IFUNC versions.
15921         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
15922         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
15923         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
15924         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
15925         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
15926         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
15927         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
15928         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
15929         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
15930         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
15931         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
15932         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
15933         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
15934         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15935         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15936         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15937         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15938         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15939         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15940         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15941         * NEWS: Mention addition of x86_64 vector sinf.
15943 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
15945         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
15946         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
15947         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
15948         Remove variable.
15949         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
15950         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
15952 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
15954         [BZ #18530]
15955         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
15956         strong alias of _IO_fputs.  Use libc_hidden_def.
15957         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
15958         and define as weak alias of __fputs_unlocked.  Use
15959         libc_hidden_weak.
15960         * include/stdio.h (__fputs_unlocked): Declare.  Use
15961         libc_hidden_proto.
15962         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
15963         fputs_unlocked.
15965         [BZ #18529]
15966         * resolv/netdb.h [__USE_POSIX]: Change condition to
15967         [__USE_XOPEN2K].
15968         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
15969         not expect.
15970         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
15971         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
15972         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
15973         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
15974         [XPG4 || UNIX98] (AI_ALL): Likewise.
15975         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
15976         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
15977         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
15978         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
15979         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
15980         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
15981         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
15982         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
15983         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
15984         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
15985         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
15986         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
15987         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
15988         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
15989         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
15990         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
15991         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
15992         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
15993         [XPG4 || UNIX98] (gai_strerror): Likewise.
15994         [XPG4 || UNIX98] (getaddrinfo): Likewise.
15995         [XPG4 || UNIX98] (getnameinfo): Likewise.
15997         [BZ #18528]
15998         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
15999         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
16000         __USE_XOPEN2K8].
16001         (getgrent): Likewise.
16002         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
16003         expect.
16004         [XPG3 || POSIX2008] (endgrent): Likewise.
16005         [XPG3] (setgrent): Likewise.
16006         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
16007         variable.
16008         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
16010         [BZ #18527]
16011         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
16012         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
16013         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
16014         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
16015         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
16016         * include/unistd.h (__getlogin_r): Declare.  Use
16017         libc_hidden_proto.
16018         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
16019         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
16020         variable.
16021         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
16022         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
16023         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
16025 2015-06-12  Martin Sebor  <msebor@redhat.com>
16027         [BZ #18512]
16028         * Makerules (check-install-supported): New target.
16029         (install): Add check-install-supported as a dependency.
16030         * manual/install.texi (Installing the C Library): Document
16031         that overriding prefix and exec_prefix is not supported.
16032         Mention DESTDIR.
16033         * INSTALL: Regenerate from the above.
16035 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
16037         [BZ #18519]
16038         * posix/Versions (libc): Export __libc_pread at version
16039         GLIBC_PRIVATE.
16040         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
16041         instead of pread.
16042         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
16043         variable.
16045         [BZ #18522]
16046         * misc/efgcvt_r.c
16047         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
16048         (cvt_symbol): Use weak_alias instead of strong_alias.
16049         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
16050         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
16051         Remove variable.
16052         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
16053         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
16055         [BZ #18520]
16056         * inet/herrno.c (h_errno): Rename to __h_errno.
16057         (__libc_h_errno): Define as alias of __h_errno not h_errno.
16058         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
16059         to __h_errno instead of h_errno.
16060         * nptl/herrno.c (h_errno): Rename to __h_errno.
16061         (__h_errno_location): Refer to __h_errno not h_errno.
16062         * resolv/Versions (h_errno): Rename to __h_errno.
16063         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
16064         Remove variable.
16065         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
16067 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
16069         * configure.ac: More strict check for AVX512 assembler support.
16070         * configure: Regenerated.
16072         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
16073         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
16074         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16075         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
16076         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16077         * sysdeps/x86_64/fpu/Versions: New versions added.
16078         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16079         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16080         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16081         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
16082         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
16083         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
16084         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
16085         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
16086         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
16087         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
16088         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
16089         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
16090         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
16091         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
16092         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
16093         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
16094         test.
16095         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16096         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16097         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16098         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16099         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16100         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16101         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16102         * NEWS: Mention addition of x86_64 vector sin.
16104 2015-06-11  Florian Weimer  <fweimer@redhat.com>
16106         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
16107         comment.
16109 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
16111         [BZ #18479]
16112         * nptl/pt-interp.c: New file.
16113         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
16114         Add pt-interp.
16115         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
16116         $(common-objpfx)runtime-linker.h.
16118 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
16120         * Makeconfig (+interp): Remove unused variable.
16121         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
16122         only.  Depend on $(common-objpfx)runtime-linker.h instead of
16123         $(elf-objpfx)runtime-linker.h.
16124         ($(elf-objpfx)runtime-linker.h): Rename to
16125         $(common-objpfx)runtime-linker.h and move ...
16126         * Makerules [$(build-shared) = yes]: ... here.
16127         * elf/interp.c: Include <runtime-linker.h> instead of
16128         <elf/runtime-linker.h>.
16130 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16132         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
16133         (__gettimeofday_syscall): Remove vsyscall fallback.
16134         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
16135         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
16136         Add syscall fallback function.
16137         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
16138         if vDSO is not present.
16139         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
16140         fallback function.
16141         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
16142         present.
16143         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
16144         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16146 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
16148         [BZ #18497]
16149         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
16150         of wcscmp.
16151         (wcscmp): Define as weak alias of WCSCMP.
16152         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
16153         wcscoll.
16154         (USE_HIDDEN_DEF): Define.
16155         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
16156         __wcscoll.  Don't use libc_hidden_weak.
16157         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
16158         wcscmp.
16159         * sysdeps/i386/i686/multiarch/wcscmp-c.c
16160         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
16161         __GI_wcscmp.
16162         (weak_alias): Undefine and redefine.
16163         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
16164         __wcscmp and define as weak alias of __wcscmp.
16165         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
16166         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
16167         (__wcscoll): Likewise.
16168         (wcscmp): Don't use libc_hidden_proto.
16169         (wcscoll): Likewise.
16170         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
16171         wcscoll.
16172         * posix/regexec.c (check_node_accept_bytes): Likewise.
16173         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
16174         variable.
16175         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
16176         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
16178         [BZ #18507]
16179         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
16180         __fstatvfs and define as weak alias of __fstatvfs.  Use
16181         libc_hidden_weak.
16182         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
16183         and define as weak alias of __statvfs.  Use libc_hidden_weak.
16184         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
16185         Define as alias of __fstatvfs, not fstatvfs.
16186         (fstatvfs64): Likewise.
16187         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
16188         Define as alias of __statvfs, not statvfs.
16189         (statvfs64): Likewise.
16190         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
16191         Remove variable.
16193 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16196         (HAVE_GETCPU_VSYSCALL): Define.
16197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16198         (HAVE_GETCPU_VSYSCALL): Likewise.
16199         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
16200         * sysdeps/unix/sysv/linux/sched_getcpu.c
16201         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
16202         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
16203         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
16204         prototype.
16205         * sysdeps/unix/sysv/linux/x86_64/init-first.c
16206         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
16207         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
16208         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
16209         Define.
16210         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
16211         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16212         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
16213         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16215 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
16217         * sysdeps/x86_64/fpu/Makefile: New file.
16218         * sysdeps/x86_64/fpu/Versions: New file.
16219         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
16220         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
16221         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
16222         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
16223         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
16224         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
16225         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
16226         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
16227         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
16228         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
16229         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
16230         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
16231         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
16232         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16233         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16234         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
16235         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
16236         * sysdeps/x86_64/configure.ac: Options for libmvec build.
16237         * sysdeps/x86_64/configure: Regenerated.
16238         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
16239         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
16240         * manual/install.texi (Configuring and compiling): Document
16241         --disable-mathvec.
16242         * INSTALL: Regenerated.
16243         * NEWS: Mention addition of libmvec and x86_64 vector cos.
16245         * math/Makefile: Added rules for vector tests.
16246         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
16247         declaration under condition.
16248         * math/test-double-vlen2.h: New file.
16249         * math/test-double-vlen4.h: New file.
16250         * math/test-double-vlen8.h: New file.
16251         * math/test-vec-loop.h: Added initialization macro.
16252         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
16253         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
16254         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
16255         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
16256         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
16257         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
16258         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
16259         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
16260         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
16261         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
16262         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
16264         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16265         * sysdeps/x86_64/fpu/Versions: New versions added.
16266         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
16267         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
16268         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
16269         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
16270         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
16271         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
16272         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
16273         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
16274         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
16275         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
16276         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
16277         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
16278         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
16279         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16280         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16281         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16282         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
16283         * NEWS: Mention addition of x86_64 vector cosf.
16285         * math/Makefile: Added CFLAGS for new tests.
16286         * math/test-float-vlen16.h: New file.
16287         * math/test-float-vlen4.h: New file.
16288         * math/test-float-vlen8.h: New file.
16289         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
16290         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
16291         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16292         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
16293         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
16294         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
16295         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
16296         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
16297         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
16298         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
16299         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
16301 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
16303         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
16304         * locale/programs/ld-ctype.c: Likewise.
16306 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
16308         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
16309         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
16310         bit_ZMM16_31_state): New macro.
16311         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16312         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
16314 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
16316         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
16318 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
16320         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
16322 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
16324         [BZ #18498]
16325         * libio/memstream.c (open_memstream): Rename to __open_memstream
16326         and define as weak alias of __open_memstream.
16327         * include/stdio.h (__open_memstream): Declare.  Use
16328         libc_hidden_proto.
16329         (open_memstream): Don't use libc_hidden_proto.
16330         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
16331         open_memstream.
16332         * posix/getopt.c (_getopt_internal_r): Likewise.
16333         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
16334         variable.
16335         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
16336         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
16337         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
16339         [BZ #18496]
16340         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
16341         instead of wcrtomb.
16343         [BZ #18483]
16344         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
16345         [__USE_XOPEN2K8].  Remove redundant #endif.
16346         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
16347         Remove redundant #if.
16348         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
16349         Remove variable.
16350         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
16351         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
16353         [BZ #18495]
16354         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
16355         (__iswlower): Likewise.
16356         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
16357         (__iswlower): Likewise.
16358         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
16359         instead of towlower.
16360         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
16361         instead of iswlower.  Call __towupper instead of towupper.
16362         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
16363         instead of iswalnum.
16365 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16367         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
16368         errors to stderr.
16370 2015-06-05  Florian Weimer  <fweimer@redhat.com>
16372         [BZ #15661]
16373         [BZ #17322]
16374         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
16375         Check for overflow properly.  Check for O_APPEND.  Ignore large
16376         file system block sizes.  Add comments about problems.
16377         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
16378         * manual/filesys.texi (Storage Allocation): New node.
16380 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16382         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
16383         cancellable syscalls.
16384         (SYS_ify): Add guard to no redefine it.
16385         (INLINE_SYSCALL): Likewise.
16386         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
16387         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
16388         SYSCALL_CANCEL instead.
16389         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
16390         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
16391         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
16392         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
16393         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
16394         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
16395         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
16396         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
16397         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
16398         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
16399         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
16400         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
16401         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
16402         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
16403         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
16404         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
16405         Likewise.
16406         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
16407         (__libc_pread64): Likewise.
16408         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
16409         (__libc_preadv): Likewise.
16410         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
16411         (__libc_readv64): Likewise.
16412         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
16413         (__libc_pwrite): Likewise.
16414         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
16415         (__libc_pwrite64): Likewise.
16416         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
16417         (__libc_pwritev): Likewise.
16418         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
16419         (__libc_pwritev64): Likewise.
16420         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
16421         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
16422         (sync_file_range): Likewise.
16423         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
16424         Likewise.
16425         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
16426         Likewise.
16427         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
16428         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
16429         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
16430         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
16431         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
16432         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
16433         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
16434         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
16435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
16436         Likewise.
16437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16438         (__libc_read64): Likewise.
16439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
16440         Likewise.
16441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
16442         Likewise.
16443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
16444         Likewise.
16445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
16446         Likewise.
16447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
16448         (__libc_pread64): Likewise.
16449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
16450         Likewise.
16451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
16452         (__libc_pwrite64): Likewise.
16453         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
16454         (sync_file_range): Likewise.
16455         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
16456         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
16457         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
16458         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
16459         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
16460         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
16461         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
16462         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
16463         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
16464         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16465         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16466         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
16467         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
16468         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
16469         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
16470         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
16471         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
16472         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
16473         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
16474         Likewise.
16475         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
16476         Likewise.
16477         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
16478         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
16479         Likewise.
16480         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
16481         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
16482         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
16483         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
16484         Likewise.
16485         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
16486         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
16487         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
16488         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
16489         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
16491 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
16493         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
16494         Include dl-vdso.
16495         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
16496         Use VDSO routines for gettimeofday, clock_gettime if
16497         available.
16498         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
16499         Declare VDSO symbols.
16500         * sysdeps/unix/sysv/linux/arm/sysdep.h:
16501         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
16502         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16503         * sysdeps/unix/sysv/linux/arm/Versions: Add
16504         __vdso_clock_gettime.
16506 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16508         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
16509         be an inline implementation regardless of library is built within.
16510         (open_not_cancel_2): Likewise.
16511         (__read_nocancel): Likewise.
16512         (__write_nocancel): Likewise.
16513         (openat_not_cancel): Likewise.
16514         (openat_not_cancel_3): Likewise.
16515         (openat64_not_cancel): Likewise.
16516         (openat64_not_cancel_3): Likewise.
16517         (__close_nocancel): Likewise.
16518         (pause_not_cancel): Likewise.
16519         (nanosleep_not_cancel): Likewise.
16520         (sigsuspend_not_cancel): Likewise.
16522 2015-06-04  Torvald Riegel  <triegel@redhat.com>
16524         [BZ #14958]
16525         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
16526         wake-up.
16527         (__pthread_rwlock_rdlock_slow): Likewise.
16528         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16529         Likewise.
16530         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
16531         Likewise.
16532         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
16533         * nptl/tst-rwlock16.c: New file.
16534         * nptl/Makefile (tests): Add new test.
16536 2015-06-04  Torvald Riegel  <triegel@redhat.com>
16538         [BZ #18324]
16539         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
16540         missing wake-up of readers.
16541         * nptl/tst-rwlock15.c: New file.
16542         * nptl/Makefile (tests): Add new test.
16544 2015-06-03  Roland McGrath  <roland@hack.frob.com>
16546         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
16547         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
16548         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
16549         and __nacl_supply_interface_rtld.
16550         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
16551         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
16552         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
16553         Add __nacl_supply_interface_rtld.
16554         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
16556 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
16558         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
16559         isfinite.
16560         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16561         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
16563 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
16565         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
16566         __signbit* with standard C99 macros.
16567         * math/e_exp10l.c: Likewise.
16568         * math/e_exp2l.c: Likewise.
16569         * math/e_scalb.c: Likewise.
16570         * math/e_scalbf.c: Likewise.
16571         * math/e_scalbl.c: Likewise.
16572         * math/s_ldexp.c: Likewise.
16573         * math/s_ldexpf.c: Likewise.
16574         * math/s_ldexpl.c: Likewise.
16575         * math/w_atan2.c: Likewise.
16576         * math/w_atan2f.c: Likewise.
16577         * math/w_atan2l.c: Likewise.
16578         * math/w_cosh.c: Likewise.
16579         * math/w_coshf.c: Likewise.
16580         * math/w_coshl.c: Likewise.
16581         * math/w_exp10.c: Likewise.
16582         * math/w_exp10f.c: Likewise.
16583         * math/w_exp10l.c: Likewise.
16584         * math/w_exp2.c: Likewise.
16585         * math/w_exp2f.c: Likewise.
16586         * math/w_exp2l.c: Likewise.
16587         * math/w_fmod.c: Likewise.
16588         * math/w_fmodf.c: Likewise.
16589         * math/w_fmodl.c: Likewise.
16590         * math/w_hypot.c: Likewise.
16591         * math/w_hypotf.c: Likewise.
16592         * math/w_hypotl.c: Likewise.
16593         * math/w_jnl.c: Likewise.
16594         * math/w_lgamma.c: Likewise.
16595         * math/w_lgamma_r.c: Likewise.
16596         * math/w_lgammaf.c: Likewise.
16597         * math/w_lgammaf_r.c: Likewise.
16598         * math/w_lgammal.c: Likewise.
16599         * math/w_lgammal_r.c: Likewise.
16600         * math/w_pow.c: Likewise.
16601         * math/w_powf.c: Likewise.
16602         * math/w_powl.c: Likewise.
16603         * math/w_remainder.c: Likewise.
16604         * math/w_remainderf.c: Likewise.
16605         * math/w_remainderl.c: Likewise.
16606         * math/w_scalb.c: Likewise.
16607         * math/w_scalbf.c: Likewise.
16608         * math/w_scalbl.c: Likewise.
16609         * math/w_scalbln.c: Likewise.
16610         * math/w_scalblnf.c: Likewise.
16611         * math/w_scalblnl.c: Likewise.
16612         * math/w_sinh.c: Likewise.
16613         * math/w_sinhf.c: Likewise.
16614         * math/w_sinhl.c: Likewise.
16615         * math/w_tgamma.c: Likewise.
16616         * math/w_tgammaf.c: Likewise.
16617         * math/w_tgammal.c: Likewise.
16618         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16619         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
16620         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16621         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16622         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16623         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16624         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16625         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16626         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16627         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16628         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16629         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16630         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16631         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16632         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16633         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16634         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16635         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16636         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16637         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16638         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16639         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16640         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16641         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16642         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16643         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16644         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
16645         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16646         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16647         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16648         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
16649         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
16650         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
16651         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
16652         * stdio-common/printf_fp.c: Likewise.
16653         * stdio-common/printf_fphex.c: Likewise.
16654         * stdio-common/printf_size.c: Likewise.
16656 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
16658         [BZ #18470]
16659         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
16660         strnlen.
16661         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
16662         Remove variable.
16663         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
16664         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
16665         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
16666         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
16667         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
16668         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
16669         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
16670         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
16671         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
16672         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
16674         [BZ #18468]
16675         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
16676         weak alias of __wmemchr.  Use libc_hidden_weak.
16677         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
16678         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
16679         instead of wmemchr.
16681 2015-06-02  Roland McGrath  <roland@hack.frob.com>
16683         [BZ #18383]
16684         * elf/tst-tlsalign-extern.c: New file.
16685         * elf/tst-tlsalign-extern-static.c: New file.
16686         * elf/tst-tlsalign-vars.c: New file.
16687         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
16688         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
16689         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
16690         ($(objpfx)tst-tlsalign-extern-static): Likewise.
16691         (test-xfail-tst-tlsalign-extern-static): New variable.
16693 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
16695         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
16696         Use variable name _sc_err instead of err.
16697         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
16698         instead of ret.
16699         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
16700         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
16701         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
16702         (INLINE_SYSCALL): Likewise.
16704         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
16705         * include/string.h (__strnlen): Use libc_hidden_proto.
16706         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
16707         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
16708         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
16709         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
16710         (libc_hidden_def): Undefine and redefine.
16711         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
16712         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
16713         __GI_strnlen.
16714         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
16715         libc_hidden_def.
16716         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
16718         [BZ #18469]
16719         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
16720         weak alias of __towlower.  Use libc_hidden_weak.
16721         (towupper): Rename to __towupper and define as weak alias of
16722         __towupper.  Use libc_hidden_weak.
16723         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
16724         (__towupper): Likewise.
16725         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
16726         __towlower instead of towlower.
16728 2015-06-02  Roland McGrath  <roland@hack.frob.com>
16730         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
16731         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
16733 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16735         * sysdeps/aarch64/libm-test-ulps: Update.
16737 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16739         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
16740         Define.
16741         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16742         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
16743         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
16744         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16745         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
16746         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
16747         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
16749 2015-06-01  Martin Sebor  <msebor@redhat.com>
16751         [BZ #18116]
16752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16753         (__setcontext): Use extended four-operand version of mtsf whenever
16754         possible.
16755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16756         (__novec_swapcontext): Likewise.
16758 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16760         * benchtests/scripts/compare_bench.py: New file.
16761         * benchtests/scripts/import_bench.py (mean): New function.
16762         (split_list): Likewise.
16763         (do_for_all_timings): Likewise.
16764         (compress_timings): Likewise.
16766         * benchtests/scripts/import_bench.py: New file.
16767         * benchtests/scripts/validate_benchout.py: Import import_bench
16768         instead of jsonschema.
16769         (validate_bench): Remove function.
16770         (main): Use import_bench.
16772 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
16774         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
16775         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
16777 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16779         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16781 2015-05-28  Roland McGrath  <roland@hack.frob.com>
16783         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
16784         set THREAD_SELF->tid to a magic value and futex-wake it.
16785         Pass its address to the thread_exit system call.
16786         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
16787         bit is clear.
16788         * sysdeps/nacl/lowlevellock.h: New file.
16789         * sysdeps/nacl/lll_timedwait_tid.c: New file.
16791         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
16792         Add TIMEOUT to current time, don't subtract it.
16794 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
16796         [BZ #2981]
16797         [BZ #18422]
16798         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
16799         ($(objpfx)tst-audit2.out): Also depend on
16800         $(objpfx)tst-auditmod9b.so.
16801         * elf/tst-audit2.c: Include <dlfcn.h>.
16802         (calloc_called): New.
16803         (calloc): Allow to be called more than once.
16804         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
16806 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
16808         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
16809         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
16811 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
16813         * stdlib/monetary.h: Fix comment.
16815 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
16817         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
16818         Avoid using variables in #defines that might cause shadowing.
16819         (INTERNAL_VSYSCALL_CALL): Likewise.
16821 2015-05-26  Roland McGrath  <roland@hack.frob.com>
16823         * sysdeps/nacl/lll_timedlock_wait.c: New file.
16825         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
16826         * nptl/lll_timedlock_wait.c: ... to this new file.
16827         * nptl/Makefile (libpthread-routines): Add it.
16828         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
16829         * nptl/lll_timedwait_tid.c: ... to this new file.
16830         * nptl/Makefile (libpthread-routines): Add it.
16831         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
16832         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
16833         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
16834         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
16835         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
16836         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
16837         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
16838         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
16839         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
16840         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
16842 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16844         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
16845         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16846         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
16847         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
16848         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
16849         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16850         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16851         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16852         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16853         * sysdeps/unix/sysv/linux/tile/sysdep.h
16854         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16855         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
16856         using vDSO syscall macro.
16858 2015-05-26  Andriy Rysin  <arysin@gmail.com>
16860         [BZ #17293]
16861         * uk_UA: Fix sorting order for Ukrainian locale
16863 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
16865         * stdlib/monetary.h: Fix comment.
16867 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16869         [BZ #18234]
16870         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
16871         st_mtim and st_ctim members.
16872         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
16873         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
16874         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
16875         (struct stat64): Likewise.
16876         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
16877         (struct stat64): Likewise.
16878         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
16879         (struct stat64): Likewise.
16881 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16883         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
16884         Define and include sysdep-vdso.h.
16885         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
16886         Likewise.
16887         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
16888         Likewise.
16889         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
16890         Define with VDSO_SYMBOL and use PTR_MANGLE.
16891         (__vdso_clock_gettime): Likewise.
16892         (__vdso_clock_getres): Likewise.
16893         (_libc_vdso_platform_setup): Likewise.
16894         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
16895         Likewise.
16896         (_libc_vdso_platform_setup): Likewise.
16897         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
16898         Likewise.
16899         (__vdso_clock_gettime): Likewise.
16900         (__vdso_clock_getres): Likewise.
16901         (__vdso_get_tbfreq): Likewise.
16902         (__vdso_getcpu): Likewise.
16903         (__vdso_time): Likewise.
16904         (__vdso_sigtramp_rt64): Likewise.
16905         (__vdso_signtramp32): Likewise.
16906         (__vdso_sigtramp_rt32): Likewise.
16907         (_libc_vdso_platform_setup): Likewise.
16908         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
16909         Likewise.
16910         (__vdso_clock_gettime): Likewise.
16911         (__vdso_clock_getres): Likewise.
16912         (_libc_vdso_platform_setup): Likewise.
16913         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
16914         Likewise.
16915         (__vdso_clock_gettime): Likewise.
16916         (_libc_vdso_platform_setup): Likewise.
16917         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
16918         Likewise.
16919         (__vdso_getcpu): Likewise.
16920         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
16921         Use VDSO_SYMBOL macro to define.
16922         (__vdso_clock_gettime): Likewise.
16923         (__vdso_clock_getres): Likewise.
16924         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
16925         Likewise.
16926         (__vdso_clock_gettime): Likewise.
16927         (__vdso_clock_getres): Likewise.
16928         (__vdso_get_tbfreq): Likewise.
16929         (__vdso_getcpu): Likewise.
16930         (__vdso_time): Likewise.
16931         (__vdso_sigtramp_rt64): Likewise.
16932         (__vdso_signtramp32): Likewise.
16933         (__vdso_sigtramp_rt32): Likewise.
16934         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
16935         Likewise.
16936         (__vdso_clock_gettime): Likewise.
16937         (__vdso_clock_getres): Likewise.
16938         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
16939         Likewise.
16940         (__vdso_clock_gettime): Likewise.
16941         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
16942         Likewise.
16943         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
16944         macro.
16945         (INTERNAL_VSYSCALL): Likewise.
16946         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
16947         Remove macro.
16948         (INTERNAL_VSYSCALL): Likewise.
16949         (INTERNAL_VSYSCALL_NCS): Likewise.
16950         (INTERNAL_VSYSCALL_CALL): New macro.
16951         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
16952         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
16953         Likewise.
16954         (INTERNAL_VSYSCALL): Likewise.
16955         (INTERNAL_VSYSCALL_NCS): Likewise.
16956         (INTERNAL_VSYSCALL_CALL): New macro.
16957         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
16958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16959         (INLINE_VSYSCALL): Remove macro.
16960         (INTERNAL_VSYSCALL): Remove macro.
16961         (INTERNAL_VSYSCALL_NCS): Remove macro.
16962         (INTERNAL_VSYSCALL_CALL): New macro.
16963         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
16964         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
16965         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
16966         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
16967         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
16968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16969         (INLINE_VSYSCALL): Remove macro.
16970         (INTERNAL_VSYSCALL): Likewise.
16971         (INTERNAL_VSYSCALL_NCS): Likewise.
16972         (INTERNAL_VSYSCALL_CALL): New macro.
16973         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
16974         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
16975         PTR_DEMANGLE on vDSO pointer.
16976         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
16977         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
16978         macro.
16979         (INTERNAL_SYSCALL): Likewise.
16980         (INTERNAL_VSYSCALL_NCS): Remove macro.
16981         (INTERNAL_VSYSCALL_CALL): New macro.
16982         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
16983         Remove macro.
16984         (INTERNAL_VSYSCALL): Likewise.
16985         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
16986         sysdep-vdso.h instead of libc-vdso.h.
16987         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
16988         definition.
16989         (INLINE_VSYSCALL): Likewise.
16990         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
16991         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
16992         definition.
16993         (INLINE_VSYSCALL): Likewise.
16994         (INTERNAL_VSYSCALL): Likewise.
16995         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16996         * sysdeps/unix/sysv/linux/timespec_get.c
16997         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16998         (timespec_get): Use ANSI prototype.
16999         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
17000         and definition for Linux.
17002 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
17004         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
17005         * include/libc-symbols.h: libmvec_hidden_* macro series added.
17007 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17009         [BZ #2981]
17010         [BZ #18410]
17011         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
17012         for missing DT_PLTRELSZ.
17014 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
17016         Remove obsolete aliases that broke 'locale -a'
17017         [BZ #18412]
17018         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
17019         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
17020         breaking some applications that use 'locale -a' output.
17021         Change the encoding of this file from Latin-1 to ASCII to avoid
17022         other potential problems with people grepping this file.
17024 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17026         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
17027         -fasynchronous-unwind-tables.
17028         (CFLAGS-sendto.c): Likewise.
17029         (CFLAGS-sendmsg.c): Likewise.
17030         (CFLAGS-connect.c): Likewise.
17031         (CFLAGS-recvmsg.c): Likewise.
17032         (CFLAGS-recvfrom.c): Likewise.
17033         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
17034         (SOCKETCALL): New macro: non-cancellable socketcall.
17035         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
17036         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
17037         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
17038         * sysdeps/unix/sysv/linux/accept.c: New file.
17039         * sysdeps/unix/sysv/linux/bind.c: Likewise.
17040         * sysdeps/unix/sysv/linux/connect.c: Likewise.
17041         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
17042         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
17043         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
17044         * sysdeps/unix/sysv/linux/listen.c: Likewise.
17045         * sysdeps/unix/sysv/linux/recv.c: Likewise.
17046         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
17047         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
17048         * sysdeps/unix/sysv/linux/send.c: Likewise.
17049         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
17050         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
17051         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
17052         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
17053         * sysdeps/unix/sysv/linux/socket.c: Likewise.
17054         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
17055         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
17056         prototype.
17057         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
17058         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17059         instead of __internal_xxx function.
17060         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
17061         prototype.
17062         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
17063         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17064         instead of __internal_xxx function.
17065         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
17066         prototype.
17067         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
17068         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17069         instead of __internal_xxx function.
17070         * sysdeps/unix/sysv/linux/accept.S: Remove file.
17071         * sysdeps/unix/sysv/linux/bind.S: Likewise.
17072         * sysdeps/unix/sysv/linux/connect.S: Likewise.
17073         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
17074         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
17075         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
17076         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
17077         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
17078         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
17079         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
17080         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
17081         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17082         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
17083         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
17084         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
17085         * sysdeps/unix/sysv/linux/listen.S: Likewise.
17086         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
17087         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
17088         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
17089         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
17090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
17091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
17092         * sysdeps/unix/sysv/linux/recv.S: Likewise.
17093         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
17094         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
17095         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
17096         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17097         * sysdeps/unix/sysv/linux/send.S: Likewise.
17098         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
17099         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
17100         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
17101         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
17102         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
17103         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
17104         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
17105         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
17106         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
17107         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
17108         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
17109         socketcall is implemented in GLIBC.
17111 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
17113         * soft-fp/fmadf4.c: Include <libc-internal.h>.
17114         (__fma): Ignore uninitialized warnings around packing.
17115         * soft-fp/fmasf4.c: Include <libc-internal.h>.
17116         (__fmaf): Ignore uninitialized warnings around packing.
17117         * soft-fp/fmatf4.c: Include <libc-internal.h>.
17118         (__fmal): Ignore uninitialized warnings around packing.
17120         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
17121         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17122         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
17123         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17125         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
17126         switch statement into default case.
17127         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
17129         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
17130         a conditional in forcing "inexact".
17131         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17132         Likewise.
17134 2015-05-22  Roland McGrath  <roland@hack.frob.com>
17136         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17137         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
17138         for each INTERNAL_SYSCALL use.
17140 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
17142         [BZ #438]
17143         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
17144         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
17145         variable.
17147         [BZ #18444]
17148         * string/basename.c (basename): Rename to __basename and define as
17149         weak alias of __basename.  Use libc_hidden_weak.
17150         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
17151         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
17152         __basename instead of basename.
17153         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
17154         Remove variable.
17155         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
17157 2015-05-18  Florian Weimer  <fweimer@redhat.com>
17159         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
17160         (_IO_JUMPS_FILE_plus): New.
17161         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
17162         _IO_CAST_FIELD_ACCESS.
17163         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
17164         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
17165         * libio/freopen.c (freopen): Likewise.
17166         * libio/freopen64.c (freopen64): Likewise.
17167         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
17168         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
17169         * libio/iofwide.c (_IO_fwide): Likewise.
17170         * libio/memstream.c (open_memstream): Likewise.
17171         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17172         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17173         * libio/oldiopopen.c (_IO_old_popen): Likewise.
17175 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
17177         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
17178         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
17179         NADJ.
17180         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
17181         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
17182         NADJ.
17183         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
17184         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
17185         NADJ.
17187         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
17188         (p == 4) case.
17190         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
17191         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
17192         Remove variable.
17193         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
17194         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
17195         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
17197 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17199         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
17200         Adjust jump table label generation macros.
17202 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17204         * stdio-common/vfprintf.c (vfprintf): Move local variables
17205         args_malloced, specs, specs_malloced, and the code after
17206         do_positional to the printf_positional function.
17207         (printf_positional): New function.
17209 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17211         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
17212         function.
17213         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
17214         STEP4_TABLE, process_arg): Move macro definitions
17215         out of the vfprintf function.  (Cosmetic change only.)
17217 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
17219         * benchtests/Makefile (stdio-common-bench): Define.
17220         (benchset): Add stdio-common-bench.
17221         * sprintf-inputs: New file.
17222         * sprintf-source.c: New file.
17224 2015-05-21  Andreas Schwab  <schwab@suse.de>
17226         [BZ #13028]
17227         [BZ #17053]
17228         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
17229         of struct __res_state.
17230         * resolv/res_send.c (__libc_res_nsend): Likewise.
17231         (get_nsaddr): New function.
17232         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
17233         statp directly.
17235 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
17237         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
17238         -D_POSIX_C_SOURCE=199506L.
17240         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
17242         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
17243         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
17244         Do not mention otherwise.
17245         [POSIX] (_XOPEN_VERSION): Do not expect.
17246         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
17247         [POSIX] (_POSIX2_C_BIND): Likewise.
17248         [POSIX] (_POSIX2_VERSION): Likewise.
17249         [POSIX] (_XOPEN_XPG2): Likewise.
17250         [POSIX] (_XOPEN_XPG3): Likewise.
17251         [POSIX] (_XOPEN_XPG4): Likewise.
17252         [POSIX] (_XOPEN_UNIX): Likewise.
17253         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
17254         [POSIX] (_POSIX_BARRIERS): Likewise.
17255         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
17256         [POSIX] (_POSIX_CPUTIME): Likewise.
17257         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
17258         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
17259         [POSIX] (_POSIX_SHELL): Likewise.
17260         [POSIX] (_POSIX_SPAWN): Likewise.
17261         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
17262         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
17263         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
17264         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
17265         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
17266         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
17267         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
17268         [POSIX] (_XBS5_LP64_OFF64): Likewise.
17269         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
17270         [POSIX] (_POSIX_TIMEOUTS): Likewise.
17271         [POSIX] (_POSIX2_PBS): Likewise.
17272         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
17273         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
17274         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
17275         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
17276         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
17277         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
17278         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
17279         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
17280         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
17281         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
17282         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
17283         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
17284         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
17285         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
17286         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
17287         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
17288         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
17289         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
17290         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
17291         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
17292         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
17293         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
17294         [POSIX] (_SC_2_C_BIND): Likewise.
17295         [POSIX] (_SC_2_C_VERSION): Likewise.
17296         [POSIX] (_SC_2_PBS): Likewise.
17297         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
17298         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
17299         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
17300         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
17301         [POSIX] (_SC_2_PBS_TRACK): Likewise.
17302         [POSIX] (_SC_ATEXIT_MAX): Likewise.
17303         [POSIX] (_SC_BARRIERS): Likewise.
17304         [POSIX] (_SC_BASE): Likewise.
17305         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
17306         [POSIX] (_SC_DEVICE_IO): Likewise.
17307         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
17308         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
17309         [POSIX] (_SC_FD_MGMT): Likewise.
17310         [POSIX] (_SC_FIFO): Likewise.
17311         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
17312         [POSIX] (_SC_FILE_LOCKING): Likewise.
17313         [POSIX] (_SC_FILE_SYSTEM): Likewise.
17314         [POSIX] (_SC_IOV_MAX): Likewise.
17315         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
17316         [POSIX] (_SC_NETWORKING): Likewise.
17317         [POSIX] (_SC_PAGE_SIZE): Likewise.
17318         [POSIX] (_SC_PASS_MAX): Likewise.
17319         [POSIX] (_SC_PIPE): Likewise.
17320         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
17321         [POSIX] (_SC_REGEXP): Likewise.
17322         [POSIX] (_SC_SHELL): Likewise.
17323         [POSIX] (_SC_SIGNALS): Likewise.
17324         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
17325         [POSIX] (_SC_SPIN_LOCKS): Likewise.
17326         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
17327         [POSIX] (_SC_USER_GROUPS): Likewise.
17328         [POSIX] (_SC_USER_GROUPS_R): Likewise.
17329         [POSIX] (_SC_STREAMS): Likewise.
17330         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
17331         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
17332         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
17333         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
17334         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
17335         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
17336         [POSIX] (_PC_FILESIZEBITS): Likewise.
17337         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
17338         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
17339         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
17340         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
17341         [POSIX] (uid_t): Likewise.
17342         [POSIX] (gid_t): Likewise.
17343         [POSIX] (off_t): Likewise.
17344         [POSIX] (pid_t): Likewise.
17345         [POSIX] (cuserid): Allow.
17346         (_SC_2_CHAR_TERM): Require constant.
17347         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
17348         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
17349         variable.
17351 2015-05-20  Roland McGrath  <roland@hack.frob.com>
17353         * sysdeps/nacl/pthread-pids.h: New file.
17354         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
17355         (create_thread): Use __nacl_get_tid to initialize PD->tid.
17357         * nptl/pthread-pids.h: New file.
17358         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
17359         * nptl/nptl-init.c: Include <pthread-pids.h>.
17360         (__pthread_initialize_minimal_internal):
17361         Call __pthread_initialize_pids instead of set_tid_address syscall.
17363         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
17364         * sysdeps/posix/usleep.c: ... here.
17366 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17368         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
17369         call_pselect6 object.
17370         [$(subdir) = io]: Remove call_sync_file_range object.
17371         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
17372         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
17373         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
17374         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
17376 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
17378         * math/s_cproj.c: Add include "math_private.h".
17379         * math/s_cprojf.c: Likewise.
17380         * math/s_cprojl.c: Likewise.
17382 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
17384         [BZ #18244]
17385         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
17386         high mantissa bit when testing whether P is a NaN.
17387         * math/libm-test.inc (remainder_test_data): Add more tests.
17388         (remquo_test_data): Likewise.
17390         [BZ #18049]
17391         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
17392         below -32, return the argument, with underflow if subnormal.
17393         * math/auto-libm-test-in: Add more tests of atanh.
17394         * math/auto-libm-test-out: Regenerated.
17396 2015-05-19  Roland McGrath  <roland@hack.frob.com>
17398         [BZ #18434]
17399         * nptl/tst-sem15.c: New file.
17400         * nptl/Makefile (tests): Add it.
17401         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
17402         s/<</>>/ to fix typo in EOVERFLOW check.
17403         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
17405 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17407         * manual/strings.texi (envz_remove): Fix typo in safety
17408         annotations.
17410 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
17411             Steve Ellcey  <sellcey@imgtec.com>
17413         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
17414         in order to avoid strict alias warnings.
17415         (iruserok_af): Ditto for ra.
17417 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
17419         [BZ #17581]
17420         * malloc/hooks.c
17421         (magicbyte): Convert to a function and avoid returning 0x01.
17422         (mem2mem_check): Avoid using a length byte equal to the magic byte.
17423         (mem2chunk_check): Fix unsigned comparisons to zero.
17424         Hoist defs of sz and magic.
17426 2015-05-19  Richard Henderson  <rth@redhat.com>
17428         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
17430         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17432 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17434         [BZ #16159]
17435         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
17436         * malloc/arena.c (arena_lock): Check if arena is corrupt.
17437         (reused_arena): Find a non-corrupt arena.
17438         (heap_trim): Pass arena to unlink.
17439         * malloc/hooks.c (malloc_check_get_size): Pass arena to
17440         malloc_printerr.
17441         (top_check): Likewise.
17442         (free_check): Likewise.
17443         (realloc_check): Likewise.
17444         * malloc/malloc.c (malloc_printerr): Add arena argument.
17445         (unlink): Likewise.
17446         (munmap_chunk): Adjust.
17447         (ARENA_CORRUPTION_BIT): New macro.
17448         (arena_is_corrupt): Likewise.
17449         (set_arena_corrupt): Likewise.
17450         (sysmalloc): Use mmap if there are no usable arenas.
17451         (_int_malloc): Likewise.
17452         (__libc_malloc): Don't fail if arena_get returns NULL.
17453         (_mid_memalign): Likewise.
17454         (__libc_calloc): Likewise.
17455         (__libc_realloc): Adjust for additional argument to
17456         malloc_printerr.
17457         (_int_free): Likewise.
17458         (malloc_consolidate): Likewise.
17459         (_int_realloc): Likewise.
17460         (_int_memalign): Don't touch corrupt arenas.
17461         * malloc/tst-malloc-backtrace.c: New test case.
17463         * Makefile (summarize-tests): Fix return value on success.
17465         * manual/string.texi (Envz Functions): Add envz_remove.
17467 2015-05-18  Roland McGrath  <roland@hack.frob.com>
17469         * sysdeps/posix/opendir.c: Include <stdbool.h>.
17470         (invalid_name): New function, broken out of ...
17471         (__opendirat): ... here.  Call it.
17472         (need_isdir_precheck): New function, broken out of ...
17473         (__opendirat): ... here.  Call it.
17474         Use __fxstatat64, not __xstatat64.
17475         (opendir_oflags): New function, broken out of ...
17476         (__opendirat): ... here.  Call it.
17477         (opendir_tail): New function, broken out of ...
17478         (__opendirat): ... here.  Call it.
17479         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
17480         opendir_tail, rather than punting to __opendirat.
17481         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
17483 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17485         * .gitignore: Ignore generated *.pyc.
17487 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
17489         * include/stdio.h: Define __need_wint_t.
17490         * test-skeleton.c: Avoid `for' loop initial declaration.
17491         * nptl/tst-initializers1.c: Use test-skeleton.c.
17493 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17495         [BZ #18418]
17496         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
17498 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
17500         [BZ #16352]
17501         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
17502         (__ieee754_atanh): Force underflow exception for results with
17503         small absolute value.
17504         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
17505         (__ieee754_atanhf): Force underflow exception for results with
17506         small absolute value.
17507         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
17508         (__ieee754_atanh): Force underflow exception for results with
17509         small absolute value.
17510         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
17511         (__ieee754_atanhf): Force underflow exception for results with
17512         small absolute value.
17513         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
17514         (__ieee754_atanhl): Force underflow exception for results with
17515         small absolute value.
17516         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
17517         (__ieee754_atanhl): Force underflow exception for results with
17518         small absolute value.
17519         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
17520         (__ieee754_atanhl): Force underflow exception for results with
17521         small absolute value.
17522         * math/auto-libm-test-in: Do not allow missing underflow
17523         exceptions from atanh.
17524         * math/auto-libm-test-out: Regenerated.
17526         [BZ #18221]
17527         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
17528         2**-28 as threshold for returning x or +/- 1/x.
17529         * math/auto-libm-test-in: Add more tests of tan.
17530         * math/auto-libm-test-out: Regenerated.
17532         [BZ #18220]
17533         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17534         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
17535         * math/auto-libm-test-in: Add another test of lgamma.
17536         * math/auto-libm-test-out: Regenerated.
17538 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
17540         * stdio-common/printf_fp.c (___printf_fp): Use abs.
17541         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
17542         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
17543         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
17544         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
17545         (ADD2A): Use fabs.  (SUB2A): Use fabs.
17546         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
17547         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
17548         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
17549         (log1): Use fabs.  (my_log2): Use fabs.
17550         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
17551         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
17552         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
17553         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
17554         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
17555         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
17556         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
17557         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
17558         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
17559         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
17560         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
17562 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
17564         [BZ #18217]
17565         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
17566         as threshold for returning 1 - x.
17567         * math/auto-libm-test-in: Add more tests of erfc.
17568         * math/auto-libm-test-out: Regenerated.
17570 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
17572         [BZ #18196]
17573         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
17574         threshold for large arguments.
17575         * math/auto-libm-test-in: Add another test of atan.
17576         * math/auto-libm-test-out: Regenerated.
17578         [BZ #16339]
17579         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
17580         (__log1p): Force underflow exception for results with small
17581         absolute value.
17582         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
17583         (__log1pf): Force underflow exception for results with small
17584         absolute value.
17585         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
17586         (__log1p): Force underflow exception for results with small
17587         absolute value.
17588         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
17589         (__log1pf): Force underflow exception for results with small
17590         absolute value.
17591         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
17592         (__log1pl): Force underflow exception for results with small
17593         absolute value.
17594         * math/auto-libm-test-in: Do not allow missing underflow
17595         exceptions from log1p.
17596         * math/auto-libm-test-out: Regenerated.
17598 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
17599             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17601         [BZ #16704]
17602         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
17604 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
17606         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
17607         (libmvec): New variable.
17608         * configure.ac: Added option for mathvec build.
17609         * configure: Regenerated.
17610         * mathvec/Depend: New file.
17611         * mathvec/Makefile: New file.
17612         * shlib-versions: Added libmvec.
17613         * math/Makefile: Added rule for libm.so installation.
17615         * bits/math-vector.h: New file.
17616         * bits/libm-simd-decl-stubs.h: New header.
17617         * math/Makefile (headers): Added new header
17618         libm-simd-decl-stubs.h.
17619         * math/math.h (__MATHCALL_VEC): New macro.
17621         * math/gen-libm-have-vector-test.sh: Script generates series of macros
17622         for conditions in testing functions.
17623         * math/Makefile: Added call of libm-have-vector-test.sh.
17624         * math/libm-test.inc (HAVE_VECTOR): New macros.
17626         * math/libm-test.inc: START refactored.
17627         * math/test-double.c (TEST_MATHVEC): Add define.
17628         * math/test-float.c: Likewise.
17629         * math/test-idouble.c: Likewise.
17630         * math/test-ifloat.c: Likewise.
17631         * math/test-ildoubl.c: Likewise.
17632         * math/test-ldouble.c: Likewise.
17633         * sysdeps/generic/math-tests-arch.h
17634         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
17635         architecture check.
17637         * math/test-double.c (FUNC_TEST): New macro.
17638         * math/test-float.c: Likewise.
17639         * math/test-idouble.c: Likewise.
17640         * math/test-ifloat.c: Likewise.
17641         * math/test-ildoubl.c: Likewise.
17642         * math/test-ldouble.c: Likewise.
17643         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
17645 2015-05-13  Roland McGrath  <roland@hack.frob.com>
17647         * sysdeps/nacl/fdopendir.c: New file.
17649         * dirent/scandir-tail.c: New file.
17650         * dirent/scandir64-tail.c: New file.
17651         * dirent/Makefile (routines): Add them.
17652         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
17653         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
17654         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
17655         [!SCANDIR] (SCANDIR_TAIL): New macro.
17656         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
17657         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
17658         (SCANDIRAT): Macro removed.
17659         (SCANDIR_TAIL): New macro.
17660         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
17661         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
17662         (SCANDIRAT): Just call __opendirat and __scandir_tail.
17663         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
17664         (READDIR): Macro removed.
17665         (SCANDIR_TAIL): New macro.
17666         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
17667         (SCANDIR_TAIL): New macro.
17669         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
17670         * dirent/scandir-cancel.c: ... to this new file.
17671         * dirent/Makefile (routines): Add it.
17672         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
17673         * sysdeps/unix/sysv/linux/i386/scandir64.c
17674         (SKIP_SCANDIR_CANCEL): Macro removed.
17675         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
17677         * dirent/tst-scandir.c: New file.
17678         * dirent/tst-scandir64.c: New file.
17679         * dirent/Makefile (tests): Add them.
17681 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
17683         [BZ #18409]
17684         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
17686 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17688         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
17689         list.
17691 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
17693         * benchtests/bench-strcoll.c: New benchmark.
17694         * benchtests/Makefile: Generate locales and run benchmark.
17695         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
17696         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
17697         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
17698         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
17699         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
17700         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
17701         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
17702         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
17703         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
17704         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
17705         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
17706         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
17707         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
17708         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
17709         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
17710         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
17711         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
17712         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
17713         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
17714         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
17715         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
17716         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
17717         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
17718         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
17720 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
17722         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
17723         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17725 2015-05-12  Roland McGrath  <roland@hack.frob.com>
17727         * posix/uname-values.h: New file.
17728         * posix/uname.c: Include that instead of <config-name.h>.
17729         * sysdeps/nacl/uname-values.h: New file.
17730         * sysdeps/arm/nacl/uname-values.h: New file.
17732 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
17734         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
17735         splitting into fields.
17737 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
17739         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
17740         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
17741         * locale/localeinfo.h: Add enum collation_encoding_type.
17742         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
17743         * programs/ld-collate.c (collate_output): Add encoding type info.
17744         * string/strcoll_l.c (STRDIFF): New function.
17745         * (STRCOLL): Use STRDIFF to skip over equal prefix.
17746         * wcsmbs/wcscoll_l.c: Define STRDIFF.
17748 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
17750         [BZ #18397]
17751         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
17752         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
17753         <fpu_control.h> instead of <math/fpu_control.c>.
17754         * sysdeps/mips/mips32/fpu/Makefile: New file.
17756 2015-05-11  Andreas Schwab  <schwab@suse.de>
17758         [BZ #18007]
17759         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
17760         nss_endgrent.
17761         (_nss_compat_endgrent): Call nss_endgrent.
17762         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
17763         nss_endpwent.
17764         (_nss_compat_endpwent): Call nss_endpwent.
17765         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
17766         needent, call nss_setspent only if non-zero.
17767         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
17768         (internal_endspent): Don't call nss_endspent.
17769         (_nss_compat_endspent): Call nss_endspent.
17770         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
17771         Remove.  All uses removed.
17772         (internal_setent): Remove parameter stayopen, add parameter
17773         stream.  Use it instead of global variable.
17774         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
17775         (internal_endent, internal_getent): Add parameter stream.  Use it
17776         instead of global variable.
17777         (CONCAT(_nss_files_end,ENTNAME))
17778         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
17779         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
17780         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
17781         uses removed.
17782         (internal_setent, internal_endent): Add parameter stream.  Use it
17783         instead of global variable.
17784         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
17785         stream.
17786         (get_next_alias): Add parameter stream.
17787         (_nss_files_getaliasent_r): Pass global stream.
17788         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
17789         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
17790         (_nss_files_gethostbyname4_r): Pass local stream to
17791         internal_setent, internal_getent and internal_endent.  Remove
17792         locking.
17794 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17796         * tst-strfmon1.c (tests): Update expected currency symbol.
17798 2015-05-08  Roland McGrath  <roland@hack.frob.com>
17800         * sysdeps/nacl/gethostname.c: New file.
17802 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
17804         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
17805         and sinh.
17806         * math/auto-libm-test-out: Regenerated.
17807         * sysdeps/i386/fpu/libm-test-ulps: Update.
17808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17810 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
17812         [BZ #18125]
17813         * stdlib/tst-setcontext3.c: New file.
17814         * stdlib/tst-setcontext3.sh: New file.
17815         * stdlib/Makefile (tests): Add tst-setcontext3.
17816         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
17817         to verify test program created output file.
17818         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
17819         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
17820         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
17821         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
17823 2015-05-06  Roland McGrath  <roland@hack.frob.com>
17825         [BZ #18383]
17826         * elf/tst-tlsalign.c: New file.
17827         * elf/tst-tlsalign-static.c: New file.
17828         * elf/tst-tlsalign-lib.c: New file.
17829         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
17830         (tests-static): Add tst-tlsalign-static.
17831         (modules-names): Add tst-tlsalign-lib.
17832         (test-xfail-tst-tlsalign): New variable.
17833         (test-xfail-tst-tlsalign-static): New variable.
17835         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
17836         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
17838 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
17840         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
17841         csqrt, erfc, sin and sincos.
17842         * math/auto-libm-test-out: Regenerated.
17843         * sysdeps/i386/fpu/libm-test-ulps: Update.
17844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17846 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17848         * sysdeps/aarch64/libm-test-ulps: Update.
17850 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
17852         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
17853         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
17854         * math/auto-libm-test-out: Regenerated.
17855         * sysdeps/i386/fpu/libm-test-ulps: Update.
17856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17858 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17860         [BZ #18265]
17861         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
17862         (wcsncpy): Likewise.
17864 2015-05-05  Florian Weimer  <fweimer@redhat.com>
17866         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17867         Assume __ASSUME_FALLOCATE is always true.
17868         * sysdeps/unix/sysv/linux/posix_fallocate64.c
17869         (__posix_fallocate64_l64): Likweise.
17870         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
17871         (posix_fallocate): Likewise.
17872         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
17873         (__posix_fallocate64_l64): Likewise.
17874         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17875         [!__ASSUME_FALLOCATE]: Add comment.
17877 2015-05-05  Florian Weimer  <fweimer@redhat.com>
17879         * sysdeps/unix/sysv/linux/i386/Makefile
17880         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
17881         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
17882         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
17883         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17884         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17885         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
17886         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
17888 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
17890         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
17891         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
17892         tgamma.
17893         * math/auto-libm-test-out: Regenerated.
17894         * sysdeps/i386/fpu/libm-test-ulps: Update.
17895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17897 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
17899         * math/auto-libm-test-in: Add more tests of tgamma.
17900         * math/auto-libm-test-out: Regenerated.
17901         * sysdeps/i386/fpu/libm-test-ulps: Update.
17902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17904         * math/auto-libm-test-in: Add more tests of tanh.
17905         * math/auto-libm-test-out: Regenerated.
17906         * sysdeps/i386/fpu/libm-test-ulps: Update.
17907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17909         * math/auto-libm-test-in: Add more tests of tan.
17910         * math/auto-libm-test-out: Regenerated.
17911         * sysdeps/i386/fpu/libm-test-ulps: Update.
17912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17914         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
17915         * math/auto-libm-test-out: Regenerated.
17916         * sysdeps/i386/fpu/libm-test-ulps: Update.
17917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17919         * math/auto-libm-test-in: Add another test of pow.
17920         * math/auto-libm-test-out: Regenerated.
17921         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17923         * math/auto-libm-test-in: Add more tests of lgamma.
17924         * math/auto-libm-test-out: Regenerated.
17925         * sysdeps/i386/fpu/libm-test-ulps: Update.
17926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17928         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
17929         log1p.
17930         * math/auto-libm-test-out: Regenerated.
17931         * sysdeps/i386/fpu/libm-test-ulps: Update.
17932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17934 2015-05-01  Mark Wielaard  <mjw@redhat.com>
17936         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
17937         Elf64_Chdr structs and ELFCOMPRESS constants.
17939 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
17941         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
17942         expm1.
17943         * math/auto-libm-test-out: Regenerated.
17944         * sysdeps/i386/fpu/libm-test-ulps: Update.
17945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17947         * math/auto-libm-test-in: Add more tests of erf and erfc.
17948         * math/auto-libm-test-out: Regenerated.
17949         * sysdeps/i386/fpu/libm-test-ulps: Update.
17950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17952 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17954         * config.h.in (HAVE_AARCH64_BE): Add.
17956 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
17958         * math/auto-libm-test-in: Add more tests of csqrt.
17959         * math/auto-libm-test-out: Regenerated.
17960         * sysdeps/i386/fpu/libm-test-ulps: Update.
17961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17963         * math/auto-libm-test-in: Add more tests of cosh and sinh.
17964         * math/auto-libm-test-out: Regenerated.
17965         * sysdeps/i386/fpu/libm-test-ulps: Update.
17966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17968         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
17970 2015-04-29  Roland McGrath  <roland@hack.frob.com>
17972         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
17973         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
17975         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
17976         (euidaccess, eaccess): Define as weak aliases.
17978         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
17979         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
17980         but __suseconds_t is often 'long int' so some sources assume that
17981         type is being used (e.g. they use %ld to print tv_usec).
17983 2015-04-29  Florian Weimer  <fweimer@redhat.com>
17985         [BZ #18007]
17986         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
17987         (CVE-2014-8121)
17988         * nss/tst-nss-getpwent.c: New file.
17989         * nss/Makefile (tests): Add new test.
17991 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
17993         [BZ #18346]
17994         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
17995         exponents less than 48 as cases where high part of mantissa needs
17996         examining to determine whether argument is integral.
17997         * math/libm-test.inc (round_test_data): Add more tests.
17999 2015-04-28  Mark Wielaard  <mjw@redhat.com>
18001         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
18003 2015-04-27  David S. Miller  <davem@davemloft.net>
18005         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
18006         __tls_get_addr.
18007         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
18009 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
18011         [BZ#18333]
18012         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
18014 2015-04-27  Florian Weimer  <fweimer@redhat.com>
18016         [BZ#18333]
18017         * time/tzset.c (parse_tzname): Return error on memory allocation
18018         failure.
18019         * test-skeleton.c (struct temp_name_list): Change type of name
18020         member to non-const.
18021         (add_temp_file): Create a copy of the file name.
18022         (delete_temp_files): Deallocate memory.
18023         (create_temp_file): Add comment.
18025 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18027         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
18028         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
18030 2015-04-24  Roland McGrath  <roland@hack.frob.com>
18032         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
18033         * sysdeps/arm/configure: Regenerated.
18035 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18037         [BZ #17715]
18038         * time/tzfile.c (__tzfile_read): Check for large values of
18039         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
18040         * time/tzset.c (__tzstring_len): New function, based on the old
18041         __tzstring function.
18042         (__tzstring): Call __tzstring_len.
18043         (parse_tzname): New helper function extracted from
18044         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
18045         the input string.
18046         (parse_offset): New helper function extracted from
18047         __tzset_parse_tz.  Replace switch with fallthrough with
18048         initialization before sscanf.
18049         (parse_rule): Likewise.
18050         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
18051         new-style function definition.
18052         * timezone/Makefile (tests): Add tst-tzset.
18053         (tst-tzset.out): Dependencies on time zone files.
18054         (tst-tzset-ENV): Set TZDIR.
18055         (testdata/XT%): Copy crafted time zone files.
18056         * timezone/README: Mention crafted time zone files.
18057         * timezone/testdata/XT1, timezone/testdata/XT2,
18058         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
18059         files.
18060         * timezone/tst-tzset.c: New test.
18062 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18064         * Makeconfig (+gccwarn): Remove -Winline.
18066 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18068         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
18070 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18072         * NEWS: Mention sysconf() cache information support for s390.
18073         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
18075 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
18077         * math/k_casinh.c (__kernel_casinh): Use __copysign.
18078         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
18079         (__nearbyint): Likewise.
18080         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
18081         (copysignl): Likewise.
18083 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
18085         [BZ #18287]
18086         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
18087         based on padding.  (CVE-2015-1781)
18089 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18091         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
18092         libc-vdso.h.
18093         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
18094         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
18095         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
18096         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
18097         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
18098         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
18099         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
18100         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18101         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18102         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
18103         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18104         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18105         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
18106         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
18107         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
18108         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
18109         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
18110         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
18111         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
18112         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
18113         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
18114         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
18115         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
18117 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
18119         * stdlib/setenv.c (__add_to_environ):
18120         Dump core quickly if setenv (..., NULL, ...) is called.
18121         This time, do it the right way, and pacify GCC with a pragma.
18123 2015-04-17  Roland McGrath  <roland@hack.frob.com>
18125         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
18126         IMAP->l_prev cannot be null, and #if out the code for the contrary
18127         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
18128         believe that NS (&_dl_ns[NSID]) could point outside the array.
18130         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
18131         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
18132         before using NSID as an index.
18134 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
18136         [BZ #17825]
18137         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
18138         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
18139         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18141 2015-04-17  Roland McGrath  <roland@hack.frob.com>
18143         Add preliminary port to Google Native Client on ARM.
18144         * abi-tags (.*-.*-nacl.*): New entry.
18145         * sysdeps/arm/nacl: New directory.
18146         * sysdeps/nacl: New directory.
18148 2015-04-16  David S. Miller  <davem@davemloft.net>
18150         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
18151         lowlevellock-futex.h
18153 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
18155         * sysdeps/tile/configure.ac: New file.
18156         * sysdeps/tile/configure: Regenerated.
18158 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18160         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
18161         conditionals for weak_alias and libc_hidden_weak.
18162         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
18163         libc_hidden_weak and weak_alias.
18164         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
18165         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
18166         and weak_alias for static one.
18168 2015-04-15  David S. Miller  <davem@davemloft.net>
18170         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18172 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18174         [BZ #18206]
18175         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
18176           Use signed comparision instead of substraction to avoid
18177           overflow bug.
18178         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
18179           Take the sign of ret.
18180         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
18181           Do not expect precise return values. Only the sign matters.
18182         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
18183         * wcsmbs/test-wcsncmp.c: New File.
18184         * string/test-strncmp.c: Add wcsncmp support.
18186 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18188         [BZ #6792]
18189         * math/w_log1p.c: New file.
18190         * math/w_log1pf.c: Likewise.
18191         * math/w_log1pl.c: Likewise.
18192         * math/Makefile (libm-calls): Add w_log1p.
18193         * math/s_log1pl.c (log1pl): Remove weak_alias.
18194         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
18195         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
18196         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
18197         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
18198         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
18199         [NO_LONG_DOUBLE] (log1pl): Likewise.
18200         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
18201         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
18202         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
18203         (log1p): Remove long_double_symbol.
18204         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
18205         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
18206         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
18207         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
18208         remove weak_alias for corresponding log1p function.
18209         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
18210         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
18211         * sysdeps/ia64/fpu/w_log1p.c: New file.
18212         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
18213         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
18214         * math/libm-test.inc (log1p_test_data): Add errno expectations.
18216 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
18218         [BZ #18247]
18219         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
18220         decimal exponent by 1.
18221         * stdlib/tst-strtod-round-data: Add more tests.
18222         * stdlib/tst-strtod-round.c (tests): Regenerated.
18224 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
18226         * math/auto-libm-test-in: Add more tests of clog and clog10.
18227         * math/auto-libm-test-out: Regenerated.
18228         * sysdeps/i386/fpu/libm-test-ulps: Update.
18229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18231 2015-04-09  Roland McGrath  <roland@hack.frob.com>
18233         * Makeconfig (module-cppflags): Exclude all .v.i files.
18234         (skip-module-cppflags): Variable removed.
18236         * configure.ac (libc_config_ok): Initialize before reading
18237         preconfigure scripts, not after.
18238         * configure: Regenerated.
18240         * test-skeleton.c (TIMEOUT): Move #define to top level.
18241         (main): Grok environment variable TEST_DIRECT.  If set, print
18242         test expectation details into that file and then behave as if
18243         given --direct.
18245 2015-04-09  Florian Weimer  <fweimer@redhat.com>
18247         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
18248         warning on 32-bit.
18250 2015-04-08  David S. Miller  <davem@davemloft.net>
18252         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18254 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
18256         * math/auto-libm-test-in: Add more tests of atanh.
18257         * math/auto-libm-test-out: Regenerated.
18258         * sysdeps/i386/fpu/libm-test-ulps: Update.
18259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18261         * math/auto-libm-test-in: Add more tests of atan.
18262         * math/auto-libm-test-out: Regenerated.
18263         * sysdeps/i386/fpu/libm-test-ulps: Update.
18264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18266 2015-04-08  Florian Weimer  <fweimer@redhat.com>
18268         * elf/pldd.c (main): Rewrite to use struct
18269         scratch_buffer instead of extend_alloca.
18270         * elf/pldd-xx.c (find_maps): Likewise.
18271         * grp/initgroups.c: Include <scratch_buffer.h> instead of
18272         <alloca.h>.
18273         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
18274         scratch_buffer instead of extend_alloca.
18275         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
18276         grp/compat-initgroups.c.
18277         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
18278         Rewrite to use struct scratch_buffer instead of extend_alloca.
18279         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
18280         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18282 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
18284         * math/auto-libm-test-in: Add more tests of cbrt.
18285         * math/auto-libm-test-out: Regenerated.
18286         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18288         * math/auto-libm-test-in: Add more tests of cabs.
18289         * math/auto-libm-test-out: Regenerated.
18290         * sysdeps/i386/fpu/libm-test-ulps: Update.
18291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18293         [BZ #18210]
18294         [BZ #18211]
18295         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
18296         (__ieee754_atan2): Set FE_TONEAREST mode for internal
18297         computations.
18298         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
18299         clog10.
18300         * math/auto-libm-test-out: Regenerated.
18301         * sysdeps/i386/fpu/libm-test-ulps: Update.
18302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18304         [BZ #18197]
18305         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
18306         (atan): Set FE_TONEAREST mode for internal computations.
18307         * math/auto-libm-test-in: Add more tests of atan.
18308         * math/auto-libm-test-out: Regenerated.
18310 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
18312         [BZ #17930]
18313         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
18315 2015-04-07  Florian Weimer  <fweimer@redhat.com>
18317         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
18319 2015-04-07  Florian Weimer  <fweimer@redhat.com>
18321         * include/scratch_buffer.h: New file.
18322         * malloc/scratch_buffer_grow.c: Likewise.
18323         * malloc/scratch_buffer_grow_preserve.c: Likewise.
18324         * malloc/scratch_buffer_set_array_size.c: Likewise.
18325         * malloc/tst-scratch_buffer.c: Likewise.
18326         * malloc/Makefile (routines): Add scratch_buffer_grow.
18327         (tests): Add test case.
18328         * malloc/Versions (GLIBC_PRIVATE): Export
18329         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
18330         __libc_scratch_buffer_set_array_size.
18332 2015-04-06  Richard Henderson  <rth@redhat.com>
18334         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
18335         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18337         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
18338         unsigned int before printing.
18340 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18342         [BZ #17596]
18343         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
18344         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18346 2015-04-02  Florian Weimer  <fweimer@redhat.com>
18348         * include/libc-internal.h (libc_max_align_t): Define.
18350 2015-04-02  Andreas Schwab  <schwab@suse.de>
18352         [BZ #16850]
18353         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
18355 2015-04-02  Mel Gorman  <mgorman@suse.de>
18357         [BZ #17195]
18358         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
18359         as well as the main arena.
18361 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18363         [BZ #18185]
18364         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
18365         sharing L2 cache to 2 for Silvermont/Knights Landing.
18367 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18369         [BZ #17711]
18370         * config.make.in (have-protected-data): New.
18371         * configure.ac: Check linker support for protected data symbol.
18372         * configure: Regenerated.
18373         * elf/Makefile (modules-names): Add tst-protected1moda and
18374         tst-protected1modb if $(have-protected-data) is yes.
18375         (tests): Add tst-protected1a and tst-protected1b if
18376         $(have-protected-data) is yes.
18377         ($(objpfx)tst-protected1a): New.
18378         ($(objpfx)tst-protected1b): Likewise.
18379         (tst-protected1modb.so-no-z-defs): Likewise.
18380         * elf/tst-protected1a.c: New file.
18381         * elf/tst-protected1b.c: Likewise.
18382         * elf/tst-protected1mod.h: Likewise.
18383         * elf/tst-protected1moda.c: Likewise.
18384         * elf/tst-protected1modb.c: Likewise.
18386 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18388         [BZ #17711]
18389         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
18390         indicates it is called from do_lookup_x on relocation against
18391         protected data, skip the data definion in the executable from
18392         copy reloc.
18393         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
18394         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
18395         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
18396         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
18397         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
18398         otherwise to 0.
18399         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
18400         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
18401         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
18402         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
18403         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
18404         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
18406 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
18408         * sysdeps/nptl/pthread.h: Remove duplicate definition of
18409         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
18411 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
18413         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
18414         THREAD_SETMEM_NC.
18415         * sysdeps/x86_64/nptl/tls.h: Ditto.
18417 2015-03-27  Roland McGrath  <roland@hack.frob.com>
18419         * dlfcn/tststatic.c (main): Converted to ...
18420         (do_test): ... this.
18421         (TEST_FUNCTION): New macro.
18422         Include test-skeleton.c.
18424 2015-03-26  Alan Modra  <amodra@gmail.com>
18426         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
18427         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
18428         zero for undefined weak.
18429         (elf_machine_plt_conflict): Similarly.
18431 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
18433         * math/auto-libm-test-in: Add more tests of acosh, asinh and
18434         atanh.
18435         * math/auto-libm-test-out: Regenerated.
18436         * sysdeps/i386/fpu/libm-test-ulps: Update.
18437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18439         * math/auto-libm-test-in: Add another test of asin.
18440         * math/auto-libm-test-out: Regenerated.
18441         * sysdeps/i386/fpu/libm-test-ulps: Update.
18442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18444         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
18445         Remove macro.
18446         (LLL_EBX_REG): Likewise.
18447         (LLL_ENTER_KERNEL): Likewise.
18449         * math/auto-libm-test-in: Add more tests of asin.
18450         * math/auto-libm-test-out: Regenerated.
18451         * sysdeps/i386/fpu/libm-test-ulps: Update.
18452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18454         [BZ #18138]
18455         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
18456         libc_do_syscall_args): New structure.
18457         (INTERNAL_SYSCALL_MAIN_0): New macro.
18458         (INTERNAL_SYSCALL_MAIN_1): Likewise.
18459         (INTERNAL_SYSCALL_MAIN_2): Likewise.
18460         (INTERNAL_SYSCALL_MAIN_3): Likewise.
18461         (INTERNAL_SYSCALL_MAIN_4): Likewise.
18462         (INTERNAL_SYSCALL_MAIN_5): Likewise.
18463         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
18464         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
18465         Replace conditional definitions by conditional definitions of ....
18466         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
18467         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
18468         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
18469         (libpthread-sysdep_routines): Add libc-do-syscall.
18470         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
18471         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
18472         to __NR_futex not 240.
18474 2015-03-25  Alan Modra  <amodra@gmail.com>
18476         * NEWS: Advertise TLS optimization.
18477         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
18478         (DT_PPC_NUM): Increment.
18479         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
18480         (CHECK_STATIC_TLS): Use here.
18481         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
18482         TLS descriptors.
18483         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18484         * sysdeps/powerpc/dl-tls.c: New file.
18485         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
18486         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
18487         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
18488         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
18489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
18490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
18491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
18493 2015-03-25  Alan Modra  <amodra@gmail.com>
18495         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
18496         for overlapping .opd entries" to "support...".
18497         * sysdeps/powerpc/powerpc64/configure: Regenerate
18499 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
18501         * math/auto-libm-test-in: Add more tests of acos.
18502         * math/auto-libm-test-out: Regenerated.
18503         * sysdeps/i386/fpu/libm-test-ulps: Update.
18504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18506         * math/auto-libm-test-in: Add more tests of expm1.
18507         * math/auto-libm-test-out: Regenerated.
18508         * sysdeps/i386/fpu/libm-test-ulps: Update.
18509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18511 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
18513         * math/auto-libm-test-in: Add more tests of cosh and sinh.
18514         * math/auto-libm-test-out: Regenerated.
18515         * sysdeps/i386/fpu/libm-test-ulps: Update.
18516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18518         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18521         * math/auto-libm-test-in: Add more tests of log2.
18522         * math/auto-libm-test-out: Regenerated.
18523         * sysdeps/i386/fpu/libm-test-ulps: Update.
18524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18526 2015-03-23  Roland McGrath  <roland@hack.frob.com>
18528         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
18529         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
18530         _IO_IS_APPENDING bit in READ_WRITE instead.
18532 2015-03-23  Florian Weimer  <fweimer@redhat.com>
18534         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
18535         (__determine_cpumask_size): Replace extend_alloca with a
18536         variable-length array.  Do not treat res == 0 as an error.
18538 2015-03-23  Florian Weimer  <fweimer@redhat.com>
18540         [BZ #18100]
18541         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
18542         and integer overflow.
18543         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
18544         (main): Add integer overflow tests.
18545         * manual/pattern.texi (Calling Wordexp): Document additional use
18546         for WRDE_SYNTAX.
18548 2015-03-23  Alan Modra  <amodra@gmail.com>
18550         * config.h.in: Remove HAVE_ASM_PPC_REL16.
18551         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
18552         and false branch of conditional.
18553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18554         Likewise.
18556 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
18558         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
18559         libc-modules.h
18560         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
18561         unused declaration of _hurd_intr_rpc_msg_in_trap.
18562         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
18563         defined instead of whether it is non-zero.
18564         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
18565         input constraint instead of both input and output constraint.  Use ecx
18566         clobber instead of %ecx.
18567         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
18568         mutex_unlock): Use a statement expression instead of an expression list.
18569         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
18570         type to vm_size_t instead of vm_address_t.
18571         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
18572         defined instead of whether it is non-zero.
18573         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
18574         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
18575         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
18576         comparisons with mapaddr.
18577         * nscd/nscd-client.h: Include <time.h>.
18578         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
18579         9th parameter to __vm_region instead of int.
18580         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
18581         * scripts/check-local-headers.sh (exclude): Add device/,
18582         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
18583         cthreads.h.
18585 2015-03-19  Roland McGrath  <roland@hack.frob.com>
18587         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
18588         to account for alignment padding.
18589         * sysdeps/arm/memmove.S: Likewise.
18591 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
18593         * sysdeps/unix/sysv/linux/generic/README: New file.
18595 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
18597         [BZ #18138]
18598         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
18599         (futex_abstimed_wait)
18600         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
18601         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
18602         of lll_futex_timed_wait.
18604 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
18606         [BZ #17542]
18607         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
18609 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
18611         [BZ #17090]
18612         [BZ #17620]
18613         [BZ #17621]
18614         [BZ #17628]
18615         * NEWS: Update.
18616         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
18617         entries with Static TLS too.  Skip entries past the end of the
18618         allocated DTV, from Alan Modra.
18619         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
18620         Static TLS DTV entry set up from...
18621         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
18622         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
18623         * nptl/allocatestack.c (init_one_static_tls): ... and here...
18624         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
18625         for Static TLS.
18626         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
18627         that the slot we find is associated with the given map before
18628         using its generation count.
18629         * nptl_db/db_info.c: Include ldsodefs.h.
18630         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
18631         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
18632         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
18633         (link_map::l_tls_offset): New struct field.
18634         (dtv_t::counter): Likewise.
18635         (rtld_global): New struct.
18636         (_rtld_global): New rtld variable.
18637         (dl_tls_dtv_slotinfo_list): New rtld global field.
18638         (dtv_slotinfo_list): New struct.
18639         (dtv_slotinfo): Likewise.
18640         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
18641         (td_lookup): Rename to...
18642         (td_mod_lookup): ... this.  Use new mod parameter instead of
18643         LIBPTHREAD_SO.
18644         * nptl_db/td_thr_tlsbase.c: Include link.h.
18645         (dtv_slotinfo_list, dtv_slotinfo): New functions.
18646         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
18647         addresses even if the DTV is out of date or missing them.
18648         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
18649         index zero-length arrays.
18650         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
18651         (td_lookup): Make it a macro implemented in terms of...
18652         (td_mod_lookup): ... this declaration.
18653         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
18654         (DB_MAIN_VARIABLE): Likewise.
18656 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18658         [BZ #18134]
18659         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18661 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
18663         * stdlib/setenv.c (__add_to_environ): Revert previous change.
18665 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
18667         [BZ #18128]
18668         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
18669         (atomic_add, atomic_increment_and_test)
18670         (atomic_decrement_and_test): Fix 64-bit arithmetic.
18672 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
18674         * stdlib/setenv.c (__add_to_environ):
18675         Dump core quickly if setenv (..., NULL, ...) is called.
18677 2015-03-13  Roland McGrath  <roland@hack.frob.com>
18679         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
18680         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
18681         all the necessary asm magic in one place.
18682         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
18683         using those.
18685 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
18687         [BZ #14906]
18688         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
18689         traced file mtime. Use consistent log message.
18690         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
18691         (register_traced_file): Call install_watches. Always set mtime.
18692         (invalidate_cache): Iterate over all trace files. Call install_watches.
18693         (inotify_check_files): Don't inline. Handle watching parent
18694         directories and configuration file movement in and out.
18695         (handle_inotify_events): New function.
18696         (main_loop_poll): Call handle_inotify_events.
18697         (main_loop_epoll): Likewise.
18698         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
18699         (struct traced_file): Use array of inotify fds. Add parent directory,
18700         and basename.
18701         (struct database_dyn): Remove unused file_mtime.
18702         (init_traced_file): New inline function.
18703         (define_traced_file): New macro.
18704         * nss/nss_db/db-init.c: Use define_traced_file.
18705         (_nss_db_init): Use init_traced_file.
18706         * nss/nss_files/files-init.c: Use define_traced_file.
18707         (_nss_files_init): Use init_traced_file.
18709 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
18711         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
18712         [_LIBC]: Do not include <stdlib.h>.
18713         [!_LIBC] (abort): Remove declaration.
18714         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
18715         _FP_STATIC_ASSERT instead of conditionally calling abort.
18716         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
18717         (_FP_EXTEND_CNAN): Likewise.
18718         (FP_TRUNC): Likewise.
18719         (__FP_CLZ): Likewise.
18720         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
18722 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
18724         * manual/string.texi (XPG basename): Fix prototype.
18726 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18728         [BZ #18080]
18729         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
18730         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
18731         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
18732         (__setcontext): Likewise.
18733         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
18734         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
18735         Call rt_sigprocmask syscall one time to set new signal mask
18736         and retrieve the current signal mask instead of two calls.
18737         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
18738         (__swapcontext): Likewise.
18739         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
18740         * stdlib/tst-setcontext2.c: New file.
18742 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18744         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18746 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
18748         [BZ #18093]
18749         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
18750         the wrong size.
18752 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18754         [BZ #18043]
18755         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
18757 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18759         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
18760         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
18761         Remove define.
18762         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
18763         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
18764         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
18765         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
18766         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
18767         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
18768         define.
18769         * nptl_db/td_symbol_list.c (td_lookup): Remove
18770         HAVE_ASM_GLOBAL_DOT_NAME code.
18771         * sysdeps/powerpc/powerpc64/configure.ac: Remove
18772         HAVE_ASM_GLOBAL_DOT_NAME check.
18773         * sysdeps/powerpc/powerpc64/configure: Regenerate.
18774         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
18775         (DOT_LABEL): Remove define.
18776         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
18777         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
18778         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
18779         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
18780         (__TLS_GET_ADDR): Likewise.
18781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
18782         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
18784 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
18786         [BZ #18111]
18787         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
18788         (_FPU_SETCW): Initialize cw from fpsr before storing.
18789         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
18790         (fesetexceptflag): Rewrite using fpu_control.h.
18791         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
18793 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
18795         [BZ #18110]
18796         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
18797         asms.
18798         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
18800 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
18802         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
18803         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
18804         abort.
18805         (_FP_FMA): Likewise.
18806         (_FP_DIV): Likewise.
18808 2015-03-10  Roland McGrath  <roland@hack.frob.com>
18810         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
18811         with 0 in that case.
18812         * Makefile (summarize-tests): New canned sequence, factored out of
18813         commands for targets tests and xtests.  Display summary lines that
18814         don't start with PASS: or XFAIL: rather than ones that do start with
18815         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
18816         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
18817         do start with ERROR: or FAIL:.
18818         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
18819         (except for [$(build-shared) = yes]).
18820         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
18821         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
18822         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
18823         * nptl/Makefile: Revert 2015-03-04 changes.
18824         [$(CXX) empty] (tests-unsupported): New variable.
18825         * debug/Makefile: Likewise.
18827         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
18828         gnulib file.  Replace __attribute with __attribute__ throughout.
18830 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
18832         * sysdeps/hppa/fpu/libm-test-ulps: Update.
18834 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18836         [BZ #18104]
18837         * math/auto-libm-test-in: Add another test of pow.
18838         * math/auto-libm-test-out: Regenerated.
18840 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18842         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
18843         $(config-cflags-nofma).
18845 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18847         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
18848         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
18849         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
18850         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
18851         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
18852         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
18853         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
18854         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
18855         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
18856         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
18857         Add comment on closing #endif.
18859 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18861         * posix/wordexp.c (CHAR_IN_SET): New macro.
18862         (parse_param): Use it.
18864 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18866         * sysdeps/powerpc/fpu/libm-test-ulps: update.
18868 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18870         [BZ #18043]
18871         * posix/wordexp.c (parse_param): Fix buffer overflow.
18872         * posix/wordexp-test.c (test_case): Add test case.
18874 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18876         [BZ #18042]
18877         * posix/wordexp.c (parse_backtick): Fix off-by-one.
18878         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
18880 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18882         [BZ #18043]
18883         * posix/wordexp-test.c (test_case): Add test for BZ #18043
18884         (do_bz18043): Delete.
18885         (at_page_end): New.
18886         (testit): Refactor to have words at the edge of unreadable page.
18888 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18890         [BZ #16734]
18891         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
18892         Cleanup read-only streams as well.
18893         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
18895 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18897         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
18898         <bits/libc-lockP.h>
18900 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
18902         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
18903         on [__KERNEL__].
18904         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
18905         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
18906         * soft-fp/op-common.h (_FP_DECL): Likewise.
18908 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
18910         * elf/ifuncdep2.c (global): Replace
18911         __attribute__((visibility("protected"))) with
18912         asm (".protected global").
18913         * elf/ifuncmod1.c (global): Likewise.
18914         * elf/ifuncmod5.c (global): Likewise.
18916 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
18918         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
18919         <asm/sfp-machine.h> instead of <sfp-machine.h>.
18921 2015-03-06  Roland McGrath  <roland@hack.frob.com>
18923         * manual/install.texi (Configuring and compiling):
18924         Document test-wrapper-env-only.
18925         * INSTALL: Regenerated.
18927 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18929         [BZ #18043]
18930         * posix/wordexp.c (parse_param): Fix buffer overflow.
18931         * posix/wordexp-test.c (do_bz18043): Add test case.
18933 2015-03-06  Vincent Bernat  <vincent@bernat.im>
18935         * time/tst-strptime2.c (do_test): Ensure failing tests are
18936         reported correctly.
18937         * time/tst-strptime3.c (do_test): Likewise.
18939 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
18941         Fix aio_error thread-safety.
18942         * sysdeps/pthread/aio_error.c: New file
18943         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
18944         synchronization.
18946 2015-03-06  Florian Weimer  <fweimer@redhat.com>
18948         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
18949         (group_number, vfprintf): Use it.
18950         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
18951         (JUMP, REF): Use it.
18952         (WORK_BUFFER_SIZE): New enum constant.
18953         (process_arg, vfprintf): Use it.
18955 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
18957         * manual/errno.texi (Error Messages): Complete example function
18958         by adding missing #define.
18959         (program_invocation_name): Add statement indicating GNU
18960         extension and reference which header file declares the variable.
18961         (program_invocation_short_name): Likewise.
18963 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
18965         * manual/errno.texi (Error Messages): Delete strerror ISO C89
18966         compatibility note.
18968 2015-03-05  Roland McGrath  <roland@hack.frob.com>
18970         * Makeconfig (test-wrapper-env-only): New variable.
18971         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
18972         then use that with $(test-wrapper-env-only) rather than using
18973         $(test-wrapper-env) $(run-program-env) $($*-ENV).
18975 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
18977         [BZ #18082]
18978         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
18979         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
18980         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
18981         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
18982         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
18983         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
18984         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
18985         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
18986         Likewise.
18987         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
18988         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
18989         Likewise.
18990         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
18991         Likewise.
18992         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
18993         Likewise.
18994         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
18995         Likewise.
18996         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
18997         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
18998         Likewise.
18999         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
19000         Likewise.
19001         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
19002         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
19004 2015-03-04  Roland McGrath  <roland@hack.frob.com>
19006         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
19007         (ETH_ALEN): New macro.
19008         (struct ether_addr): Use it for length of ether_addr_octet.
19010         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
19011         (setdb): Don't call __nss_configure_lookup for "rpc".
19012         (do_test): Don't call test_rpc.
19013         (output_rpcent, test_rpc): Functions moved ...
19014         * sunrpc/test-rpcent.c: ... to this new file.
19015         * sunrpc/Makefile (tests): Add it.
19017         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
19018         __xpg_sigpause.
19019         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
19020         * nptl/tst-signal6.c: Likewise.
19021         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
19022         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
19024         * configure.ac (libc_cv_cxx_link_ok): New check.
19025         Reset CXX to empty if it fails to link.
19026         * configure: Regenerated.
19027         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
19028         bug-atexit3-lib only if $(CXX) is nonempty.
19029         * nptl/Makefile (tests): Likewise for tst-cancel24.
19030         (tests, tests-static): Likewise for tst-cancel24-static.
19031         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
19032         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
19033         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
19034         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
19036 2015-03-04  Andreas Schwab  <schwab@suse.de>
19038         [BZ #17631]
19039         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
19040         for non-GCC compilers.
19041         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19042         Likewise.
19044 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19046         [BZ #17776]
19047         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
19048         integer before bitwise and assembly operations.
19049         (feclearexcept): Likewise.
19050         * math/test-fenvinline.c: New file.
19051         * math/Makefile: Add test-fenvinline test.
19053 2015-03-03  Alan Modra  <amodra@gmail.com>
19055         [BZ #16512]
19056         * scripts/localplt.awk: Strip off symbol version.
19057         * NEWS: Mention bug fix.
19059 2015-03-02  Roland McGrath  <roland@hack.frob.com>
19061         * sysdeps/pthread/timer_routines.c
19062         (timer_free_list, thread_free_list, thread_active_list): Make static.
19064 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
19066         [BZ #17779]
19067         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19068         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19069         Undefine.
19070         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19071         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19072         Likewise.
19073         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19074         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19075         Likewise.
19077 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
19079         [BZ #18036]
19080         * posix/fnmatch_loop.c (END): Detect invalid pattern.
19081         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
19083 2015-03-02  Andreas Schwab  <schwab@suse.de>
19085         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
19086         variable name.
19088 2015-03-02  Florian Weimer  <fweimer@redhat.com>
19090         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
19091         Return error status.
19093 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
19095         [BZ #15969]
19096         * locale/findlocale.c (_nl_find_locale): Introduce const
19097         version of loc_name and drop unsafe type casts.
19099 2015-02-27  Roland McGrath  <roland@hack.frob.com>
19101         * dlfcn/tststatic2.c (main): Converted to ...
19102         (do_test): ... this.
19103         (TEST_FUNCTION): New macro.
19104         Include test-skeleton.c.
19106 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
19108         [BZ #17711]
19109         * elf/Makefile (tests): Add vismain only if PIE is enabled.
19110         (tests-pie): Add vismain.
19111         (CFLAGS-vismain.c): New.
19112         * elf/vismain.c: Add comments for PIE requirement.
19114 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
19116         [BZ #18046]
19117         [BZ #18047]
19118         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
19119         0x1p-56L as threshold for just returning the argument.
19120         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
19121         0x1p-32L as threshold for just returning the argument.
19122         * math/auto-libm-test-in: Add more tests of atanh.
19123         * math/auto-libm-test-out: Regenerated.
19124         * sysdeps/i386/fpu/libm-test-ulps: Update.
19125         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
19127 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
19129         * string/bcopy.c (bcopy): Call memmove for performance.
19131 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
19133         * string/bzero.c (__bzero): Call memset for performance.
19135 2015-02-27  John David Anglin  <dave.anglin@bell.net>
19137         [BZ #18068]
19138         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
19139         to 00100000.
19141 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
19143         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
19145 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
19147         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
19148         (__kernel_standard): Use CSTR macro when setting exc.name.
19149         * sysdeps/ieee754/Makefile [$(subdir) = math]
19150         (CFLAGS-k_standard.c): Remove variable.
19152         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
19153         setting p and q from "else if" to "else".
19154         (qzero): Likewise.
19155         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
19156         (qone): Likewise.
19157         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
19158         (qzerof): Likewise.
19159         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
19160         (qonef): Likewise.
19161         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
19162         (qzero): Likewise.
19163         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
19164         (qone): Likewise.
19166         [BZ #18038]
19167         [BZ #18039]
19168         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
19169         return pi/2 for arguments below 0x1p-113L.
19170         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
19171         return pi/2 for arguments below 0x1p-106L.
19172         * math/auto-libm-test-in: Add more tests of acos.
19173         * math/auto-libm-test-out: Regenerated.
19175         [BZ #16351]
19176         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
19177         (MO): New macro.
19178         (__ieee754_asin): Force underflow exception for results with small
19179         absolute value.
19180         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
19181         (MO): New macro.
19182         (__ieee754_asinf): Force underflow exception for results with
19183         small absolute value.
19184         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
19185         (__ieee754_asin): Force underflow exception for results with small
19186         absolute value.
19187         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
19188         (__ieee754_asinf): Force underflow exception for results with
19189         small absolute value.
19190         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
19191         (__ieee754_asinl): Force underflow exception for results with
19192         small absolute value.
19193         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
19194         (__ieee754_asinl): Force underflow exception for results with
19195         small absolute value.
19196         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
19197         (__ieee754_asinl): Force underflow exception for results with
19198         small absolute value.
19199         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
19200         Include <math.h>.
19201         * math/auto-libm-test-in: Do not mark underflow exceptions as
19202         possibly missing for bug 16351.
19203         * math/auto-libm-test-out: Regenerated.
19205         [BZ #18030]
19206         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
19207         of power of 2 down when low part has opposite sign.
19208         * math/libm-test.inc (logb_test_data): Add more tests.
19210 2015-02-26  Andreas Schwab  <schwab@suse.de>
19212         [BZ #18032]
19213         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
19214         over collating symbol inside a bracket expression.  Minor cleanup.
19215         * posix/tst-fnmatch3.c (do_test): Add test case.
19217 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
19219         [BZ #18029]
19220         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
19221         Adjust exponent of power of 2 down when low part has opposite
19222         sign.
19223         * math/libm-test.inc (ilogb_test_data): Add more tests.
19225 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
19227         [BZ #15969]
19228         * locale/findlocale.c (_nl_find_locale): Fix constness error in
19229         the previous change.
19231         [BZ #15969]
19232         * locale/findlocale.c (_nl_find_locale): Retry archive search
19233         after alias expansion.
19235 2015-02-25  Roland McGrath  <roland@hack.frob.com>
19237         * iconv/tst-iconv3.c (main): Converted to ...
19238         (do_test): ... this.
19239         (TEST_FUNCTION): New macro.
19240         Include test-skeleton.c.
19242         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
19243         (convert): Make function static.
19244         (test_unalign): Likewise.  Add const to argument pointee types.
19245         (main): Replace with static function do_test.
19246         Print "Succeeded." only if RET is zero.
19247         (TEST_FUNCTION): New macro.
19248         Include test-skeleton.c.
19250         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
19251         returns a null pointer.
19253 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19255         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
19256         to __memcpy_ppc only for static builds.
19258 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
19260         [BZ #18020]
19261         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
19262         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
19263         * math/auto-libm-test-in: Add more tests of asinh.
19264         * math/auto-libm-test-out: Regenerated.
19265         * sysdeps/i386/fpu/libm-test-ulps: Update.
19266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19268 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
19270         [BZ #15850]
19271         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
19272         and ip6_mtuinfo definitions here.
19273         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
19274         in this define too.  Update comment.
19276 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
19278         * elf/sprof.c (load_shobj): Tweak error message to match others.
19280 2015-02-24  Kevin Easton  <kevin@guarana.org>
19282         [BZ #16145] (partial fix)
19283         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
19284         to reduce lock contention.
19286 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
19288         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
19289         (struct timex): Update time comment.
19290         (ADJ_SETOFFSET): Define.
19292 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
19294         [BZ #18019]
19295         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19296         2**56 not 2**28 as threshold for log (2x) formula.
19297         * math/auto-libm-test-in: Add more tests of acosh.
19298         * math/auto-libm-test-out: Regenerated.
19299         * sysdeps/i386/fpu/libm-test-ulps: Update.
19300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19302 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
19304         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
19305         parenthesis around the buf assignment.
19306         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
19308 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
19310         [BZ #16783]
19311         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
19312         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
19313         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
19314         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19315         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19316         * math/libm-test.inc (scalb_test_data): Add more tests.
19318 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19320         [BZ #17916]
19321         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
19322         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
19324 2015-02-24  Eric Rannaud  <e@nanocritical.com>
19326         [BZ #17523]
19327         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
19328         * io/bits/fcntl2.h (open): Use it.
19329         (openat): Likewise.
19330         * io/open.c (__libc_open): Likewise.
19331         * io/open64.c (__libc_open64): Likewise.
19332         * io/open64_2.c (__open64_2): Likewise.
19333         * io/open_2.c (__open_2): Likewise.
19334         * io/openat.c (__openat): Likewise.
19335         * io/openat64.c (__openat64): Likewise.
19336         * io/openat64_2.c (__openat64_2): Likewise.
19337         * io/openat_2.c (__openat_2): Likewise.
19338         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
19339         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
19340         * sysdeps/posix/open64.c (__libc_open64): Likewise.
19341         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
19342         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
19343         (__open_nocancel): Likewise.
19344         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
19345         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
19346         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
19348 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19350         [BZ #14841]
19351         * resolv/gethnamaddr.c (getanswer): Skip logging if
19352         RES_USE_DNSSEC is set.
19353         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19355 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
19357         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
19359 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
19361         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
19362         201304L, for Unicode 7.
19364 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
19366         [BZ #17836]
19367         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
19368         shared library.  Add gmon-start.os otherwise.
19369         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
19370         $(objpfx)gmon-start.os if builing shared library.
19371         ($(objpfx)g$(static-start-installed-name)): Likewise.
19373 2015-02-23  Andreas Schwab  <schwab@suse.de>
19375         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
19377 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
19379         [BZ #17269]
19380         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
19381         (enlarge_userbuf): Likewise.
19383 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
19385         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
19386         * math/atest-exp.c (TIMEOUT): Adjust to 200.
19387         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
19388         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
19390 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
19392         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
19393         expression inside statement expression.
19395 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
19397         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
19398         <sysdeps/nptl/lowlevellock.h> and remove macros and
19399         functions that are now defined there.
19400         (SYS_futex): Remove.
19401         (lll_compare_and_swap): Remove.
19402         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
19404 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
19406         [BZ #17999]
19407         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
19408         instead of scandirat.
19409         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
19410         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
19411         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
19412         __scandirat.
19413         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
19414         (__scandirat): Declare.  Use libc_hidden_proto.
19415         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
19416         Remove variable.
19417         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
19419 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
19421         [BZ #15319]
19422         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
19423         (MO): New macro.
19424         (__ieee754_atan2): For results with small absolute value, force
19425         underflow exception and remove excess range and precision from
19426         return value.
19427         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
19428         (MO): New macro.
19429         (__ieee754_atan2f): For results with small absolute value, force
19430         underflow exception and remove excess range and precision from
19431         return value.
19432         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
19433         (MO): New macro.
19434         (__atan): For results with small absolute value, force underflow
19435         exception and remove excess range and precision from return value.
19436         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
19437         (MO): New macro.
19438         (__atanf): For results with small absolute value, force underflow
19439         exception and remove excess range and precision from return value.
19440         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
19441         <math.h>.
19442         (__ieee754_atan2): Force underflow exception for results with
19443         small absolute value.
19444         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
19445         <math_private.h>.
19446         (atan): Force underflow exception for results with small absolute
19447         value.
19448         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
19449         (__atanf): Force underflow exception for results with small
19450         absolute value.
19451         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
19452         <math.h>.
19453         (__atanl): Force underflow exception for results with small
19454         absolute value.
19455         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
19456         (__atanl): Force underflow exception for results with small
19457         absolute value.
19458         * sysdeps/x86/fpu/bits/mathinline.h
19459         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
19460         (__ieee754_atan2): Only define inline for long double.
19461         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
19462         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
19463         * math/auto-libm-test-in: Do not mark underflow exceptions as
19464         possibly missing for bug 15319.  Add more tests of atan2.
19465         * math/auto-libm-test-out: Regenerated.
19466         * math/libm-test.inc (casin_test_data): Do not mark underflow
19467         exceptions as possibly missing for bug 15319.
19468         (casinh_test_data): Likewise.
19469         * sysdeps/i386/fpu/libm-test-ulps: Update.
19471 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
19473         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
19474         * sysdeps/mips/bits/endian.h: Fix comments.
19476 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
19478         [BZ #17996]
19479         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
19480         (hdestroy_r): Likewise.
19481         (hsearch_r): Likewise.
19482         (__hcreate_r): Declare and use libc_hidden_proto.
19483         (__hdestroy_r): Likewise.
19484         (__hsearch_r): Likewise.
19485         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
19486         (hcreate): Call __hcreate_r instead of hcreate_r.
19487         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
19488         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
19489         as weak alias of __hcreate_r.
19490         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
19491         __hdestroy_r.
19492         (hsearch_r): Rename to __hsearch_r and define as weak alias of
19493         __hsearch_r.
19494         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
19495         Remove variable.
19496         (test-xfail-XPG4/search.h/linknamespace): Likewise.
19497         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
19498         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
19499         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
19501 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19503         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
19504         arena_lock into a single arena_get.
19506 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
19508         * dl-reloc.c: Inlucde libc-internal.h.
19509         (_dl_try_allocate_static_tls): Call ALIGN_UP.
19510         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
19511         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
19512         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
19513         (grow_heap): Likewise.
19514         * malloc/malloc.c: Include libc-internal.h.
19515         (do_check_malloc): Call powerof2.
19516         (sysmalloc): Use pagesize. Call ALIGN_UP.
19517         (systrim): Use pagesize.
19518         (mremap_chunk): Use pagesize. Call ALIGN_UP.
19519         (__libc_valloc): Use pagesize.
19520         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
19522 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
19524         [BZ #17991]
19525         * include/sys/resource.h (__getrlimit64): Declare.  Use
19526         libc_hidden_proto.
19527         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
19528         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
19529         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
19530         getrlimit64.
19531         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
19532         __getrlimit64.
19533         [!getrlimit64] (getrlimit64): Define as weak alias of
19534         __getrlimit64.  Use libc_hidden_weak.
19535         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
19536         using __getrlimit64 not __new_getrlimit64.
19537         (__GI_getrlimit64): Likewise.
19538         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
19539         Likewise.
19540         (__GI_getrlimit64): Likewise.
19541         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
19542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
19543         (getrlimit): Add __getrlimit64 alias.
19544         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
19545         Likewise.
19546         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
19547         Remove variable.
19548         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
19549         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
19551 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
19553         * libio/fileops.c: Add missing sys/mman.h
19554         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
19556 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
19558         * manual/math.texi (Errors in Math Functions): Clarify goals
19559         regarding inexact and underflow exceptions.
19561 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
19563         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
19564         * sysdeps/mips/memset.S: Ditto.
19566 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
19568         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
19570 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19572         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
19573         (__v1longjmp): Remove versioned symbol.
19574         (__v1siglongjmp): Remove alias and versioned symbol.
19575         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
19576         (__v2siglongjmp): Likewise.
19578 2015-02-16  Torvald Riegel  <triegel@redhat.com>
19580         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
19582 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
19584         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
19586 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
19588         [BZ #17987]
19589         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
19590         zero result does not depend on the sign resulting from
19591         subtraction.
19592         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19593         Likewise.
19594         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
19595         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
19596         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19597         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
19598         * math/libm-test.inc (remquo_test_data): Add more tests.
19600 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
19602         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
19603         Problem reported by J William Piggott.
19605 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
19607         [BZ #17978]
19608         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
19609         products 4 * y and 2 * y where those would overflow.
19610         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19611         Likewise.
19612         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
19613         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
19614         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19615         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
19616         * math/libm-test.inc (remquo_test_data): Add more tests.
19618         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
19620         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
19621         [defined _COMPILING_NEWLIB].
19622         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
19623         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
19625         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
19626         [!defined __mips_isa_rev || __mips_isa_rev < 6].
19628 2015-02-16  Torvald Riegel  <triegel@redhat.com>
19630         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
19631         acquired.
19633 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
19635         [BZ #17792]
19636         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
19637         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
19638         HOST_STACK_END_ADDR): Likewise.
19640 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
19642         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
19643         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
19644         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
19646 2015-02-13  Roland McGrath  <roland@hack.frob.com>
19648         * sysdeps/generic/c++-types.data: New file.
19649         * sysdeps/generic/ld.abilist: New file.
19650         * sysdeps/generic/libBrokenLocale.abilist: New file.
19651         * sysdeps/generic/libanl.abilist: New file.
19652         * sysdeps/generic/libc.abilist: New file.
19653         * sysdeps/generic/libcrypt.abilist: New file.
19654         * sysdeps/generic/libdl.abilist: New file.
19655         * sysdeps/generic/libm.abilist: New file.
19656         * sysdeps/generic/libpthread.abilist: New file.
19657         * sysdeps/generic/libresolv.abilist: New file.
19658         * sysdeps/generic/librt.abilist: New file.
19660 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
19662         [BZ #17569]
19663         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19664         Compute absolute value of x as modified by fmod, not original
19665         value of x.
19666         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
19667         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
19668         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
19669         RUN_TEST_ffI_f1_mod8.
19670         (remquo_test_data): Add more tests.
19672 2015-02-13  Roland McGrath  <roland@hack.frob.com>
19674         * sysdeps/init_array/pt-crti.S: New file.
19676 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
19678         [BZ #17967]
19679         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
19680         __builtin_fmaf instead of relying on contraction of a * b + c.
19682 2015-02-12  J William Piggott  <elseifthen@gmx.com>
19684         [BZ #17969]
19685         * manual/time.texi: correct the zoneinfo path in the TZ Variable
19686         node.
19688 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
19690         [BZ #17964]
19691         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
19692         __builtin_fma instead of relying on contraction of a * b + c.
19694 2015-02-12  Roland McGrath  <roland@hack.frob.com>
19696         * Makeconfig (ASFLAGS): Add -Werror=undef.
19697         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
19698         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
19699         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
19701         * Makeconfig (after-link): New variable.
19702         (+link-pie, +link-pie-tests): Use it.
19703         (+link-static, +link-static-tests): Likewise.
19704         (+link, +link-tests): Likewise.
19705         * Makerules (build-module, build-module-asneeded): Likewise.
19706         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
19707         Likewise.
19708         * elf/Makefile ($(objpfx)ld.so): Likewise.
19710 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
19712         [BZ #17965]
19713         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
19714         both struct timeval and struct timespec.
19716 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
19718         [BZ #16560]
19719         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19720         and redefine.
19721         (__ieee754_exp2l): Do not multiply small fractional parts by
19722         M_LN2l.
19723         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
19724         small argument.
19725         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19726         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19727         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
19728         * math/auto-libm-test-in: Add more tests of exp2.
19729         * math/auto-libm-test-out: Regenerated.
19731 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19733         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
19734         unaligned path.
19736 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19738         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
19739         little endian.
19741 2015-02-12  Andreas Schwab  <schwab@suse.de>
19743         [BZ #15790]
19744         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
19745         Filter out elision flags from value returned in kind.
19746         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
19747         * nptl/tst-pthread-mutexattr.c: New file.
19749 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19751         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
19752         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
19753         into gnu-gnu, and update comment to refer to abi-tags.
19755 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
19757         [BZ #15467]
19758         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
19759         (__sincos): Set errno to EDOM for infinite argument.
19760         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
19761         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
19762         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
19763         (__sincosl): Set errno to EDOM for infinite argument.
19764         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
19765         (__sincosl): Set errno to EDOM for infinite argument.
19766         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
19767         (__sincosl): Set errno to EDOM for infinite argument.
19768         * math/libm-test.inc (sincos_test_data): Test errno setting.
19770 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
19772         * string/strxfrm_l.c: Remove #define STRCMP.
19773         * string/strcoll_l.c: Remove #define STRLEN.
19774         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
19775         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
19777 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
19779         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
19780         * sysdeps/mips/mips32/sfp-machine.h: ... here.
19781         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
19782         * sysdeps/mips/mips64/Makefile: ... here.
19783         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
19784         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
19785         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
19786         * sysdeps/mips/mips64/sfp-machine.h: ... here.
19787         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
19788         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
19789         * sysdeps/mips/mips64/n64/Implies: Likewise.
19791 2015-02-10  Roland McGrath  <roland@hack.frob.com>
19793         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
19794         <sys/time.h>, <string.h>, and <errno.h>.
19795         (dest_offset, dest_address, value, zero): Remove unused variables.
19796         (ldouble): Remove typedef.
19797         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
19798         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
19799         1).  Fix code style.
19800         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
19801         (check): Function removed.
19802         (CHECK): New macro.
19803         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
19804         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
19805         Don't call set_sigaction_FP and remove_sigaction_FP here.
19806         (ldouble_test): Just use 'long double' as macro argument, no need for
19807         the 'ldouble' typedef.
19808         (do_test): Set up SIGFPE handler at start, using plain signal rather
19809         than sigaction.  Fix code style.
19811 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
19813         [BZ #17949]
19814         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
19815         jump label.
19817 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19819         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
19820         * sysdeps/powerpc/powerpc32/configure: Regenerated.
19822         * sysdeps/powerpc/configure.ac: Remove file.
19823         * sysdeps/powerpc/configure: Likewise.
19825         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19826         [sysdep_routines]: Remove wordcopy-power6 object.
19827         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
19828         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
19829         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
19830         (__memmove_ppc32): Likewise.
19831         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
19832         file.
19833         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
19834         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
19835         Remove preprocessor.
19837         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19838         [sysdep_routines]: Remove wide chars objects.
19839         [wcsmbs]: New rule for wide char objects.
19841         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19842         Remove wordcopy-power6 obejct.
19843         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
19844         Use local call for wordcopy and memcpy symbols.
19845         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
19846         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
19847         implementation for loader.
19848         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
19850         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19851         Remove wordcopy-power7 object.
19852         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
19853         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
19854         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
19855         (_wordcopy_fwd_dest_aligned): Likewise.
19856         (_wordcopy_bwd_aligned): Likewise.
19857         (_wordcopy_bwd_dest_aligned): Likewise.
19859         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
19860         Rewrite to call __memmove_ppc instead of include default
19861         implementation.
19863         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19864         Remove wide chars objects.
19865         [wcsmbs]: New rule for wide char objects.
19867 2015-02-09  Andreas Schwab  <schwab@suse.de>
19869         [BZ #17912]
19870         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19871         in terms of __O_DIRECTORY.
19873 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19875         * time/getdate.c: Include <stdbool.h>.
19876         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
19877         call PTR_MANGLE.
19878         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
19879         PTR_DEMANGLE.
19881 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
19883         Add ersatz _Static_assert on older C hosts
19884         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
19885         pre-C11 C platform that is not known to support _Static_assert.
19887 2015-02-07  Richard Braun  <rbraun@sceen.net>
19889         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
19890         sigstate.
19891         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
19893 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19895         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
19896         priority against unexistent AIO_PRIO_DELTA_MAX.
19897         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
19898         instead of int.
19899         * misc/fchflags.c (fchflags): Likewise.
19900         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
19901         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
19902         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
19903         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
19904         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
19905         Declare macros.
19906         [__USE_MISC] (chflags, fchflags): Declare functions.
19907         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
19908         EINVAL when nfds is greater than FD_SETSIZE.
19909         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
19910         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
19911         45.
19912         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
19913         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
19914         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
19915         MACH_RCV_TIMED_OUT.
19916         * hurd/hurd/signal.h (_hurd_self_sigstate,
19917         _hurd_critical_section_lock, _hurd_critical_section_unlock):
19918         Explicit casts from void *.
19919         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
19920         * abi-tags: Rename gnu-gnu os into gnu.
19922         [BZ #4719]
19923         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
19924         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
19925         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
19926         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
19927         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
19928         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
19930         [BZ #17944]
19931         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
19932         duplicates ADDR->sun_path with sockaddr LEN limitation.
19933         * sysdeps/mach/hurd/connect.c: Include <string.h>
19934         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
19935         * sysdeps/mach/hurd/sendmsg.c: Likewise.
19936         * sysdeps/mach/hurd/sendto.c: Likewise.
19937         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
19938         implementing it by hand.
19940 2015-02-06  Roland McGrath  <roland@hack.frob.com>
19942         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
19943         Use sfi_breg on ldr.
19944         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
19945         Likewise.
19947         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
19948         it's defined.
19949         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
19950         Test SIGSETXID only if it's defined.
19952         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
19954         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
19955         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
19957         * nptl/tst-align2.c: Moved ...
19958         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
19959         * nptl/Makefile (tests): Remove tst-align2.
19960         * sysdeps/unix/sysv/linux/Makefile
19961         [$(subdir) = nptl] (tests): Add tst-align-clone.
19962         * nptl/tst-getpid1.c: Moved ...
19963         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
19964         * nptl/tst-getpid2.c: Moved ...
19965         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
19966         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
19967         * sysdeps/unix/sysv/linux/Makefile
19968         [$(subdir) = nptl] (tests): ... here.
19969         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
19970         * sysdeps/unix/sysv/linux/Makefile
19971         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
19973         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
19974         Drop trailing \n from perror argument.  Use return rather than exit.
19976         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
19977         on [SA_SIGINFO].
19978         * nptl/tst-cancel21.c (do_test): Likewise.
19979         * debug/tst-backtrace6.c: Include <signal.h> first thing.
19980         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
19981         [!SA_SIGINFO]: Make it a stub test.
19983         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
19984         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
19986         * posix/tst-getlogin.c: Move to ...
19987         * login/tst-getlogin.c: ... here.
19988         * posix/Makefile (tests): Move tst-getlogin to ...
19989         * login/Makefile (tests): ... here.
19991         * libio/tst-atime.c (do_test): Move local variables SV and E
19992         inside [ST_NOATIME] conditional.
19994         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
19996         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
19998         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
19999         (wait_code): New function replaces macro.
20000         Call nanosleep rather than syscall.
20002         * nptl/pt-system.c: Rewritten.  Put everything under
20003         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20004         Use IFUNC to redirect when possible.
20006         * nptl/pt-longjmp.c: Rewritten.  Put everything under
20007         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20008         Use IFUNC to redirect when possible.
20010         * nptl/pt-fork.c: Rewritten.  Put everything under
20011         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20012         Use IFUNC to redirect when possible.
20013         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
20015         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
20016         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
20017         unconditionally nowadays.  This included the only reference to
20018         __vdso_clock_gettime that appears outside libc proper.
20019         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
20020         Remove version set (containing only __vdso_clock_gettime).
20021         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
20022         Add attribute_hidden.
20023         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
20024         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
20025         libc_hidden_data_def.
20026         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20027         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20029         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
20030         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
20031         setrpcent, and getrpcport to ...
20032         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
20033         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
20034         getrpcbynumber_r, and getrpcent_r to ...
20035         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
20036         * inet/getrpcbyname.c: Moved ...
20037         * sunrpc/getrpcbyname.c: ... here.
20038         * inet/getrpcbyname_r.c: Moved ...
20039         * sunrpc/getrpcbyname_r.c: ... here.
20040         * inet/getrpcbynumber.c: Moved ...
20041         * sunrpc/getrpcbynumber.c: ... here.
20042         * inet/getrpcbynumber_r.c: Moved ...
20043         * sunrpc/getrpcbynumber_r.c: ... here.
20044         * inet/getrpcent.c: Moved ...
20045         * sunrpc/getrpcent.c: ... here.
20046         * inet/getrpcent_r.c: Moved ...
20047         * sunrpc/getrpcent_r.c: ... here.
20048         * inet/Makefile (routines): Move those to ...
20049         * sunrpc/Makefile (routines): ... here.
20050         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
20051         the $(subdirs) list.
20052         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
20053         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
20054         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
20055         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
20057         * elf/Makefile (routines): Include $(all-dl-routines), not just
20058         $(dl-routines).
20059         (rtld-routines): Likewise.  Use = rather than :=.
20060         * sysdeps/aarch64/Makefile [$(subdir) = elf]
20061         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
20062         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
20063         * sysdeps/arm/Makefile: Likewise.
20064         * sysdeps/i386/Makefile: Likewise.
20065         * sysdeps/x86_64/Makefile: Likewise.
20066         * sysdeps/hppa/Makefile [$(subdir) = elf]
20067         (sysdep_routines, sysdep-rtld-routines): Don't add
20068         $(sysdep-dl-routines) to these.
20069         * sysdeps/ia64/Makefile: Likewise.
20070         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
20071         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
20072         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
20073         Don't add dl-static to these; sysdep-dl-routines alone is enough.
20074         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
20075         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
20076         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
20077         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
20078         * sysdeps/powerpc/Makefile [$(subdir) = elf]
20079         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
20080         these; sysdep-dl-routines alone is enough.
20082 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
20084         [BZ #17932]
20085         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
20086         where multiplication results in zero and third argument is finite
20087         and nonzero.
20088         * math/auto-libm-test-in: Add more tests of fma.
20089         * math/auto-libm-test-out: Regenerated.
20091         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
20092         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
20093         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
20094         (_FP_CMP_EQ): Likewise.
20095         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
20097         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
20098         extra argument CHECK_NAN.  Redefine as wrapper around
20099         _FP_EXTEND_CNAN.
20101 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
20103         * version.h (RELEASE): Set to "stable".
20104         (VERSION): Set to "2.21"
20105         * include/features.h (__GLIBC_MINOR__): Set to 21.
20107         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
20109 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20110             Paul Eggert  <eggert@cs.ucla.edu>
20112         [BZ #16618]
20113         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
20114         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
20115         size in bytes. Store needed elements in wpmax. Use needed size
20116         in bytes for extend_alloca.
20118 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
20120         * manual/install.texi: Latest tested versions are GCC 4.9.2,
20121         binutls 2.25, and texinfo 5.2.
20122         * INSTALL: Regenerate.
20123         * sysdeps/nios2/configure: Regenerate.
20124         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
20125         * manual/contrib.texi: Update.
20126         * po/be.po: Update.
20127         * po/bg.po: Update.
20128         * po/ca.po: Update.
20129         * po/cs.po: Update.
20130         * po/da.po: Update.
20131         * po/de.po: Update.
20132         * po/el.po: Update.
20133         * po/eo.po: Update.
20134         * po/es.po: Update.
20135         * po/fi.po: Update.
20136         * po/fr.po: Update.
20137         * po/gl.po: Update.
20138         * po/hr.po: Update.
20139         * po/hu.po: Update.
20140         * po/ia.po: Update.
20141         * po/id.po: Update.
20142         * po/it.po: Update.
20143         * po/ja.po: Update.
20144         * po/ko.po: Update.
20145         * po/lt.po: Update.
20146         * po/nb.po: Update.
20147         * po/nl.po: Update.
20148         * po/pl.po: Update.
20149         * po/pt_BR.po: Update.
20150         * po/ru.po: Update.
20151         * po/rw.po: Update.
20152         * po/sk.po: Update.
20153         * po/sl.po: Update.
20154         * po/sv.po: Update.
20155         * po/tr.po: Update.
20156         * po/uk.po: Update.
20157         * po/vi.po: Update.
20158         * po/zh_CN.po: Update.
20159         * po/zh_TW.po: Update.
20161         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
20162         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
20163         * sysdeps/hppa/dl-irel.h: Remove #warning.
20164         * sysdeps/hppa/entry.h: Provide prototype for
20165         __canonicalize_funcptr_for_compare and cast argument.
20166         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
20167         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
20168         * sysdeps/hppa/sotruss-lib.c: New file.
20169         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
20170         (atomic_compare_and_exchange_val_acq): Use __typeof__.
20171         (atomic_compare_and_exchange_bool_acq): Likewise.
20172         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
20173         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
20175         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
20176         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
20177         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
20179 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
20181         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
20182         called function in non-PIC case.
20184 2015-01-31  David S. Miller  <davem@davemloft.net>
20186         * sysdeps/sparc/sparc32/bits/atomic.h
20187         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
20188         unlock not after it.
20189         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
20190         volatile register usage warnings from the compiler.
20192         * sysdeps/sparc/nptl/sem_init.c: Delete.
20193         * sysdeps/sparc/nptl/sem_post.c: Delete.
20194         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
20195         * sysdeps/sparc/nptl/sem_wait.c: Delete.
20196         * sysdeps/sparc/sparc32/sem_init.c: New file.
20197         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
20198         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
20199         padding explicitly initialized.
20200         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
20201         padding for in-semaphore spinlock.
20202         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
20203         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
20204         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
20205         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
20206         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
20207         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
20208         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
20209         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
20210         version.
20211         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
20212         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
20214 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
20216         [BZ #17801]
20217         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20218         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
20219         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
20220         New.
20221         (index_AVX_Fast_Unaligned_Load): Likewise.
20222         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
20223         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
20224         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
20225         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
20226         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
20227         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
20228         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
20229         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
20230         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
20232 2015-01-29  Andreas Schwab  <schwab@suse.de>
20234         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
20236 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
20238         [BZ #17892]
20239         * nscd/nscd_stat.c (send_stats): Initialize DATA.
20241 2015-01-28  Martin Sebor  <msebor@redhat.com>
20243         * math/README.libm-test: Clarify. Add "How to read the test output."
20245 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
20247         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
20248         Define to 0.
20250 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
20252         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
20253         (__HAVE_64B_ATOMICS): Define to 0.
20255 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20257         [BZ #17885]
20258         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
20259         value to set as new flag.
20261         [BZ #16576]
20262         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
20263         and use _ARCH_PPCSQ instead.
20264         (__ieee754_sqrt): Likewise.
20265         (__ieee754_sqrtf): Likewise.
20266         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
20267         _ARCH_PPCSQ is defined.
20268         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
20269         fsqrt instruction.
20270         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
20271         _ARCH_PPCSQ is defined.
20272         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
20273         fsqrts instruction.
20274         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
20276 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20278         * iconv/loop.c: Suppress array out of bound warning caused by GCC
20279         bug (GCC BZ #64739).
20281 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
20283         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
20284         Mark _retval as used.
20285         (lll_futex_wake_unlock): Likewise.
20286         (lll_futex_timed_wait_requeue_pi): Likewise.
20288         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
20289         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
20290         register variables.
20292         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
20293         libm_hidden_def.
20295         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
20296         (__bswap_64): Mark as __always_inline.
20298 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
20300         [BZ #15378]
20301         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
20302         when none of the search directories exist.
20304 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20306         [BZ #17869]
20307         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
20308         power8 in .machine directive.
20310         [BZ #17868]
20311         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
20312         set dependency from opd value.
20314 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
20316         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20317         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
20318         architecture.
20320 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
20322         [BZ #17870]
20323         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
20324         with uint64_t.
20325         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
20326         (uint64_t) 1.
20327         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
20328         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
20329         Replace 1UL with (uint64_t) 1.
20330         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
20331         int with uint64_t.
20333 2015-01-23  Roland McGrath  <roland@hack.frob.com>
20335         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
20336         (if_freenameindex): Likewise.
20338         * resource/getrlimit64.c: Add missing libc_hidden_def.
20340 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
20342         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
20343         __label__.
20344         (_FP_FMA): Likewise.
20345         (_FP_TO_INT_ROUND): Likewise.
20346         (_FP_FROM_INT): Likewise.
20348 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20350         [BZ #16418]
20351         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
20352         Make code racy and cancel safe.
20354 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
20356         * sysdeps/arm/unwind-resume.h: Fix copyright year.
20357         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
20358         attribution.
20360         * pwd/tst-getpw.c: Rewrite.
20362         [BZ #17702]
20363         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
20364         (modules-names): Add moddummy1 and moddummy2.
20365         ($(objpfx)tst-rec-dlopen): Define.
20366         * dlfcn/moddummy1.c: New file.
20367         * dlfcn/moddummy2.c: New file.
20368         * dlfcn/tst-rec-dlopen.c: New file.
20369         * elf/dl-cache.c (_dl_load_cache_lookup):
20370         Return char*. Copy result with alloca/strcpy/strdup.
20371         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
20372         returns char*. Free cached. If not saving realname
20373         free cached.
20374         * elf/dl-open.c (dl_open_worker): Do not assert that
20375         _r_debug->r_state is RT_CONSISTENT.
20376         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
20377         returns char*.
20379 2015-01-21  Torvald Riegel  <triegel@redhat.com>
20380             Carlos O'Donell  <carlos@redhat.com>
20382         [BZ #12674]
20383         * nptl/sem_waitcommon.c: New file.
20384         * nptl/sem_wait.c: Include sem_waitcommon.c.
20385         (__sem_wait_cleanup, do_futex_wait): Remove.
20386         (__new_sem_wait): Adapt.
20387         (__new_sem_trywait): New function.
20388         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
20389         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
20390         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
20391         (sem_timedwait): Adapt.
20392         * nptl/sem_post.c (__new_sem_post): Adapt.
20393         (futex_wake): New function.
20394         (__old_sem_post): Add release MO fence.
20395         * nptl/sem_open.c (sem_open): Adapt.
20396         * nptl/sem_init.c (__new_sem_init): Adapt.
20397         (futex_private_if_supported): New function.
20398         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
20399         (__old_sem_getvalue): Add using previous code.
20400         * sysdeps/nptl/internaltypes.h: Adapt.
20401         * nptl/tst-sem13.c (do_test): Adapt.
20402         * nptl/tst-sem11.c (main): Adapt.
20403         * nptl/sem_trywait.c: Remove.
20404         * nptl/DESIGN-sem.txt: Remove.
20405         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
20406         (gen-as-const-headers): Remove structsem.sym.
20407         * nptl/structsem.sym: Remove.
20408         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
20409         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
20410         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
20411         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
20412         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
20413         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
20414         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
20415         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
20416         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
20417         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
20418         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
20419         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
20420         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
20421         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
20422         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
20423         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
20424         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
20425         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
20426         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
20427         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
20428         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
20429         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
20431 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
20433         * INSTALL: Regenerated.
20435         * po/libc.pot: Regenerated.
20437 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
20438             Sandra Loosemore  <sandra@codesourcery.com>
20439             Andrew Jenner  <andrew@codesourcery.com>
20440             Joseph Myers  <joseph@codesourcery.com>
20441             Nathan Sidwell  <nathan@codesourcery.com>
20443         * NEWS: Mention new Nios II port.
20444         * sysdeps/nios2/Implies: New file.
20445         * sysdeps/nios2/Makefile: New file.
20446         * sysdeps/nios2/Subdirs: New file.
20447         * sysdeps/nios2/Versions: New file.
20448         * sysdeps/nios2/__longjmp.S: New file.
20449         * sysdeps/nios2/abort-instr.h: New file.
20450         * sysdeps/nios2/backtrace.c: New file.
20451         * sysdeps/nios2/bits/endian.h: New file.
20452         * sysdeps/nios2/bits/fenv.h: New file.
20453         * sysdeps/nios2/bits/link.h: New file.
20454         * sysdeps/nios2/bits/setjmp.h: New file.
20455         * sysdeps/nios2/bsd-_setjmp.S: New file.
20456         * sysdeps/nios2/bsd-setjmp.S: New file.
20457         * sysdeps/nios2/configure: New generated file.
20458         * sysdeps/nios2/configure.ac: New file.
20459         * sysdeps/nios2/crti.S: New file.
20460         * sysdeps/nios2/crtn.S: New file.
20461         * sysdeps/nios2/dl-init.c: New file.
20462         * sysdeps/nios2/dl-machine.h: New file.
20463         * sysdeps/nios2/dl-sysdep.h: New file.
20464         * sysdeps/nios2/dl-tls.h: New file.
20465         * sysdeps/nios2/dl-trampoline.S: New file.
20466         * sysdeps/nios2/gccframe.h: New file.
20467         * sysdeps/nios2/gmp-mparam.h: New file.
20468         * sysdeps/nios2/jmpbuf-offsets.h: New file.
20469         * sysdeps/nios2/jmpbuf-unwind.h: New file.
20470         * sysdeps/nios2/ldsodefs.h: New file.
20471         * sysdeps/nios2/libc-tls.c: New file.
20472         * sysdeps/nios2/libm-test-ulps: New file.
20473         * sysdeps/nios2/machine-gmon.h: New file.
20474         * sysdeps/nios2/math-tests.h: New file.
20475         * sysdeps/nios2/math_private.h: New file.
20476         * sysdeps/nios2/memusage.h: New file.
20477         * sysdeps/nios2/nptl/Makefile: New file.
20478         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
20479         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
20480         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
20481         * sysdeps/nios2/nptl/pthreaddef.h: New file.
20482         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
20483         * sysdeps/nios2/nptl/tls.h: New file.
20484         * sysdeps/nios2/preconfigure: New file.
20485         * sysdeps/nios2/s_fma.c: New file.
20486         * sysdeps/nios2/s_fmaf.c: New file.
20487         * sysdeps/nios2/setjmp.S: New file.
20488         * sysdeps/nios2/sfp-machine.h: New file.
20489         * sysdeps/nios2/sotruss-lib.c: New file.
20490         * sysdeps/nios2/stackguard-macros.h: New file.
20491         * sysdeps/nios2/stackinfo.h: New file.
20492         * sysdeps/nios2/start.S: New file.
20493         * sysdeps/nios2/sysdep.h: New file.
20494         * sysdeps/nios2/tls-macros.h: New file.
20495         * sysdeps/nios2/tst-audit.h: New file.
20496         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
20497         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
20498         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
20499         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
20500         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
20501         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
20502         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
20503         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
20504         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
20505         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
20506         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
20507         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
20508         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
20509         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
20510         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
20511         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
20512         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
20513         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
20514         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
20515         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
20516         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
20517         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
20518         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
20519         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
20520         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
20521         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
20522         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
20523         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
20524         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
20525         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
20526         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
20527         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
20528         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
20529         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
20530         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
20531         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
20532         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
20533         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
20534         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
20535         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
20536         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
20537         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
20538         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
20539         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
20541 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20543         [BZ #17844]
20544         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
20545         (getutent): Use weak_alias in non SHARED case
20546         and default_symbol_version in SHARED case.
20547         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
20548         (getutent_r, pututline): Likewise.
20549         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
20550         (getutid): Likewise.
20551         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
20552         (getutid_r): Likewise.
20553         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
20554         (getutline): Likewise.
20555         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
20556         (getutline_r): Likewise.
20557         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
20558         (updwtmp): Likewise.
20560 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20562         [BZ #17848]
20563         * sysdeps/s390/s390-32/memcmp.S
20564         (memcmp_g5): Rename to __memcmp_g5.
20565         * sysdeps/s390/s390-32/memcpy.S
20566         (memcpy_g5): Rename to __memcpy_g5.
20567         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20568         (memcpy_mvcle) Rename to __memcpy_mvcle.
20569         * sysdeps/s390/s390-32/memset.S
20570         (memset_g5): Rename to __memset_g5.
20571         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20572         (IFUNC_RESOLVE): Prefix ifunc-resolve function
20573         and use prefixed functions.
20574         * sysdeps/s390/s390-32/multiarch/memcmp.S
20575         (memcmp_z196): Rename to __memcmp_z196.
20576         (memcmp_z10): Rename to __memcmp_z10.
20577         (memcmp): Set alias to __memcmp_g5.
20578         (bcmp): Set alias to __memcmp_g5.
20579         * sysdeps/s390/s390-32/multiarch/memcpy.S
20580         (memcpy_z196): Rename to __memcpy_z196.
20581         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20582         (memcpy_z10): Rename to __memcpy_z10.
20583         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20584         (memcpy): Set alias to __memcpy_g5.
20585         * sysdeps/s390/s390-32/multiarch/memset.S
20586         (memset_z196): Rename to __memset_z196.
20587         Jump to __memset_mvcle instead of memset_mvcle.
20588         (memset_z10): Rename to __memset_z10.
20589         Jump to __memset_mvcle instead of memset_mvcle.
20590         (memset_mvcle) Rename to __memset_mvcle.
20591         (memset): Set alias to __memset_g5.
20592         * sysdeps/s390/s390-64/memcmp.S
20593         (memcmp_z900): Rename to __memcmp_z900.
20594         * sysdeps/s390/s390-64/memcpy.S
20595         (memcpy_z900): Rename to __memcpy_z900.
20596         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20597         (memcpy_mvcle) Rename to __memcpy_mvcle.
20598         * sysdeps/s390/s390-64/memset.S
20599         (memset_z900): Rename to __memset_z900.
20600         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
20601         (IFUNC_RESOLVE): Prefix ifunc-resolve function
20602         and use prefixed functions.
20603         * sysdeps/s390/s390-64/multiarch/memcmp.S
20604         (memcmp_z196): Rename to __memcmp_z196.
20605         (memcmp_z10): Rename to __memcmp_z10.
20606         (memcmp): Set alias to __memcmp_z900.
20607         (bcmp): Set alias to __memcmp_z900.
20608         * sysdeps/s390/s390-64/multiarch/memcpy.S
20609         (memcpy_z196): Rename to __memcpy_z196.
20610         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20611         (memcpy_z10): Rename to __memcpy_z10.
20612         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20613         (memcpy): Set alias to __memcpy_z900.
20614         * sysdeps/s390/s390-64/multiarch/memset.S
20615         (memset_z196): Rename to __memset_z196.
20616         Jump to __memset_mvcle instead of memset_mvcle.
20617         (memset_z10): Rename to __memset_z10.
20618         Jump to __memset_mvcle instead of memset_mvcle.
20619         (memset_mvcle) Rename to __memset_mvcle.
20620         (memset): Set alias to __memset_z900.
20622 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
20624         [BZ #17748]
20625         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
20626         __fesetenv instead of fesetenv.
20628 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20630         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
20631         macro.
20633 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20635         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
20636         regression on LE.
20638         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
20639         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
20640         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20641         strncmp-power8 object.
20642         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20643         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
20644         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
20645         * NEWS: Update.
20647 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20648             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20650         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
20651         trailing byte check.
20653 2015-01-13  David S. Miller  <davem@davemloft.net>
20655         * include/signal.h (__sigreturn): Guard with __USE_MISC.
20657 2015-01-13  Roland McGrath  <roland@hack.frob.com>
20659         * login/logout.c (logout): Use memset rather than bzero.
20660         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
20661         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
20662         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
20663         (_gethtbyaddr): Likewise.
20664         * locale/programs/simple-hash.c (bcopy): Macro removed.
20666 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20668         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20669         Add strcmp-power8 object.
20670         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20671         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
20672         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
20673         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
20674         __strcmp_power8 implementation.
20675         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
20676         * NEWS: Update.
20678         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20679         Add strncpy-power8 and stpncpy-power8 objects.
20680         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20681         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
20682         implementations.
20683         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
20684         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
20685         __stpncpy_power8 implementation.
20686         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
20687         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
20688         __strncpy_power8 implementation.
20689         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
20690         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
20691         * NEWS: Update.
20693         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
20694         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
20695         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
20697         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20698         strncat-power8 object.
20699         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
20700         __strcat_power8 implementation.
20701         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20702         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
20703         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
20704         optimized strcat for power8.
20706         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20707         strcpy-power8 and stpcpy-power8 objects.
20708         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20709         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
20710         implementations.
20711         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
20712         multiarch stpcpy implementation for POWER8.
20713         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
20714         multiarch strcpy implementation for POWER8.
20715         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
20716         __strcpy_power8 function.
20717         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
20718         stpcpy for POWER8.
20719         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
20720         strcpy for POWER8.
20721         * NEWS: Update.
20723 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
20725         [BZ #16009]
20726         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
20727         weights and rules. Use do_xfrm_cached if data fits in cache,
20728         do_xfrm otherwise.  Moved former main loop to...
20729         * (do_xfrm_cached): New function.
20730         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
20731         find_idx, find_position and stack_push.
20732         * (find_idx): New function.
20733         * (find_position): Likewise.
20734         * localedata/sort-test.sh: Added test run for do_xfrm.
20735         * localedata/xfrm-test.c (main): Added command line option
20736         -nocache to run the test with strings that are too large for
20737         the STRXFRM cache.
20739 2015-01-13  Torvald Riegel  <triegel@redhat.com>
20741         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
20742         variable to lll_futex_wake call, not the value itself.
20744 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
20746         [BZ #17803]
20747         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
20748         twom64.  Adjust value to 0x1p-64L.
20749         (__scalblnl): Only return standard underflowing result for K <=
20750         -64 not K <= -63; adjust exponent for underflowing result by 64
20751         not 63.
20752         * math/libm-test.inc (scalbn_test_data): Add more tests.
20753         (scalbln_test_data): Likewise.
20755         [BZ #17834]
20756         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
20757         0x1p63L.
20758         (__scalblnl): Get new exponent of adjusted subnormal value from ES
20759         not HX.
20760         * math/libm-test.inc (scalbn_test_data): Add more tests.
20761         (scalbln_test_data): Likewise.
20763 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20764             Stefani Seibold  <stefani@seibold.net>
20766         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
20767         (sysdep_routines): Add dl-vdso here, ...
20768         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
20769         (sysdep_routines): ... not here.
20770         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
20771         fallback when vDSO is not presented.
20772         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20773         Define with libc_hidden_proto/libc_hidden_data_def definitions.
20774         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
20775         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
20776         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
20777         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
20778         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
20779         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
20780         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
20781         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
20782         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
20783         fallback configurable symbol when vDSO is not available.
20784         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
20785         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
20786         be able to redefine fallback symbol when vDSO is not available.
20787         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
20788         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
20790 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20792         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
20793         (TLS_INIT_TP): Add tm_capable initialization.
20794         (TLS_DEFINE_INIT_TP): Likewise.
20795         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
20796         TCB.
20797         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
20798         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
20799         calculation.
20800         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
20801         transactoion is lock elision is built and TCB tm_capable is set.
20802         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
20803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20804         (INTERNAL_SYSCALL_NCS): Likewise.
20805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20806         (INTERNAL_SYSCALL_NCS): Likewise.
20807         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
20809         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
20810         for powerpc.
20811         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20812         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
20813         and remove it for 32 bits case.
20814         [pthread_rwlock_t] (__rwelision): New field for lock elision.
20815         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
20816         initialization.
20817         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
20818         Disable lock elision with rdlocks if elision is not available.
20820         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
20821         (sysdep_routines): Add lock elision objects.
20822         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20823         [pthread_mutex_t] (__spins): Rework to add lock elision field.
20824         [pthread_mutex_t] (__elision): Add field.
20825         [__PTHREAD_SPINS]: Adjust to init lock elision field.
20826         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
20827         elision definitions for powerpc.
20828         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
20829         implementation of lock elision for powerpc.
20830         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
20831         implementation of timed lock elision for powerpc.
20832         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
20833         implementation of trylock with lock elision for powerpc.
20834         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
20835         implementaion of unlock for lock elision for powerpc.
20836         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
20837         automatic enable lock elision for mutexes.
20838         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
20839         transaction execution definitions for powerpc.
20840         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
20841         definitions.
20842         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
20843         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
20844         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
20845         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
20846         * NEWS: Update.
20848 2015-01-09  Roland McGrath  <roland@hack.frob.com>
20850         * sysdeps/posix/shm-directory.c: Use <> rather than ""
20851         for #include of <shm-directory.h>.
20853 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
20855         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
20856         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
20858 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
20860         [BZ #17791]
20861         * NEWS: Mention bug fix.
20862         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
20863         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
20864         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
20866 2015-01-09  Torvald Riegel <triegel@redhat.com>
20868         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
20870 2015-01-09  Torvald Riegel <triegel@redhat.com>
20872         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
20874 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20876         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
20877         pointer and cast to uintptr_t.
20879 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20881         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
20882         removed.
20883         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
20885 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20887         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
20888         of 0.
20890 2015-01-08  Roland McGrath  <roland@hack.frob.com>
20892         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
20893         <nptl/pthreadP.h> instead.
20894         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
20896         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
20897         already defined.
20898         [__SIGRTMIN] (init): Function removed.
20899         [__SIGRTMIN] (initialized): Variable removed.
20900         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
20901         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
20902         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
20903         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
20904         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
20905         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
20906         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
20907         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
20908         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
20909         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
20910         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
20911         * sysdeps/nptl/allocrtsig.c: New file.
20912         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
20913         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
20914         * sysdeps/generic/testrtsig.h: File removed.
20916         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
20917         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
20919         * nptl/nptl-init.c (pthread_functions): Conditionalize
20920         .ptr__nptl_setxid initialization on [SIGSETXID].
20922         * sysdeps/nptl/sys/procfs.h: New file.
20923         * nptl_db/Makefile (headers): Add it.
20924         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
20926         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
20927         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
20928         * nptl/pthread_attr_setaffinity.c: Include it.
20929         * nptl/pthread_setattr_default_np.c: Likewise.
20930         * nptl/check-cpuset.h: New file.
20932 2015-01-08  Richard Henderson  <rth@redhat.com>
20934         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
20935         (CFLAGS-tst-execstack-prog.c): Likewise.
20936         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
20938 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
20939             Sandra Loosemore  <sandra@codesourcery.com>
20940             Andrew Jenner  <andrew@codesourcery.com>
20941             Joseph Myers  <joseph@codesourcery.com>
20942             Nathan Sidwell  <nathan@codesourcery.com>
20944         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
20945         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
20946         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
20947         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
20948         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
20949         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
20950         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
20951         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
20952         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
20953         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
20954         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
20955         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
20956         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
20957         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
20958         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
20959         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
20960         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
20962 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20964         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
20965         timespec struct member in syscall macro.
20966         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
20967         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
20968         first timeval struct member in syscall macro.
20969         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
20971 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
20973         [BZ #17748]
20974         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
20975         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
20976         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
20977         __feupdateenv and define as weak alias of __feupdateenv.  Use
20978         libm_hidden_weak.
20979         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
20980         libm_hidden_def.
20981         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
20982         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
20983         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
20984         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
20985         libm_hidden_def.
20986         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
20987         __feupdateenv and define as weak alias of __feupdateenv.  Use
20988         libm_hidden_weak.
20989         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
20990         libm_hidden_def.
20991         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
20992         __feupdateenv and define as weak alias of __feupdateenv.  Use
20993         libm_hidden_weak.
20994         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
20995         libm_hidden_def.
20996         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20997         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
20998         (__feupdateenv): Likewise.
20999         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
21000         __feupdateenv and define as weak alias of __feupdateenv.  Use
21001         libm_hidden_weak.
21002         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21003         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
21004         libm_hidden_def.
21005         * sysdeps/tile/math_private.h (__feupdateenv): New inline
21006         function.
21007         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
21008         libm_hidden_def.
21009         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
21010         __feupdateenv instead of feupdateenv.
21011         (default_libc_feupdateenv_test): Likewise.
21012         (libc_feresetround_ctx): Likewise.
21014 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21016         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
21017         prototype.
21019 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
21021         * posix/regcomp.c (parse_bracket_exp): Initialize type to
21022         COLL_SYM in a couple of places to avoid uninitialized variable
21023         wanings on tilegx gcc 4.8.2.
21025 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
21027         * sysdeps/aarch64/strcpy.S: New file.
21028         * sysdeps/aarch64/stpcpy.S: New file.
21029         * NEWS: Updated.
21031 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
21033         * sysdeps/aarch64/strrchr.S: New file.
21034         * NEWS: Updated.
21036 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
21038         [BZ #17658]
21039         * stdlib/setenv.c: Fix memory leak when setting large,
21040         duplicate string.
21042 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
21044         [BZ #17273]
21045         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
21046         and tabs from buffer before parsing fstab entry.
21047         * misc/tst-mntent.c (main): Add test for mount entry with
21048         trailing spaces and tabs.
21050 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
21052         [BZ #17748]
21053         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
21054         * math/fesetround.c (fesetround): Rename to __fesetround and
21055         define as weak alias of __fesetround.  Use libm_hidden_weak.
21056         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
21057         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
21058         * sysdeps/arm/fesetround.c (fesetround): Likewise.
21059         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
21060         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
21061         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
21062         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
21063         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
21064         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
21065         __fesetround_inline.
21066         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
21067         __fesetround_inline instead of __fesetround.
21068         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
21069         __fesetround and define as weak alias of __fesetround.  Use
21070         libm_hidden_weak.  Call __fesetround_inline instead of
21071         __fesetround.
21072         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
21073         __fesetround and define as weak alias of __fesetround.  Use
21074         libm_hidden_weak.
21075         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
21076         Likewise.
21077         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
21078         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21079         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
21080         * sysdeps/tile/math_private.h (__fesetround): New inline function.
21081         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
21082         __fesetround and define as weak alias of __fesetround.  Use
21083         libm_hidden_weak.
21084         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
21085         __fesetround instead of fesetround.
21086         (default_libc_feholdexcept_setround): Likewise.
21087         (libc_feholdsetround_ctx): Likewise.
21088         (libc_feholdsetround_noex_ctx): Likewise.
21090         [BZ #17748]
21091         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
21092         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
21093         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
21094         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
21095         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21096         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
21097         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21098         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
21099         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21100         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21101         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21102         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21103         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21104         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21105         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
21106         libm_hidden_def.
21107         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
21108         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
21109         Likewise.
21110         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21111         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21112         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21113         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21114         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
21115         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
21116         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
21117         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
21118         __fesetenv instead of fesetenv.
21119         (libc_feresetround_noex_ctx): Likewise.
21120         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
21121         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
21122         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
21123         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
21124         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
21125         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
21126         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21127         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
21128         (__feupdateenv): Likewise.
21129         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21130         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21131         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21132         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
21134 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
21136         [BZ #17806]
21137         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
21138         addresses have been freed.
21140 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
21142         * resolv/res_init.c (__res_vinit): Improve comments about nserv
21143         and nservall.
21145 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
21147         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
21148         Clean up check_pf allocation pattern. addresses
21150 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21152         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
21153         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
21154         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
21155         * nptl/pthread_exit.c (__pthread_exit): Likewise.
21156         * nptl/pthread_join.c (pthread_join): Likewise.
21157         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
21158         * sysdeps/posix/waitid.c (__waitid): Likewise.
21159         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
21160         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
21161         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
21162         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
21163         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
21164         Likewise.
21165         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
21166         (__libc_pread64): Likewise.
21167         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
21168         (__libc_pwrite): Likewise.
21169         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
21170         (__libc_pwrite64): Likewsie.
21171         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
21172         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
21173         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
21174         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
21175         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
21176         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
21177         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
21178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
21179         Likewise.
21180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21181         (__libc_pread64): Likewise.
21182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
21183         Likewise.
21184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21185         (__libc_pwrite64): Likewise.
21186         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
21187         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
21188         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
21189         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
21190         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
21191         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
21192         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
21193         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
21194         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
21195         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
21196         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
21197         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
21198         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
21199         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
21200         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21201         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
21202         Likewise.
21204 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
21206         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
21207         (CFLAGS-test-double.c): Likewise.
21208         (CFLAGS-test-ldouble.c): Likewise.
21209         (CPPFLAGS-test-ifloat.c): Likewise.
21210         (CPPFLAGS-test-idouble.c): Likewise.
21211         (CPPFLAGS-test-ildoubl.c): Likewise.
21212         (CFLAGS-test-test-fenv.c): Remove variable.
21213         (CFLAGS-test-misc.c): Likewise.
21215 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
21217         [BZ #17797]
21218         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
21219         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
21220         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
21221         CLOCKS_PER_SEC == 1000000.
21222         * time/clocktest.c (main): Replace %ld with %jd and cast to
21223         intmax_t.
21225 2015-01-05  Roland McGrath  <roland@hack.frob.com>
21227         * sysdeps/generic/unwind-resume.h: New file.
21228         * sysdeps/gnu/unwind-resume.c: Include it.
21229         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
21230         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
21231         argument list.
21232         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
21233         global rather than static.
21234         (_Unwind_Resume): Update user.
21235         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
21236         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
21237         rather than static.  Add __attribute__ ((cold)).
21238         (_Unwind_Resume, __gcc_personality_v0): Update callers.
21239         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
21240         * sysdeps/arm/arm-unwind-resume.S: New file.
21241         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
21242         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
21243         * sysdeps/arm/Makefile [$(subdir) = csu]
21244         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
21245         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21246         Add rt-arm-unwind-resume.
21247         [$(subdir) = nptl]
21248         (libpthread-sysdep_routines, libpthread-shared-only-routines):
21249         Add pt-arm-unwind-resume.
21250         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
21251         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
21253 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21255         [BZ #17748]
21256         * include/fenv.h (__feholdexcept): Declare.  Use
21257         libm_hidden_proto.
21258         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
21259         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
21260         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21261         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
21262         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
21263         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
21264         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
21265         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21266         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
21267         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
21268         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21269         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
21270         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
21271         (feholdexcept): Likewise.
21272         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21273         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21274         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21275         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21276         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
21277         __feholdexcept instead of feholdexcept.
21278         (default_libc_feholdexcept_setround): Likewise.
21280 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21282         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
21283         to avoid using stl/str to align destination.
21285 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21287         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
21289 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21291         [BZ #17796]
21292         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
21293         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
21294         Define as weak alias not strong alias.
21296 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21298         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
21299         bltzal with addiupc.
21300         (RTLD_START): Ditto.
21302 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
21304         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
21305         for __vdso_* functions in declarations.
21306         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
21307         definitions.
21308         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
21309         INTERNAL_VSYSCALL): Use struct return types to check for error.
21311         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
21312         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
21313         function with cast from llround().
21314         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
21315         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
21316         Define.
21318 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21320         [BZ #17793]
21321         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
21322         Define as weak alias not strong alias.
21324         [BZ #17635]
21325         * ctype/ctype-c99.c: New file.  isblank implementation moved from
21326         ...
21327         * ctype/ctype-extn.c: ... here.
21328         (__isblank_l): Move to ...
21329         * ctype/ctype-c99_l.c: ... here.  New file.
21330         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
21331         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
21332         Remove variable.
21333         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
21334         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
21335         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
21336         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
21337         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
21339         [BZ #17777]
21340         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
21341         (posix_fadvise64): Define as weak alias not strong alias.
21342         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21343         (posix_fallocate64): Likewise.
21344         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
21345         Remove variable.
21346         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
21347         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
21348         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
21349         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
21350         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
21352 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
21354         [BZ #16191]
21355         * NEWS: Mention bug fix.
21356         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
21357         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
21358         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
21359         (HOST_STACK_END_ADDR): Likewise.
21361 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
21363         [BZ #17748]
21364         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
21365         * math/fegetround.c (fegetround): Rename to __fegetround and
21366         define as weak alias of __fegetround.  Use libm_hidden_weak.
21367         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
21368         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
21369         * sysdeps/arm/fegetround.c (fegetround): Likewise.
21370         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
21371         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21372         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
21373         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
21374         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
21375         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21376         Undefine after rather than before function definition; use
21377         parentheses around function name in definition.
21378         (__fegetround): Also undefine macro after function definition.
21379         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
21380         __fegetround and define as weak alias of __fegetround.  Use
21381         libm_hidden_weak.  Do not undefine as macro.
21382         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21383         Likewise.
21384         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
21385         __fegetround and define as weak alias of __fegetround.  Use
21386         libm_hidden_weak.
21387         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21388         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21389         * sysdeps/tile/math_private.h (__fegetround): New inline function.
21390         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
21391         __fegetround and define as weak alias of __fegetround.  Use
21392         libm_hidden_weak.
21393         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
21394         __fegetround instead of fegetround.
21396         [BZ #17782]
21397         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
21398         Condition macro definition on [__USE_MISC].
21400         [BZ #17781]
21401         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
21402         (struct sigaction): Change type of sa_flags field to int.
21404         [BZ #17780]
21405         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
21406         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
21407         __glibc_reserved0.
21409         * nptl/version.c (banner): Use single year in copyright notice.
21411         * NEWS: Update copyright dates.
21412         * catgets/gencat.c (print_version): Likewise.
21413         * csu/version.c (banner): Likewise.
21414         * debug/catchsegv.sh: Likewise.
21415         * debug/pcprofiledump.c (print_version): Likewise.
21416         * debug/xtrace.sh (do_version): Likewise.
21417         * elf/ldconfig.c (print_version): Likewise.
21418         * elf/ldd.bash.in: Likewise.
21419         * elf/pldd.c (print_version): Likewise.
21420         * elf/sotruss.sh: Likewise.
21421         * elf/sprof.c (print_version): Likewise.
21422         * iconv/iconv_prog.c (print_version): Likewise.
21423         * iconv/iconvconfig.c (print_version): Likewise.
21424         * locale/programs/locale.c (print_version): Likewise.
21425         * locale/programs/localedef.c (print_version): Likewise.
21426         * login/programs/pt_chown.c (print_version): Likewise.
21427         * malloc/memusage.sh (do_version): Likewise.
21428         * malloc/memusagestat.c (print_version): Likewise.
21429         * malloc/mtrace.pl: Likewise.
21430         * manual/libc.texinfo: Likewise.
21431         * nptl/version.c (banner): Likewise.
21432         * nscd/nscd.c (print_version): Likewise.
21433         * nss/getent.c (print_version): Likewise.
21434         * nss/makedb.c (print_version): Likewise.
21435         * posix/getconf.c (main): Likewise.
21436         * scripts/test-installation.pl: Likewise.
21437         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21439 2015-01-02  Will Newton  <will.newton@linaro.org>
21441         * sysdeps/arm/armv7/configure: Removed.
21442         * sysdeps/arm/armv7/configure.ac: Likewise.
21444 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
21446         * All files with FSF copyright notices: Update copyright dates
21447         using scripts/update-copyrights.
21448         * intl/plural.c: Regenerated.
21449         * locale/programs/charmap-kw.h: Likewise.
21450         * locale/programs/locfile-kw.h: Likewise.
21452 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21454         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
21456 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
21458         [BZ #17748]
21459         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
21460         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
21461         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
21462         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
21463         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21464         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
21465         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21466         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
21467         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21468         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21469         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21470         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21471         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21472         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21473         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
21474         libm_hidden_def.
21475         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
21476         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
21477         Likewise.
21478         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21479         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21480         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21481         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21482         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
21483         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
21484         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
21485         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
21486         __fegetenv instead of fegetenv.
21487         (libc_feholdsetround_noex_ctx): Likewise.
21489 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
21491         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
21492         (Elf_MIPS_ABIFlags_v0): New structure.
21493         (EF_MIPS_FP64): Define.
21494         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
21495         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
21496         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
21497         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
21498         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
21499         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
21500         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
21501         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
21502         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
21503         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
21504         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
21505         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
21506         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
21507         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
21508         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
21509         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
21510         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
21511         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
21512         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
21513         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
21514         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
21515         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
21516         field.
21517         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
21518         EF_MIPS_FP64.
21519         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
21520         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
21521         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
21522         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
21523         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
21524         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
21525         * sysdeps/mips/tst-abi-interlink.c: Likewise.
21526         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
21527         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
21528         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
21529         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
21530         record the current FP ABI extension.
21531         (mips-mode-switch): Define to show if kernel headers support mode
21532         switching.
21533         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21534         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
21535         supported SYSV ABI version to 3.
21536         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
21537         feature.
21539 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21540             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21542         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
21543         path.
21544         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
21546 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
21548         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
21549         __fegetround and redefine to call __fegetround.  Remove condition
21550         on [!__NO_MATH_INLINES].
21551         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
21552         function.
21553         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
21554         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21555         Remove macro.
21556         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
21557         instead of <fenv_libc.h>.
21558         (__llrintl): Call fegetround instead of __fegetround.
21559         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
21560         instead of <fenv_libc.h>.
21561         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21562         (__lrintl): Call fegetround instead of __fegetround.
21563         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
21564         instead of <fenv_libc.h>.
21565         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21566         (__rintl): Call fegetround instead of __fegetround.
21568 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21570         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
21571         arrays.
21573 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
21575         [BZ #17775]
21576         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
21577         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
21578         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
21580 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
21582         * sysdeps/i386/tls-macros.h: Include <features.h>.
21583         (TLS_LE): Use non-PIC version for GCC >= 5.0.
21584         (TLS_IE): Likewise.
21585         (TLS_LD): Likewise.
21586         (TLS_GD): Likewise.
21587         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
21588         define for GCC >= 5.0.
21590 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
21592         * math/test-fenv.c (test_single_exception, set_single_exc,
21593         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
21594         feexcp_mask_test, feenable_test, fe_single_test): Add
21595         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
21596         case where they are not used.
21597         * math/libm-test.inc: Likewise.
21598         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
21599         unused in the absence of FP rounding/exception support.
21600         * stdio-common/tst-printf-round.c: Likewise.
21601         * stdlib/tst-strtod-round.c: Likewise.
21602         * stdlib/tst-strtod-underflow.c: Likewise.
21604 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
21606         [BZ #17723]
21607         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
21608         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
21609         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21610         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21611         libm_hidden_weak.
21612         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
21613         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
21614         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
21615         libm_hidden_def.
21616         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21617         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21618         libm_hidden_weak.
21619         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
21620         Likewise.
21621         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
21622         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21623         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21624         libm_hidden_weak.
21625         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
21626         libm_hidden_def.
21627         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21628         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
21629         (__feraiseexcept): Likewise.
21630         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21631         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21632         libm_hidden_weak.
21633         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
21634         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
21635         libm_hidden_def.
21636         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
21637         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
21638         Use libm_hidden_def.
21639         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
21640         libm_hidden_def.
21641         (feraiseexcept): Define as weak not strong alias.  Use
21642         libm_hidden_weak.
21643         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
21644         New inline function.  Factored out of ...
21645         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
21646         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
21647         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
21648         feraiseexcept.
21649         * math/w_acos.c (__acos): Likewise.
21650         * math/w_asin.c (__asin): Likewise.
21651         * math/w_ilogb.c (__ilogb): Likewise.
21652         * math/w_j0.c (y0): Likewise.
21653         * math/w_j1.c (y1): Likewise.
21654         * math/w_jn.c (yn): Likewise.
21655         * math/w_log.c (__log): Likewise.
21656         * math/w_log10.c (__log10): Likewise.
21657         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
21658         * sysdeps/aarch64/fpu/math_private.h
21659         (libc_feupdateenv_test_aarch64): Likewise.
21660         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
21661         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
21662         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
21663         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
21664         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
21665         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
21666         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
21667         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21668         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21669         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21671 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
21673         [BZ #17732]
21674         * io/test-utime.c (main): Replace %ld with %jd and cast to
21675         intmax_t.
21676         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
21677         * nptl/tst-mutex5.c: Include <stdint.h>.
21678         (do_test): Replace %ld with %jd and cast to intmax_t.
21679         * posix/tst-regex.c (run_test): Likewise.
21680         (run_test_backwards): Likewise.
21681         * rt/tst-clock.c: Include <stdint.h>.
21682         (clock_test): Replace %ld with %jd and cast to intmax_t.
21683         * rt/tst-cpuclock1.c: Include <stdint.h>.
21684         (do_test): Replace %lu with %ju and cast to uintmax_t.
21685         * rt/tst-cpuclock2.c: Include <stdint.h>.
21686         (do_test): Replace %lu with %ju and cast to uintmax_t.
21687         * rt/tst-mqueue1.c: Include <stdint.h>.
21688         (check_attrs): Replace %ld with %jd and cast to intmax_t.
21689         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
21690         intmax_t.
21691         * rt/tst-mqueue4.c (do_test): Likewise.
21692         * rt/tst-timer4.c: Include <stdint.h>.
21693         (check_ts): Replace %ld with %jd and cast to intmax_t.
21694         (do_test): Likewise.
21695         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
21696         and cast to intmax_t.
21697         * sysdeps/pthread/tst-timer.c (main): Likewise.
21698         * time/clocktest.c (main): Likewise.
21699         * time/tst-posixtz.c (do_test): Likewise.
21700         * timezone/tst-timezone.c (main): Likewise.
21702 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
21703             H.J. Lu  <hongjiu.lu@intel.com>
21705         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
21706         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
21707         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
21708         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
21709         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
21710         version if bit_Fast_Unaligned_Load is set.
21711         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21712         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21713         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21714         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21715         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21716         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21717         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21718         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
21719         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
21720         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
21721         to 4.
21722         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
21723         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
21724         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
21725         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
21727 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
21729         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
21730         instead of #if to avoid a Wundef warning.
21731         * stdlib/tst-limits.c (do_test): Likewise.
21733         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
21734         parallel other exception macros.
21735         (fegetenv): Convert from macro to extern inline so that it applies
21736         retroactively to inline functions already seen by the compiler.
21737         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
21739         * posix/Makefile (before-compile): Use $(objpfx) for
21740         posix-conf-vars-def.h.
21742 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21744         * posix/getconf.c (main): Use size_t for type of I.
21745         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
21746         NSPEC.
21748         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
21749         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
21750         * posix/posix-envs.def: Likewise.
21751         * sysdeps/posix/sysconf.c: Likewise.
21752         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
21753         (specs): Remove array.
21754         * scripts/gen-posix-conf-vars.awk: Support generation of specs
21755         array.
21757         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
21758         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
21759         (__sysconf): Use CONF_IS_* macros.
21761         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
21762         ($(objpfx)posix-conf-vars-def.h): New target.
21763         * posix/posix-conf-vars.list: New file.
21764         * posix/posix-conf-vars.h: New file.
21765         * posix/confstr.c: Include posix-conf-vars.h.
21766         (confstr): Use CONF_IS_* macros.
21767         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
21768         CONF_IS_* macros.
21769         * scripts/gen-posix-conf-vars.awk: New file.
21771 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
21773         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
21774         fegetround): Add no-op macros to avoid linknamespace issues.
21776         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
21777         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
21779         * sysdeps/unix/sysv/linux/tile/sysdep.h
21780         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
21781         assembly-specific section to avoid a redefinition warning.
21783         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
21784         long before casting to pointer to avoid a cast warning.
21786 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
21788         * sysdeps/tile/tilegx/Implies: New file.
21790 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
21792         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
21794 2014-12-23  Florian Weimer  <fweimer@redhat.com>
21796         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
21798 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21800         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
21801         not define.
21802         * sysdeps/unix/sysv/linux/utimes.c: Do not include
21803         <kernel-features.h>.
21804         (__utimes) [__NR_utimes]: Make code unconditional.
21805         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
21806         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21807         (__ASSUME_UTIMES): Do not undefine.
21808         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21809         (__ASSUME_UTIMES): Likewise.
21810         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21811         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
21812         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
21813         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
21815 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21817         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
21819 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
21821         [BZ #17747]
21822         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
21823         alias to weak alias for j0l, y0l.
21824         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
21825         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
21827         [BZ #17746]
21828         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
21829         conversion.
21831 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21833         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
21834         to zero if not already defined.
21836 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21838         [BZ #17724]
21839         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
21840         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
21841         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
21842         (char *) casts added.
21843         * sysdeps/ieee754/k_standardf.c: New file.
21844         * sysdeps/ieee754/k_standardl.c: Likewise.
21845         * math/Makefile (libm-support): Remove k_standard.
21846         (libm-calls): Add k_standard.
21848 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21850         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21851         Optimize to avoid an unnecessary FPCR read.
21853 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21855         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
21856         Optimize to reduce FPCR/FPSR accesses.
21858 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21860         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
21861         Call libc_fetestexcept_aarch64.
21863 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21865         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
21866         Call libc_fesetround_aarch64.
21868 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21870         [BZ #17733]
21871         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
21872         (__bind): Do not define as weak alias.
21873         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
21874         define.
21875         (__getsockname): Do not define as weak alias.
21877 2014-12-22  Will Newton  <will.newton@linaro.org>
21879         * manual/install.texi: Document that we require bison 2.7
21880         or above.
21881         * INSTALL: Regenerate.
21882         * configure.ac: Use AC_CHECK_PROG_VER instead of
21883         AC_PATH_PROG when checking for bison and check for
21884         version 2.7 or above.
21885         * configure: Regenerate.
21887 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
21889         [BZ #17745]
21890         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
21891         * sysdeps/tile/ffsll.c (ffsll): To here.
21893         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
21895 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
21897         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
21898         if not defined.
21899         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
21900         definition.
21901         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
21902         hidden ___tls_get_addr.
21903         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
21904         hidden __tls_get_addr.
21905         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
21906         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
21907         Likewise.
21909 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
21911         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
21912         _dl_init call.
21914 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
21916         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
21917         from "call _dl_init@PLT".
21918         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
21920 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
21922         * manual/search.texi: (Array Sort Function): Clarify stable sorting
21923         guarantees.
21925 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
21927         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
21929 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
21931         [BZ #17744]
21932         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
21933         strnlen.
21935 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
21937         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
21938         of multu on MIPSr6.
21939         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
21940         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
21941         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
21942         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
21943         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
21945 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
21947         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
21948         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
21949         (PTR_SUBU): Use subu for mips32r6/mips64r6.
21950         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
21951         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
21952         mips32r6/mips64r6.
21953         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
21955 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
21957         * string/strncat.c (STRNCAT): Simplify implementation.
21959 2014-12-19  David S. Miller  <davem@davemloft.net>
21961         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
21962         access the quad as both a long double and as a series of 4 words.
21964         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
21965         link_map->l_info array access.
21967 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
21969         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
21971         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
21972         * math/atest-exp2.c (TIMEOUT): Likewise.
21973         * math/atest-sincos.c (TIMEOUT): Likewise.
21975 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21977         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
21978         -Wno-error with -fno-builtin-lround.
21980 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21982         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
21983         Contains futex constants and functions moved over from ...
21984         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
21985         <lowlevellock-futex.h>.
21986         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
21987         (lll_timedwait_tid): Add comments and parentheses around macro
21988         arguments.
21990 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21992         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
21993         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
21994         (__lll_private_flag): Remove.
21995         (lll_futex_wait): Likewise.
21996         (lll_futex_timed_wait): Likewise.
21997         (lll_futex_wake): Likewise.
21998         (lll_futex_requeue): Likewise.
21999         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
22000         (__lll_timedwait_tid): Spell out argument names.
22001         (lll_timedwait_tid): Add comments and parentheses around macro
22002         arguments.
22003         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
22004         LLL_SHARED and LLL_PRIVATE usable from assembly code.
22006 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22008         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
22009         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
22010         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22011         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
22012         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
22013         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
22014         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
22015         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
22016         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
22017         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
22018         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
22019         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
22020         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
22021         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
22022         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
22023         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
22024         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
22025         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
22026         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
22028 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22030         * sysdeps/x86_64/x32/Makefile: New file.
22032 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22034         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
22035         1L with (mp_limb_t) 1.
22037 2014-12-17  Roland McGrath  <roland@hack.frob.com>
22039         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
22040         * nptl/libc_pthread_init.c: ... here.
22041         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
22042         * nptl/register-atfork.c: ... here.
22044         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
22045         Use pthread_sigmask rather than INTERNAL_SYSCALL.
22046         Use assert_perror to check its return value.
22047         (__gai_create_helper_thread): Likewise.
22049         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
22051         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
22053 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
22055         [BZ #17725]
22056         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
22057         __profil_counter.
22058         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
22059         Likewise.
22060         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
22061         Likewise.
22062         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
22063         Likewise.
22064         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
22065         (profil_counter): Likewise.
22066         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
22067         (profil_counter): Likewise.
22068         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
22069         Likewise.
22070         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
22071         Likewise.
22072         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
22073         (profil_counter): Likewise.
22074         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
22075         Likewise.
22076         [!__profil_counter] (profil_counter): Define as weak alias of
22077         __profil_counter.
22078         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
22079         (profil_counter): Rename to __profil_counter.
22080         [!__profil_counter] (profil_counter): Define as weak alias of
22081         __profil_counter.
22082         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
22083         (profil_counter): Rename to __profil_counter.
22084         [!__profil_counter] (profil_counter): Define as weak alias of
22085         __profil_counter.
22086         * sysdeps/posix/profil.c: Update comment referring to
22087         profil_counter.
22088         (__profil): Use __profil_counter instead of profil_counter.
22089         * sysdeps/posix/sprofil.c (profil_counter): Rename to
22090         __profil_counter.  Use __profil_counter_ushort and
22091         __profil_counter_uint in definitions.
22092         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
22093         instead of profil_counter_uint and profil_counter_ushort.
22095         [BZ #17722]
22096         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
22097         define as weak alias of __inet_makeaddr.
22098         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
22099         as weak alias of __inet_addr.
22100         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
22101         as weak alias of __inet_pton.  Use libc_hidden_weak.
22102         * include/arpa/inet.h (__inet_pton): Declare.  Use
22103         libc_hidden_proto.
22104         (inet_makeaddr): Don't use libc_hidden_proto.
22105         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
22106         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
22107         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
22108         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
22109         Remove variable.
22110         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
22111         (test-xfail-POSIX/time.h/linknamespace): Likewise.
22113 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
22115         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
22117 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22119         * stdio-common/bug-vfprintf-nargs.c (do_test):
22120         Cast value to intptr_t to avoid format warning
22121         for usage with PRIdPTR printing macro.
22123 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22125         * libio/tst-widetext.c (do_test):
22126         Use format type %td instead of %Zd for ptrdiff_t
22127         in order to avoid format warning.
22129 2014-12-17  Andreas Schwab  <schwab@suse.de>
22131         * nscd/mem.c (gc): Add size_t cast to match printf format.
22133 2014-12-16  Roland McGrath  <roland@hack.frob.com>
22135         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
22136         (init): Apply PTR_MANGLE to pointers before storing them.
22137         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
22138         before using them.
22140 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
22142         [BZ #17719]
22143         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
22144         define as weak alias of __memrchr.
22145         (__memrchr): Do not define as strong alias of memrchr.
22146         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
22147         Remove variable.
22148         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
22149         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
22150         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
22152         [BZ #17717]
22153         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
22154         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
22155         (if_indextoname): Rename to __if_indextoname and define as weak
22156         alias of __if_indextoname.  Use libc_hidden_weak.
22157         (if_freenameindex): Rename to __if_freenameindex and define as
22158         weak alias of __if_freenameindex.
22159         (if_nameindex): Rename to __if_nameindex and define as weak alias
22160         of __if_nameindex.
22161         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
22162         __if_nametoindex and define as weak alias of __if_nametoindex.
22163         Use libc_hidden_weak.
22164         (if_freenameindex): Rename to __if_freenameindex and define as
22165         weak alias of __if_freenameindex.
22166         (if_nameindex): Rename to __if_nameindex and define as weak alias
22167         of __if_nameindex.
22168         (if_indextoname): Rename to __if_indextoname and define as weak
22169         alias of __if_indextoname.  Use libc_hidden_weak.
22170         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
22171         __if_nametoindex and define as weak alias of __if_nametoindex.
22172         Use libc_hidden_weak.
22173         (if_freenameindex): Rename to __if_freenameindex and define as
22174         weak alias of __if_freenameindex.  Use libc_hidden_weak.
22175         (if_nameindex_netlink): Use __if_freenameindex instead of
22176         if_freenameindex.
22177         (if_nameindex): Rename to __if_nameindex and define as weak alias
22178         of __if_nameindex.  Use libc_hidden_weak.
22179         (if_indextoname): Rename to __if_indextoname and define as weak
22180         alias of __if_indextoname.  Use libc_hidden_weak.
22181         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
22182         libc_hidden_proto.
22183         [!_ISOMAC] (__if_freenameindex): Likewise.
22184         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
22185         if_nametoindex.
22186         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
22187         variable.
22188         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
22189         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
22190         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
22191         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
22192         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
22193         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
22194         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
22196         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
22197         Remove variable.
22198         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
22199         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
22201 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22203         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
22204         subscript above bounds'
22206         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
22207         bounds.
22209 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
22211         * libio/tst-fopenloc.c: Use test-skeleton.c.
22213         * stdlib/tst-bsearch.c: Use test-skeleton.c.
22214         (entry): Rename to ITEM.
22215         (do_test, comp): Adjust.
22217         * stdio-common/tst-fseek.c: Use test-skeleton.c.
22219 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22221         * string/tester.c: Include <libc-internal.h>.
22222         (test_memset): Ignore -Wmemset-transposed-args.
22224 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22226         * misc/tst-mntent2.c (do_test): Fix warning.
22228 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22230         * elf/tst-unique4lib.cc(a): Mark as used.
22232 2014-12-16  Florian Weimer  <fweimer@redhat.com>
22234         [BZ #17630]
22235         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
22236         names.
22238 2014-12-16  Allan McRae  <allan@archlinux.org>
22240         * stdio-common/Makefile (tests): Re-add bug26.
22242 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
22244         [BZ #17657]
22245         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
22246         static array.
22248 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
22250         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
22251         (__lll_lock_wait): Likewise.
22252         (__lll_timedlock_wait): Likewise.
22253         (__lll_timedwait_tid): Likewise.
22254         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
22255         (__lll_robust_timedlock_wait): Likewise.
22256         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
22257         (lll_cond_trylock): Likewise.
22258         (__lll_lock): Likewise.
22259         (__lll_robust_lock): Likewise.
22260         (__lll_cond_lock): Likewise.
22261         (lll_robust_cond_lock): Likewise.
22262         (__lll_timedlock): Likewise.
22263         (__lll_robust_timedlock): Likewise.
22264         (__lll_unlock): Likewise.
22265         (__lll_robust_unlock): Likewise.
22266         (lll_wait_tid): Likewise.
22267         (lll_timedwait_tid): Likewise.
22269 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22271         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
22273 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22275         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
22277 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
22279         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
22280         * stdio-common/tst-sprintf.c: Likewise.
22282 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22284         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
22286 2014-12-15  Jeff Law  <law@redhat.com>
22288         [BZ #16617]
22289         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
22290         on the heap.  (CVE-2012-3406)
22291         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
22292         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
22293         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
22295 2014-12-15  Will Newton  <will.newton@linaro.org>
22297         * manual/install.texi: Bump required version of texinfo
22298         to 4.7 from 4.5.
22299         * INSTALL: Regenerated.
22300         * configure.ac: Check for makeinfo version 4.7 and above.
22301         * configure: Regenerated.
22303 2014-12-12  Roland McGrath  <roland@hack.frob.com>
22305         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
22306         PREFIX, string constant to insert between directory and name.
22307         * sysdeps/posix/shm_open.c: Update caller.
22308         * sysdeps/posix/shm_unlink.c: Likewise.
22309         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
22310         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
22311         (SEM_SHM_PREFIX): New macro.
22312         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
22313         [$(have-thread-library) = no].
22314         * nptl/Makefile (libpthread-routines): Add shm-directory.
22315         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
22316         * sysdeps/nptl/shm-directory.h: New file.
22317         * sysdeps/posix/shm-directory.c
22318         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
22319         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
22320         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
22321         INTERNAL_SYSCALL.
22322         (__where_is_shmfs): Function removed.
22323         (mountpoint, defaultmount, defaultdir, __namedsem_once):
22324         Variables removed.
22325         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
22326         Use SHM_GET_NAME.
22327         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
22329         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
22330         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
22331         unconditional for use inside libpthread.
22332         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
22334 2014-12-12  Roland McGrath  <roland@hack.frob.com>
22336         * nptl/pthread_getaffinity.c: New file.
22337         * nptl/pthread_setaffinity.c: New file.
22338         * nptl/pthread_getname.c: New file.
22339         * nptl/pthread_setname.c: New file.
22341         * nptl/pthread_create.c (START_THREAD_DEFN)
22342         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
22344 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22345             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22347         * resolv/res_send.c (send_vc): Disable warning resplen may
22348         be used uninitialized.
22350 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22352         * nptl/tst-mutex6.c
22353         (ATTR_NULL): New define checks ATTR against NULL.
22354         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
22355         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
22357 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
22359         [BZ #17581]
22360         * malloc/hooks.c
22361         (mem2mem_check): Revert my previous change.
22362         (malloc_check_get_size): Revert my previous change.
22363         (mem2chunk_check): Revert my previous change.
22365 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22367         * sysdeps/posix/shm-directory.c: New file.
22368         * sysdeps/posix/shm-directory.h: New file.
22369         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
22370         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
22371         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
22372         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
22373         Transmute EPERM to EACCES.
22374         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
22375         from ...
22376         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
22377         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
22379 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22381         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
22382         pointer and cast to uintptr_t.
22383         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
22384         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
22385         Add cast to avoid warning.
22386         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
22388 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
22390         * nptl/semaphore.h: Move to ...
22391         * sysdeps/pthread/semaphore.h: ... here.
22392         * Makefile (installed-headers): Change nptl/semaphore.h to
22393         sysdeps/pthread/semaphore.h.
22395 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22397         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
22398         generated error format strings.
22400         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
22401         -Wformat-extra-args warnings for scanf formats.
22402         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
22403         test of zero-length format (duh).
22404         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
22405         corner-case scanf format test.
22406         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
22407         generated fprintf format string.
22408         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
22409         corner-case sprintf format tests.
22410         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
22411         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
22412         -Wformat-extra-args warnings throughout.
22413         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
22414         (CFLAGS-scanf4.c): Likewise.
22415         (CFLAGS-scanf7.c): Likewise.
22416         (CFLAGS-tst-sprintf.c): Likewise.
22417         (CFLAGS-tst-printf.c): Likewise.
22418         (CFLAGS-tst-printfsz.c): Likewise.
22420 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
22422         * include/cpio.h: New file.
22423         * include/fmtmsg.h: Likewise.
22425         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
22426         corresponding format argument to size_t.
22427         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
22428         arguments.
22429         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
22430         corresponding format argument to size_t.
22431         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
22432         arguments.
22433         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
22434         corresponding format argument to size_t.
22435         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
22436         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
22437         (CFLAGS-tst-mbswcs2.c): Likewise.
22438         (CFLAGS-tst-mbswcs3.c): Likewise.
22439         (CFLAGS-tst-mbswcs4.c): Likewise.
22440         (CFLAGS-tst-mbswcs5.c): Likewise.
22441         (CFLAGS-tst-trans.c): Likewise.
22443 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22445         * posix/regexbug1.c (main): Use "%s" format with regerror results,
22446         rather than assuming they won't contain any '%'s.
22448 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
22450         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
22451         inhibit_loop_to_libcall to avoid recursive calls.
22452         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
22453         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
22455 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
22457         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
22458         prototype.
22460 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
22462         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
22463         integer value instead of boolean.
22465 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
22467         * malloc/malloc.c: Fix powerof2 check.
22469 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22471         * locale/programs/locfile.h (maybe_swap_uint32):
22472         Remove inline and add unused attribute.
22474 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22476         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
22477         Truncating assembler expression to a .long expression.
22479 2014-12-11  Andreas Schwab  <schwab@suse.de>
22481         * elf/rtld.c (struct map_args): Constify str member.
22482         (do_preload): Constify fname argument.
22484 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22486         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
22487         constants definition.
22489 2014-12-11  Andreas Schwab  <schwab@suse.de>
22491         [BZ #16657]
22492         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
22493         FORCE_ELISION instead of DO_ELISION.
22494         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
22495         Remove.
22496         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
22497         Likewise.
22499         * iconvdata/gconv-modules: Remove duplicate entry.
22501 2014-12-11  Will Newton  <will.newton@linaro.org>
22503         Merge gettext 0.19.3 into intl/.
22505         This involves a number of cosmetic changes to comments
22506         and ANSI function definitions and prototypes throughout
22507         all the files. The gettext copyright header is used but
22508         with the date ranges taken from the glibc copy.
22510         * NEWS: Add gettext merge to 2.21.
22511         * intl/bindtextdom.c: Switch to gettext copyright.
22512         Use ANSI definitions and prototypes.
22513         Use gl_* locking primitives rather than __libc_* ones.
22514         Use __builtin_expect rather than __glibc_likely/unlikely.
22515         * intl/dcgettext.c: Switch to gettext copyright.
22516         Use ANSI definitions and prototypes.
22517         * intl/dcigettext.c: Switch to gettext copyright.
22518         Use ANSI definitions and prototypes.
22519         (INTDIV0_RAISES_SIGFPE): New define.
22520         Use gl_* locking primitives rather than __libc_* ones.
22521         Include eval-plural.h instead of plural-eval.c.
22522         Use __builtin_expect rather than __glibc_likely/unlikely.
22523         * intl/dcngettext.c: Switch to gettext copyright.
22524         Use ANSI definitions and prototypes.
22525         * intl/dgettext.c: Likewise.
22526         * intl/dngettext.c: Likewise.
22527         * intl/plural-eval.c: Renamed to...
22528         * intl/eval-plural.h: ...this.
22529         * intl/explodename.c: Switch to gettext copyright.
22530         Use ANSI definitions and prototypes.
22531         (_nl_explode_name): Use strchr instead of __rawmemchr.
22532         * intl/finddomain.c: Switch to gettext copyright.
22533         Use ANSI definitions and prototypes.
22534         Use gl_* locking primitives rather than __libc_* ones.
22535         (_nl_find_domain): Use malloc rather than alloca for
22536         allocation of temporary locale name.
22537         * intl/gettext.c: Switch to gettext copyright.
22538         Use ANSI definitions and prototypes.
22539         * intl/gettextP.h: Switch to gettext copyright.
22540         Use ANSI definitions and prototypes.
22541         Use gl_* locking primitives rather than __libc_* ones.
22542         * intl/gmo.h: Switch to gettext copyright.
22543         (struct sysdep_string): Move struct segment_pair outside of
22544         struct definition.
22545         * intl/hash-string.c: Use ANSI definitions and prototypes.
22546         * intl/hash-string.h: Switch to gettext copyright.
22547         Use ANSI definitions and prototypes.
22548         * intl/l10nflist.c: Switch to gettext copyright.
22549         Use ANSI definitions and prototypes.
22550         (_nl_normalize_codeset): Avoid integer overflow.
22551         * intl/loadinfo.h: Switch to gettext copyright.
22552         Use ANSI definitions and prototypes.
22553         (LIBINTL_DLL_EXPORTED): New define.
22554         (PATH_SEPARATOR): New define.
22555         * intl/loadmsgcat.c: Switch to gettext copyright.
22556         * intl/localealias.c: Switch to gettext copyright.
22557         Use ANSI definitions and prototypes.
22558         (_nl_expand_alias): Use PATH_SEPARATOR.
22559         * intl/ngettext.c: Switch to gettext copyright.
22560         Use ANSI definitions and prototypes.
22561         * intl/plural-exp.c: Likewise.
22562         * intl/plural-exp.h: Switch to gettext copyright.
22563         Use ANSI definitions and prototypes.
22564         (struct expression): Move definition of enum operator outside
22565         of struct definition.
22566         * intl/plural.c: Regenerate.
22567         * intl/plural.y: Switch to gettext copyright.
22568         Use ANSI definitions and prototypes.
22569         Port to bison 3.0.
22570         * intl/textdomain.c: Switch to gettext copyright.
22571         Use ANSI definitions and prototypes.
22572         Use gl_* locking primitives rather than __libc_* ones.
22574 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
22576         * debug/warning-nop.c: Add used atrribute.
22578 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22580         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
22582         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
22583         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
22584         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
22586 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22587             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22589         [BZ #17634]
22590         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
22591         Undefine after defining function.  Define as weak alias of
22592         __wcschr.  Use libc_hidden_weak.
22593         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
22594         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
22595         (libc_hidden_def): Also define __GI___wcschr alias.
22596         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
22597         __wcschr and define as weak alias of __wcschr.
22598         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
22599         __wcschr.
22600         [!WCSCHR] (DEFAULT_WCSCHR): Define.
22601         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
22602         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
22603         libc_hidden_weak.  Do not use libc_hidden_def.
22604         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
22605         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
22606         __GI___wcschr alias.
22607         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
22608         [IS_IN (libc)] (wcschr): Define as macro expanding to
22609         __redirect_wcschr.
22610         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
22611         [IS_IN (libc)] (__wcschr_power6): Likewise.
22612         [IS_IN (libc)] (__wcschr_power7): Likewise.
22613         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
22614         instead of wcschr.
22615         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
22616         __libc_wcschr.
22617         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
22618         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
22619         __wcschr and define as weak alias of __wcschr.  Use
22620         libc_hidden_builtin_def.
22621         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
22622         as weak alias of __wcschr.  Use libc_hidden_weak.
22623         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
22624         wcschr.
22625         * time/era.c (_nl_init_era_entries): Likewise.
22626         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
22627         variable.
22628         (test-xfail-XPG3/time.h/linknamespace): Likewise.
22629         (test-xfail-XPG4/time.h/linknamespace): Likewise.
22631 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22633         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
22634         format for long int variable.
22636 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
22638         [BZ #10672]
22639         * manual/search.texi: (Array Sort Function): Remove claim how to make
22640         qsort stable.
22642 2014-12-10  Andreas Schwab  <schwab@suse.de>
22644         [BZ #12847]
22645         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
22646         user-controlled locks.
22648 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
22650         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
22651         register.
22653 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22655         * configure.ac (--disable-werror): New configure option.
22656         (enable_werror): New AC_SUBST.
22657         * configure: Regenerated.
22658         * config.make.in (enable-werror): New variable.
22659         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
22660         -Wno-error=undef.
22661         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
22662         * manual/install.texi (Configuring and compiling): Document
22663         --disable-werror.
22664         * INSTALL: Regenerated.
22665         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
22666         (CFLAGS-tst-chk2.c): Likewise.
22667         (CFLAGS-tst-chk3.c): Likewise.
22668         (CFLAGS-tst-chk4.cc): Likewise.
22669         (CFLAGS-tst-chk5.cc): Likewise.
22670         (CFLAGS-tst-chk6.cc): Likewise.
22671         (CFLAGS-tst-lfschk1.c): Likewise.
22672         (CFLAGS-tst-lfschk2.c): Likewise.
22673         (CFLAGS-tst-lfschk3.c): Likewise.
22674         (CFLAGS-tst-lfschk4.cc): Likewise.
22675         (CFLAGS-tst-lfschk5.cc): Likewise.
22676         (CFLAGS-tst-lfschk6.cc): Likewise.
22678         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
22679         (main): Disable -Wdeprecated-declarations around calls to
22680         register_printf_function.
22682         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
22683         (do_test): Disable -Wdiv-by-zero around some calls to
22684         fwrite_unlocked and fread_unlocked.
22686         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
22687         (DIAG_POP_NEEDS_COMMENT): Likewise.
22688         (_DIAG_STR1): Likewise.
22689         (_DIAG_STR): Likewise.
22690         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
22691         * stdio-common/bug21.c: Include <libc-internal.h>.
22692         (do_test): Disable -Wformat around call to sscanf.
22693         * stdio-common/scanf14.c: Include <libc-internal.h>.
22694         (main): Disable -Wformat around some calls to scanf functions.
22696 2014-12-09  Torvald Riegel  <triegel@redhat.com>
22698         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
22700 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22702         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
22703         stack variable alignment.
22705 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
22707         [BZ #17682]
22708         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
22709         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
22710         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
22711         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
22712         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
22713         __getrlimit instead of getrlimit.
22714         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
22715         __gettimeofday instead of gettimeofday.
22716         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
22717         Likewise.
22718         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
22719         Likewise.
22720         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22721         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
22722         Remove variable.
22723         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
22724         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
22726 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22728         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
22729         for wide-character tests.
22731 2014-12-04  Roland McGrath  <roland@hack.frob.com>
22733         * io/openat64.c: #include <libc-internal.h>
22734         (__openat64): Prototypify.  Use ignore_value on MODE.
22735         * io/openat.c: Likewise.
22736         * misc/reboot.c: #include <libc-internal.h>
22737         (reboot): Prototypify.  Use ignore_value on HOWTO.
22738         * misc/ptrace.c: #include <libc-internal.h>
22739         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
22741 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
22743         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
22744         XPG4, UNIX98 and XOPEN2K.
22745         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
22746         Remove variable.
22747         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
22749 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22751         * libio/fileops.c: Use ISO C style for function definitions.
22752         * libio/iofopen.c: Likewise.
22753         * libio/wfileops.c: Likewise.
22755         [BZ #17653]
22756         * libio/fileops.c (_IO_new_file_underflow): Unset cached
22757         offset on EOF.
22758         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
22759         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
22760         (fgets_func): Function pointer to fgets and fgetws.
22761         (do_ftell_test): Add test to verify ftell value after read
22762         EOF.
22763         (do_test): Set fgets_func.
22765         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
22766         O_TRUNC flag for w and w+ modes.
22767         (do_rewind_test): Likewise.
22768         (do_ftell_test): Likewise.
22769         (do_write_test): Likewise.
22771         [BZ #17647]
22772         * libio/fileops.c (do_ftell): Seek only when there are
22773         unflushed writes.
22774         * libio/wfileops.c (do_ftell_wide): Likewise.
22775         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
22776         test case.
22777         (do_one_test): Call it.
22779 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
22781         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
22782         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
22783         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
22784         Remove variable.
22785         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
22786         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
22787         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
22789 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22791         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
22792         Remove variable.
22793         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
22795         [BZ #17668]
22796         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
22797         as weak alias of __getifaddrs.  Use libc_hidden_weak.
22798         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22799         __freeifaddrs.  Use libc_hidden_weak.
22800         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
22801         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
22802         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22803         __freeifaddrs.  Use libc_hidden_weak.
22804         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
22805         __getifaddrs and define as weak alias of __getifaddrs.  Use
22806         libc_hidden_weak.
22807         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22808         __freeifaddrs.  Use libc_hidden_weak.
22809         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
22810         Remove variable.
22811         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
22812         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
22814 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
22816         [BZ #17601]
22817         * sysdeps/mips/start.S (__start): Use indirect jump to call
22818         __libc_start_main.
22820 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22822         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
22824         * nptl/tst-mutex1.c: Include <stdbool.h>.
22825         [!ATTR] (ATTR_NULL): New macro.
22826         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
22827         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
22828         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
22830         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
22831         to char *.
22833         [BZ #17665]
22834         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
22835         Change conditional to [__USE_MISC].
22837         [BZ #17664]
22838         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
22839         fgets_unlocked.
22840         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
22841         __fgets_unlocked.
22842         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
22843         fgets_unlocked.
22844         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
22845         Remove variable.
22846         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
22847         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
22848         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
22849         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
22850         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
22851         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
22852         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
22853         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
22854         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
22856         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
22858 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22860         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22861         Remove strpbrk objects.
22862         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22863         (__libc_ifunc_impl_list): Remove strpbrk implementation.
22864         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
22865         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
22866         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
22867         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
22869         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22870         Remove strcspn objects.
22871         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22872         (__libc_ifunc_impl_list): Remove strcspn implementation.
22873         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
22874         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
22875         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
22876         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
22878         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22879         Remove strspn objetcs.
22880         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22881         (__libc_ifunc_impl_list): Remove strspn implementation.
22882         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
22883         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
22884         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
22885         * sysdeps/powerpc/powerpc64/strspn.S: New file.
22887 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
22889         [BZ #17581]
22890         * malloc/hooks.c
22891         (mem2mem_check): Add a terminator to the chain of checking blocks.
22892         (malloc_check_get_size): Use it here.
22893         (mem2chunk_check): Ditto.
22895 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22897         * sysdeps/powerpc/powerpc64/strtok.S: New file.
22898         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
22900 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
22902         * bits/ioctl-types.h: Indent preprocessor directives correctly.
22904         * nptl/nptl-init.c: Include libc-internal.h.
22905         (__pthread_initialize_minimal_internal): Use ROUND_UP.
22907         * elf/ldconfig.c (search_dir): Expand comment.
22909 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
22911         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
22912         variable.
22913         (linknamespace-symlist-stdlibs-tests): Likewise.
22914         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
22915         instead of $(objpfx)symlist-stdlibs.
22916         (linknamespace-libs-isoc): New variable.
22917         (linknamespace-libs): Use $(linknamespace-libs-isoc).
22918         (linknamespace-libs-ISO): New variable.
22919         (linknamespace-libs-ISO99): Likewise.
22920         (linknamespace-libs-ISO11): Likewise.
22921         (linknamespace-libs-XPG3): Likewise.
22922         (linknamespace-libs-XPG4): Likewise.
22923         (linknamespace-libs-POSIX): Likewise.
22924         (linknamespace-libs-UNIX98): Likewise.
22925         (linknamespace-libs-XOPEN2K): Likewise.
22926         (linknamespace-libs-POSIX2008): Likewise.
22927         (linknamespace-libs-XOPEN2K8): Likewise.
22928         ($(objpfx)symlist-stdlibs): Replace by
22929         $(linknamespace-symlist-stdlibs-tests).  Use
22930         $(linknamespace-libs-$*) as set of libraries.
22931         ($(linknamespace-header-tests)): Update dependencies.  Use
22932         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
22933         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
22934         * conform/linknamespace.pl: Remove comment about considering
22935         definitions of symbols from irrelevant libraries.
22937 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
22939         [BZ #13862]
22940         * elf/dl-tls.c: Include <atomic.h>.
22941         (oom): Remove #ifdef SHARED/#endif.
22942         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
22943         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
22944         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
22945         big enough.
22946         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
22947         * nptl/Makefile (tests): Add tst-stack4.
22948         (modules-names): Add tst-stack4mod.
22949         ($(objpfx)tst-stack4): New.
22950         (tst-stack4mod.sos): Likewise.
22951         ($(objpfx)tst-stack4.out): Likewise.
22952         ($(tst-stack4mod.sos)): Likewise.
22953         (clean): Likewise.
22954         * nptl/tst-stack4.c: New file.
22955         * nptl/tst-stack4mod.c: Likewise.
22957 2014-11-27  J. Brown  <jb999@gmx.de>
22959         * sysdeps/x86/bits/string.h: Add recent CPUs.
22961 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
22963         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
22964         sigblock.
22966         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
22967         feof.
22969         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
22970         variable.
22972 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
22974         * nscd/connections.c: Include libc-internal.h because of macro
22975         usage ignore_value.
22977 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22979         * string/bits/string3.h (__warn_memset_zero_len): Don't
22980         declare for gcc newer than 5.0.
22981         (memset): Don't test for zero-length __LEN for gcc newer than
22982         5.0.
22984 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
22986         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
22987         size_t for %zu format.
22989         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
22990         difference, not %ju.
22992 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
22994         * include/libc-internal.h (ignore_value): New macro.
22995         * nscd/connections.c (restart): Wrap calls to setuid and setgid
22996         with ignore_value.
22998         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
22999         definition.
23001         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
23002         pthread_cleanup_push to void *.
23004         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
23005         Undefine.
23007         [BZ #16619]
23008         [BZ #16740]
23009         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
23010         instead of 1L << 52.
23012         * libio/bug-rewind.c (do_test): Check fwscanf return values.
23013         * libio/bug-rewind2.c (do_test): Likewise.
23015         * debug/test-stpcpy_chk-ifunc.c: Remove file.
23016         * debug/test-strcpy_chk-ifunc.c: Likewise.
23017         * wcsmbs/test-wcschr-ifunc.c: Likewise.
23018         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23019         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23020         * wcsmbs/test-wcslen-ifunc.c: Likewise.
23021         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23022         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23023         * Rules [$(multi-arch) = no] (tests): Do not filter out
23024         $(tests-ifunc).
23025         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
23026         * debug/Makefile (tests-ifunc): Remove variable.
23027         (tests): Do not add $(tests-ifunc).
23028         * wcsmbs/Makefile (tests-ifunc): Remove variable.
23029         (tests): Do not add $(tests-ifunc).
23030         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
23031         [TEST_IFUNC]: Remove conditionals.
23032         * string/test-string.h (TEST_IFUNC): Remove macro.
23033         [TEST_IFUNC]: Remove conditionals.
23035         * string/test-strchr.c [!WIDE] (L): New macro.
23036         [WIDE] (L): Likewise.
23037         (check1): Use CHAR instead of char.  Use L on string and character
23038         constants.
23040 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
23042         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
23043         tests.
23044         * sysdeps/powerpc/bits/atomic.h
23045         (__arch_atomic_exchange_and_add_32_acq): Add definition.
23046         (__arch_atomic_exchange_and_add_32_rel): Likewise.
23047         (atomic_exchange_and_add_acq): Likewise.
23048         (atomic_exchange_and_add_rel): Likewise.
23049         * sysdeps/powerpc/powerpc32/bits/atomic.h
23050         (__arch_atomic_exchange_and_add_64_acq): Add definition.
23051         (__arch_atomic_exchange_and_add_64_rel): Likewise.
23052         * sysdeps/powerpc/powerpc64/bits/atomic.h
23053         (__arch_atomic_exchange_and_add_64_acq): Add definition.
23054         (__arch_atomic_exchange_and_add_64_rel): Likewise.
23056 2014-11-26  Torvald Riegel  <triegel@redhat.com>
23058         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
23059         Change synchronization of __sched_fifo_min_prio and
23060         __sched_fifo_max_prio.
23061         * nptl/pthread_mutexattr_getprioceiling.c
23062         (pthread_mutexattr_getprioceiling): Likewise.
23063         * nptl/pthread_mutexattr_setprioceiling.c
23064         (pthread_mutexattr_setprioceiling): Likewise.
23065         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23066         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
23067         Likewise.
23069 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
23071         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
23072         void.
23074 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
23076         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
23077         third argument const.
23079 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
23081         fnmatch: work around GCC compiler warning bug with uninit var
23082         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
23083         This works around a bug with x86-64 GCC 4.9.2 and earlier
23084         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
23085         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
23086         used uninitialized in this function [-Wmaybe-uninitialized]".
23088 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
23090         * posix/bug-regex31.c (main): Return RES not 0.
23092 2014-11-25  Anton Blanchard <anton@samba.org>
23094         * sysdeps/powerpc/bits/atomic.h
23095         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
23097 2014-11-24  Sterling Augustine  <saugustine@google.com>
23099         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
23101 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
23103         [BZ #17608]
23104         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
23106 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
23108         [BZ #17633]
23109         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
23110         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
23111         variable.
23112         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
23113         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
23115 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
23117         * string/strncpy.c (strncpy): Improve performance by using memset.
23119 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
23121         * string/strcpy.c (strcpy):
23122         Improve performance by using strlen and memcpy.
23124 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
23126         * string/strcoll_l.c (get_next_seq): __always_inline.
23127         * string/strcoll_l.c (do_compare): __always_inline.
23129 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23131         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
23132         defined.
23133         * include/mqueue.h: Likewise.
23134         * include/stdlib.h: Likewise.
23136         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
23137         (get_null_defines): Adjust.
23138         * sunrpc/Makefile: Adjust comment.
23139         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
23140         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
23141         (CFLAGS-interp.c): Likewise.
23142         (CFLAGS-ldconfig.c): Likewise.
23143         (CPPFLAGS-.os): Likewise.
23144         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23145         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
23146         * extra-modules.mk (extra-modules.mk): Likewise.
23147         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
23148         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
23149         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
23150         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
23151         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
23152         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
23153         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
23154         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
23155         * iconvdata/Makefile (CPPFLAGS): Likewise.
23156         (cpp-srcs-left): Add libof for all iconvdata routines.
23157         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
23158         * include/assert.h: Likewise.
23159         * include/ctype.h: Likewise.
23160         * include/errno.h: Likewise.
23161         * include/libc-symbols.h: Likewise.
23162         * include/math.h: Likewise.
23163         * include/netdb.h: Likewise.
23164         * include/resolv.h: Likewise.
23165         * include/stdio.h: Likewise.
23166         * include/stdlib.h: Likewise.
23167         * include/string.h: Likewise.
23168         * include/sys/stat.h: Likewise.
23169         * include/wctype.h: Likewise.
23170         * intl/l10nflist.c: Likewise.
23171         * libidn/idn-stub.c: Likewise.
23172         * libio/libioP.h: Likewise.
23173         * nptl/libc_multiple_threads.c: Likewise.
23174         * nptl/pthreadP.h: Likewise.
23175         * posix/regex_internal.h: Likewise.
23176         * resolv/res_hconf.c: Likewise.
23177         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
23178         * sysdeps/arm/memmove.S: Likewise.
23179         * sysdeps/arm/sysdep.h: Likewise.
23180         * sysdeps/generic/_itoa.h: Likewise.
23181         * sysdeps/generic/symbol-hacks.h: Likewise.
23182         * sysdeps/gnu/errlist.awk: Likewise.
23183         * sysdeps/gnu/errlist.c: Likewise.
23184         * sysdeps/i386/i586/memcpy.S: Likewise.
23185         * sysdeps/i386/i586/memset.S: Likewise.
23186         * sysdeps/i386/i686/memcpy.S: Likewise.
23187         * sysdeps/i386/i686/memmove.S: Likewise.
23188         * sysdeps/i386/i686/mempcpy.S: Likewise.
23189         * sysdeps/i386/i686/memset.S: Likewise.
23190         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23191         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23192         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
23193         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
23194         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23195         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23196         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
23197         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23198         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23199         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23200         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23201         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23202         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23203         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23204         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23205         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23206         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
23207         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
23208         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
23209         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23210         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23211         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23212         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23213         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23214         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23215         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23216         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
23217         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23218         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
23219         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23220         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23221         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23222         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23223         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23224         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23225         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23226         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23227         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23228         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23229         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23230         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23231         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23232         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23233         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23234         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23235         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23236         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
23237         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
23238         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23239         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23240         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23241         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
23242         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
23243         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23244         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
23245         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
23246         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23247         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
23248         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
23249         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23250         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
23251         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23252         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
23253         * sysdeps/nptl/bits/libc-lock.h: Likewise.
23254         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
23255         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
23256         * sysdeps/posix/closedir.c: Likewise.
23257         * sysdeps/posix/opendir.c: Likewise.
23258         * sysdeps/posix/readdir.c: Likewise.
23259         * sysdeps/posix/rewinddir.c: Likewise.
23260         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
23261         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
23262         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23263         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23264         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23265         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
23266         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
23267         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
23268         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
23269         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
23270         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
23271         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
23272         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
23273         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
23274         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
23275         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
23276         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
23277         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
23278         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
23279         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
23280         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
23281         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
23282         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
23283         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
23284         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
23285         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
23286         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
23287         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
23288         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
23289         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
23290         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
23291         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
23292         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
23293         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
23294         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
23295         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
23296         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23297         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23298         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
23299         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
23300         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
23301         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
23302         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
23303         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23304         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
23305         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
23306         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
23307         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
23308         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
23309         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
23310         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
23311         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
23312         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
23313         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
23314         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
23315         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
23316         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
23317         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
23318         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
23319         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
23320         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
23321         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
23322         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
23323         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
23324         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
23325         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
23326         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
23327         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
23328         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
23329         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
23330         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
23331         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
23332         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
23333         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
23334         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
23335         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
23336         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
23337         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
23338         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
23339         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
23340         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
23341         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23342         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
23343         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
23344         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23345         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
23346         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
23347         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23348         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23349         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23350         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
23351         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
23352         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
23353         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23354         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23355         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
23356         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23357         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23358         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
23359         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
23360         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23361         * sysdeps/unix/alpha/sysdep.S: Likewise.
23362         * sysdeps/unix/alpha/sysdep.h: Likewise.
23363         * sysdeps/unix/make-syscalls.sh: Likewise.
23364         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23365         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23366         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23367         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
23368         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23369         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
23370         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
23371         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23372         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23373         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
23374         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23375         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23376         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23377         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
23378         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23379         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23380         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23381         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
23382         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
23383         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23384         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
23385         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23386         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23387         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23388         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23389         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23390         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
23392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
23393         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
23394         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23395         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23396         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23397         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23398         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
23399         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23400         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23401         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23402         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
23403         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
23404         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23405         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23406         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23407         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23408         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23409         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23410         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23411         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23412         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23413         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23414         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23415         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23416         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23417         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23418         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
23419         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23420         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23421         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23422         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
23423         * sysdeps/x86_64/memcpy.S: Likewise.
23424         * sysdeps/x86_64/memmove.c: Likewise.
23425         * sysdeps/x86_64/memset.S: Likewise.
23426         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
23427         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23428         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23429         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
23430         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
23431         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23432         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23433         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23434         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23435         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23436         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23437         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23438         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
23439         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23440         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23441         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
23442         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23443         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23444         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23445         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23446         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
23447         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23448         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23449         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23450         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23451         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23452         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23453         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
23454         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
23455         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23456         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
23457         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23458         * sysdeps/x86_64/strcmp.S: Likewise.
23460         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
23462         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
23463         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
23464         * elf/rtld-Rules: Likewise.
23465         * elf/setup-vdso.h: Likewise.
23466         * include/assert.h: Likewise.
23467         * include/bits/stdlib-float.h: Likewise.
23468         * include/errno.h: Likewise.
23469         * include/sys/stat.h: Likewise.
23470         * include/unistd.h: Likewise.
23471         * sysdeps/aarch64/setjmp.S: Likewise.
23472         * sysdeps/alpha/setjmp.S: Likewise.
23473         * sysdeps/arm/__longjmp.S: Likewise.
23474         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
23475         * sysdeps/arm/setjmp.S: Likewise.
23476         * sysdeps/arm/sysdep.h: Likewise.
23477         * sysdeps/generic/_itoa.h: Likewise.
23478         * sysdeps/generic/dl-sysdep.h: Likewise.
23479         * sysdeps/generic/ldsodefs.h: Likewise.
23480         * sysdeps/i386/dl-tls.h: Likewise.
23481         * sysdeps/i386/setjmp.S: Likewise.
23482         * sysdeps/m68k/setjmp.c: Likewise.
23483         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
23484         * sysdeps/mach/hurd/opendir.c: Likewise.
23485         * sysdeps/posix/getcwd.c: Likewise.
23486         * sysdeps/posix/opendir.c: Likewise.
23487         * sysdeps/posix/profil.c: Likewise.
23488         * sysdeps/powerpc/dl-procinfo.h: Likewise.
23489         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23490         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
23491         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
23492         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23493         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
23494         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
23495         * sysdeps/s390/dl-tls.h: Likewise.
23496         * sysdeps/s390/s390-32/setjmp.S: Likewise.
23497         * sysdeps/s390/s390-64/setjmp.S: Likewise.
23498         * sysdeps/sh/sh3/setjmp.S: Likewise.
23499         * sysdeps/sh/sh4/setjmp.S: Likewise.
23500         * sysdeps/unix/alpha/sysdep.h: Likewise.
23501         * sysdeps/unix/arm/sysdep.S: Likewise.
23502         * sysdeps/unix/i386/sysdep.S: Likewise.
23503         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23504         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
23505         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23506         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23507         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23508         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
23509         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
23510         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23511         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
23512         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
23513         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
23514         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23515         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23518         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23519         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23520         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23521         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23522         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23523         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23524         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23525         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23526         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23527         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23528         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23529         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23530         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23531         * sysdeps/x86_64/setjmp.S: Likewise.
23533         * include/math.h: Use IS_IN instead of IS_IN_libm.
23534         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
23535         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23536         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23537         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
23538         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23539         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23540         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23541         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23542         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23543         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23544         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
23545         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
23546         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
23547         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
23548         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
23549         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
23550         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
23551         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
23552         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
23553         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
23554         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
23555         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
23556         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
23557         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
23558         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
23559         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
23560         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
23561         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
23562         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
23563         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
23564         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
23565         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23566         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
23568         Likewise.
23569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
23570         Likewise.
23571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
23572         Likewise.
23573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
23574         Likewise.
23575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
23576         Likewise.
23577         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23578         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
23579         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23580         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23581         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23582         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
23584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
23585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
23586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
23587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
23588         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
23589         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
23590         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23591         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23592         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23593         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23594         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23595         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23596         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23597         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
23598         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
23599         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
23600         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
23601         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
23602         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23603         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
23605         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
23606         * nptl/pthreadP.h: Likewise.
23607         * nptl_db/structs.def: Likewise.
23608         * sysdeps/arm/sysdep.h: Likewise.
23609         * sysdeps/nptl/bits/libc-lock.h: Likewise.
23610         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
23611         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
23612         * sysdeps/unix/alpha/sysdep.h: Likewise.
23613         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23614         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23615         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23616         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23617         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23618         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23619         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23620         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23621         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23622         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23623         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23624         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23625         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23626         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
23628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
23629         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23630         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23631         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23632         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23633         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23634         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23635         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23636         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23637         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
23638         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23640         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
23641         * nptl/pthreadP.h: Likewise.
23642         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23643         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23644         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23645         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23646         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23647         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23648         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23649         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23650         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23651         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23652         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23653         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
23655         Likewise.
23656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
23657         Likewise.
23658         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23659         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23660         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23661         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23662         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23663         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23664         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23665         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23667         * dlfcn/dladdr.c: Use IS_IN.
23668         * dlfcn/dladdr1.c: Likewise.
23669         * dlfcn/dlclose.c: Likewise.
23670         * dlfcn/dlerror.c: Likewise.
23671         * dlfcn/dlinfo.c: Likewise.
23672         * dlfcn/dlmopen.c: Likewise.
23673         * dlfcn/dlopen.c: Likewise.
23674         * dlfcn/dlsym.c: Likewise.
23675         * dlfcn/dlvsym.c: Likewise.
23677         * include/ifaddrs.h: Use IS_IN.
23678         * inet/check_pf.c: Likewise.
23679         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23680         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
23682         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
23683         IS_IN_ldconfig.
23684         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
23685         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
23687         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
23688         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
23689         IS_IN (libc).
23691         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
23693         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
23694         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23695         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
23696         * include/libc-symbols.h (IS_IN_LIB): New macro.
23697         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
23698         * include/netdb.h: Likewise.
23699         * include/stap-probe.h: Remove all uses of IN_LIB.
23701         * Makeconfig (module-cppflags-real): Define MODULE_NAME
23702         instead of IN_MODULE.
23703         * include/libc-symbols.h (IN_MODULE): Define using
23704         MODULE_NAME.
23705         (PASTE_NAME, PASTE_NAME1): New macros.
23706         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
23707         of IN_LIB.
23708         (STAP_PROBE_ASM): Likewise.
23710 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23712         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
23713         __mach_init in dlopened libc.
23715 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
23717         * sysdeps/arm/preconfigure.ac: Delete EABI check.
23718         * sysdeps/arm/preconfigure: Regenerate.
23720 2014-11-21  Roland McGrath  <roland@hack.frob.com>
23722         * nptl/pthread_create.c (__pthread_create_2_1): Set
23723         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
23724         when copying values from IATTR into PD.
23726 2014-11-21  Will Newton  <will.newton@linaro.org>
23727             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
23729         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
23730         Refactor inline-asm.  Also add comment.
23732         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
23733         ElfW macro instead of hardcoded Elf64 types.
23734         (la_aarch64_gnu_pltenter): Likewise.
23735         * sysdeps/aarch64/dl-machine.h
23736         (elf_machine_runtime_setup): Use ElfW(Addr).
23738         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
23739         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
23740         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
23741         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
23742         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
23743         (R_AARCH64_TLS_DTPMOD64): Rename to ..
23744         (R_AARCH64_TLS_DTPMOD): This.
23745         (R_AARCH64_TLS_DTPREL64): Rename to ...
23746         (R_AARCH64_TLS_DTPREL): This.
23747         (R_AARCH64_TLS_TPREL64): Rename to ...
23748         (R_AARCH64_TLS_TPREL): This.
23749         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
23750         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
23751         R_AARCH64_TLS_TPREL64.
23752         (elf_machine_rela): Likewise.
23754 2014-11-21  Torvald Riegel  <triegel@redhat.com>
23756         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
23757         by setting it to 0.  64b atomics are not supported currently.
23759 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23761         [BZ #16469]
23762         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
23763         search domain names.
23765 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23767         [BZ #16469]
23768         * NEWS: Update.
23769         * resolv/res_query.c (__libc_res_nquerydomain): Retain
23770         trailing dot.
23771         * posix/tst-getaddrinfo5.c: New.
23772         * posix/Makefile (tests): Add it.
23774 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23776         [BZ #14498]
23777         * NEWS: Fixed.
23778         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
23779         after parsing line but before break_if_match.
23780         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
23781         if there is a protocol mismatch.
23783 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
23785         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
23786         because the potential race is on the user-supplied stream.
23788 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23790         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
23791         string literal if not passed a buffer.
23792         * manual/job.texi (ctermid): Update reasoning, note deviation
23793         from posix, suggest mtasurace when not passed a buffer, for
23794         future non-preliminary safety notes.
23796 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23798         * manual/users.texi (cuserid): Fix MT-Safety note for the case
23799         of not passing it a buffer.
23800         Reported by Peng Haitao.
23802 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23804         * manual/Makefile ($(objpfx)stamp-summary): Require
23805         check-safety.sh to pass.
23806         * manual/check-safety.sh: Wish for verification that every
23807         @deftypefn and @deftypefun is followed by a @safety remark.
23809 2014-11-20  Roland McGrath  <roland@hack.frob.com>
23811         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
23813         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
23814         PTHREAD_CANCEL_ASYNCHRONOUS.
23815         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
23816         send SIGCANCEL.
23818         * nptl/default-sched.h: New file.
23819         * sysdeps/unix/sysv/linux/default-sched.h: New file.
23820         * nptl/pthread_create.c: Include it.
23821         (__pthread_create_2_1): Use collect_default_sched instead of making
23822         Linux syscalls here directly.
23824 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23826         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
23827         __pthread_once): Use C11 atomics.
23829 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23831         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
23833 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23835         * include/atomic.h (__atomic_link_error, __atomic_check_size,
23836         atomic_thread_fence_acquire, atomic_thread_fence_release,
23837         atomic_thread_fence_seq_cst, atomic_load_relaxed,
23838         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
23839         atomic_compare_exchange_weak_relaxed,
23840         atomic_compare_exchange_weak_acquire,
23841         atomic_compare_exchange_weak_release,
23842         atomic_exchange_acquire, atomic_exchange_release,
23843         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
23844         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
23845         atomic_fetch_and_acquire,
23846         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
23848 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23850         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
23851         USE_ATOMIC_COMPILER_BUILTINS): Define.
23852         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
23853         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23854         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
23855         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23856         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
23857         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23858         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
23859         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23860         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
23861         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23862         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
23863         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23864         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
23865         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23866         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
23867         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23868         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
23869         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23870         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
23871         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23872         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
23873         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23874         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
23875         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23876         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
23877         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23878         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
23879         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23880         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
23881         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23882         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
23883         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23884         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
23885         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23886         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
23887         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23888         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
23889         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23890         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
23891         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23893 2014-11-19  Roland McGrath  <roland@hack.frob.com>
23895         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
23896         the sched_priority value here.  It was already checked when the user
23897         called pthread_attr_setschedparam.
23899         * nptl/tst-bad-schedattr.c: New file.
23900         * nptl/Makefile (tests): Add it.
23902 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
23903             Florian Weimer  <fweimer@redhat.com>
23904             Joseph Myers  <joseph@codesourcery.com>
23905             Adam Conrad  <adconrad@0c3.net>
23906             Andreas Schwab  <schwab@suse.de>
23907             Brooks  <bmoses@google.com>
23909         [BZ #17625]
23910         * wordexp-test.c (__dso_handle): Add prototype.
23911         (__register_atfork): Likewise.
23912         (__app_register_atfork): New function.
23913         (registered_forks): New global.
23914         (register_fork): New function.
23915         (test_case): Add 3 new tests for WRDE_CMDSUB.
23916         (main): Call __app_register_atfork.
23917         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
23918         fork count is non-zero fail the test.
23919         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
23920         is set.
23921         (parse_dollars): Remove check for WRDE_NOCMD.
23922         (parse_dquote): Likewise.
23924 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23926         * Makeconfig (built-modules): List non-library modules to be
23927         built.
23928         (module-cppflags): Include libc-modules.h for
23929         everything except shlib-versions.v.i.
23930         (CPPFLAGS): Use it.
23931         (before-compile): Add libc-modules.h.
23932         ($(common-objpfx)libc-modules.h,
23933         $(common-objpfx)libc-modules.stmp): New targets.
23934         (common-generated): Add libc-modules.h and libc-modules.stmp.
23935         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
23936         * include/libc-symbols.h: Don't include libc-modules.h.
23937         * include/libc-modules.h: Remove file.
23938         * scripts/gen-libc-modules.awk: New script to generate
23939         libc-modules.h.
23940         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
23941         Depend on libc-modules.stmp.
23943         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
23945         * Makeconfig (in-module): Get value of libof set for the
23946         translation unit.
23947         (CPPFLAGS): Use $(in-module).
23948         * Makerules: Don't suffix routine names for nonlib.
23949         * include/libc-modules.h: New file.
23950         * include/libc-symbols.h: Include libc-modules.h
23951         (IS_IN): New macro to replace IS_IN_* macros.
23952         * elf/Makefile: Set libof-* for each routine.
23953         * elf/rtld-Rules: Likewise.
23954         * extra-modules.mk: Likewise.
23955         * iconv/Makefile: Likewise.
23956         * iconvdata/Makefile: Likewise.
23957         * locale/Makefile: Likewise.
23958         * malloc/Makefile: Likewise.
23959         * nss/Makefile: Likewise.
23960         * sysdeps/gnu/Makefile: Likewise.
23961         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
23962         * sysdeps/unix/sysv/linux/Makefile: Likewise.
23963         * sysdeps/s390/s390-64/Makefile: Likewise.
23964         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
23965         CPPFLAGS for nscd instead of nonlib.
23967 2014-11-18  Roland McGrath  <roland@hack.frob.com>
23969         * nptl/createthread.c: New file.
23971         * nptl/createthread.c: Moved ...
23972         * sysdeps/unix/sysv/linux/createthread.c: ... here.
23974         * nptl/createthread.c: Add proper top-line comment.
23975         (do_clone): Folded into ...
23976         (create_thread): ... here.  Take new arguments STOPPED_START and
23977         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
23978         increment __nptl_threads, do event-reporting logic, do
23979         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
23980         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
23981         resource cleanup if sched_setaffinity or sched_setscheduler fails,
23982         just send SIGCANCEL.
23983         * nptl/pthread_create.c: Forward-declare create_thread before
23984         including createthread.c.
23985         (start_thread): Use new macro START_THREAD_DEFN to replace defining
23986         declaration, and new macro START_THREAD_SELF to replace argument.
23987         Remove return statement.
23988         (report_thread_creation): New function.
23989         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
23990         synchronization logic, and __nptl_nthreads increment here, around
23991         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
23992         PD->parent_cancelhandling here, before create_thread.  When
23993         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
23994         __deallocate_stack, and ENOMEM translation here.
23996 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
23998         [BZ #17616]
23999         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
24000         (mptwo): Rename to __mptwo.
24001         (__inv): Use __mptwo instead of mptwo.
24002         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
24003         (mptwo): Rename to __mptwo.
24004         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
24005         of mpone and __mptwo instead of mptwo.
24006         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
24007         instead of mpone.
24008         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24009         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
24010         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
24011         of mpone and __mptwo instead of mptwo.
24012         (__mpranred): Use __mpone instead of mpone.
24013         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
24014         variable.
24015         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
24016         (test-xfail-ISO99/math.h/linknamespace): Likewise.
24017         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
24018         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
24019         (test-xfail-ISO11/math.h/linknamespace): Likewise.
24020         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
24021         (test-xfail-XPG3/math.h/linknamespace): Likewise.
24022         (test-xfail-XPG4/math.h/linknamespace): Likewise.
24023         (test-xfail-POSIX/math.h/linknamespace): Likewise.
24024         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
24025         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
24026         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
24027         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
24028         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
24029         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
24030         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
24031         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
24032         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
24033         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
24035 2014-11-18  Tom de Vries  <tom@codesoucery.com>
24037         * manual/signal.texi (Primitives Interrupted by Signals): In section,
24038         replace BSD Handler xref with BSD Signal Handling.
24040 2014-11-17  Richard Henderson  <rth@redhat.com>
24042         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
24043         (_FP_PACK_RAW_2): Remove.
24044         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
24045         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
24046         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
24047         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
24048         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
24049         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
24050         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
24051         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
24052         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
24053         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
24054         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
24055         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
24056         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
24057         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
24058         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
24059         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
24061 2014-11-14  Roland McGrath  <roland@hack.frob.com>
24063         * signal/signal.h [__USE_MISC]
24064         (struct sigvec): Remove type.
24065         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
24066         (sigvec): Remove declaration.
24067         * sysdeps/posix/sigvec.c: Moved ...
24068         * signal/sigvec.c: ... here, replacing old file.
24069         (struct sigvec): New type, copied from old signal.h definition.
24070         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
24071         (__sigvec): Convert definition to prototype.
24072         (sigvec): Replace weak_alias with compat_symbol.
24073         * signal/Versions (libc: GLIBC_2.21): New version set.
24074         * include/signal.h: Remove __sigvec declaration.
24075         * sysdeps/unix/bsd/sigvec.c: Remove file.
24076         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
24077         * manual/signal.texi (BSD Handler): Remove subsection.
24078         Move siginterrupt up to ...
24079         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
24080         (Blocking in BSD): Fold subsection into its parent.
24081         * NEWS: Mention sigvec removal.
24083 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
24085         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
24086         (DLA_FMS): Make definition conditional only on [__FMA4__].
24087         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
24088         definition.
24090         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
24091         Make definition conditional only on [PROF].
24092         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
24093         definition.
24094         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
24095         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
24097         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
24098         !__GNUC__].
24099         * include/signal.h (__sigpause): Move declaration above call to
24100         libc_hidden_proto.
24101         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
24102         variable.
24103         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
24104         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
24106 2014-11-14  David S. Miller  <davem@davemloft.net>
24108         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
24109         Define before including <string/memcpy.c> and <string/mempcpy.c>.
24111 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
24113         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
24114         * configure: Regenerated.
24115         * manual/install.texi (Tools for Compilation): Document a
24116         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
24117         compiler verified to work.
24118         * INSTALL: Regenerated.
24120         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
24121         redeclare with asm name.
24122         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
24123         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
24124         including <string.h>.
24125         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24126         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
24127         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24128         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
24129         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24130         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24131         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24133 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
24135         * stdlib/strtol.c (__strtol): Use prototype definition.
24137         [BZ #17594]
24138         * stdlib/strtol.c (SYM__): New macro.
24139         (SYM__1): Likewise.
24140         (__strtol): Likewise.
24141         (strtol): Rename to __strtol and define as weak alias of
24142         __strtol.  Use libc_hidden_weak.
24144 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24146         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
24147         Use numbered labels in inline assembly.
24149 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24151         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
24152         Add setjmp LIBC_PROBE.
24153         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
24154         Likewise.
24155         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
24156         Add longjmp, longjmp_target LIBC_PROBE.
24157         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
24158         Likewise.
24160 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24162         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24163         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
24164         to get rid of unused variable warning.
24166 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24168         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
24169         Check for unwind_backtrace ==  NULL only in SHARED case.
24170         (__backchain_backtrace): Compile only in SHARED case.
24171         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
24172         Likewise.
24173         (__backchain_backtrace): Declare as static.
24175 2014-11-12  Roland McGrath  <roland@hack.frob.com>
24177         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
24178         (__libc_multiple_threads_ptr): Variable moved ...
24179         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
24181 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
24183         * conform/GlibcConform.pm: New file.
24184         * conform/conformtest.pl: Use GlibcConform module.
24185         * conform/linknamespace.pl: New file.
24186         * conform/list-header-symbols.pl: Likewise.
24187         * conform/Makefile (linknamespace-symlists-base): New variable.
24188         (linknamespace-symlists-tests): Likewise.
24189         (linknamespace-header-base): Likewise.
24190         (linknamespace-header-tests): Likewise.
24191         (tests-special): Add new tests.
24192         ($(linknamespace-symlists-tests)): New rule.
24193         (linknamespace-libs): New variable.
24194         ($(objpfx)symlist-stdlibs): New rule.
24195         ($(linknamespace-header-tests)): Likewise.
24196         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
24197         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
24198         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
24199         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
24200         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
24201         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
24202         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
24203         (test-xfail-ISO/math.h/linknamespace): Likewise.
24204         (test-xfail-ISO/signal.h/linknamespace): Likewise.
24205         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
24206         (test-xfail-ISO/time.h/linknamespace): Likewise.
24207         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
24208         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
24209         (test-xfail-ISO99/math.h/linknamespace): Likewise.
24210         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
24211         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24212         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
24213         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
24214         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
24215         (test-xfail-ISO11/math.h/linknamespace): Likewise.
24216         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
24217         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24218         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
24219         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
24220         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
24221         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
24222         (test-xfail-XPG3/math.h/linknamespace): Likewise.
24223         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
24224         (test-xfail-XPG3/search.h/linknamespace): Likewise.
24225         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
24226         (test-xfail-XPG3/time.h/linknamespace): Likewise.
24227         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
24228         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
24229         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
24230         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
24231         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
24232         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
24233         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
24234         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
24235         (test-xfail-XPG4/math.h/linknamespace): Likewise.
24236         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
24237         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
24238         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
24239         (test-xfail-XPG4/search.h/linknamespace): Likewise.
24240         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
24241         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
24242         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
24243         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
24244         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
24245         (test-xfail-XPG4/time.h/linknamespace): Likewise.
24246         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
24247         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
24248         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
24249         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
24250         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
24251         (test-xfail-POSIX/math.h/linknamespace): Likewise.
24252         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
24253         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
24254         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
24255         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
24256         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
24257         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
24258         (test-xfail-POSIX/time.h/linknamespace): Likewise.
24259         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
24260         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
24261         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
24262         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
24263         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
24264         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
24265         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
24266         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
24267         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
24268         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
24269         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
24270         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
24271         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
24272         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
24273         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
24274         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
24275         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
24276         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
24277         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
24278         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
24279         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
24280         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
24281         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
24282         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
24283         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
24284         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
24285         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
24286         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
24287         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
24288         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
24289         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
24290         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
24291         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
24292         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
24293         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
24294         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
24295         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
24296         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
24297         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
24298         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
24299         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
24300         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
24301         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
24302         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
24303         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
24304         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
24305         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
24306         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
24307         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
24308         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
24309         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
24310         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
24311         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
24312         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
24313         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
24314         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
24315         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
24316         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
24317         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
24318         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
24319         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
24320         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
24321         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
24322         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
24323         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
24324         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
24325         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
24326         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
24327         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
24328         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
24329         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
24330         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
24331         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
24332         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
24333         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
24334         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
24335         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
24336         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
24337         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
24338         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
24339         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
24340         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
24341         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
24342         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
24343         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
24344         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
24345         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
24346         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
24347         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
24348         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
24349         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
24350         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
24351         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
24352         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
24353         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
24354         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
24355         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
24356         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
24358         [BZ #17589]
24359         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
24360         of fgets_unlocked.
24362         [BZ #17585]
24363         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
24364         (memmem): Rename to __memmem and define as weak alias of
24365         __memmem.  Use libc_hidden_weak.
24366         (__memmem): Use libc_hidden_def.
24367         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
24368         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
24369         memmem.
24371         [BZ #17582]
24372         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
24373         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
24374         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
24375         and define as weak alias of __fgets_unlocked.  Use
24376         libc_hidden_weak.
24377         (__fgets_unlocked): Use libc_hidden_def.
24378         * include/stdio.h (__fgets_unlocked): Declare.  Use
24379         libc_hidden_proto.
24380         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
24381         __fgets_unlocked instead of fgets_unlocked.
24382         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
24383         (GET_NPROCS_CONF_PARSER): Likewise.
24384         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
24385         (GET_NPROCS_CONF_PARSER): Likewise.
24387         [BZ #17574]
24388         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
24389         weak alias of __wmemset.  Use libc_hidden_weak.
24390         (__wmemset): Use libc_hidden_def.
24391         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
24392         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
24393         of wmemset.
24395         [BZ #17573]
24396         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
24397         with asm name __mempcpy.
24398         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
24400         [BZ #17572]
24401         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
24402         and define as weak alias of __rawmemchr.
24403         (__rawmemchr): Do not define as strong alias of rawmemchr.
24405         [BZ #17571]
24406         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
24407         alias of __qsort_r.
24408         (qsort): Call __qsort_r instead of qsort_r.
24409         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
24410         (__qsort_r): Declare.  Call libc_hidden_proto.
24411         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
24412         instead of qsort_r.
24413         * nscd/gai.c (__qsort_r): Define to qsort_r.
24414         * posix/tst-rfc3484.c (__qsort_r): Likewise.
24415         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
24416         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
24418         [BZ #17570]
24419         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
24420         define as weak alias of __malloc_info.
24422         [BZ #17584]
24423         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
24424         as weak alias of __rewinddir.  Don't use libc_hidden_def.
24425         (__rewinddir): Use libc_hidden_def.
24426         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
24427         as weak alias of __rewinddir.  Don't use libc_hidden_def.
24428         (__rewinddir): Use libc_hidden_def.
24429         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
24430         weak alias of __rewinddir.  Don't use libc_hidden_def.
24431         (__rewinddir): Use libc_hidden_def.
24432         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
24433         (__rewinddir): Use libc_hidden_proto.
24434         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
24435         rewinddir.
24436         (__getcwd): Use __rewinddir instead of rewinddir.
24438         [BZ #17583]
24439         * libio/fileno.c (fileno): Rename to __fileno and define as weak
24440         alias of __fileno.  Use libc_hidden_weak.
24441         (__fileno): Use libc_hidden_def.
24442         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
24443         * libio/ftello.c (ftello): Rename to __ftello and define as weak
24444         alias of __ftello.
24445         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
24446         __ftello.
24447         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
24448         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
24449         libc_hidden_def.
24450         (fread_unlocked): Don't use libc_hidden_ver.
24451         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
24452         and define as weak alias of __fread_unlocked.  Don't use
24453         libc_hidden_def.
24454         (__fread_unlocked): Use libc_hidden_def.
24455         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
24456         (ftello): Don't use libc_hidden_proto.
24457         (__ftello): Declare.  Use libc_hidden_proto.
24458         (fread_unlocked): Don't use libc_hidden_proto.
24459         (__fread_unlocked): Declare.  Use libc_hidden_proto.
24460         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
24461         and __ftello instead of fileno, fread_unlocked and ftello.
24463 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24465         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
24466         GOT12.
24467         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
24468         Likewise.
24469         (_dl_start_user): Likewise.
24470         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
24472 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
24473             Siddhesh Poyarekar  <siddhesh@redhat.com>
24475         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
24476         Move argv and envp down instead of moving argc up.
24477         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
24479 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
24481         [BZ #17506]
24482         * test-skeleton.c (main): Return successful if one of
24483         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
24484         * string/tst-strcoll-overflow.c: Define expected status.
24486 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
24488         [BZ #17475]
24489         * locale/iso-639.def: Define Bhili and Tulu language codes.
24491 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
24493         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
24495 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
24497         [BZ #17555]
24498         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
24500 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
24502         * configure.ac: Updated check of minimal required version to
24503         2.22.
24504         * manual/install.texi (Tools for Compilation): Updated version
24505         number.
24506         * configure: Regenerated.
24507         * INSTALL: Likewise.
24509 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
24511         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
24512         __tls_get_addr.
24514 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
24516         * include/sys/wait.h (__libc_waitpid): Remove declaration.
24517         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
24518         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24519         libc_hidden_weak.
24520         (waitpid): Define as alias of __waitpid.
24521         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
24522         __waitpid.
24523         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24524         libc_hidden_weak.
24525         (waitpid): Define as alias of __waitpid.
24526         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
24527         __libc_waitpid alias.
24528         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
24529         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
24530         Likewise.
24531         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
24532         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
24533         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
24534         alias.
24535         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
24536         __waitpid.
24537         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24538         libc_hidden_weak.
24539         (waitpid): Define as alias of __waitpid.
24541 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
24543         * manual/llio.texi: Add comment that write safety has been
24544         fixed in Linux.
24546         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
24547         (localplt-build-dso): Add elf/ld.so.
24548         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
24549         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
24550         and free for ld.so.
24551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
24552         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
24553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
24554         Likewise.
24555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
24556         Likewise.
24557         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
24558         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
24559         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
24560         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
24561         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
24562         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
24563         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
24564         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
24565         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
24566         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
24567         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
24569 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
24571         [BZ #14132]
24572         * include/libc-symbols.h (INTUSE): Remove macro.
24573         (INTDEF): Likewise.
24574         (INTVARDEF): Likewise.
24575         (_INTVARDEF): Likewise.
24576         (INTDEF2): Likewise.
24577         (INTVARDEF2): Likewise.
24578         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
24579         rtld_hidden_def instead of INTVARDEF.
24580         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
24581         (_dl_starting_up_internal): Remove declaration.
24582         (_dl_starting_up): Use rtld_hidden_proto.
24583         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
24584         declaration.
24585         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
24586         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
24587         _dl_starting_up.
24588         * elf/dl-writev.h (_dl_writev): Likewise.
24589         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
24590         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
24591         _dl_starting_up_internal.
24593 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24595         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
24596         test-skeleton.c.
24598 2014-11-05  Will Newton  <will.newton@linaro.org>
24600         * benchtests/Makefile: (bench-malloc): Add malloc thread
24601         scalability benchmark.
24602         * benchtests/bench-malloc-threads.c: New file.
24604 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
24606         * sysdeps/aarch64/strchrnul.S: New file.
24608 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24610         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
24611         definition.
24612         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
24613         Likwise.
24614         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
24615         Likewise.
24616         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
24617         Likewise.
24618         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
24619         Likewise.
24620         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
24621         Likewise.
24623 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
24625         * catgets/test-gencat.c: Use test-skeleton.c.
24626         * catgets/tst-catgets.c: Likewise.
24627         * csu/tst-empty.c: Likewise.
24628         * elf/tst-audit2.c: Likewise.
24629         * elf/tst-global1.c: Likewise.
24630         * elf/tst-pathopt.c: Likewise.
24631         * elf/tst-piemod1.c: Likewise.
24632         * elf/tst-tls10.c: Likewise.
24633         * elf/tst-tls11.c: Likewise.
24634         * elf/tst-tls12.c: Likewise.
24635         * gnulib/tst-gcc.c: Likewise.
24636         * iconvdata/tst-e2big.c: Likewise.
24637         * iconvdata/tst-loading.c: Likewise.
24638         * iconv/tst-iconv1.c: Likewise.
24639         * iconv/tst-iconv2.c: Likewise.
24640         * inet/test-inet6_opt.c: Likewise.
24641         * inet/tst-gethnm.c: Likewise.
24642         * inet/tst-network.c: Likewise.
24643         * inet/tst-ntoa.c: Likewise.
24644         * intl/tst-codeset.c: Likewise.
24645         * intl/tst-gettext2.c: Likewise.
24646         * intl/tst-gettext3.c: Likewise.
24647         * intl/tst-ngettext.c: Likewise.
24648         * intl/tst-translit.c: Likewise.
24649         * io/test-stat.c: Likewise.
24650         * libio/test-fmemopen.c: Likewise.
24651         * libio/tst-freopen.c: Likewise.
24652         * libio/tst-sscanf.c: Likewise.
24653         * libio/tst-ungetwc1.c: Likewise.
24654         * libio/tst-ungetwc2.c: Likewise.
24655         * libio/tst-widetext.c: Likewise.
24656         * localedata/tst-ctype.c: Likewise.
24657         * localedata/tst-digits.c: Likewise.
24658         * localedata/tst-leaks.c: Likewise.
24659         * localedata/tst-mbswcs1.c: Likewise.
24660         * localedata/tst-mbswcs2.c: Likewise.
24661         * localedata/tst-mbswcs3.c: Likewise.
24662         * localedata/tst-mbswcs4.c: Likewise.
24663         * localedata/tst-mbswcs5.c: Likewise.
24664         * localedata/tst-setlocale.c: Likewise.
24665         * localedata/tst-trans.c: Likewise.
24666         * localedata/tst-wctype.c: Likewise.
24667         * localedata/tst-xlocale1.c: Likewise.
24668         * login/tst-grantpt.c: Likewise.
24669         * malloc/tst-calloc.c: Likewise.
24670         * malloc/tst-malloc.c: Likewise.
24671         * malloc/tst-mallocstate.c: Likewise.
24672         * malloc/tst-mcheck.c: Likewise.
24673         * malloc/tst-mtrace.c: Likewise.
24674         * malloc/tst-obstack.c: Likewise.
24675         * math/atest-exp2.c: Likewise.
24676         * math/atest-exp.c: Likewise.
24677         * math/atest-sincos.c: Likewise.
24678         * math/test-matherr.c: Likewise.
24679         * math/test-misc.c: Likewise.
24680         * math/test-powl.c: Likewise.
24681         * math/tst-definitions.c: Likewise.
24682         * misc/tst-dirname.c: Likewise.
24683         * misc/tst-efgcvt.c: Likewise.
24684         * misc/tst-fdset.c: Likewise.
24685         * misc/tst-hsearch.c: Likewise.
24686         * misc/tst-mntent2.c: Likewise.
24687         * nptl/tst-sem7.c: Likewise.
24688         * nptl/tst-sem8.c: Likewise.
24689         * nptl/tst-sem9.c: Likewise.
24690         * nss/test-netdb.c: Likewise.
24691         * posix/tst-fnmatch.c: Likewise.
24692         * posix/tst-getlogin.c: Likewise.
24693         * posix/tst-gnuglob.c: Likewise.
24694         * posix/tst-mmap.c: Likewise.
24695         * pwd/tst-getpw.c: Likewise.
24696         * resolv/tst-inet_ntop.c: Likewise.
24697         * rt/tst-timer.c: Likewise.
24698         * stdio-common/test-fseek.c: Likewise.
24699         * stdio-common/test-popen.c: Likewise.
24700         * stdio-common/test-vfprintf.c: Likewise.
24701         * stdio-common/tst-cookie.c: Likewise.
24702         * stdio-common/tst-fileno.c: Likewise.
24703         * stdio-common/tst-gets.c: Likewise.
24704         * stdio-common/tst-obprintf.c: Likewise.
24705         * stdio-common/tst-perror.c: Likewise.
24706         * stdio-common/tst-sprintf2.c: Likewise.
24707         * stdio-common/tst-sprintf3.c: Likewise.
24708         * stdio-common/tst-sprintf.c: Likewise.
24709         * stdio-common/tst-swprintf.c: Likewise.
24710         * stdio-common/tst-tmpnam.c: Likewise.
24711         * stdio-common/tst-unbputc.c: Likewise.
24712         * stdio-common/tst-wc-printf.c: Likewise.
24713         * stdlib/tst-environ.c: Likewise.
24714         * stdlib/tst-fmtmsg.c: Likewise.
24715         * stdlib/tst-limits.c: Likewise.
24716         * stdlib/tst-rand48-2.c: Likewise.
24717         * stdlib/tst-rand48.c: Likewise.
24718         * stdlib/tst-random2.c: Likewise.
24719         * stdlib/tst-random.c: Likewise.
24720         * stdlib/tst-strtol.c: Likewise.
24721         * stdlib/tst-strtoll.c: Likewise.
24722         * stdlib/tst-tls-atexit.c: Likewise.
24723         * stdlib/tst-xpg-basename.c: Likewise.
24724         * string/test-ffs.c: Likewise.
24725         * string/tst-bswap.c: Likewise.
24726         * string/tst-inlcall.c: Likewise.
24727         * string/tst-strtok.c: Likewise.
24728         * string/tst-strxfrm.c: Likewise.
24729         * sysdeps/x86_64/tst-audit10.c: Likewise.
24730         * sysdeps/x86_64/tst-audit3.c: Likewise.
24731         * sysdeps/x86_64/tst-audit4.c: Likewise.
24732         * sysdeps/x86_64/tst-audit5.c: Likewise.
24733         * time/tst-ftime_l.c: Likewise.
24734         * time/tst-getdate.c: Likewise.
24735         * time/tst-mktime3.c: Likewise.
24736         * time/tst-mktime.c: Likewise.
24737         * time/tst-posixtz.c: Likewise.
24738         * time/tst-strptime2.c: Likewise.
24739         * time/tst-strptime3.c: Likewise.
24740         * wcsmbs/tst-btowc.c: Likewise.
24741         * wcsmbs/tst-mbrtowc.c: Likewise.
24742         * wcsmbs/tst-mbsrtowcs.c: Likewise.
24743         * wcsmbs/tst-wchar-h.c: Likewise.
24744         * wcsmbs/tst-wcpncpy.c: Likewise.
24745         * wcsmbs/tst-wcrtomb.c: Likewise.
24746         * wcsmbs/tst-wcsnlen.c: Likewise.
24747         * wcsmbs/tst-wcstof.c: Likewise.
24749 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
24751         [BZ #14132]
24752         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
24753         INTDEF.
24754         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
24755         declaration.
24756         (_dl_mcount): Use rtld_hidden_proto.
24757         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
24758         _dl_mcount.
24759         * elf/rtld.c (_rtld_global_ro): Likewise.
24761         [BZ #14132]
24762         * elf/dl-init.c (_dl_init): Don't use INTDEF.
24763         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
24764         of _dl_init_internal.
24765         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
24766         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
24767         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
24768         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
24769         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
24770         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
24771         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
24772         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
24773         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
24774         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
24775         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
24776         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
24777         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24778         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24779         * sysdeps/tile/dl-start.S (_start): Likewise.
24780         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
24781         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
24783         [BZ #14132]
24784         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
24785         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
24786         (rtld_progname): Make macro definition unconditional.
24787         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
24788         INTDEF.
24789         (dlmopen_doit): Do not use INTUSE with _dl_argv.
24790         (dl_main): Likewise.
24791         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24792         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
24793         instead of _dl_argv_internal.
24794         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24795         __GI__dl_argv instead of INTUSE(_dl_argv).
24796         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
24797         __GI__dl_argv instead of _dl_argv_internal.
24799         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
24800         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
24801         macro.
24802         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
24803         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
24804         New macro.
24805         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
24806         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
24807         macro.
24808         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
24809         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
24811 2014-11-04  Andreas Schwab  <schwab@suse.de>
24813         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
24815 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24817         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
24818         mtvsrd instruction in binary form.
24820 2014-11-03  Andreas Schwab  <schwab@suse.de>
24822         [BZ #17522]
24823         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
24824         for less than MB_LEN_MAX use a local buffer of that size.
24825         * libio/tst-fputws.c: New file.
24826         * libio/Makefile (tests): Add tst-fputws.
24828 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
24830         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
24831         the size of the fpu_fr.fpu_dregs[] array.
24833 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
24835         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
24836         (__nanosleep): Do not define as alias.
24837         (nanosleep): Define as alias of __nanosleep.
24838         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
24839         __libc_nanosleep name.
24841 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
24843         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
24844         install.texi in comment.
24846 2014-10-31  Torvald Riegel  <triegel@redhat.com>
24848         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
24849         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
24850         ... add here and use lwsync or sync ...
24851         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
24852         ... and add here using lwsync.
24854 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
24856         * elf/dl-machine-reject-phdr.h: New file.
24857         * elf/dl-load.c: #include that.
24858         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
24859         if that returned true.
24861 2014-10-31  Roland McGrath  <roland@hack.frob.com>
24863         [BZ #17496]
24864         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
24865         gen-as-const-headers chunk.  Add a big scare comment after the last
24866         safe place to touch before-compile.
24868 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
24870         * manual/install.texi (Tools for Compilation): Update autoconf
24871         version requirements.
24872         * INSTALL: Regenerated.
24874         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
24875         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
24876         (__libc_pselect): Likewise.
24878         [BZ #14138]
24879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
24880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24884 2014-10-31  Torvald Riegel  <triegel@redhat.com>
24886         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
24887         correct barrier instruction.
24888         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
24889         Likewise.
24890         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
24891         Likewise.
24893 2014-10-30  Roland McGrath  <roland@hack.frob.com>
24895         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
24896         after defining inlines.  Instead, just use parens to defeat macro
24897         expansion of __isctype in its declaration.
24899 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
24901         * include/sys/uio.h (__libc_readv): Remove declaration.
24902         (__libc_writev): Likewise.
24903         * misc/readv.c (__libc_readv): Rename to __readv.
24904         (__readv): Do not define as alias.
24905         (readv): Define as alias of __readv.
24906         * misc/writev.c (__libc_writev): Rename to __writev.
24907         (__writev): Do not define as alias.
24908         (writev): Define as alias of __writev.
24909         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
24910         (__readv): Do not define as alias.
24911         (readv): Define unconditionally as alias of __readv.
24912         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
24913         (__writev): Do not define as alias.
24914         (writev): Define unconditionally as alias of __writev.
24915         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
24916         name.
24917         (writev): Do not define __libc_writev name.
24919 2014-10-30  Roland McGrath  <roland@hack.frob.com>
24921         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
24922         (convert_charseq): New function, broken out of ...
24923         (use_from_charmap): ... here.  Call it.
24924         (use_to_charmap): Use convert_charseq and free instead of duplicating
24925         its code with a variable-length stack struct.
24927 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
24929         * include/fcntl.h (__libc_creat): Remove declaration.
24930         * io/creat.c (__libc_creat): Rename to creat.
24931         (creat): Do not define as alias.
24932         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
24933         of creat instead of __libc_creat.
24934         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
24935         to creat.
24936         (creat): Do not define as alias.
24937         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
24938         __libc_creat.
24939         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
24940         __libc_creat name.
24941         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
24942         Likewise.
24944 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
24946         * manual/llio.texi: Add comments discussing why write() may be
24947         considered MT-unsafe on Linux.
24949 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
24951         * dl-load.c (local_strdup): Remove.
24952         (expand_dynamic_string_token): Use __strdup.
24953         (decompose_rpath): Likewise.
24954         (_dl_map_object): Likewise.
24956 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
24958         [BZ #14132]
24959         * sysdeps/generic/unwind-dw2-fde.c
24960         (__register_frame_info_bases_internal): Do not declare.
24961         (__register_frame_info_table_bases_internal): Likewise.
24962         (__deregister_frame_info_bases_internal): Likewise.
24963         (__register_frame_info_bases): Declare and use hidden_proto before
24964         definition.  Use hidden_def instead of INTDEF.
24965         (__register_frame_info_table_bases): Likewise.
24966         (__deregister_frame_info_bases): Likewise.
24967         (__register_frame_info): Do not use INTUSE.
24968         (__register_frame): Likewise.
24969         (__register_frame_info_table): Likewise.
24970         (__register_frame_table): Likewise.
24971         (__deregister_frame_info): Likewise.
24972         (__deregister_frame): Likewise.
24974 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
24976         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24977         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
24978         not undefine.
24979         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
24980         Likewise.
24981         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
24982         Likewise.
24984 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
24986         [BZ #14138]
24987         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
24988         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
24989         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
24990         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
24991         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
24992         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
24993         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
24994         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
24995         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
24996         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
24997         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
24998         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
24999         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
25000         syscall.
25001         (setfsuid): Likewise.
25002         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
25003         (setfsuid): Likewise.
25004         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
25005         (setfsuid): Likewise.
25006         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
25007         Likewise.
25008         (setfsuid): Likewise.
25009         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
25010         (setfsuid): Likewise.
25011         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
25012         Likewise.
25013         (setfsuid): Likewise.
25015 2014-10-27  Andreas Schwab  <schwab@suse.de>
25017         [BZ #17501]
25018         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
25019         check for Slow_SSE4_2 feature bit.
25020         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
25021         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25022         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
25023         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
25025 2014-10-24  Roland McGrath  <roland@hack.frob.com>
25027         * configure.ac: Validate compiler version with a empirical test of
25028         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
25029         $CC -v output.
25030         * configure: Regenerated.
25032         * inet/htons.c (htons): Prototypify.
25033         * inet/htonl.c (htonl): Likewise.
25035 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25037         * string/strncat.c (strncat): Improve performance by using strlen.
25039 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25041         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
25043 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25045         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
25046         Call libc_fetestexcept_aarch64.
25048 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25050         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
25051         Call libc_feholdexcept_aarch64.
25053 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25055         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
25056         Call get_rounding_mode.
25058 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25060         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25061         Simplify logic.
25063 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25065         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
25066         Simplify logic.
25068 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
25070         [BZ #14138]
25071         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
25072         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
25073         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
25074         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
25075         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
25076         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
25077         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
25078         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
25079         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
25080         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
25081         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25082         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
25083         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
25084         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
25085         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
25086         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
25087         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
25088         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
25089         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
25090         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
25091         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
25092         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
25093         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
25094         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
25095         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
25096         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
25097         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
25098         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
25099         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
25100         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
25101         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
25102         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
25103         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
25104         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
25105         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
25106         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
25107         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
25108         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
25109         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
25110         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
25111         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
25112         syscall.
25113         (geteuid): Likewise.
25114         (getgid): Likewise.
25115         (getuid): Likewise.
25116         (getresgid): Likewise.
25117         (getresuid): Likewise.
25118         (getgroups): Likewise.
25119         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
25120         (geteuid): Likewise.
25121         (getgid): Likewise.
25122         (getuid): Likewise.
25123         (getresgid): Likewise.
25124         (getresuid): Likewise.
25125         (getgroups): Likewise.
25126         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
25127         (geteuid): Likewise.
25128         (getgid): Likewise.
25129         (getuid): Likewise.
25130         (getresgid): Likewise.
25131         (getresuid): Likewise.
25132         (getgroups): Likewise.
25133         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
25134         Likewise.
25135         (geteuid): Likewise.
25136         (getgid): Likewise.
25137         (getuid): Likewise.
25138         (getresgid): Likewise.
25139         (getresuid): Likewise.
25140         (getgroups): Likewise.
25141         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
25142         (geteuid): Likewise.
25143         (getgid): Likewise.
25144         (getuid): Likewise.
25145         (getresgid): Likewise.
25146         (getresuid): Likewise.
25147         (getgroups): Likewise.
25148         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
25149         Likewise.
25150         (geteuid): Likewise.
25151         (getgid): Likewise.
25152         (getuid): Likewise.
25153         (getgroups): Likewise.
25155         [BZ #14138]
25156         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
25157         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
25158         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
25159         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25160         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
25161         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
25162         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
25163         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
25164         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
25165         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
25166         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
25167         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
25168         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
25169         __chown.
25170         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
25171         (lchown): Likewise.
25172         (fchown): Likewise.
25173         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
25174         Likewise.
25175         (lchown): Likewise.
25176         (fchown): Likewise.
25177         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
25178         (lchown): Likewise.
25179         (fchown): Likewise.
25180         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
25181         Likewise.
25182         (lchown): Likewise.
25183         (fchown): Likewise.
25185 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25187         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
25188         Simplify logic.
25190 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25192         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
25193         Cleanup logic.
25195 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25197         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
25198         Remove unused include.
25200 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25202         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
25203         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
25204         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
25205         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
25207 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
25208             Helge Deller <deller@gmx.de>
25210         [BZ #17508]
25211         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
25212         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
25213         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
25215 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
25217         [BZ #14132]
25218         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
25219         Remove macro definition.
25220         (__ashrdi3_v_glibc20): Likewise.
25221         (__lshrdi3_v_glibc20): Likewise.
25222         (__cmpdi2_v_glibc20): Likewise.
25223         (__ucmpdi2_v_glibc20): Likewise.
25224         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
25225         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25226         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25227         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25228         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25229         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
25231 2014-10-22  Roland McGrath  <roland@hack.frob.com>
25233         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
25234         old GNU extension [0] syntax.
25235         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
25236         alloca rather than an array member with variable length.
25237         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
25238         * nscd/nscd.c (invalidate_db): New function, broken out of ...
25239         (parse_opt): ... here.  Likewise use alloca there.
25240         Validate the -i argument before checking for rootness.
25241         (send_shutdown): New function, broken out of ...
25242         (parse_opt): ... here.
25244 2014-10-22  Roland McGrath  <roland@hack.frob.com>
25246         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
25247         macro to get at the _rt_local_ro field.
25248         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
25249         ([PIC] case) or _dl_hwcap ([!PIC] case).
25250         * sysdeps/arm/setjmp.S: Likewise.
25252         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
25253         * sysdeps/arm/configure.ac: New check to define it.
25254         * sysdeps/arm/configure: Regenerated.
25255         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
25256         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
25257         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
25258         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
25259         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
25260         Use move/movt pair instead of a load.
25261         (LDST_GLOBAL): Macro removed.
25262         (LDR_GLOBAL): New macro replaces it.
25263         (LDR_HIDDEN): New macro.
25264         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
25265         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
25267         * setjmp/tst-setjmp-static.c: New file.
25268         * setjmp/Makefile (tests): Add it.
25269         (tests-static): New variable.
25271 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
25273         [BZ #17485]
25274         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
25276 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
25278         [BZ #14132]
25279         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
25281 2014-10-21  Roland McGrath  <roland@hack.frob.com>
25283         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
25285 2014-10-20  Roland McGrath  <roland@hack.frob.com>
25287         * io/fts.c (dirent_not_directory): New function.
25288         (fts_build): Call it.
25290 2014-10-20  Roland McGrath  <roland@hack.frob.com>
25292         * nptl/version.c (__nptl_main): Use normal __write rather than
25293         INTERNAL_SYSCALL.
25294         (banner): Update copyright years.
25296         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
25297         gettimeofday.
25298         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
25299         * nptl/pthread_cond_timedwait.c: Likewise.
25300         * nptl/pthread_mutex_timedlock.c: Likewise.
25301         * nptl/sem_timedwait.c: Likewise.
25303         * sysdeps/nptl/bits/libc-lock.h
25304         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
25305         (__libc_lock_init_recursive): Return void, not 0.
25306         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
25307         (__libc_rwlock_init): Likewise.
25308         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
25310 2014-10-20  Torvald Riegel  <triegel@redhat.com>
25312         [BZ #15215]
25313         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
25314         (__pthread_once_slow): ... here.
25315         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
25316         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
25318 2014-10-20  Torvald Riegel  <triegel@redhat.com>
25320         [BZ #15215]
25321         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
25322         __PTHREAD_ONCE_FORK_GEN_INCR): New.
25323         * sysdeps/nptl/fork.c (__libc_fork): Use them.
25324         * nptl/pthread_once.c (__pthread_once): Likewise.
25325         Update comments.
25327 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
25329         [BZ #14138]
25330         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
25331         name.
25332         (writev): Use __libc_writev as strong name.
25333         * sysdeps/unix/sysv/linux/readv.c: Remove file.
25334         * sysdeps/unix/sysv/linux/writev.c: Likewise.
25336 2014-10-17  Roland McGrath  <roland@hack.frob.com>
25338         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
25340         * sysdeps/i386/nptl/tls.h
25341         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
25342         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
25343         New macros.
25344         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
25345         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
25346         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
25347         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
25348         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
25349         Call CHECK_THREAD_SYSINFO instead of doing an assert.
25351         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25352         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
25353         on [__NR_futex].
25354         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
25355         broken out of ...
25356         (__pthread_mutex_init): ... here.  Call it.
25357         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
25358         Conditionalize PI cases on [__NR_futex].
25359         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
25360         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
25361         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
25363         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
25364         conditional on [SIGSETXID].
25365         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
25366         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
25367         is defined.  Likewise for SIGSETXID.
25368         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
25369         Conditionalize definitions on [SIGSETXID].
25370         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
25371         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
25372         unblocking on [SIGCANCEL].
25374         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
25375         [__NR_set_robust_list].
25377 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25379         * string/strcoll_l.c (get_next_seq): Fix up formatting.
25380         (do_compare): Likewise.
25382 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
25384         [BZ #15884]
25385         * string/strcoll_l.c: Don't include stdio.h.
25386         (coll_seq): Remove members idxarr and rulearr.
25387         (get_next_seq_cached): Remove function.
25388         (get_next_seq): Likewise.
25389         (get_next_seq_nocache): Rename to get_next_seq.
25390         (do_compare): Remove function.
25391         (do_compare_nocache): Rename to do_compare.
25392         (STRCOLL): Remove weight and rules cache.
25394 2014-10-16  Roland McGrath  <roland@hack.frob.com>
25396         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
25397         * sysdeps/arm/sfp-machine.h: ... to here.
25398         * sysdeps/arm/Implies: Remove arm/soft-fp.
25400 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
25402         * conform/data/sys/utsname.h-data (*_t): Allow.
25403         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
25404         [POSIX] (WEXITED): Do not expect constant.
25405         [POSIX] (WSTOPPED): Likewise.
25406         [POSIX] (WNOHANG): Likewise.
25407         [POSIX] (WNOWAIT): Likewise.
25408         [POSIX] (siginfo_t): Do not expect type or elements.
25409         [POSIX] (pid_t): Do not expect type.
25410         [POSIX] (signal.h): Do not allow header.
25411         [POSIX] (sys/resource.h): Likewise.
25412         [POSIX] (si_*): Do not allow pattern.
25413         [POSIX] (W*): Likewise.
25414         [POSIX] (P_*): Likewise.
25415         [POSIX] (BUS_*): Likewise.
25416         [POSIX] (CLD_*): Likewise.
25417         [POSIX] (FPE_*): Likewise.
25418         [POSIX] (ILL_*): Likewise.
25419         [POSIX] (POLL_*): Likewise.
25420         [POSIX] (SEGV_*): Likewise.
25421         [POSIX] (SI_*): Likewise.
25422         [POSIX] (TRAP_*): Likewise.
25423         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
25424         variable.
25426 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
25428         [BZ #12926]
25429         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
25430         infinite loop when __recvmsg returns 0.
25432 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
25434         * CANCEL-FCT-WAIVE: Remove file.
25435         * CANCEL-FILE-WAIVE: Likewise.
25437         [BZ #14132]
25438         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
25439         instead of INTVARDEF.
25440         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
25441         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
25442         rtld_hidden_data_def instead of INTVARDEF.
25443         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
25444         * elf/dl-deps.c (expand_dst): Likewise.
25445         * elf/dl-load.c (_dl_dst_count): Likewise.
25446         (_dl_dst_substitute): Likewise.
25447         (decompose_rpath): Likewise.
25448         (_dl_init_paths): Likewise.
25449         (open_path): Likewise.
25450         (_dl_map_object): Likewise.
25451         * elf/rtld.c (dl_main): Likewise.
25452         (process_dl_audit): Likewise.
25453         (process_envvars): Likewise.
25454         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
25455         Remove declaration.
25456         (__libc_enable_secure): Use rtld_hidden_proto.
25458 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25460         * elf/dl-load.c
25461         (add_path): New function broken out of _dl_rtld_di_serinfo.
25462         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
25464 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
25466         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
25467         parentheses around macro arguments.
25468         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
25469         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
25470         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
25471         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
25472         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
25473         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
25474         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
25475         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
25476         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
25477         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
25478         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
25479         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
25480         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
25481         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
25482         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
25483         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
25484         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
25485         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
25486         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
25487         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
25488         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
25489         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
25490         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
25491         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
25492         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
25493         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
25494         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
25495         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
25496         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
25497         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
25498         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
25499         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
25500         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
25501         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
25502         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
25503         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
25504         Likewise.
25505         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
25506         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
25507         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
25508         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
25509         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
25510         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
25511         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
25512         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
25513         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
25514         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
25515         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
25516         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
25517         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
25518         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
25519         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
25520         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
25521         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
25522         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
25523         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
25524         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
25525         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
25526         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
25527         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
25528         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
25529         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
25530         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
25531         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
25532         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
25533         (_FP_FRAC_SRS_1): Likewise.
25534         (_FP_FRAC_CLZ_1): Likewise.
25535         (_FP_MUL_MEAT_1_imm): Likewise.
25536         (_FP_MUL_MEAT_1_wide): Likewise.
25537         (_FP_MUL_MEAT_1_hard): Likewise.
25538         (_FP_SQRT_MEAT_1): Likewise.
25539         (_FP_FRAC_ASSEMBLE_1): Likewise.
25540         (_FP_FRAC_DISASSEMBLE_1): Likewise.
25541         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
25542         (__FP_CLZ_2): Likewise.
25543         (_FP_MUL_MEAT_2_wide): Likewise.
25544         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
25545         (_FP_MUL_MEAT_2_gmp): Likewise.
25546         (_FP_MUL_MEAT_2_120_240_double): Likewise.
25547         (_FP_SQRT_MEAT_2): Likewise.
25548         (_FP_FRAC_ASSEMBLE_2): Likewise.
25549         (_FP_FRAC_DISASSEMBLE_2): Likewise.
25550         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
25551         (_FP_FRAC_CLZ_4): Likewise.
25552         (_FP_MUL_MEAT_4_wide): Likewise.
25553         (_FP_MUL_MEAT_4_gmp): Likewise.
25554         (_FP_SQRT_MEAT_4): Likewise.
25555         (_FP_FRAC_ASSEMBLE_4): Likewise.
25556         (_FP_FRAC_DISASSEMBLE_4): Likewise.
25557         * soft-fp/op-common.h (_FP_CMP): Likewise.
25558         (_FP_CMP_EQ): Likewise.
25559         (_FP_CMP_UNORD): Likewise.
25560         (_FP_TO_INT): Likewise.
25561         (_FP_FROM_INT): Likewise.
25562         [!__FP_CLZ] (__FP_CLZ): Likewise.
25563         (_FP_DIV_HELP_imm): Likewise.
25564         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
25565         Likewise.
25566         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
25567         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
25568         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
25569         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
25570         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
25571         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
25572         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
25573         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
25574         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
25575         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
25576         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
25577         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
25578         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
25579         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
25580         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
25581         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
25582         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
25583         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
25584         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
25585         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
25586         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
25587         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
25588         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
25589         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
25590         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
25591         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
25592         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
25593         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
25594         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
25595         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
25596         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
25597         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
25598         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
25599         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
25600         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
25601         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
25602         (FP_UNPACK_RAW_SP): Likewise.
25603         (FP_PACK_RAW_S): Likewise.
25604         (FP_PACK_RAW_SP): Likewise.
25605         (FP_UNPACK_S): Likewise.
25606         (FP_UNPACK_SP): Likewise.
25607         (FP_UNPACK_SEMIRAW_S): Likewise.
25608         (FP_UNPACK_SEMIRAW_SP): Likewise.
25609         (FP_PACK_S): Likewise.
25610         (FP_PACK_SP): Likewise.
25611         (FP_PACK_SEMIRAW_S): Likewise.
25612         (FP_PACK_SEMIRAW_SP): Likewise.
25613         (_FP_SQRT_MEAT_S): Likewise.
25614         (FP_CMP_S): Likewise.
25615         (FP_CMP_EQ_S): Likewise.
25616         (FP_CMP_UNORD_S): Likewise.
25617         (FP_TO_INT_S): Likewise.
25618         (FP_FROM_INT_S): Likewise.
25620         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
25622         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
25623         (FP_EX_INVALID_IMZ): Likewise.
25624         (FP_EX_INVALID_IMZ_FMA): Likewise.
25625         (FP_EX_INVALID_ISI): Likewise.
25626         (FP_EX_INVALID_ZDZ): Likewise.
25627         (FP_EX_INVALID_IDI): Likewise.
25628         (FP_EX_INVALID_SQRT): Likewise.
25629         (FP_EX_INVALID_CVI): Likewise.
25630         (FP_EX_INVALID_VC): Likewise.
25631         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
25632         "invalid" exceptions.
25633         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
25634         (_FP_ADD_INTERNAL): Likewise.
25635         (_FP_MUL): Likewise.
25636         (_FP_FMA): Likewise.
25637         (_FP_DIV): Likewise.
25638         (_FP_CMP_CHECK_NAN): Likewise.
25639         (_FP_SQRT): Likewise.
25640         (_FP_TO_INT): Likewise.
25641         (FP_EXTEND): Likewise.
25643 2014-10-09  Allan McRae  <allan@archlinux.org>
25645         * po/fr.po: Update French translation from translation project.
25647 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
25649         [BZ #14132]
25650         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
25651         of INTDEF.
25652         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
25653         (__cxa_atexit): Use libc_hidden_proto.
25654         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
25656         [BZ #14132]
25657         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
25658         declaration.
25659         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
25660         [!_ISOMAC] (__iswspace_l_internal): Likewise.
25661         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
25662         [!_ISOMAC] (__iswctype_internal): Likewise.
25663         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
25664         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
25665         alias.
25666         (fcntl): Remove __fcntl_internal alias.
25667         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
25668         __connect_internal alias.
25669         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
25670         Likewise.
25672         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
25673         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
25674         FP_DENORM_ZERO.
25675         (_FP_CHECK_FLUSH_ZERO): New macro.
25676         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
25677         (_FP_CMP): Likewise.
25678         (_FP_CMP_EQ): Likewise.
25679         (_FP_TO_INT): Do not set inexact for subnormal arguments if
25680         FP_DENORM_ZERO.
25681         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
25682         (FP_TRUNC): Likewise.
25684         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
25685         treated as invalid conversion, not as normal exponent.
25687         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
25688         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
25689         (_FP_CMP_EQ): Likewise.
25690         (_FP_CMP_UNORD): Likewise.
25691         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
25692         (FP_CMP_EQ_D): Likewise.
25693         (FP_CMP_UNORD_D): Likewise.
25694         * soft-fp/extended.h (FP_CMP_E): Likewise.
25695         (FP_CMP_EQ_E): Likewise.
25696         (FP_CMP_UNORD_E): Likewise.
25697         * soft-fp/quad.h (FP_CMP_Q): Likewise.
25698         (FP_CMP_EQ_Q): Likewise.
25699         (FP_CMP_UNORD_Q): Likewise.
25700         * soft-fp/single.h (FP_CMP_S): Likewise.
25701         (FP_CMP_EQ_S): Likewise.
25702         (FP_CMP_UNORD_S): Likewise.
25703         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
25704         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
25705         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
25706         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
25707         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
25708         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
25709         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
25710         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
25711         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
25712         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
25713         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
25714         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
25715         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
25716         to FP_CMP_Q.
25717         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
25718         FP_CMP_Q.
25719         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
25720         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
25721         FP_CMP_EQ_Q.
25722         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
25723         FP_CMP_Q.
25724         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
25725         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
25726         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
25727         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
25728         FP_CMP_EQ_Q.
25729         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
25730         FP_CMP_Q.
25731         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
25732         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
25733         FP_CMP_EQ_Q.
25734         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
25735         FP_CMP_Q.
25736         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
25737         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
25738         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
25739         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
25740         FP_CMP_EQ_Q.
25742         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
25743         a subnormal result, set the underflow exception if trapping on
25744         underflow is enabled.
25745         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
25746         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
25747         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
25748         redefine to 0.
25749         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
25750         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
25751         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
25752         * soft-fp/extendxftf2.c (__extendxftf2): Use
25753         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
25755         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
25756         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
25757         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25758         FP_HANDLE_EXCEPTIONS.
25759         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
25760         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25761         FP_HANDLE_EXCEPTIONS.
25762         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
25763         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25764         FP_HANDLE_EXCEPTIONS.
25765         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
25766         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25767         FP_HANDLE_EXCEPTIONS.
25769 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
25771         [BZ #14132]
25772         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
25773         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
25774         use INTUSE.
25775         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
25776         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
25777         Remove alias.
25778         (__adjtimex): Define using libc_hidden_ver.
25779         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
25780         Remove declaration.
25781         (ntp_gettime): Call __adjtimex directly.
25782         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
25783         Remove declaration.
25784         (ntp_gettimex): Call __adjtimex directly.
25785         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
25786         __adjtimex_internal alias.
25788 2014-10-08  Roland McGrath  <roland@hack.frob.com>
25790         [BZ #17460]
25791         * nscd/nscd.c (more_help): Rewrite list of tables collection
25792         using xstrdup and asprintf.
25794         * nscd/nscd_conf.c: Remove local xstrdup declaration.
25796 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25797             Roland McGrath  <roland@hack.frob.com>
25799         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
25800         (do_lookup_unique): ... local function 'enter' here; update callers.
25802 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
25804         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
25805         compat_symbol calls on [SHARED].
25806         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
25807         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
25808         Remove.
25809         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25810         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
25811         (oldsetrlimit): Remove.
25812         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
25814         (lchown): New syscall entry.
25815         (oldsetrlimit): Remove.
25816         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25817         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
25818         (oldsetrlimit): Remove.
25819         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25821         [BZ #14138]
25822         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
25823         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
25824         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
25825         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
25826         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25827         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
25828         (fchown): Likewise.
25829         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
25830         (fchown): Likewise.
25831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
25832         Likewise.
25834 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25836         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
25837         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
25838         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
25839         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
25840         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
25841         Likewise.
25842         (__old_sem_post): Likewise.
25844 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
25846         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
25847         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
25848         HAVE_CLOCK_GETTIME_VSYSCALL macros.
25849         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
25850         Use INLINE_VSYSCALL macro.
25851         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
25852         __vdso_clock_gettime.
25853         * sysdeps/unix/sysv/linux/tile/init-first.c
25854         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
25855         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
25856         __vdso_clock_gettime.
25858         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
25859         to set up frame more cleanly.
25861         * sysdeps/tile/memcmp.c: New file.
25863         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
25865         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
25866         * sysdeps/tile/tilegx/strcasestr.c: New file.
25867         * sysdeps/tile/tilegx/strnlen.c: New file.
25868         * sysdeps/tile/tilegx/strstr.c: New file.
25870         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
25872 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
25874         * nptl/tst-setuid3.c: Write errors to stdout.
25876 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25878         * elf/dl-deps.c
25879         (preload): New functions broken out of _dl_map_object_deps.
25880         (_dl_map_object_deps):  Remove a nested function. Update call sites.
25882 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
25884         [BZ #14138]
25885         * sysdeps/unix/sysv/linux/execve.c: Remove file.
25886         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
25888 2014-10-01  Steve Ellcey  <sellcey@mips.com>
25890         * sysdeps/mips/strcmp.S: New.
25892 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
25894         [BZ #14138]
25895         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
25896         (linkat): Likewise.
25897         (mkdirat): Likewise.
25898         (readlinkat): Likewise.
25899         (renameat): Likewise.
25900         (symlinkat): Likewise.
25901         (unlinkat): Likewise.
25902         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
25903         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
25904         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
25905         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
25906         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
25907         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
25908         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
25910 2014-09-30  Will Newton  <will.newton@linaro.org>
25912         * math/math.h: Define long double math functions if
25913         _LIBC_TEST is defined.
25914         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
25916         * localedata/Makefile: Move assignment to tests-special
25917         into an ifdef testing run-built-tests.
25918         * timezone/Makefile: Likewise.
25920 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
25922         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
25923         with $(BASH) not $(SHELL).
25925 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
25926             Matthew LeGendre  <legendre1@llnl.gov>
25928         [BZ #17411]
25929         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
25930         l_reloc_result.
25932 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25934         * stdio-common/printf_fp.c
25935         (hack_digit): New function, broken out of ...
25936         (__printf_fp): ... local function here.  Update call sites.
25937         hack_digit now takes an additional parameter that is a pointer
25938         to a struct of the referenced locals.  Those locals moved inside
25939         the struct and references updated.
25941 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
25943         * aclocal.m4: Require autoconf 2.69.
25944         * configure: Regenerated.
25945         * sysdeps/aarch64/configure: Likewise.
25946         * sysdeps/alpha/configure: Likewise.
25947         * sysdeps/arm/armv7/configure: Likewise.
25948         * sysdeps/arm/configure: Likewise.
25949         * sysdeps/ia64/configure: Likewise.
25950         * sysdeps/mach/configure: Likewise.
25951         * sysdeps/mips/configure: Likewise.
25952         * sysdeps/s390/configure: Likewise.
25953         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
25954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
25956         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
25957         file.
25958         * sysdeps/ia64/configure.ac: Likewise.
25960 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
25962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
25963         specify symbol version for ld.so.  Do not include entry for
25964         libpthread.
25965         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
25966         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
25967         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25969         [BZ #14171]
25970         * Makeconfig [$(build-shared) = yes]
25971         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
25972         makefiles.
25973         [$(build-shared) = yes && $(soversions.mk-done) = t]
25974         ($(common-objpfx)gnu/lib-names.h): Remove rule.
25975         [$(build-shared) = yes && $(soversions.mk-done) = t]
25976         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
25977         to Makerules.
25978         [$(build-shared) = yes && $(soversions.mk-done) = t]
25979         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
25980         here.
25981         [$(build-shared) = yes && $(soversions.mk-done) = t]
25982         (common-generated): Don't append gnu/lib-names.h and
25983         gnu/lib-names.stmp here.
25984         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
25985         (lib-names-h-abi): New variable.
25986         [$(build-shared) = yes && $(soversions.mk-done) = t]
25987         (lib-names-stmp-abi): Likewise.
25988         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25989         abi-variants] (before-compile): Append
25990         $(common-objpfx)$(lib-names-h-abi).
25991         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25992         abi-variants] (common-generated): Append gnu/lib-names.h.
25993         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25994         abi-variants] (install-others-nosubdir): Depend on
25995         $(inst_includedir)/$(lib-names-h-abi).
25996         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25997         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
25998         [$(build-shared) = yes && $(soversions.mk-done) = t]
25999         ($(common-objpfx)$(lib-names-h-abi)): New rule.
26000         [$(build-shared) = yes && $(soversions.mk-done) = t]
26001         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
26002         [$(build-shared) = yes && $(soversions.mk-done) = t]
26003         (common-generated): Append $(lib-names-h-abi) and
26004         $(lib-names-stmp-abi).
26005         * scripts/lib-names.awk: Do not handle multi being set.
26006         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
26007         Remove variable.
26008         (abi-lp64_be-ld-soname): Likewise.
26009         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
26010         Likewise.
26011         (abi-hard-ld-soname): Likewise.
26012         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
26013         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
26014         Remove variable.
26015         (abi-o32_hard-ld-soname): Likewise.
26016         (abi-o32_soft_2008-ld-soname): Likewise.
26017         (abi-o32_hard_2008-ld-soname): Likewise.
26018         (abi-n32_soft-ld-soname): Likewise.
26019         (abi-n32_hard-ld-soname): Likewise.
26020         (abi-n32_soft_2008-ld-soname): Likewise.
26021         (abi-n32_hard_2008-ld-soname): Likewise.
26022         (abi-n64_soft-ld-soname): Likewise.
26023         (abi-n64_hard-ld-soname): Likewise.
26024         (abi-n64_soft_2008-ld-soname): Likewise.
26025         (abi-n64_hard_2008-ld-soname): Likewise.
26026         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
26027         Likewise.
26028         (abi-64-v2-ld-soname): Likewise.
26029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
26030         ld.so entries.
26031         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
26032         variable.
26033         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
26034         entry.
26035         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
26036         variable.
26037         (abi-64-ld-soname): Likewise.
26038         (abi-x32-ld-soname): Likewise.
26039         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
26040         entry.
26041         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26043 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
26045         [BZ #14138]
26046         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
26047         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
26048         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
26049         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
26050         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
26051         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
26052         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
26053         syscall entry for GLIBC_2.2 symbol version.
26054         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
26055         Likewise.
26056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
26057         (setrlimit): Likewise.
26058         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
26059         Likewise.
26061 2014-09-23  Will Newton  <will.newton@linaro.org>
26063         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
26064         _LINUX_ARM_SYSDEP_H include guard too.
26065         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
26066         define.
26068 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
26070         * sysdeps/unix/sysv/linux/eventfd.c:
26071         Make first argument unsigned.
26072         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
26073         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
26075 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
26077         [BZ #16852]
26078         * socket/recvmmsg.c (recvmmsg): Drop const argument.
26079         * socket/sys/socket.h: Likewise.
26080         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
26082 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26084         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
26086 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
26088         * time/tst-ftime.c: New test.
26089         * time/Makefile (tests): Add tst-ftime.
26091 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
26093         * soft-fp/extended.h: Fix comment formatting.
26094         * soft-fp/op-1.h: Likewise.
26095         * soft-fp/op-2.h: Likewise.
26096         * soft-fp/op-4.h: Likewise.
26097         * soft-fp/op-8.h: Likewise.
26098         * soft-fp/op-common.h: Likewise.
26099         * soft-fp/soft-fp.h: Likewise.
26101         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
26103 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
26105         [BZ #6652]
26106         * Makeconfig (soversions-default-setname): Remove variable.
26107         ($(common-objpfx)soversions.i): Don't pass default_setname to
26108         soversions.awk.
26109         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
26110         oldest_abi to abi-versions.awk.
26111         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
26112         * config.make.in (oldest-abi): Remove variable.
26113         * configure.ac (--enable-oldest-abi): Remove configure option.
26114         * configure: Regenerated.
26115         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
26116         text.
26117         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
26118         * scripts/soversions.awk: Do not handle default_setname variable.
26119         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
26120         variable.
26121         * sysdeps/mach/hurd/configure: Regenerated.
26122         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
26123         variable.
26124         * sysdeps/unix/sysv/linux/configure: Regenerated.
26126 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26128         * elf/Makefile (CFLAGS-interp.c): Remove.
26129         ($(elf-objpfx)runtime-linker.h): Generate header with linker
26130         path string.
26131         * elf/interp.c: Include generated runtime-linker.h
26133         * Makerules (lib%.so): Don't include $(+interp) in
26134         prerequisites.
26135         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
26136         * dlfcn/eval.c: Remove file.
26138         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
26139         macros.
26141         [BZ #17266]
26142         * misc/sys/cdefs.h: Define __extern_always_inline for clang
26143         4.2 and newer.
26145         [BZ #17370]
26146         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
26148 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26149             Jakub Jelinek  <jakub@redhat.com>
26151         [BZ #17266]
26152         * libio/stdio.h: Check definition of __fortify_function
26153         instead of __extern_always_inline to include bits/stdio2.h.
26154         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
26155         check if __extern_always_inline is defined.
26156         [__USE_MISC || __USE_XOPEN]: Likewise.
26157         [__USE_ISOC99] Likewise.
26158         * misc/sys/cdefs.h (__fortify_function): Define only if
26159         __extern_always_inline is defined.
26160         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
26161         __extern_always_inline and __extern_inline only for g++-4.3
26162         and newer or a compatible gcc.
26164 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
26166         [BZ #17371]
26167         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
26168         last change to handle zero prefix length.
26170 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26172         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
26173         _SC_REGEX_VERSION.
26175         * posix/getconf.c (vars): Add _POSIX_IPV6 and
26176         _POSIX_RAW_SOCKETS.
26178 2014-09-13  Allan McRae  <allan@archlinux.org>
26180         * po/ru.po: Update Russian translation from translation project.
26182 2014-09-12  Roland McGrath  <roland@hack.frob.com>
26184         * locale/programs/locale.c (show_locale_vars): Inline local function
26185         into its sole call site.  Clean up some style nits.
26186         (print_item): New function, broken out of ...
26187         (show_info): ... local function here.  Clean up style nits.
26189         * locale/programs/ld-ctype.c (set_one_default): New function, broken
26190         out of ...
26191         (set_class_defaults): ... local function set_default here.
26192         Define set_default as a macro locally to pass constant parameters.
26193         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
26194         rather than a shared local.
26196         * stdlib/rpmatch.c (try): New function, broken out of ...
26197         (rpmatch): ... local function here.  Also, prototypify definition.
26199 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
26201         * scripts/soversions.awk: Do not handle configuration names.
26202         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
26203         vendor and os variables to soversions.awk.
26204         * configure.ac: Do not modify gnu-* host_os.
26205         * configure: Regenerated
26206         * shlib-versions: Remove first column with configuration names.
26207         * nptl/shlib-versions: Likewise.
26208         * nptl_db/shlib-versions: Likewise.
26209         * sysdeps/hppa/shlib-versions: Likewise.
26210         * sysdeps/m68k/shlib-versions: Likewise.
26211         * sysdeps/mach/hurd/shlib-versions: Likewise.
26212         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
26213         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
26214         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
26215         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
26216         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
26217         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
26218         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
26219         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
26220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
26221         Likewise.
26222         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26223         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
26224         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
26225         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
26226         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
26227         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
26228         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
26229         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
26232         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
26233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
26234         Regenerated.
26235         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
26236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
26237         Condition symbol version definitions on [HAVE_ELFV2_ABI].
26239         * shlib-versions: Remove OS-specific entries.  Moved to files in
26240         sysdeps.
26241         * sysdeps/mach/hurd/shlib-versions: New file.
26242         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
26244         * nptl/shlib-versions: Remove architecture-specific entries.
26245         Moved to files in sysdeps.
26246         * shlib-versions: Likewise.
26247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
26248         file.
26249         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26250         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
26251         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
26252         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
26254         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
26255         (UDP_NO_CHECK6_RX): Likewise.
26257 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26259         * sysdeps/posix/sysconf.c (__sysconf): Spell
26260         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
26262 2014-08-12  Florian Weimer  <fweimer@redhat.com>
26264         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
26265         loading.
26266         * iconv/Versions (__gconv_transliterate): Export for use from
26267         gconv modules.
26268         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
26269         (struct __gconv_trans_data, __gconv_trans_fct,
26270         __gconv_trans_context_fct, __gconv_trans_query_fct,
26271         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
26272         definitions.
26273         (struct __gconv_step_data): Remove __trans member.
26274         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
26275         longer hidden.  Remove unused trans_data argument.
26276         * iconv/gconv_int.h (struct trans_struct): Remove definition.
26277         (__gconv_translit_find): Remove declaration.
26278         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
26279         prototype.
26280         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
26281         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
26282         trans_data argument.  Add hidden definition.
26283         (__gconv_translit_find): Remove.
26284         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
26285         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
26286         * iconv/skeleton.c: Remove transliteration initialization.
26287         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
26288         __gconv_step_data initialization.
26289         * libio/iofwide.c (__libio_translit_): Remove.
26290         (_IO_fwide): Adjust struct __gconv_step_data initialization.
26291         * wcsmbs/btowc.c (__btowc): Likewise.
26292         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26293         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
26294         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
26295         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
26296         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
26297         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
26298         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
26299         * wcsmbs/wctob.c (wctob): Likewise.
26301 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26303         [BZ #16194]
26304         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
26305         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
26306         register usage.
26307         * sysdeps/x86/Makefile: Adjust.
26309 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26310             Roland McGrath  <roland@hack.frob.com>
26312         * locale/weight.h: Add include guard.
26313         (findidx): Make static rather than auto; take new parameters
26314         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
26315         * locale/weightwc.h: Likewise.
26316         * posix/fnmatch_loop.c
26317         (FCT): Change type of EXTRA from int32_t to wint_t.
26318         Don't include either header inside the function.
26319         Call FINDIDX rather than findidx, and pass new arguments.
26320         #undef FINDIDX at the end of the file.
26321         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
26322         FINDIDX before including fnmatch_loop.c for the non-wide version.
26323         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
26324         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
26325         for the wide version.
26326         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
26327         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
26328         Pass new arguments to findidx.
26329         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
26330         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
26331         Don't #include it inside the function.  Pass new arguments to findidx.
26332         * posix/regex_internal.h
26333         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
26334         (re_string_elem_size_at): Don't #include it inside the function.
26335         Pass new arguments to findidx.
26336         * string/strcoll_l.c: #include WEIGHT_H at top level.
26337         (get_next_seq): Don't #include it inside the function.
26338         Pass new arguments to findidx.
26339         (get_next_seq_nocache): Likewise.
26340         * string/strxfrm_l.c: #include WEIGHT_H at top level.
26341         (STRXFRM): Don't #include it inside the function.
26342         Pass new arguments to findidx.
26344 2014-09-11  Florian Weimer  <fweimer@redhat.com>
26346         [BZ #17344]
26347         * malloc/malloc.c (unlink): Turn asserts into a call to
26348         malloc_printerr.
26350 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
26352         [BZ #17370]
26353         * libio/wfileops (do_ftell_wide): Free OUT.
26355 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
26357         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
26359 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26361         [BZ #17363]
26362         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
26363         group if the current group is empty.
26365 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26367         * benchtests/bench-memset.c (test_main): Add more test from size
26368         from 32 to 512 bytes.
26369         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26370         Add POWER8 memset object.
26371         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26372         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
26373         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
26374         implementation.
26375         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
26376         Likewise.
26377         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
26378         multiarch POWER8 memset optimization.
26379         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
26380         POWER8 memset optimization.
26382         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26383         Remove bzero multiarch objects.
26384         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
26385         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
26386         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
26387         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
26388         Remove define.
26389         [__bzero]: Redefine to specific name.
26390         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
26391         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
26392         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
26393         define.
26394         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26395         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
26397 2014-09-10  Florian Weimer  <fweimer@redhat.com>
26399         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
26400         warnings into errors.
26402         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
26403         __cxa_thread_atexit_impl prototype.
26405 2014-09-09  Steve Ellcey  <sellcey@mips.com>
26407         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
26408         Fix capitalization of error message.
26410 2014-09-09  Steve Ellcey  <sellcey@mips.com>
26412         * sysdeps/mips/preconfigure: Modify ABI tests.
26414 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
26416         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
26418 2014-09-07  Roland McGrath  <roland@hack.frob.com>
26419             Carlos O'Donell  <carlos@systemhalted.org>
26421         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
26422         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
26423         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
26424         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
26425         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
26426         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
26427         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
26428         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
26429         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
26430         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
26431         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
26432         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
26433         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
26434         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
26435         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
26436         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
26437         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
26438         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
26439         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
26440         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
26441         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
26442         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
26443         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
26444         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
26445         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
26446         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
26447         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
26448         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
26449         Deconditionalize the code that was previously under [RESET_PID].
26450         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
26451         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
26452         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
26453         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
26454         include sysdep.h.
26456 2014-09-08  Allan McRae  <allan@archlinux.org>
26458         * version.h (RELEASE): Set to "development".
26459         (VERSION): Set to "2.20.90"
26461 2014-09-07  Allan McRae  <allan@archlinux.org
26463         * version.h (RELEASE): Set to "stable".
26464         (VERSION): Set to "2.20"
26465         * include/features.h (__GLIBC_MINOR__): Set to 20.
26467         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
26468         Liebler.
26470         * po/ko.po: Update Korean translation from translation project.
26472 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
26474         [BZ #17354]
26475         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
26476         macro for handling signed relocations.
26478 2014-09-03  Florian Weimer  <fweimer@redhat.com>
26480         [BZ #17325]
26481         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
26482         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
26483         assert.
26484         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
26485         * iconvdata/ibm935.c (BODY): Likewise.
26486         * iconvdata/ibm937.c (BODY): Likewise.
26487         * iconvdata/ibm939.c (BODY): Likewise.
26488         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
26489         assert.
26490         * iconvdata/Makefile (iconv-test.out): Pass module list to test
26491         script.
26492         * iconvdata/run-iconv-test.sh: New test loop for checking for
26493         decoder crashers.
26495 2014-09-02  Khem Raj  <raj.khem@gmail.com>
26497         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
26498         libm_hidden_ver.
26500 2014-09-01  Allan McRae  <allan@archlinux.org>
26502         * po/eo.po: Update Esperanto translation from translation project.
26504         * po/ca.po: Update Catalan translation from translation project.
26506 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26508         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
26509         __proc_dostop call.
26511 2014-08-27  Mark Wielaard  <mjw@redhat.com>
26513         [BZ #17319]
26514         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
26515         to call set_thread_area instead of hand written asm.
26516         (__NR_set_thread_area): Removed define.
26517         (TLS_FLAG_WRITABLE): Likewise.
26518         (__ASSUME_SET_THREAD_AREA): Remove check.
26519         (TLS_EBX_ARG): Remove define.
26520         (TLS_LOAD_EBX): Likewise.
26522 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26524         Simplify atomicity of socket creation in bind.
26526         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
26527         looking up the name after linking the file.
26529 2014-08-27  Allan McRae  <allan@archlinux.org>
26531         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26533 2014-08-26  Florian Weimer  <fweimer@redhat.com>
26535         [BZ #17187]
26536         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
26537         trans_compare, open_translit, __gconv_translit_find):
26538         Remove module loading code.
26540 2014-08-26  Allan McRae  <allan@archlinux.org>
26542         * po/vi.po: Update Vietnamese translation from translation project.
26544         * po/uk.po: Update Ukrainian translation from translation project.
26546         * po/fr.po: Update French translation from translation project.
26548         * po/ru.po: Update Russian translation from translation project.
26550         * po/pl.po: Update Polish translation from translation project.
26552         * po/cs.po: Update Czech translation from translation project.
26554         * po/de.po: Update German translation from translation project.
26556         * po/bg.po: Update Bulgarian translation from translation project.
26558         * po/sv.po: Update Sweedish translation from translation project.
26560         * po/nl.po: Update Dutch translation from translation project.
26562         * po/es.po: Update Spanish translation from translation project.
26564 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26566         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
26568         * catgets/Makefile (CPPFLAGS-gencat): Remove.
26569         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
26570         (CPPFLAGS-iconvconfig): Likewise.
26571         * timezone/Makefile (CPPFLAGS-zic): Likewise.
26573         * include/libc-symbols.h: Remove unnecessary check for
26574         NOT_IN_libc.
26575         * nptl/pthreadP.h: Likewise.
26576         * sysdeps/aarch64/setjmp.S: Likewise.
26577         * sysdeps/alpha/setjmp.S: Likewise.
26578         * sysdeps/arm/sysdep.h: Likewise.
26579         * sysdeps/i386/setjmp.S: Likewise.
26580         * sysdeps/m68k/setjmp.c: Likewise.
26581         * sysdeps/posix/getcwd.c: Likewise.
26582         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26583         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
26584         * sysdeps/s390/s390-32/setjmp.S: Likewise.
26585         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26586         * sysdeps/sh/sh3/setjmp.S: Likewise.
26587         * sysdeps/sh/sh4/setjmp.S: Likewise.
26588         * sysdeps/unix/alpha/sysdep.h: Likewise.
26589         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26590         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26591         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
26592         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26595         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26596         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26597         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26598         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26599         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26600         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26601         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26602         * sysdeps/x86_64/setjmp.S: Likewise.
26604 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
26606         [BZ #17263]
26607         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
26608         <stdint.h>.
26609         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
26610         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
26612 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26614         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
26616         [BZ #17262]
26617         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
26618         and __x86_64__ when disabling x87 inline functions.
26620 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
26622         [BZ #17259]
26623         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
26624         asm statement with __cpuid_count.
26626 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
26628         * configure.ac: Change __ehdr_start code to dereference the struct.
26629         Run readelf on the output to look for relocations.
26630         * configure: Regenerated.
26632 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
26634         [BZ #17261]
26635         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
26636         value to 0.
26637         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
26639 2014-08-12  Roland McGrath  <roland@hack.frob.com>
26641         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
26643 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
26645         [BZ #16892]
26646         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
26647         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
26649 2014-08-12  Sean Anderson  <seanga2@gmail.com>
26651         * malloc/malloc.c: Fix typo in comment.
26653 2014-08-09  Allan McRae  <allan@archlinux.org>
26655         * Regenerate libc.po.
26657 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
26659         * intl/tst-gettext2.sh: Check every lang file for creation.
26661 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
26663         * sysdeps/aarch64/fpu/math_private.h
26664         (libc_feholdsetround_noex_aarch64_ctx): New function.
26666 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
26668         * sysdeps/arm/armv6/strcpy.S (strcpy):
26669         Fix performance issue in misaligned cases.
26671 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26673         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
26674         Move definition from termios.h.
26675         (struct termio): Likewise.
26676         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
26677         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
26678         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
26679         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
26680         Likewise.
26681         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
26682         Move definition to ioctl-types.h
26683         (struct termio): Likewise.
26684         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
26685         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
26686         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
26687         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
26688         Likewise.
26690 2014-08-05  Richard Henderson  <rth@redhat.com>
26692         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
26693         exceptions.
26694         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
26695         Add fraiseexcpt.
26696         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
26697         Use __feraiseexcept.
26698         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
26699         Protect libm symbols with IS_IN_libm.
26701         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
26703 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
26705         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
26707 2014-08-04  Will Newton  <will.newton@linaro.org>
26709         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
26710         file.
26712 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
26714         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
26715         variants for each function.
26717 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26719         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
26720         appended ...
26721         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
26722         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
26723         appended ...
26724         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
26725         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
26726         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
26727         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
26728         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
26729         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
26730         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
26731         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
26732         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
26733         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
26734         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
26735         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
26736         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
26737         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
26738         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
26739         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
26740         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
26741         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
26742         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
26743         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
26744         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
26745         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
26746         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
26747         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
26748         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
26749         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
26750         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
26751         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
26752         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
26753         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
26754         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
26755         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
26756         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
26757         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
26758         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
26759         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
26760         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
26761         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
26762         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
26763         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
26764         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
26765         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
26766         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
26767         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
26768         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
26769         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
26770         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
26771         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
26772         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
26773         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
26774         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
26775         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
26776         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
26777         Update #include.
26778         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
26779         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
26781 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26783         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
26784         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
26785         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
26786         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
26787         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
26788         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
26790 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26792         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
26793         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
26794         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26795         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
26797 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26799         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
26800         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
26801         (__libc_vfork): Define function under this name.
26802         (__vfork): Define as an alias.
26803         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
26804         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
26806 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26808         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
26809         that was previously under [RESET_PID].
26810         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
26812 2014-08-04  Andreas Schwab  <schwab@suse.de>
26814         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
26816 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
26818         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
26819         (main): Likewise.
26821 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26823         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
26825 2014-08-01  Richard Henderon  <rth@redhat.com>
26827         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
26828         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
26829         typo in exact zero test.
26830         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26831         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26832         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26834 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26836         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
26837         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
26838         * sysdeps/arm/sysdep.h: ... here.
26839         [!__ASSEMBLER__]: Include <stdint.h>.
26841 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26843         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
26844         (HAVE_WCTYPE_H): Likewise.
26845         (HAVE_ISWCTYPE): Likewise.
26846         (ENABLE_NLS): Likewise.
26847         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
26848         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
26850         * posix/regex_internal.c: Check if DEBUG is defined and is
26851         set.
26853         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
26854         (HAVE_MBSRTOWCS): Likewise.
26855         * posix/fnmatch.c: Include string.h unconditionally.
26857 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
26859         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
26860         reversal.
26862 2014-07-31  Roland McGrath  <roland@hack.frob.com>
26864         * sysdeps/generic/safe-fatal.h: New file.
26865         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
26866         * nptl/forward.c: Include it.
26867         (__pthread_unwind): Use __safe_fatal as default action, rather
26868         than a bogus use of INTERNAL_SYSCALL that could never work.
26870         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
26871         * configure.ac (libc_cv_builtin_trap): New test.
26872         * configure: Regenerated.
26873         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
26874         (ABORT_INSTRUCTION): Define using __builtin_trap.
26876         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
26877         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
26878         * sysdeps/nptl/nptl-signals.h: New file.
26879         * nptl/pthreadP.h: Include <nptl-signals.h>.
26881 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
26883         * sysdeps/s390/s390-64/utf16-utf32-z9.c
26884         (ONE_DIRECTION): Define.
26885         * sysdeps/s390/s390-64/utf8-utf16-z9.c
26886         (ONE_DIRECTION): Define.
26887         * sysdeps/s390/s390-64/utf8-utf32-z9.c
26888         (ONE_DIRECTION): Define.
26890 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
26892         * sysdeps/s390/Makefile: Delete file.
26893         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
26894         * sysdeps/s390/__longjmp.c: Delete file.
26895         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
26896         Remove fields __flags and __reserved.
26897         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
26898         and add versioning.
26899         * sysdeps/s390/rtld-__longjmp.c: Delete file.
26900         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
26901         * sysdeps/s390/rtld-setjmp.S: Likewise.
26902         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
26903         * sysdeps/s390/s390-32/__longjmp.c: ... here.
26904         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
26905         * sysdeps/s390/s390-32/setjmp.S: ... here.
26906         Add versioning.
26907         (__sigsetjmp): Remove setting __flags field.
26908         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
26909         * sysdeps/s390/s390-64/__longjmp.c: ... here.
26910         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
26911         * sysdeps/s390/s390-64/setjmp.S: ... here.
26912         Add versioning.
26913         (__sigsetjmp): Remove setting __flags field.
26914         * sysdeps/s390/setjmp.S: Delete file.
26915         * sysdeps/s390/sigjmp.c: Likewise.
26916         * sysdeps/s390/v1-longjmp.c: Likewise.
26917         * sysdeps/s390/v1-setjmp.h: Likewise.
26918         * sysdeps/s390/v1-sigjmp.c: Likewise.
26919         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
26920         Remove v1-longjmp_chk.
26921         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
26922         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
26923         Include debug/longjmp_chk.c and add versioning.
26924         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
26925         Include nptl/pt-longjmp.c and add versioning.
26926         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
26927         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
26928         Include __longjmp.c.
26929         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26930         Move to ...
26931         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
26932         (__getcontext): Remove setting __flags field.
26933         Add versioning.
26934         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26935         Don't restore upper high grps.
26936         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
26937         Likewise.
26938         (__swapcontext): Remove setting uc_flags field.
26939         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
26940         Delete file.
26941         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
26942         Include __longjmp.c.
26943         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26944         Move to ...
26945         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
26946         (__getcontext): Remove setting __flags field.
26947         Add versioning.
26948         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
26949         (__swapcontext): Remove setting uc_flags field.
26950         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
26951         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
26952         Remove fields uc_high_gprs and __reserved.
26953         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
26954         New file with reverted content.
26955         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
26956         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
26957         Regenerated.
26958         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
26959         Regenerated.
26961 2014-07-31  Andreas Schwab  <schwab@suse.de>
26963         * config.h.in (HAVE_IFUNC): Define to 0.
26964         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
26965         definedness.
26967 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
26969         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26970         memmove-avx-unaligned, memcpy-avx-unaligned and
26971         mempcpy-avx-unaligned.
26972         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26973         Add tests for AVX memcpy functions.
26974         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
26975         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
26976         memcpy_chk.
26977         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
26978         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
26979         memmove_chk.
26980         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
26981         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
26982         mempcpy_chk.
26983         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
26984         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
26985         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
26987 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26989         [BZ #17213]
26990         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
26991         powerpc64le.
26993 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
26995         [BZ #16839]
26996         * manual/llio.texi: Add section about open file description locks.
26997         * manual/examples/ofdlocks.c: Example of open file description
26998         lock usage.
26999         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
27000         F_OFD_SETLK, and F_OFD_SETLKW.
27002 2014-07-23  Allan McRae  <allan@archlinux.org>
27004         * po/es.po: Update Spanish translation from translation project.
27006 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
27008         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
27010 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
27012         [BZ #17078]
27013         * sysdeps/arm/dl-machine.h (elf_machine_rela)
27014         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
27015         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
27017 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
27019         [BZ #17088]
27020         * math/fesetenv.c (__fesetenv)
27021         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
27022         * math/feupdateenv.c (__feupdateenv)
27023         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
27025         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
27026         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
27027         (__ASSUME_SOCKETCALL): Do not define.
27029         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
27030         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
27031         (__ASSUME_SOCKETCALL): Do not define.
27032         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
27033         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
27034         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27035         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
27036         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27037         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
27038         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27039         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27041         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
27042         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
27043         (__ASSUME_SOCKETCALL): Do not define.
27044         (__ASSUME_IPC64): Define unconditionally.
27045         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
27046         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27047         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
27048         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27049         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
27050         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27051         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
27052         Likewise.
27054         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
27055         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
27056         (__ASSUME_SOCKETCALL): Do not define.
27057         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
27058         (__ASSUME_FUTEX_LOCK_PI): Likewise.
27059         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27060         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
27061         (__ASSUME_REQUEUE_PI): Define unconditionally.
27062         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
27063         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
27064         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27065         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
27066         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27067         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27069         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
27070         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
27071         (__ASSUME_SOCKETCALL): Do not define.
27072         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
27073         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27074         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27075         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
27076         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27077         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27079         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
27080         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
27081         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27082         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
27083         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27084         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
27085         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27086         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
27087         (__ASSUME_GETCPU_SYSCALL): Likewise.
27089         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
27090         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
27091         cases for individual architectures.
27092         * sysdeps/gnu/configure: Regenerated.
27093         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
27094         LIBC_SLIBDIR_RTLDDIR.
27095         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
27096         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
27097         LIBC_SLIBDIR_RTLDDIR.
27098         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
27099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
27100         LIBC_SLIBDIR_RTLDDIR.
27101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
27102         Regenerated.
27103         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
27104         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
27105         file.
27106         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
27107         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
27108         file.
27109         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
27110         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
27111         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
27112         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
27114         * sysdeps/aarch64/shlib-versions: Move to ...
27115         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
27116         * sysdeps/alpha/shlib-versions: Move to ...
27117         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
27118         * sysdeps/arm/shlib-versions: Move to ...
27119         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
27120         * sysdeps/hppa/shlib-versions: Move all contents except for
27121         libgcc_s entry to ...
27122         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
27123         entry from ...
27124         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
27125         * sysdeps/ia64/shlib-versions: Move to ...
27126         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
27127         entry from ...
27128         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
27129         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
27130         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
27131         * sysdeps/microblaze/shlib-versions: Move to ...
27132         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
27133         * sysdeps/mips/shlib-versions: Move to ...
27134         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
27135         entry from ...
27136         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
27137         * sysdeps/tile/shlib-versions: Move to ...
27138         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
27139         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
27140         from ...
27141         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
27142         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
27143         entry from ...
27144         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
27146 2014-07-17  Will Newton  <will.newton@linaro.org>
27148         * sysdeps/arm/bits/atomic.h
27149         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
27150         (__arch_compare_and_exchange_bool_16_int): Likewise.
27151         (__arch_compare_and_exchange_bool_64_int): Likewise.
27153         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
27154         into an #else block.
27156 2014-07-16  Roland McGrath  <roland@hack.frob.com>
27158         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
27159         just Linux configurations.  Test empirically that the compiler sets
27160         __ARM_EABI__, rather than using the tuple to decide.
27161         * sysdeps/arm/preconfigure: Regenerated.
27162         * sysdeps/unix/sysv/linux/arm/configure: File removed.
27163         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
27164         contents appended ...
27165         * sysdeps/arm/configure.ac: ... here.
27166         * sysdeps/arm/configure: Regenerated.
27168 2014-07-15  Roland McGrath  <roland@hack.frob.com>
27170         * nptl/pthread_kill.c: New file.
27171         * nptl/pthread_sigmask.c: New file.
27172         * nptl/pthread_sigqueue.c: New file.
27174         * sysdeps/nptl/lowlevellock.h: New file.
27175         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
27176         * sysdeps/nptl/lowlevellock-futex.h: New file.
27178         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
27179         Remove dead declarations.
27181 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
27183         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
27184         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
27185         config-cflags-avx2.
27186         * sysdeps/x86_64/configure.ac: Likewise.
27187         * sysdeps/i386/configure: Regenerated.
27188         * sysdeps/x86_64/configure: Likewise.
27189         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27190         memset-avx2 only if config-cflags-avx2 is yes.
27191         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27192         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
27193         defined.
27194         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
27195         only if HAVE_AVX2_SUPPORT is defined.
27196         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27198 2014-07-14  Alan Modra  <amodra@gmail.com>
27200         [BZ #17153]
27201         * elf/elf.h (DT_PPC64_NUM): Correct value.
27202         * NEWS: Add to fixed bug list.
27204 2014-07-13  Jim Meyering  <meyering@fb.com>
27206         [BZ 17150]
27207         regex: don't deref NULL upon heap allocation failure
27208         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
27209         failure in one more place.
27210         To trigger the segfault, configure grep -with-included-regex,
27211         build it, and run these commands:
27212         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
27214 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
27216         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27218 2014-07-11  Richard Henderson  <rth@redhat.com>
27220         * sysdeps/aarch64/libm-test-ulps: Update.
27222 2014-07-10  Florian Weimer  <fweimer@redhat.com>
27224         [BZ #17135]
27225         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
27226         * nptl/allocatestack.c (__nptl_setxid_error): New function.
27227         (__nptl_setxid): Initialize error member.  Call
27228         __nptl_setxid_error.
27229         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
27230         * nptl/descr.h (struct xid_command): Add error member.
27231         * nptl/tst-setuid3.c: New file.
27232         * nptl/Makefile (tests): Add it.
27234 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27236         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
27237         New define.
27238         (__lll_trylock): Use __lll_base_trylock.
27239         (__lll_cond_trylock): Likewise.
27241 2014-07-10  Roland McGrath  <roland@hack.frob.com>
27243         * nptl/pthread_create.c (start_thread): Use atomic_or and
27244         lll_futex_wake directly rather than lll_robust_dead.
27245         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
27246         (lll_robust_dead): Macro removed.
27247         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
27248         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
27249         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
27250         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27251         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27252         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
27253         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
27254         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27255         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
27256         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27257         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27258         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27259         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27260         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27261         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27263         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27264         Use atomic_compare_and_exchange_val_acq directly rather than
27265         lll_robust_trylock.
27266         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
27267         (__lll_robust_trylock, lll_robust_trylock): Removed.
27268         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
27269         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
27270         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27271         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27272         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
27273         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
27274         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27275         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
27276         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27277         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27278         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27279         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27280         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27281         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27283 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27285         * manual/locale.texi (Locale Names): New section documenting
27286         locale name syntax.  Adjust menu and node chaining accordingly.
27287         (Choosing Locale): Reference Locale Names, Locale Categories.
27288         Mention setting LC_ALL=C.  Reflect that name syntax is now
27289         documented.
27290         (Locale Categories): New section title.  Reference Locale Names.
27291         LC_ALL is an environment variable, but not a category.
27292         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
27293         description, now in Locale Name.  Reference that section.  Locale
27294         name syntax is now documented.
27296 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27298         [BZ #17137]
27299         * locale/findlocale.c (name_present, valid_locale_name): New
27300         functions.
27301         (_nl_find_locale): Use the loc_name variable to store name
27302         candidates.  Call name_present and valid_locale_name to check and
27303         validate locale names.  Return an error if the locale is invalid.
27305 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27307         * locale/setlocale.c (setlocale): Use strdup for allocating
27308         composite name copy.
27310 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27312         Sync up with gnulib.
27313         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
27314         [!_LIBC && ENABLE_NLS]: Include gettext.h.
27315         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
27316         and _GL_ARG_NONNULL.
27317         [USE_UNLOCKED_IO]: Include unlocked-io.h.
27318         [!_LIBC]: Include code for Windows and Cygwin.
27319         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
27320         Include prototype for int strerror_r.
27321         [!_LIBC] (is_open): New function.
27322         (flush_stdout): New function.
27323         (print_errno_message): Use it.
27324         (error): Likewise.
27325         (error_at_line): Likewise.
27326         (error_tail) Add function attribute macros.  Use
27327         __builtin_expect.
27329         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
27331         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
27333         * io/ftw.c: Include sys/param.h unconditionally.
27335         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
27337         [BZ #17125]
27338         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
27339         libc_freeres_ptr.
27340         (freecache): New function to free CACHE on exit.
27342         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
27343         initialization.
27345 2014-07-09  David S. Miller  <davem@davemloft.net>
27347         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27349         * sysdeps/sparc/nptl/internaltypes.h: Delete.
27350         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
27351         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
27352         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
27353         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
27354         * sysdeps/sparc/nptl/sem_init.c: Likewise.
27355         * sysdeps/sparc/nptl/sem_post.c: Likewise.
27356         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
27357         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
27358         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
27359         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
27360         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
27361         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
27363 2014-07-09  Andreas Schwab  <schwab@suse.de>
27365         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
27366         output.
27367         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
27368         (do_test): Likewise.
27370         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27372 2014-07-09  Will Newton  <will.newton@linaro.org>
27374         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
27375         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
27376         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
27377         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
27378         * sysdeps/hppa/start.S (_start): Likewise.
27380 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
27382         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
27384         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
27385         defined.
27387 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27389         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
27390         after checking that it is non-NULL.
27392         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
27394 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27396         * sysdeps/powerpc/memmove.c: Remove file.
27397         * sysdeps/powerpc/powerpc32/power4/memcopy.h
27398         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
27399         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
27400         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
27401         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
27402         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
27403         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
27404         string memmove instead of removed powerpc one.
27406         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27407         [weak_alias]: Fix compiler warning due trailing data.
27408         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
27409         [weak_alias]: Likewise.
27410         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
27411         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
27413         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27414         (__libc_ifunc_impl_list): Add memmove functions.
27416 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27418         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
27419         Remove code.
27420         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
27421         Likewise.
27422         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
27423         Likewise.
27424         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
27425         Likewise.
27426         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
27427         Likewise.
27428         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
27429         Likewise.
27430         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
27431         Likewise.
27432         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
27433         Likewise.
27434         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
27435         Likewise.
27436         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
27437         Likewise.
27438         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
27439         Likewise.
27440         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
27441         Likewise.
27442         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
27443         Likewise.
27444         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
27445         Likewise.
27446         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
27447         Likewise.
27448         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
27449         Likewise.
27450         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
27451         Likewise.
27453 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27455         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
27456         to avoid alignment traps in non-cacheable memory.
27457         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27459         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
27460         multiarch objects.
27461         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
27462         file: multiarch power7 memmove.
27463         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
27464         multiarch default memmove.
27465         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
27466         multiarch memove for powerpc32/power4.
27468         * string/bcopy.c: Use full path to include memmove.c.
27469         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
27470         multiarch objects.
27471         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
27472         bcopy for powerpc64.
27473         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
27474         bcopy for powerpc64.
27475         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
27476         and memmove implementations.
27477         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
27478         optimized multiarch memmove for POWER7/powerpc64.
27479         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
27480         default multiarch memmove for powerpc64.
27481         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
27482         multiarch for powerpc64.
27483         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
27484         for POWER7/powerpc64.
27485         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
27486         memmove for POWER7/powerpc64.
27488         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
27489         glibc default one.
27491         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
27492         __ELF_NATIVE_CLASS equal to 64.
27494 2014-07-07  Roland McGrath  <roland@hack.frob.com>
27496         * sysdeps/nptl/lowlevellock.h: File removed.
27498         * NEWS: NPTL is no longer an add-on!
27499         * nptl/internaltypes.h: Moved ...
27500         * sysdeps/nptl/internaltypes.h: ... here.
27501         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
27502         * sysdeps/nptl/fork.c: Likewise.
27503         * sysdeps/nptl/gai_misc.h: Likewise.
27504         * sysdeps/nptl/librt-cancellation.c: Likewise.
27505         * sysdeps/nptl/jmp-unwind.c: Likewise.
27506         * sysdeps/nptl/setxid.h: Likewise.
27507         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
27508         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
27509         * sysdeps/unix/sysv/linux/arm/Implies: New file.
27510         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
27511         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
27512         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
27513         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
27514         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
27515         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
27516         * sysdeps/unix/sysv/linux/mips/Implies: New file.
27517         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
27518         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
27519         * sysdeps/unix/sysv/linux/sh/Implies: New file.
27520         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
27521         * sysdeps/unix/sysv/linux/tile/Implies: New file.
27522         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
27523         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
27524         * nptl/Makeconfig: Moved ...
27525         * sysdeps/nptl/Makeconfig: ... here.
27526         * nptl/configure: File removed.
27527         * nptl/ANNOUNCE: File removed.
27528         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
27529         * sysdeps/unix/sysv/linux/configure: Regenerated.
27531         * nptl/Makefile (routines): Add libc_pthread_init,
27532         libc_multiple_threads, register-atfork and unregister-atfork.
27533         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
27534         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
27535         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
27536         pthread-pi-defines.sym, structsem.sym.
27537         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
27538         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
27539         [$(subdir) = nptl] (tests): Add tst-setgetname.
27540         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
27541         * sysdeps/unix/sysv/linux/sigaction.c: Just include
27542         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
27543         [!LIBC_SIGACTION]: Remove aliases.
27544         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
27545         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
27546         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
27547         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
27548         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
27549         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
27550         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27551         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27552         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
27553         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
27554         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
27555         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
27556         __libc_allocate_rtsig_private.
27557         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
27558         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
27559         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
27560         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
27561         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
27562         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
27563         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
27564         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
27565         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
27566         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
27567         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
27568         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
27569         * nptl/internaltypes.h: ... here.
27570         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
27571         * sysdeps/nptl/jmp-unwind.c: ... here.
27572         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
27573         * nptl/libc-lowlevellock.c: ... here.
27574         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
27575         * nptl/libc_multiple_threads.c: ... here.
27576         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
27577         * nptl/libc_pthread_init.c: ... here.
27578         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
27579         * nptl/lowlevelbarrier.sym: ... here.
27580         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
27581         * nptl/lowlevelcond.sym: ... here.
27582         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
27583         * nptl/lowlevellock.c: ... here.
27584         * nptl/lowlevellock.h: Moved ...
27585         * sysdeps/nptl/lowlevellock.h: ... here.
27586         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
27587         * nptl/lowlevelrobustlock.c: ... here.
27588         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
27589         * nptl/lowlevelrobustlock.sym: ... here.
27590         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
27591         * nptl/lowlevelrwlock.sym: ... here.
27592         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
27593         * nptl/pt-fork.c: ... here.
27594         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
27595         * nptl/pthread-pi-defines.sym: ... here.
27596         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
27597         * nptl/pthread_attr_getaffinity.c: ... here.
27598         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
27599         * nptl/pthread_attr_setaffinity.c: ... here.
27600         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
27601         * nptl/pthread_mutex_cond_lock.c: ... here.
27602         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
27603         Update #include.
27604         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
27605         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
27606         * nptl/pthread_once.c: ... here, replacing old file.
27607         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
27608         * nptl/pthread_yield.c: ... here.
27609         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
27610         * nptl/register-atfork.c: ... here.
27611         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
27612         * nptl/sem_post.c: ... here.
27613         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
27614         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
27615         * nptl/sem_timedwait.c: ... here.
27616         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
27617         * nptl/sem_trywait.c: ... here.
27618         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
27619         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
27620         * nptl/sem_wait.c: ... here.
27621         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
27622         * nptl/structsem.sym: ... here.
27623         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
27624         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
27625         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
27626         * nptl/unregister-atfork.c: ... here.
27627         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
27628         * nptl/unwindbuf.sym: ... here.
27629         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
27630         * sysdeps/nptl/fork.c: ... here.
27631         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
27632         * sysdeps/nptl/fork.h: ... here.
27633         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
27634         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
27635         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
27636         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
27637         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
27638         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
27639         * sysdeps/unix/sysv/linux/getpid.c: ... here.
27640         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
27641         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
27642         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
27643         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
27644         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
27645         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
27646         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
27647         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
27648         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
27649         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
27650         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
27651         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
27652         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
27653         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
27654         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
27655         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
27656         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
27657         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
27658         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
27659         * sysdeps/unix/sysv/linux/raise.c: ... here.
27660         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
27661         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
27662         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
27663         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
27664         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
27665         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
27666         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
27667         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
27668         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
27669         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
27670         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
27671         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
27672         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
27673         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
27674         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
27676 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27678         * sysdeps/generic/memcopy.h: Add comment for
27679         MEMCPY_OK_FOR_FWD_MEMMOVE.
27681 2014-07-04  Will Newton  <will.newton@linaro.org>
27683         * string/memchr.c: Merge from gnulib.
27684         [_LIBC]: Remove conditionals.
27685         (__ptr_t): Remove define.
27686         (LONG_MAX_32_BITS): Likewise.
27687         (LONG_MAX): Likewise.
27688         (MEMCHR): Use ANSI prototype and optimize algorithm.
27690         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
27692 2014-07-03  Roland McGrath  <roland@hack.frob.com>
27694         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
27695         (lll_futex_timed_wait_bitset): Fix syscall argument count.
27697         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
27698         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
27699         in a bare environment with no <stdlib.h> installed.
27700         * sysdeps/nptl/configure: Regenerated.
27702         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
27704         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
27705         AC_EGREP_CPP for kernel header checks, so they only succeed if
27706         including <linux/version.h> actually works right.
27707         * sysdeps/unix/sysv/linux/configure: Regenerated.
27709         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
27710         value so it's not diagnosed as unused.
27712         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
27713         thing) with "ifeq ($(subdir),rt)".
27715 2014-07-03  Richard Henderson  <rth@redhat.com>
27717         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
27718         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
27719         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
27721         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
27722         (math_force_eval): New.
27724         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
27725         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
27727         * sysdeps/alpha/fpu/s_round.c: Remove file.
27728         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
27730         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
27731         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
27732         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
27733         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
27734         (_dl_start, print_statistics): Likewise.
27735         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
27736         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
27738         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27739         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27740         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27741         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27742         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27743         (HP_SMALL_TIMING_AVAIL): Define.
27744         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27745         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
27746         (HP_SMALL_TIMING_AVAIL): Define.
27747         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27748         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27750         * sysdeps/aarch64/hp-timing.h: New file.
27752         * sysdeps/generic/hp-timing.h: Remove dead comment.
27753         * sysdeps/generic/hp-timing-common.h: New file.
27754         * sysdeps/alpha/hp-timing.h: Include it.
27755         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
27756         * sysdeps/i386/i686/hp-timing.h: Likewise.
27757         * sysdeps/ia64/hp-timing.h: Likewise.
27758         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27759         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27760         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27761         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27762         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
27763         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
27764         (hp_timing_t): New.
27766         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
27767         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
27768         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
27769         * elf/rtld.c (_dl_start_final): Likewise.
27770         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
27771         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27772         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27773         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27774         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27775         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27776         (HP_TIMING_DIFF_INIT): Remove.
27777         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27778         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
27779         (HP_TIMING_DIFF_INIT): Remove.
27780         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27781         * sysdeps/i386/i686/hp-timing.c: Remove file.
27782         * sysdeps/x86_64/hp-timing.c: Remove file.
27783         * sysdeps/ia64/hp-timing.c: Remove file.
27784         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
27785         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
27786         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
27787         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
27789         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
27790         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
27791         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
27792         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27793         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27794         (HP_TIMING_ACCUM): Remove.
27795         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27796         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
27797         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27799         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
27800         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
27801         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
27802         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
27803         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
27804         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27805         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
27806         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27808         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
27810 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
27812         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
27814 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27816         Sync up with gettext.
27817         * intl/loadmsgcat.c: Define O_BINARY if not defined.
27818         [_MSC_VER]: Include malloc.h
27819         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
27820         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
27821         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
27822         TEMP_FAILURE_RETRY.  Cast return of alloca.
27823         [!_LIBC] Call gl_rwlock_init.
27824         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
27826 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27828         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
27829         before checking its value.
27831 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27833         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
27835         * debug/memcpy_chk.c: Don't include pagecopy.h.
27836         * debug/mempcpy_chk.c: Likewise.
27837         * string/memcpy.c: Likewise.
27838         * string/memmove.c: Likewise.
27839         * sysdeps/powerpc/memmove.c: Likewise.
27840         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
27841         definition of PAGE_COPY_FWD_MAYBE here...
27842         * sysdeps/generic/pagecopy.h: ... from here.
27843         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
27845 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27846             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27848         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
27849         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
27850         optimizations.
27851         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27852         (__libc_ifunc_impl_list): Likewise.
27853         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
27854         multiarch strcat for PPC64.
27855         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
27856         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
27858 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27860         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
27862 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27864         * intl/loadmsgcat.c: Remove declaration of
27865         get_sysdep_segment_value.
27866         (get_sysdep_segment_value): Use ISO C style.
27867         (_nl_load_domain): Use ISO C style.  Get rid of redundant
27868         semicolon.  Fix typo and formatting in comment.
27869         (_nl_unload_domain): Use ISO C style.
27871         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
27873 2014-07-02  Will Newton  <will.newton@linaro.org>
27875         * malloc/obstack.c: Merge from gnulib master.
27876         [HAVE_CONFIG_H]: Remove conditional code.
27877         [!_LIBC]: Include config.h.
27878         [!ELIDE_CODE]: Don't include inttypes.h, include
27879         stdint.h unconditionally.
27880         (print_and_abort): Mark as _Noreturn.
27881         (_obstack_allocated_p): Mark as __attribute_pure__.
27882         (obstack_free): Rename to __obstack_free.
27883         [!__attribute__]: Remove conditional code.
27884         * malloc/obstack.h: Merge from gnulib master.
27885         [__cplusplus]: Move conditional down.
27886         [!__attribute_pure__]: Define __attribute_pure__ here
27887         if it is not already defined.
27888         (_obstack_memory_used): Mark as __attribute_pure__.
27889         [!__obstack_free]: Define as obstack_free.
27890         [__GNUC__]: Remove check for ancient NeXT gcc.
27892 2014-07-02  Will Newton  <will.newton@linaro.org>
27893             Paul Eggert  <eggert@cs.ucla.edu>
27895         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
27897 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27899         * resolv/gethnamaddr.c: Add comment warning that the file is
27900         not maintained.
27902 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
27904         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
27905         entries.
27907         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
27908         entry for aio_cancel and aio_cancel64.
27909         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
27910         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
27911         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
27912         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
27913         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
27914         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
27915         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
27916         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
27917         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
27918         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
27919         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
27920         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
27921         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
27923 2014-07-01  Roland McGrath  <roland@hack.frob.com>
27925         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
27926         * nptl/pthread_mutex_lock.c: Likewise.
27927         * nptl/pthread_mutex_timedlock.c: Likewise.
27928         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
27930 2014-07-01  Richard henderson  <rth@redhat.com>
27932         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
27933         (__isnan, __isnanl): Remove.
27934         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
27936         * sysdeps/alpha/fpu/libm-test-ulps: Update.
27938 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
27940         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27942 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27944         * resolv/nss_dns/dns-host.c (getanswer_r)
27945         [MULTI_PTRS_ARE_ALIASES]: Remove code.
27947 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
27949         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27950         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
27951         undefine.
27952         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
27953         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
27955 2014-07-01  Roland McGrath <roland@hack.frob.com>
27957         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
27958         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
27960         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
27961         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
27963         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
27964         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
27965         ... here.
27966         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
27967         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
27969         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
27970         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
27971         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
27972         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
27974         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
27975         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
27976         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
27977         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
27978         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
27979         Moved ...
27980         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
27981         ... here.
27982         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
27983         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
27984         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
27985         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
27986         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
27987         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
27988         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
27989         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
27990         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
27991         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
27992         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
27993         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
27994         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
27995         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
27996         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
27997         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
27998         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
27999         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
28000         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
28001         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
28002         ... here.
28003         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
28004         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
28005         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
28006         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
28007         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
28008         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
28009         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
28010         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
28012 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
28014         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
28015         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
28016         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
28017         Add sysdep.
28019 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28021         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28023 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
28025         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
28026         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28028         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28030         * sysdeps/arm/libm-test-ulps: Regenerated.
28032 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
28033             Roland McGrath <roland@hack.frob.com>
28035         * test-skeleton.c (signal_handler): Kill the whole process group
28036         before killing the child individually.
28037         (main): Report any failure on `setpgid'.
28039 2014-06-30  Roland McGrath  <roland@hack.frob.com>
28041         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
28042         from _TLS_H to _ARM_NPTL_TLS_H.
28043         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
28044         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
28046 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
28048         [BZ #16539]
28049         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
28050         (__expm1l): Return argument unchanged when small but not
28051         subnormal.
28053         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
28054         include macro name.
28055         (_FP_UNPACK_RAW_1_P): Likewise.
28056         (_FP_PACK_RAW_1): Likewise.
28057         (_FP_PACK_RAW_1_P): Likewise.
28058         (_FP_MUL_MEAT_1_wide): Likewise.
28059         (_FP_MUL_MEAT_DW_1_hard): Likewise.
28060         (_FP_MUL_MEAT_1_hard): Likewise.
28061         (_FP_DIV_MEAT_1_imm): Likewise.
28062         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
28063         (_FP_DIV_MEAT_1_udiv): Likewise.
28064         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
28065         (_FP_UNPACK_RAW_2): Likewise.
28066         (_FP_UNPACK_RAW_2_P): Likewise.
28067         (_FP_PACK_RAW_2): Likewise.
28068         (_FP_PACK_RAW_2_P): Likewise.
28069         (_FP_MUL_MEAT_DW_2_wide): Likewise.
28070         (_FP_MUL_MEAT_2_wide): Likewise.
28071         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
28072         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
28073         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
28074         (_FP_MUL_MEAT_2_gmp): Likewise.
28075         (_FP_DIV_MEAT_2_udiv): Likewise.
28076         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
28077         (_FP_FRAC_SRL_4): Likewise.
28078         (_FP_FRAC_SRST_4): Likewise.
28079         (_FP_FRAC_SRS_4): Likewise.
28080         (_FP_UNPACK_RAW_4): Likewise.
28081         (_FP_UNPACK_RAW_4_P): Likewise.
28082         (_FP_PACK_RAW_4): Likewise.
28083         (_FP_PACK_RAW_4_P): Likewise.
28084         (_FP_MUL_MEAT_DW_4_wide): Likewise.
28085         (_FP_MUL_MEAT_4_wide): Likewise.
28086         (_FP_MUL_MEAT_4_gmp): Likewise.
28087         (umul_ppppmnnn): Likewise.
28088         (_FP_DIV_MEAT_4_udiv): Likewise.
28089         (__FP_FRAC_ADD_4): Likewise.
28090         (__FP_FRAC_SUB_3): Likewise.
28091         (__FP_FRAC_SUB_4): Likewise.
28092         (__FP_FRAC_DEC_3): Likewise.
28093         (__FP_FRAC_DEC_4): Likewise.
28094         (__FP_FRAC_ADDI_4): Likewise.
28095         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
28096         (_FP_FRAC_SRL_8): Likewise.
28097         (_FP_FRAC_SRS_8): Likewise.
28099         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
28100         include macro name.
28101         (FP_UNPACK_RAW_EP): Likewise.
28102         (FP_PACK_RAW_E): Likewise.
28103         (FP_PACK_RAW_EP): Likewise.
28104         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
28105         (_FP_ISSIGNAN): Likewise.
28106         (_FP_ADD_INTERNAL): Likewise.
28107         (_FP_FMA): Likewise.
28108         (_FP_CMP): Likewise.
28109         (_FP_SQRT): Likewise.
28110         (_FP_TO_INT): Likewise.
28111         (_FP_FROM_INT): Likewise.
28112         (FP_EXTEND): Likewise.
28113         (_FP_DIV_MEAT_N_loop): Likewise.
28115 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
28117         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
28118         throughout.
28120 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
28122         [BZ #17097]
28123         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
28124         result with correct sign in case of exponents that produce
28125         overflow except for X very close to 1.
28127 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
28129         mktime: merge #if/#ifdef usage from glibc
28130         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
28131         as that works with both Glibc's and Gnulib's style.
28132         See thread starting at Siddhesh Poyarekar's bug report at:
28133         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
28135 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28137         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
28138         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
28139         * sysdeps/tile/tilegx/memmove.c: Remove file.
28141 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
28143         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
28144         abi-name definition.
28145         * scripts/soversions.awk: Do not handle or generate ABI lines.
28146         * shlib-versions: Remove ABI entries.
28147         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
28148         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
28150 2014-06-27  Roland McGrath  <roland@hack.frob.com>
28152         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
28153         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
28154         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
28155         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
28156         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
28157         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
28158         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
28159         Moved ...
28160         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
28161         ... here.
28162         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
28163         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
28164         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
28165         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
28166         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
28167         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
28168         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
28169         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
28170         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
28171         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
28172         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
28173         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
28174         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
28175         Moved ...
28176         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
28177         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
28178         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
28179         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
28180         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
28181         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
28182         Moved ...
28183         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
28184         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
28185         Moved ...
28186         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
28187         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
28188         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
28189         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
28190         Moved ...
28191         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
28192         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
28193         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
28194         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
28195         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
28196         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
28197         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
28198         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
28199         Moved ...
28200         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
28201         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
28202         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
28203         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
28204         Moved ...
28205         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
28206         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
28207         Moved ...
28208         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
28209         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
28210         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
28211         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
28212         Moved ...
28213         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
28214         ... here.
28215         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
28216         Identical file removed.
28217         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
28218         Moved ...
28219         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
28220         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
28221         Identical file removed.
28222         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
28223         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
28224         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
28225         Moved ...
28226         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
28227         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
28228         Identical file removed.
28229         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
28230         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
28231         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
28232         Identical file removed.
28233         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
28234         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
28235         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
28236         Identical file removed.
28237         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
28238         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
28239         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
28240         Identical file removed.
28241         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
28242         Moved ...
28243         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
28244         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
28245         Identical file removed.
28246         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
28247         Moved ...
28248         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
28249         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
28250         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
28251         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
28252         Identical file removed.
28253         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
28254         Moved ...
28255         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
28256         ... here.
28257         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
28258         Identical file removed.
28259         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
28260         Moved ...
28261         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
28262         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
28263         Identical file removed.
28264         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
28265         Moved ...
28266         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
28267         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
28268         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
28269         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
28270         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
28271         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
28272         Moved ...
28273         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
28274         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
28275         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
28277         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
28278         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
28279         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
28280         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
28281         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
28283 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
28285         [BZ #17092]
28286         * nscd/nscd.c (monitor_child): Return exit status of child
28287         instead of return value from wait syscall.
28289 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
28291         * configure.ac (libc_commonpagesize): Remove variable.
28292         (libc_relro_required): Likewise.
28293         (libc_cv_z_relro): Remove configure test.
28294         * configure: Regenerated.
28295         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
28296         variable.
28297         (libc_relro_required): Likewise.
28298         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
28299         (libc_relro_required): Likewise.
28300         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
28301         (libc_relro_required): Likewise.
28302         * sysdeps/arm/preconfigure: Regenerated.
28303         * sysdeps/ia64/preconfigure: Remove file.
28304         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
28305         variable.
28306         (libc_relro_required): Likewise.
28308         [BZ #16561]
28309         [BZ #16562]
28310         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
28311         (__ieee754_yn): Set FE_TONEAREST mode internally and then
28312         recompute overflowing results in original rounding mode.
28313         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
28314         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
28315         recompute overflowing results in original rounding mode.
28316         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
28317         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28318         recompute overflowing results in original rounding mode.
28319         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
28320         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28321         recompute overflowing results in original rounding mode.
28322         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
28323         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28324         recompute overflowing results in original rounding mode.
28325         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
28326         (libc_feholdsetround_ctx): New macro.
28327         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
28328         * sysdeps/i386/fpu/libm-test-ulps: Update.
28329         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
28331 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28333         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
28334         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
28335         corresponding .cpsetup call.
28337 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28339         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
28340         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
28341         * sysdeps/arm/Makefile [$(subdir) = csu]
28342         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
28343         (static-only-routines): Add aeabi_read_tp here.
28344         (shared-only-routines): Add libc-aeabi_read_tp here.
28345         (CFLAGS-libc-start.c): Add -fexceptions here.
28346         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
28347         (sysdep_routines, static-only-routines, shared-only-routines):
28348         Don't add to these here.
28349         (CFLAGS-libc-start.c): Likewise.
28351         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
28352         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
28353         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
28354         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
28355         * sysdeps/arm/Makefile [$(subdir) = rt]
28356         (librt-sysdep_routines, librt-shared-only-routines):
28357         Append rt-aeabi_unwind_cpp_pr1 here.
28358         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
28359         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
28360         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
28361         (libpthread-sysdep_routines, libpthread-shared-only-routines):
28362         Append nptl-aeabi_unwind_cpp_pr1 here.
28363         (tests): Filter out tst-cleanupx4 here.
28364         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
28365         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
28366         Don't do those here.
28368 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28370         * scripts/list-sources.sh: Do not handle ports specially.
28372 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28374         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
28375         * sysdeps/arm/feupdateenv.c: Likewise.
28377         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
28379 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28381         * manual/texinfo.tex: Update to version 2014-05-05.10 with
28382         trailing whitespace removed.
28383         * scripts/config.guess: Update to version 2014-03-23.
28384         * scripts/config.sub: Update to version 2014-05-01
28385         * scripts/install-sh: Update to version 2013-12-25.23.
28386         * scripts/move-if-change: Update from gnulib.
28388 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28390         * debug/memmove_chk.c: Remove pagecopy.h include.
28392 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
28394         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
28395         identical to gnulib mktime.
28397 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28399         * configure.ac: Do not test for machine being rs6000.  Do not test
28400         for powerpc*-*soft.
28401         * configure: Regenerated.
28403         [BZ #11505]
28404         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
28405         test.
28406         * configure: Regenerated.
28407         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
28408         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
28409         Remove configure test.
28410         * sysdeps/arm/configure: Regenerated.
28411         * sysdeps/nptl/configure.ac: Do not check
28412         libc_cv_asm_cfi_directives.
28413         * sysdeps/nptl/configure: Regenerated.
28414         * sysdeps/x86_64/nptl/configure.ac: Remove file.
28415         * sysdeps/x86_64/nptl/configure: Remove generated file.
28416         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
28417         unconditional.
28418         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
28420 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28422         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
28423         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
28424         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
28425         it is defined.
28427         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
28428         instead of whether it is defined.
28429         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
28430         * sysdeps/hppa/dl-machine.h: Likewise.
28431         * sysdeps/ia64/dl-machine.h: Likewise.
28432         * sysdeps/m68k/dl-machine.h: Likewise.
28433         * sysdeps/microblaze/dl-machine.h: Likewise.
28434         * sysdeps/mips/dl-machine.: Likewise.
28435         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28436         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28437         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28438         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28439         * sysdeps/sh/dl-machine.h: Likewise.
28440         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28441         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28442         * sysdeps/tile/dl-machine.h: Likewise.
28443         * sysdeps/x86_64/dl-machine.h: Likewise.
28445         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
28446         code.
28447         (verify_persistent_db): Likewise.
28449 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28451         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
28452         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
28453         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
28454         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
28455         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
28456         Moved ...
28457         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
28458         ... here.
28459         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
28460         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
28461         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
28462         Identical file removed.
28463         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
28464         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
28465         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
28466         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
28467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
28468         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
28469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
28470         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
28471         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
28472         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
28473         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28474         Moved ...
28475         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
28476         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
28477         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
28478         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
28479         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
28480         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
28481         Moved ...
28482         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
28483         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
28484         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
28485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
28486         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
28487         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28488         Identical file removed.
28489         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
28490         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
28491         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
28492         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
28493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
28494         Moved ...
28495         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
28496         ... here.
28497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
28498         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
28499         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
28500         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
28501         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
28502         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
28503         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
28504         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
28505         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
28506         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
28507         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28508         Moved ...
28509         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
28510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
28511         Moved ...
28512         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
28513         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
28514         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
28515         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
28516         Moved ...
28517         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
28518         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
28519         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
28521         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
28522         folded into ...
28523         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
28524         * sysdeps/unix/sysv/linux/s390/Versions
28525         (libpthread: GLIBC_2.19): New version set.
28526         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
28527         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
28528         (librt: GLIBC_2.3.3): New version set.
28529         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
28530         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
28531         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
28532         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
28533         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
28534         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
28535         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
28536         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
28537         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
28538         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
28539         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
28540         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
28541         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
28542         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
28543         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
28544         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
28545         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
28546         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
28547         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
28548         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
28549         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
28550         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
28551         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
28552         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
28553         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
28554         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
28555         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
28556         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
28557         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
28558         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
28559         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
28560         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
28561         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
28562         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
28563         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
28564         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
28565         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
28566         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
28567         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
28568         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
28569         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
28570         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
28571         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
28572         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
28573         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
28575         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
28576         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
28577         (__libc_vfork): Define the function under this name.
28578         [!NOT_IN_libc] (__vfork): Make this an alias.
28579         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
28580         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
28581         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
28582         (__libc_vfork): Define the function under this name.
28583         [!NOT_IN_libc] (__vfork): Make this an alias.
28584         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
28585         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
28586         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
28587         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
28588         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
28589         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28591         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
28592         code that was previously under [RESET_PID].
28593         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
28594         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
28595         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
28597         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
28598         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
28599         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
28600         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
28601         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
28602         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
28603         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
28604         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
28605         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
28606         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
28607         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
28608         Moved ...
28609         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
28610         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
28611         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
28612         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
28613         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
28614         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
28615         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
28616         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
28617         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
28618         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
28619         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
28620         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
28621         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
28622         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
28623         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
28624         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
28625         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
28626         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
28627         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
28628         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
28629         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
28630         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
28631         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
28632         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
28633         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
28634         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
28635         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
28636         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
28637         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
28639 2014-06-25  Roland McGrath  <roland@hack.frob.com>
28641         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
28642         that was previously under [RESET_PID].
28643         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
28645 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28647         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
28648         not undefine and redefine.
28649         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
28650         [O_CLOEXEC]: Make code unconditional.
28651         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
28652         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
28653         <kernel-features.h>.
28654         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
28655         conditional variable definition.
28656         (shm_open) [O_CLOEXEC]: Make code unconditional.
28657         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
28658         code.
28660         * configure.ac (USE_REGPARMS): Don't define here.
28661         * configure: Regenerated.
28662         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
28663         * sysdeps/i386/configure: Regenerated.
28665         * nptl/createthread.c: Don't include kernel-features.h.
28666         * nptl/pthread_cancel.c: Likewise.
28667         * nptl/pthread_condattr_setclock.c: Likewise.
28668         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
28669         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
28670         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
28671         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
28672         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
28673         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
28674         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
28675         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
28676         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
28677         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
28678         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
28679         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
28680         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
28681         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
28682         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
28683         * nscd/gai.c: Likewise.
28684         * nss/nss_db/db-open.c: Likewise.
28685         * sysdeps/generic/ldsodefs.h: Likewise.
28686         * sysdeps/sh/nptl/tls.h: Likewise.
28687         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
28688         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
28689         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
28690         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
28691         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
28692         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
28693         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
28694         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28695         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28696         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
28697         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
28698         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28699         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
28700         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
28701         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
28702         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
28703         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
28704         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
28705         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
28706         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
28707         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
28708         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
28709         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
28710         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
28711         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
28712         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
28713         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
28714         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
28715         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
28716         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
28717         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
28718         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
28719         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
28720         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28721         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28722         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
28723         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28724         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
28725         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
28726         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
28727         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
28728         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
28729         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
28730         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28731         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
28732         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
28733         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
28734         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
28735         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
28736         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
28737         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
28738         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
28739         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
28740         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
28741         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
28742         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28743         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
28744         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
28745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
28746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
28747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
28748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
28749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
28750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
28751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
28752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
28753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
28754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
28755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
28756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
28757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
28758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
28759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
28765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
28766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
28767         * sysdeps/unix/sysv/linux/pread.c: Likewise.
28768         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
28769         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
28770         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
28771         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
28772         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
28773         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
28774         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
28775         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
28776         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
28777         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
28778         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
28779         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
28780         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
28781         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
28782         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
28783         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28784         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
28785         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
28786         * sysdeps/unix/sysv/linux/system.c: Likewise.
28787         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
28788         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
28789         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28790         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28791         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28792         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28793         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28795         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
28796         * configure: Regenerated.
28797         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
28799         * configure.ac (base_machine): Do not set specially for particular
28800         machines here.
28801         * configure: Regenerated.
28802         * sysdeps/powerpc/preconfigure: Move machine and base_machine
28803         settings from configure.ac.
28804         * sysdeps/i386/preconfigure: New file.
28805         * sysdeps/s390/preconfigure: Likewise.
28806         * sysdeps/sh/preconfigure: Likewise.
28807         * sysdeps/sparc/preconfigure: Likewise.
28809 2014-06-25  Roland McGrath  <roland@hack.frob.com>
28811         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
28812         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
28813         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
28814         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
28815         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
28816         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
28817         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
28818         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
28819         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
28820         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
28821         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
28822         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
28823         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
28824         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
28825         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
28826         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
28827         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
28828         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
28829         * sysdeps/sparc/sparc64/Makefile: ... appended here.
28831         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
28832         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
28833         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
28834         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
28835         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
28836         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
28837         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
28838         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
28839         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
28840         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
28841         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
28842         * sysdeps/sparc/sparc32/sem_post.c: ... here.
28843         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
28844         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
28845         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
28846         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
28847         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
28848         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
28849         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
28850         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
28851         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
28852         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
28853         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
28854         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
28855         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
28856         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
28857         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
28858         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
28859         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
28860         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
28861         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
28862         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
28863         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
28864         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
28865         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
28866         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
28867         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
28868         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
28870         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
28871         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
28872         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
28873         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
28874         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28875         Moved ...
28876         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
28877         ... here.
28878         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
28879         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
28880         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
28881         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
28882         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
28883         Moved ...
28884         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
28885         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
28886         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
28887         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
28888         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
28889         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
28890         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
28891         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28892         Moved ...
28893         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
28894         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28895         Moved ...
28896         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
28897         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
28898         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
28899         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28900         Moved ...
28901         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
28902         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
28903         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
28904         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
28905         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
28906         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
28907         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
28908         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
28909         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
28910         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28911         Moved ...
28912         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
28913         ... here.
28914         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
28915         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
28916         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
28917         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
28918         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
28919         Moved ...
28920         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
28921         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
28922         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
28923         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
28924         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
28925         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
28926         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
28927         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28928         Moved ...
28929         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
28930         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28931         Moved ...
28932         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
28933         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
28934         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
28935         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28936         Moved ...
28937         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
28938         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
28939         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
28940         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
28941         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
28943 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28945         * timezone/checktab.awk: Update from tzcode 2014e.
28946         * timezone/private.h: Likewise.
28947         * timezone/tzfile.h: Likewise.
28948         * timezone/zdump.c: Likewise.
28949         * timezone/zic.c: Likewise.
28951         * sysdeps/unix/sysv/linux/kernel-features.h
28952         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
28953         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
28954         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
28955         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28956         Remove conditional code.
28958 2014-06-25  Will Newton  <will.newton@linaro.org>
28960         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
28961         (_dl_arm_cap_flags): Add HWCAP2 values.
28962         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
28963         (_DL_HWCAP_COUNT): Increase to 37.
28964         (_DL_HWCAP_LAST): New define.
28965         (_DL_HWCAP2_LAST): New define.
28966         (_dl_procinfo): Add support for printing
28967         AT_HWCAP2 entries.
28968         (_dl_string_hwcap): Use _dl_hwcap_string.
28970 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28974 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28976         * README: Do not mention ports directory.
28978         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
28979         Remove macro.
28980         * sysdeps/unix/sysv/linux/futimes.c: Do not include
28981         <kernel-features.h>.
28982         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
28983         conditional variable definition.
28984         (__futimes): Update comment.
28985         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
28986         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
28988         [BZ #16560]
28989         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
28990         arguments close to 0.
28991         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
28992         Likewise.
28993         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
28994         Likewise.
28995         * math/auto-libm-test-in: Add more tests of exp10.
28996         * math/auto-libm-test-out: Regenerated.
28997         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28999         * sysdeps/unix/sysv/linux/kernel-features.h
29000         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
29001         * sysdeps/unix/sysv/linux/readv.c: Do not include
29002         <kernel-features.h>.
29003         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
29004         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
29005         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
29006         unconditional.
29007         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
29008         conditional code.
29009         * sysdeps/unix/sysv/linux/writev.c: Do not include
29010         <kernel-features.h>.
29011         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
29012         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
29013         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
29014         unconditional.
29015         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
29016         conditional code.
29018 2014-06-25  Will Newton  <will.newton@linaro.org>
29020         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
29021         comment changes throughout the file.  Remove checks
29022         for HAVE_*_H definitions that are not required.
29023         (__gen_tempname): Call abort if an unknown kind value is
29024         passed.
29026 2014-06-25  Andreas Schwab  <schwab@suse.de>
29028         [BZ #17086]
29029         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
29030         scalbln, scalblnf, scalblnl in libc.
29032 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29034         [BZ #17086]
29035         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
29036         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
29037         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
29039 2014-06-24  Roland McGrath  <roland@hack.frob.com>
29041         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
29042         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
29043         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
29044         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
29045         Update #include.
29046         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
29047         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
29048         Update #include.
29049         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
29050         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
29051         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
29052         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
29053         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
29054         * sysdeps/x86/bits/pthreadtypes.h: ... here.
29055         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
29056         * sysdeps/x86/bits/semaphore.h: ... here.
29057         * sysdeps/x86/nptl/elide.h: Moved ...
29058         * sysdeps/x86/elide.h: ... here.
29059         * sysdeps/x86_64/nptl/Implies: File removed.
29060         * sysdeps/i386/nptl/Implies: File removed.
29062 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
29064         [BZ #16539]
29065         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
29066         return the argument for normal arguments with exponent below -64.
29067         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29068         Likewise.
29069         * math/auto-libm-test-in: Add another test of expm1.
29070         * math/auto-libm-test-out: Regenerated.
29072         [BZ #16287]
29073         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
29074         calling __erfcl for arguments at least 16.
29075         * math/auto-libm-test-in: Add more tests of erf.
29076         * math/auto-libm-test-out: Regenerated.
29078         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
29079         individual architectures.
29080         * sysdeps/unix/sysv/linux/configure: Regenerated.
29081         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
29082         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
29083         * sysdeps/unix/sysv/linux/powerpc/configure.ac
29084         (ldd_rewrite_script): Define variable.
29085         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
29087         file.
29088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
29089         generated file.
29090         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
29091         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
29092         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
29093         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
29094         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
29095         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
29096         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
29097         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
29099 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29101         [BZ #17084]
29102         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
29103         Rename member __data.d to __data.__elision_data.
29105 2014-06-24  Wilco  <wdijkstr@arm.com>
29107         * NEWS: Add 16918 to fixed bug list.
29109 2014-06-24  Wilco  <wdijkstr@arm.com>
29111         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
29113 2014-06-24  Wilco  <wdijkstr@arm.com>
29115         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
29116         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
29117         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
29118         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
29119         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
29120         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
29121         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
29122         Use _FPU_MASK_RM.
29124 2014-06-24  Wilco  <wdijkstr@arm.com>
29126         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
29128 2014-06-24  Wilco  <wdijkstr@arm.com>
29130         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
29131         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
29132         * sysdeps/arm/fesetround.c (fesetround): Remove space.
29133         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
29135 2014-06-24  Wilco  <wdijkstr@arm.com>
29137         [BZ #16918]
29138         * sysdeps/arm/feupdateenv.c (feupdateenv):
29139         Rewrite to reduce FPSCR accesses and fix return value.
29141 2014-06-24  Wilco  <wdijkstr@arm.com>
29143         * sysdeps/arm/fclrexcpt.c (feclearexcept):
29144         Optimize to avoid unnecessary FPSCR writes.
29145         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
29146         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
29147         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
29148         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
29150 2014-06-24  Wilco  <wdijkstr@arm.com>
29152         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
29153         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
29154         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
29155         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
29156         Call libc_fetestexcept_vfp.
29157         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
29158         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
29159         __SOFTFP__ ifdef so that they can be built for softfp.
29161 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29163         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
29164         argument type signed char.
29166         * Makerules (check-abi): Dump diff of symlist if the test
29167         fails.
29169 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29171         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
29172         using abort.
29174         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
29175         Remove unused variable ST.
29177 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
29179         [BZ #16354]
29180         [BZ #17061]
29181         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
29182         small arguments before calling __expm1.
29183         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
29184         small arguments before calling __expm1f.
29185         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
29186         small arguments before calling __expm1l.
29187         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
29188         Likewise.
29189         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
29190         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
29191         spurious underflow for some cosh tests.
29192         * math/auto-libm-test-out: Regenerated.
29193         * sysdeps/i386/fpu/libm-test-ulps: Update.
29195         [BZ #17050]
29196         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
29197         (__ieee754_y1): Set errno if return value overflows.
29198         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
29199         (__ieee754_y1f): Set errno if return value overflows.
29200         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
29201         (__ieee754_y1l): Set errno if return value overflows.
29202         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
29203         (__ieee754_y1l): Set errno if return value overflows.
29204         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
29205         * math/auto-libm-test-out: Regenerated.
29207         * math/gen-auto-libm-tests.c: Document use of
29208         ignore-zero-inf-sign.
29209         (input_flag_type): Add value flag_ignore_zero_inf_sign.
29210         (input_flags): Add ignore-zero-inf-sign.
29211         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
29212         * math/gen-libm-test.pl (generate_testfile): Handle
29213         ignore-zero-inf-sign.
29214         * math/auto-libm-test-in: Mark some cpow tests with
29215         ignore-zero-inf-sign and some with xfail-rounding.
29216         * math/auto-libm-test-out: Regenerated.
29217         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
29218         * sysdeps/i386/fpu/libm-test-ulps: Update.
29219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29221         [BZ #16315]
29222         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
29223         overflowing or underflowing operations take place with sign of
29224         result.
29225         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29226         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29227         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
29228         (__ieee754_pow): Recompute overflowing and underflowing results in
29229         original rounding mode.
29230         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
29231         (__powl_helper): Allow negative argument X and scale negated value
29232         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
29233         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
29234         overflowing or underflowing operations take place with sign of
29235         result.
29236         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
29237         Include <math.h>.
29238         * math/auto-libm-test-in: Add more tests of pow.
29239         * math/auto-libm-test-out: Regenerated.
29240         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
29241         (pow_tonearest_test_data): Remove.
29242         (pow_test_tonearest): Likewise.
29243         (pow_towardzero_test_data): Likewise.
29244         (pow_test_towardzero): Likewise.
29245         (pow_downward_test_data): Likewise.
29246         (pow_test_downward): Likewise.
29247         (pow_upward_test_data): Likewise.
29248         (pow_test_upward): Likewise.
29249         (main): Don't call removed functions.
29250         * sysdeps/i386/fpu/libm-test-ulps: Update.
29251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29253 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
29256         Moved ...
29257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
29258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29259         Moved ...
29260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
29261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29262         Moved ...
29263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
29264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29265         Moved ...
29266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
29267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29268         File removed.
29269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29270         File removed.
29271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
29272         File removed.
29273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
29274         File removed.
29275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
29276         File removed.
29277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
29278         File removed.
29279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
29280         File removed.
29281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29282         File removed.
29283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
29284         File removed.
29285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
29286         File removed.
29287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
29288         File removed.
29289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
29290         File removed.
29291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
29292         Moved ...
29293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
29294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
29295         Moved ...
29296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
29297         ... here.
29298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
29299         Moved ...
29300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
29301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
29302         Moved ...
29303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
29304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
29305         Moved ...
29306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
29307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
29308         Moved ...
29309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
29310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
29311         Moved ...
29312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
29313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
29314         Moved ...
29315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
29316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
29317         Moved ...
29318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
29319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
29320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
29321         ... here.
29322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
29323         Moved ...
29324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
29325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
29326         Moved ...
29327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
29328         ... here.
29329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
29330         Moved ...
29331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29332         ... here.
29333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29334         Moved ...
29335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
29336         ... here.
29337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29338         Moved ...
29339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
29340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
29341         Moved ...
29342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
29343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
29344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
29345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
29346         Moved ...
29347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
29348         ... here.
29349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
29350         Moved ...
29351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
29352         ... here.
29353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
29354         Moved ...
29355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
29356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
29357         Moved ...
29358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
29359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
29360         Moved ...
29361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
29362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29363         Moved ...
29364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
29365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
29366         Moved ...
29367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
29368         ... here.
29369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
29370         Moved ...
29371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
29372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
29373         Moved ...
29374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
29375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
29376         Moved ...
29377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
29378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
29379         Moved ...
29380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
29381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
29382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
29383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
29384         Moved ...
29385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
29386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
29387         Moved ...
29388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
29389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
29390         Moved ...
29391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
29392         ... here.
29393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29394         Moved ...
29395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
29396         ... here.
29397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
29398         Moved ...
29399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
29400         ... here.
29401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
29402         Moved ...
29403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
29404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
29405         Moved ...
29406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
29407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
29408         Moved ...
29409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
29410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
29411         Moved ...
29412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
29413         ... here.
29414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
29415         Moved ...
29416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
29417         ... here.
29418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
29419         Moved ...
29420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
29421         ... here.
29422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
29423         Moved ...
29424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
29425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29426         Moved ...
29427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
29429 2014-06-23  Will Newton  <will.newton@linaro.org>
29430             Wilco  <wdijkstr@arm.com>
29432         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
29433         implementation.  Include get-rounding-mode.h.
29434         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
29435         [!libc_feholdsetround_noex_ctx]: Define
29436         libc_feholdsetround_noex_ctx.
29437         [!libc_feholdsetround_noexf_ctx]: Define
29438         libc_feholdsetround_noexf_ctx.
29439         [!libc_feholdsetround_noexl_ctx]: Define
29440         libc_feholdsetround_noexl_ctx.
29441         (libc_feholdsetround_ctx): New function.
29442         (libc_feresetround_ctx): New function.
29443         (libc_feholdsetround_noex_ctx): New function.
29444         (libc_feresetround_noex_ctx): New function.
29446 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29448         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
29449         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
29450         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
29451         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
29452         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
29453         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
29455         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
29456         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
29457         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
29458         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
29459         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
29460         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
29461         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
29462         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
29463         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
29464         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
29465         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
29466         Moved ...
29467         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
29468         ... here.
29469         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
29470         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
29471         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
29472         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
29473         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
29474         Moved ...
29475         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
29476         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
29477         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
29478         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
29479         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
29480         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
29481         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
29482         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
29483         Moved ...
29484         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
29485         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
29486         Moved ...
29487         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
29488         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
29489         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
29490         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
29491         Moved ...
29492         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
29493         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
29494         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
29495         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
29496         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
29497         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
29498         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
29499         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
29500         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
29501         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
29502         Moved ...
29503         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
29504         ... here.
29505         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
29506         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
29507         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
29508         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
29509         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
29510         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
29511         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
29512         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
29513         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
29514         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
29515         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
29516         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
29517         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
29518         Moved ...
29519         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
29520         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
29521         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
29522         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
29523         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
29524         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
29525         Moved ...
29526         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
29527         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
29528         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
29529         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
29530         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
29532         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
29533         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
29534         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
29535         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
29536         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
29537         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
29538         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
29539         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
29540         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
29541         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
29542         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
29543         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
29544         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
29545         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
29546         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
29547         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
29548         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
29549         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
29550         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
29551         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
29552         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
29553         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
29554         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
29555         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
29556         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
29557         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
29558         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
29559         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
29561 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
29563         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29564         (FALLOC_FL_COLLAPSE_RANGE): New macro.
29565         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
29566         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
29567         (IPV6_PMTUDISC_INTERFACE): Likewise.
29568         (IPV6_PMTUDISC_OMIT): Likewise.
29570 2014-06-23  Andreas Schwab  <schwab@suse.de>
29572         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
29573         Remove unused errout label.
29575 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29577         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
29578         macro: hardware supports Vector Crypto instructions.
29580 2014-06-23  Will Newton  <will.newton@linaro.org>
29582         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
29583         rather than __builtin_expect.
29585         * elf/dl-lookup.c (undefined_msg): Remove variable.
29586         (_dl_lookup_symbol_x): Replace undefined_msg with string
29587         literal.
29589         * elf/dl-lookup.c (do_lookup_unique): New function.
29590         (do_lookup_x): Move STB_GNU_UNIQUE handling code
29591         to a separate function.
29593 2014-06-23  Andreas Schwab  <schwab@suse.de>
29595         [BZ #17079]
29596         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
29597         before reading the next line.
29599 2014-06-23  Will Newton  <will.newton@linaro.org>
29601         * test-skeleton.c (signal_handler): Use printf and %m
29602         rather than perror.  Use printf rather than fprintf to
29603         stderr.  Use puts rather than fputs to stderr.
29604         (main): Likewise.
29606 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
29608         * nscd/nscd.c (thread_info_t): Remove typedef.
29609         (thread_info): Remove variable.
29611 2014-06-21  Allan McRae  <allan@archlinux.org>
29613         * NEWS: Mention CVE-2014-4043.
29615 2014-06-20  Roland McGrath  <roland@hack.frob.com>
29617         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
29618         * nptl/smp.h: ... here.
29620         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
29622         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
29623         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
29624         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
29625         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
29627         * nptl/allocatestack.c: Include <stack-aliasing.h>.
29628         * nptl/stack-aliasing.h: New file.
29629         * sysdeps/i386/i686/stack-aliasing.h: New file.
29630         * sysdeps/i386/i686/nptl/Makefile: File removed.
29631         * sysdeps/x86_64/stack-aliasing.h: New file.
29632         * sysdeps/x86_64/nptl/Makefile
29633         (CFLAGS-pthread_create.c): Variable removed.
29635         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
29636         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
29637         old file.
29638         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
29639         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
29640         old file.
29642 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
29644         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29645         (__ASSUME_SIGFRAME_V2): Remove macro.
29646         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
29647         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
29648         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
29649         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
29650         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
29651         Declare as function.  Remove conditional macro definitions.
29652         (__default_rt_sa_restorer): Likewise.
29653         (__default_sa_restorer_v1): Remove declaration.
29654         (__default_sa_restorer_v2): Likewise.
29655         (__default_rt_sa_restorer_v1): Likewise.
29656         (__default_rt_sa_restorer_v2): Likewise.
29657         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
29658         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
29659         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
29661 2014-06-20  Roland McGrath  <roland@hack.frob.com>
29663         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
29664         (libpthread-routines): Add sysdep.
29665         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
29666         * sysdeps/unix/sysv/linux/sparc/Versions
29667         (libpthread: GLIBC_2.3.3): New version set.
29668         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
29669         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
29670         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
29671         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
29672         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
29673         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
29674         Moved ...
29675         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
29676         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
29677         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
29678         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
29679         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
29680         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
29681         * sysdeps/sparc/nptl/sem_init.c: ... here.
29682         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
29683         * sysdeps/sparc/nptl/sem_post.c: ... here.
29684         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
29685         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
29686         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
29687         * sysdeps/sparc/nptl/sem_wait.c: ... here.
29688         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
29689         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
29690         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
29691         (libpthread-routines): Add cpu_relax.
29692         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
29693         File removed.
29694         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
29695         (librt: GLIBC_2.3.3): New version set.
29696         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
29697         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
29698         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
29699         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
29700         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
29701         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
29702         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
29703         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
29704         Moved ...
29705         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
29706         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
29707         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
29708         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
29709         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
29710         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
29711         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
29712         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
29713         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
29714         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
29715         Moved ...
29716         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
29717         Update #include.
29718         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
29719         Moved ...
29720         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
29721         Update #include.
29722         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
29723         Moved ...
29724         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
29725         Update #include.
29726         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
29727         Moved ...
29728         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
29729         Update #include.
29730         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
29731         Moved ...
29732         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
29733         Update #include.
29734         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
29735         Moved ...
29736         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
29737         Update #include.
29738         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
29739         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
29740         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
29741         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
29742         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
29743         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
29744         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
29745         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
29746         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
29747         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
29748         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
29749         Moved ...
29750         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
29751         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
29752         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
29753         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
29754         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
29756 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29758         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
29759         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
29760         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29761         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
29762         * nscd/nscd.c: Likewise.
29763         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
29764         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
29765         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
29766         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
29768         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
29769         <kernel-features.h>.
29770         (init_mq_netlink): Remove conditional have_sock_cloexec
29771         definitions.  Remove code conditional on have_sock_cloexec < 0.
29772         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
29773         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
29774         * sysdeps/unix/sysv/linux/opensock.c: Do not include
29775         <kernel-features.h>.
29776         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
29777         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
29779 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
29781         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29782         Add tests for memset_chk and memset.
29784         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
29785         with AVX2_Usable.
29787 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29789         [BZ #16046]
29790         * elf/tst-dl-iter-static.c: New file.
29791         * elf/Makefile (tests-static): Add tst-dl-iter-static.
29793         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
29794         error.
29796 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29798         * sysdeps/unix/sysv/linux/kernel-features.h
29799         (__ASSUME_F_GETOWN_EX): Remove macro.
29800         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
29801         <kernel-features.h>.
29802         (miss_F_GETOWN_EX): Remove variable or macro.
29803         (do_fcntl): Do not check miss_F_GETOWN_EX.
29804         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
29806         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
29807         Remove macro.
29808         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
29809         [!__ASSUME_AT_RANDOM]: Remove conditional code.
29810         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
29812         * sysdeps/unix/sysv/linux/kernel-features.h
29813         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
29814         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
29815         [ADJ_OFFSET_SS_READ]: Make code unconditional.
29816         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
29818 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29820         [BZ #17075]
29821         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
29822         Fix calculation of the symbol's value.
29823         * sysdeps/arm/tst-armtlsdescloc.c: New file.
29824         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
29825         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
29826         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
29827         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
29828         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
29829         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
29830         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
29831         (modules-names): Add `tst-armtlsdescmod',
29832         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
29833         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
29834         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29835         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
29836         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
29837         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29838         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
29839         ($(objpfx)tst-armtlsdescloc): New dependency.
29840         ($(objpfx)tst-armtlsdescextnow): Likewise.
29841         ($(objpfx)tst-armtlsdescextlazy): Likewise.
29842         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
29843         TLS scheme support.
29844         * sysdeps/arm/configure: Regenerate.
29846 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29848         * include/fcntl.h (__atfct_seterrno): Remove prototype.
29849         (__atfct_seterrno_2): Likewise.
29850         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
29851         <kernel-features.h>.
29852         (__ASSUME_ATFCTS): Do not undefine and redefine.
29853         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
29854         (__have_atfcts): Remove conditional definition.
29855         (__fxstatat([__NR_fstatat64]: Make code unconditional.
29856         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
29857         unreachable if [__ASSUME_ATFCTS].
29858         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
29859         not undefine and redefine.
29860         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
29861         <kernel-features.h>.
29862         (faccessat) [__NR_faccessat]: Make code unconditional.
29863         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
29864         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
29865         <kernel-features.h>.
29866         (fchmodat) [__NR_fchmodat]: Make code unconditional.
29867         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
29868         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
29869         <kernel-features.h>.
29870         (fchownat) [__NR_fchownat]: Make code unconditional.
29871         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
29872         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
29873         <kernel-features.h>.
29874         (futimesat) [__NR_futimesat]: Make code unconditional.
29875         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
29876         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29877         <kernel-features.h>.
29878         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
29879         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29880         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29881         <kernel-features.h>.
29882         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
29883         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
29884         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
29885         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29886         <kernel-features.h>.
29887         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
29888         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29889         * sysdeps/unix/sysv/linux/linkat.c: Do not include
29890         <kernel-features.h>.
29891         (linkat) [__NR_linkat]: Make code unconditional.
29892         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29893         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
29894         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
29895         <kernel-features.h>.
29896         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
29897         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
29898         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
29899         <kernel-features.h>.
29900         (mkdirat) [__NR_mkdirat]: Make code unconditional.
29901         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
29902         * sysdeps/unix/sysv/linux/openat.c: Do not include
29903         <kernel-features.h>.
29904         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
29905         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
29906         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
29907         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
29908         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
29909         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
29910         <kernel-features.h>.
29911         (readlinkat) [__NR_readlinkat]: Make code unconditional.
29912         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
29913         result of INLINE_SYSCALL directly, not via int variable.
29914         * sysdeps/unix/sysv/linux/renameat.c: Do not include
29915         <kernel-features.h>.
29916         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
29917         (renameat) [__NR_renameat]: Make code unconditional.
29918         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
29919         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
29920         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
29921         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
29922         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
29923         (__ASSUME_ATFCTS): Do not undefine and redefine.
29924         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
29925         <kernel-features.h>.
29926         (symlinkat) [__NR_symlinkat]: Make code unconditional.
29927         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29928         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
29929         <kernel-features.h>.
29930         (unlinkat) [__NR_unlinkat]: Make code unconditional.
29931         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29932         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
29933         (__ASSUME_ATFCTS): Do not undefine and redefine.
29934         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29935         <kernel-features.h>.
29936         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
29937         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29938         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29939         <kernel-features.h>.
29940         (__xmknodat) [__NR_mknodat]: Make code unconditional.
29941         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
29943 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
29945         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
29947 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
29949         [BZ #17069]
29950         * posix/regcomp.c (parse_reg_exp): Deallocate partially
29951         constructed tree before returning error.
29952         * posix/bug-regexp36.c: Expand test case.
29954 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
29956         [BZ #6803]
29957         * math/libm-test.inc (scalbln_test_date):
29958         Add errno expectations.
29959         * math/w_scalblnf.c: New File.
29960         Add wrapper which checks for setting errno to ERANGE.
29961         Add weak_alias for corresponding scalbln function.
29962         * math/w_scalbln.c: Likewise.
29963         * math/w_scalblnl.c: Likewise.
29964         * math/Makefile (libm-calls): Add w_scalbln.
29965         * sysdeps/ieee754/flt-32/s_scalblnf.c:
29966         Remove weak_alias for corresponding scalbln function.
29967         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29968         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29969         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29970         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29971         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
29972         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
29973         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
29974         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
29975         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
29976         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
29977         Remove long_double_symbol for scalblnl function in libm, libc.
29978         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
29979         Add wrapper which checks for setting errno to ERANGE.
29980         Add long_double_symbol for scalblnl function in libm, libc.
29981         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
29982         Remove long_double_symbol for scalblnl in libm.
29983         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
29984         Add wrapper which checks for setting errno to ERANGE.
29985         Add long_double_symbol for scalblnl function in libm.
29986         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
29987         Do not use wrapper because of own implementation.
29989 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
29991         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
29992         3 bytes for __pad1 for x32.
29993         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
29995 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
29996             H.J. Lu  <hongjiu.lu@intel.com>
29998         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
29999         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
30000         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30001         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30002         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
30004 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
30006         [BZ #17069]
30007         * posix/regcomp.c (parse_expression): Deallocate partially
30008         constructed tree before returning error.
30009         * posix/Makefile.c (tests): Add bug-regex36.
30010         (generated): Add bug-regex36.mtrace.
30011         (tests-special): Add $(objpfx)bug-regex36-mem.out
30012         (bug-regex36-ENV): New variable.
30013         ($(objpfx)bug-regex36-mem.out): New rule.
30014         * posix/bug-regex36.c: New file.
30016 2014-06-19  Will Newton  <will.newton@linaro.org>
30018         * malloc/malloc.c (systrim): If extra is zero then return
30019         early.
30021 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30023         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
30025 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
30027         * sysdeps/aarch64/strchr.S: New file.
30029 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
30031         [BZ #17022]
30032         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
30033         from arguments -2 or below.
30034         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
30035         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
30037 2014-06-18  Andreas Schwab  <schwab@suse.de>
30039         [BZ #17062]
30040         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
30041         of a bracket expr not to run off the end of the string.
30042         * posix/Makefile (tests): Add tst-fnmatch3.
30043         * posix/tst-fnmatch3.c: New file.
30045 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
30047         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
30048         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30049         [$(cross-compiling) = no]: Likewise.
30050         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30051         [$(cross-compiling) = no]: Likewise.
30053 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30055         [BZ #17031]
30056         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
30057         double, adjusted for any remainder from the high double.
30058         * math/libm-test.inc (nearbyint): Add tests.
30059         (rint): Likewise.
30061 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30063         * nptl/sysdeps/powerpc/Makefile: Moved ...
30064         * sysdeps/powerpc/nptl/Makefile: ... here.
30065         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
30066         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
30067         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
30068         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
30069         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
30070         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
30071         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
30072         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
30073         * nptl/sysdeps/powerpc/tls.h: Moved ...
30074         * sysdeps/powerpc/nptl/tls.h: ... here.
30076 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
30078         [BZ #16681]
30079         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
30080         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
30081         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
30082         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
30083         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
30084         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
30085         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
30086         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
30087         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
30089 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
30091         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30093 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
30095         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
30096         defined operator.
30098         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
30099         $TIMEOUTFACTOR.
30101 2014-06-16  Florian Weimer  <fweimer@redhat.com>
30103         [BZ #17058]
30104         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
30105         non-executed part of the test.
30107 2014-06-16  Andreas Schwab  <schwab@suse.de>
30109         * string/bits/string2.h (strdup, strndup): Update feature guard.
30111 2014-06-14  David S. Miller  <davem@davemloft.net>
30113         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30115 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
30117         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
30118         that was previously under [RESET_PID].
30119         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
30121         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
30122         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
30123         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
30124         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30125         (__libc_vfork): New strong alias.
30126         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
30128 2014-06-14 Andi Kleen  <ak@linux.intel.com>
30130         * sysdeps/generic/elide.h: New file.
30132 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30134         * Makefile (installed-headers): Adjust path of pthread.h header.
30136 2014-06-13  Roland McGrath  <roland@hack.frob.com>
30138         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
30139         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
30140         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
30141         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
30143         * nptl/sysdeps/s390/Makefile: Moved ...
30144         * sysdeps/s390/nptl/Makefile: ... here.
30145         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
30146         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
30147         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
30148         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
30149         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
30150         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
30151         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
30152         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
30153         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
30154         * sysdeps/s390/nptl/pthreaddef.h: ... here.
30155         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
30156         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
30157         * nptl/sysdeps/s390/tls.h: Moved ...
30158         * sysdeps/s390/nptl/tls.h: ... here.
30160         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
30161         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
30163 2014-06-13  David S. Miller  <davem@davemloft.net>
30165         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
30166         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
30167         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
30168         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
30169         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
30170         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
30171         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
30172         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
30173         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
30174         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
30175         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
30176         Remove RESET_PID cpp guards.
30177         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
30178         Remove RESET_PID cpp guards.
30179         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
30181 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
30183         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
30184         __sp to uintptr_t.
30186 2014-06-13  Andi Kleen  <ak@linux.intel.com>
30188         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
30189         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
30190         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
30191         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
30192         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
30193         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
30194         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
30195         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
30196         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
30197         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
30198         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
30199         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
30200         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
30201         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
30202         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
30203         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
30204         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
30205         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
30206         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
30207         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
30209         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
30210         (pthread_rwlock_rdlock): Add elision.
30211         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
30212         (pthread_rwlock_wrlock): Add elision.
30213         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
30214         (pthread_rwlock_trywrlock): Add elision.
30215         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
30216         (pthread_rwlock_tryrdlock): Add elision.
30217         * nptl/pthread_rwlock_unlock.c: Include elide.h.
30218         (pthread_rwlock_tryrdlock): Add elision unlock.
30219         * nptl/sysdeps/pthread/pthread.h:
30220         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
30221         (PTHREAD_RWLOCK_INITIALIZER,
30222         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
30223         Handle new elision field.
30224         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
30225         * sysdeps/arm/nptl/bits/pthreadtypes.h
30226         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30227         * sysdeps/sh/nptl/bits/pthreadtypes.h
30228         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30229         * sysdeps/tile/nptl/bits/pthreadtypes.h
30230         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30231         * sysdeps/a/nptl/bits/pthreadtypes.h
30232         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30233         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
30234         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30235         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
30236         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30237         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
30238         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30239         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
30240         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30241         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
30242         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30243         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
30244         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30245         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
30246         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30247         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
30248         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30249         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
30250         (elision_init): Set try_xbegin to zero when no RTM.
30251         * sysdeps/x86/nptl/bits/pthreadtypes.h
30252         (pthread_rwlock_t): Change __pad1 to __rwelision.
30253         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30255 2014-06-13  Andi Kleen  <ak@linux.intel.com>
30257         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
30258         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
30259         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
30260         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
30262 2014-06-13  Meador Inge  <meadori@codesourcery.com>
30264         [BZ #16996]
30265         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
30266         that the cached result has been set before returning it.
30268 2014-06-12  Roland McGrath  <roland@hack.frob.com>
30270         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
30271         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
30272         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
30273         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
30274         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
30275         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
30277         * nptl/sysdeps/sparc/Makefile: Moved ...
30278         * sysdeps/sparc/nptl/Makefile: ... here.
30279         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
30280         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
30281         * nptl/sysdeps/sparc/tls.h: Moved ...
30282         * sysdeps/sparc/nptl/tls.h: ... here.
30283         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
30284         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
30285         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
30286         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
30287         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
30288         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
30289         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
30290         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
30291         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
30292         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
30293         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
30294         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
30295         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
30296         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
30297         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
30298         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
30299         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
30300         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
30301         Update #include.
30302         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
30303         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
30304         Update #include.
30305         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
30306         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
30307         Update #include.
30308         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
30309         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
30310         Update #include.
30312         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
30314         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
30315         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
30317         * sysdeps/pthread/posix-timer.h: Include <list.h>.
30318         (struct list_links): Type removed.
30319         (struct thread_node, struct timer_node): Replace struct list_links
30320         with struct list_head.
30321         (list_unlink_ip): Likewise.
30322         * sysdeps/pthread/timer_routines.c
30323         (timer_free_list, thread_free_list, thread_active_list): Likewise.
30324         (list_append, list_insbefore): Likewise.
30325         (list_init): Function removed.
30326         (thread_init, init_module): Use INIT_LIST_HEAD instead.
30327         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
30328         * sysdeps/pthread/Makefile: ... here, new file.
30330         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
30331         * sysdeps/nptl/Implies: ... here.
30332         * sysdeps/unix/sysv/linux/Implies: Add nptl.
30333         * nptl/sysdeps/pthread/list.h: Moved ...
30334         * include/list.h: ... here.
30335         * nptl/sysdeps/pthread/createthread.c: Moved ...
30336         * nptl/createthread.c: ... here.
30337         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
30338         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
30339         * nptl/pt-longjmp.c: ... here.
30340         * nptl/sysdeps/pthread/Makefile: Moved ...
30341         * sysdeps/nptl/Makefile: ... here.
30342         * nptl/sysdeps/pthread/Subdirs: Moved ...
30343         * sysdeps/nptl/Subdirs: ... here.
30344         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
30345         * sysdeps/nptl/aio_misc.h: ... here.
30346         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
30347         * sysdeps/nptl/bits/libc-lock.h: ... here.
30348         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
30349         * sysdeps/nptl/bits/libc-lockP.h: ... here.
30350         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
30351         * sysdeps/nptl/bits/stdio-lock.h: ... here.
30352         * nptl/sysdeps/pthread/configure: Moved ...
30353         * sysdeps/nptl/configure: ... here.
30354         * nptl/sysdeps/pthread/configure.ac: Moved ...
30355         * sysdeps/nptl/configure.ac: ... here.
30356         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
30357         * sysdeps/nptl/gai_misc.h: ... here.
30358         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
30359         * sysdeps/nptl/librt-cancellation.c: ... here.
30360         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
30361         * sysdeps/nptl/malloc-machine.h: ... here.
30362         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
30363         * sysdeps/nptl/pthread-functions.h: ... here.
30364         * nptl/sysdeps/pthread/pthread.h: Moved ...
30365         * sysdeps/nptl/pthread.h: ... here.
30366         * nptl/sysdeps/pthread/setxid.h: Moved ...
30367         * sysdeps/nptl/setxid.h: ... here.
30368         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
30369         * sysdeps/nptl/sigfillset.c: ... here.
30370         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
30371         * sysdeps/nptl/tcb-offsets.h: ... here.
30372         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
30373         * sysdeps/nptl/tst-mqueue8x.c: ... here.
30374         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
30375         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
30376         * nptl/sysdeps/pthread/allocalim.h: Moved ...
30377         * sysdeps/pthread/allocalim.h: ... here.
30378         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
30379         * sysdeps/pthread/bits/sigthread.h: ... here.
30380         * nptl/sysdeps/pthread/flockfile.c: Moved ...
30381         * sysdeps/pthread/flockfile.c: ... here.
30382         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
30383         * sysdeps/pthread/ftrylockfile.c: ... here.
30384         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
30385         * sysdeps/pthread/funlockfile.c: ... here.
30386         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
30387         * sysdeps/pthread/posix-timer.h: ... here.
30388         * nptl/sysdeps/pthread/timer_create.c: Moved ...
30389         * sysdeps/pthread/timer_create.c: ... here.
30390         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
30391         * sysdeps/pthread/timer_delete.c: ... here.
30392         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
30393         * sysdeps/pthread/timer_getoverr.c: ... here.
30394         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
30395         * sysdeps/pthread/timer_gettime.c: ... here.
30396         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
30397         * sysdeps/pthread/timer_routines.c: ... here.
30398         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
30399         * sysdeps/pthread/timer_settime.c: ... here.
30400         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
30401         * sysdeps/pthread/tst-timer.c: ... here.
30402         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
30403         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
30405         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
30406         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
30408         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
30409         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
30410         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
30411         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
30412         Update #include target.
30413         * nptl/sysdeps/i386/i686/Makefile: Moved ...
30414         * sysdeps/i386/i686/nptl/Makefile: ... here.
30415         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
30416         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
30417         Update #include target.
30418         * nptl/sysdeps/i386/i686/tls.h: Moved ...
30419         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
30420         * nptl/sysdeps/i386/Makefile: Moved ...
30421         * sysdeps/i386/nptl/Makefile: ... here.
30422         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
30423         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
30424         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
30425         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
30426         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
30427         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
30428         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
30429         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
30430         * sysdeps/i386/nptl/pthreaddef.h: ... here.
30431         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
30432         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
30433         * nptl/sysdeps/i386/tls.h: Moved ...
30434         * sysdeps/i386/nptl/tls.h: ... here.
30436         * sysdeps/sh/Makefile [$(subdir) = csu]
30437         (gen-as-const-headers): Add tcb-offsets.sym.
30438         * nptl/sysdeps/sh/Makefile: File removed.
30439         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
30440         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
30441         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
30442         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
30443         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
30444         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
30445         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
30446         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
30447         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
30448         * sysdeps/sh/nptl/pthreaddef.h: ... here.
30449         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
30450         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
30451         * nptl/sysdeps/sh/tls.h: Moved ...
30452         * sysdeps/sh/nptl/tls.h: ... here.
30453         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
30454         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
30455         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
30456         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
30457         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
30458         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
30459         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
30460         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
30461         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
30462         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
30463         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
30464         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
30465         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
30466         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
30467         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
30468         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
30469         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
30470         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
30471         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
30472         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
30473         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
30474         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
30475         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
30476         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
30477         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
30478         Moved ...
30479         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
30480         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
30481         Moved ...
30482         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
30483         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
30484         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
30485         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
30486         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
30487         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
30488         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
30489         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
30490         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
30491         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
30492         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
30493         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
30494         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
30495         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
30496         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
30497         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
30498         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
30499         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
30500         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
30502 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30504         * posix/spawn_faction_addopen.c: Include string.h.
30506 2014-06-11  Roland McGrath  <roland@hack.frob.com>
30508         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
30509         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
30510         * nptl/sysdeps/x86_64/Makefile: Moved ...
30511         * sysdeps/x86_64/nptl/Makefile: ... here.
30512         * nptl/sysdeps/x86_64/configure: Moved ...
30513         * sysdeps/x86_64/nptl/configure: ... here.
30514         * nptl/sysdeps/x86_64/configure.ac: Moved ...
30515         * sysdeps/x86_64/nptl/configure.ac: ... here.
30516         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
30517         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
30518         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
30519         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
30520         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
30521         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
30522         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
30523         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
30524         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
30525         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
30526         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
30527         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
30528         * nptl/sysdeps/x86_64/tls.h: Moved ...
30529         * sysdeps/x86_64/nptl/tls.h: ... here.
30530         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
30531         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
30532         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
30533         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
30535         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
30537 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30539         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30541 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
30543         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
30544         type.
30545         [POSIX] (off_t): Likewise.
30546         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
30547         [POSIX] (S_ISBLK): Require macro.
30548         [POSIX] (S_ISCHR): Likewise.
30549         [POSIX] (S_ISDIR): Likewise.
30550         [POSIX] (S_ISFIFO): Likewise.
30551         [POSIX] (S_ISREG): Likewise.
30552         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
30553         optional-macro.
30554         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
30555         type.
30556         [POSIX] (time_t): Likewise.
30557         [POSIX] (timer_t): Likewise.
30559 2014-06-11  Florian Weimer  <fweimer@redhat.com>
30561         [BZ #17048]
30562         * posix/spawn_int.h (struct __spawn_action): Make the path string
30563         non-const to support deallocation.
30564         * posix/spawn_faction_addopen.c
30565         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
30566         * posix/spawn_faction_destroy.c
30567         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
30568         path in all spawn_do_open actions.
30569         * posix/tst-spawn.c (do_test): Exercise the copy operation in
30570         posix_spawn_file_actions_addopen.
30572 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
30574         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
30575         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
30576         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
30577         conditional code always true.
30578         (__libc_vfork): New alias.
30580 2014-06-11  Roland McGrath  <roland@hack.frob.com>
30582         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30583         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
30585         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
30587         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30588         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
30590         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
30591         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
30593         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30594         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
30596 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30598         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
30599         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
30600         multiarch strcmp for PPC64.
30601         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
30602         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
30603         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
30604         multiarch optimizations.
30605         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30606         (__libc_ifunc_impl_list): Likewise.
30608 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30610         * benchtests/scripts/validate_benchout.py: New script.
30611         * benchtests/Makefile (bench-func): Call it.
30612         * benchtests/scripts/benchout.schema.json: New file.
30614 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
30616         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
30617         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
30618         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
30619         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
30620         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
30621         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
30622         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
30623         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
30624         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
30625         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
30626         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
30627         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
30628         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
30629         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
30630         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
30631         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
30632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
30633         Moved ...
30634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
30635         ... here.
30636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
30637         Moved ...
30638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
30639         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
30640         Moved ...
30641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
30642         ... here.
30643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
30644         Moved ...
30645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
30646         ... here.
30647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
30648         Moved ...
30649         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
30650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
30651         Moved ...
30652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
30653         ... here.
30654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
30655         Moved ...
30656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
30657         ... here.
30658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
30659         Moved ...
30660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
30661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
30662         Moved ...
30663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
30664         ... here.
30665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
30666         Moved ...
30667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
30668         ... here.
30669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
30670         Moved ...
30671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
30672         ... here.
30673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
30674         Moved ...
30675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
30676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
30677         Moved ...
30678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
30679         ... here.
30680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
30681         Moved ...
30682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
30683         ... here.
30684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
30685         Moved ...
30686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
30687         ... here.
30688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
30689         Moved ...
30690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
30691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
30692         Moved ...
30693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
30694         ... here.
30695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
30696         Moved ...
30697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
30698         ... here.
30699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
30700         Moved ...
30701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
30702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
30703         Moved ...
30704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
30705         ... here.
30706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
30707         Moved ...
30708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
30709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
30710         Moved ...
30711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
30712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
30713         Moved ...
30714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
30715         ... here.
30716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
30717         Moved ...
30718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
30719         ... here.
30720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
30721         Moved ...
30722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
30723         ... here.
30724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
30725         Moved ...
30726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
30727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
30728         Moved ...
30729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
30730         ... here.
30731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
30732         Moved ...
30733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
30734         ... here.
30735         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
30736         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
30737         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
30738         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
30739         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
30740         Moved ...
30741         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
30742         ... here.
30743         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
30744         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
30745         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
30746         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
30747         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
30748         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
30749         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
30750         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
30751         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
30752         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
30753         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
30754         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
30755         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
30756         Moved ...
30757         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
30758         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
30759         Moved ...
30760         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
30761         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
30762         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
30763         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
30764         Moved ...
30765         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
30766         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
30767         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
30768         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
30769         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
30770         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
30771         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
30773 2014-06-10  Wilco  <wdijkstr@arm.com>
30775         * math/test-fenv-return.c: New file.
30776         * math/Makefile: Add new test test-fenv-return.
30778 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
30780         [BZ #17042]
30781         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
30782         when x - 1 is zero.
30783         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
30784         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
30785         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
30786         0.0L for an argument of 1.0L.
30787         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
30788         Likewise.
30789         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
30790         value when x - 1 is zero.
30791         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
30792         * sysdeps/i386/fpu/libm-test-ulps: Update.
30793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30795 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
30797         [BZ #15119]
30798         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
30800 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30802         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
30803         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
30805 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30807         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30808         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
30810         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30811         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
30813         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30814         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
30816         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30817         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
30819         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
30820         if not already defined.
30821         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
30822         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
30823         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
30824         (TLS_INIT_TP): Use it.
30825         (TLS_DEFINE_INIT_TP): New macro.
30826         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
30828 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
30830         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
30831         constant.
30832         [POSIX] (IXANY): Likewise.
30833         [POSIX] (OLCUC): Likewise.
30834         [POSIX || POSIX2008] (CBAUD): Do not allow.
30835         [POSIX || POSIX2008] (DEFECHO): Likewise.
30836         [POSIX || POSIX2008] (ECHOCTL): Likewise.
30837         [POSIX || POSIX2008] (ECHOKE): Likewise.
30838         [POSIX || POSIX2008] (ECHOPRT): Likewise.
30839         [POSIX || POSIX2008] (EXTA): Likewise.
30840         [POSIX || POSIX2008] (EXTB): Likewise.
30841         [POSIX || POSIX2008] (FLUSHO): Likewise.
30842         [POSIX || POSIX2008] (LOBLK): Likewise.
30843         [POSIX || POSIX2008] (PENDIN): Likewise.
30844         [POSIX || POSIX2008] (SWTCH): Likewise.
30845         [POSIX || POSIX2008] (VDISCARD): Likewise.
30846         [POSIX || POSIX2008] (VDSUSP): Likewise.
30847         [POSIX || POSIX2008] (VLNEXT): Likewise.
30848         [POSIX || POSIX2008] (VREPRINT): Likewise.
30849         [POSIX || POSIX2008] (VSTATUS): Likewise.
30850         [POSIX || POSIX2008] (VWERASE): Likewise.
30851         (B*): Change to B[0123456789]*.
30852         * conform/data/time.h-data [POSIX || UNIX98]
30853         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
30854         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30855         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
30856         [POSIX] (tm_*): Do not allow.
30858 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
30860         * Makefile (install): Don't set LANGUAGE.
30861         * Makefile.in (install): Likewise.
30862         * assert/Makefile (test-assert-ENV): Remove variable.
30863         (test-assert-perr-ENV): Likewise.
30864         * elf/Makefile (neededtest4-ENV): Likewise.
30865         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30866         [$(cross-compiling) = no]: Don't set LANGUAGE.
30867         * io/ftwtest-sh (LANG): Remove variable.
30868         * libio/Makefile (tst-widetext-ENV): Likewise.
30869         * manual/install.texi (Running make install): Don't refer to
30870         environment settings for make install.
30871         * INSTALL: Regenerated.
30872         * nptl/tst-tls6.sh: Don't set LANG.
30873         * posix/globtest.sh (LANG): Remove variable.
30874         * string/Makefile (tester-ENV): Likewise.
30875         (inl-tester-ENV): Likewise.
30876         (noinl-tester-ENV): Likewise.
30877         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30878         [$(cross-compiling) = no]: Don't set LANGUAGE.
30879         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
30880         without explicit environment settings.
30882 2014-06-06  Roland McGrath  <roland@hack.frob.com>
30884         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
30885         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
30886         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
30887         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
30889 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
30891         * crypt/crypt-private.h [DOS]: Add some includes taken from the
30892         other files in the crypt directory.
30893         * crypt/crypt.c: Remove duplicate includes.
30894         * crypt/crypt-entry.c: Likewise.
30895         * crypt/crypt_util.c: Likewise.
30897 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
30899         * Makeconfig (run-program-env): New variable.
30900         (run-program-prefix-before-env): Likewise.
30901         (run-program-prefix-after-env): Likewise.
30902         (run-program-prefix): Define in terms of new variables.
30903         (built-program-cmd-before-env): New variable.
30904         (built-program-cmd-after-env): Likewise.
30905         (built-program-cmd): Define in terms of new variables.
30906         (test-program-prefix-before-env): New variable.
30907         (test-program-prefix-after-env): Likewise.
30908         (test-program-prefix): Define in terms of new variables.
30909         (test-program-cmd-before-env): New variable.
30910         (test-program-cmd-after-env): Likewise.
30911         (test-program-cmd): Define in terms of new variables.
30912         * Rules (make-test-out): Use $(run-program-env).
30913         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
30914         (help): Do not mention environment variables.  Mention
30915         --timeoutfactor option.
30916         (timeoutfactor): New variable.
30917         (blacklist_exports): Remove function.
30918         (exports): Remove variable.
30919         (command): Do not include ${exports}.
30920         * manual/install.texi (Configuring and compiling): Do not mention
30921         test wrappers preserving environment variables.  Mention that last
30922         assignment to a variable must take precedence.
30923         * INSTALL: Regenerated.
30924         * benchtests/Makefile (run-bench): Use $(run-program-env).
30925         * catgets/Makefile ($(objpfx)test1.cat): Use
30926         $(built-program-cmd-before-env), $(run-program-env) and
30927         $(built-program-cmd-after-env).
30928         ($(objpfx)test2.cat): Do not specify environment variables
30929         explicitly.
30930         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
30931         $(run-program-env) and $(built-program-cmd-after-env).
30932         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
30933         $(run-program-env) and $(test-program-cmd-after-env).
30934         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
30935         explicitly.
30936         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
30937         run_program_env and test_program_cmd_after_env arguments.
30938         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
30939         * elf/tst-pathopt.sh: Use run_program_env argument.
30940         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
30941         $(test-wrapper-env) and $(run-program-env).
30942         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
30943         run_program_env arguments.
30944         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
30945         * intl/Makefile ($(objpfx)tst-gettext.out): Use
30946         $(test-program-prefix-before-env), $(run-program-env) and
30947         $(test-program-prefix-after-env).
30948         ($(objpfx)tst-gettext2.out): Likewise.
30949         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
30950         run_program_env and test_program_prefix_after_env arguments.
30951         * intl/tst-gettext2.sh: Likewise.
30952         * intl/tst-gettext4.sh: Do not set environment variables
30953         explicitly.
30954         * intl/tst-gettext6.sh: Likewise.
30955         * intl/tst-translit.sh: Likewise.
30956         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
30957         $(test-program-prefix-before-env), $(run-program-env) and
30958         $(test-program-prefix-after-env).
30959         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
30960         run_program_env and test_program_prefix_after_env arguments.
30961         * math/Makefile (run-regen-ulps): Use $(run-program-env).
30962         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
30963         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
30964         explicitly with each use of ${test_wrapper_env}.
30965         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
30966         $(test-program-prefix-before-env), $(run-program-env) and
30967         $(test-program-prefix-after-env).
30968         * posix/tst-getconf.sh: Do not set environment variables
30969         explicitly.
30970         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
30971         run_program_env and test_program_prefix_after_env arguments.
30972         * stdio-common/tst-printf.sh: Do not set environment variables
30973         explicitly.
30974         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
30975         $(test-program-prefix-before-env), $(run-program-env) and
30976         $(test-program-prefix-after-env).
30977         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
30978         run_program_env and test_program_prefix_after_env arguments.
30979         Split $test calls into $test_pre and $test.
30980         * timezone/Makefile (build-testdata): Use
30981         $(built-program-cmd-before-env), $(run-program-env) and
30982         $(built-program-cmd-after-env).
30984 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30986         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
30987         strlen for non SHARED builds.
30989 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30991         * nptl/allocatestack.c (check_list): Inlined function...
30992         (__reclaim_stacks): ... here.
30994 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
30996         [BZ #15698]
30997         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30998         memory overrun.
31000 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
31002         * Rules (make-test-out): Include
31003         LOCPATH=$(common-objpfx)localedata in default environment.
31004         * debug/Makefile (tst-chk1-ENV): Remove variable.
31005         (tst-chk2-ENV): Likewise.
31006         (tst-chk3-ENV): Likewise.
31007         (tst-chk4-ENV): Likewise.
31008         (tst-chk5-ENV): Likewise.
31009         (tst-chk6-ENV): Likewise.
31010         (tst-lfschk1-ENV): Likewise.
31011         (tst-lfschk2-ENV): Likewise.
31012         (tst-lfschk3-ENV): Likewise.
31013         (tst-lfschk4-ENV): Likewise.
31014         (tst-lfschk5-ENV): Likewise.
31015         (tst-lfschk6-ENV): Likewise.
31016         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
31017         (tst-iconv7-ENV): Likewise.
31018         * intl/Makefile (LOCPATH-ENV): Likewise.
31019         (tst-codeset-ENV): Likewise.
31020         (tst-gettext3-ENV): Likewise.
31021         (tst-gettext5-ENV): Likewise.
31022         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
31023         (tst-fopenloc-ENV): Likewise.
31024         (tst-fgetws-ENV): Remove variable.
31025         (tst-ungetwc1-ENV): Likewise.
31026         (tst-ungetwc2-ENV): Likewise.
31027         (bug-ungetwc2-ENV): Likewise.
31028         (tst-swscanf-ENV): Likewise.
31029         (bug-ftell-ENV): Likewise.
31030         (tst-fgetwc-ENV): Likewise.
31031         (tst-fseek-ENV): Likewise.
31032         (tst-ftell-partial-wide-ENV): Likewise.
31033         (tst-ftell-active-handler-ENV): Likewise.
31034         (tst-ftell-append-ENV): Likewise.
31035         * posix/Makefile (tst-fnmatch-ENV): Likewise.
31036         (tst-regexloc-ENV): Likewise.
31037         (bug-regex1-ENV): Likewise.
31038         (tst-regex-ENV): Likewise.
31039         (tst-regex2-ENV): Likewise.
31040         (bug-regex5-ENV): Likewise.
31041         (bug-regex6-ENV): Likewise.
31042         (bug-regex17-ENV): Likewise.
31043         (bug-regex18-ENV): Likewise.
31044         (bug-regex19-ENV): Likewise.
31045         (bug-regex20-ENV): Likewise.
31046         (bug-regex22-ENV): Likewise.
31047         (bug-regex23-ENV): Likewise.
31048         (bug-regex25-ENV): Likewise.
31049         (bug-regex26-ENV): Likewise.
31050         (bug-regex30-ENV): Likewise.
31051         (bug-regex32-ENV): Likewise.
31052         (bug-regex33-ENV): Likewise.
31053         (bug-regex34-ENV): Likewise.
31054         (bug-regex35-ENV): Likewise.
31055         (tst-rxspencer-ENV): Likewise.
31056         (tst-rxspencer-no-utf8-ENV): Likewise.
31057         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
31058         (tst-sscanf-ENV): Likewise.
31059         (tst-swprintf-ENV): Likewise.
31060         (tst-swscanf-ENV): Likewise.
31061         (test-vfprintf-ENV): Likewise.
31062         (scanf13-ENV): Likewise.
31063         (bug14-ENV): Likewise.
31064         (tst-grouping-ENV): Likewise.
31065         * stdlib/Makefile (tst-strtod-ENV): Likewise.
31066         (tst-strtod3-ENV): Likewise.
31067         (tst-strtod4-ENV): Likewise.
31068         (tst-strtod5-ENV): Likewise.
31069         (testmb2-ENV): Likewise./
31070         * string/Makefile (tst-strxfrm-ENV): Likewise.
31071         (tst-strxfrm2-ENV): Likewise.
31072         (bug-strcoll1-ENV): Likewise.
31073         (test-strcasecmp-ENV): Likewise.
31074         (test-strncasecmp-ENV): Likewise.
31075         * time/Makefile (tst-strptime-ENV): Likewise.
31076         (tst-ftime_l-ENV): Likewise.
31077         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
31078         (tst-mbrtowc-ENV): Likewise.
31079         (tst-wcrtomb-ENV): Likewise.
31080         (tst-mbrtowc2-ENV): Likewise.
31081         (tst-c16c32-1-ENV): Likewise.
31082         (tst-mbsnrtowcs-ENV): Likewise.
31084 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
31086         * manual/resource.texi (How to get information about the memory
31087         subsystem?): Fix typo.
31088         Reported by Peon de la Parra Ivan <peon@keba.com>
31090 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
31092         [BZ #16882]
31093         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
31094         (pthread_spin_lock): Branch out of spin loop to proper location.
31095         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
31096         (pthread_spin_lock): Likewise.
31098         * nptl/tst-spin4.c: New test.
31099         * nptl/Makefile (tests): Add tst-spin4.
31101 2014-06-03  Andreas Schwab  <schwab@suse.de>
31103         [BZ #15946]
31104         * resolv/res_send.c (send_dg): Reload file descriptor after
31105         calling reopen.
31107 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
31109         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31111 2014-06-03  Richard Henderson  <rth@redhat.com>
31113         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
31114         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
31115         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
31116         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
31117         in the SAVE_PID block.
31118         (__libc_vfork): New alias.
31119         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
31121         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
31122         child in registers, not on the stack.  Remove RESET_PID conditionals.
31123         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
31125 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31127         * sysdeps/aarch64/libm-test-ulps: Regenerate.
31129 2014-06-03  Wilco  <wdijkstr@arm.com>
31131         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
31132         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
31133         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
31134         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
31135         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
31136         Likewise.
31138 2014-06-03  Wilco  <wdijkstr@arm.com>
31140         * sysdeps/aarch64/fpu/math_private.h
31141         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
31142         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
31143         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
31144         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
31145         Fix declarations.
31147 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31149         * crypt/crypt-private.h: Include ufc-crypt.h.
31150         (__b64_from_24bit): Declare extern.
31151         * crypt/crypt_util.c(__b64_from_24bit): New function.
31152         (b64t): New static const variable.
31153         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
31154         (b64t): Remove variable.
31155         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
31156         * crypt/sha256-crypt.c: Include crypt-private.h.
31157         (b64t): Remove variable.
31158         (__sha256_crypt_r): Remove b64_from_24bit and replace
31159         with __b64_from_24bit.
31160         * crypt/sha512-crypt.c: Likewise.
31162 2014-06-02  Roland McGrath  <roland@hack.frob.com>
31164         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
31165         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
31166         Label the code __libc_vfork rather than __vfork.
31167         [!NOT_IN_libc] (vfork): Define as weak alias.
31168         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
31169         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
31170         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
31172 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31174         * malloc/malloc.c (malloc_info): Fix format specifier for
31175         n_mmaps.
31177 2014-06-02  Wilco  <wdijkstr@arm.com>
31179         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
31180         FPCR write.
31182 2014-06-02  Wilco  <wdijkstr@arm.com>
31184         [BZ #17009]
31185         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
31186         Rewrite to reduce FPCR/FPSR accesses.
31188 2014-06-01  David S. Miller  <davem@davemloft.net>
31190         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31192 2014-05-31  David S. Miller  <davem@davemloft.net>
31194         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
31195         to occur in round to nearest mode when |x| >= 2.0
31197 2014-05-30  Richard Henderson  <rth@twiddle.net>
31199         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
31200         (PSEUDO_RET_NOERRNO): Remove.
31201         (ret): Don't redefine.
31202         (ret_NOERRNO): Define in terms of ret.
31203         (ret_ERRVAL): Likewise.
31205         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
31206         use of PSEUDO_RET; perform the error check directly.
31208 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
31210         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
31211         with __int128_t.
31213 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31215         * malloc/malloc (malloc_info): Fix formatting.
31217 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31218             Roland McGrath  <roland@hack.frob.com>
31220         * malloc/malloc (malloc_info): Also print mmapped statistics.
31222 2014-05-30  Roland McGrath  <roland@hack.frob.com>
31224         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
31225         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
31227 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
31229         * malloc/malloc.c (malloc_info): Inline mi_arena.
31231 2014-05-29  Richard Henderson  <rth@twiddle.net>
31233         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
31234         Remove comma before expanding ASM_ARGS_##nr.
31235         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
31236         Make _x0 a strict output; make _x8 a strict input; adjust expansion
31237         of ASM_ARGS_##nr.
31238         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
31239         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
31240         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
31241         (ASM_ARGS_1): Add leading comma.
31243         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
31244         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
31245         to __errno_location.
31246         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
31247         Remove the expected plt for __errno_location.
31249         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31250         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
31251         call to __read_tp.
31253         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31254         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
31255         it and break it down.
31256         (DOCARGS_0, DOCARGS_1): Do nothing.
31257         (DOCARGS_2): Update to store into the new stack frame.
31258         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
31259         (UNDOCARGS_1): Update to restore from the new stack frame.
31260         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
31261         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
31263         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31264         (SINGLE_THREAD_P): New parameter for result regno.
31265         (PSEUDO): Update to match; use cbz instead of beq.
31267         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31268         Use ENTRY to define the _nocancel entry point.  Share the syscall
31269         and syscall error check paths with the cancel path.
31270         (PSEUDO_END): New.
31272         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
31273         whitespace; tabs before and after asm mnemonics.
31275 2014-05-29  Eric Wong  <normalperson@yhbt.net>
31277         [BZ #15132]
31278         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31279         Call fstat64 or stat64 internally, depending on arguments passed.
31280         Replace stat buffer argument with file descriptor argument.
31281         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
31282         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
31283         Pass fd to __internal_statvfs instead of calling fstat64.
31284         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
31285         Pass fd to __internal_statvfs64 instead of calling fstat64.
31286         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
31287         Pass -1 to __internal_statvfs instead of calling stat64.
31288         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
31289         Pass -1 to __internal_statvfs64 instead of calling stat64.
31291 2014-05-28  Roland McGrath  <roland@hack.frob.com>
31293         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
31294         that was previously under [RESET_PID].
31295         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
31297         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
31298         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
31300 2014-05-27  Roland McGrath  <roland@hack.frob.com>
31302         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
31304         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
31305         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
31307 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
31309         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
31311 2014-05-27  Andreas Schwab  <schwab@suse.de>
31313         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
31314         TLS_INIT_TP macro.
31315         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
31316         * elf/rtld.c (init_tls, dl_main): Likewise.
31317         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
31318         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
31319         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
31320         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
31321         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
31322         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
31323         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
31324         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
31325         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
31326         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
31327         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
31328         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
31329         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
31330         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
31331         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
31332         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
31333         * sysdeps/generic/tls.h: Update description.
31335 2014-05-27  Will Newton  <will.newton@linaro.org>
31337         [BZ #16990]
31338         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
31339         and restore r2 rather than just restoring.
31341 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31343         [BZ #16724]
31344         * libio/tst-ftell-append.c: New test case.
31345         * libio/Makefile (tests): Add test case.
31346         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
31347         append mode.
31348         * libio/wfileops.c (do_ftell_wide): Likewise.
31350 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31354         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
31355         ...
31356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
31357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31358         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
31359         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
31360         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
31361         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
31362         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
31363         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
31364         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
31365         Moved ...
31366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
31367         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
31368         Moved ...
31369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
31370         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
31371         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
31372         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
31373         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
31374         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
31375         ...
31376         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
31377         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
31378         Moved ...
31379         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
31380         here.
31381         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
31382         ...
31383         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
31384         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
31385         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
31387         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
31388         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
31389         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
31390         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
31392         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
31393         merge into ...
31394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
31395         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
31396         ...
31397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
31398         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
31399         ...
31400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
31401         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
31402         Moved ...
31403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
31404         here.
31405         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
31406         Moved ...
31407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
31408         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
31409         Moved ...
31410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
31412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
31413         conditional [RESET_PID].
31414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
31415         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
31416         removed.
31417         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
31418         removed.
31420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
31421         <tcb-offsets.h>.
31422         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31423         (__libc_vfork): New strong alias.
31424         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
31425         removed.
31426         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
31427         Removed.
31429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
31430         <tcb-offsets.h>.
31431         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
31432         (__libc_vfork): New strong alias.
31433         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
31434         removed.
31435         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
31436         removed.
31438 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
31440         * malloc/malloc.c (mi_arena): New function.
31441         (malloc_info): Remove nested function mi_arena. Call non-nosted
31442         function mi_arena.
31444 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31446         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
31447         by insrwi.
31448         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
31449         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
31450         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
31451         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
31452         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
31453         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
31454         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
31456 2014-05-26  Andreas Schwab  <schwab@suse.de>
31458         [BZ #16984]
31459         * locale/programs/repertoire.c (repertoire_read): Add slash
31460         between I18NPATH element and file name.
31461         * locale/programs/locfile.c (locfile_read): Likewise.
31463 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
31465         * nptl/pthread_mutexattr_settype.c
31466         (__pthread_mutexattr_settype):
31467         Disable lock elision for PTHREAD_MUTEX_NORMAL.
31469 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
31471         * nptl/tst-mutex5 (do_test):
31472         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
31474 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31476         * benchtests/README: Document 'init' directive.
31477         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
31478         BENCH_INIT.
31479         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
31480         (parse_file): Recognize 'init' directive.
31482 2014-05-26  Kyle McMartin  <kyle@redhat.com>
31484         [BZ #16796]
31485         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
31486         alignment of struct pthread.
31488 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31490         [BZ #16878]
31491         * nscd/netgroupcache.c (addgetnetgrentX): Look for
31492         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
31493         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
31494         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
31496 2014-05-25  Richard Henderson  <rth@twiddle.net>
31498         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31499         (SINGLE_THREAD_P_PIC): Remove.
31500         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
31501         (SINGLE_THREAD_P_PIC): Remove.
31503         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
31504         branch to syscall error ...
31505         (PSEUDO): ... here.
31506         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
31507         from __local_syscall_error to .Lsyscall_error.
31508         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
31509         (SYSCALL_ERROR): Update label name.
31511         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31512         Do not use DOARGS/UNDOARGS.
31513         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
31514         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
31515         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
31516         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
31517         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
31519         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
31520         block comment.
31522         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
31523         define if !NOT_IN_libc.
31524         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
31525         define with non-default symbol versions.
31527 2014-05-23  Richard Henderson  <rth@twiddle.net>
31529         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
31530         (vfork, __vfork): Define via compat_symbol.
31532         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
31533         [!HAVE_IFUNC] (vfork_compat): Remove.
31534         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
31536 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
31538         [BZ #16978]
31539         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
31540         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
31541         variable.
31543 2014-05-23  Richard Henderson  <rth@twiddle.net>
31545         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
31546         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
31547         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
31548         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
31550         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
31551         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
31552         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
31553         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
31554         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
31555         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
31556         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
31557         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
31558         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
31559         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
31560         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
31561         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
31562         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
31563         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
31564         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
31565         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
31566         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
31567         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
31568         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
31569         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
31570         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
31571         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
31572         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
31573         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
31574         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
31575         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
31576         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
31577         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
31578         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
31579         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
31580         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
31581         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
31582         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
31583         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
31584         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
31585         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
31586         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
31587         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
31588         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
31589         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
31590         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
31591         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
31592         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
31593         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
31594         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
31595         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
31596         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
31597         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
31598         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
31599         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
31600         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
31601         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
31602         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
31603         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
31604         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
31605         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
31607         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
31608         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
31609         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
31610         before exiting on error.
31611         (__libc_vfork): New strong alias.
31612         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
31613         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
31615         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
31616         that was previously under [RESET_PID].
31617         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
31619         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
31621 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
31623         [BZ #16977]
31624         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
31625         value when x - 1 is zero.
31626         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
31627         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
31628         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
31629         0.0L for an argument of 1.0L.
31630         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
31631         Likewise.
31632         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
31633         value when x - 1 is zero.
31634         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
31635         * sysdeps/i386/fpu/libm-test-ulps: Update.
31636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31638 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
31640         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
31641         alphasort and versionsort.
31643 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31645         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
31646         macro.
31647         [copysignf]: Likewise.
31649 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31651         * crypt/md5-crypt.c: Fix formatting.
31653 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31655         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
31656         (b64_from_24bit): New function.
31658 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31660         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
31661         libc_hidden_builtin_def to ifunc.
31662         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
31663         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
31665 2014-05-21  Roland McGrath  <roland@hack.frob.com>
31667         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
31668         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
31670 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
31672         * nscd/Depend (linuxthreads): Remove.
31673         (nptl): Add.
31674         * resolv/Depend (linuxthreads): Remove.
31675         * rt/Depend (linuxthreads): Remove.
31677         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
31678         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
31679         $(common-objpfx)elf/.
31680         (link-libc-before-gnulib): Likewise.
31681         (elfobjdir): Remove variable.
31682         * Makefile (install): Use $(elf-objpfx) instead of
31683         $(common-objpfx)elf/.
31684         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
31685         $(elfobjdir)/.
31686         (link-libc-deps): Likewise.
31687         ($(common-objpfx)libc.so): Likewise.
31688         ($(common-objpfx)linkobj/libc.so): Likewise.
31689         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
31690         instead of $(common-objpfx)elf/.
31691         (symbolic-link-list): Likewise.
31692         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31693         [$(cross-compiling) = no]: Likewise.
31694         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
31695         $(elfobjdir)/.
31696         (static-gnulib-arch): Likewise.
31697         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31698         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
31699         $(common-objpfx)elf/.
31701 2014-05-21  Richard Henderson  <rth@redhat.com>
31703         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31704         (SINGLE_THREAD_P): Use the correct width load.  Fold
31705         into the ldr offset.
31707         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
31708         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
31710 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
31712         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
31713         (libgcc_s_resume): Use __attribute_used__.
31714         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
31715         Likewise.
31717 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31719         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
31720         optimization when used with float constants.
31722         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31724 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
31726         [BZ #16915]
31727         * locale/nl_langinfo_l.c: Make direct reference to every
31728         _nl_current_CATEGORY symbol.
31729         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
31730         (tests-static): Add tst-langinfo-static.
31731         (tests-special): Add tst-langinfo-static.out.
31732         ($(objpfx)tst-langinfo.out): Redirect output.
31733         ($(objpfx)tst-langinfo-static.out): New.
31734         * localedata/tst-langinfo.sh: Send output to stdout.
31735         * localedata/tst-langinfo-static.c: New file.
31737         [BZ #16965]
31738         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
31739         when the shift amount is modulo the limb size.
31741 2014-05-20  Richard Henderson  <rth@redhat.com>
31743         [BZ #16967]
31744         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
31745         Change type of sa_flags from unsigned int to int.
31747         [BZ #16966]
31748         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
31750         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
31752 2014-05-20  Will Newton  <will.newton@linaro.org>
31754         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31755         Test the return value of the system call in the nocancel case.
31757 2014-05-20  Will Newton  <will.newton@linaro.org>
31758             Yvan Roux  <yvan.roux@linaro.org>
31760         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
31761         #include of asm/ptrace.h.
31762         (PTRACE_GET_THREAD_AREA): Remove #undef.
31763         (PTRACE_GETHBPREGS): Likewise.
31764         (PTRACE_SETHBPREGS): Likewise.
31765         (struct user_regs_struct): New structure.
31766         (struct user_fpsimd_struct): New structure.
31767         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
31768         #include of asm/ptrace.h and second #include of sys/user.h.
31769         (PTRACE_GET_THREAD_AREA): Remove #undef.
31770         (PTRACE_GETHBPREGS): Likewise.
31771         (PTRACE_SETHBPREGS): Likewise.
31772         (ELF_NGREG): Use new struct user_regs_struct.
31773         (elf_fpregset_t): Use new struct user_fpsimd_struct.
31775 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31777         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
31778         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
31780 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
31782         [BZ #16958]
31783         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
31784         membar to avoid block loads/stores to overlap previous stores.
31786 2014-05-17  Richard Henderson  <rth@redhat.com>
31788         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
31789         Create the __##syscall_name##_nocancel entry point.
31790         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
31791         Remove; let the sysdep-cancel.h code create it.
31793 2014-05-17  David S. Miller  <davem@davemloft.net>
31795         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
31796         Protect with __USE_GNU.
31797         (TIOCSET_TEMPT): Likewise.
31798         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31799         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
31800         these are already provided in bits/ioctl-types.h
31802 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31804         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
31805         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
31807         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
31808         Use wait4 regardless of [__NR_waitpid].
31810 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
31812         PR libgcc/60166
31813         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
31814         (_FP_NANSIGN_Q): Set the quiet bit.
31816 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
31818         * benchtests/Makefile
31819         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
31820         not $(common-objpfx)math/libm.so.
31821         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
31822         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
31823         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
31824         $(common-objpfx)dlfcn/libdl.so.
31825         ($(objpfx)tst-audit8): Depend on $(libm), not
31826         $(common-objpfx)math/libm.so.
31827         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
31828         not $(common-objpfx)dlfcn/libdl.so.
31829         * math/Makefile
31830         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31831         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
31832         [$(build-shared) = yes].
31833         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
31834         $(common-objpfx)nptl/libpthread.so.
31835         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
31836         $(common-objpfx)math/libm.so$(libm.so-version) or
31837         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
31838         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
31839         $(common-objpfx)dlfcn/libdl.so.
31840         * setjmp/Makefile (link-libm): Remove variable.
31841         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
31842         * stdio-common/Makefile (link-libm): Remove variable.
31843         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
31844         * stdlib/Makefile (link-libm): Remove variable.
31845         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
31846         ($(objpfx)tst-strtod-round): Likewise.
31847         ($(objpfx)tst-tininess): Likewise.
31848         ($(objpfx)tst-strtod-underflow): Likewise.
31849         ($(objpfx)tst-strtod6): Likewise.
31850         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
31851         $(libdl), not $(common-objpfx)nptl/libpthread.so and
31852         $(common-objpfx)dlfcn/libdl.so.
31854 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31856         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
31857         BSD terminal modes definitions.
31859 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31861         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
31862         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
31864         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
31865         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
31866         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
31867         Don't do #include_next.
31868         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
31869         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
31870         Don't do #include_next.
31871         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
31872         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
31873         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
31874         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
31876 2014-05-16  Allan McRae  <allan@archlinux.org>
31878         * po/sv.po: Update Swedish translation from translation project.
31880         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
31881         in sed expression.
31883 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
31885         [BZ #16917]
31886         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
31887         errno if the TIOCGPTN ioctl fails with an error different than
31888         EINVAL.
31889         * login/tst-ptsname.c: New file.
31890         * login/Makefile (tests): Add tst-ptsname.
31892         [BZ #16943]
31893         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
31894         and prlimit64.
31896 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31898         [BZ #16849]
31899         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
31900         herrno to return EAI_AGAIN.
31902 2014-05-14  Roland McGrath  <roland@hack.frob.com>
31904         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
31905         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
31906         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
31907         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
31908         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
31909         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
31910         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
31911         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
31912         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
31913         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
31914         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
31915         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
31916         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
31917         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
31918         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
31919         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
31920         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
31921         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
31922         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
31923         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
31924         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
31925         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
31926         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
31927         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
31928         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
31929         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
31930         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
31931         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
31932         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
31933         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
31934         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
31935         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
31936         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
31937         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
31938         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31939         Moved ...
31940         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
31941         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
31942         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
31943         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
31944         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
31945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
31946         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
31947         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
31948         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
31949         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
31950         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
31951         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
31952         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
31953         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
31954         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
31955         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
31956         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
31957         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
31958         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
31959         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
31960         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
31961         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
31962         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
31963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
31964         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
31965         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
31966         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
31967         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31968         Moved ...
31969         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
31970         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
31971         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
31972         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
31973         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
31974         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
31975         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
31976         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
31977         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
31978         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
31979         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
31980         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
31981         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
31982         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
31983         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
31984         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
31985         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
31986         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
31987         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
31988         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31989         Moved ...
31990         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
31991         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
31992         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
31994         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
31995         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
31996         (libpthread-sysdep_routines): Add elision-related stuff here instead.
31997         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
31998         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
31999         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
32000         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
32001         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
32002         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
32003         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
32004         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
32005         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
32006         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
32007         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
32008         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
32009         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
32010         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
32011         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
32012         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
32013         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
32014         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
32015         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
32016         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
32017         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
32018         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
32019         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
32020         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
32021         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
32022         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
32023         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
32024         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
32026         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
32027         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
32029         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
32030         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
32031         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
32032         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
32033         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
32034         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
32035         Moved ...
32036         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
32037         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
32038         Moved ...
32039         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
32040         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
32041         Moved ...
32042         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
32043         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
32044         Moved ...
32045         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
32046         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
32047         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
32048         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
32049         Moved ...
32050         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
32051         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
32052         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
32053         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
32054         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
32055         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
32056         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
32057         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
32058         Moved ...
32059         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
32060         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
32061         Moved ...
32062         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
32063         ... here.
32064         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
32065         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
32066         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
32067         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
32068         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
32069         Moved ...
32070         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
32071         ... here.
32072         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
32073         Moved ...
32074         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
32075         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
32076         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
32077         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
32078         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
32079         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
32080         Moved ...
32081         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
32082         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
32083         Moved ...
32084         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
32085         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
32086         Moved ...
32087         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
32088         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
32089         Moved ...
32090         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
32091         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
32092         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
32093         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
32094         Moved ...
32095         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
32096         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
32097         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
32098         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
32099         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
32100         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
32101         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
32102         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
32103         Moved ...
32104         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
32105         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
32106         Moved ...
32107         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
32108         ... here.
32109         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
32110         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
32111         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
32112         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
32113         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
32114         Moved ...
32115         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
32116         ... here.
32117         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
32118         Moved ...
32119         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
32120         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
32121         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
32122         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
32123         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
32124         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
32125         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
32126         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
32127         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
32128         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
32129         Moved ...
32130         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
32131         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
32132         Moved ...
32133         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
32134         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
32135         Moved ...
32136         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
32137         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
32138         Moved ...
32139         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
32140         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
32141         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
32142         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
32143         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
32144         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
32145         Moved ...
32146         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
32147         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
32148         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
32149         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
32150         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
32151         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
32152         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
32153         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
32154         Moved ...
32155         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
32156         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
32157         Moved ...
32158         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
32159         ... here.
32160         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
32161         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
32162         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
32163         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
32164         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
32165         Moved ...
32166         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
32167         ... here.
32168         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
32169         Moved ...
32170         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
32171         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
32172         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
32173         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
32174         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
32175         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
32176         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
32177         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
32178         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
32179         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
32180         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
32182         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
32183         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
32185         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
32186         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
32188         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
32189         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
32190         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
32191         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
32192         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
32193         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
32194         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
32195         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
32196         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
32197         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
32198         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
32199         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
32200         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
32201         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
32202         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
32203         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
32204         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
32205         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
32206         Moved ...
32207         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
32208         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
32209         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
32210         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
32211         Moved ...
32212         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
32213         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
32214         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
32215         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
32216         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
32217         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
32218         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
32219         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
32220         Moved ...
32221         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
32222         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
32223         Moved ...
32224         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
32225         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
32226         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
32227         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
32228         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
32229         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
32230         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
32231         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
32232         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
32233         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
32234         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
32235         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
32236         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
32237         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
32238         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
32239         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
32240         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
32242         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
32243         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
32244         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
32245         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
32246         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
32248         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
32249         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
32250         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
32251         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
32252         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
32253         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
32254         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
32255         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
32256         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
32257         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
32259         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
32260         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
32262         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
32263         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
32264         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
32265         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
32266         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
32267         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
32268         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
32269         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
32270         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
32271         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
32272         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
32273         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
32274         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
32275         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
32276         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
32277         Update #include.
32278         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
32279         Likewise.
32280         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32281         Likewise.
32282         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32283         Likewise.
32284         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32285         Likewise.
32286         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
32287         Likewise.
32288         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
32289         Likewise.
32290         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
32291         Likewise.
32292         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
32293         Likewise.
32294         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
32295         Likewise.
32296         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
32297         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
32298         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
32299         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
32300         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
32301         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
32302         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
32303         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
32304         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
32305         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
32306         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
32307         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
32308         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
32309         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
32310         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
32312         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
32313         that was previously under [RESET_PID].
32314         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32315         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
32316         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
32318         * sysdeps/i386/nptl/Implies: New file.
32319         * sysdeps/x86_64/nptl/Implies: New file.
32320         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
32321         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
32322         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
32323         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
32325         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
32326         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32327         (__libc_vfork): New strong alias.
32328         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
32329         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
32331         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
32332         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32333         (__libc_vfork): New strong alias.
32334         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
32335         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
32337         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
32338         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32339         (__libc_vfork): New strong alias.
32340         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
32341         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
32342         * nptl/pt-vfork.c: New file.
32343         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
32344         (libpthread: GLIBC_2.20): New version set (empty).
32346 2014-05-14  Will Newton  <will.newton@linaro.org>
32348         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
32349         rather than #if.
32351 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
32353         [BZ #16564]
32354         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
32355         arguments with exponent 65 or above.
32356         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
32357         arguments 0x1p113L or above.
32358         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
32359         to arguments 0x1p107L or above.
32360         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
32361         positive arguments with exponent 65 or above.
32362         * math/auto-libm-test-in: Add more tests of log1p.
32363         * math/auto-libm-test-out: Regenerated.
32365         [BZ #16928]
32366         * math/s_cacos.c (__cacos): Ensure zero real part of result from
32367         non-finite arguments is +0.
32368         * math/s_cacosf.c (__cacosf): Likewise.
32369         * math/s_cacosl.c (__cacosl): Likewise.
32370         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
32371         * sysdeps/i386/fpu/libm-test-ulps: Update.
32372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32374         [BZ #16927]
32375         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
32376         value.
32377         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
32378         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
32379         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
32380         for explicit high bit of mantissa when testing for argument equal
32381         to 1.
32382         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
32383         * sysdeps/i386/fpu/libm-test-ulps: Update.
32384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32386         [BZ #16516]
32387         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
32388         (__erf): Scale by 16 instead of 8 in potentially underflowing
32389         case.  Ensure exception if result actually underflows.
32390         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
32391         (__erff): Scale by 16 instead of 8 in potentially underflowing
32392         case.  Ensure exception if result actually underflows.
32393         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
32394         (efx8): Remove variable.
32395         (__erfl): Scale by 16 instead of 8 in potentially underflowing
32396         case.  Ensure exception if result actually underflows.
32397         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
32398         (efx8): Remove variable.
32399         (__erfl): Scale by 16 instead of 8 in potentially underflowing
32400         case.  Ensure exception if result actually underflows.
32401         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
32402         (efx8): Remove variable.
32403         (__erfl): Scale by 16 instead of 8 in potentially underflowing
32404         case.  Ensure exception if result actually underflows.
32405         * math/auto-libm-test-in: Add more tests of erf.
32406         * math/auto-libm-test-out: Regenerated.
32408 2014-05-14  Andreas Schwab  <schwab@suse.de>
32410         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
32411         Remove code conditionalized on USE___THREAD.
32413         * config.h.in (HAVE_PT_CHOWN): Define as 0.
32414         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
32415         not definedness.
32417 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
32419         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
32420         Define unconditionally.
32421         (__ASSUME_O_CLOEXEC): Likewise.
32422         (__ASSUME_SOCK_CLOEXEC): Likewise.
32423         (__ASSUME_IN_NONBLOCK): Likewise.
32424         (__ASSUME_PIPE2): Likewise.
32425         (__ASSUME_EVENTFD2): Likewise.
32426         (__ASSUME_SIGNALFD4): Likewise.
32427         (__ASSUME_DUP3): Likewise.
32428         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32429         (__ASSUME_DUP3): Do not define.
32430         (__ASSUME_EVENTFD2): Likewise.
32431         (__ASSUME_IN_NONBLOCK): Likewise.
32432         (__ASSUME_O_CLOEXEC): Likewise.
32433         (__ASSUME_PIPE2): Likewise.
32434         (__ASSUME_SIGNALFD4): Likewise.
32435         (__ASSUME_SOCK_CLOEXEC): Likewise.
32436         (__ASSUME_UTIMES): Undefine.
32437         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32438         (__ASSUME_UTIMES): Do not define.
32439         (__ASSUME_O_CLOEXEC): Likewise.
32440         (__ASSUME_SOCK_CLOEXEC): Likewise.
32441         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
32442         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
32443         0x020621].
32444         (__ASSUME_PIPE2): Likewise.
32445         (__ASSUME_EVENTFD2): Likewise.
32446         (__ASSUME_SIGNALFD4): Likewise.
32447         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
32448         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
32449         Do not define.
32450         (__ASSUME_EVENTFD2): Likewise.
32451         (__ASSUME_SIGNALFD4): Likewise.
32452         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32453         (__ASSUME_32BITUIDS): Likewise.
32454         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32455         (__ASSUME_IPC64): Likewise.
32456         (__ASSUME_ST_INO_64_BIT): Likewise.
32457         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
32458         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
32459         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32460         (__ASSUME_UTIMES): Do not define.
32461         (__ASSUME_PSELECT): Likewise.
32462         (__ASSUME_PPOLL): Likewise.
32463         (__ASSUME_O_CLOEXEC): Likewise.
32464         (__ASSUME_SOCK_CLOEXEC): Likewise.
32465         (__ASSUME_IN_NONBLOCK): Likewise.
32466         (__ASSUME_PIPE2): Likewise.
32467         (__ASSUME_EVENTFD2): Likewise.
32468         (__ASSUME_SIGNALFD4): Likewise.
32469         (__ASSUME_DUP3): Likewise.
32470         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32471         (__ASSUME_UTIMES): Likewise.
32472         (__ASSUME_O_CLOEXEC): Likewise.
32473         (__ASSUME_SOCK_CLOEXEC): Likewise.
32474         (__ASSUME_IN_NONBLOCK): Likewise.
32475         (__ASSUME_PIPE2): Likewise.
32476         (__ASSUME_EVENTFD2): Likewise.
32477         (__ASSUME_SIGNALFD4): Likewise.
32478         (__ASSUME_DUP3): Likewise.
32479         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32480         (__ASSUME_UTIMES): Likewise.
32481         (__ASSUME_O_CLOEXEC): Likewise.
32482         (__ASSUME_SOCK_CLOEXEC): Likewise.
32483         (__ASSUME_IN_NONBLOCK): Likewise.
32484         (__ASSUME_PIPE2): Likewise.
32485         (__ASSUME_EVENTFD2): Likewise.
32486         (__ASSUME_SIGNALFD4): Likewise.
32487         (__ASSUME_DUP3): Likewise.
32488         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
32489         Likewise.
32490         (__ASSUME_UTIMES): Likewise.
32491         (__ASSUME_EVENTFD2): Likewise.
32492         (__ASSUME_SIGNALFD4): Likewise.
32493         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32494         (__ASSUME_O_CLOEXEC): Likewise.
32495         (__ASSUME_SOCK_CLOEXEC): Likewise.
32496         (__ASSUME_IN_NONBLOCK): Likewise.
32497         (__ASSUME_PIPE2): Likewise.
32498         (__ASSUME_EVENTFD2): Likewise.
32499         (__ASSUME_SIGNALFD4): Likewise.
32500         (__ASSUME_DUP3): Likewise.
32501         (__ASSUME_UTIMES): Undefine.
32503         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
32504         feclearexcept.  Remove symbol versioning code.
32505         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
32506         symbol versioning code.
32507         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
32508         symbol versioning code.
32509         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
32510         feupdateenv.  Remove symbol versioning code.
32511         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
32512         fegetexceptflag.  Remove symbol versioning code.
32513         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
32514         fesetexceptflag.  Remove symbol versioning code.
32515         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
32516         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
32517         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
32518         (__posix_fadvise64_l32): Remove prototype.
32519         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
32520         code.
32522 2014-05-13  Roland McGrath  <roland@hack.frob.com>
32524         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
32525         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
32526         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
32527         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
32529 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
32531         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
32532         current working directory
32534 2014-05-13  Roland McGrath  <roland@hack.frob.com>
32536         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
32537         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
32538         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
32539         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
32540         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
32541         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
32542         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
32543         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
32544         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
32545         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
32546         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
32547         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
32548         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
32549         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
32550         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
32551         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
32552         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
32553         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
32554         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
32555         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
32556         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
32557         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
32558         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
32559         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
32560         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
32561         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
32562         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
32563         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
32564         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
32565         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
32566         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
32567         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
32568         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
32569         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
32570         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
32571         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
32572         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
32573         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
32574         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
32575         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
32576         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
32577         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
32579         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
32580         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
32582         * sysdeps/unix/sysv/linux/arm/Makefile
32583         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
32584         Add rt-aeabi_unwind_cpp_pr1.
32585         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
32586         Add nptl-aeabi_unwind_cpp_pr1.
32587         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
32588         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
32589         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
32590         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32591         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
32592         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32594         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
32595         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
32596         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
32597         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
32599         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
32600         Deconditionalize the code that was previously under [RESET_PID].
32601         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
32603         * sysdeps/generic/exit-thread.h: New file.
32604         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
32605         * include/unistd.h (__exit_thread): Remove declaration.
32606         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
32607         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
32608         * csu/libc-start.c: Include <exit-thread.h>.
32609         (LIBC_START_MAIN): Pass no argument to __exit_thread.
32610         * nptl/pthread_create.c: Include <exit-thread.h>.
32611         (start_thread): Call __exit_thread in place of __exit_thread_inline.
32612         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
32613         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
32614         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
32615         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
32616         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
32617         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
32618         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
32619         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
32620         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
32621         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
32622         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
32623         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
32624         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
32625         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
32626         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
32627         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
32629 2014-05-13  Andreas Schwab  <schwab@suse.de>
32631         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
32633 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
32635         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
32636         (__ASSUME_UTIMES): Do not condition on kernel version.
32637         (__ASSUME_PSELECT): Define unconditionally.
32638         (__ASSUME_PPOLL): Likewise.
32639         (__ASSUME_ATFCTS): Likewise.
32640         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
32641         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
32642         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
32643         (__ASSUME_UTIMENSAT): Define unconditionally.
32644         (__ASSUME_PRIVATE_FUTEX): Likewise.
32645         (__ASSUME_FALLOCATE): Likewise.
32646         (__ASSUME_O_CLOEXEC): Likewise.
32647         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
32648         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
32649         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
32650         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
32651         (__ASSUME_IN_NONBLOCK): Likewise.
32652         (__ASSUME_PIPE2): Likewise.
32653         (__ASSUME_EVENTFD2): Likewise.
32654         (__ASSUME_SIGNALFD4): Likewise.
32655         (__ASSUME_DUP3): Likewise.
32656         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32657         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
32658         (__ASSUME_AT_RANDOM): Likewise.
32659         (__ASSUME_PREADV): Likewise.
32660         (__ASSUME_PWRITEV): Likewise.
32661         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
32662         (__ASSUME_F_GETOWN_EX): Define unconditionally.
32663         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
32664         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32665         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
32666         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32667         (__ASSUME_O_CLOEXEC): Define unconditionally.
32668         (__ASSUME_PSELECT): Do not undefine conditionally.
32669         (__ASSUME_PPOLL): Likewise.
32670         (__ASSUME_ATFCTS): Likewise.
32671         (__ASSUME_SET_ROBUST_LIST): Likewise.
32672         (__ASSUME_UTIMENSAT): Likewise.
32673         (__ASSUME_FDATASYNC): Define unconditionally.
32674         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32675         (__ASSUME_SIGFRAME_V2): Likewise.
32676         )__ASSUME_EVENTFD2): Likewise.
32677         (__ASSUME_SIGNALFD4): Likewise.
32678         (__ASSUME_PSELECT): Do not undefine conditionally.
32679         (__ASSUME_PPOLL): Likewise.
32680         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32681         (__ASSUME_PSELECT): Define unconditionally.
32682         (__ASSUME_PPOLL): Likewise.
32683         (__ASSUME_O_CLOEXEC): Likewise.
32684         (__ASSUME_SOCK_CLOEXEC): Likewise.
32685         (__ASSUME_IN_NONBLOCK): Likewise.
32686         (__ASSUME_PIPE2): Likewise.
32687         (__ASSUME_EVENTFD2): Likewise.
32688         (__ASSUME_SIGNALFD4): Likewise.
32689         (__ASSUME_DUP3): Likewise.
32690         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32691         (__ASSUME_O_CLOEXEC): Likewise.
32692         (__ASSUME_SOCK_CLOEXEC): Likewise.
32693         (__ASSUME_IN_NONBLOCK): Likewise.
32694         (__ASSUME_PIPE2): Likewise.
32695         (__ASSUME_EVENTFD2): Likewise.
32696         (__ASSUME_SIGNALFD4): Likewise.
32697         (__ASSUME_DUP3): Likewise.
32698         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32699         (__ASSUME_EVENTFD2): Likewise.
32700         (__ASSUME_SIGNALFD4): Likewise.
32701         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32703 2014-05-12  Andreas Schwab  <schwab@suse.de>
32705         [BZ #16932]
32706         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
32707         (_nss_nis_gethostbyname4_r): Return error if item length is larger
32708         than maximum RPC packet size.
32709         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
32710         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
32711         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
32712         (_nss_nis_getservbyport_r): Likewise.
32714 2014-05-12  Will Newton  <will.newton@linaro.org>
32716         * malloc/Makefile (tests): Add tst-mallopt.
32717         * malloc/tst-mallopt.c: New file.
32719 2014-05-09  Roland McGrath  <roland@hack.frob.com>
32721         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
32722         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
32724 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32726         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
32727         (tst-tlsmod6.so): Likewise.
32729 2014-05-09  Roland McGrath  <roland@hack.frob.com>
32731         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
32733 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
32735         [BZ #16064]
32736         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
32737         and <dl-procinfo.h>.
32738         (__fegetenv): Save SSE state in envp->__eip if supported.
32739         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
32740         envp->__eip if supported.
32741         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
32742         and <dl-procinfo.h>.
32743         (__fesetenv): Always set __eip, __cs_selector, __opcode,
32744         __data_offset and __data_selector in environment to 0.  Set SSE
32745         state if supported.
32746         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
32747         test-fenv-sse.
32748         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
32749         -mfpmath=sse.
32750         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
32752 2014-05-09  Will Newton  <will.newton@linaro.org>
32754         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
32755         and libc_relro_required for ARM.
32756         * sysdeps/arm/preconfigure: Regenerate.
32758 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
32759             Stefan Liebler  <stli@linux.vnet.ibm.com>
32761         * config.make.in (enable-lock-elision): New Makefile variable.
32762         * configure.ac: Likewise.
32763         * configure: Regenerate.
32764         * sysdeps/s390/configure.ac:
32765         Add check for gcc transactions support.
32766         * sysdeps/s390/configure: Regenerate.
32767         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
32768         Build elision files if enabled.
32769         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
32770         Add lock elision support for s390.
32771         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
32772         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
32773         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
32774         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
32775         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
32776         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
32777         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32778         Likewise.
32779         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
32780         Likewise.
32781         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
32782         Likewise.
32783         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
32784         Likewise.
32785         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
32786         (__lll_timedlock_elision, __lll_lock_elision)
32787         (__lll_unlock_elision, __lll_trylock_elision)
32788         (lll_timedlock_elision, lll_lock_elision)
32789         (lll_unlock_elision, lll_trylock_elision): Add.
32790         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32791         (pthread_mutex_t): Add lock elision support for s390.
32793 2014-05-14  Wilco  <wdijkstr@arm.com>
32795         * sysdeps/arm/fclrexcpt.c: Cleanup.
32796         * sysdeps/arm/fedisblxcpt.c: Cleanup.
32797         * sysdeps/arm/feenablxcpt.c: Cleanup.
32798         * sysdeps/arm/fegetenv.c: Cleanup.
32799         * sysdeps/arm/fegetexcept.c: Cleanup.
32800         * sysdeps/arm/fegetround.c: Cleanup.
32801         * sysdeps/arm/feholdexcpt.c: Cleanup.
32802         * sysdeps/arm/fesetenv.c: Cleanup.
32803         * sysdeps/arm/fesetround.c: Cleanup.
32804         * sysdeps/arm/feupdateenv.c: Cleanup.
32805         * sysdeps/arm/fgetexcptflg.c: Cleanup.
32806         * sysdeps/arm/fraiseexcpt.c: Cleanup.
32807         * sysdeps/arm/fsetexcptflg.c: Cleanup.
32808         * sysdeps/arm/ftestexcept.c: Cleanup.
32809         * sysdeps/arm/get-rounding-mode.h: Cleanup.
32810         * sysdeps/arm/setfpucw.c: Cleanup.
32812 2014-05-09  Will Newton  <will.newton@linaro.org>
32814         * sysdeps/arm/armv7/strcmp.S: New file.
32815         * NEWS: Mention addition of ARMv7 optimized strcmp.
32817 2014-05-08  Roland McGrath  <roland@hack.frob.com>
32819         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
32820         look for %.ac rather than %.in.
32822         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
32823         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
32824         * sysdeps/mach/hurd/configure: Regenerated.
32825         * sysdeps/unix/sysv/linux/configure: Regenerated.
32827         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
32829 2014-05-07  Steve Ellcey  <sellcey@mips.com>
32831         [BZ# 16922]
32832         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
32833         (LONG_SUB): Ditto.
32834         (PTR_SUB): Ditto.
32836 2014-05-07  Andreas Schwab  <schwab@suse.de>
32838         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
32839         when skipping over non-matching result from nscd.
32841 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
32843         [BZ #16876]
32844         * nptl/sockperf.c (client): Check socket return value.
32846         [BZ #16877]
32847         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
32848         nscd security class.
32850 2014-05-06  Roland McGrath  <roland@hack.frob.com>
32852         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
32853         * sysdeps/arm/unwind.h: ... here.
32855 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
32857         [BZ# 16916]
32858         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
32859         Define.
32861 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32863         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
32864         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
32865         multiarch strncpy for PPC64.
32866         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
32867         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
32868         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
32869         multiarch optimizations.
32870         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32871         (__libc_ifunc_impl_list): Likewise.
32872         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
32873         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
32874         multiarch stpncpy for PPC64.
32875         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
32876         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
32878 2014-05-06  Andreas Schwab  <schwab@suse.de>
32880         [BZ #16912]
32881         * gmon/mcount.c (_MCOUNT_DECL): Use
32882         atomic_compare_and_exchange_bool_acq instead of
32883         catomic_compare_and_exchange_bool_acq.
32885 2014-05-05  Roland McGrath  <roland@hack.frob.com>
32887         * elf/Makefile (others, install-bin): Remove pldd.
32888         (pldd-modules): Variable removed.
32889         ($(objpfx)pldd): Target removed.
32890         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
32891         (others, install-bin): Append pldd here.
32892         ($(objpfx)pldd): New target.
32894         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
32895         to 0, so the first #if test emitted later doesn't see it undefined.
32896         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
32897         * sysdeps/gnu/errlist.c: Regenerated.
32899 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32901         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
32902         [libc_hidden_builtin_def]: Define to empty value.
32903         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
32904         [libc_hidden_builtin_def]: Likewise.
32905         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
32906         [libc_hidden_builtin_def]: Likewise.
32907         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
32908         [libc_hidden_builtin_def]: Likewise.
32909         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
32910         __redirect_memcpy and define ifunc as default hidden symbol.
32911         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
32912         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
32914 2014-05-04  Adam Conrad  <adconrad@0c3.net>
32916         * locale/iso-4217.def: Reintroduce XDR currency.
32918 2014-05-04  Allan McRae  <allan@archlinux.org>
32920         * po/eo.po: Update Esperanto translation from translation project.
32922 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
32924         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
32925         and FEATURE_INDEX_MAX to 1.
32926         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
32928 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32930         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
32931         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
32932         * iconvdata/big5.c (ONE_DIRECTION): Define.
32933         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
32934         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
32935         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
32936         * iconvdata/cp932.c (ONE_DIRECTION): Define.
32937         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
32938         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
32939         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
32940         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
32941         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
32942         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
32943         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
32944         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
32945         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
32946         * iconvdata/gbk.c (ONE_DIRECTION): Define.
32947         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
32948         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
32949         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
32950         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
32951         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
32952         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
32953         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
32954         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
32955         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
32956         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
32957         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
32958         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
32959         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
32960         * iconvdata/iso646.c (ONE_DIRECTION): Define.
32961         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
32962         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
32963         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
32964         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
32965         * iconvdata/johab.c (ONE_DIRECTION): Define.
32966         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
32967         * iconvdata/sjis.c (ONE_DIRECTION): Define.
32968         * iconvdata/t.61.c (ONE_DIRECTION): Define.
32969         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
32970         * iconvdata/tscii.c (ONE_DIRECTION): Define.
32971         * iconvdata/uhc.c (ONE_DIRECTION): Define.
32972         * iconvdata/unicode.c (ONE_DIRECTION): Define.
32973         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
32974         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
32975         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
32977 2014-05-01  Roland McGrath  <roland@hack.frob.com>
32979         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
32980         (_IO_JUMPS_OFFSET): Define to 0.
32982         * nptl/sysdeps/pthread/bits/libc-lock.h
32983         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
32984         (__libc_lock_define_initialized_recursive): Always define using
32985         initializer.  Modern compilers treat uninitialized (implicit zero) and
32986         explicit zero initializers the same (i.e. put the datum in bss).
32988 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32990         * nscd/nscd-client.h: Include <string.h>.
32992 2014-05-01  David S. Miller  <davem@davemloft.net>
32994         [BZ #16885]
32995         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
32996         multiple zero bytes exist at the end of a string.
32997         Reported by Aurelien Jarno <aurelien@aurel32.net>
32999         * string/test-strcmp.c (check): Add explicit test for situations where
33000         there are multiple zero bytes after the first.
33002 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33004         [BZ #16890]
33005         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
33006         when compiling wprintf.
33007         * stdio-common/tstdiomisc.c (t3): New function.
33008         (main): Call it.
33010 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33012         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
33013         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
33014         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
33015         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
33017 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33019         * stdlib/longlong.h: Updated from GCC.
33021 2014-05-01  Will Newton  <will.newton@linaro.org>
33022             Bernard Ogden  <bernie.ogden@linaro.org>
33024         * NEWS: Update fixed bug list.
33026         [BZ #15119]
33027         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
33029 2014-04-30  David S. Miller  <davem@davemloft.net>
33031         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
33032         (libc_feholdexcept_setround_sparc_ctx): New function.
33033         (libc_fesetenv_sparc_ctx): Likewise.
33034         (libc_feupdateenv_sparc_ctx): Likewise.
33035         (libc_feholdsetround_sparc_ctx): Likewise.
33036         (libc_feholdexcept_setround_ctx): Define.
33037         (libc_feholdexcept_setroundf_ctx): Likewise.
33038         (libc_feholdexcept_setroundl_ctx): Likewise.
33039         (libc_fesetenv_ctx): Likewise.
33040         (libc_fesetenvf_ctx): Likewise.
33041         (libc_fesetenvl_ctx): Likewise.
33042         (libc_feupdateenv_ctx): Likewise.
33043         (libc_feupdateenvf_ctx): Likewise.
33044         (libc_feupdateenvl_ctx): Likewise.
33045         (libc_feresetround_ctx): Likewise.
33046         (libc_feresetroundf_ctx): Likewise.
33047         (libc_feresetroundl_ctx): Likewise.
33048         (libc_feholdsetround_ctx): Likewise.
33049         (libc_feholdsetroundf_ctx): Likewise.
33050         (libc_feholdsetroundl_ctx): Likewise.
33052         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
33053         with __USE_GNU instead of XOPEN cpp guards.
33055         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
33056         0.
33058         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
33059         with XOPEN cpp guards.
33061 2014-04-30  Julian Brown  <julian@codesourcery.com>
33063         [BZ #16888]
33064         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
33065         handling.
33067 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
33069         [BZ #9894]
33070         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
33071         Change to 2.6.32.
33072         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
33073         * sysdeps/unix/sysv/linux/configure: Regenerated.
33074         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
33075         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
33076         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
33077         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
33078         * README: Update reference to required Linux kernel version.
33079         * manual/install.texi (Linux): Update reference to required Linux
33080         kernel headers version.
33081         * INSTALL: Regenerated.
33083         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
33084         header inclusion.
33085         [POSIX] (limits.h): Likewise.
33086         [POSIX] (math.h): Likewise.
33087         [POSIX] (sys/wait.h): Likewise.
33088         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
33089         function.
33090         [POSIX] (stddef.h): Do not allow header inclusion.
33092 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33094         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
33096 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
33098         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
33099         Return immediately after lll_futex_wake.
33101 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33103         [BZ #16791]
33104         * nscd/nscd-client.h (datahead_init_common): Initialize entire
33105         structure.
33106         (datahead_init_pos): Call datahead_init_common early.
33107         (datahead_init_neg): Likewise.
33109         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
33110         datahead_init_neg): New functions.
33111         * nscd/aicache.c (addhstaiX): Use them.
33112         * nscd/grpcache.c (cache_addgr): Likewise.
33113         * nscd/hstcache.c (cache_addhst): Likewise.
33114         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33115         * nscd/netgroupcache.c (do_notfound): Likewise.
33116         (addgetnetgrentX): Likewise.
33117         (addinnetgrX): Likewise.
33118         * nscd/pwdcache.c (cache_addpw): Likewise.
33119         * nscd/servicescache.c (cache_addserv): Likewise.
33121 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33122             Atsushi Onoe  <atsushi@onoe.org>
33124         [BZ #14308]
33125         [BZ #12994]
33126         [BZ #13651]
33127         * resolv/res_query.c (__libc_res_nsearch): Return if at least
33128         one response is valid.
33129         * resolv/res_send.c (send_dg): Check for validity of other
33130         response if the current response is a referral.
33132 2014-04-29  Steve Ellcey  <sellcey@mips.com>
33134         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
33136 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
33138         [BZ #16823]
33139         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
33140         Always divide by positive zero when computing -Inf result.
33141         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
33142         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
33144 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33146         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
33147         FPSCR if value do not change.
33148         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33149         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
33150         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33151         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
33152         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
33153         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
33154         function.
33156 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
33158         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
33159         * sysdeps/unix/sysv/linux/hppa: Move directory from
33160         ports/systeps/unix/sysv/linux/hppa.
33161         * README: Update listing for hppa-*-linux-gnu.
33163 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
33165         [BZ #16754]
33166         * manual/stdio.texi (Hook functions): Fix types of stream hook
33167         functions.
33168         [BZ #16854]
33169         * socket/sys/socket.h: Fix typo in comment.
33171 2014-04-28  Wilco  <wdijkstr@arm.com>
33173         * sysdeps/arm/fenv_private.h: New file.
33174         * sysdeps/arm/math_private.h: New file.
33175         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
33177 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
33179         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
33180         with __int128_t.
33181         (La_x86_64_retval): Likewise.
33183 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
33185         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
33186         fpsr if value didn't change.
33187         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
33188         to fpcr if value didn't change.
33189         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
33190         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
33191         fpsr or fpcr if value didn't change.
33192         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
33193         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
33194         fpcr if value didn't change.
33195         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
33196         to fpsr if value didn't change.
33198 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33200         * nptl/tst-sem3.c: Use test-skeleton.c
33201         (main): Rename to do_test.  Use return instead of
33202         exit.
33203         * nptl/tst-sem4.c: Use test-skeleton.c
33204         (main): Rename to do_test.
33206 2014-04-22  David S. Miller  <davem@davemloft.net>
33208         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33209         (struct sigaction): New struct member __glibc_reserved0, change
33210         type of sa_flags to int.
33212 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
33214         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
33215         (COUNT_LEADING_ZEROS_0): Define for AArch64.
33217 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33219         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
33220         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
33222 2014-04-22  Will Newton  <will.newton@linaro.org>
33223             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
33225         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
33226         (__longjmp): Add longjmp and longjmp_target SystemTap
33227         probes.
33228         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
33229         (__sigsetjmp): Add setjmp SystemTap probe.
33231 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
33233         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
33234         match manual order.
33236 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33238         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
33240         * sysdeps/powerpc/fpu/fenv_private.h
33241         (libc_feholdexcept_setroundl_ctx): Define to
33242         libc_feholdexcept_setround_ppc_ctx.
33243         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
33244         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
33245         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
33246         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
33248 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
33250         * sysdeps/aarch64/math-tests.h: New file.
33252 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
33254         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
33255         New.
33256         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33257         Check and set bit_AVX2_Usable.
33258         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
33259         macro.
33260         (bit_AVX2): Likewise.
33261         (index_AVX2_Usable): Likewise.
33262         (CPUID_AVX2): Likewise.
33263         (HAS_AVX2): Likewise.
33265 2014-04-17  Will Newton  <will.newton@linaro.org>
33267         * manual/setjmp.texi (System V contexts): Add note that
33268         calling setcontext on a context created by a call to a
33269         signal handler is undefined.  Update text to note that
33270         setcontext from a signal handler is possible but not
33271         recommended.
33273         [BZ #16629]
33274         * stdlib/tst-setcontext.c: Include signal.h.
33275         (main): Check that the signal stack before and
33276         after swapcontext is the same.
33278         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
33279         Re-implement to restore registers in user code and avoid
33280         rt_sigreturn system call.
33282 2014-04-17  Wilco  <wdijkstr@arm.com>
33284         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
33285         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
33286         * math/test-fenv.c: Skip exception trap tests on targets which only
33287         support non-stop mode.
33289 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
33290             Wilco Dijkstra  <wilco.dijkstra@arm.com>
33292         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
33293         (libc_feholdsetround_aarch64_ctx)
33294         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
33295         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
33296         (libc_feresetround_ctx, libc_feresetroundf_ctx)
33297         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
33298         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
33299         (libc_feresetround_noexl_ctx): Define.
33301 2014-04-16  Richard Henderson  <rth@redhat.com>
33303         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
33305         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
33306         unwind tables.
33308         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
33309         const from the non-libc, non-ldso copy.
33311         * sysdeps/alpha/libm-test-ulps: Regenerate.
33313 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
33314             Wilco Dijkstra  <wilco.dijkstra@arm.com>
33316         * sysdeps/aarch64/fpu/math_private.h: New file.
33318 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33320         * sysdeps/aarch64/libm-test-ulps: Regenerate.
33322 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
33324         [BZ #16275]
33325         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
33326         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
33327         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
33328         Intel MPX bound registers before _dl_profile_fixup.
33329         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
33330         registers after _dl_profile_fixup.  Save and restore bound
33331         registers bnd0/bnd1 when calling _dl_call_pltexit.
33332         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
33333         (LR_BND_OFFSET): Likewise.
33334         (LRV_BND0_OFFSET): Likewise.
33335         (LRV_BND1_OFFSET): Likewise.
33337 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33339         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
33340         to...
33341         * sysdeps/mach/hurd/i386/tls.h: ... here.
33342         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
33343         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
33344         fields.
33346 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33348         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
33350 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33352         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33354 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33356         [BZ #14770]
33357         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
33358         * sysdeps/s390/configure: Regenerate.
33360         [BZ #16824]
33361         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
33362         Set round-to-nearest internally to reduce error accumulation.
33364 2014-04-16  Alan Modra  <amodra@gmail.com>
33366         [BZ #16740]
33367         [BZ #16619]
33368         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
33369         * math/libm-test.inc (frexp_test_data): Add tests.
33370         * NEWS: Update fixed bug list.
33372 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33374         * benchtests/Makefile: Depend on libraries in build directory.
33375         (bench-math): Separate out math tests.
33376         (bench-pthread): Separate out pthread tests.
33377         (bench): Include math and pthread tests.
33379 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
33381         [BZ #16831]
33382         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
33383         _dl_debug_initialize.
33385         * configure.ac: Remove SELinux header check.
33386         * configure: Regenerate.
33387         * nscd/selinux.c (perms): Array of const char* to permission names.
33388         (nscd_request_avc_has_perm): Call security_deny_unknown to find
33389         default policy. Call string_to_security_class and string_to_av_perm to
33390         translate strings. Enforce default policy and call avs_has_perm with
33391         results of translated strings.
33393 2014-04-13  David S. Miller  <davem@davemloft.net>
33395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33397 2014-04-12  Allan McRae  <allan@archlinux.org>
33399         [BZ #16838]
33400         * manual/string.texi (Collation Functions): Fix qsort argument
33401         order in example.
33402         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33404 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
33406         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
33407         Make the test a no-op if there are no exceptions defined.
33409 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
33411         * elf/Makefile (tests): make tst-dlopen-aout conditional on
33412         enable-hardcoded-path-in-tests
33414 2014-04-11  Will Newton  <will.newton@linaro.org>
33416         * benchtests/Makefile (extra-objs): Add json-lib.o.
33417         (bench-func): Tidy up JSON output.
33418         * benchtests/bench-skeleton.c: Include json-lib.h.
33419         (main): Use JSON library functions to do output of
33420         benchmark results.
33421         * benchtests/bench-timing-type.c (main): Output the
33422         timing type simply, leaving formatting to the user.
33423         * benchtests/json-lib.c: New file.
33424         * benchtests/json-lib.h: Likewise.
33426 2014-04-11  Torvald Riegel  <triegel@redhat.com>
33428         [BZ #15215]
33429         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
33430         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
33431         memory barriers.  Add comments.
33432         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
33433         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
33434         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
33435         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
33436         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
33437         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
33439 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33441         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
33442         * sysdeps/s390/s390-64/configure.ac: ... this ...
33443         * sysdeps/s390/configure.ac: ... to here.
33444         * sysdeps/s390/s390-32/configure: Delete file.
33445         * sysdeps/s390/s390-64/configure: Delete file.
33446         * sysdeps/s390/configure: Regenerate.
33448 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
33450         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
33452 2014-04-11  Will Newton  <will.newton@linaro.org>
33454         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
33455         to zero if it is not defined elsewhere.  (mtrim): Test
33456         the value of MALLOC_DEBUG with #if rather than #ifdef.
33458 2014-04-10 Torvald Riegel  <triegel@redhat.com>
33460         * benchtests/pthread_once-inputs: New file.
33461         * benchtests/pthread_once-source.c: New file.
33462         * benchtests/README: Update documentation.
33464 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
33465             H.J. Lu  <hongjiu.lu@intel.com>
33467         [BZ #16275]
33468         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
33469         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
33470         * sysdeps/x86_64/configure: Regenerated.
33471         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
33472         macro.
33473         (REGISTER_SAVE_RAX): Likewise.
33474         (REGISTER_SAVE_RCX): Likewise.
33475         (REGISTER_SAVE_RDX): Likewise.
33476         (REGISTER_SAVE_RSI): Likewise.
33477         (REGISTER_SAVE_RDI): Likewise.
33478         (REGISTER_SAVE_R8): Likewise.
33479         (REGISTER_SAVE_R9): Likewise.
33480         (REGISTER_SAVE_BND0): Likewise.
33481         (REGISTER_SAVE_BND1): Likewise.
33482         (REGISTER_SAVE_BND2): Likewise.
33483         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
33484         bound registers when calling _dl_fixup.
33486 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33488         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
33489         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
33490         of its definition.
33491         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
33492         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
33493         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
33494         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
33495         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
33496         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
33497         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
33499 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
33501         [BZ #15514]
33502         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
33503         pathconf(_PC_NAME_MAX).
33505 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33507         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
33508         Remove macro usage.
33509         (__PTHREAD_SPINS): Move definition to ...
33510         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33511         (__PTHREAD_SPINS): ... here.
33512         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33513         (__PTHREAD_SPIN): Likewise.
33514         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
33515         (__PTHREAD_SPIN): Likewise.
33516         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
33517         (__PTHREAD_SPIN): Likewise.
33518         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
33519         (__PTHREAD_SPIN): Likewise.
33520         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
33521         (__PTHREAD_SPIN): Likewise.
33522         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
33523         (__PTHREAD_SPIN): Likewise.
33524         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
33525         (__PTHREAD_SPIN): Likewise.
33526         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
33527         (__PTHREAD_SPIN): Likewise.
33528         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
33529         (__PTHREAD_SPIN): Likewise.
33530         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
33531         (__PTHREAD_SPIN): Likewise.
33532         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
33533         (__PTHREAD_SPIN): Likewise.
33534         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
33535         (__PTHREAD_SPIN): Likewise.
33537         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
33538         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
33539         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
33540         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
33541         imply folder.
33542         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
33543         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
33544         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
33545         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
33546         correct imply path.
33547         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
33548         strlen symbol for non multi-arch builds.
33549         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
33550         missing hidden_def and weak_alias.
33552 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
33554         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
33556 2014-04-07  Will Newton  <will.newton@linaro.org>
33558         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
33559         and contents.  [!_LIBC] Remove #ifndef and contents.
33560         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
33561         * string/memccpy.c (__memccpy): Use ANSI prototype.
33562         * string/memfrob.c (memfrob): Likewise.
33563         * string/strcoll.c (STRCOLL): Likewise.
33564         * string/strlen.c (strlen): Likewise.
33565         * string/strtok.c (STRTOK): Likewise.
33566         * string/strcat.c: Remove unused #include of memcopy.h.
33567         (strcat): Use ANSI prototype.
33568         * string/strchr.c: Remove unused #include of memcopy.h.
33569         (strchr): Use ANSI prototype.
33570         * string/strcmp.c: Remove unused #include of memcopy.h.
33571         (strcmp): Use ANSI prototype.
33572         * string/strcpy.c: Remove unused #include of memcopy.h.
33573         (strcpy): Use ANSI prototype.
33575 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33577         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
33578         * config.make.in (config-extra-cppflags): Set it from
33579         libc_extra_cppflags.
33580         * configure.ac (libc_extra_cflags): Make it accumulate over
33581         configure fragments.
33582         (libc_extra_cppflags): New flag.
33583         * configure. Regenerate.
33584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
33585         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
33586         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
33587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
33589         [BZ #16815]
33590         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
33591         result for FE_DOWNWARD rounding mode.
33592         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
33593         Likewise.
33594         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33596 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
33598         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
33599         in function argument name.
33601 2014-04-03  David Svoboda  <svoboda@cert.org>
33603         [BZ #5666]
33604         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
33605         explicitly.
33607 2014-04-03  Roland McGrath  <roland@hack.frob.com>
33609         * elf/dl-unmap-segments.h: New file.
33610         * sysdeps/generic/ldsodefs.h
33611         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
33612         * elf/dl-close.c: Include <dl-unmap-segments.h>.
33613         * elf/dl-fptr.c: Likewise.
33614         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
33615         * sysdeps/aarch64/tlsdesc.c: Likewise.
33616         * sysdeps/arm/tlsdesc.c: Likewise.
33617         * sysdeps/i386/tlsdesc.c: Likewise.
33618         * sysdeps/tile/dl-runtime.c: Likewise.
33619         * sysdeps/x86_64/tlsdesc.c: Likewise.
33620         * elf/dl-load.h: New file.
33621         * elf/dl-load.c: Include it.
33622         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
33623         Macros moved to dl-load.h.
33624         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
33625         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
33626         Use _dl_unmap_segments in place of __munmap.
33627         Break out segment-mapping loop into ...
33628         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
33630 2014-04-03  Will Newton  <will.newton@linaro.org>
33632         * elf/dl-lookup.c (do_lookup_x): Remove comment
33633         referring to nested function and move variable
33634         declarations down to before first use.
33636 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
33638         [BZ #16799]
33639         [BZ #16800]
33640         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
33641         with 0 numerator.
33642         * math/s_catanf.c (__catanf): Likewise.
33643         * math/s_catanh.c (__catanh): Likewise.
33644         * math/s_catanhf.c (__catanhf): Likewise.
33645         * math/s_catanhl.c (__catanhl): Likewise.
33646         * math/s_catanl.c (__catanl): Likewise.
33647         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
33648         by positive zero when computing -Inf result.
33649         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
33650         (catanh_test): Likewise.
33651         * sysdeps/i386/fpu/libm-test-ulps: Update.
33652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33654         [BZ #16789]
33655         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
33656         instead of using underflowing value in computing result.
33657         * math/s_clog10.c (__clog10): Likewise.
33658         * math/s_clog10f.c (__clog10f): Likewise.
33659         * math/s_clog10l.c (__clog10l): Likewise.
33660         * math/s_clogf.c (__clogf): Likewise.
33661         * math/s_clogl.c (__clogl): Likewise.
33662         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
33663         (clog10_test): Likewise.
33664         * sysdeps/i386/fpu/libm-test-ulps: Update.
33665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33667 2014-04-02  Alan Modra  <amodra@gmail.com>
33669         [BZ #16739]
33670         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
33671         output when value is near a power of two.  Use int64_t for lx and
33672         remove casts.  Use decimal rather than hex exponent constants.
33673         Don't use long double multiplication when double will suffice.
33674         * math/libm-test.inc (nextafter_test_data): Add tests.
33675         * NEWS: Add 16739 and 16786 to bug list.
33677         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
33679         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
33681 2014-04-01  Will Newton  <will.newton@linaro.org>
33683         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
33684         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
33686 2014-04-01  Florian Weimer  <fweimer@redhat.com>
33688         [BZ #13347]
33689         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
33690         * nptl/tst-setuid2.c: New file.
33691         * nptl/Makefile (xtests): Add tst-setuid2.
33693 2014-04-01  Alan Modra  <amodra@gmail.com>
33695         [BZ #16786]
33696         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
33698 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
33700         [BZ #6803]
33701         [BZ #6804]
33702         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
33703         set errno as appropriate.
33704         * math/w_scalbf.c (__scalbf): Likewise.
33705         * math/w_scalbl.c (__scalbl): Likewise.
33706         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
33707         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
33708         * math/libm-test.inc (scalb_test_data): Add errno expectations.
33709         Add more NaN tests.
33711         [BZ #16349]
33712         * math/w_atan2.c: Include <errno.h>.
33713         (__atan2): Set errno for result underflowing to zero.
33714         * math/w_atan2f.c: Include <errno.h>.
33715         (__atan2f): Set errno for result underflowing to zero.
33716         * math/w_atan2l.c: Include <errno.h>.
33717         (__atan2l): Set errno for result underflowing to zero.
33718         * math/auto-libm-test-in: Don't allow missing errno for some atan2
33719         tests.
33720         * math/auto-libm-test-out: Regenerated.
33722 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33724         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
33725         Encode instruction correctly in little endian.
33726         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
33727         Likewise.
33728         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
33729         Likewise.
33730         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
33731         Likewise.
33732         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
33733         Likewise.
33735 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
33737         [BZ #9894]
33738         * sysdeps/unix/sysv/linux/kernel-features.h
33739         [__sparc__ && !__arch64__ && !__sparc_v9__]
33740         (__ASSUME_SET_ROBUST_LIST): Do not define.
33741         [__sparc__ && !__arch64__ && !__sparc_v9__]
33742         (__ASSUME_FUTEX_LOCK_PI): Likewise.
33743         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
33744         Likewise.
33745         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33746         (__ASSUME_FUTEX_LOCK_PI): Undefine.
33747         (__ASSUME_REQUEUE_PI): Likewise.
33748         (__ASSUME_SET_ROBUST_LIST): Likewise.
33749         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33750         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
33751         Undefine.
33752         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33753         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
33754         Likewise.
33755         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
33756         Likewise.
33757         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
33758         Likewise.
33759         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33760         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
33761         Undefine.
33762         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
33763         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
33764         Likewise.
33766         [BZ #16648]
33767         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33768         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
33769         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
33771 2014-03-31  Will Newton  <will.newton@linaro.org>
33773         * benchtests/Makefile (bench): Add ffs and ffsll to list
33774         of tests.
33775         * benchtests/ffs-inputs: New file.
33776         * benchtests/ffsll-inputs: Likewise.
33778 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
33780         [BZ #16770]
33781         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
33782         too large before casting to int.
33783         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
33784         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
33785         * math/libm-test.inc (scalb_test_data): Add more tests.
33787 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33789         * benchtests/Makefile (DETAILED_OPT): New make option.
33790         (bench-func): Run benchmark program with -d if DETAILED_OPT is
33791         set.
33792         * benchtests/bench-skeleton.c: Include stdbool.h.
33793         (main): Store and print timings per input.
33794         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
33795         member to each argument value.
33796         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
33797         (_print_arg_data): Initialize per-input timing to 0.
33799         * benchtests/Makefile (timing-type): New binary.
33800         (bench-clean): Also remove bench-timing-type.
33801         (bench): New target for timing-type.
33802         (bench-func): Print output in JSON format.
33803         * benchtests/bench-skeleton.c (main): Print output in JSON
33804         format.
33805         * benchtests/bench-timing-type.c: New file.
33806         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
33807         (TIMING_PRINT_STATS): Remove.
33808         * benchtests/scripts/bench.py (_print_arg_data): Store variant
33809         name separately.
33811         * benchtests/bench-modf.c: Remove.
33812         * benchtests/modf-inputs: New inputs file.
33814 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
33816         [BZ #16362]
33817         * math/s_clog10.c (M_PI_LOG10E): New macro.
33818         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
33819         imaginary parts are 0.
33820         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
33821         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
33822         imaginary parts are 0.
33823         * math/s_clog10l.c (M_PI_LOG10El): New macro.
33824         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
33825         imaginary parts are 0.
33826         * math/libm-test.inc (clog10_test_data): Update expected results
33827         for when real and imaginary parts are 0.
33829 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
33831         * elf/dl-load.c: Finish conversion of __builtin_expect into
33832         __glibc_{un}likely.
33834 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
33836         [BZ #16348]
33837         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
33838         1+x for argument with exponent below -67.
33839         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
33840         Likewise.
33841         * math/auto-libm-test-in: Add more tests of exp.
33842         * math/auto-libm-test-out: Regenerated.
33844 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33846         [BZ #16759]
33847         * inet/getnetgrent_r.c (get_nonempty_val): New function.
33848         (nscd_getnetgrent): Use it.
33850         [BZ #16760]
33851         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
33852         of stpcpy.
33854 2014-03-27  Andi Kleen  <ak@linux.intel.com>
33856         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
33857         (lll_robust_lock, lll_cond_lock, lll_timedlock)
33858         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
33859         (lll_robust_unlock): Remove out of line section. Use cfi
33860         intrinsics.
33861         (LLL_STUB_UNWIND_INFO*): Remove.
33862         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
33863         (lll_robust_lock, lll_cond_lock, lll_timedlock)
33864         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
33865         (lll_robust_unlock): Remove out of line section. Use cfi
33866         intrinsics.
33867         (LLL_STUB_UNWIND_INFO*): Remove.
33869 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33871         [BZ #16758]
33872         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
33873         blank values.
33875 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
33877         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
33879 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
33881         [BZ #16198]
33882         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
33883         fnstenv.
33884         * math/test-fenv-preserve.c: New file.
33885         * math/Makefile (tests): Add test-fenv-preserve.
33887 2014-03-26  Will Newton <will.newton@linaro.org>
33889         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
33891 2014-03-25  Roland McGrath  <roland@hack.frob.com>
33893         * scripts/versionlist.awk: Partition the version sets and emit all
33894         GLIBC_* (sorted) before all others (sorted).
33896 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
33898         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
33899         GLIBC_2.2.5 version.
33901 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33903         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
33904         calls.
33906         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
33907         previous change.
33909         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33911 2014-03-25  Andreas Schwab  <schwab@suse.de>
33913         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
33914         label to be used after in6ailist is initialized.
33916 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33918         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33919         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
33921 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
33923         [BZ #16357]
33924         [BZ #16599]
33925         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
33926         min_plus_half.
33927         (fp_formats): Update initializers.
33928         (init_fp_formats): Initialize new field.
33929         (output_for_one_input_case): Allow underflow for results up to
33930         min_plus_half.
33931         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
33932         * math/auto-libm-test-in: Don't mark some underflows from asin and
33933         atanh as spurious.
33934         * math/auto-libm-test-out: Regenerated.
33935         * sysdeps/i386/fpu/libm-test-ulps: Update.
33936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33938 2014-03-25  Andreas Schwab  <schwab@suse.de>
33940         * libio/Makefile (tst-ftell-partial-wide-ENV)
33941         (tst-ftell-active-handler-ENV): Define.
33943 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
33945         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
33947 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33949         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
33951 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
33953         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
33954         * sysdeps/x86_64/fpu/multiarch/e_exp.c
33955         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
33957 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33959         [BZ #16634]
33960         * elf/dl-load.c (open_verify): Add mode parameter.
33961         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
33962         (open_path): Change from boolean 'secure' to complete flag 'mode'
33963         (_dl_map_object): Adjust.
33964         * elf/Makefile (tests): Add tst-dlopen-aout.
33965         * elf/tst-dlopen-aout.c: New test.
33967 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
33969         [BZ #16714]
33970         * sysdeps/unix/sysv/linux/s390/bits/stat.h
33971         (struct stat): Rename member pad0 to __glibc_reserved0.
33973         [BZ #16712]
33974         * sysdeps/s390/s390-32/bits/wordsize.h
33975         (__WORDSIZE32_SIZE_ULONG): New define.
33976         * sysdeps/s390/s390-64/bits/wordsize.h
33977         (__WORDSIZE32_SIZE_ULONG): Likewise.
33978         * sysdeps/generic/stdint.h (SIZE_MAX):
33979         Define as UL if __WORDSIZE32_SIZE_ULONG.
33981         [BZ #16713]
33982         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33983         (__glibc_reserved0): New variable.
33984         (sa_flags): Change type to int.
33986         * posix/Makefile (before-compile): Use += before-compile instead
33987         of a :=.
33989         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33990         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
33992 2014-03-20  Andreas Schwab  <schwab@suse.de>
33994         [BZ #16743]
33995         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
33996         non-matching result from nscd.
33998 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34000         * scripts/bench.py: Moved to ...
34001         * benchtests/scripts/bench.py: ... here.
34002         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
34004 2014-03-24  Andreas Schwab  <schwab@suse.de>
34006         [BZ #16002]
34007         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
34008         alloca_account and account alloca use for struct in6ailist.
34010 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
34012         [BZ #16284]
34013         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
34014         rounding mode to recompute results that overflow to infinity or
34015         underflow to zero.
34016         * math/auto-libm-test-in: Don't mark tests as expected to fail for
34017         bug 16284.
34018         * math/auto-libm-test-out: Regenerated.
34019         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
34020         (ccosh_test): Likewise.
34021         (csin_test_data): Use plus_oflow.
34022         (csin_test): Use ALL_RM_TEST.
34023         (csinh_test_data): Use plus_oflow.
34024         (csinh_test): Use ALL_RM_TEST.
34025         * sysdeps/i386/fpu/libm-test-ulps: Update.
34026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34028 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
34030         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
34031         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
34032         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
34034         [BZ #16731]
34035         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
34036         when x - 1 is zero.
34037         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
34038         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
34039         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
34040         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
34041         argument is 1.
34042         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
34043         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
34044         zero.
34045         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
34046         * sysdeps/i386/fpu/libm-test-ulps: Update.
34047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34049 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34051         * scripts/bench.pl: Remove file.
34052         * scripts/bench.py: New benchmark script.
34053         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
34054         * benchtests/README: Mention python dependency.
34055         * scripts/pylintrc: New file.
34056         * scripts/pylint: New file.
34058         * bits/mathdef.h: Use #ifdef instead of #if.
34059         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
34060         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34061         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
34062         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34063         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
34064         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34066 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34067             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34069         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
34070         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
34071         and strpbrk-ppc64 objects.
34072         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34073         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
34074         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
34075         multiarch strpbrk for POWER7.
34076         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
34077         multiarch strpbrk for PPC64.
34078         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
34079         ifunc selector.
34080         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
34081         strpbrk for POWER7.
34083 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
34085         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
34086         (atan_test): Likewise.
34087         (atanh_test_data): Use NO_TEST_INLINE for two tests.
34088         (atanh_test): Use ALL_RM_TEST.
34089         (atan2_test_data): Likewise.
34090         (cabs_test): Likewise.
34091         (cacosh_test): Likewise.
34092         (carg_test): Likewise.
34093         (casin_test): Likewise.
34094         (casinh_test): Likewise.
34095         (cbrt_test): Likewise.
34096         (csqrt_test): Likewise.
34097         (erf_test): Likewise.
34098         (erfc_test): Likewise.
34099         (pow10_test): Likewise.
34100         (exp2_test): Likewise.
34101         (hypot_test): Likewise.
34102         (j0_test): Likewise.
34103         (j1_test): Likewise.
34104         (lgamma_test): Likewise.
34105         (gamma_test): Likewise.
34106         (sincos_test): Likewise.
34107         (tanh_test): Likewise.
34108         (y0_test): Likewise.
34109         (y1_test): Likewise.
34110         * sysdeps/i386/fpu/libm-test-ulps: Update.
34111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34113 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34115         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
34116         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
34117         and strcspn-ppc64 objects.
34118         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34119         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
34120         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
34121         multiarch strcspn for POWER7.
34122         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
34123         multiarch strcspn for PPC64.
34124         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
34125         ifunc selector.
34126         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
34127         strcspn for POWER7.
34129 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
34131         * math/gen-libm-test.pl (generate_testfile): Expect only function
34132         name as argument to AUTO_TESTS_* and pass results for all rounding
34133         modes to parse_args.
34134         (parse_auto_input): Separate inputs of automatic tests from
34135         outputs before storing in %auto_tests.
34136         * math/libm-test.inc (acos_test_data): Update call to
34137         AUTO_TESTS_f_f.
34138         (acos_test): Use ALL_RM_TEST.
34139         (acos_tonearest_test_data): Remove.
34140         (acos_test_tonearest): Likewise.
34141         (acos_towardzero_test_data): Likewise.
34142         (acos_test_towardzero): Likewise.
34143         (acos_downward_test_data): Likewise.
34144         (acos_test_downward): Likewise.
34145         (acos_upward_test_data): Likewise.
34146         (acos_test_upward): Likewise.
34147         (acosh_test_data): Update call to AUTO_TESTS_f_f.
34148         (asin_test_data): Likewise.
34149         (asin_test): Use ALL_RM_TEST.
34150         (asin_tonearest_test_data): Remove.
34151         (asin_test_tonearest): Likewise.
34152         (asin_towardzero_test_data): Likewise.
34153         (asin_test_towardzero): Likewise.
34154         (asin_downward_test_data): Likewise.
34155         (asin_test_downward): Likewise.
34156         (asin_upward_test_data): Likewise.
34157         (asin_test_upward): Likewise.
34158         (asinh_test_data): Update call to AUTO_TESTS_f_f.
34159         (atan_test_data): Likewise.
34160         (atanh_test_data): Likewise.
34161         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
34162         (cabs_test_data): Update call to AUTO_TESTS_c_f.
34163         (carg_test_data): Likewise.
34164         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
34165         (ccos_test_data): Update call to AUTO_TESTS_c_c.
34166         (ccosh_test_data): Likewise.
34167         (cexp_test_data): Likewise.
34168         (clog_test_data): Likewise.
34169         (clog10_test_data): Likewise.
34170         (cos_test_data): Update call to AUTO_TESTS_f_f.
34171         (cos_test): Use ALL_RM_TEST.
34172         (cos_tonearest_test_data): Remove.
34173         (cos_test_tonearest): Likewise.
34174         (cos_towardzero_test_data): Likewise.
34175         (cos_test_towardzero): Likewise.
34176         (cos_downward_test_data): Likewise.
34177         (cos_test_downward): Likewise.
34178         (cos_upward_test_data): Likewise.
34179         (cos_test_upward): Likewise.
34180         (cosh_test_data): Update call to AUTO_TESTS_f_f.
34181         (cosh_test): Use ALL_RM_TEST.
34182         (cosh_tonearest_test_data): Remove.
34183         (cosh_test_tonearest): Likewise.
34184         (cosh_towardzero_test_data): Likewise.
34185         (cosh_test_towardzero): Likewise.
34186         (cosh_downward_test_data): Likewise.
34187         (cosh_test_downward): Likewise.
34188         (cosh_upward_test_data): Likewise.
34189         (cosh_test_upward): Likewise.
34190         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
34191         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
34192         (ctan_test_data): Likewise.
34193         (ctan_test): Use ALL_RM_TEST.
34194         (ctan_tonearest_test_data): Remove.
34195         (ctan_test_tonearest): Likewise.
34196         (ctan_towardzero_test_data): Likewise.
34197         (ctan_test_towardzero): Likewise.
34198         (ctan_downward_test_data): Likewise.
34199         (ctan_test_downward): Likewise.
34200         (ctan_upward_test_data): Likewise.
34201         (ctan_test_upward): Likewise.
34202         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
34203         (ctanh_test): Use ALL_RM_TEST.
34204         (ctanh_tonearest_test_data): Remove.
34205         (ctanh_test_tonearest): Likewise.
34206         (ctanh_towardzero_test_data): Likewise.
34207         (ctanh_test_towardzero): Likewise.
34208         (ctanh_downward_test_data): Likewise.
34209         (ctanh_test_downward): Likewise.
34210         (ctanh_upward_test_data): Likewise.
34211         (ctanh_test_upward): Likewise.
34212         (erf_test_data): Update call to AUTO_TESTS_f_f.
34213         (erfc_test_data): Likewise.
34214         (exp_test_data): Likewise.
34215         (exp_test): Use ALL_RM_TEST.
34216         (exp_tonearest_test_data): Remove.
34217         (exp_test_tonearest): Likewise.
34218         (exp_towardzero_test_data): Likewise.
34219         (exp_test_towardzero): Likewise.
34220         (exp_downward_test_data): Likewise.
34221         (exp_test_downward): Likewise.
34222         (exp_upward_test_data): Likewise.
34223         (exp_test_upward): Likewise.
34224         (exp10_test_data): Update call to AUTO_TESTS_f_f.
34225         (exp10_test): Use ALL_RM_TEST.
34226         (exp10_tonearest_test_data): Remove.
34227         (exp10_test_tonearest): Likewise.
34228         (exp10_towardzero_test_data): Likewise.
34229         (exp10_test_towardzero): Likewise.
34230         (exp10_downward_test_data): Likewise.
34231         (exp10_test_downward): Likewise.
34232         (exp10_upward_test_data): Likewise.
34233         (exp10_test_upward): Likewise.
34234         (exp2_test_data): Update call to AUTO_TESTS_f_f.
34235         (expm1_test_data): Likewise.
34236         (expm1_test): Use ALL_RM_TEST.
34237         (expm1_tonearest_test_data): Remove.
34238         (expm1_test_tonearest): Likewise.
34239         (expm1_towardzero_test_data): Likewise.
34240         (expm1_test_towardzero): Likewise.
34241         (expm1_downward_test_data): Likewise.
34242         (expm1_test_downward): Likewise.
34243         (expm1_upward_test_data): Likewise.
34244         (expm1_test_upward): Likewise.
34245         (fma_test_data): Update call to AUTO_TESTS_fff_f.
34246         (fma_test): Use ALL_RM_TEST.
34247         (fma_towardzero_test_data): Remove.
34248         (fma_test_towardzero): Likewise.
34249         (fma_downward_test_data): Likewise.
34250         (fma_test_downward): Likewise.
34251         (fma_upward_test_data): Likewise.
34252         (fma_test_upward): Likewise.
34253         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
34254         (j0_test_data): Update call to AUTO_TESTS_f_f.
34255         (j1_test_data): Likewise.
34256         (jn_test_data): Update call to AUTO_TESTS_if_f.
34257         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
34258         (log_test_data): Update call to AUTO_TESTS_f_f.
34259         (log10_test_data): Likewise.
34260         (log1p_test_data): Likewise.
34261         (log2_test_data): Likewise.
34262         (pow_test_data): Update call to AUTO_TESTS_ff_f.
34263         (pow_tonearest_test_data): Likewise.
34264         (sin_test_data): Update call to AUTO_TESTS_f_f.
34265         (sin_test): Use ALL_RM_TEST.
34266         (sin_tonearest_test_data): Remove.
34267         (sin_test_tonearest): Likewise.
34268         (sin_towardzero_test_data): Likewise.
34269         (sin_test_towardzero): Likewise.
34270         (sin_downward_test_data): Likewise.
34271         (sin_test_downward): Likewise.
34272         (sin_upward_test_data): Likewise.
34273         (sin_test_upward): Likewise.
34274         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
34275         (sinh_test_data): Update call to AUTO_TESTS_f_f.
34276         (sinh_test): Use ALL_RM_TEST.
34277         (sinh_tonearest_test_data): Remove.
34278         (sinh_test_tonearest): Likewise.
34279         (sinh_towardzero_test_data): Likewise.
34280         (sinh_test_towardzero): Likewise.
34281         (sinh_downward_test_data): Likewise.
34282         (sinh_test_downward): Likewise.
34283         (sinh_upward_test_data): Likewise.
34284         (sinh_test_upward): Likewise.
34285         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
34286         (sqrt_test): Use ALL_RM_TEST.
34287         (sqrt_tonearest_test_data): Remove.
34288         (sqrt_test_tonearest): Likewise.
34289         (sqrt_towardzero_test_data): Likewise.
34290         (sqrt_test_towardzero): Likewise.
34291         (sqrt_downward_test_data): Likewise.
34292         (sqrt_test_downward): Likewise.
34293         (sqrt_upward_test_data): Likewise.
34294         (sqrt_test_upward): Likewise.
34295         (tan_test_data): Update call to AUTO_TESTS_f_f.
34296         (tan_test): Use ALL_RM_TEST.
34297         (tan_tonearest_test_data): Remove.
34298         (tan_test_tonearest): Likewise.
34299         (tan_towardzero_test_data): Likewise.
34300         (tan_test_towardzero): Likewise.
34301         (tan_downward_test_data): Likewise.
34302         (tan_test_downward): Likewise.
34303         (tan_upward_test_data): Likewise.
34304         (tan_test_upward): Likewise.
34305         (tanh_test_data): Update call to AUTO_TESTS_f_f.
34306         (tgamma_test_data): Likewise.
34307         (y0_test_data): Likewise.
34308         (y1_test_data): Likewise.
34309         (yn_test_data): Update call to AUTO_TESTS_if_f.
34310         (main): Do not call removed functions.
34312 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
34314         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
34315         (ldexp_test_data): Remove.
34316         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
34317         scalbn_test_data.
34318         (scalb_test): Use ALL_RM_TEST.
34320 2014-03-19  Andreas Schwab  <schwab@suse.de>
34322         * nscd/nscd.service: Also invalidate netgroup cache on reload.
34324 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
34326         [BZ #16649]
34327         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34328         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
34329         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
34330         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34331         (__ASSUME_PREADV): Undefine.
34332         (__ASSUME_PWRITEV): Likewise.
34334 2014-03-18  Roland McGrath  <roland@hack.frob.com>
34336         * bits/mman-linux.h: Add comment about non-Linux use.
34337         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
34338         bits/mman-linux.h resting place.
34340         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
34341         * bits/mman-linux.h: ... here.
34343 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34345         * conform/conformtest.pl: Add standard definition when calling C
34346         preprocessor on data files.
34347         (checknamespace): Remove unused variable.
34349 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
34351         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
34352         minus_oflow, plus_uflow and minus_uflow in expected results.
34353         * math/libm-test.inc (scalbn_test_data): Add more tests of
34354         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
34355         minus_uflow.
34356         (scalbn_test): Use ALL_RM_TEST.
34357         (scalbln_test_data): Add more tests of negative arguments.  Use
34358         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
34359         (scalbln_test): Use ALL_RM_TEST.
34361 2014-03-18  Roland McGrath  <roland@hack.frob.com>
34363         * scripts/abilist.awk: Ignore symbols marked with .hidden.
34365 2014-03-18  Will Newton  <will.newton@linaro.org>
34367         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
34368         inaccurate comment.
34370 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
34372         * Makerules [!subdir] (check-abi): Exit with error status if a
34373         test failed.
34375 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
34377         * math/libm-test.inc (nearbyint_test_data): Include all tests used
34378         for rint.  Include results for all rounding modes.
34379         (nearbyint_test): Use ALL_RM_TEST.
34380         (rint_test_data): Include all tests used for nearbyint.
34382 2014-03-17  Will Newton  <will.newton@linaro.org>
34384         * nptl/sysdeps/pthread/pthread.h: Revert previous
34385         change.
34387         * sysdeps/generic/ldsodefs.h: Revert previous
34388         change.
34390         * libio/genops.c: Revert previous change.
34391         * libio/libioP.h: Likewise.
34392         * stdio-common/vfprintf.c: Likewise.
34394         * sysdeps/generic/math_private.h: Revert previous
34395         change.
34397         * sysdeps/generic/math_private.h: Check whether
34398         HAVE_RM_CTX is defined with #ifdef rather
34399         than #if.
34401         * argp/argp-fmtstream.h: Check whether
34402         __STRICT_ANSI__ is defined with #ifdef rather
34403         than #if.
34404         * argp/argp.h: Likewise.
34406         * libio/genops.c: Check whether
34407         _IO_JUMPS_OFFSET is defined with #ifdef rather
34408         than #if.
34409         * libio/libioP.h: Likewise.
34410         * stdio-common/vfprintf.c: Likewise.
34412         * sysdeps/generic/ldsodefs.h: Check whether
34413         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
34414         than #if.
34416         * nptl/sysdeps/pthread/pthread.h: Check
34417         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
34418         its value.
34420 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34422         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
34423         setting O_APPEND.
34424         * libio/tst-ftell-active-handler.c (do_append_test): Add a
34425         test case.
34427         [BZ #16680]
34428         * libio/fileops.c (_IO_file_open): Seek to end of file but
34429         don't cache the offset.
34430         (get_file_offset): Remove function.
34431         (do_ftell): Use cached offset when available.
34432         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
34433         don't cache the offset.
34434         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
34435         case.
34436         (do_one_test): Call it.
34437         (do_ftell_test): Fix up expected old offset for a+ mode.
34438         * libio/wfileops.c (do_ftell_wide): Used cached offset when
34439         available.
34441         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
34442         up test status with function return status.
34443         (do_write_test): Likewise.
34444         (do_append_test): Likewise.
34446         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
34447         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
34448         Remove.
34450 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
34452         * math/gen-libm-test.pl (parse_args): Handle results specified for
34453         each rounding mode separately.
34454         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
34455         tests and results from lrint_tonearest_test_data,
34456         lrint_towardzero_test_data, lrint_downward_test_data and
34457         lrint_upward_test_data.
34458         (lrint_test): Use ALL_RM_TEST.
34459         (lrint_tonearest_test_data): Remove.
34460         (lrint_test_tonearest): Likewise.
34461         (lrint_towardzero_test_data): Likewise.
34462         (lrint_test_towardzero): Likewise.
34463         (lrint_downward_test_data): Likewise.
34464         (lrint_test_downward): Likewise.
34465         (lrint_upward_test_data): Likewise.
34466         (lrint_test_upward): Likewise.
34467         (llrint_test_data): Merge in per-rounding-mode tests and results
34468         from llrint_tonearest_test_data, llrint_towardzero_test_data,
34469         llrint_downward_test_data and llrint_upward_test_data.
34470         (llrint_test): Use ALL_RM_TEST.
34471         (llrint_tonearest_test_data): Remove.
34472         (llrint_test_tonearest): Likewise.
34473         (llrint_towardzero_test_data): Likewise.
34474         (llrint_test_towardzero): Likewise.
34475         (llrint_downward_test_data): Likewise.
34476         (llrint_test_downward): Likewise.
34477         (llrint_upward_test_data): Likewise.
34478         (llrint_test_upward): Likewise.
34479         (rint_test_data): Merge in per-rounding-mode tests and results
34480         from rint_tonearest_test_data, rint_towardzero_test_data,
34481         rint_downward_test_data and rint_upward_test_data.  Add
34482         per-rounding-mode results for tests not in those arrays.
34483         (rint_test): Use ALL_RM_TEST.
34484         (rint_tonearest_test_data): Remove.
34485         (rint_test_tonearest): Likewise.
34486         (rint_towardzero_test_data): Likewise.
34487         (rint_test_towardzero): Likewise.
34488         (rint_downward_test_data): Likewise.
34489         (rint_test_downward): Likewise.
34490         (rint_upward_test_data): Likewise.
34491         (rint_test_upward): Likewise.
34492         (main): Don't call removed functions.
34494 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34496         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
34497         "Compiled on ..." crapola.  It is anti-useful.
34499 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
34501         * scripts/evaluate-test.sh: Handle fourth argument to determine
34502         whether test run should stop on failure.
34503         * Makeconfig (stop-on-test-failure): New variable.
34504         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
34505         $(stop-on-test-failure).
34506         * Makefile (tests): Give a summary of results from testing and
34507         exit with failure status if they include an ERROR or FAIL.
34508         (xtests): Likewise.
34509         * manual/install.texi (Configuring and compiling): Mention
34510         stop-on-test-failure=y.
34511         * INSTALL: Regenerated.
34513 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34515         * scripts/versionlist.awk: New file.
34516         * Makerules [$(build-shared) = yes]
34517         (postclean-generated): Add Versions.def, not Versions.def.v and
34518         Versions.def.v.i.
34519         ($(common-objpfx)Versions.def.v.i): Target removed.
34520         ($(common-objpfx)Versions.def): New target.
34521         ($(common-objpfx)Versions.all): Depend on that rather that
34522         $(common-objpfx)Versions.def.v.
34523         * Versions.def: File removed.
34525         * Makeconfig (+gccwarn): Add -Wundef.
34526         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
34527         a dl-sysdep.h breaking its contract.
34528         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
34529         * include/stackinfo.h: New file.
34530         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
34531         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
34532         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
34533         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
34534         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
34535         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
34536         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34537         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34538         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34539         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34540         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34541         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
34542         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34543         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34544         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34546 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34548         [BZ #16707]
34549         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
34550         implementation.
34551         * math/libm-test.inc (round_test_data): Add more tests.
34553         [BZ #16706]
34554         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
34555         implementation.
34556         * math/libm-test.inc (nearbyint_test_data): Add more tests.
34558         [BZ #16701]
34559         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
34560         implementation.
34561         * math/libm-test.inc (ceil_test_data): Add more tests.
34563         * math/libm-test.inc (trunc_test_data): Add more tests related to
34564         BZ#16414.
34566 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34568         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
34569         with #if rather than #ifdef.
34570         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
34572 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
34574         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
34575         first.  Disable AVX-512 GCC support if assembler doesn't support
34576         it.
34577         * sysdeps/x86_64/configure: Regenerated.
34579 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
34581         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
34582         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
34583         (__old_pthread_attr_setstack): Likewise.
34584         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
34585         [!_STACK_GROWS_DOWN]: Likewise.
34587 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
34589         * config.make.in (have-bash2): Delete.
34590         * configure.ac (libc_cv_have_bash2): Delete.
34591         * configure: Regenerate.
34592         * elf/Makefile (common-ldd-rewrite): Rename to ...
34593         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
34594         (sh-ldd-rewrite): Delete.
34595         (bash-ldd-rewrite): Delete.
34596         (have-bash2): Delete checks.
34597         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
34598         ldd-rewrite.
34600         * config.make.in (have-ksh): Delete.
34601         (KSH): Delete.
34602         * configure.ac (libc_cv_have_ksh): Delete.
34603         * configure: Regenerate.
34605         * elf/Makefile: Delete $(have-ksh) check.
34606         ($(objpfx)sotruss): Change KSH to BASH.
34607         * elf/sotruss.ksh: Rename to ...
34608         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
34609         function style to match POSIX.  Drop ksh vim mode setting.
34611         * manual/time.texi (Specifying the Time Zone with TZ): Change
34612         Tuesday to Thursday.
34614         * debug/tst-longjmp_chk2.c: Update header comment.
34615         (stackoverflow_handler): Add comment.  Call assert on pass value.
34617 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
34619         [BZ #16194]
34620         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
34621         (HAVE_AVX512_ASM_SUPPORT): Likewise.
34622         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
34623         (La_x86_64_vector): Add zmm.
34624         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
34625         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
34626         ($(objpfx)tst-audit10): New target.
34627         ($(objpfx)tst-audit10.out): Likewise.
34628         (tst-audit10-ENV): New.
34629         (AVX512-CFLAGS): Likewise.
34630         (CFLAGS-tst-audit10.c): Likewise.
34631         (CFLAGS-tst-auditmod10a.c): Likewise.
34632         (CFLAGS-tst-auditmod10b.c): Likewise.
34633         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
34634         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
34635         * sysdeps/x86_64/configure: Regenerated.
34636         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
34637         AVX-512 zmm register support.
34638         (_dl_x86_64_save_sse): Likewise.
34639         (_dl_x86_64_restore_sse): Likewise.
34640         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
34641         size vector registers.
34642         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
34643         (ZMM_SIZE): Likewise.
34644         * sysdeps/x86_64/tst-audit10.c: New file.
34645         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
34646         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
34648 2014-03-13  Roland McGrath  <roland@hack.frob.com>
34650         * configure.ac (HAVE_EHDR_START): New check.
34651         * configure: Regenerated.
34652         * config.h.in (HAVE_EHDR_START): New #undef.
34653         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
34654         assuming the lowest-addressed segment maps the start of the file.
34656 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
34658         * INSTALL: Regenerated.
34660 2014-03-13  Will Newton  <will.newton@linaro.org>
34662         * manual/setjmp.texi (System V contexts): Improve
34663         clarity and grammar of documentation.
34665 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
34667         [BZ #16381]
34668         * elf/Makefile (tests): Add tst-pie2.
34669         (tests-pie): Add tst-pie2.
34670         * elf/tst-pie2.c: New file.
34671         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
34672         for ET_EXEC.
34673         * elf/rtld.c (map_doit): Load executable as lt_executable.
34674         (dl_main): Likewise.
34676 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
34678         [BZ #16642]
34679         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34680         (__ASSUME_PSELECT): Undefine.
34682 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34684         [BZ #16689]
34685         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
34686         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
34687         static build.
34688         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
34689         selector for static builds.
34691 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34693         [BZ #16695]
34694         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
34695         key in the buffer.
34697 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34699         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
34700         IFUNC selector for static builds.
34702 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
34704         * sysdeps/mips/math_private.h [__mips_hard_float]
34705         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
34706         libc_feresetround_mips_ctx.
34707         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
34708         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
34709         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
34711         [BZ #16677]
34712         * math/s_nextafter.c (__nextafter): Do not return value from
34713         overflowing computation.
34714         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34715         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
34716         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34717         Likewise.
34718         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
34719         Likewise.
34720         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34721         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
34723 2014-03-11  Roland McGrath  <roland@hack.frob.com>
34725         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
34726         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
34727         Move sfi_sp use from the load-multiple (that no longer sets sp) to
34728         the new mov targetting sp.
34730 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34732         [BZ #16683]
34733         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
34734         Define it for static builds as well.
34735         (NO_BZERO_IMPL): Likewise.
34737 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34739         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
34740         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
34741         multiarch strspn for PPC64.
34742         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
34743         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
34744         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34745         (__libc_ifunc_impl_list): Likewise.
34746         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
34747         multiarch optimizations
34748         * string/strspn.c (strspn): Using macro to redefine symbol name.
34750 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34751             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34753         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
34754         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
34755         multiarch strncat for PPC64.
34756         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
34757         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
34758         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34759         (__libc_ifunc_impl_list): Likewise.
34760         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
34761         multiarch optimizations
34763 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34765         [BZ #16639]
34766         * nscd/nscd.service: Make service type forking.
34768 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34770         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
34771         sign in non default rounding modes.
34772         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
34774 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
34776         * math/libm-test.inc (ALL_RM_TEST): New macro.
34777         (ceil_test): Use ALL_RM_TEST.
34778         (cimag_test): Likewise.
34779         (conj_test): Likewise.
34780         (copysign_test): Likewise.
34781         (cproj_test): Likewise.
34782         (creal_test): Likewise.
34783         (fabs_test): Likewise.
34784         (floor_test): Likewise.
34785         (fmax_test): Likewise.
34786         (fmin_test): Likewise.
34787         (fmod_test): Likewise.
34788         (fpclassify_test): Likewise.
34789         (frexp_test): Likewise.
34790         (ilogb_test): Likewise.
34791         (isfinite_test): Likewise.
34792         (finite_test): Likewise.
34793         (isgreater_test): Likewise.
34794         (isgreaterequal_test): Likewise.
34795         (isinf_test): Likewise.
34796         (isless_test): Likewise.
34797         (islessequal_test): Likewise.
34798         (islessgreater_test): Likewise.
34799         (isnan_test): Likewise.
34800         (isnormal_test): Likewise.
34801         (issignaling_test): Likewise.
34802         (isunordered_test): Likewise.
34803         (logb_test): Likewise.
34804         (logb_downward_test_data): Remove.
34805         (logb_test_downward): Likewise.
34806         (lround_test): Use ALL_RM_TEST.
34807         (llround_test): Likewise.
34808         (modf_test): Likewise.
34809         (nexttoward_test): Likewise.
34810         (remainder_test): Likewise.
34811         (drem_test): Likewise.
34812         (remainder_tonearest_test_data): Likewise.
34813         (remainder_test_tonearest): Likewise.
34814         (drem_test_tonearest): Likewise.
34815         (remainder_towardzero_test_data): Likewise.
34816         (remainder_test_towardzero): Likewise.
34817         (drem_test_towardzero): Likewise.
34818         (remainder_downward_test_data): Likewise.
34819         (remainder_test_downward): Likewise.
34820         (drem_test_downward): Likewise.
34821         (remainder_upward_test_data): Likewise.
34822         (remainder_test_upward): Likewise.
34823         (drem_test_upward): Likewise.
34824         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
34825         (round_test): Use ALL_RM_TEST.
34826         (signbit_test): Likewise.
34827         (trunc_test): Likewise.
34828         (significand_test): Likewise.
34829         (main): Don't call removed functions.
34831 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
34833         [BZ #16674]
34834         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
34835         || __USE_XOPEN2K8].
34836         (ILL_ILLOPN): Likewise.
34837         (ILL_ILLADR): Likewise.
34838         (ILL_ILLTRP): Likewise.
34839         (ILL_PRVOPC): Likewise.
34840         (ILL_PRVREG): Likewise.
34841         (ILL_COPROC): Likewise.
34842         (ILL_BADSTK): 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         (SEGV_MAPERR): Likewise.
34852         (SEGV_ACCERR): Likewise.
34853         (BUS_ADRALN): Likewise.
34854         (BUS_ADRERR): Likewise.
34855         (BUS_OBJERR): Likewise.
34856         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34857         (TRAP_TRACE): Likewise.
34858         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34859         __USE_XOPEN2K8].
34860         (CLD_KILLED): Likewise.
34861         (CLD_DUMPED): Likewise.
34862         (CLD_TRAPPED): Likewise.
34863         (CLD_STOPPED): Likewise.
34864         (CLD_CONTINUED): Likewise.
34865         (POLL_IN): Likewise.
34866         (POLL_OUT): Likewise.
34867         (POLL_MSG): Likewise.
34868         (POLL_ERR): Likewise.
34869         (POLL_PRI): Likewise.
34870         (POLL_HUP): Likewise.
34871         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
34872         Likewise.
34873         (ILL_ILLOPN): Likewise.
34874         (ILL_ILLADR): Likewise.
34875         (ILL_ILLTRP): Likewise.
34876         (ILL_PRVOPC): Likewise.
34877         (ILL_PRVREG): Likewise.
34878         (ILL_COPROC): Likewise.
34879         (ILL_BADSTK): Likewise.
34880         (FPE_INTDIV): Likewise.
34881         (FPE_INTOVF): Likewise.
34882         (FPE_FLTDIV): Likewise.
34883         (FPE_FLTOVF): Likewise.
34884         (FPE_FLTUND): Likewise.
34885         (FPE_FLTRES): Likewise.
34886         (FPE_FLTINV): Likewise.
34887         (FPE_FLTSUB): Likewise.
34888         (SEGV_MAPERR): Likewise.
34889         (SEGV_ACCERR): Likewise.
34890         (BUS_ADRALN): Likewise.
34891         (BUS_ADRERR): Likewise.
34892         (BUS_OBJERR): Likewise.
34893         (BUS_MCEERR_AR): Likewise.
34894         (BUS_MCEERR_AO): Likewise.
34895         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34896         (TRAP_TRACE): Likewise.
34897         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34898         __USE_XOPEN2K8].
34899         (CLD_KILLED): Likewise.
34900         (CLD_DUMPED): Likewise.
34901         (CLD_TRAPPED): Likewise.
34902         (CLD_STOPPED): Likewise.
34903         (CLD_CONTINUED): Likewise.
34904         (POLL_IN): Likewise.
34905         (POLL_OUT): Likewise.
34906         (POLL_MSG): Likewise.
34907         (POLL_ERR): Likewise.
34908         (POLL_PRI): Likewise.
34909         (POLL_HUP): Likewise.
34910         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
34911         (ILL_ILLOPN): Likewise.
34912         (ILL_ILLADR): Likewise.
34913         (ILL_ILLTRP): Likewise.
34914         (ILL_PRVOPC): Likewise.
34915         (ILL_PRVREG): Likewise.
34916         (ILL_COPROC): Likewise.
34917         (ILL_BADSTK): Likewise.
34918         (FPE_INTDIV): Likewise.
34919         (FPE_INTOVF): Likewise.
34920         (FPE_FLTDIV): Likewise.
34921         (FPE_FLTOVF): Likewise.
34922         (FPE_FLTUND): Likewise.
34923         (FPE_FLTRES): Likewise.
34924         (FPE_FLTINV): Likewise.
34925         (FPE_FLTSUB): Likewise.
34926         (SEGV_MAPERR): Likewise.
34927         (SEGV_ACCERR): Likewise.
34928         (BUS_ADRALN): Likewise.
34929         (BUS_ADRERR): Likewise.
34930         (BUS_OBJERR): Likewise.
34931         (BUS_MCEERR_AR): Likewise.
34932         (BUS_MCEERR_AO): Likewise.
34933         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34934         (TRAP_TRACE): Likewise.
34935         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34936         __USE_XOPEN2K8].
34937         (CLD_KILLED): Likewise.
34938         (CLD_DUMPED): Likewise.
34939         (CLD_TRAPPED): Likewise.
34940         (CLD_STOPPED): Likewise.
34941         (CLD_CONTINUED): Likewise.
34942         (POLL_IN): Likewise.
34943         (POLL_OUT): Likewise.
34944         (POLL_MSG): Likewise.
34945         (POLL_ERR): Likewise.
34946         (POLL_PRI): Likewise.
34947         (POLL_HUP): Likewise.
34948         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
34949         Likewise.
34950         (ILL_ILLOPN): Likewise.
34951         (ILL_ILLADR): Likewise.
34952         (ILL_ILLTRP): Likewise.
34953         (ILL_PRVOPC): Likewise.
34954         (ILL_PRVREG): Likewise.
34955         (ILL_COPROC): Likewise.
34956         (ILL_BADSTK): Likewise.
34957         (ILL_BADIADDR): Likewise.
34958         (ILL_BREAK): Likewise.
34959         (FPE_INTDIV): Likewise.
34960         (FPE_INTOVF): Likewise.
34961         (FPE_FLTDIV): Likewise.
34962         (FPE_FLTOVF): Likewise.
34963         (FPE_FLTUND): Likewise.
34964         (FPE_FLTRES): Likewise.
34965         (FPE_FLTINV): Likewise.
34966         (FPE_FLTSUB): Likewise.
34967         (FPE_DECOVF): Likewise.
34968         (FPE_DECDIV): Likewise.
34969         (FPE_DECERR): Likewise.
34970         (FPE_INVASC): Likewise.
34971         (FPE_INVDEC): Likewise.
34972         (SEGV_MAPERR): Likewise.
34973         (SEGV_ACCERR): Likewise.
34974         (SEGV_PSTKOVF): 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         (TRAP_BRANCH): Likewise.
34983         (TRAP_HWBKPT): Likewise.
34984         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34985         __USE_XOPEN2K8].
34986         (CLD_KILLED): Likewise.
34987         (CLD_DUMPED): Likewise.
34988         (CLD_TRAPPED): Likewise.
34989         (CLD_STOPPED): Likewise.
34990         (CLD_CONTINUED): Likewise.
34991         (POLL_IN): Likewise.
34992         (POLL_OUT): Likewise.
34993         (POLL_MSG): Likewise.
34994         (POLL_ERR): Likewise.
34995         (POLL_PRI): Likewise.
34996         (POLL_HUP): Likewise.
34997         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
34998         (ILL_ILLOPN): Likewise.
34999         (ILL_ILLADR): Likewise.
35000         (ILL_ILLTRP): Likewise.
35001         (ILL_PRVOPC): Likewise.
35002         (ILL_PRVREG): Likewise.
35003         (ILL_COPROC): Likewise.
35004         (ILL_BADSTK): 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/s390/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         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
35074         (ILL_ILLOPN): Likewise.
35075         (ILL_ILLADR): Likewise.
35076         (ILL_ILLTRP): Likewise.
35077         (ILL_PRVOPC): Likewise.
35078         (ILL_PRVREG): Likewise.
35079         (ILL_COPROC): Likewise.
35080         (ILL_BADSTK): Likewise.
35081         (FPE_INTDIV): Likewise.
35082         (FPE_INTOVF): Likewise.
35083         (FPE_FLTDIV): Likewise.
35084         (FPE_FLTOVF): Likewise.
35085         (FPE_FLTUND): Likewise.
35086         (FPE_FLTRES): Likewise.
35087         (FPE_FLTINV): Likewise.
35088         (FPE_FLTSUB): Likewise.
35089         (SEGV_MAPERR): Likewise.
35090         (SEGV_ACCERR): Likewise.
35091         (BUS_ADRALN): Likewise.
35092         (BUS_ADRERR): Likewise.
35093         (BUS_OBJERR): Likewise.
35094         (BUS_MCEERR_AR): Likewise.
35095         (BUS_MCEERR_AO): Likewise.
35096         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35097         (TRAP_TRACE): Likewise.
35098         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35099         __USE_XOPEN2K8].
35100         (CLD_KILLED): Likewise.
35101         (CLD_DUMPED): Likewise.
35102         (CLD_TRAPPED): Likewise.
35103         (CLD_STOPPED): Likewise.
35104         (CLD_CONTINUED): Likewise.
35105         (POLL_IN): Likewise.
35106         (POLL_OUT): Likewise.
35107         (POLL_MSG): Likewise.
35108         (POLL_ERR): Likewise.
35109         (POLL_PRI): Likewise.
35110         (POLL_HUP): Likewise.
35111         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
35112         (ILL_ILLOPN): Likewise.
35113         (ILL_ILLADR): Likewise.
35114         (ILL_ILLTRP): Likewise.
35115         (ILL_PRVOPC): Likewise.
35116         (ILL_PRVREG): Likewise.
35117         (ILL_COPROC): Likewise.
35118         (ILL_BADSTK): Likewise.
35119         (ILL_DBLFLT): Likewise.
35120         (ILL_HARDWALL): Likewise.
35121         (FPE_INTDIV): Likewise.
35122         (FPE_INTOVF): Likewise.
35123         (FPE_FLTDIV): Likewise.
35124         (FPE_FLTOVF): Likewise.
35125         (FPE_FLTUND): Likewise.
35126         (FPE_FLTRES): Likewise.
35127         (FPE_FLTINV): Likewise.
35128         (FPE_FLTSUB): Likewise.
35129         (SEGV_MAPERR): Likewise.
35130         (SEGV_ACCERR): Likewise.
35131         (BUS_ADRALN): Likewise.
35132         (BUS_ADRERR): Likewise.
35133         (BUS_OBJERR): Likewise.
35134         (BUS_MCEERR_AR): Likewise.
35135         (BUS_MCEERR_AO): Likewise.
35136         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35137         (TRAP_TRACE): Likewise.
35138         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35139         __USE_XOPEN2K8].
35140         (CLD_KILLED): Likewise.
35141         (CLD_DUMPED): Likewise.
35142         (CLD_TRAPPED): Likewise.
35143         (CLD_STOPPED): Likewise.
35144         (CLD_CONTINUED): Likewise.
35145         (POLL_IN): Likewise.
35146         (POLL_OUT): Likewise.
35147         (POLL_MSG): Likewise.
35148         (POLL_ERR): Likewise.
35149         (POLL_PRI): Likewise.
35150         (POLL_HUP): Likewise.
35151         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
35152         (ILL_ILLOPN): Likewise.
35153         (ILL_ILLADR): Likewise.
35154         (ILL_ILLTRP): Likewise.
35155         (ILL_PRVOPC): Likewise.
35156         (ILL_PRVREG): Likewise.
35157         (ILL_COPROC): Likewise.
35158         (ILL_BADSTK): Likewise.
35159         (FPE_INTDIV): Likewise.
35160         (FPE_INTOVF): Likewise.
35161         (FPE_FLTDIV): Likewise.
35162         (FPE_FLTOVF): Likewise.
35163         (FPE_FLTUND): Likewise.
35164         (FPE_FLTRES): Likewise.
35165         (FPE_FLTINV): Likewise.
35166         (FPE_FLTSUB): Likewise.
35167         (SEGV_MAPERR): Likewise.
35168         (SEGV_ACCERR): Likewise.
35169         (BUS_ADRALN): Likewise.
35170         (BUS_ADRERR): Likewise.
35171         (BUS_OBJERR): Likewise.
35172         (BUS_MCEERR_AR): Likewise.
35173         (BUS_MCEERR_AO): Likewise.
35174         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35175         (TRAP_TRACE): Likewise.
35176         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35177         __USE_XOPEN2K8].
35178         (CLD_KILLED): Likewise.
35179         (CLD_DUMPED): Likewise.
35180         (CLD_TRAPPED): Likewise.
35181         (CLD_STOPPED): Likewise.
35182         (CLD_CONTINUED): Likewise.
35183         (POLL_IN): Likewise.
35184         (POLL_OUT): Likewise.
35185         (POLL_MSG): Likewise.
35186         (POLL_ERR): Likewise.
35187         (POLL_PRI): Likewise.
35188         (POLL_HUP): Likewise.
35189         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
35190         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
35192         [BZ #16670]
35193         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
35194         before #include of <time.h>.
35195         [!__USE_XOPEN2K] (__need_timespec): Likewise.
35196         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
35197         (test-xfail-UNIX98/sched.h/conform): Likewise.
35199 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35201         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
35202         error absence of trapping exception support.
35203         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
35205 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
35207         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
35208         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
35209         * timezone/Makefile (testdata): Move definition above include of
35210         Rules.
35211         (test-zones): New variable.
35212         (tests-special): Add zone files.
35213         (build-testdata): Use $(evaluate-test).
35215         * elf/Makefile (tests-special): Rename tests to end with .out.
35216         ($(objpfx)noload-mem): Likewise.
35217         ($(objpfx)tst-leaks1-mem): Likewise.
35218         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
35219         * iconv/Makefile (xtests-special): Change test-iconvconfig to
35220         $(objpfx)test-iconvconfig.out.
35221         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
35222         set -e inside subshell and redirect output to file.
35223         * iconvdata/Makefile (generated): Rename tests to end with .out.
35224         Correct type.
35225         (tests-special): Rename tests to end with .out.
35226         ($(objpfx)mtrace-tst-loading): Likewise.
35227         * intl/Makefile (generated): Likewise.
35228         (tests-special): Likewise.
35229         ($(objpfx)mtrace-tst-gettext): Likewise.
35230         * misc/Makefile (generated): Likewise.
35231         (tests-special): Likewise.
35232         ($(objpfx)tst-error1-mem): Likewise.
35233         * nptl/Makefile (tests-special): Likewise.
35234         ($(objpfx)tst-stack3-mem): Likewise.
35235         (generated): Likewise.
35236         * posix/Makefile (generated): Likewise.
35237         (tests-special): Likewise.
35238         (xtests-special): Likewise.
35239         ($(objpfx)tst-fnmatch-mem): Likewise.
35240         ($(objpfx)bug-regex2-mem): Likewise.
35241         ($(objpfx)bug-regex14-mem): Likewise.
35242         ($(objpfx)bug-regex21-mem): Likewise.
35243         ($(objpfx)bug-regex31-mem): Likewise.
35244         ($(objpfx)tst-vfork3-mem): Likewise.
35245         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
35246         ($(objpfx)tst-pcre-mem): Likewise.
35247         ($(objpfx)tst-boost-mem): Likewise.
35248         ($(objpfx)bug-ga2-mem): Likewise.
35249         ($(objpfx)bug-glob2-mem): Likewise.
35250         * resolv/Makefile (generate): Likewise.
35251         (tests-special): Likewise.
35252         (xtests-special): Likewise.
35253         (generated): Likewise.
35254         ($(objpfx)mtrace-tst-leaks): Likewise.
35255         ($(objpfx)mtrace-tst-leaks2): Likewise.
35257         * scripts/merge-test-results.sh: New file.
35258         * Makefile (tests-special-notdir): New variable.
35259         (tests): Run merge-test-results.sh.
35260         (xtests): Likewise.
35261         * Rules (tests-special-notdir): New variable.
35262         (xtests-special-notdir): Likewise.
35263         (tests): Run merge-test-results.sh
35264         (xtests): Likewise.
35266         * Makeconfig (test-xfail-name): New variable.
35267         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
35268         compute variable name for expected failures.
35269         * conform/Makefile (conformtest-headers-data): New variable.
35270         (conformtest-standards): Likewise.
35271         (conformtest-headers-ISO): Likewise.
35272         (conformtest-headers-ISO99): Likewise.
35273         (conformtest-headers-ISO11): Likewise.
35274         (conformtest-headers-POSIX): Likewise.
35275         (conformtest-headers-XPG3): Likewise.
35276         (conformtest-headers-XPG4): Likewise.
35277         (conformtest-headers-UNIX98): Likewise.
35278         (conformtest-headers-XOPEN2K): Likewise.
35279         (conformtest-headers-POSIX2008): Likewise.
35280         (conformtest-headers-XOPEN2K8): Likewise.
35281         (conformtest-header-list-base): Likewise.
35282         (conformtest-header-list-tests): Likewise.
35283         (conformtest-header-base): Likewise.
35284         (conformtest-header-tests): Likewise.
35285         (tests-special): Add $(conformtest-header-list-tests).  If
35286         [$(fast-check) && !$(cross-compiling)], add
35287         $(conformtest-header-tests) instead of
35288         $(objpfx)run-conformtest.out.
35289         (generated): Add $(conformtest-header-list-base).  If
35290         [$(fast-check) && !$(cross-compiling)], add
35291         $(conformtest-header-base).  Remove previous setting.
35292         ($(conformtest-header-list-tests)): New target.
35293         (test-xfail-run-conformtest): Remove variable.
35294         ($(objpfx)run-conformtest.out): Remove target.
35295         (test-xfail-ISO11/complex.h/conform): New variable.
35296         (test-xfail-ISO11/stdalign.h/conform): Likewise.
35297         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
35298         (test-xfail-XPG3/varargs.h/conform): Likewise.
35299         (test-xfail-XPG4/varargs.h/conform): Likewise.
35300         (test-xfail-UNIX98/varargs.h/conform): Likewise.
35301         (test-xfail-XPG4/ndbm.h/conform): Likewise.
35302         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
35303         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
35304         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
35305         (test-xfail-XPG3/fcntl.h/conform): Likewise.
35306         (test-xfail-XPG3/ftw.h/conform): Likewise.
35307         (test-xfail-XPG3/grp.h/conform): Likewise.
35308         (test-xfail-XPG3/langinfo.h/conform): Likewise.
35309         (test-xfail-XPG3/limits.h/conform): Likewise.
35310         (test-xfail-XPG3/pwd.h/conform): Likewise.
35311         (test-xfail-XPG3/search.h/conform): Likewise.
35312         (test-xfail-XPG3/signal.h/conform): Likewise.
35313         (test-xfail-XPG3/stdio.h/conform): Likewise.
35314         (test-xfail-XPG3/stdlib.h/conform): Likewise.
35315         (test-xfail-XPG3/string.h/conform): Likewise.
35316         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
35317         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
35318         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35319         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35320         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
35321         (test-xfail-XPG3/sys/types.h/conform): Likewise.
35322         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
35323         (test-xfail-XPG3/termios.h/conform): Likewise.
35324         (test-xfail-XPG3/time.h/conform): Likewise.
35325         (test-xfail-XPG3/unistd.h/conform): Likewise.
35326         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
35327         (test-xfail-XPG4/fcntl.h/conform): Likewise.
35328         (test-xfail-XPG4/langinfo.h/conform): Likewise.
35329         (test-xfail-XPG4/netdb.h/conform): Likewise.
35330         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
35331         (test-xfail-XPG4/signal.h/conform): Likewise.
35332         (test-xfail-XPG4/stdio.h/conform): Likewise.
35333         (test-xfail-XPG4/stdlib.h/conform): Likewise.
35334         (test-xfail-XPG4/stropts.h/conform): Likewise.
35335         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
35336         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
35337         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
35338         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
35339         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
35340         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
35341         (test-xfail-XPG4/sys/time.h/conform): Likewise.
35342         (test-xfail-XPG4/sys/types.h/conform): Likewise.
35343         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
35344         (test-xfail-XPG4/termios.h/conform): Likewise.
35345         (test-xfail-XPG4/ucontext.h/conform): Likewise.
35346         (test-xfail-XPG4/unistd.h/conform): Likewise.
35347         (test-xfail-XPG4/utmpx.h/conform): Likewise.
35348         (test-xfail-POSIX/sched.h/conform): Likewise.
35349         (test-xfail-POSIX/signal.h/conform): Likewise.
35350         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
35351         (test-xfail-POSIX/tar.h/conform): Likewise.
35352         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
35353         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
35354         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
35355         (test-xfail-UNIX98/netdb.h/conform): Likewise.
35356         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
35357         (test-xfail-UNIX98/sched.h/conform): Likewise.
35358         (test-xfail-UNIX98/signal.h/conform): Likewise.
35359         (test-xfail-UNIX98/stdio.h/conform): Likewise.
35360         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
35361         (test-xfail-UNIX98/stropts.h/conform): Likewise.
35362         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
35363         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
35364         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
35365         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
35366         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
35367         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
35368         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
35369         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
35370         (test-xfail-UNIX98/unistd.h/conform): Likewise.
35371         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
35372         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
35373         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
35374         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
35375         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
35376         (test-xfail-XOPEN2K/math.h/conform): Likewise.
35377         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
35378         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
35379         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
35380         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
35381         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
35382         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
35383         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
35384         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
35385         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
35386         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
35387         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
35388         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
35389         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
35390         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
35391         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
35392         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
35393         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
35394         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
35395         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
35396         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
35397         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
35398         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
35399         (test-xfail-POSIX2008/signal.h/conform): Likewise.
35400         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
35401         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
35402         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
35403         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
35404         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
35405         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
35406         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
35407         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35408         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
35409         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
35410         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
35411         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
35412         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
35413         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
35414         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
35415         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
35416         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
35417         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
35418         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
35419         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
35420         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
35421         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
35422         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
35423         (conformtest-cc-flags): Likewise.
35424         ($(conformtest-header-tests): New target.
35425         * conform/check-header-lists.sh: New file.
35426         * conform/run-conformtest.sh: Remove.
35428         * conform/conformtest.pl: Allow ' and \ in values given for
35429         constants.
35430         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
35431         inclusion.
35432         [POSIX] (sys/types.h): Likewise.
35433         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
35434         inclusion.
35435         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
35436         inclusion.
35437         * conform/data/signal.h-data (SIGIO): Remove expectation.
35438         [XPG3] (SIGBUS): Do not expect.
35439         [POSIX || XPG3] (SIGPOLL): Likewise.
35440         [POSIX || XPG3] (SIGPROF): Likewise.
35441         [POSIX || XPG3] (SIGSYS): Likewise.
35442         [XPG3] (SIGTRAP): Likewise.
35443         [POSIX || XPG3] (SIGURG): Likewise.
35444         [POSIX || XPG3] (SIGVTALRM): Likewise.
35445         [POSIX || XPG3] (SIGXCPU): Likewise.
35446         [POSIX || XPG3] (SIGXFSZ): Likewise.
35447         [POSIX] (SA_SIGINFO): Expect.
35448         [XPG3] (siginfo_t): Do not expect type or contents.
35449         [POSIX] (si_pid): Do not expect element.
35450         [POSIX] (si_uid): Likewise.
35451         [POSIX] (si_addr): Likewise.
35452         [POSIX] (si_status): Likewise.
35453         [POSIX] (si_band): Likewise.
35454         [XPG4] (si_value): Likewise.
35455         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
35456         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
35457         [POSIX || XPG3] (ILL_ILLADR): Likewise.
35458         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
35459         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
35460         [POSIX || XPG3] (ILL_PRVREG): Likewise.
35461         [POSIX || XPG3] (ILL_COPROC): Likewise.
35462         [POSIX || XPG3] (ILL_BADSTK): Likewise.
35463         [POSIX || XPG3] (FPE_INTDIV): Likewise.
35464         [POSIX || XPG3] (FPE_INTOVF): Likewise.
35465         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
35466         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
35467         [POSIX || XPG3] (FPE_FLTUND): Likewise.
35468         [POSIX || XPG3] (FPE_FLTRES): Likewise.
35469         [POSIX || XPG3] (FPE_FLTINV): Likewise.
35470         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
35471         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
35472         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
35473         [POSIX || XPG3] (BUS_ADRALN): Likewise.
35474         [POSIX || XPG3] (BUS_ADRERR): Likewise.
35475         [POSIX || XPG3] (BUS_OBJERR): Likewise.
35476         [POSIX || XPG3] (CLD_EXITED): Likewise.
35477         [POSIX || XPG3] (CLD_KILLED): Likewise.
35478         [POSIX || XPG3] (CLD_DUMPED): Likewise.
35479         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
35480         [POSIX || XPG3] (CLD_STOPPED): Likewise.
35481         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
35482         [POSIX || XPG3] (POLL_IN): Likewise.
35483         [POSIX || XPG3] (POLL_OUT): Likewise.
35484         [POSIX || XPG3] (POLL_MSG): Likewise.
35485         [POSIX || XPG3] (POLL_ERR): Likewise.
35486         [POSIX || XPG3] (POLL_PRI): Likewise.
35487         [POSIX || XPG3] (POLL_HUP): Likewise.
35488         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
35489         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
35490         (SIG*): Do not allow.
35491         [XPG3] (si_*): Likewise.
35492         [XPG3] (SI_*): Likewise.
35493         [XPG3 || XPG4] (sigev_*): Likewise.
35494         [XPG3 || XPG4] (SIGEV_*): Likewise.
35495         [XPG3 || XPG4] (sival_*): Likewise.
35496         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
35497         [POSIX || XPG3] (BUS_*): Likewise.
35498         [POSIX || XPG3] (CLD_*): Likewise.
35499         [POSIX || XPG3] (FPE_*): Likewise.
35500         [POSIX || XPG3] (ILL_*): Likewise.
35501         [POSIX || XPG3] (POLL_*): Likewise.
35502         [POSIX || XPG3] (SEGV_*): Likewise.
35503         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
35504         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
35505         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
35506         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
35507         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
35508         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
35509         Specify type and value.
35510         (TVERSLEN): Likewise.
35511         (REGTYPE): Likewise.
35512         (AREGTYPE): Likewise.
35513         (LNKTYPE): Likewise.
35514         (SYMTYPE): Likewise.
35515         (CHRTYPE): Likewise.
35516         (BLKTYPE): Likewise.
35517         (DIRTYPE): Likewise.
35518         (FIFOTYPE): Likewise.
35519         (CONTTYPE): Likewise.
35520         (TSUID): Likewise.
35521         (TSGID): Likewise.
35522         (TSVTX): Likewise.
35523         (TUREAD): Likewise.
35524         (TUWRITE): Likewise.
35525         (TUEXEC): Likewise.
35526         (TGREAD): Likewise.
35527         (TGWRITE): Likewise.
35528         (TGEXEC): Likewise.
35529         (TOREAD): Likewise.
35530         (TOWRITE): Likewise.
35531         (TOEXEC): Likewise.
35532         [POSIX] (TSVTX): Expect constant.
35534 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
35536         * Makefile (tests): Change dependencies to ....
35537         (tests-special): ... additions to this variable.
35538         (tests): Depend on $(tests-special).
35539         * Makerules (check-abi-list): New variable.
35540         (check-abi): Depend on $(check-abi-list).
35541         [$(subdir) = elf] (tests-special): Add
35542         $(objpfx)check-abi-libc.out.
35543         [$(build-shared) = yes && subdir] (tests-special): Add
35544         $(check-abi-list).
35545         [$(build-shared) = yes && subdir] (tests): Do not depend on
35546         check-abi.
35547         * Rules (tests): Depend on $(tests-special).
35548         (xtests): Depend on $(xtests-special).
35549         * catgets/Makefile (tests): Change dependencies to ....
35550         (tests-special): ... additions to this variable.
35551         * conform/Makefile (tests): Change dependencies to ....
35552         (tests-special): ... additions to this variable.
35553         * elf/Makefile (tests): Change dependencies to ....
35554         (tests-special): ... additions to this variable.
35555         * grp/Makefile (tests): Change dependencies to ....
35556         (tests-special): ... additions to this variable.
35557         * iconv/Makefile (xtests): Change dependencies to ....
35558         (xtests-special): ... additions to this variable.
35559         * iconvdata/Makefile (tests): Change dependencies to ....
35560         (tests-special): ... additions to this variable.
35561         * intl/Makefile (tests): Change dependencies to ....
35562         (tests-special): ... additions to this variable.  Also add
35563         $(objpfx)tst-gettext.out.
35564         * io/Makefile (tests): Change dependencies to ....
35565         (tests-special): ... additions to this variable.
35566         * libio/Makefile (tests): Change dependencies to ....
35567         (tests-special): ... additions to this variable.
35568         * malloc/Makefile (tests): Change dependencies to ....
35569         (tests-special): ... additions to this variable.
35570         * misc/Makefile (tests): Change dependencies to ....
35571         (tests-special): ... additions to this variable.
35572         * nptl/Makefile (tests): Change dependencies to ....
35573         (tests-special): ... additions to this variable.
35574         * nptl_db/Makefile (tests): Change dependencies to ....
35575         (tests-special): ... additions to this variable.
35576         * posix/Makefile (tests): Change dependencies to ....
35577         (tests-special): ... additions to this variable.
35578         (xtests): Change dependencies to ....
35579         (xtests-special): ... additions to this variable.
35580         * resolv/Makefile (tests): Change dependencies to ....
35581         (tests-special): ... additions to this variable.
35582         (xtests): Change dependencies to ....
35583         (xtests-special): ... additions to this variable.
35584         * stdio-common/Makefile (tests): Change dependencies to ....
35585         (tests-special): ... additions to this variable.
35586         (do-tst-unbputc): Remove target.
35587         (do-tst-printf): Likewise.
35588         * stdlib/Makefile (tests): Change dependencies to ....
35589         (tests-special): ... additions to this variable.
35590         * string/Makefile (tests): Change dependencies to ....
35591         (tests-special): ... additions to this variable.
35592         * sysdeps/x86/Makefile (tests): Change dependencies to ....
35593         (tests-special): ... additions to this variable.
35595         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
35596         whole file.
35597         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
35598         whole file.
35599         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
35600         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
35602         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
35603         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
35604         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
35605         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
35606         * conform/data/libgen.h-data [XPG3]: Likewise.
35607         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
35608         * conform/data/ndbm.h-data [XPG3]: Likewise.
35609         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
35610         * conform/data/netdb.h-data [XPG3]: Likewise.
35611         * conform/data/netinet/in.h-data [XPG3]: Likewise.
35612         * conform/data/poll.h-data [XPG3]: Likewise.
35613         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
35614         * conform/data/strings.h-data [XPG3]: Likewise.
35615         * conform/data/stropts.h-data [XPG3]: Likewise.
35616         * conform/data/sys/mman.h-data [XPG3]: Likewise.
35617         * conform/data/sys/resource.h-data [XPG3]: Likewise.
35618         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
35619         Likewise.
35620         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
35621         * conform/data/sys/time.h-data [XPG3]: Likewise.
35622         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
35623         * conform/data/sys/uio.h-data [XPG3]: Likewise.
35624         * conform/data/sys/un.h-data [XPG3]: Likewise.
35625         * conform/data/syslog.h-data [XPG3]: Likewise.
35626         * conform/data/ucontext.h-data [XPG3]: Likewise.
35627         * conform/data/utmpx.h-data [XPG3]: Likewise.
35628         * conform/data/varargs.h-data [UNIX98]: Enable file.
35630         * manual/Makefile (INSTALL_INFO): Remove variable setting.
35632         * math/libm-test.inc (struct test_f_f_data): Move expected results
35633         into structure for each rounding mode.
35634         (struct test_ff_f_data): Likewise.
35635         (struct test_ff_f_data_nexttoward): Likewise.
35636         (struct test_fi_f_data): Likewise.
35637         (struct test_fl_f_data): Likewise.
35638         (struct test_if_f_data): Likewise.
35639         (struct test_fff_f_data): Likewise.
35640         (struct test_c_f_data): Likewise.
35641         (struct test_f_f1_data): Likewise.
35642         (struct test_fF_f1_data): Likewise.
35643         (struct test_ffI_f1_data): Likewise.
35644         (struct test_c_c_data): Likewise.
35645         (struct test_cc_c_data): Likewise.
35646         (struct test_f_i_data): Likewise.
35647         (struct test_ff_i_data): Likewise.
35648         (struct test_f_l_data): Likewise.
35649         (struct test_f_L_data): Likewise.
35650         (struct test_fFF_11_data): Likewise.
35651         (RM_): New macro.
35652         (RM_FE_DOWNWARD): Likewise.
35653         (RM_FE_TONEAREST): Likewise.
35654         (RM_FE_TOWARDZERO): Likewise.
35655         (RM_FE_UPWARD): Likewise.
35656         (RUN_TEST_LOOP_f_f): Update references to expected results.
35657         (RUN_TEST_LOOP_2_f): Likewise.
35658         (RUN_TEST_LOOP_fff_f): Likewise.
35659         (RUN_TEST_LOOP_c_f): Likewise.
35660         (RUN_TEST_LOOP_f_f1): Likewise.
35661         (RUN_TEST_LOOP_fF_f1): Likewise.
35662         (RUN_TEST_LOOP_fI_f1): Likewise.
35663         (RUN_TEST_LOOP_ffI_f1): Likewise.
35664         (RUN_TEST_LOOP_c_c): Likewise.
35665         (RUN_TEST_LOOP_cc_c): Likewise.
35666         (RUN_TEST_LOOP_f_i): Likewise.
35667         (RUN_TEST_LOOP_f_i_tg): Likewise.
35668         (RUN_TEST_LOOP_ff_i_tg): Likewise.
35669         (RUN_TEST_LOOP_f_b): Likewise.
35670         (RUN_TEST_LOOP_f_b_tg): Likewise.
35671         (RUN_TEST_LOOP_f_l): Likewise.
35672         (RUN_TEST_LOOP_f_L): Likewise.
35673         (RUN_TEST_LOOP_fFF_11): Likewise.
35674         * math/gen-libm-test.pl (parse_args): Output four copies of
35675         expected results for each test.
35677         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35678         (__ASSUME_UTIMES): Remove.
35679         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35680         (__ASSUME_UTIMES): Likewise.
35682         * math/gen-auto-libm-tests.c: Update comment on output format.
35683         (output_for_one_input_case): Generate before-rounding and
35684         after-rounding information as conditions on output flags not
35685         floating-point format.
35686         * math/auto-libm-test-out: Regenerated.
35687         * math/gen-libm-test.pl (cond_value): New function.
35688         (or_cond_value): Use cond_value.
35689         (generate_testfile): Handle conditional exceptions.
35691 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
35693         * math/libm-test.inc (max_valid_error): New variable.
35694         (init_max_error): Take new argument specifying whether function
35695         results are exactly determined.  Set max_valid_error and bound
35696         other variables for errors based on this argument.
35697         (set_max_error): Do not record results above max_valid_error.
35698         (check_float_internal): Only accept errors of up to 0.5ulps if
35699         also at most max_valid_error.
35700         (START): Take new argument EXACT and pass it to init_max_error.
35701         (acos_test): Update call to START.
35702         (acos_test_tonearest): Likewise.
35703         (acos_test_towardzero): Likewise.
35704         (acos_test_downward): Likewise.
35705         (acos_test_upward): Likewise.
35706         (acosh_test): Likewise.
35707         (asin_test): Likewise.
35708         (asin_test_tonearest): Likewise.
35709         (asin_test_towardzero): Likewise.
35710         (asin_test_downward): Likewise.
35711         (asin_test_upward): Likewise.
35712         (asinh_test): Likewise.
35713         (atan_test): Likewise.
35714         (atanh_test): Likewise.
35715         (atan2_test): Likewise.
35716         (cabs_test): Likewise.
35717         (cacos_test): Likewise.
35718         (cacosh_test): Likewise.
35719         (carg_test): Likewise.
35720         (casin_test): Likewise.
35721         (casinh_test): Likewise.
35722         (catan_test): Likewise.
35723         (catanh_test): Likewise.
35724         (cbrt_test): Likewise.
35725         (ccos_test): Likewise.
35726         (ccosh_test): Likewise.
35727         (ceil_test): Likewise.
35728         (cexp_test): Likewise.
35729         (cimag_test): Likewise.
35730         (clog_test): Likewise.
35731         (clog10_test): Likewise.
35732         (conj_test): Likewise.
35733         (copysign_test): Likewise.
35734         (cos_test): Likewise.
35735         (cos_test_tonearest): Likewise.
35736         (cos_test_towardzero): Likewise.
35737         (cos_test_downward): Likewise.
35738         (cos_test_upward): Likewise.
35739         (cosh_test): Likewise.
35740         (cosh_test_tonearest): Likewise.
35741         (cosh_test_towardzero): Likewise.
35742         (cosh_test_downward): Likewise.
35743         (cosh_test_upward): Likewise.
35744         (cpow_test): Likewise.
35745         (cproj_test): Likewise.
35746         (creal_test): Likewise.
35747         (csin_test): Likewise.
35748         (csinh_test): Likewise.
35749         (csqrt_test): Likewise.
35750         (ctan_test): Likewise.
35751         (ctan_test_tonearest): Likewise.
35752         (ctan_test_towardzero): Likewise.
35753         (ctan_test_downward): Likewise.
35754         (ctan_test_upward): Likewise.
35755         (ctanh_test): Likewise.
35756         (ctanh_test_tonearest): Likewise.
35757         (ctanh_test_towardzero): Likewise.
35758         (ctanh_test_downward): Likewise.
35759         (ctanh_test_upward): Likewise.
35760         (erf_test): Likewise.
35761         (erfc_test): Likewise.
35762         (exp_test): Likewise.
35763         (exp_test_tonearest): Likewise.
35764         (exp_test_towardzero): Likewise.
35765         (exp_test_downward): Likewise.
35766         (exp_test_upward): Likewise.
35767         (exp10_test): Likewise.
35768         (exp10_test_tonearest): Likewise.
35769         (exp10_test_towardzero): Likewise.
35770         (exp10_test_downward): Likewise.
35771         (exp10_test_upward): Likewise.
35772         (pow10_test): Likewise.
35773         (exp2_test): Likewise.
35774         (expm1_test): Likewise.
35775         (expm1_test_tonearest): Likewise.
35776         (expm1_test_towardzero): Likewise.
35777         (expm1_test_downward): Likewise.
35778         (expm1_test_upward): Likewise.
35779         (fabs_test): Likewise.
35780         (fdim_test): Likewise.
35781         (floor_test): Likewise.
35782         (fma_test): Likewise.
35783         (fma_test_towardzero): Likewise.
35784         (fma_test_downward): Likewise.
35785         (fma_test_upward): Likewise.
35786         (fmax_test): Likewise.
35787         (fmin_test): Likewise.
35788         (fmod_test): Likewise.
35789         (fpclassify_test): Likewise.
35790         (frexp_test): Likewise.
35791         (hypot_test): Likewise.
35792         (ilogb_test): Likewise.
35793         (isfinite_test): Likewise.
35794         (finite_test): Likewise.
35795         (isgreater_test): Likewise.
35796         (isgreaterequal_test): Likewise.
35797         (isinf_test): Likewise.
35798         (isless_test): Likewise.
35799         (islessequal_test): Likewise.
35800         (islessgreater_test): Likewise.
35801         (isnan_test): Likewise.
35802         (isnormal_test): Likewise.
35803         (issignaling_test): Likewise.
35804         (isunordered_test): Likewise.
35805         (j0_test): Likewise.
35806         (j1_test): Likewise.
35807         (jn_test): Likewise.
35808         (ldexp_test): Likewise.
35809         (lgamma_test): Likewise.
35810         (gamma_test): Likewise.
35811         (lrint_test): Likewise.
35812         (lrint_test_tonearest): Likewise.
35813         (lrint_test_towardzero): Likewise.
35814         (lrint_test_downward): Likewise.
35815         (lrint_test_upward): Likewise.
35816         (llrint_test): Likewise.
35817         (llrint_test_tonearest): Likewise.
35818         (llrint_test_towardzero): Likewise.
35819         (llrint_test_downward): Likewise.
35820         (llrint_test_upward): Likewise.
35821         (log_test): Likewise.
35822         (log10_test): Likewise.
35823         (log1p_test): Likewise.
35824         (log2_test): Likewise.
35825         (logb_test): Likewise.
35826         (logb_test_downward): Likewise.
35827         (lround_test): Likewise.
35828         (llround_test): Likewise.
35829         (modf_test): Likewise.
35830         (nearbyint_test): Likewise.
35831         (nextafter_test): Likewise.
35832         (nexttoward_test): Likewise.
35833         (pow_test): Likewise.
35834         (pow_test_tonearest): Likewise.
35835         (pow_test_towardzero): Likewise.
35836         (pow_test_downward): Likewise.
35837         (pow_test_upward): Likewise.
35838         (remainder_test): Likewise.
35839         (drem_test): Likewise.
35840         (remainder_test_tonearest): Likewise.
35841         (drem_test_tonearest): Likewise.
35842         (remainder_test_towardzero): Likewise.
35843         (drem_test_towardzero): Likewise.
35844         (remainder_test_downward): Likewise.
35845         (drem_test_downward): Likewise.
35846         (remainder_test_upward): Likewise.
35847         (drem_test_upward): Likewise.
35848         (remquo_test): Likewise.
35849         (rint_test): Likewise.
35850         (rint_test_tonearest): Likewise.
35851         (rint_test_towardzero): Likewise.
35852         (rint_test_downward): Likewise.
35853         (rint_test_upward): Likewise.
35854         (round_test): Likewise.
35855         (scalb_test): Likewise.
35856         (scalbn_test): Likewise.
35857         (scalbln_test): Likewise.
35858         (signbit_test): Likewise.
35859         (sin_test): Likewise.
35860         (sin_test_tonearest): Likewise.
35861         (sin_test_towardzero): Likewise.
35862         (sin_test_downward): Likewise.
35863         (sin_test_upward): Likewise.
35864         (sincos_test): Likewise.
35865         (sinh_test): Likewise.
35866         (sinh_test_tonearest): Likewise.
35867         (sinh_test_towardzero): Likewise.
35868         (sinh_test_downward): Likewise.
35869         (sinh_test_upward): Likewise.
35870         (sqrt_test): Likewise.
35871         (sqrt_test_tonearest): Likewise.
35872         (sqrt_test_towardzero): Likewise.
35873         (sqrt_test_downward): Likewise.
35874         (sqrt_test_upward): Likewise.
35875         (tan_test): Likewise.
35876         (tan_test_tonearest): Likewise.
35877         (tan_test_towardzero): Likewise.
35878         (tan_test_downward): Likewise.
35879         (tan_test_upward): Likewise.
35880         (tanh_test): Likewise.
35881         (tgamma_test): Likewise.
35882         (trunc_test): Likewise.
35883         (y0_test): Likewise.
35884         (y1_test): Likewise.
35885         (yn_test): Likewise.
35886         (significand_test): Likewise.
35888         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
35889         individual tests in comment.
35890         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
35891         (prev_max_error): New variable.
35892         (prev_real_max_error): Likewise.
35893         (prev_imag_max_error): Likewise.
35894         (compare_ulp_data): Don't refer to test names in comment.
35895         (find_test_ulps): Remove function.
35896         (find_function_ulps): Likewise.
35897         (find_complex_function_ulps): Likewise.
35898         (init_max_error): Take function name as argument.  Look up ulps
35899         for that function.
35900         (print_ulps): Remove function.
35901         (print_max_error): Use prev_max_error instead of calling
35902         find_function_ulps.
35903         (print_complex_max_error): Use prev_real_max_error and
35904         prev_imag_max_error instead of calling find_complex_function_ulps.
35905         (check_float_internal): Take max_ulp parameter instead of calling
35906         find_test_ulps.  Don't call print_ulps.
35907         (check_float): Update call to check_float_internal.
35908         (check_complex): Update calls to check_float_internal.
35909         (START): Pass argument to init_max_error.
35910         * math/gen-libm-test.pl (%results): Don't include "kind"
35911         information.
35912         (parse_ulps): Don't handle ulps of individual tests.
35913         (print_ulps_file): Likewise.
35914         (output_ulps): Likewise.
35915         * math/README.libm-test: Update.
35916         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
35917         individual tests.
35918         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
35919         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
35920         * sysdeps/arm/libm-test-ulps: Likewise.
35921         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
35922         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
35923         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
35924         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
35925         * sysdeps/microblaze/libm-test-ulps: Likewise.
35926         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
35927         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
35928         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35929         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
35930         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35931         * sysdeps/sh/libm-test-ulps: Likewise.
35932         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35933         * sysdeps/tile/libm-test-ulps: Likewise.
35934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35936 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
35938         * math/libm-test.inc (print_complex_max_error): Check separately
35939         whether real and imaginary errors are within allowed range and
35940         pass 0 to print_complex_function_ulps instead of value within
35941         allowed range.
35943 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35945         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
35946         formatting.
35947         (get_handles_fopen): Likewise.
35948         (do_write_test): Likewise.
35950         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
35952         * libio/fileops.c (do_ftell): Use cached offset when
35953         available.
35954         * libio/iofwide.c (do_ftell_wide): Likewise.
35955         * libio/iofdopen.c (_IO_new_fdopen): Don't use
35956         _IO_file_attach.
35957         * libio/wfileops.c (_IO_fwide): Don't cache offset.
35959         [BZ #16532]
35960         * libio/libioP.h (get_file_offset): New function.
35961         * libio/fileops.c (get_file_offset): Likewise.
35962         (do_ftell): Likewise.
35963         (_IO_new_file_seekoff): Split out ftell logic.
35964         * libio/wfileops.c (do_ftell_wide): Likewise.
35965         (_IO_wfile_seekoff): Split out ftell logic.
35966         * libio/tst-ftell-active-handler.c: New test case.
35967         * libio/Makefile (tests): Add it.
35969 2014-03-03  Roland McGrath  <roland@hack.frob.com>
35971         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
35972         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
35974 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35976         [BZ #16639]
35977         * nscd/connections.c (nscd_init): Call do_exit.
35978         (start_threads): Call do_exit and notify_parent.
35979         (begin_drop_privileges): Call do_exit.
35980         (finish_drop_privileges): Likewise.
35981         * nscd/selinux.c (preserve_capabilities): Likewise.
35982         (install_real_capabilities): Likewise.
35983         (nscd_selinux_enabled): Likewise.
35984         (avc_create_thread): Likewise.
35985         (avc_alloc_lock): Likewise.
35986         (nscd_avc_init): Likewise.
35987         * nscd/nscd.c (parent_fd): New static variable.
35988         (main): Create a pipe between parent and child processes.
35989         Skip closing parent_fd.
35990         (monitor_child): New function.
35991         (do_exit): Likewise.
35992         (notify_parent): Likewise.
35993         * nscd/nscd.h (notify_parent): Likewise.
35994         (do_exit): Likewise.
35996 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
35998         * malloc/malloc.c (__libc_calloc): Revert last change.
36000 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36002         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36004 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36006         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
36007         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
36008         implementation.
36009         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36010         (__libc_ifunc_impl_list): Likewise.
36011         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
36012         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
36013         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
36014         * string/strrchr.c: Define STRRCHR.
36016 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
36018         * benchtest/bench-strtok.c (simple_strtok): Delete.
36019         (strtok_string): Use as benchmark.
36020         * string/strtok (STRTOK): New macro.
36022 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
36024         * manual/threads.texi: Add header and standard comments to all
36025         functions.
36027         * elf/dl-lookup.c (check_match): New function.
36028         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
36029         (do_lookup_x): Remove nested function check_match. Use non-nested
36030         function check_match.
36032 2014-02-28  Roland McGrath  <roland@hack.frob.com>
36034         * csu/Makefile (generated, before-compile): Use += rather than =.
36035         * catgets/Makefile (generated, generated-dirs): Likewise.
36036         * debug/Makefile (generated): Likewise.
36037         * dlfcn/Makefile (generated): Likewise.
36038         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
36039         * iconvdata/Makefile (before-compile, generated): Likewise.
36040         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
36041         * libio/Makefile (generated): Likewise.
36042         * malloc/Makefile (generated): Likewise.
36043         * manual/Makefile (generated, generated-dirs): Likewise.
36044         * misc/Makefile (generated): Likewise.
36045         * posix/Makefile (generated): Likewise.
36046         * resolv/Makefile (generated): Likewise.
36047         * sunrpc/Makefile (generated, generated-dirs): Likewise.
36048         * timezone/Makefile (generated, generated-dirs): Likewise.
36050         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
36052 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36054         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
36055         power8 implementation.
36056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
36057         file: POWER8 llround ifunc implementation.
36058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
36059         (__lllround): Add POWER8 implementation.
36060         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
36061         POWER8 llround implementation.
36063         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
36064         power8 implementation.
36065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
36066         file: POWER8 llrint ifunc implementation.
36067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
36068         Add POWER8 implementation.
36069         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
36070         POWER8 llrint implementation.
36072         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
36073         power8 implementation.
36074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
36075         file: POWER8 finite ifunc implementation.
36076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
36077         Add POWER8 implementation.
36078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
36079         Likewise.
36080         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
36081         POWER8 finite implementation.
36082         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
36084         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
36085         power8 implementation.
36086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
36087         file: POWER8 isinf ifunc implementation.
36088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
36089         POWER8 implementation.
36090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
36091         Likewise.
36092         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
36093         isinf implementation.
36094         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
36096         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
36097         (INIT_ARCH): Add hwcap2 initialization.
36098         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
36099         power8 implementation.
36100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
36101         file: POWER8 isnan ifunc implementation.
36102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
36103         POWER8 implementation.
36104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
36105         Likewise.
36106         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
36107         isnan implementation.
36108         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
36110 2014-02-27  Joey Ye  <joey.ye@arm.com>
36112         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
36113         (_FP_NANFRAC_Q): Set to zero.
36115 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36117         [BZ #16623]
36118         * math/auto-libm-test-in: New test inputs.
36119         * math/auto-libm-test-out: Regenerate.
36120         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
36121         and DA.
36122         (__cos): Likewise.
36123         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36125 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
36127         * scripts/evaluate-test.sh: Take new argument indicating whether
36128         failure is expected.
36129         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
36130         indicating whether failure is expected.
36131         * conform/Makefile (test-xfail-run-conformtest): New variable.
36132         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
36133         level.
36134         * posix/Makefile (test-xfail-annexc): New variable.
36135         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
36137 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
36139         * argp/Makefile: Include Makeconfig immediately after defining
36140         subdir.
36141         * assert/Makefile: Likewise.
36142         * benchtests/Makefile: Likewise.
36143         * catgets/Makefile: Likewise.
36144         * conform/Makefile: Likewise.
36145         * crypt/Makefile: Likewise.
36146         * csu/Makefile: Likewise.
36147         (all): Remove target.
36148         * ctype/Makefile: Include Makeconfig immediately after defining
36149         subdir.
36150         * debug/Makefile: Likewise.
36151         * dirent/Makefile: Likewise.
36152         * dlfcn/Makefile: Likewise.
36153         * gmon/Makefile: Likewise.
36154         * gnulib/Makefile: Likewise.
36155         * grp/Makefile: Likewise.
36156         * gshadow/Makefile: Likewise.
36157         * hesiod/Makefile: Likewise.
36158         * hurd/Makefile: Likewise.
36159         (all): Remove target.
36160         * iconvdata/Makefile: Include Makeconfig immediately after
36161         defining subdir.
36162         * inet/Makefile: Likewise.
36163         * intl/Makefile: Likewise.
36164         * io/Makefile: Likewise.
36165         * libio/Makefile: Likewise.
36166         (all): Remove target.
36167         * locale/Makefile: Include Makeconfig immediately after defining
36168         subdir.
36169         * login/Makefile: Likewise.
36170         * mach/Makefile: Likewise.
36171         (all): Remove target.
36172         * malloc/Makefile: Include Makeconfig immediately after defining
36173         subdir.
36174         (all): Remove target.
36175         * manual/Makefile: Include Makeconfig immediately after defining
36176         subdir.
36177         * math/Makefile: Likewise.
36178         * misc/Makefile: Likewise.
36179         * nis/Makefile: Likewise.
36180         * nss/Makefile: Likewise.
36181         * po/Makefile: Likewise.
36182         (all): Remove target.
36183         * posix/Makefile: Include Makeconfig immediately after defining
36184         subdir.
36185         * pwd/Makefile: Likewise.
36186         * resolv/Makefile: Likewise.
36187         * resource/Makefile: Likewise.
36188         * rt/Makefile: Likewise.
36189         * setjmp/Makefile: Likewise.
36190         * shadow/Makefile: Likewise.
36191         * signal/Makefile: Likewise.
36192         * socket/Makefile: Likewise.
36193         * soft-fp/Makefile: Likewise.
36194         * stdio-common/Makefile: Likewise.
36195         * stdlib/Makefile: Likewise.
36196         * streams/Makefile: Likewise.
36197         * string/Makefile: Likewise.
36198         * sunrpc/Makefile: Likewise.
36199         (all): Remove target.
36200         * sysvipc/Makefile: Include Makeconfig immediately after defining
36201         subdir.
36202         * termios/Makefile: Likewise.
36203         * time/Makefile: Likewise.
36204         * timezone/Makefile: Likewise.
36205         (all): Remove target.
36206         * wcsmbs/Makefile: Include Makeconfig immediately after defining
36207         subdir.
36208         * wctype/Makefile: Likewise.
36210 2014-02-26  Steve Ellcey  <sellcey@mips.com>
36212         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
36213         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
36214         (libc_feholdexcept_setround_mips): Ditto.
36215         (libc_feholdsetround): New.
36216         (libc_feholdsetroundf): New.
36217         (libc_feholdsetroundl): New.
36218         (libc_feupdateenv_test_mips): New.
36219         (libc_feupdateenv_test): New.
36220         (libc_feupdateenv_testf): New.
36221         (libc_feupdateenv_testl): New.
36222         (libc_feresetround): New.
36223         (libc_feresetroundf): New.
36224         (libc_feresetroundl): New.
36225         (libc_fetestexcept_mips): New.
36226         (libc_fetestexcept): New.
36227         (libc_fetestexceptf): New.
36228         (libc_fetestexceptl): New.
36229         (HAVE_RM_CTX): New.
36230         (libc_feholdexcept_setround_mips_ctx): New.
36231         (libc_feholdexcept_setround_ctx): New.
36232         (libc_feholdexcept_setroundf_ctx): New.
36233         (libc_feholdexcept_setroundl_ctx): New.
36234         (libc_fesetenv_mips_ctx): New.
36235         (libc_fesetenv_ctx): New.
36236         (libc_fesetenv_ctxf): New.
36237         (libc_fesetenv_ctxl): New.
36238         (libc_feupdateenv_mips_ctx): New.
36239         (libc_feupdateenv_ctx): New.
36240         (libc_feupdateenvf_ctx): New.
36241         (libc_feupdateenvl_ctx): New.
36242         (libc_feholdsetround_mips_ctx): New.
36243         (libc_feholdsetround_ctx): New.
36244         (libc_feholdsetroundf_ctx): New.
36245         (libc_feholdsetroundl_ctx): New.
36246         (libc_feresetround_mips_ctx): New.
36247         (libc_feresetround_ctx): New.
36248         (libc_feresetroundf_ctx): New.
36249         (libc_feresetroundl_ctx): New.
36251 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
36253         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
36255         * manual/ipc.texi: New file.
36256         * manual/Makefile (chapters): Add ipc.
36257         * manual/job.texi: Add "Inter-Process Communication" to next.
36258         * manual/process.texi: Add "Inter-Process Communication" to prev.
36260 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36262         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36264 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
36266         * malloc/malloc.c (__libc_calloc): Simplify implementation.
36268         * manual/arith.texi: Fix spaces after sentences.
36269         * manual/charset.texi: Likewise.
36270         * manual/errno.texi: Likewise.
36271         * manual/install.texi: Likewise.
36272         * manual/llio.texi: Likewise.
36273         * manual/locale.texi: Likewise.
36274         * manual/maint.texi: Likewise.
36275         * manual/math.texi: Likewise.
36276         * manual/memory.texi: Likewise.
36277         * manual/message.texi: Likewise.
36278         * manual/probes.texi: Likewise.
36279         * manual/resource.texi: Likewise.
36280         * manual/signal.texi: Likewise.
36281         * manual/socket.texi: Likewise.
36282         * manual/stdio.texi: Likewise.
36283         * manual/string.texi: Likewise.
36284         * manual/time.texi: Likewise.
36285         * manual/users.texi: Likewise.
36287 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
36289         [BZ #16632]
36290         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
36291         _DEFAULT_SOURCE is defined.
36293 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
36294             Carlos O'Donell  <carlos@redhat.com>
36296         [BZ #16613]
36297         * elf/dl-tls.c (_dl_count_modids): New function.
36298         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
36299         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
36300         audit library and increment generation counter.
36301         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
36302         * elf/tst-audit9.c: New file.
36303         * elf/tst-auditmod9a.c: New file.
36304         * elf/tst-auditmod9b.c: New file.
36305         * elf/Makefile: Add rules to build and run tst-audit9.
36307 2014-02-25  Florian Weimer  <fweimer@redhat.com>
36309         [BZ #15347]
36310         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
36312 2014-02-25  Will Newton  <will.newton@linaro.org>
36314         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
36315         (__longjmp): Restore sp and lr before restoring callee
36316         saved registers.  Add longjmp and longjmp_target
36317         SystemTap probe point.
36318         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
36319         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
36320         Define to zero to match jmpbuf layout.
36321         * sysdeps/arm/setjmp.S: Include stap-probe.h.
36322         (__sigsetjmp): Save sp and lr before saving callee
36323         saved registers.  Add setjmp SystemTap probe point.
36325 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
36327         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36329 2014-02-24  Andreas Schwab  <schwab@suse.de>
36331         [BZ #15804]
36332         * elf/pldd.c (wait_for_ptrace_stop): New function.
36333         (main): Call it after attaching.
36335 2014-02-22  Roland McGrath  <roland@hack.frob.com>
36337         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
36338         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
36339         Versions files is now verboten.
36340         * hurd/Versions (libc: GLIBC_2.0):
36341         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
36342         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
36343         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
36344         * mach/Versions: Likewise.
36346         * csu/Versions: Remove unused %include.
36347         * resolv/Versions: Likewise.
36349 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
36351         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
36352         ($(objpfx)check-local-headers.out): Likewise.
36353         ($(objpfx)begin-end-check.out): Likewise.
36354         * Makerules (check-abi-%.out): Likewise.
36355         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
36356         ($(objpfx)test2.cat): Likewise.
36357         ($(objpfx)de/libc.cat): Likewise.
36358         ($(objpfx)test-gencat.out): Likewise.
36359         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
36360         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
36361         ($(objpfx)noload-mem): Likewise.
36362         ($(objpfx)tst-pathopt.out): Likewise.
36363         ($(objpfx)tst-rtld-load-self.out): Likewise.
36364         ($(objpfx)tst-array1-cmp.out): Likewise.
36365         ($(objpfx)tst-array1-static-cmp.out): Likewise.
36366         ($(objpfx)tst-array2-cmp.out): Likewise.
36367         ($(objpfx)tst-array3-cmp.out): Likewise.
36368         ($(objpfx)tst-array4-cmp.out): Likewise.
36369         ($(objpfx)tst-array5-cmp.out): Likewise.
36370         ($(objpfx)tst-array5-static-cmp.out): Likewise.
36371         ($(objpfx)check-textrel.out): Likewise.
36372         ($(objpfx)check-execstack.out): Likewise.
36373         ($(objpfx)check-localplt.out): Likewise.
36374         ($(objpfx)order2-cmp.out): Likewise.
36375         ($(objpfx)tst-leaks1-mem): Likewise.
36376         ($(objpfx)tst-leaks1-static-mem): Likewise.
36377         ($(objpfx)tst-initorder-cmp.out): Likewise.
36378         ($(objpfx)tst-initorder2-cmp.out): Likewise.
36379         ($(objpfx)tst-unused-dep.out): Likewise.
36380         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
36381         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
36382         * iconv/Makefile (test-iconvconfig): Likewise.
36383         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
36384         ($(objpfx)iconv-test.out): Likewise.
36385         ($(objpfx)tst-tables.out): Likewise.
36386         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
36387         ($(objpfx)tst-gettext.out): Likewise.
36388         ($(objpfx)tst-translit.out): Likewise.
36389         ($(objpfx)tst-gettext2.out): Likewise.
36390         ($(objpfx)tst-gettext4.out): Likewise.
36391         ($(objpfx)tst-gettext6.out): Likewise.
36392         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
36393         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
36394         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
36395         ($(objpfx)tst-fopenloc-mem.out): Likewise.
36396         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
36397         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
36398         * posix/Makefile ($(objpfx)globtest.out): Likewise.
36399         ($(objpfx)wordexp-tst.out): Likewise.
36400         ($(objpfx)annexc.out): Likewise.
36401         ($(objpfx)tst-fnmatch-mem): Likewise.
36402         ($(objpfx)bug-regex2-mem): Likewise.
36403         ($(objpfx)bug-regex14-mem): Likewise.
36404         ($(objpfx)bug-regex21-mem): Likewise.
36405         ($(objpfx)bug-regex31-mem): Likewise.
36406         ($(objpfx)tst-vfork3-mem): Likewise.
36407         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
36408         ($(objpfx)tst-pcre-mem): Likewise.
36409         ($(objpfx)tst-boost-mem): Likewise.
36410         ($(objpfx)tst-getconf.out): Likewise.
36411         ($(objpfx)bug-ga2-mem): Likewise.
36412         ($(objpfx)bug-glob2-mem): Likewise.
36413         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
36414         ($(objpfx)mtrace-tst-leaks2): Likewise.
36415         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
36416         ($(objpfx)tst-printf.out): Likewise.
36417         ($(objpfx)tst-setvbuf1.out): Likewise.
36418         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
36419         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
36420         ($(objpfx)tst-fmtmsg.out): Likewise.
36421         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
36422         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
36424         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
36425         * bits/sigaction.h [__USE_MISC]: Likewise.
36426         * bits/waitstatus.h: Update #endif comments.
36427         * ctype/ctype.h: Likewise.
36428         * dirent/dirent.h: Likewise.
36429         [__USE_MISC]: Remove redundant conditionals.
36430         * grp/grp.h: Update #endif comments.
36431         [__USE_GNU]: Remove redundant conditionals.
36432         [__USE_MISC]: Likewise.
36433         * inet/netinet/in.h [__USE_GNU]: Likewise.
36434         * io/sys/stat.h [__USE_MISC]: Likewise.
36435         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
36436         * libio/bits/stdio.h: Update #endif comments.
36437         [__USE_MISC]: Remove redundant conditionals.
36438         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
36439         * libio/stdio.h: Update #endif comments.
36440         [__USE_MISC]: Remove redundant conditionals.
36441         * math/bits/math-finite.h [__USE_MISC]: Likewise.
36442         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
36443         * math/math.h: Update #else and #endif comments.
36444         [__USE_MISC]: Remove redundant conditionals.
36445         * misc/sys/uio.h: Update #endif comments.
36446         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
36447         * posix/glob.h [__USE_MISC]: Likewise.
36448         * posix/sys/types.h: Update #endif comments.
36449         [__USE_MISC]: Remove redundant conditionals.
36450         * posix/sys/wait.h: Update #endif comments.
36451         [__USE_MISC]: Remove redundant conditionals.
36452         * posix/unistd.h: Update #endif comments.
36453         [__USE_MISC]: Remove redundant conditionals.
36454         * pwd/pwd.h [__USE_GNU]: Likewise.
36455         [__USE_MISC]: Likewise.
36456         * resolv/netdb.h [__USE_GNU]: Likewise.
36457         * signal/signal.h: Update #endif comments.
36458         [__USE_MISC]: Remove redundant conditionals.
36459         * stdlib/stdlib.h: Update #else and #endif comments.
36460         [__USE_MISC]: Remove redundant conditionals.
36461         [__USE_GNU]: Likewise.
36462         * string/bits/string2.h [__USE_MISC]: Likewise.
36463         * string/string.h: Update #endif comments.
36464         [__USE_MISC]: Remove redundant conditionals.
36465         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
36466         Likewise.
36467         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
36468         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
36469         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
36470         Likewise.
36471         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
36472         Likewise.
36473         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
36474         comments.
36475         [__USE_MISC]: Remove redundant conditionals.
36476         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
36477         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
36478         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
36479         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
36480         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
36481         Likewise.
36482         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
36483         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
36484         Likewise.
36485         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
36486         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
36487         Likewise.
36488         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
36489         Likewise.
36490         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
36491         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
36492         Likewise.
36493         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
36494         Likewise.
36495         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
36496         * sysdeps/x86/bits/string.h: Update #endif comments.
36497         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
36498         conditionals.
36499         * time/sys/time.h: Update #endif comments.
36500         * time/time.h: Likewise.
36501         [__USE_MISC]: Remove redundant conditionals.
36503 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
36505         [BZ #16600]
36506         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
36508 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
36510         * Versions.def (librt): Add GLIBC_2.17.
36512 2014-02-21  Adam Conrad  <adconrad@0c3.net>
36514         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
36515         synonym for _SYS_AUXV_H to allow direct inclusion.
36516         * sysdeps/sparc/bits/hwcap.h: Likewise.
36517         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
36518         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
36519         * sysdeps/sparc/sysdep.h: Likewise.
36521 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36523         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
36525 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36527         * benchtests/bench-strrchr.c: Print length instead of position.
36529 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
36531         [BZ #16611]
36532         * sysdeps/unix/sysv/linux/kernel-features.h
36533         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
36534         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
36535         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
36536         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
36537         Likewise.
36538         [__i386__ || __powerpc__ || __sh__ || __sparc__]
36539         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36540         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
36541         (__ASSUME_SENDMMSG): Define instead of using previous
36542         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
36543         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36544         (__ASSUME_SENDMMSG_SYSCALL): Define.
36545         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36546         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
36547         Likewise.
36548         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36549         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36550         Likewise.
36551         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36552         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36553         Likewise.
36554         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
36555         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
36556         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
36557         [__ASSUME_SENDMMSG]: Change conditionals to
36558         [__ASSUME_SENDMMSG_SOCKETCALL].
36559         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36560         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
36561         Define.
36562         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36563         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
36564         Likewise.
36565         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
36566         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
36567         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
36568         [!__ASSUME_SENDMMSG]: Change conditional to
36569         [!__ASSUME_SENDMMSG_SOCKETCALL].
36570         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36571         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36572         Define.
36574         [BZ #16610]
36575         * sysdeps/unix/sysv/linux/kernel-features.h
36576         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
36577         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
36578         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
36579         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
36580         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36581         [__i386__ || __sparc__]
36582         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36583         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
36584         (__ASSUME_RECVMMSG): Define instead of using previous
36585         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
36586         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36587         (__ASSUME_RECVMMSG_SYSCALL): Define.
36588         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36589         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36590         Likewise.
36591         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36592         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36593         Likewise.
36594         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36595         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36596         Likewise.
36597         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
36598         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
36599         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
36600         [__ASSUME_RECVMMSG]: Change condition to
36601         [__ASSUME_RECVMMSG_SOCKETCALL].
36602         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36603         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36604         Define.
36605         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36606         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36607         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36608         Likewise.
36609         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
36610         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
36611         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
36612         [!__ASSUME_RECVMMSG]: Change condition to
36613         [!__ASSUME_RECVMMSG_SOCKETCALL].
36614         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36615         (__ASSUME_RECVMMSG_SYSCALL): Define.
36617         [BZ #16609]
36618         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
36619         __powerpc__ || __s390__ || __sh__ || __sparc__]
36620         (__ASSUME_SOCKETCALL): Define.
36621         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
36622         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
36623         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
36624         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
36625         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36626         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
36627         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
36628         (__ASSUME_ACCEPT4): Define instead of using previous
36629         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
36630         __powerpc__ || __sparc__ || __s390__)] condition.
36631         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36632         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
36633         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
36634         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
36635         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
36636         [!__ASSUME_ACCEPT4]: Change condition to
36637         [!__ASSUME_ACCEPT4_SOCKETCALL].
36638         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36639         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
36640         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
36641         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36642         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
36643         __ASSUME_ACCEPT4_SYSCALL.
36644         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
36645         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
36646         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36647         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
36648         __ASSUME_ACCEPT4_SYSCALL.
36649         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
36650         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
36651         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
36652         [__ASSUME_ACCEPT4]: Change condition to
36653         [__ASSUME_ACCEPT4_SOCKETCALL].
36654         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36655         (__ASSUME_SOCKETCALL): Define.
36656         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
36657         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36658         (__ASSUME_SOCKETCALL): Define.
36659         (__ASSUME_ACCEPT4): Remove.
36660         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
36661         Define.
36662         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36663         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
36664         Likewise.
36665         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36666         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
36668         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
36669         macro.
36670         (HWCAP_ARM_LPAE): Likewise.
36671         (HWCAP_ARM_EVTSTRM): Likewise.
36672         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
36673         Add vpfd32, lpae and evtstrm.
36674         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
36675         Increase to 22.
36677 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
36679         * math/auto-libm-test-in: Add tests of clog10.
36680         * math/auto-libm-test-out: Regenerated.
36681         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
36682         * sysdeps/i386/fpu/libm-test-ulps: Update.
36683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36685 2014-02-18  Andreas Schwab  <schwab@suse.de>
36687         [BZ #16574]
36688         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
36689         Store non-zero if the second buffer was newly allocated.
36690         (send_dg): Likewise.
36691         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
36692         to send_vc and send_dg.
36693         (res_nsend): Pass NULL for ansp2_malloced.
36694         * resolv/res_query.c (__libc_res_nquery): Add parameter
36695         answerp2_malloced and pass it down to __libc_res_nsend.
36696         (res_nquery): Pass additional NULL to __libc_res_nquery.
36697         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
36698         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
36699         second answer buffer if answerp2_malloced was set.
36700         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
36701         (__libc_res_nquerydomain): Add parameter
36702         answerp2_malloced and pass it down to __libc_res_nquery.
36703         (res_nquerydomain): Pass additional NULL to
36704         __libc_res_nquerydomain.
36705         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
36706         additional NULL to __libc_res_nsend and __libc_res_nquery.
36707         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
36708         additional NULL to __libc_res_nsearch.
36709         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
36710         parameter of __libc_res_nsearch to check for separately allocated
36711         second buffer.
36712         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
36713         __libc_res_nquery.
36714         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
36715         additional NULL to __libc_res_nquery.
36716         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
36717         __libc_res_nsearch.
36718         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
36719         * include/resolv.h: Update prototypes of __libc_res_nquery,
36720         __libc_res_nsearch, __libc_res_nsend.
36722 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
36724         * math/auto-libm-test-in: Add tests of fma.
36725         * math/auto-libm-test-out: Regenerated.
36726         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
36727         (fma_towardzero_test_data): Likewise.
36728         (fma_downward_test_data): Likewise.
36729         (fma_upward_test_data): Likewise.
36730         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
36731         mpc_mode.
36732         (rounding_modes): Add values for new field.
36733         (func_calc_method): Add value mpfr_fff_f.
36734         (func_calc_desc): Add mpfr_fff_f union field.
36735         (test_function): Add field exact_args.
36736         (FUNC): Add macro argument EXACT_ARGS.
36737         (FUNC_mpfr_f_f): Update call to FUNC.
36738         (FUNC_mpfr_f_f): Likewise.
36739         (FUNC_mpfr_ff_f): Likewise.
36740         (FUNC_mpfr_if_f): Likewise.
36741         (FUNC_mpc_c_f): Likewise.
36742         (FUNC_mpc_c_c): Likewise.
36743         (test_functions): Add fma.  Update calls to FUNC.
36744         (handle_input_arg): Add argument exact_args.
36745         (add_test): Update call to handle_input_arg.
36746         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
36747         (output_for_one_input_case): Update call to calc_generic_results.
36748         Recalculate exact zero results in each rounding mode.
36750         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
36751         non-negative before setting low bit.
36752         * math/auto-libm-test-in: Mark one asin test possibly having
36753         spurious underflow.
36754         * math/auto-libm-test-out: Regenerated.
36755         * sysdeps/i386/fpu/libm-test-ulps: Update.
36756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36758 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
36760         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
36761         * sysdeps/unix/sysv/linux/microblaze: Move directory from
36762         ports/sysdeps/unix/sysv/linux/microblaze.
36763         * README: Add missing listing for microblaze*-*-linux-gnu.
36765 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
36767         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
36768         duplicate code
36770 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
36772         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
36773         * sysdeps/unix/sysv/linux/ia64: Move directory from
36774         ports/sysdeps/unix/sysv/linux/ia64.
36775         * README: Update listing for ia64-*-linux-gnu.
36777 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
36778             Joseph Myers  <joseph@codesourcery.com>
36780         * Makeconfig (test-name): New variable.
36781         (evaluate-test): Likewise.
36782         * Makerules (do-test-clean): Remove .test-result files.
36783         (common-mostlyclean): Likewise.
36784         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
36785         * scripts/evaluate-test.sh: New file.
36787 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
36789         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
36790         separate $(objpfx)tst-fopenloc-cmp.out and
36791         $(objpfx)tst-fopenloc-mem.out targets.
36792         (tests): Update dependencies.
36793         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
36794         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
36795         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
36796         (tst-rxspencer-no-utf8-ARGS): New variable.
36797         (tst-rxspencer-no-utf8-ENV): Likewise.
36798         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
36799         instead of $(objpfx)tst-rxspencer-mem.
36800         ($(objpfx)tst-rxspencer-mem): Change target to
36801         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
36802         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
36803         * posix/tst-rxspencer-no-utf8.c: New file.
36805         * elf/Makefile ($(objpfx)order.out): Remove rule.
36806         [$(run-built-tests) = yes] (tests): Depend on
36807         $(objpfx)order-cmp.out.
36808         ($(objpfx)order-cmp.out): New rule.
36809         [$(run-built-tests) = yes] (tests): Depend on
36810         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
36811         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
36812         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
36813         $(objpfx)tst-array5-static-cmp.out.
36814         ($(objpfx)tst-array1.out): Remove rule.
36815         ($(objpfx)tst-array1-cmp.out): New rule.
36816         ($(objpfx)tst-array1-static.out): Remove rule.
36817         ($(objpfx)tst-array1-static-cmp.out): New rule.
36818         ($(objpfx)tst-array2.out): Remove rule.
36819         ($(objpfx)tst-array2-cmp.out): New rule.
36820         ($(objpfx)tst-array3.out): Remove rule.
36821         ($(objpfx)tst-array3-cmp.out): New rule.
36822         ($(objpfx)tst-array4.out): Remove rule.
36823         ($(objpfx)tst-array4-cmp.out): New rule.
36824         ($(objpfx)tst-array5.out): Remove rule.
36825         ($(objpfx)tst-array5-cmp.out): New rule.
36826         ($(objpfx)tst-array5-static.out): Remove rule.
36827         ($(objpfx)tst-array5-static-cmp.out): New rule.
36828         [$(run-built-tests) = yes] (tests): Depend on
36829         $(objpfx)order2-cmp.out.
36830         ($(objpfx)order2.out): Remove rule.
36831         ($(objpfx)order2-cmp.out): New rule.
36832         ($(objpfx)tst-initorder.out): Remove rule.
36833         [$(run-built-tests) = yes] (tests): Depend on
36834         $(objpfx)tst-initorder-cmp.out.
36835         ($(objpfx)tst-initorder-cmp.out): New rule.
36836         ($(objpfx)tst-initorder2.out): Remove rule.
36837         [$(run-built-tests) = yes] (tests): Depend on
36838         $(objpfx)tst-initorder2-cmp.out.
36839         ($(objpfx)tst-initorder2-cmp.out): New rule.
36840         [$(run-built-tests) = yes] (tests): Depend on
36841         $(objpfx)tst-unused-dep-cmp.out.
36842         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
36843         ($(objpfx)tst-unused-dep-cmp.out): New rule.
36844         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
36845         on $(objpfx)tst-setvbuf1-cmp.out.
36846         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
36847         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
36848         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
36849         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
36850         ($(objpfx)tst-svc.out): Remove rule.
36851         ($(objpfx)tst-svc-cmp.out): New rule.
36853 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
36855         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
36856         * ctype/ctype.h [__USE_MISC]: Likewise.
36857         * dirent/dirent.h [__USE_MISC]: Likewise.
36858         * grp/grp.h [__USE_MISC]: Likewise.
36859         * io/fcntl.h [__USE_MISC]: Likewise.
36860         * io/sys/stat.h [__USE_MISC]: Likewise.
36861         * libio/stdio.h [__USE_MISC]: Likewise.
36862         * posix/unistd.h [__USE_MISC]: Likewise.
36863         * pwd/pwd.h [__USE_MISC]: Likewise.
36864         * stdlib.h [__USE_MISC]: Likewise.
36865         * string/bits/string2.h [__USE_MISC]: Likewise.
36866         * string/string.h [__USE_MISC]: Likewise.
36867         * time/time.h [__USE_MISC]: Likewise.
36869 2014-02-13  Andreas Schwab  <schwab@suse.de>
36871         [BZ #16574]
36872         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
36873         second answer buffer if it was separately allocated.
36875 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
36877         * sysdeps/mips/math-tests.h: Include <features.h>.
36878         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
36879         (ROUNDING_TESTS_long_double): Do not define.
36880         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
36881         (EXCEPTION_TESTS_long_double): Likewise.
36882         * sysdeps/mips/mips64/libm-test-ulps: Update.
36884         * include/features.h (__USE_BSD): Remove macro definitions.
36885         (__USE_SVID): Likewise.
36886         (_BSD_SOURCE): Likewise.
36887         (_SVID_SOURCE): Likewise.
36888         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
36889         from definition of _DEFAULT_SOURCE.
36890         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
36891         [_DEFAULT_SOURCE].
36892         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
36893         * bits/mman.h [__USE_BSD]: Likewise.
36894         * bits/termios.h [__USE_BSD]: Likewise.
36895         * bits/waitstatus.h [__USE_BSD]: Likewise.
36896         * ctype/ctype.h [__USE_SVID]: Likewise.
36897         * dirent/dirent.h [__USE_BSD]: Likewise.
36898         * grp/grp.h [__USE_SVID]: Likewise.
36899         [__USE_BSD]: Likewise.
36900         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
36901         * io/fcntl.h [__USE_BSD]: Likewise.
36902         * io/ftw.h [__USE_BSD]: Likewise.
36903         * io/sys/stat.h [__USE_BSD]: Likewise.
36904         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
36905         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
36906         * libio/stdio.h [__USE_SVID]: Likewise.
36907         [__USE_BSD]: Likewise.
36908         * math/math.h [__USE_SVID]: Likewise.
36909         [__USE_BSD]: Likewise.
36910         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
36911         * misc/bits/syslog.h [__USE_BSD]: Likewise.
36912         * misc/search.h [__USE_SVID]: Likewise.
36913         * misc/sys/mman.h [__USE_BSD]: Likewise.
36914         * misc/sys/syslog.h [__USE_BSD]: Likewise.
36915         * misc/sys/uio.h [__USE_BSD]: Likewise.
36916         * posix/bits/unistd.h [__USE_BSD]: Likewise.
36917         * posix/glob.h [__USE_BSD]: Likewise.
36918         * posix/regex.h [__USE_BSD]: Likewise.
36919         * posix/sys/types.h [__USE_BSD]: Likewise.
36920         [__USE_SVID]: Likewise.
36921         * posix/sys/utsname.h [__USE_SVID]: Likewise.
36922         * posix/sys/wait.h [__USE_BSD]: Likewise.
36923         [__USE_SVID]: Likewise.
36924         * posix/unistd.h [__USE_BSD]: Likewise.
36925         [__USE_SVID]: Likewise.
36926         * pwd/pwd.h [__USE_SVID]: Likewise.
36927         * resolv/netdb.h [__USE_BSD]: Likewise.
36928         * setjmp/setjmp.h [__USE_BSD]: Likewise.
36929         * signal/signal.h [__USE_BSD]: Likewise.
36930         [__USE_SVID]: Likewise.
36931         * socket/sys/socket.h [__USE_BSD]: Likewise.
36932         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
36933         * stdlib/stdlib.h [__USE_BSD]: Likewise.
36934         [__USE_SVID]: Likewise.
36935         * string/bits/string2.h [__USE_BSD]: Likewise.
36936         [__USE_SVID]: Likewise.
36937         * string/bits/string3.h [__USE_BSD]: Likewise.
36938         * string/endian.h [__USE_BSD]: Likewise.
36939         * string/string.h [__USE_SVID]: Likewise.
36940         [__USE_BSD]: Likewise.
36941         * string/strings.h [__USE_BSD]: Likewise.
36942         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
36943         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
36944         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
36945         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
36946         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
36947         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
36948         Likewise.
36949         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
36950         Likewise.
36951         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
36952         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
36953         Likewise.
36954         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
36955         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
36956         Likewise.
36957         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
36958         Likewise.
36959         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
36960         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
36961         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
36962         Likewise.
36963         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
36964         Likewise.
36965         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
36966         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
36967         * termios/termios.h [__USE_BSD]: Likewise.
36968         * time/sys/time.h [__USE_BSD]: Likewise.
36969         * time/time.h [__USE_BSD]: Likewise.
36970         [__USE_SVID]: Likewise.
36972         * Makefile (subdir_targets): Remove subdir_lint.out.
36974         * stdio-common/Makefile (do-tst-unbputc): Remove target.
36975         (do-tst-printf): Likewise.
36976         (tests): Depend directly on $(objpfx)tst-unbputc.out and
36977         $(objpfx)tst-printf.out.
36979         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
36981         * Makerules (check-abi-%): Change target to
36982         $(objpfx)check-abi-%.out.
36983         (check-abi target): Update dependencies.
36984         (check-abi-pattern variable): Redirect output of diff to $@.
36985         (check-abi variable): Likewise.
36986         * elf/Makefile (check-abi): Update dependencies.
36988         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
36989         unused.
36990         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
36991         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
36992         subnormal range.
36993         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
36994         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
36995         value has largest subnormal exponent.
36996         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
36997         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
36998         * sysdeps/aarch64/soft-fp/sfp-machine.h
36999         (_FP_TININESS_AFTER_ROUNDING): New macro.
37000         * sysdeps/alpha/soft-fp/sfp-machine.h
37001         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37002         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37003         Likewise.
37004         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
37005         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37006         * sysdeps/mips/soft-fp/sfp-machine.h
37007         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37008         * sysdeps/powerpc/soft-fp/sfp-machine.h
37009         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37010         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37011         Likewise.
37012         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37013         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37014         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37015         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37016         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37017         Likewise.
37019 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
37021         [BZ #16545]
37022         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
37023         model 1.
37025 2014-02-12  Richard Henderson  <rth@redhat.com>
37027         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
37028         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
37029         * sysdeps/unix/sysv/linux/alpha: Move directory from
37030         ports/sysdeps/unix/sysv/linux/alpha.
37031         * README: Update listing for alpha-*-linux-gnu.
37033 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
37035         * include/features.h: Update comment documenting feature test
37036         macros.
37037         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
37038         _DEFAULT_SOURCE.
37039         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
37040         (_SVID_SOURCE): Likewise.
37041         (_DEFAULT_SOURCE): Update description of default features.
37042         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
37043         with _GNU_SOURCE.
37044         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
37045         (S_ISVTX): Likewise.
37046         * manual/math.texi (Mathematical Constants): Likewise.
37047         * manual/signal.texi (Interrupted Primitives): Likewise.
37048         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
37049         * math/test-matherr.c (_SVID_SOURCE): Do not define.
37050         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
37051         Don't refer to _SVID_SOURCE in warning text.
37053         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37055         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
37056         already defined.
37057         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
37058         * sysdeps/mips/dl-lookup.c: Remove.
37059         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
37061 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37063         [BZ #16447]
37064         * math/auto-libm-test-in: Add testcase for expl.
37065         * math/auto-libm-test-out: Regenerate.
37066         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
37067         calculation of unsafe.
37068         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
37070 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37072         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
37073         * sysdeps/unix/sysv/linux/aarch64: Move directory from
37074         ports/sysdeps/unix/sysv/linux/aarch64.
37075         * README: Update listing for aarch64*-*-linux-gnu.
37077 2014-02-11  Will Newton  <will.newton@linaro.org>
37079         * manual/probes.texi (Mathematical Function Probes): Use
37080         "triggered" instead of "hit".
37082         * manual/probes.texi (Internal Probes): Add documentation
37083         of setjmp, longjmp and longjmp_target probes.
37085         * include/stap-probe.h: Add comment about probe argument
37086         format.
37088         * malloc/mtrace.c (attribute_hidden): Remove unused macro
37089         definition.  (tr_where, tr_freehook, tr_mallochook,
37090         tr_reallochook, tr_memalignhook): Use ANSI protoype.
37092 2014-02-11  David S. Miller  <davem@davemloft.net>
37094         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
37095         processing int_tests.
37097 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
37099         * sysdeps/mips: Move directory from ports/sysdeps/mips.
37100         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
37101         * sysdeps/unix/sysv/linux/mips: Move directory from
37102         ports/sysdeps/unix/sysv/linux/mips.
37103         * README: Update listing for mips-*-linux-gnu and
37104         mips64-*-linux-gnu.
37106 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
37108         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
37109         * sysdeps/unix/sysv/linux/m68k: Move directory from
37110         ports/sysdeps/unix/sysv/linux/m68k.
37111         * README: Update listing for m68k-*-linux-gnu.
37113 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
37115         * sysdeps/tile: Move directory from ports/sysdeps/tile.
37116         * sysdeps/unix/sysv/linux/generic: Move directory from
37117         ports/sysdeps/unix/sysv/linux/generic.
37118         * sysdeps/unix/sysv/linux/tile: Move directory from
37119         ports/sysdeps/unix/sysv/linux/tile.
37120         * README: Update listing for tile*-*-linux-gnu.
37122 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
37124         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
37125         __builtin_expect.
37126         * benchtests/bench-memmem.c (simple_memmem): Likewise.
37127         * catgets/open_catalog.c (__open_catalog): Likewise.
37128         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
37129         * debug/confstr_chk.c: Likewise.
37130         * debug/fread_chk.c (__fread_chk): Likewise.
37131         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
37132         * debug/getgroups_chk.c: Likewise.
37133         * debug/mbsnrtowcs_chk.c: Likewise.
37134         * debug/mbsrtowcs_chk.c: Likewise.
37135         * debug/mbstowcs_chk.c: Likewise.
37136         * debug/memcpy_chk.c: Likewise.
37137         * debug/memmove_chk.c: Likewise.
37138         * debug/mempcpy_chk.c: Likewise.
37139         * debug/memset_chk.c: Likewise.
37140         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
37141         * debug/strcat_chk.c (__strcat_chk): Likewise.
37142         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
37143         * debug/strncat_chk.c (__strncat_chk): Likewise.
37144         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
37145         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
37146         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
37147         * debug/wcpncpy_chk.c: Likewise.
37148         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
37149         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
37150         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
37151         * debug/wcsncpy_chk.c: Likewise.
37152         * debug/wcsnrtombs_chk.c: Likewise.
37153         * debug/wcsrtombs_chk.c: Likewise.
37154         * debug/wcstombs_chk.c: Likewise.
37155         * debug/wmemcpy_chk.c: Likewise.
37156         * debug/wmemmove_chk.c: Likewise.
37157         * debug/wmempcpy_chk.c: Likewise.
37158         * debug/wmemset_chk.c: Likewise.
37159         * dirent/scandirat.c (SCANDIRAT): Likewise.
37160         * dlfcn/dladdr1.c (dladdr1): Likewise.
37161         * dlfcn/dladdr.c (dladdr): Likewise.
37162         * dlfcn/dlclose.c (dlclose_doit): Likewise.
37163         * dlfcn/dlerror.c (__dlerror): Likewise.
37164         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
37165         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
37166         * dlfcn/dlopen.c (dlopen_doit): Likewise.
37167         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
37168         * dlfcn/dlsym.c (dlsym_doit): Likewise.
37169         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
37170         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
37171         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
37172         Likewise.
37173         * elf/dl-conflict.c: Likewise.
37174         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
37175         * elf/dl-dst.h: Likewise.
37176         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
37177         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
37178         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
37179         * elf/dl-init.c (call_init, _dl_init): Likewise.
37180         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
37181         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
37182         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
37183         Likewise.
37184         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
37185         Likewise.
37186         * elf/dl-minimal.c (__libc_memalign): Likewise.
37187         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
37188         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
37189         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
37190         * elf/dl-sym.c (do_sym): Likewise.
37191         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
37192         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
37193         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
37194         * elf/dl-writev.h (_dl_writev): Likewise.
37195         * elf/ldconfig.c (search_dir): Likewise.
37196         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
37197         (dl_main): Likewise.
37198         * elf/setup-vdso.h (setup_vdso): Likewise.
37199         * grp/compat-initgroups.c (compat_call): Likewise.
37200         * grp/fgetgrent.c (fgetgrent): Likewise.
37201         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
37202         * grp/putgrent.c (putgrent): Likewise.
37203         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37204         Likewise.
37205         * hurd/hurdinit.c: Likewise.
37206         * iconvdata/8bit-gap.c (struct): Likewise.
37207         * iconvdata/ansi_x3.110.c : Likewise.
37208         * iconvdata/big5.c : Likewise.
37209         * iconvdata/big5hkscs.c : Likewise.
37210         * iconvdata/cp1255.c: Likewise.
37211         * iconvdata/cp1258.c : Likewise.
37212         * iconvdata/cp932.c : Likewise.
37213         * iconvdata/euc-cn.c: Likewise.
37214         * iconvdata/euc-jisx0213.c : Likewise.
37215         * iconvdata/euc-jp.c: Likewise.
37216         * iconvdata/euc-jp-ms.c : Likewise.
37217         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
37218         * iconvdata/gb18030.c : Likewise.
37219         * iconvdata/gbbig5.c (const): Likewise.
37220         * iconvdata/gbgbk.c: Likewise.
37221         * iconvdata/gbk.c : Likewise.
37222         * iconvdata/ibm1364.c : Likewise.
37223         * iconvdata/ibm930.c : Likewise.
37224         * iconvdata/ibm932.c: Likewise.
37225         * iconvdata/ibm933.c : Likewise.
37226         * iconvdata/ibm935.c : Likewise.
37227         * iconvdata/ibm937.c : Likewise.
37228         * iconvdata/ibm939.c : Likewise.
37229         * iconvdata/ibm943.c: Likewise.
37230         * iconvdata/iso_11548-1.c: Likewise.
37231         * iconvdata/iso-2022-cn.c : Likewise.
37232         * iconvdata/iso-2022-cn-ext.c : Likewise.
37233         * iconvdata/iso-2022-jp-3.c: Likewise.
37234         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
37235         * iconvdata/iso-2022-kr.c : Likewise.
37236         * iconvdata/iso646.c (gconv_end): Likewise.
37237         * iconvdata/iso_6937-2.c : Likewise.
37238         * iconvdata/iso_6937.c : Likewise.
37239         * iconvdata/iso8859-1.c: Likewise.
37240         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
37241         * iconvdata/shift_jisx0213.c : Likewise.
37242         * iconvdata/sjis.c : Likewise.
37243         * iconvdata/t.61.c : Likewise.
37244         * iconvdata/tcvn5712-1.c : Likewise.
37245         * iconvdata/tscii.c: Likewise.
37246         * iconvdata/uhc.c : Likewise.
37247         * iconvdata/unicode.c (gconv_end): Likewise.
37248         * iconvdata/utf-16.c (gconv_end): Likewise.
37249         * iconvdata/utf-32.c (gconv_end): Likewise.
37250         * iconvdata/utf-7.c (base64): Likewise.
37251         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
37252         * iconv/gconv_close.c (__gconv_close): Likewise.
37253         * iconv/gconv_open.c (__gconv_open): Likewise.
37254         * iconv/gconv_simple.c (internal_ucs4_loop_single)
37255         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
37256         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
37257         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
37258         (ucs4le_internal_loop_single): Likewise.
37259         * iconv/iconv.c (iconv): Likewise.
37260         * iconv/iconv_close.c: Likewise.
37261         * iconv/loop.c (SINGLE): Likewise.
37262         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
37263         * include/atomic.h: Likewise.
37264         * inet/inet6_option.c (option_alloc): Likewise.
37265         * intl/bindtextdom.c (set_binding_values): Likewise.
37266         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
37267         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
37268         * intl/localealias.c (read_alias_file): Likewise.
37269         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
37270         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
37271         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
37272         * libio/fmemopen.c (fmemopen): Likewise.
37273         * libio/iofgets.c (_IO_fgets): Likewise.
37274         * libio/iofgets_u.c (fgets_unlocked): Likewise.
37275         * libio/iofgetws.c (fgetws): Likewise.
37276         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
37277         * libio/iogetdelim.c (_IO_getdelim): Likewise.
37278         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
37279         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
37280         * locale/findlocale.c (_nl_find_locale): Likewise.
37281         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
37282         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
37283         Likewise.
37284         * locale/setlocale.c (setlocale): Likewise.
37285         * login/programs/pt_chown.c (main): Likewise.
37286         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
37287         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
37288         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
37289         (mmap, mmap64, mremap, munmap): Likewise.
37290         * math/e_exp2l.c: Likewise.
37291         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
37292         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
37293         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
37294         * math/s_catan.c (__catan): Likewise.
37295         * math/s_catanf.c (__catanf): Likewise.
37296         * math/s_catanh.c (__catanh): Likewise.
37297         * math/s_catanhf.c (__catanhf): Likewise.
37298         * math/s_catanhl.c (__catanhl): Likewise.
37299         * math/s_catanl.c (__catanl): Likewise.
37300         * math/s_ccosh.c (__ccosh): Likewise.
37301         * math/s_ccoshf.c (__ccoshf): Likewise.
37302         * math/s_ccoshl.c (__ccoshl): Likewise.
37303         * math/s_cexp.c (__cexp): Likewise.
37304         * math/s_cexpf.c (__cexpf): Likewise.
37305         * math/s_cexpl.c (__cexpl): Likewise.
37306         * math/s_clog10.c (__clog10): Likewise.
37307         * math/s_clog10f.c (__clog10f): Likewise.
37308         * math/s_clog10l.c (__clog10l): Likewise.
37309         * math/s_clog.c (__clog): Likewise.
37310         * math/s_clogf.c (__clogf): Likewise.
37311         * math/s_clogl.c (__clogl): Likewise.
37312         * math/s_csin.c (__csin): Likewise.
37313         * math/s_csinf.c (__csinf): Likewise.
37314         * math/s_csinh.c (__csinh): Likewise.
37315         * math/s_csinhf.c (__csinhf): Likewise.
37316         * math/s_csinhl.c (__csinhl): Likewise.
37317         * math/s_csinl.c (__csinl): Likewise.
37318         * math/s_csqrt.c (__csqrt): Likewise.
37319         * math/s_csqrtf.c (__csqrtf): Likewise.
37320         * math/s_csqrtl.c (__csqrtl): Likewise.
37321         * math/s_ctan.c (__ctan): Likewise.
37322         * math/s_ctanf.c (__ctanf): Likewise.
37323         * math/s_ctanh.c (__ctanh): Likewise.
37324         * math/s_ctanhf.c (__ctanhf): Likewise.
37325         * math/s_ctanhl.c (__ctanhl): Likewise.
37326         * math/s_ctanl.c (__ctanl): Likewise.
37327         * math/w_pow.c: Likewise.
37328         * math/w_powf.c: Likewise.
37329         * math/w_powl.c: Likewise.
37330         * math/w_scalb.c (sysv_scalb): Likewise.
37331         * math/w_scalbf.c (sysv_scalbf): Likewise.
37332         * math/w_scalbl.c (sysv_scalbl): Likewise.
37333         * misc/error.c (error_tail): Likewise.
37334         * misc/pselect.c (__pselect): Likewise.
37335         * nis/nis_callback.c (__nis_create_callback): Likewise.
37336         * nis/nis_call.c (__nisfind_server): Likewise.
37337         * nis/nis_creategroup.c (nis_creategroup): Likewise.
37338         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
37339         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
37340         * nis/nis_getservlist.c (nis_getservlist): Likewise.
37341         * nis/nis_lookup.c (nis_lookup): Likewise.
37342         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
37343         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
37344         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
37345         * nis/nis_xdr.c (xdr_endpoint): Likewise.
37346         * nis/nss_compat/compat-grp.c (getgrent_next_file)
37347         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
37348         * nis/nss_compat/compat-initgroups.c (add_group)
37349         (internal_getgrent_r): Likewise.
37350         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
37351         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
37352         * nis/nss_compat/compat-spwd.c (getspent_next_file)
37353         (internal_getspnam_r): Likewise.
37354         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
37355         (_nss_nis_getaliasbyname_r): Likewise.
37356         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
37357         (_nss_nis_getntohost_r): Likewise.
37358         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
37359         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
37360         (_nss_nis_getgrgid_r): Likewise.
37361         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
37362         (internal_nis_gethostent_r, internal_gethostbyname2_r)
37363         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
37364         (_nss_nis_gethostbyname4_r): Likewise.
37365         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
37366         (initgroups_netid): Likewise.
37367         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
37368         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
37369         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
37370         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
37371         (_nss_nis_getprotobynumber_r): Likewise.
37372         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
37373         (_nss_nis_getsecretkey): Likewise.
37374         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
37375         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
37376         (_nss_nis_getpwuid_r): Likewise.
37377         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
37378         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
37379         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
37380         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
37381         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
37382         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
37383         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
37384         Likewise.
37385         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
37386         (_nss_nisplus_getntohost_r): Likewise.
37387         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
37388         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
37389         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
37390         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
37391         Likewise.
37392         * nis/nss_nisplus/nisplus-initgroups.c
37393         (_nss_nisplus_initgroups_dyn): Likewise.
37394         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
37395         (_nss_nisplus_getnetbyaddr_r): Likewise.
37396         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
37397         (_nss_nisplus_getprotobynumber_r): Likewise.
37398         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
37399         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
37400         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
37401         Likewise.
37402         * nis/nss_nisplus/nisplus-service.c
37403         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
37404         (_nss_nisplus_getservbyport_r): Likewise.
37405         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
37406         (_nss_nisplus_getspnam_r): Likewise.
37407         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
37408         Likewise.
37409         * nscd/aicache.c (addhstaiX): Likewise.
37410         * nscd/cache.c (cache_search, prune_cache): Likewise.
37411         * nscd/connections.c (register_traced_file, send_ro_fd)
37412         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
37413         (main_loop_epoll): Likewise.
37414         * nscd/grpcache.c (addgrbyX): Likewise.
37415         * nscd/hstcache.c (addhstbyX): Likewise.
37416         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37417         * nscd/mem.c (gc, mempool_alloc): Likewise.
37418         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
37419         (addinnetgrX): Likewise.
37420         * nscd/nscd-client.h (__nscd_acquire_maplock)
37421         (__nscd_drop_map_ref): Likewise.
37422         * nscd/nscd_getai.c (__nscd_getai): Likewise.
37423         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
37424         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
37425         Likewise.
37426         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
37427         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37428         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
37429         (__nscd_get_map_ref): Likewise.
37430         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
37431         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
37432         Likewise.
37433         * nscd/pwdcache.c (addpwbyX): Likewise.
37434         * nscd/selinux.c (preserve_capabilities): Likewise.
37435         * nscd/servicescache.c (addservbyX): Likewise.
37436         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
37437         * posix/fnmatch.c (fnmatch): Likewise.
37438         * posix/getopt.c (_getopt_internal_r): Likewise.
37439         * posix/glob.c (glob, glob_in_dir): Likewise.
37440         * posix/wordexp.c (exec_comm_child): Likewise.
37441         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
37442         (getanswer_r, gaih_getanswer_slice): Likewise.
37443         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
37444         * resolv/res_init.c: Likewise.
37445         * resolv/res_mkquery.c (res_nmkquery): Likewise.
37446         * resolv/res_query.c (__libc_res_nquery): Likewise.
37447         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
37448         Likewise.
37449         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
37450         * stdio-common/perror.c (perror): Likewise.
37451         * stdio-common/printf_fp.c (___printf_fp): Likewise.
37452         * stdio-common/tmpnam.c (tmpnam): Likewise.
37453         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
37454         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
37455         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
37456         Likewise.
37457         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
37458         * stdlib/putenv.c (putenv): Likewise.
37459         * stdlib/setenv.c (__add_to_environ): Likewise.
37460         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
37461         * stdlib/strtol_l.c (INTERNAL): Likewise.
37462         * string/memmem.c (memmem): Likewise.
37463         * string/strerror.c (strerror): Likewise.
37464         * string/strnlen.c (__strnlen): Likewise.
37465         * string/test-memmem.c (simple_memmem): Likewise.
37466         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
37467         * sunrpc/pm_getport.c (__get_socket): Likewise.
37468         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
37469         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
37470         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
37471         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
37472         Likewise.
37473         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
37474         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
37475         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
37476         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
37477         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
37478         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
37479         Likewise.
37480         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
37481         Likewise.
37482         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
37483         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
37484         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37485         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
37486         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
37487         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
37488         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
37489         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
37490         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
37491         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
37492         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37493         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
37494         Likewise.
37495         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
37496         Likewise.
37497         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
37498         Likewise.
37499         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
37500         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37501         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
37502         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
37503         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
37504         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
37505         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
37506         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
37507         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
37508         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
37509         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
37510         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37511         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
37512         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
37513         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37514         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
37515         Likewise.
37516         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
37517         Likewise.
37518         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
37519         Likewise.
37520         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
37521         Likewise.
37522         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37523         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37524         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
37525         Likewise.
37526         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
37527         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
37528         * sysdeps/posix/opendir.c (__opendirat): Likewise.
37529         * sysdeps/posix/sleep.c: Likewise.
37530         * sysdeps/posix/tempname.c: Likewise.
37531         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
37532         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37533         Likewise.
37534         * sysdeps/powerpc/powerpc32/dl-machine.h
37535         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
37536         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
37537         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37538         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
37539         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
37540         Likewise.
37541         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
37542         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
37543         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
37544         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
37545         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
37546         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
37547         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
37548         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
37549         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37550         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
37551         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
37552         (elf_machine_lazy_rel): Likewise.
37553         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37554         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
37555         (elf_machine_lazy_rel): Likewise.
37556         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
37557         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
37558         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
37559         * sysdeps/unix/grantpt.c (grantpt): Likewise.
37560         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
37561         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
37562         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
37563         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37564         Likewise.
37565         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
37566         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
37567         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
37568         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
37569         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37570         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37571         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
37572         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
37573         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
37574         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37575         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37576         Likewise.
37577         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
37578         (__posix_fallocate64_l64): Likewise.
37579         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
37580         (posix_fallocate): Likewise.
37581         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
37582         Likewise.
37583         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37584         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
37585         (getifaddrs_internal): Likewise.
37586         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
37587         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
37588         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
37589         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
37590         * sysdeps/unix/sysv/linux/posix_fallocate64.c
37591         (__posix_fallocate64_l64): Likewise.
37592         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
37593         Likewise.
37594         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
37595         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
37596         (__get_clockfreq): Likewise.
37597         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
37598         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
37599         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
37600         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37601         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37602         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
37603         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
37604         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
37605         Likewise.
37606         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
37607         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
37608         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
37609         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
37610         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37611         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
37612         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
37613         Likewise.
37614         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37615         (posix_fallocate): Likewise.
37616         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37617         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
37618         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
37619         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
37620         (elf_machine_rela, elf_machine_rela_relative)
37621         (elf_machine_lazy_rel): Likewise.
37622         * time/asctime.c (asctime_internal): Likewise.
37623         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
37624         * time/tzset.c (__tzset_parse_tz): Likewise.
37625         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
37626         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
37627         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
37628         * wcsmbs/wcsmbsload.h: Likewise.
37630         [BZ #15894]
37631         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
37633         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
37634         (arena_get2): Remove THREAD_STATS conditionals.
37635         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
37636         (__malloc_stats, int): Likewise.
37638 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
37640         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
37641         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
37643         * manual/setjmp.texi: Fix typos/grammar errors.
37645         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
37646         Only return early when n is <= 0.  Delete unused return statement.
37648         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
37649         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
37650         * debug/tst-longjmp_chk3.c: New file.
37652         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
37653         (test_main): Replace code with set_fortify_handler call.
37654         * debug/test-strcpy_chk.c: Likewise.
37655         * debug/tst-chk1.c: Likewise.
37656         * debug/tst-longjmp_chk.c: Likewise.
37657         * test-skeleton.c: Include fcntl.h & paths.h
37658         (set_fortify_handler): Define.
37660         * debug/tst-longjmp_chk.c: Add header comment and include
37661         ../test-skeleton.c.
37662         (do_test): Mark static.
37663         (TEST_FUNCTION): Define.
37665         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
37666         (IP_PMTUDISC_INTERFACE): Likewise.
37667         (IP_MULTICAST_IF): Likewise.
37668         (IP_MULTICAST_TTL): Likewise.
37669         (IP_MULTICAST_LOOP): Likewise.
37670         (IP_ADD_MEMBERSHIP): Likewise.
37671         (IP_DROP_MEMBERSHIP): Likewise.
37672         (IP_UNBLOCK_SOURCE): Likewise.
37673         (IP_BLOCK_SOURCE): Likewise.
37674         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
37675         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
37676         (IP_MSFILTER): Likewise.
37677         (MCAST_JOIN_GROUP): Likewise.
37678         (MCAST_BLOCK_SOURCE): Likewise.
37679         (MCAST_UNBLOCK_SOURCE): Likewise.
37680         (MCAST_LEAVE_GROUP): Likewise.
37681         (MCAST_JOIN_SOURCE_GROUP): Likewise.
37682         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
37683         (MCAST_MSFILTER): Likewise.
37684         (IP_MULTICAST_ALL): Likewise.
37685         (IP_UNICAST_IF): Likewise.
37687         * timezone/Makefile: Delete $(have-ksh) check.
37688         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
37689         * timezone/tzselect.ksh: Add +x mode bits.
37691         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
37692         (ANON_INODE_FS_MAGIC): Likewise.
37693         (BDEVFS_MAGIC): Likewise.
37694         (BINFMTFS_MAGIC): Likewise.
37695         (BTRFS_TEST_MAGIC): Likewise.
37696         (CRAMFS_MAGIC_WEND): Likewise.
37697         (DEBUGFS_MAGIC): Likewise.
37698         (ECRYPTFS_SUPER_MAGIC): Likewise.
37699         (EXT3_SUPER_MAGIC): Likewise.
37700         (EXT4_SUPER_MAGIC): Likewise.
37701         (FUTEXFS_SUPER_MAGIC): Likewise.
37702         (HOSTFS_SUPER_MAGIC): Likewise.
37703         (HUGETLBFS_MAGIC): Likewise.
37704         (MINIX3_SUPER_MAGIC): Likewise.
37705         (MTD_INODE_FS_MAGIC): Likewise.
37706         (NILFS_SUPER_MAGIC): Likewise.
37707         (OPENPROM_SUPER_MAGIC): Likewise.
37708         (PIPEFS_MAGIC): Likewise.
37709         (PSTOREFS_MAGIC): Likewise.
37710         (QNX6_SUPER_MAGIC): Likewise.
37711         (RAMFS_MAGIC): Likewise.
37712         (REISERFS_SUPER_MAGIC_STRING): Likewise.
37713         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
37714         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
37715         (SECURITYFS_MAGIC): Likewise.
37716         (SELINUX_MAGIC): Likewise.
37717         (SMACK_MAGIC): Likewise.
37718         (SOCKFS_MAGIC): Likewise.
37719         (SQUASHFS_MAGIC): Likewise.
37720         (STACK_END_MAGIC): Likewise.
37721         (TMPFS_MAGIC): Likewise.
37722         (USBDEVICE_SUPER_MAGIC): Likewise.
37723         (V9FS_MAGIC): Likewise.
37724         (XENFS_SUPER_MAGIC): Likewise.
37725         (CRAMFS_MAGIC): Fix typo in comment.
37726         (EXT2_SUPER_MAGIC): Update comment.
37727         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
37729 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
37731         * sysdeps/arm: Move directory from ports/sysdeps/arm.
37732         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
37733         * sysdeps/unix/sysv/linux/arm: Move directory from
37734         ports/sysdeps/unix/sysv/linux/arm.
37735         * README: Update listing for arm-*-linux-gnueabi.
37737         * README: Remove mention of am33.
37739 2014-02-07  Roland McGrath  <roland@hack.frob.com>
37741         * bits/sigset.h (__sigemptyset): Use a statement expression rather
37742         than the comma operator, to avoid "rhs of comma has no effect"
37743         compiler warnings.
37744         (__sigfillset, __sigandset, __sigorset): Likewise.
37745         * include/signal.h (__sigemptyset): Likewise.
37746         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
37748 2014-02-07  Allan McRae  <allan@archlinux.org>
37750         * version.h (RELEASE): Set to "development".
37751         (VERSION): Set to "2.19.90"
37752         * NEWS: Add 2.20 section.
37754 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
37756         [BZ #16529]
37757         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
37759 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37761         * manual/contrib.texi: Update entry for Carlos O'Donell,
37762         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
37764 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
37766         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
37768         * sysdeps/unix/sysv/linux/kernel-features.h
37769         [__LINUX_KERNEL_VERSION >= 0x020621]
37770         (__ASSUME_PROC_PID_TASK_COMM): Define.
37772 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37774         [BZ #16398]
37775         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
37776         conversion when destination buffer does not have enough space.
37777         * libio/tst-ftell-partial-wide.c: New test case.
37778         * libio/Makefile (tests): Add tst-ftell-partial-wide.
37780         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
37781         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
37782         Leonard and Allan McRae.
37784 2014-02-04  David S. Miller  <davem@davemloft.net>
37786         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
37787         32-bit.
37789 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
37792         New file
37793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
37794         New file
37795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
37796         New file.
37797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
37798         New file.
37799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
37800         New file.
37801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
37802         New file.
37803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
37804         New file.
37805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
37806         New file.
37807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
37808         New file.
37809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
37810         New file.
37811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
37812         New file.
37813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
37814         New file.
37815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
37816         New file.
37818 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37820         * nptl/shlib-versions: Change powerpc*le start to 2.17.
37821         * shlib-versions: Likewise.
37823 2014-02-04  Roland McGrath  <roland@hack.frob.com>
37824             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37826         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
37827         (abilist-pattern): New variable, set to %-le.abilist.
37829         * Makerules (abilist-pattern): New variable.
37830         (vpath): Use $(abilist-pattern) in place of %.abilist.
37831         (check-abi-% pattern rule): Likewise.
37832         (check-abi, update-abi): Likewise.
37834 2014-02-04  Eric Wong  <normalperson@yhbt.net>
37836         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37838 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
37840         * manual/startup.texi: Add next, previous, and top entries for
37841         the `Program Arguments' and `Environment Variables' nodes.
37843 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
37845         * manual/macros.texi: Add comments before MTASC-safety macros.
37847         * manual/users.texi: Document MTASC-safety properties.
37849         * manual/threads.texi (pthread_key_create, pthread_key_delete)
37850         (pthread_getspecific, pthread_setspecific): Format with
37851         @deftypefun, and add @safety note.
37852         * manual/signal.texi: Move comments that analyze the above
37853         functions to their home place.
37855 2014-02-03  Allan McRae  <allan@archlinux.org>
37857         * po/sl.po: Update Slovenian translation from translation project.
37859 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
37861         * manual/time.texi (timegm): Add missing blank after @c.
37862         Reported by Joseph Myers <joseph@codesourcery.com>.
37864 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
37866         * manual/check-safety.sh: New.
37867         * manual/Makefile ($(objpfx)stamp-summary): Run it.
37869         * manual/terminal.texi: Document MTASC-safety properties.
37871         * manual/filesys.texi: Document MTASC-safety properties.
37873         * manual/errno.texi: Document MTASC-safety properties.
37875         * manual/intro.texi: Document safety identifiers and
37876         conditionals.
37878         * manual/string.texi (wcstok): Fix prototype.
37879         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
37881         * manual/time.texi: Document MTASC-safety properties.
37883         * manual/string.texi: Document MTASC-safety properties.
37885         * manual/threads.texi: Document MTASC-safety properties.
37887         * manual/stdio.texi: Document MTASC-safety properties.
37889         * manual/syslog.texi: Document MTASC-safety properties.
37891         * manual/sysinfo.texi: Document MTASC-safety properties.
37893         * manual/startup.texi: Document MTASC-safety properties.
37895         * manual/socket.texi: Document MTASC-safety properties.
37897         * manual/signal.texi: Document MTASC-safety properties.
37899 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
37901         * manual/setjmp.texi: Document MTASC-safety properties.
37903         * manual/search.texi: Document MTASC-safety properties.
37905         * manual/resource.texi: Document MTASC-safety properties.
37907         * manual/process.texi: Document MTASC-safety properties.
37909         * manual/platform.texi: Document MTASC-safety properties.
37911         * manual/pipe.texi: Document MTASC-safety properties.
37913         * manual/pattern.texi: Document MTASC-safety properties.
37915         * manual/message.texi: Document MTASC-safety properties.
37917         [BZ #12751]
37918         * manual/memory.texi: Document MTASC-safety properties.
37920         * manual/math.texi: Document MTASC-safety properties.
37922         * manual/locale.texi: Document MTASC-safety properties.
37924         * manual/llio.texi: Document MTASC-safety properties.
37926         * manual/libdl.texi: New.
37928         * manual/lang.texi: Document MTASC-safety properties.
37930         * manual/job.texi: Document MTASC-safety properties.
37932         * manual/getopt.texi: Document MTASC-safety properties.
37934         * manual/ctype.texi: Document MTASC-safety properties.
37936 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
37938         [BZ #16046]
37939         * csu/libc-tls.c (static_map): Remove variable.
37940         (__libc_setup_tls): Use main executable's link map for TLS data.
37941         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
37942         casing for LM_ID_BASE and GL(dl_nns).
37943         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
37944         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
37945         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
37946         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
37947         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
37948         member.
37949         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
37950         l_phnum members.
37952 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
37954         * manual/debug.texi: Document MTASC-safety properties.
37956 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
37958         [BZ #16510]
37959         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
37960         of __x86_64__ when disabling x87 inline functions.
37962 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
37964         * manual/charset.texi: Document MTASC-safety properties.
37966         * manual/crypt.texi: Document MTASC-safety properties.
37968         * manual/conf.texi: Document MTASC-safety properties.
37970         * manual/arith.texi: Document MTASC-safety properties.
37972         * manual/argp.texi: Document MTASC-safety properties.
37974         * manual/macros.texi: Introduce macros to document multi
37975         thread, asynchronous signal and asynchronous cancellation
37976         safety properties.
37977         * manual/intro.texi: Introduce the properties themselves.
37979 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37981         * sysdeps/sh/sh4/Makefile: New file.
37983 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
37985         * math/gen-libm-test.pl ($srcdir): New variable.
37986         ($auto_input): Use it.
37988 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37990         [BZ #16506]
37991         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
37992         access beyond array bounds when parsing netgroups file.
37994         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
37995         the old buffer before realloc.
37997 2014-01-27  Allan McRae  <allan@archlinux.org>
37999         * po/fr.po: Update French translation from translation project.
38001 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38003         * sysdeps/sh/libm-test-ulps: Regenerate.
38005 2014-01-24  David S. Miller  <davem@davemloft.net>
38007         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
38009 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38011         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
38012         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
38014 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38016         [BZ #16474]
38017         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
38018         string pointers after reallocation.
38020 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38022         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
38023         __SH4A__ instead of __SH_FPU_ANY__.
38025 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38027         * sysdeps/sh/fpu_control.h: New file.
38028         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
38029         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
38030         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
38031         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
38032         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
38033         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
38034         * sysdeps/sh/sys/ucontext.h: Remove.
38035         * sysdeps/sh/sys: Remove directory.
38037 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38039         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
38040         s390/sys/ucontext.h.
38041         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
38042         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
38044 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
38046         [BZ #15605]
38047         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
38049 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38051         [BZ#16431]
38052         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38053         Adjust the vDSO correctly for internal calls.
38054         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
38056 2014-01-20  Allan McRae  <allan@archlinux.org>
38058         * po/ca.po: Update Catalan translation from translation project.
38060 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
38062         * sysdeps/s390/sotruss-lib.c: New file.
38064 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38066         [BZ#16430]
38067         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
38068         (__GI___gettimeofday): Alias for a different internal symbol to avoid
38069         local calls issues by not having a PLT stub required for IFUNC calls.
38070         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
38072 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
38074         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
38075         * math/test-fpucw-static.c: Likewise.
38077 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38079         [BZ #16453]
38080         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
38082 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38084         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
38085         implementation for powerpc.
38087 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
38089         [BZ #14782]
38090         * sysdeps/posix/system.c (__libc_system): Do not enable
38091         asynchronous cancellation.
38093 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38095         [BZ #16427]
38096         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
38097         handling only for numbers special also in the IEEE case.
38099 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38101         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38103 2014-01-11  Allan McRae  <allan@archlinux.org>
38105         * po/bg.po: Update Bulgarian translation from translation project.
38107         * po/de.po: Update German translation from translation project.
38109 2014-01-10  Roland McGrath  <roland@hack.frob.com>
38111         * sysdeps/generic/gcc-compat.h: New file.
38113 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38115         * benchtests/asin-inputs: Correct slow inputs.
38116         * benchtests/acos-inputs: Likewise.
38118 2014-01-10  Allan McRae  <allan@archlinux.org>
38120         * po:sv.po: Update Swedish translation from translation project.
38122         * po/vi.po: Update Vietnamese translation from translation project.
38124         * po/eo.po: Update Esperanto translation from translation project.
38126         * po/cs.po: Update Czech translation from translation project.
38128         * po/nl.po: Update Dutch translation from translation project.
38130         * po/pl.po: Update Polish translation from translation project.
38132         * po/ru.po: Update Russian translation from translation project.
38134         * po/uk.po: Update Ukrainian translation from translation project.
38136 2014-01-08  Brooks Moses  <bmoses@google.com>
38138         * elf/dl-load.c: Fix comment typo.
38140 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
38142         * po/header.pot: Rename to...
38143         * po/pot.header: ... this.
38144         * po/Makefile: Use pot.header.
38146 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
38147             Maxim Kuvyrkov  <maxim@kugelworks.com>
38149         [BZ #16394]
38150         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
38151         SRC and DEST against LEN.
38153 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38155         [BZ #16414]
38156         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
38157         implementation.
38158         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
38160 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38162         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38164 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
38166         [BZ #16408]
38167         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
38168         for large positive arguments.
38170 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
38172         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
38174         * math/auto-libm-test-in: Mark various tests with
38175         xfail-rounding:ldbl-128ibm.
38176         * math/auto-libm-test-out: Regenerated.
38178         [BZ #16407]
38179         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
38180         Increase overflow threshold.
38182 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
38184         [BZ #14286]
38185         * stdio-common/vfprintf.c: Check for integer overflow.
38187 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38189         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
38190         the first argument and return value of __tls_get_addr_internal.
38192 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38194         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
38195         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
38197 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38199         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
38200         * sysdeps/s390/rtld-global-offsets.sym: New file.
38201         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
38202         GLIBC_2.19 symbol.
38203         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
38204         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
38205         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
38206         ... this.
38207         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
38208         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
38209         ... this.
38210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38211         Regenerate.
38212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38213         Regenerate.
38214         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
38215         halfs of GPRs for high_gprs contexts.
38216         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
38217         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
38218         field.
38219         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
38220         uc_flags field.
38221         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
38222         64 bit versions:
38223         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
38224         for high GPRs (uc_high_gprs) and for future extensions
38225         (__reserved).
38226         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
38227         for future extensions (__reserved).
38228         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
38229         64 bit versions:
38230         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
38231         SC_HIGHGPRS offset definition.
38232         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
38233         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
38235         * Versions.def: Add GLIBC_2.19 for libpthread.
38236         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
38237         siglongjmp for libpthread with GLIBC_2.19 symver.
38238         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
38239         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
38240         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
38241         * sysdeps/s390/__longjmp.c: New file.
38242         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
38243         * sysdeps/s390/longjmp.c: New file.
38244         * sysdeps/s390/setjmp.S: New file.
38245         * sysdeps/s390/sigjmp.S: New file.
38246         * sysdeps/s390/v1-longjmp.c: New file.
38247         * sysdeps/s390/v1-setjmp.h: New file.
38248         * sysdeps/s390/v1-sigjmp.c: New file.
38249         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
38250         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
38251         GLIBC_2.19 version.
38252         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
38253         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
38254         versioned symbols for ____longjmp_chk.
38255         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
38256         Likewise.
38257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38258         Regenerate.
38259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38260         Regenerate.
38261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38262         Regenerate.
38263         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38264         Regenerate.
38265         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
38266         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
38267         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
38268         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
38269         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
38270         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
38271         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
38272         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
38273         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
38274         * sysdeps/s390/rtld-__longjmp.c: New file.
38275         * sysdeps/s390/rtld-setjmp.S: New file.
38277 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
38279         [BZ #16400]
38280         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
38281         Return -__logl (x) for small positive arguments without evaluating
38282         a polynomial.
38284 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
38286         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
38287         Rename to ...
38288         (__ptrace_peeksiginfo_args): ... this.
38289         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38290         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38291         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38293 2014-01-06  Allan McRae  <allan@archlinux.org>
38295         * inet/netinet/in.h: Fix typo in comment.
38297 2014-01-05  Andreas Jaeger  <aj@suse.de>
38299         * sysdeps/i386/fpu/libm-test-ulps: Update.
38301 2014-01-05  Allan McRae  <allan@archlinux.org>
38303         * po/libc.pot: Regenerated.
38305         * malloc/memusagestat.c: Fix gettext call formatting.
38307 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
38309         * nscd/nscd.c: Improve usage() output.
38311 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
38313         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
38314         * sysdeps/unix/sysv/linux/configure: Regenerated.
38315         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
38316         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
38318 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
38320         [BZ #16390]
38321         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
38322         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
38324 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38326         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
38327         extra tokens at end of #undef directive.
38328         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
38329         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
38330         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
38332 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
38334         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
38336         * math/auto-libm-test-in: Mark various tests with
38337         xfail-rounding:ldbl-128ibm.
38338         * math/auto-libm-test-out: Regenerated.
38340 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
38342         [BZ #16386]
38343         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
38344         numbers with subnormal high part when calculating exponent.
38346         [BZ #16385]
38347         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
38348         fabs.
38350         [BZ #16384]
38351         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
38352         M_LN2l.
38353         (__ieee754_acoshl): Use __log1pl not __log1p.
38355 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
38357         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
38358         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
38359         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
38360         (grow_heap, heap_trim, _int_new_arena, get_free_list)
38361         (reused_arena, arena_get2): Convert to GNU style.
38362         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
38363         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
38364         (memalign_check, __malloc_set_state): Likewise.
38365         * malloc/mallocbug.c (main): Likewise.
38366         * malloc/malloc.c (__malloc_assert, malloc_init_state)
38367         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
38368         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
38369         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
38370         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
38371         (__posix_memalign, malloc_info): Likewise.
38372         * malloc/malloc.h: Likewise.
38373         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
38374         (mallochook, memalignhook, reallochook, mabort): Likewise.
38375         * malloc/mcheck.h: Likewise.
38376         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
38377         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
38378         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
38379         * malloc/morecore.c (__default_morecore): Likewise.
38380         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
38381         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
38382         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
38383         (print_and_abort): Likewise.
38384         * malloc/obstack.h: Likewise.
38385         * malloc/set-freeres.c (__libc_freeres): Likewise.
38386         * malloc/tst-mallocstate.c (main): Likewise.
38387         * malloc/tst-mtrace.c (main): Likewise.
38388         * malloc/tst-realloc.c (do_test): Likewise.
38390 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38392         [BZ #16366]
38393         * nscd/netgroupcache.c (do_notfound): New function.
38394         (addgetnetgrentX): Use it.
38396         [BZ # 16365]
38397         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
38398         NSS_STATUS_NOTFOUND.
38400 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
38402         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38405 2014-01-01  Allan McRae  <allan@archlinux.org>
38407         * scripts/update-copyrights: Update configure input file suffix.
38409         * NEWS: Update copyright year.
38410         * catgets/gencat.c: Likewise.
38411         * csu/version.c: Likewise.
38412         * debug/catchsegv.sh: Likewise.
38413         * debug/pcprofiledump.c: Likewise.
38414         * debug/xtrace.sh: Likewise.
38415         * elf/ldconfig.c: Likewise.
38416         * elf/ldd.bash.in: Likewise.
38417         * elf/pldd.c: Likewise.
38418         * elf/sotruss.ksh: Likewise.
38419         * elf/sprof.c: Likewise.
38420         * iconv/iconv_prog.c: Likewise.
38421         * iconv/iconvconfig.c: Likewise.
38422         * locale/programs/locale.c: Likewise.
38423         * locale/programs/localedef.c: Likewise.
38424         * login/programs/pt_chown.c: Likewise.
38425         * malloc/memusage.sh: Likewise.
38426         * malloc/memusagestat.c: Likewise.
38427         * malloc/mtrace.pl: Likewise.
38428         * manual/libc.texinfo: Likewise.
38429         * nscd/nscd.c: Likewise.
38430         * nss/getent.c: Likewise.
38431         * nss/makedb.c: Likewise.
38432         * posix/getconf.c: Likewise.
38433         * scripts/test-installation.pl: Likewise.
38435         * All files with FSF copyright notices: Update copyright dates
38436         using scripts/update-copyrights.
38437         * intl/plural.c: Regenerated.
38438         * locale/programs/charmap-kw.h: Likewise.
38439         * locale/programs/locfile-kw.h: Likewise.
38441 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
38443         * sysdeps/unix/sysv/linux/configure: Regenerated.
38444         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
38445         the linux/fanotify.h header.
38446         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
38447         HAVE_LINUX_FANOTIFY_H is defined.
38449 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38451         * benchtests/cos-inputs: New inputs.
38452         * benchtests/sin-inputs: Likewise.
38454         * benchtests/atan-inputs: New inputs. Fix name of multiple
38455         precision fallback inputs.
38457         * benchtests/atanh-inputs: New inputs.
38458         * benchtests/tanh-inputs: Likewise.
38460         * benchtests/acosh-inputs: New inputs.
38461         * benchtests/asinh-inputs: Likewise.
38463         * benchtests/cosh-inputs: New inputs.
38464         * benchtests/sinh-inputs: Likewise.
38466         * benchtests/acos-inputs: Add more inputs.
38467         * benchtests/asin-inputs: Likewise.
38469 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
38471         [BZ #16375]
38472         * manual/arith.texi: Fix spelling.
38473         * manual/charset.texi: Likewise.
38474         * manual/errno.texi: Likewise.
38475         * manual/filesys.texi: Likewise.
38476         * manual/lang.texi: Likewise.
38477         * manual/llio.texi: Likewise.
38478         * manual/locale.texi: Likewise.
38479         * manual/message.texi: Likewise.
38480         * manual/resource.texi: Likewise.
38481         * manual/search.texi: Likewise.
38482         * manual/setjmp.texi: Likewise.
38483         * manual/stdio.texi: Likewise.
38484         * manual/string.texi: Likewise.
38485         * manual/sysinfo.texi: Likewise.
38486         * manual/time.texi: Likewise.
38488 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
38490         * po/sl.po: New file.
38492 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
38494         * .gitignore: Add core/.gdbinit/.gdb_history.
38496 2013-12-27  Allan McRae  <allan@archlinux.org>
38498         [BZ #16369]
38499         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
38500         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
38502 2013-12-24  Brooks Moses  <bmoses@google.com>
38504         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
38505         all compilers that claim C++98 compliance, not just GCC.
38506         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
38507         Likewise.
38509 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
38511         * NEWS: Restore accidentally deleted bug-fix entries.
38513 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
38514             Ondřej Bílka  <neleai@seznam.cz>
38516         [BZ #15073]
38517         * malloc/malloc.c (_int_free): Perform sanity check only if we
38518         have_lock.
38520 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
38522         [BZ #12986]
38523         * manual/stdio.texi (String Input Conversions): Clarify that character
38524         classes are not supported.
38526 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38528         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38530 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
38532         [BZ #16337]
38533         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
38534         Calculate results for small negative arguments directly rather
38535         than using reflection formula with special underflow handling.
38537         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
38538         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
38539         sysdeps/unix/bsd/bsd4.4/syscalls.list.
38540         (fchflags): Likewise.
38541         (revoke): Likewise.
38542         (setlogin): Likewise.
38543         (sigaltstack): Likewise.
38544         (wait4): Likewise.
38545         (sigblock): Remove.
38546         (sigsetmask): Likewise.
38547         (wait3): Likewise.
38548         (waitpid): Likewise.
38549         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
38550         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
38551         file.
38552         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
38553         * sysdeps/unix/bsd/Makefile: ... here.
38554         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
38555         * sysdeps/unix/bsd/Versions: ... here.
38556         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
38557         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
38558         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
38559         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
38560         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
38561         * sysdeps/unix/bsd/sigblock.c: ... here.
38562         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
38563         * sysdeps/unix/bsd/sigsetmask.c: ... here.
38564         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
38565         * sysdeps/unix/bsd/sigvec.c: ... here.
38566         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
38567         * sysdeps/unix/bsd/tcdrain.c: ... here.
38568         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
38569         * sysdeps/unix/bsd/tcgetattr.c: ... here.
38570         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
38571         * sysdeps/unix/bsd/tcsetattr.c: ... here.
38572         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
38573         * sysdeps/unix/bsd/wait.c: ... here.
38574         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
38575         * sysdeps/unix/bsd/wait3.c: ... here.
38576         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
38577         * sysdeps/unix/bsd/waitpid.c: ... here.
38579 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
38581         [BZ #16356]
38582         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
38583         round-to-nearest for [!USE_AS_EXPM1L].
38584         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
38585         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
38586         more tests of exp and exp10.  Expect some exp10 tests to miss
38587         exceptions or fail in directed rounding modes.
38588         * math/auto-libm-test-out: Regenerated.
38589         * math/libm-test.inc (exp10_tonearest_test_data): New array.
38590         (exp10_test_tonearest): New function.
38591         (exp10_towardzero_test_data): New array.
38592         (exp10_test_towardzero): New function.
38593         (exp10_downward_test_data): New array.
38594         (exp10_test_downward): New function.
38595         (exp10_upward_test_data): New array.
38596         (exp10_test_upward): New function.
38597         (main): Call the new functions.
38598         * sysdeps/i386/fpu/libm-test-ulps: Update.
38599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38601 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
38603         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
38604         asinh, atan, atan2, atanh, cbrt, cos and cosh.
38605         * math/auto-libm-test-out: Regenerated.
38606         * math/libm-test.inc (acosh_test_data): Add more tests.
38607         (atanh_test_data): Likewise.
38608         (ceil_test_data): Likewise.
38609         (copysign_test_data): Likewise.
38610         * sysdeps/i386/fpu/libm-test-ulps: Update.
38611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38613         * timezone/checktab.awk: Update from tzcode 2013i.
38614         * timezone/private.h: Likewise.
38615         * timezone/scheck.c: Likewise.
38616         * timezone/tzfile.h: Likewise.
38617         * timezone/tzselect.ksh: Likewise.
38618         * timezone/zdump.c: Likewise.
38619         * timezone/zic.c: Likewise.
38621         * math/auto-libm-test-in: Add tests of cpow.
38622         * math/auto-libm-test-out: Regenerated.
38623         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
38624         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38625         mpc_cc_c.
38626         (func_calc_desc): Add mpc_cc_c union field.
38627         (test_functions): Add cpow.
38628         (special_fill_2pi): New function.
38629         (special_real_inputs): Add 2pi.
38630         (calc_generic_results): Handle mpc_cc_c.
38631         * sysdeps/i386/fpu/libm-test-ulps: Update.
38632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38634         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
38635         csqrt, ctan and ctanh.
38636         * math/auto-libm-test-out: Regenerated.
38637         * math/libm-test.inc (TEST_COND_x86_64): New macro.
38638         (TEST_COND_x86): Likewise.
38639         (ccos_test_data): Use AUTO_TESTS_c_c.
38640         (ccosh_test_data): Likewise.
38641         (cexp_test_data): Likewise.
38642         (clog_test_data): Likewise.
38643         (csqrt_test_data): Likewise.
38644         (ctan_test_data): Likewise.
38645         (ctan_tonearest_test_data): Likewise.
38646         (ctan_towardzero_test_data): Likewise.
38647         (ctan_downward_test_data): Likewise.
38648         (ctan_upward_test_data): Likewise.
38649         (ctanh_test_data): Likewise.
38650         (ctanh_tonearest_test_data): Likewise.
38651         (ctanh_towardzero_test_data): Likewise.
38652         (ctanh_downward_test_data): Likewise.
38653         (ctanh_upward_test_data): Likewise.
38654         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38655         mpc_c_c.
38656         (func_calc_desc): Add mpc_c_c union field.
38657         (FUNC_mpc_c_c): New macro.
38658         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
38659         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
38660         ctanh.
38661         (special_fill_min_subnorm_p120): New function.
38662         (special_real_inputs): Add min_subnorm_p120.
38663         (calc_generic_results): Handle mpc_c_c.
38664         * sysdeps/i386/fpu/libm-test-ulps: Update.
38665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38667 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38669         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
38670         (do_sin_slow): New functions.
38671         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
38672         (cslow2, csloww1, csloww2): Use the new functions.
38674         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
38675         Use M to change sign of result instead of X.  Assume X is
38676         positive.
38677         (csloww1): Likewise.
38678         (__sin): Adjust.
38679         (__cos): Adjust.
38681         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
38682         arguments A and DA.
38683         (__sin): Adjust.
38684         (__cos): Likewise.
38686         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
38687         (__cos): Likewise.
38688         (sloww1): Don't adjust sign of DX.
38689         (csloww1): Likewise.
38690         (sloww2): Use X directly and don't adjust sign of DX.
38691         (csloww2): Likewise.
38693 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38695         * math/auto-libm-test-in: Add tests of cabs and carg.
38696         * math/auto-libm-test-out: Regenerated.
38697         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
38698         (carg_test_data): Likewise.
38699         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38700         mpc_c_f.
38701         (func_calc_desc): Add mpc_c_f union field.
38702         (test_functions): Add cabs and carg.
38703         (calc_generic_results): Handle mpc_c_f.
38705         * sysdeps/powerpc/powerpc32/libgcc-compat.S
38706         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
38707         as a macro and a compat symbol.
38708         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
38709         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
38710         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
38711         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
38712         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
38713         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
38714         not use .hidden.
38715         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
38716         Likewise.
38717         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
38718         Likewise.
38719         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
38720         Likewise.
38721         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
38722         Likewise.
38723         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
38724         Likewise.
38725         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
38726         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
38727         from GLIBC_2.3.2.
38729 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38733 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38735         * manual/texinfo.tex: Update to version 2013-11-26.10 with
38736         trailing whitespace removed.
38737         * scripts/config.guess: Update to version 2013-11-29.
38738         * scripts/config.sub: Update to version 2013-10-01.
38740         * math/auto-libm-test-in: Add tests of sincos.
38741         * math/auto-libm-test-out: Regenerated.
38742         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
38743         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38744         mpfr_f_11.
38745         (func_calc_desc): Add mpfr_f_11 union field.
38746         (test_functions): Add sincos.
38747         (calc_generic_results): Handle mpfr_f_11.
38748         * sysdeps/i386/fpu/libm-test-ulps: Update.
38749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38751 2013-12-19  Andreas Schwab  <schwab@suse.de>
38753         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
38754         CALL_MCOUNT.
38755         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38756         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
38757         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
38759 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38761         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
38762         * sysdeps/i386/fpu/libm-test-ulps: Update.
38763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38765         [BZ #16293]
38766         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
38767         round-to-nearest mode when using frndint.
38768         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
38769         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38770         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
38771         Likewise.
38772         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
38773         sinh test to fail.
38774         * math/auto-libm-test-out: Regenerated.
38775         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
38776         (TEST_COND_x86): Likewise.
38777         (expm1_tonearest_test_data): New array.
38778         (expm1_test_tonearest): New function.
38779         (expm1_towardzero_test_data): New array.
38780         (expm1_test_towardzero): New function.
38781         (expm1_downward_test_data): New array.
38782         (expm1_test_downward): New function.
38783         (expm1_upward_test_data): New array.
38784         (expm1_test_upward): New function.
38785         (main): Run the new test functions.
38786         * sysdeps/i386/fpu/libm-test-ulps: Update.
38787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38789         * include/features.h: Update comment documenting feature test
38790         macros.  Mention _DEFAULT_SOURCE in comment.
38791         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
38792         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
38793         _BSD_SOURCE and _SVID_SOURCE.
38794         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
38795         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
38796         !_SVID_SOURCE]: Likewise.
38797         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38798         (__USE_POSIX_IMPLICITLY): Define.
38799         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38800         (_POSIX_SOURCE): Undefine and redefine.
38801         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38802         (_POSIX_C_SOURCE): Likewise.
38803         * manual/creature.texi (_DEFAULT_SOURCE): Document.
38804         (Feature Test Macros): Update documentation of default features.
38806 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38808         * benchtests/Makefile: Add bench-strtok.
38809         * benchtests/bench-strtok.c: New file: strtok benchtest.
38811 2013-12-19  Allan McRae  <allan@archlinux.org>
38813         * manual/install.texi: Suppress menu for plain text output.
38814         * INSTALL: Regenerated.
38816 2013-12-18  Brooks Moses  <bmoses@google.com>
38818         [BZ #15846]
38819         * misc/getauxval.c: Include errno.h.
38820         (__getauxval): Set errno to ENOENT if the requested type is not
38821         found.
38822         * misc/sys/auxv.h (getauxval): Document that it may set errno;
38823         don't declare with __attribute_const__.
38824         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
38825         * manual/startup.texi: Document that getauxval sets errno.
38827 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38829         * math/auto-libm-test-in: Add tests of jn and yn.
38830         * math/auto-libm-test-out: Regenerated.
38831         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
38832         (yn_test_data): Likewise.
38833         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38834         mpfr_if_f.
38835         (func_calc_desc): Add mpfr_if_f union field.
38836         (FUNC_mpfr_if_f): New macro.
38837         (test_functions): Add jn and yn.
38838         (calc_generic_results): Assert type of second input for
38839         mpfr_ff_f.  Handle mpfr_if_f.
38840         (output_for_one_input_case): Disable all checking for arguments
38841         fitting floating-point types in case of an integer argument.
38842         * sysdeps/i386/fpu/libm-test-ulps: Update.
38843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38846         Don't expect fegetround reference in libm.so.
38848 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38850         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
38851         $(config-cflags-nofma).
38853 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38855         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
38856         * math/auto-libm-test-out: Regenerated.
38858         [BZ #16338]
38859         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
38860         to determine exponent and adjust argument to have exponent of -1.
38861         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
38862         log2.
38863         * math/auto-libm-test-out: Regenerated.
38864         * sysdeps/i386/fpu/libm-test-ulps: Update.
38865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38867 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
38869         * manual/probes.texi: Remove cases when per-thread arenas are
38870         disabled.
38872 2013-12-18  Andreas Schwab  <schwab@suse.de>
38874         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
38875         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
38876         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
38877         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
38878         * sysdeps/i386/i686/multiarch/Makefile: Update.
38879         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
38881 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38883         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
38884         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
38886 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
38888         [BZ #15968]
38889         Support TZ transition times < 00:00:00.
38890         This is needed for version-3 tz-format files; it supports time
38891         stamps past 2037 for America/Godthab (the only entry in the tz
38892         database for which this change is relevant).
38893         * manual/time.texi (TZ Variable): Document transition times
38894         from -167:59:59 through -00:00:01.
38895         * time/tzset.c (tz_rule): Time of day is now signed.
38896         (__tzset_parse_tz): Parse negative time of day.
38898         Document TZ transition times >= 25:00:00.
38899         * manual/time.texi (TZ Variable): Document transition times from
38900         25:00:00 through 167:59:59.  These are already supported, and this
38901         support will help with version-3 tz-format files.
38903         * manual/time.texi (TZ Variable): Modernize North America example
38904         to reflect current (i.e., 2007-and-later) daylight saving rules.
38906         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
38908 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38910         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
38911         * sysdeps/unix/bsd/bits/stat.h: Likewise.
38912         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
38913         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38914         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
38915         * sysdeps/unix/bsd/bsdstat.h: Likewise.
38916         * sysdeps/unix/bsd/clock.c: Likewise.
38917         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
38918         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
38919         * sysdeps/unix/bsd/init-posix.c: Likewise.
38920         * sysdeps/unix/bsd/poll.c: Likewise.
38921         * sysdeps/unix/bsd/ptsname.c: Likewise.
38922         * sysdeps/unix/bsd/seekdir.c: Likewise.
38923         * sysdeps/unix/bsd/setegid.c: Likewise.
38924         * sysdeps/unix/bsd/seteuid.c: Likewise.
38925         * sysdeps/unix/bsd/setgid.c: Likewise.
38926         * sysdeps/unix/bsd/setrgid.c: Likewise.
38927         * sysdeps/unix/bsd/setruid.c: Likewise.
38928         * sysdeps/unix/bsd/setsid.c: Likewise.
38929         * sysdeps/unix/bsd/setuid.c: Likewise.
38930         * sysdeps/unix/bsd/sigaction.c: Likewise.
38931         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
38932         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
38933         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
38934         * sysdeps/unix/bsd/telldir.c: Likewise.
38935         * sysdeps/unix/bsd/times.c: Likewise.
38936         * sysdeps/unix/bsd/usleep.c: Likewise.
38938         * misc/Makefile (install-lib): Remove libbsd-compat.a.
38939         ($(objpfx)libbsd-compat.a): Remove rule.
38941         * include/features.h (__FAVOR_BSD): Do not define.
38942         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
38943         features conflicting with POSIX.
38944         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
38945         (_BSD_SOURCE): Remove description of not being a subset of other
38946         feature test macros.
38947         * manual/job.texi (getpgrp): Do not document BSD version.
38948         (getpgid): Do not document by reference to BSD getpgrp.
38949         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
38950         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
38951         * signal/signal.h [__FAVOR_BSD]: Likewise.
38952         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
38953         instead of making contents conditional on [__FAVOR_BSD].
38954         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
38956 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38958         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38960 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38962         [BZ #16314]
38963         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
38964         values below 2**-450, not 2**-500.
38965         * math/auto-libm-test-in: Don't allow spurious underflow from
38966         hypot.
38967         * math/auto-libm-test-out: Regenerated.
38969         [BZ #16316]
38970         [BZ #16330]
38971         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
38972         values of ha and hb and sort them after adjusting subnormal
38973         arguments.
38974         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38975         Likewise.
38976         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
38977         values of ea and eb and sort them after adjusting subnormal
38978         arguments.
38979         * math/auto-libm-test-in: Do not expect some hypot tests of
38980         subnormals to fail.  Add more hypot tests.
38981         * math/auto-libm-test-out: Regenerated.
38983 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38985         [BZ #13304]
38986         * sysdeps/sh/s_fma.c: New file.
38987         * sysdeps/sh/s_fmaf.c: New file.
38988         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
38989         version.
38990         * sysdeps/sh/Implies: Add sh/soft-fp.
38992 2013-12-16  Roland McGrath  <roland@hack.frob.com>
38994         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
38995         level of indirection to members `objname', `errstring', `malloced'.
38996         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
38997         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
38998         it as the __longjmp argument (just pass 1 instead).
38999         (_dl_catch_error): Initialize C with argument pointers and address of
39000         volatile local ERRCODE rather than copying values out of C at return.
39002 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
39004         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
39005         * math/auto-libm-test-out: Regenerated.
39006         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
39007         (hypot_test_data): Likewise.
39008         (pow_test_data): Likewise.
39009         (pow_tonearest_test_data): Likewise.
39010         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39011         mpfr_ff_f.
39012         (func_calc_desc): Add mpfr_ff_f union field.
39013         (FUNC_mpfr_ff_f): New macro.
39014         (test_functions): Add atan2, hypot and pow.
39015         (special_fill_min): New function.
39016         (special_fill_minus_min): Likewise.
39017         (special_fill_min_subnorm): Likewise.
39018         (special_fill_minus_min_subnorm): Likewise.
39019         (special_real_inputs): Add min, -min, min_subnorm and
39020         -min_subnorm.
39021         (calc_generic_results): Handle mpfr_ff_f.
39022         * sysdeps/i386/fpu/libm-test-ulps: Update.
39023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39025 2013-12-16  Will Newton  <will.newton@linaro.org>
39027         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
39028         (Aligned Memory Blocks): Add documentation for aligned_alloc
39029         and suggest it as an alternative to posix_memalign.
39030         (Hooks for Malloc): Document __memalign_hook is also called
39031         for aligned_alloc.  (Summary of Malloc): Add summary for
39032         aligned alloc.  Document __memalign_hook is also called
39033         for aligned_alloc.
39035 2013-12-16  Will Newton  <will.newton@linaro.org>
39037         * manual/memory.texi (Malloc Examples): Clarify default
39038         alignment documentation.  Suggest posix_memalign rather
39039         than memalign or valloc.
39040         (Aligned Memory Blocks): Remove suggestion to use memalign
39041         or valloc.  Remove obsolete comment about BSD.
39042         Document memalign errno values and mark the function obsolete.
39043         Document posix_memalign returned error codes.  Mark valloc
39044         as obsolete.  (Hooks for Malloc): __memalign_hook is also
39045         called for posix_memalign and valloc.
39046         (Summary of Malloc): Add posix_memalign to function summary.
39047         __memalign_hook is also called for posix_memalign and valloc.
39049 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39051         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
39052         TAYLOR_SIN.
39053         (__sin): Adjust.
39054         (__cos): Likewise.
39055         (sloww): Use mynumber union.  Expand ternary operator into
39056         if-else statements.
39057         (cslow): use mynumber union.
39059 2013-12-16  Allan McRae  <allan@archlinux.org>
39061         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
39062         * configure: Regenerated.
39064         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
39066         [BZ #14120]
39067         * configure.ac: Added --enable-maintainer-mode. Check for
39068         autoconf when enabled.
39069         * configure: Regenerated.
39071         * nscd/nscd.service: New file.
39072         * nscd/nscd.tmpfiles: New file.
39074 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
39076         [BZ #12100]
39077         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
39078         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
39079         * sysdeps/x86_64/multiarch/strstr.c: ... here.
39080         (strstr): Add __strstr_sse2_unaligned ifunc.
39081         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
39082         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
39083         (strcasestr): Remove __strcasestr_sse42 ifunc.
39084         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
39085         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
39086         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
39088 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39090         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
39091         * sysdeps/sh/bits/fenv.h: ... here.
39092         * sysdeps/sh/sh4/fpu/bits: Remove directory.
39094 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39096         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
39098         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
39099         hypotf multiarch implementations.
39100         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
39101         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
39102         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
39103         multiarch hypot for PPC64.
39104         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
39105         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
39106         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
39107         multiarch hypotf for PPC64.
39109         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
39110         modff multiarch implementations.
39111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
39112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
39113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
39114         multiarch modf for PPC64.
39115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
39116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
39117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
39118         multiarch modff for PPC64.
39120         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
39121         and logl multiarch implementations.
39122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
39123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
39124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
39125         multiarch logb for PPC64.
39126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
39127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
39128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
39129         multiarch logb for PPC64.
39130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
39131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
39132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
39133         multiarch logb for PPC64.
39135         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
39136         isinff multiarch implementation.
39137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
39138         file.
39139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
39140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
39141         multiarch isinf for PPC64.
39142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
39143         file.
39144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
39145         multiarch isinff for PPC64.
39147         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
39148         finitef multiarch implementation.
39149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
39150         file.
39151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
39152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
39153         multiarch finite for PPC64.
39154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
39155         file.
39156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
39157         multiarch finitef for PPC64.
39159         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
39160         lrint multiarch implementation.
39161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
39162         file.
39163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
39164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
39165         multiarch llrint for PPC64.
39166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
39167         multiarch lrint for PPC64.
39169         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
39170         copysignf multiarch implementation.
39171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
39172         file.
39173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
39174         file.
39175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
39176         multiarch copysign for PPC64.
39177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
39178         multiarch copysignf for PPC64.
39180         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
39181         multiarch implementation.
39182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
39183         file.
39184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
39185         file.
39186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
39187         file.
39188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
39189         file.
39190         multiarch llround for PPC64.
39191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
39192         multiarch trunc for PPC64.
39193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
39194         multiarch truncf for PPC64.
39196         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
39197         multiarch implementation.
39198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
39199         file.
39200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
39201         file.
39202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
39203         file.
39204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
39205         file.
39206         multiarch llround for PPC64.
39207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
39208         multiarch round for PPC64.
39209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
39210         multiarch roundf for PPC64.
39212         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
39213         multiarch implementation.
39214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
39215         file.
39216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
39217         file.
39218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
39219         file.
39220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
39221         file.
39222         multiarch llround for PPC64.
39223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
39224         multiarch floor for PPC64.
39225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
39226         multiarch floorf for PPC64.
39228         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
39229         multiarch implementation.
39230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
39231         file.
39232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
39233         file.
39234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
39235         file.
39236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
39237         file.
39238         multiarch llround for PPC64.
39239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
39240         multiarch ceil for PPC64.
39241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
39242         multiarch ceilf for PPC64.
39244         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39245         multiarch implementation.
39246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
39247         file.
39248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
39249         file.
39250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
39251         file.
39252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
39253         multiarch llround for PPC64.
39254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
39255         multiarch lround for PPC64.
39257         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39258         multiarch implementation.
39259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
39260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
39261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
39262         file.
39263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
39264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
39265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
39266         multiarch isnan for PPC64.
39267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
39268         multiarch isnanf for PPC64.
39270         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
39271         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
39272         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
39273         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
39274         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
39275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
39277         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
39278         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39279         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39280         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39282         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
39283         multiarch implementations.
39284         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39285         (__libc_ifunc_impl_list): Likewise.
39286         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
39287         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
39288         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
39289         multiarch stpcpy for PPC64.
39291         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
39292         multiarch implementations.
39293         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39294         (__libc_ifunc_impl_list): Likewise.
39295         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
39296         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
39297         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
39298         multiarch strcpy for PPC64.
39300         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
39301         redefine function name.
39302         (_wordcopy_fwd_dest_aligned): Likewise.
39303         (_wordcopy_bwd_aligned): Likewise.
39304         (_wordcopy_bwd_dest_aligned): Likewise.
39305         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
39306         multiarch implementations.
39307         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39308         (__libc_ifunc_impl_list): Likewise.
39309         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
39310         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
39311         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
39312         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
39313         multiarch wcscpy for PPC64.
39315         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
39316         multiarch implementations.
39317         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39318         (__libc_ifunc_impl_list): Likewise.
39319         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
39320         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
39321         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
39322         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
39323         multiarch wcscpy for PPC64.
39325         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
39326         multiarch implementations.
39327         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39328         (__libc_ifunc_impl_list): Likewise.
39329         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
39330         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
39331         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
39332         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
39333         multiarch wcsrchr for PPC64.
39335         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
39336         multiarch implementations.
39337         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39338         (__libc_ifunc_impl_list): Likewise.
39339         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
39340         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
39341         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
39342         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
39343         multiarch wcschr for PPC64.
39345         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
39346         multiarch implementations.
39347         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39348         (__libc_ifunc_impl_list): Likewise.
39349         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
39350         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
39351         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
39352         multiarch strchrnul for PPC64.
39354         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
39355         implementations.
39356         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39357         (__libc_ifunc_impl_list): Likewise.
39358         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
39359         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
39360         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
39361         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
39362         strchr for PPC64.
39364         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
39365         implementations.
39366         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39367         (__libc_ifunc_impl_list): Likewise.
39368         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
39369         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
39370         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
39371         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
39372         strncmp for PPC64.
39374         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
39375         multiarch implementations.
39376         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39377         (__libc_ifunc_impl_list): Likewise.
39378         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
39379         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
39380         strncasecmp for PPC64.
39381         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
39382         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
39383         multiarch strncasecmp_l for PPC64.
39385         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
39386         multiarch implementations.
39387         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39388         (__libc_ifunc_impl_list): Likewise.
39389         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
39390         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
39391         multiarch strcasecmp for PPC64.
39392         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
39393         file.
39394         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
39395         multiarch strcasecmp_l for PPC64.
39397         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
39398         implementations.
39399         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39400         (__libc_ifunc_impl_list): Likewise.
39401         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
39402         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
39403         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
39404         strnlen for PPC64.
39406         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
39407         implementations.
39408         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39409         (__libc_ifunc_impl_list): Likewise.
39410         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
39411         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
39412         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
39413         strlen for PPC64.
39415         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
39416         implementations.
39417         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39418         (__libc_ifunc_impl_list): Likewise.
39419         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
39420         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
39421         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
39422         rawmemrchr for PPC64.
39424         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
39425         implementation.
39426         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39427         (__libc_ifunc_impl_list): Likewise.
39428         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
39429         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
39430         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
39431         memrchr for PPC64.
39433         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
39434         implementation.
39435         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39436         (__libc_ifunc_impl_list): Likewise.
39437         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
39438         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
39439         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
39440         memchr for PPC64.
39442         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
39443         implementation.
39444         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39445         (__libc_ifunc_impl_list): Likewise.
39446         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
39447         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
39448         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
39449         mempcpy for PPC64.
39451         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
39452         avoid cretion of __bzero symbol.
39453         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
39454         Likewise.
39455         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
39456         Likewise.
39457         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
39458         Likewise.
39459         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
39460         multiarch implementations.
39461         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39462         (__libc_ifunc_impl_list): Likewise.
39463         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
39464         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
39465         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
39466         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
39467         bzero for PPC32.
39468         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
39469         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
39470         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
39471         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
39472         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
39473         memset for PPC64.
39474         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
39476         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
39477         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
39478         implementations.
39479         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39480         (__libc_ifunc_impl_list): Likewise.
39481         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
39482         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
39483         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
39484         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
39485         memcmp for PPC64.
39487         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
39488         multiarch for POWER/PPC64.
39489         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
39490         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
39491         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
39492         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
39493         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
39494         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
39495         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
39496         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
39497         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
39498         memcpy for PPC64.
39500         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
39501         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
39502         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
39503         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
39504         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
39505         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
39506         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
39507         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
39508         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
39509         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
39510         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
39511         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
39512         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
39513         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
39514         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
39515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
39516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
39517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
39518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
39519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
39520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
39521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
39523 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39525         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
39527 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39529         * benchtests/Makefile (bench): Add exp2 and log2.
39530         (LDLIBS-bench-exp2): Add -lm.
39531         (LDLIBS-bench-log2): Likewise.
39532         * benchtests/exp2-inputs: New inputs file.
39533         * benchtests/log2-inputs: New inputs file.
39534         * benchtests/log-inputs: Add new inputs.
39535         * benchtests/tan-inputs: Likewise.
39537 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39539         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
39540         definition...
39541         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
39542         (csloww2): ... from here.
39544         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
39545         instead of structures.
39546         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
39547         (POLYNOMIAL): Likewise.
39548         (TAYLOR_SLOW): Likewise.
39549         (__sin): Likewise.
39550         (__cos): Likewise.
39551         (slow1): Likewise.
39552         (slow2): Likewise.
39553         (sloww): Likewise.
39554         (sloww1); Likewise.
39555         (sloww2): Likewise.
39556         (bsloww1): Likewise.
39557         (bsloww2): Likewise.
39558         (cslow2): Likewise.
39559         (csloww): Likewise.
39560         (csloww1): Likewise.
39561         (csloww2): Likewise.
39563 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
39565         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
39566         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
39567         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
39568         * malloc/hooks.c (realloc_check): Likewise.
39570         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
39571         * malloc/arena.c: Remove PER_THREAD conditional.
39572         [!PER_THREAD]: Remove code.
39573         (ptmalloc_unlock_all2): Likewise.
39574         (ptmalloc_init): Likewise.
39575         (_int_new_arena): Likewise.
39576         (arena_get2): Likewise.
39577         * malloc/hooks.c (__malloc_get_state): Likewise.
39578         (__malloc_set_state): Likewise.
39579         * malloc/malloc.c: Likewise.
39580         (struct malloc_state): Likewise.
39581         (struct malloc_par): Likewise.
39582         (__libc_realloc): Likewise.
39583         (__libc_mallopt): Likewise.
39585 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39587         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
39589 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
39591         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
39592         macro to a function.  Check for zero perturb_byte.
39593         (_int_malloc, _int_free): Remove zero perturb_byte checks.
39595         * malloc/malloc.c: (force_reg): Remove.
39596         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
39597         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
39598         force_reg by atomic_forced_read.
39599         * malloc/arena.c (ptmalloc_init): Likewise.
39600         * malloc/hooks.c (top_check): Likewise.
39602 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39604         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39606 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
39608         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39610 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
39612         * math/auto-libm-test-in: Add tests of lgamma.
39613         * math/auto-libm-test-out: Regenerated.
39614         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
39615         (M_LOG_2_SQRT_PIl): Likewise.
39616         (lgamma_test_data): Use AUTO_TESTS_f_f1.
39617         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39618         mpfr_f_f1.
39619         (func_calc_desc): Add mpfr_f_f1 union field.
39620         (ARGS1): New macro.
39621         (ARGS2): Likewise.
39622         (ARGS3): Likewise.
39623         (ARGS4): Likewise.
39624         (RET1): Likewise.
39625         (RET2): Likewise.
39626         (CALC): Likewise.
39627         (FUNC): Likewise.
39628         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
39629         (test_functions): Add lgamma.
39630         (calc_generic_results): Handle mpfr_f_f1.
39631         * sysdeps/i386/fpu/libm-test-ulps: Update.
39632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39634 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39636         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
39637         __mpn_add_n for PowerPC64/POWER7.
39638         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
39639         __mpn_sub_n for PowerPC64/POWER7.
39641         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
39642         __mpn_addmul_1 for PowerPC64.
39643         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
39644         __mpn_submul_1 for PowerPC64.
39645         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
39646         for PowerPC64.
39647         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
39648         for PowerPC64.
39650 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
39652         [BZ #15089]
39653         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
39655 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39657         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
39659         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
39660         add multiarch folders.
39661         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
39662         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
39663         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
39664         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
39665         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
39666         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
39667         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
39668         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
39669         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
39670         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
39671         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
39672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
39673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
39674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
39675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
39676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
39677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
39679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
39680         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
39681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
39682         New file.
39683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
39684         New file.
39685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
39686         multiarch __ieee754_hypot for PowerPC32.
39687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
39688         New file.
39689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
39690         New file.
39691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
39692         multiarch __ieee754_hypotf for PowerPC32.
39694         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
39695         long_double_symbol only if __logbl is defined.
39696         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
39697         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
39698         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
39699         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
39700         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
39701         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
39702         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
39703         path for implementation.
39704         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
39705         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
39706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
39707         logb, and logbl multiarch implementations for PowerPC32.
39708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
39709         file.
39710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
39711         file.
39712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
39713         multiarch logb for PowerPC32.
39714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
39715         file.
39716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
39717         file.
39718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
39719         multiarch logbf for PowerPC32.
39720         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
39721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
39722         file.
39723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
39724         multiarch logbl implementation for PowerPC32.
39726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
39727         and modff multiarch implementations.
39728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
39729         New file.
39730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
39731         New file.
39732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
39733         multiarch modf for PowerPC32.
39734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
39735         New file.
39736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
39737         New file.
39738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
39739         multiarch modff for PowerPC32.
39741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
39742         and lrintf multiarch implementations.
39743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
39744         New file.
39745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
39746         New file.
39747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
39748         multiarch lrint for PowerPC32.
39749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
39750         file: multiarch lrintf for PowerPC32.
39752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
39753         and lroundf multiarch implementations.
39754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
39755         New file.
39756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
39757         New file.
39758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
39759         New file.
39760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
39761         multiarch lround for PowerPC32.
39762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
39763         file: multiarch lroundf for PowerPC32.
39765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
39766         copysign and copysignf multiarch implementations.
39767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
39768         New file.
39769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
39770         New file.
39771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
39772         file: multiarch copysign for PowerPC32.
39773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
39774         file: multiarch copysignf for PowerPC32.
39776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
39777         and truncf multiarch implementations.
39778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
39779         New file.
39780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
39781         file.
39782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
39783         multiarch trunc for PowerPC32.
39784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
39785         New file.
39786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
39787         New file.
39788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
39789         multiarch truncf for PowerPC32.
39791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
39792         and roundf multiarch implementations.
39793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
39794         New file.
39795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
39796         file.
39797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
39798         multiarch round for PowerPC32.
39799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
39800         New file.
39801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
39802         New file.
39803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
39804         multiarch roundf for PowerPC32.
39806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
39807         and floorf multiarch implementations.
39808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
39809         New file.
39810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
39811         file.
39812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
39813         multiarch floor for PowerPC32.
39814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
39815         New file.
39816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
39817         New file.
39818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
39819         multiarch floorf for PowerPC32.
39821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
39822         and ceilf multiarch implementations.
39823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
39824         New file.
39825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
39826         file.
39827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
39828         multiarch ceil for PowerPC32.
39829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
39830         New file.
39831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
39832         file.
39833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
39834         multiarch ceilf for PowerPC32.
39836         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
39837         is defined.
39838         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
39839         FINITEF is defined.
39840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
39841         and finitef multiarch implementations.
39842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
39843         New file.
39844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
39845         file.
39846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
39847         multiarch finite for PowerPC32.
39848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
39849         New file.
39850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
39851         file: multiarch finitef for PowerPC32.
39853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
39854         and isinff multiarch implementations.
39855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
39856         file.
39857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
39858         file.
39859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
39860         multiarch isinf for PowerPC32.
39861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
39862         New file.
39863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
39864         multiarch isinff for PowerPC32.
39866         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
39867         alias when __isnan is defined.
39868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
39869         and isnanf multiarch implementations.
39870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
39871         file.
39872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
39873         file.
39874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
39875         file.
39876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
39877         file.
39878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
39879         multiarch isnan for PowerPC32.
39880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
39881         New file.
39882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
39883         New file.
39884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
39885         multiarch isnanf for PowerPC32.
39887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
39888         and sqrtf multiarch implementations.
39889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
39890         file.
39891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
39892         file.
39893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
39894         multiarch sqrt for PowerPC32.
39895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
39896         file.
39897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
39898         file.
39899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
39900         multiarch sqrtf for PowerPC32.
39902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
39903         and llroundf multiarch implementations.
39904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
39905         New file.
39906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
39907         New file.
39908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
39909         New file.
39910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
39911         file: multiarch llround for PowerPC32.
39912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
39913         file: multiarch llroundf for PowerPC32.
39915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
39916         multiarch PowerPC32 fpu implementations.
39917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
39918         New file.
39919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
39920         New file.
39921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
39922         multiarch llrint for PowerPC32.
39923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
39924         New file.
39925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
39926         New file.
39927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
39928         file.
39930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
39932         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
39933         file.
39934         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
39935         file.
39936         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
39937         file.
39938         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
39939         multiarch wordcopy for PPC32.
39940         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
39941         wordcopy objects.
39942         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39943         (__libc_ifunc_impl_list): Likewise.
39944         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
39945         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
39946         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
39947         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
39948         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
39949         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
39951         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
39952         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
39953         file.
39954         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
39955         file.
39956         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
39957         file.
39958         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
39959         multiarch wcscpy for PPC32.
39960         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
39961         multiarch objects.
39962         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39963         (__libc_ifunc_impl_list): Likewise.
39964         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
39965         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
39966         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
39967         sysdeps/powerpc/power6/wcscpy.c.
39969         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
39970         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
39971         file.
39972         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
39973         file.
39974         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
39975         file.
39976         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
39977         multiarch wcsrchr for PPC32.
39978         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
39979         multiarch objects.
39980         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39981         (__libc_ifunc_impl_list): Likewise.
39982         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
39983         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
39984         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
39985         sysdeps/powerpc/power6/wcsrchr.c.
39987         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
39988         file.
39989         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
39990         file.
39991         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
39992         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
39993         multiarch wcschr for PPc32.
39994         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
39995         multiarch objects.
39996         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39997         (__libc_ifunc_impl_list): Likewise.
39998         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
39999         * sysdeps/powerpc/power6/wcschr.c: ... to here.
40000         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
40001         sysdeps/powerpc/power6/wcschr.c.
40003         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
40004         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
40005         file.
40006         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
40007         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
40008         file: multiarch strchr for PPC32.
40009         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
40010         multiarch objects.
40011         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40012         (__libc_ifunc_impl_list): Likewise.
40014         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
40015         name.
40016         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
40017         file.
40018         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
40019         file.
40020         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
40021         multiarch strchrnul for PPC32.
40022         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
40023         multiarch objects.
40024         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40025         (__libc_ifunc_impl_list): Likewise.
40027         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
40028         file.
40029         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
40030         multiarch strncasecmp for PPC32.
40031         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
40032         file.
40033         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
40034         multiarch strncasecmp_l for PPC32.
40035         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
40036         strncasecmp multiarch objects.
40037         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40038         (__libc_ifunc_impl_list): Likewise.
40040         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
40041         file.
40042         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
40043         multiarch strncasecmp for PPC32.
40044         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
40045         New file.
40046         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
40047         multiarch strcasecmp_l for PPC32.
40048         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
40049         multiarch objects.
40050         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40051         (__libc_ifunc_impl_list): Likewise.
40053         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
40054         file.
40055         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
40056         file.
40057         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
40058         multiarch strncmp for PPC32.
40059         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
40060         multiarch objects.
40061         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40062         (__libc_ifunc_impl_list): Likewise.
40064         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
40065         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
40066         file.
40067         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
40068         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
40069         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
40070         multiarch objects.
40071         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40072         (__libc_ifunc_impl_list): Likewise.
40074         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
40075         file.
40076         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
40077         file.
40078         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
40079         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
40080         multiarch objects.
40081         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40082         (__libc_ifunc_impl_list): Likewise.
40084         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
40085         file.
40086         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
40087         file.
40088         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
40089         multiarch rawmemchr for PPC32.
40090         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
40091         multiarch objects.
40092         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40093         (__libc_ifunc_impl_list): Likewise.
40095         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
40096         file.
40097         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
40098         file.
40099         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
40100         file: memrchr multiarch for PPC32.
40101         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
40102         multiarch objects.
40103         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40104         (__libc_ifunc_impl_list): Likewise.
40106         * string/memchr.c (__memchr): Using macro to redefine symbol name.
40107         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
40108         file.
40109         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
40110         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
40111         multiarch memchr for PPC32.
40112         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
40113         multiarch objects.
40114         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40115         (__libc_ifunc_impl_list): Likewise.
40117         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
40118         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
40119         file.
40120         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
40121         file.
40122         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
40123         file: multiarch mempcpy for PPC32.
40124         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
40125         multiarch objects.
40126         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40127         (__libc_ifunc_impl_list): Likewise.
40129         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
40130         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
40131         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
40132         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
40133         multiarch bzero for PPC32.
40134         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
40135         file.
40136         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
40137         file.
40138         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
40139         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
40140         file: multiarch memset for PPC32.
40141         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
40142         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
40143         memset multiarch objects.
40144         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40145         (__libc_ifunc_impl_list): Likewise.
40147         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
40148         file.
40149         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
40150         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
40151         memcmp for PPC32.
40152         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
40153         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
40154         multiarch objects.
40155         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40156         (__libc_ifunc_impl_list): Likewise.
40158         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
40159         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
40160         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
40161         file.
40162         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
40163         file.
40164         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
40165         file.
40166         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
40167         multiarch memcpy for PPC32.
40168         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
40169         multiarch objects.
40170         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40171         (__libc_ifunc_impl_list): Likewise.
40173         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
40174         support multiarch for POWER/PPC32.
40175         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
40176         Likewise.
40177         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
40178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
40179         Implies file to make multiarch folder appers before the fpu and
40180         default folder for power4 configuration.
40182 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40184         * scripts/bench.pl: Append volatile keyword to type.
40186 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40188         * sysdeps/sh/sotruss-lib.c: New file.
40189         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
40191 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40193         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40195 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
40197         [BZ #6810]
40198         * math/w_tgamma.c: Include <errno.h>.
40199         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
40200         * math/w_tgammaf.c: Include <errno.h>.
40201         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
40202         * math/w_tgammal.c: Include <errno.h>.
40203         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
40204         * math/auto-libm-test-in: Do not allow missing errno on tgamma
40205         underflow.  Add more tgamma tests.
40206         * math/auto-libm-test-out: Regenerated.
40207         * sysdeps/i386/fpu/libm-test-ulps: Update.
40208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40210         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
40211         sin, sinh, tan, tanh, tgamma, y0 and y1.
40212         * math/auto-libm-test-out: Regenerated.
40213         * math/libm-test.inc (TEST_COND_x86_64): New macro.
40214         (TEST_COND_x86): Likewise.
40215         (M_E2l): Remove macro.
40216         (M_E3l): Likewise.
40217         (M_2_SQRT_PIl): Likewise.
40218         (M_SQRT_PIl): Likewise.
40219         (M_1_DIV_El): Likewise.
40220         (log_test_data): Use AUTO_TESTS_f_f.
40221         (log10_test_data): Likewise.
40222         (log1p_test_data): Likewise.
40223         (log2_test_data): Likewise.
40224         (sin_test_data): Likewise.
40225         (sin_tonearest_test_data): Likewise.
40226         (sin_towardzero_test_data): Likewise.
40227         (sin_downward_test_data): Likewise.
40228         (sin_upward_test_data): Likewise.
40229         (sinh_test_data): Likewise.
40230         (sinh_tonearest_test_data): Likewise.
40231         (sinh_towardzero_test_data): Likewise.
40232         (sinh_downward_test_data): Likewise.
40233         (sinh_upward_test_data): Likewise.
40234         (tan_test_data): Likewise.
40235         (tan_tonearest_test_data): Likewise.
40236         (tan_towardzero_test_data): Likewise.
40237         (tan_downward_test_data): Likewise.
40238         (tan_upward_test_data): Likewise.
40239         (tanh_test_data): Likewise.
40240         (tgamma_test_data): Likewise.
40241         (y0_test_data): Likewise.
40242         (y1_test_data): Likewise.
40243         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
40244         (special_real_inputs): Add pi/4.
40245         * sysdeps/i386/fpu/libm-test-ulps: Update.
40246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40248 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40250         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
40251         "longjmp_target" static probes.
40252         (__longjmp): Rename to __longjmp_symbol.
40253         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40254         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
40255         on which longjmp to generate.
40256         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
40257         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
40258         probe.
40259         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40260         (__sigjmp_save): Rename to __sigjmp_save_symbol.
40261         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40262         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
40263         and __sigjmp_save_symbol based on which sigsetjmp to generated.
40264         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
40266         __longjmp_symbol based on which __longjmp to generate.
40267         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
40268         probe.
40269         (setjmp): Rename to setjmp_symbol.
40270         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40271         (_setjmp): Rename to _setjmp_symbol.
40272         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40273         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
40274         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
40275         which setjmp to generate.
40276         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
40277         "longjmp_target" static probes.
40279 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40281         * benchtests/README: Add note about output arguments.
40282         * benchtests/bench-sincos.c: Remove file.
40283         * benchtests/sincos-inputs: New file.
40284         * scripts/bench.pl: Identify output arguments and define
40285         static variables for them.
40287         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
40289         [BZ #15941]
40290         * Makefile (INSTALL): Add install-plain.texi as the primary
40291         dependency.
40292         * manual/install-plain.texi: New file.
40293         * manual/install.texi: Include node directive only for
40294         non-plaintext output.
40296 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
40298         * stdlib/longlong.h: Update from GCC.
40300         [BZ #6807]
40301         [BZ #15901]
40302         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
40303         * math/w_j0f.c (y0f): Likewise.
40304         * math/w_j0l.c (__y0l): Likewise.
40305         * math/w_j1.c (y1): Likewise.
40306         * math/w_j1f.c (y1f): Likewise.
40307         * math/w_j1l.c (__y1l): Likewise.
40308         * math/w_jn.c (yn): Likewise.
40309         * math/w_jnf.c (ynf): Likewise.
40310         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
40311         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
40312         value for Bessel function domain errors outside _SVID_ mode.
40313         Adjust sign of return value for yn (negative integer, 0).
40314         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
40315         by zero in return for negative x and set sign appropriately for
40316         negative n.
40317         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
40318         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40319         * math/libm-test.inc (y0_test_data): Add more tests and adjust
40320         expectations in error cases.
40321         (y1_test_data): Likewise.
40322         (yn_test_data): Likewise.
40323         * sysdeps/i386/fpu/libm-test-ulps: Update.
40324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40326 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40328         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
40329         "64" to "64-v1".  Add "64-v2".
40330         (abi-64-options): Rename to ...
40331         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
40332         (abi-64-condition): Rename to ...
40333         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
40334         (abi-64-ld-soname): Rename to ...
40335         (abi-64-v1-ld-soname): ... this.
40336         (abi-64-v2-options): Define.
40337         (abi-64-v2-condition): Likewise.
40338         (abi-64-v2-ld-soname): Likewise.
40339         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
40340         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
40341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
40342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
40343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
40345 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40346             Alan Modra  <amodra@gmail.com>
40348         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
40349         New versions for use with the ELFv2 ABI.
40350         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
40351         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
40352         declaration.
40353         (struct La_ppc64v2_retval): Likewise.
40354         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
40355         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
40356         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
40357         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
40358         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
40359         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
40360         Do not save or restore CR.
40361         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
40362         (_dl_profile_resolve): Do no save or restore CR.  Support extended
40363         return values for ELFv2 ABI.  Fix location of FPR return registers.
40364         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
40365         updated values for _CALL_ELF == 2.
40366         (La_regs, La_retval, int_retval): Likewise.
40368 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40370         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
40371         (FRAME_MIN_SIZE_PARM): Likewise.
40372         (FRAME_BACKCHAIN): Likewise.
40373         (FRAME_CR_SAVE): Likewise.
40374         (FRAME_LR_SAVE): Likewise.
40375         (FRAME_TOC_SAVE): Likewise.
40376         (FRAME_PARM_SAVE): Likewise.
40377         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
40378         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
40379         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
40380         (call_mcount_parm_offset): New macro.
40381         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
40382         (PROF): Use symbolic stack frame offsets.
40383         (TAIL_CALL_SYSCALL_ERROR): Likewise.
40384         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
40385         Redefine in terms of FRAME_MIN_SIZE.
40386         (_dl_runtime_resolve): Use symbolic stack frame offsets.
40387         (_dl_profile_resolve): Likewise.  Update comment.
40388         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
40389         symbols stack frame offsets.
40390         (__sigsetjmp): Likewise.
40391         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
40392         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
40393         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
40394         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
40396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
40397         (FRAME_BACKCHAIN): Remove.
40398         (FRAME_CR_SAVE): Likewise.
40399         (FRAME_LR_SAVE): Likewise.
40400         (FRAME_COMPILER_DW): Likewise.
40401         (FRAME_LINKER_DW): Likewise.
40402         (FRAME_TOC_SAVE): Likewise.
40403         (FRAME_PARM_SAVE): Likewise.
40404         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
40405         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
40406         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
40407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
40408         (CHECK_SP): Use symbolic stack frame offsets.
40409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
40410         zone" instead of caller's parameter save area for temp storage.
40411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
40412         Likewise.  Also, use symbolic stack frame offsets.
40413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
40414         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
40415         our own stack frame instead of the caller's.
40416         (__socket): Use symbolic stack frame offsets.
40418 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40419             Alan Modra  <amodra@gmail.com>
40421         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
40422         Define.
40423         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
40424         (PPC64_LOCAL_ENTRY_OFFSET): Define.
40425         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
40426         New function.
40427         (elf_machine_fixup_plt): Call it.
40428         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
40429         reloc arguments.
40430         (elf_machine_rela): Update call to elf_machine_plt_conflict.
40431         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
40432         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
40433         r2 before calling target.
40435 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40436             Alan Modra  <amodra@gmail.com>
40438         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
40439         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
40440         versions of macros to support ELFv2 ABI.
40441         (LOCALENTRY): New macro.
40442         (ENTRY, EALIGN): Use it.
40443         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
40444         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
40445         fall through into ENTRY entry point.
40446         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
40447         Only define if _CALL_ELF != 2.
40449         (elf_machine_matches_host): Verify ABI version matches.
40450         (RTLD_START): Use LOCALENTRY.
40451         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
40452         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
40453         (PLT_ENTRY_WORDS): New macro.
40454         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
40455         (elf_machine_runtime_setup): Support ELFv2 ABI.
40456         (elf_machine_fixup_plt): Likewise.
40457         (elf_machine_plt_conflict): Likewise.
40458         (resolve_ifunc): Likewise.
40459         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
40460         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
40461         Likewise.
40462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
40463         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
40464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40465         (makecontext): Support ELFv2 ABI.
40466         * elf/elf.h (EF_PPC64_ABI): Define.
40468 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40470         * sysdeps/powerpc/powerpc64/sysdep.h
40471         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
40472         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
40473         (ENTRY) [ASSEMBLER]: ... but instead here ...
40474         (EALIGN) [ASSEMBLER]: ... and here.
40475         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
40476         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
40477         (ENTRY_2) [!ASSEMBLER]: Use it.
40478         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
40479         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
40480         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
40481         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
40482         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
40483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
40484         Use PPC64_LOAD_FUNCPTR.
40486         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
40488 2013-12-04  Alan Modra  <amodra@gmail.com>
40490         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
40491         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
40492         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
40493         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
40495         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
40496         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
40497         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
40498         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
40499         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
40500         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
40502 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40505         (__makecontext): Fix incorrect CFI when backtracing out of
40506         context created via makecontext.
40507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
40508         (__setcontext): Fix incorrect CFI during switch to new context.
40509         (__novec_setcontext): Likewise.
40511 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
40513         [BZ #4772]
40514         * time/strptime_l.c (__strptime_internal): Allow modifiers
40515         in strptime.
40516         * time/tst-strptime.c (day_tests): Add testcase.
40518 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40520         * scripts/bench.pl: Skip over blank lines.
40522 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
40524         [BZ #926]
40525         * manual/time.texi (Calendar Time): Clarify what timezone functions
40526         use.
40528 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40530         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40532 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
40534         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
40535         implementation.
40536         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
40537         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
40538         * debug/memset_chk.c (__memset_chk): Likewise.
40539         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
40540         * debug/strncpy_chk.c: Likewise.
40542 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
40544         [BZ #15268]
40545         [BZ #15425]
40546         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
40547         (__ieee754_exp): For possibly underflowing results, check size of
40548         result and force underflow exception if required.
40549         * math/auto-libm-test-in: Add more tests of exp.
40550         * math/auto-libm-test-out: Regenerated.
40551         * sysdeps/i386/fpu/libm-test-ulps: Update.
40552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40554         [BZ #16283]
40555         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
40556         * math/w_exp2f.c (__exp2f): Likewise.
40557         * math/w_exp2l.c (__exp2l): Likewise.
40558         * math/auto-libm-test-in: Do not allow missing errno on exp2
40559         underflow.
40560         * math/auto-libm-test-out: Regenerated.
40562 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
40564         [BZ #16274]
40565         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
40566         handle filename validation.
40567         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
40568         (do_open): Delete.
40570 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
40572         [BZ #6786]
40573         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
40574         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
40575         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
40576         <float.h>.
40577         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
40578         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
40579         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40580         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
40581         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40582         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
40583         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40584         * math/auto-libm-test-in: Don't allow missing errno from erfc.
40585         Add more erfc tests.
40586         * math/auto-libm-test-out: Regenerated.
40587         * sysdeps/i386/fpu/libm-test-ulps: Update.
40588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40590         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
40591         exp2, expm1, j0 and j1.
40592         * math/auto-libm-test-out: Regenerated.
40593         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
40594         (erfc_test_data): Likewise.
40595         (exp_test_data): Likewise.
40596         (exp_tonearest_test_data): Likewise.
40597         (exp_towardzero_test_data): Likewise.
40598         (exp_downward_test_data): Likewise.
40599         (exp_upward_test_data): Likewise.
40600         (exp10_test_data): Likewise.
40601         (exp2_test_data): Likewise.
40602         (expm1_test_data): Likewise.
40603         (j0_test_data): Likewise.
40604         (j1_test_data): Likewise.
40605         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
40606         (input_flag_type): Add flag_xfail_rounding.
40607         (input_flags): Add xfail-rounding.
40608         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
40609         (output_for_one_input_case): Handle flag_xfail_rounding.
40610         * sysdeps/i386/fpu/libm-test-ulps: Update.
40611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40613 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
40615         [BZ #16289]
40616         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
40617         division by 0.
40619 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40621         [BZ #16195]
40622         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
40623         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
40624         (STAP_PROBE0): New macro.
40625         (STAP_PROBE1): Likewise.
40626         (STAP_PROBE2): Likewise.
40627         (STAP_PROBE3): Likewise.
40628         (STAP_PROBE4): Likewise.
40630 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
40632         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
40634 2013-12-02  Steve Ellcey  <sellcey@mips.com>
40636         * benchtests/Makefile (bench): Add sqrt.
40637         (LDLIBS-bench-sqrt): New.
40638         * benchtests/sqrt-input: New.
40640 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
40642         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
40643         (GAIH_EAI): Likewise.
40644         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
40645         (gaih_inet): Likewise.
40646         (getaddrinfo): Don't use GAIH_EAI.
40648         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
40649         (struct gaih): Remove definition.
40651 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40653         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
40654         Use HERRNOP directly.
40656 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40660 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
40662         * math/gen-auto-libm-tests.c (test_functions): Add more
40663         single-argument functions.
40664         (special_fill_pi_2): New function.
40665         (special_fill_minus_pi_2): Likewise.
40666         (special_fill_pi_6): Likewise.
40667         (special_fill_minus_pi_6): Likewise.
40668         (special_fill_pi_3): Likewise.
40669         (special_fill_2pi_3): Likewise.
40670         (special_fill_e): Likewise.
40671         (special_fill_1_e): Likewise.
40672         (special_fill_e_minus_1): Likewise.
40673         (special_real_inputs): Add more special inputs.
40674         (output_for_one_input_case): Do not require ERANGE on underflow to
40675         zero if round-to-nearest result does not underflow to zero, unless
40676         exact results required.
40677         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
40678         atan, atanh, cbrt, cos and cosh.
40679         * math/auto-libm-test-out: Regenerated.
40680         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
40681         (acos_tonearest_test_data): Likewise.
40682         (acos_towardzero_test_data): Likewise.
40683         (acos_downward_test_data): Likewise.
40684         (acos_upward_test_data): Likewise.
40685         (acosh_test_data): Likewise.
40686         (asin_test_data): Likewise.
40687         (asin_tonearest_test_data): Likewise.
40688         (asin_towardzero_test_data): Likewise.
40689         (asin_upward_test_data): Likewise.
40690         (asinh_test_data): Likewise.
40691         (atan_test_data): Likewise.
40692         (atanh_test_data): Likewise.
40693         (cbrt_test_data): Likewise.
40694         (cos_test_data): Likewise.
40695         (cos_tonearest_test_data): Likewise.
40696         (cos_towardzero_test_data): Likewise.
40697         (cos_downward_test_data): Likewise.
40698         (cos_upward_test_data): Likewise.
40699         (cosh_test_data): Likewise.
40700         (cosh_tonearest_test_data): Likewise.
40701         (cosh_towardzero_test_data): Likewise.
40702         (cosh_downward_test_data): Likewise.
40703         (cosh_upward_test_data): Likewise.
40704         * sysdeps/i386/fpu/libm-test-ulps: Update.
40705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40707 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
40709         [BZ #6787]
40710         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
40711         * math/w_exp10f.c (__exp10f): Likewise.
40712         * math/w_exp10l.c (__exp10l): Likewise.
40713         * math/libm-test.inc (exp10_test_data): Add more tests and expect
40714         errno settings in existing tests.
40716         [BZ #14032]
40717         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
40718         precision control set to double precision.
40719         * sysdeps/i386/fpu/w_sqrt.c: New file.
40720         * math/auto-libm-test-in: Add more tests.
40721         * math/auto-libm-test-out: Update.
40723         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
40724         (sqrt_test_tonearest): New function.
40725         (sqrt_towardzero_test_data): New variable.
40726         (sqrt_test_towardzero): New function.
40727         (sqrt_downward_test_data): New variable.
40728         (sqrt_test_downward): New function.
40729         (sqrt_upward_test_data): New variable.
40730         (sqrt_test_upward): New function.
40731         (main): Call the new functions.
40733         * math/gen-auto-libm-tests.c: New file.
40734         * math/auto-libm-test-in: Likewise.
40735         * math/auto-libm-test-out: New generated file.
40736         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
40737         variables.
40738         (%beautify): Add generated representations of zero.
40739         (top level): Set $auto_input and call parse_auto_input.
40740         (beautify): Remove trailing "f" from hex float constants.
40741         (parse_args): Handle XFAIL_TEST.
40742         (convert_condition): New function.
40743         (or_value): Likewise.
40744         (or_cond_value): Likewise.
40745         (generate_testfile): Handle AUTO_TESTS_* lines.
40746         (parse_auto_input): New function.
40747         * math/libm-test.inc (XFAIL_TEST): New macro.
40748         (ERRNO_UNCHANGED): Update value.
40749         (ERRNO_EDOM): Likewise.
40750         (ERRNO_ERANGE): Likewise.
40751         (IGNORE_RESULT): Likewise.
40752         (TEST_COND_flt_32): New macro.
40753         (TEST_COND_dbl_64): Likewise.
40754         (TEST_COND_ldbl_96_intel): Likewise.
40755         (TEST_COND_ldbl_96_m68k): Likewise.
40756         (TEST_COND_ldbl_128): Likewise.
40757         (TEST_COND_ldbl_128ibm): Likewise.
40758         (TEST_COND_long32): Likewise.
40759         (TEST_COND_long64): Likewise.
40760         (TEST_COND_before_rounding): Likewise.
40761         (TEST_COND_after_rounding): Likewise.
40762         (enable_test): Handle XFAIL_TEST flag.
40763         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
40764         with finite results.
40765         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
40766         auto-libm-test-out.
40768 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40769             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40771         [BZ #16214]
40772         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
40773         __tls_get_addr_internal instead of __tls_get_offset in order to
40774         avoid GOT pointer dependency.  Make rtld export
40775         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
40776         __tls_get_addr since we are a __tls_get_offset platform.
40777         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
40778         GOT pointer being set up before.
40779         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
40781 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
40783         * manual/math.texi (Errors in Math Functions): Document accuracy
40784         goals.
40786         [BZ #15004]
40787         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
40788         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
40789         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40790         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40791         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40792         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40793         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40794         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40795         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40796         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40797         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40798         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40799         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40800         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40801         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40802         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40804         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
40805         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
40806         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
40807         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
40808         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
40809         Likewise.
40810         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
40811         Likewise.
40812         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
40813         Likewise.
40814         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
40815         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
40816         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
40817         atomic-feupdateenv and flt-rounds.
40818         * sysdeps/powerpc/nofpu/Versions (libc): Add
40819         __atomic_feholdexcept, __atomic_feclearexcept,
40820         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
40821         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
40822         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
40823         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
40824         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
40825         here.
40826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
40827         Update.
40829         * manual/arith.texi (FP Exceptions): Document that exceptions may
40830         not be raised when matherr is used.
40831         (Math Error Reporting): Document overflow in directed rounding
40832         modes.  Document that errno may not be set when finite values are
40833         returned on overflow.  Document intent to set errno on underflow
40834         only for underflow to zero.
40836         [BZ #16271]
40837         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
40838         round-to-nearest then adjust result for other rounding modes.
40839         * include/fenv.h (fegetround): Use libm_hidden_proto.
40840         * math/fegetround.c (fegetround): Use libm_hidden_def.
40841         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
40842         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
40843         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
40844         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
40845         Likewise.
40846         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
40847         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40848         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
40849         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
40851 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40853         [BZ #16077]
40854         * nss/Versions (libnss_files): Add
40855         _nss_files_gethostbyname3_r.
40856         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
40857         New function.
40858         (HOST_DB_LOOKUP): Remove macro.
40859         (_nss_files_gethostbyname_r): Implement function without the
40860         HOST_DB_LOOKUP macro.
40861         (_nss_files_gethostbyname2_r): Likewise.
40863 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
40865         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
40867 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
40869         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
40870         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
40871         warning.
40873 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40875         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
40876         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
40877         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
40878         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40879         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
40880         __fe_nomask_env_priv and attribute_hidden.
40881         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
40882         (libc_feupdateenv_test_ppc): Likewise.
40883         (libc_feresetround_ppc): Likewise.
40884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40885         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
40886         compat_symbol macro.
40887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40888         (__fe_nomask_env): Likewise.
40889         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
40891 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40893         * string/Makefile: Remove ifunc tests.
40894         * string/test-string.h: Define TEST_IFUNC.
40895         * string/test-bcopy-ifunc.c: Remove.
40896         * string/test-bzero-ifunc.c: Likewise.
40897         * string/test-memccpy-ifunc.c: Likewise.
40898         * string/test-memchr-ifunc.c: Likewise.
40899         * string/test-memcmp-ifunc.c: Likewise.
40900         * string/test-memcpy-ifunc.c: Likewise.
40901         * string/test-memmem-ifunc.c: Likewise.
40902         * string/test-memmove-ifunc.c: Likewise.
40903         * string/test-mempcpy-ifunc.c: Likewise.
40904         * string/test-memrchr-ifunc.c: Likewise.
40905         * string/test-memset-ifunc.c: Likewise.
40906         * string/test-rawmemchr-ifunc.c: Likewise.
40907         * string/test-stpcpy-ifunc.c: Likewise.
40908         * string/test-stpncpy-ifunc.c: Likewise.
40909         * string/test-strcasecmp-ifunc.c: Likewise.
40910         * string/test-strcasestr-ifunc.c: Likewise.
40911         * string/test-strcat-ifunc.c: Likewise.
40912         * string/test-strchr-ifunc.c: Likewise.
40913         * string/test-strchrnul-ifunc.c: Likewise.
40914         * string/test-strcmp-ifunc.c: Likewise.
40915         * string/test-strcpy-ifunc.c: Likewise.
40916         * string/test-strcspn-ifunc.c: Likewise.
40917         * string/test-strlen-ifunc.c: Likewise.
40918         * string/test-strncasecmp-ifunc.c: Likewise.
40919         * string/test-strncat-ifunc.c: Likewise.
40920         * string/test-strncmp-ifunc.c: Likewise.
40921         * string/test-strncpy-ifunc.c: Likewise.
40922         * string/test-strnlen-ifunc.c: Likewise.
40923         * string/test-strpbrk-ifunc.c: Likewise.
40924         * string/test-strrchr-ifunc.c: Likewise.
40925         * string/test-strspn-ifunc.c: Likewise.
40926         * string/test-strstr-ifunc.c: Likewise.
40928 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40930         * benchtests/Makefile: Remove ifunc tests.
40931         * benchtests/bench-string.h: Define TEST_IFUNC.
40932         * benchtests/bench-bcopy-ifunc.c: Remove.
40933         * benchtests/bench-bzero-ifunc.c: Likewise.
40934         * benchtests/bench-memccpy-ifunc.c: Likewise.
40935         * benchtests/bench-memchr-ifunc.c: Likewise.
40936         * benchtests/bench-memcmp-ifunc.c: Likewise.
40937         * benchtests/bench-memcpy-ifunc.c: Likewise.
40938         * benchtests/bench-memmem-ifunc.c: Likewise.
40939         * benchtests/bench-memmove-ifunc.c: Likewise.
40940         * benchtests/bench-mempcpy-ifunc.c: Likewise.
40941         * benchtests/bench-memrchr-ifunc.c: Likewise.
40942         * benchtests/bench-memset-ifunc.c: Likewise.
40943         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
40944         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
40945         * benchtests/bench-stpcpy-ifunc.c: Likewise.
40946         * benchtests/bench-stpncpy-ifunc.c: Likewise.
40947         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
40948         * benchtests/bench-strcasestr-ifunc.c: Likewise.
40949         * benchtests/bench-strcat-ifunc.c: Likewise.
40950         * benchtests/bench-strchr-ifunc.c: Likewise.
40951         * benchtests/bench-strchrnul-ifunc.c: Likewise.
40952         * benchtests/bench-strcmp-ifunc.c: Likewise.
40953         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
40954         * benchtests/bench-strcpy-ifunc.c: Likewise.
40955         * benchtests/bench-strcspn-ifunc.c: Likewise.
40956         * benchtests/bench-strlen-ifunc.c: Likewise.
40957         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
40958         * benchtests/bench-strncat-ifunc.c: Likewise.
40959         * benchtests/bench-strncmp-ifunc.c: Likewise.
40960         * benchtests/bench-strncpy-ifunc.c: Likewise.
40961         * benchtests/bench-strnlen-ifunc.c: Likewise.
40962         * benchtests/bench-strpbrk-ifunc.c: Likewise.
40963         * benchtests/bench-strrchr-ifunc.c: Likewise.
40964         * benchtests/bench-strsep-ifunc.c: Likewise.
40965         * benchtests/bench-strspn-ifunc.c: Likewise.
40966         * benchtests/bench-strstr-ifunc.c: Likewise.
40968 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40970         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
40972 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40974         * resolv/netdb.h: Use __glibc_reserved instead __unused.
40975         * rt/aio.h: Likewise.
40976         * sysdeps/gnu/bits/utmp.h: Likewise.
40977         * sysdeps/gnu/bits/utmpx.h: Likewise.
40978         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40979         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
40980         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
40981         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
40982         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
40983         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
40984         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
40985         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
40986         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
40987         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
40988         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
40989         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
40990         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
40991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
40992         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
40993         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
40994         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
40995         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
40996         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
40997         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
40998         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
40999         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
41000         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
41001         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41002         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
41003         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41004         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
41005         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
41006         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
41007         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
41008         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
41009         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
41010         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
41011         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
41012         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
41013         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
41014         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
41015         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
41016         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
41017         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
41018         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
41019         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
41021 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
41023         [BZ #16245]
41024         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
41025         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
41027 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
41029         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
41030         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41031         Likewise.
41033 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41035         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
41036         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
41037         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
41038         (__fesetround): Remove define.
41039         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
41040         rounding and exceptions handling.
41041         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
41042         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
41043         (__fe_nomask_env): Likewise.
41044         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
41045         __fegetround instead of fegetround.
41046         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41047         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
41049 2013-11-21  Roland McGrath  <roland@hack.frob.com>
41051         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
41052         it's there.
41054         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
41056 2013-11-21  Meador Inge  <meadori@codesourcery.com>
41058         [BZ #11157]
41059         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
41060         (encrypt_r): Likewise.
41061         * malloc/obstack.h (obstack_free): Likewise.
41062         * posix/unistd.h (encrypt): Likewise.
41064 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
41066         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
41067         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
41068         DL_CALL_DT_FINI() that call the functions directly.
41069         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
41070         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
41071         * elf/dl-fini.c: Likewise.
41073 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
41075         * malloc/hooks.c (memalign_check): Add alignment rounding.
41076         * malloc/malloc.c (_mid_memalign): New function.
41077         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
41078         Implement by calling _mid_memalign.
41079         * manual/probes.texi (Memory Allocation Probes): Remove
41080         memory_valloc_retry and memory_pvalloc_retry.
41082 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41084         * locale/programs/locarchive.c (open_archive): Add const
41085         qualifier to ARCHIVEFNAME and copy default fname to
41086         DEFAULT_FNAME.
41088         [BZ #15601]
41089         * libio/tst-widetext.input: Rename Oriya to Odia.
41090         * locale/iso-639.def: Likewise.
41092         * manual/probes.texi (Mathematical Function Probes): Add
41093         documentation for sin, cos, asin and acos probes.
41094         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
41095         (__sin32): Add slowasin probe.
41096         (__cos32): Add slowacos probe.
41097         (__mpsin): Add slowsin probe.
41098         (__mpcos): Add slowcos probe.
41100 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
41102         [BZ #15483]
41103         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
41104         thread-local __sim_exceptions_thread and global
41105         __sim_exceptions_global.
41106         (__sim_disabled_exceptions): Change to thread-local
41107         __sim_disabled_exceptions_thread and global
41108         __sim_disabled_exceptions_global.
41109         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
41110         and global __sim_round_mode_global.
41111         (__simulate_exceptions): Use thread-local floating-point state and
41112         set global state from it as needed.
41113         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
41114         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
41115         __sim_round_mode_thread.
41116         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
41117         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
41118         and global __sim_exceptions_global.
41119         (__sim_disabled_exceptions): Change to thread-local
41120         __sim_disabled_exceptions_thread and global
41121         __sim_disabled_exceptions_global.
41122         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
41123         and global __sim_round_mode_global.
41124         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
41125         (SIM_SET_GLOBAL): Likewise.
41126         * sysdeps/powerpc/soft-fp/sfp-machine.h
41127         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
41128         __sim_round_mode_thread.
41129         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
41130         __sim_disabled_exceptions_thread.
41131         (__sim_exceptions): Change to __sim_exceptions_thread.
41132         (__sim_disabled_exceptions): Change to
41133         __sim_disabled_exceptions_thread.
41134         (__sim_round_mode): Change to __sim_round_mode_thread.
41135         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
41136         thread-local floating-point state and set global state from it as
41137         needed.
41138         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
41139         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
41140         (__sim_disabled_exceptions): Remove extern declaration.
41141         (feenableexcept): Use thread-local floating-point state and set
41142         global state from it as needed.
41143         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
41144         extern declaration.
41145         (__sim_disabled_exceptions): Likewise.
41146         (__sim_round_mode): Likewise.
41147         (__fegetenv): Use thread-local floating-point state.
41148         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
41149         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
41150         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
41151         floating-point state and set global state from it as needed.
41152         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
41153         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41154         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
41155         Likewise.
41156         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41157         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
41158         Likewise.
41159         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
41160         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
41161         Use __sim_round_mode_thread.
41162         * math/test-fenv-tls.c: New file.
41163         * math/Makefile (tests): Add test-fenv-tls.
41164         ($(objpfx)test-fenv-tls): Depend on
41165         $(common-objpfx)nptl/libpthread.so.
41167 2013-11-19  Andreas Schwab  <schwab@suse.de>
41169         * locale/programs/locale.c (show_info): Decode wordarray elements.
41170         * locale/categories.def (LC_MONETARY): Add element for
41171         _NL_MONETARY_CRNCYSTR.
41172         * locale/C-monetary.c (conversion_rate): New variable.
41173         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
41174         element.
41176 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
41178         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
41179         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
41181 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
41183         * elf/Makefile (tst-auxv): New test.
41184         * elf/tst-auxv.c: New
41185         * elf/rtld.c (dl_main): Adjust AT_EXECFN
41187 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
41189         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
41190         (hidden_proto): Caller changed.
41191         (hidden_tls_proto): New macro.
41192         (libc_hidden_tls_proto): Likewise.
41193         (rtld_hidden_tls_proto): Likewise.
41194         (libm_hidden_tls_proto): Likewise.
41195         (libresolv_hidden_tls_proto): Likewise.
41196         (librt_hidden_tls_proto): Likewise.
41197         (libdl_hidden_tls_proto): Likewise.
41198         (libnss_files_hidden_tls_proto): Likewise.
41199         (libnsl_hidden_tls_proto): Likewise.
41200         (libnss_nisplus_hidden_tls_proto): Likewise.
41201         (libutil_hidden_tls_proto): Likewise.
41203 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
41205         [BZ #10253]
41206         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
41207         (decompose_rpath): Defer expansion to fillin_rpath.
41208         (_dl_init_paths): Pass linkmap to fillin_rpath.
41210 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41212         * benchtests/Makefile: Add strsep.
41213         * benchtests/bench-strsep.c: New file: strsep benchtest.
41214         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
41216 2013-11-18  Andreas Schwab  <schwab@suse.de>
41218         * locale/programs/locale.c (show_info) [case byte]: Check for
41219         '\377' instead of '\177'.
41220         * locale/C-monetary.c (not_available): Always use "\377".
41221         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
41222         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
41223         detect unavailable sign_posn locale elements.
41224         * locale/localeconv.c (__localeconv): For grouping and
41225         mon_grouping handle "\177" and "\377" like no grouping.
41226         (INT_ELEM): New macro.  Use it to set all numeric members.
41227         * locale/programs/ld-monetary.c (monetary_read)
41228         <tok_mon_grouping>: Normalize single -1 to the empty string.
41229         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
41230         Likewise.
41232 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
41234         [BZ #16055]
41235         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
41236         when we match (nil).
41237         * stdio-common/tst-sscanf.c (struct test): Add testcase.
41239 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
41241         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
41242         (NO_TEST_INLINE): Update value.
41243         (ERRNO_UNCHANGED): Likewise.
41244         (ERRNO_EDOM): Likewise.
41245         (ERRNO_ERANGE): Likewise.
41246         (IGNORE_RESULT): Likewise.
41247         (check_float_internal): Check signs of NaN results if
41248         TEST_NAN_SIGN used.
41249         (check_complex): Pass TEST_NAN_SIGN flag through to second
41250         check_float_internal call.
41251         (copysign_test_data): Add tests with quiet NaNs as second
41252         argument.  Use TEST_NAN_SIGN.
41253         (fabs_test_data): Add test of negative quiet NaN argument.  Use
41254         TEST_NAN_SIGN.
41255         (signbit_test_data): Add tests of quiet NaN argument.
41256         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
41258         * math/gen-libm-test.pl (show_exceptions): Take extra argument
41259         $ignore_result.
41260         (parse_args): Handle function results specified as IGNORE.
41261         * math/libm-test.inc (IGNORE_RESULT): New macro.
41262         (check_float_internal): Do not check numerical result if flag
41263         IGNORE_RESULT set.
41264         (check_complex): Pass through IGNORE_RESULT to second
41265         check_float_internal call.
41266         (check_int): Do not check numerical result if flag IGNORE_RESULT
41267         set.
41268         (check_long): Likewise.
41269         (check_bool): Likewise.
41270         (check_longlong): Likewise.
41271         (lrint_test_data): Add tests of infinite and NaN arguments.
41272         (lrint_tonearest_test_data): Likewise.
41273         (lrint_towardzero_test_data): Likewise.
41274         (lrint_downward_test_data): Likewise.
41275         (lrint_upward_test_data): Likewise.
41276         (llrint_test_data): Likewise.
41277         (llrint_tonearest_test_data): Likewise.
41278         (llrint_towardzero_test_data): Likewise.
41279         (llrint_downward_test_data): Likewise.
41280         (llrint_upward_test_data): Likewise.
41281         (lround_test_data): Likewise.
41282         (llround_test_data): Likewise.
41284         * math/libm-test.inc (NO_TEST_INLINE): New macro.
41285         (ERRNO_UNCHANGED): Update value.
41286         (ERRNO_EDOM): Likewise.
41287         (ERRNO_ERANGE): Likewise.
41288         (NO_TEST_INLINE_FLOAT): New macro.
41289         (NO_TEST_INLINE_DOUBLE): Likewise.
41290         (enable_test): New function.
41291         (RUN_TEST_f_f): Check enable_test before running test.
41292         (RUN_TEST_2_f): Likewise.
41293         (RUN_TEST_fff_f): Likewise.
41294         (RUN_TEST_c_f): Likewise.
41295         (RUN_TEST_f_f1): Likewise.
41296         (RUN_TEST_fF_f1): Likewise.
41297         (RUN_TEST_fI_f1): Likewise.
41298         (RUN_TEST_ffI_f1): Likewise.
41299         (RUN_TEST_c_c): Likewise.
41300         (RUN_TEST_cc_c): Likewise.
41301         (RUN_TEST_f_i): Likewise.
41302         (RUN_TEST_f_i_tg): Likewise.
41303         (RUN_TEST_ff_i_tg): Likewise.
41304         (RUN_TEST_f_b): Likewise.
41305         (RUN_TEST_f_b_tg): Likewise.
41306         (RUN_TEST_f_l): Likewise.
41307         (RUN_TEST_f_L): Likewise.
41308         (RUN_TEST_fFF_11): Likewise.
41309         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
41310         conditionals.
41311         (cosh_test_data): Likewise.
41312         (exp_test_data): Likewise.
41313         (expm1_test_data): Likewise.
41314         (hypot_test_data): Likewise.
41315         (pow_test_data): Likewise.
41316         (sinh_test_data): Likewise.
41317         (tanh_test_data): Likewise.
41318         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
41319         flags argument.
41321         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
41322         tests with quiet NaN input and output.
41323         (acosh_test_data): Likewise.
41324         (asin_test_data): Likewise.
41325         (asinh_test_data): Likewise.
41326         (atan_test_data): Likewise.
41327         (atanh_test_data): Likewise.
41328         (atan2_test_data): Likewise.
41329         (cbrt_test_data): Likewise.
41330         (cos_test_data): Likewise.
41331         (cosh_test_data): Likewise.
41332         (erf_test_data): Likewise.
41333         (erfc_test_data): Likewise.
41334         (exp_test_data): Likewise.
41335         (exp10_test_data): Likewise.
41336         (exp2_test_data): Likewise.
41337         (expm1_test_data): Likewise.
41338         (hypot_test_data): Likewise.
41339         (j0_test_data): Likewise.
41340         (j1_test_data): Likewise.
41341         (jn_test_data): Likewise.
41342         (lgamma_test_data): Likewise.
41343         (log_test_data): Likewise.
41344         (log10_test_data): Likewise.
41345         (log1p_test_data): Likewise.
41346         (log2_test_data): Likewise.
41347         (pow_test_data): Likewise.
41348         (scalb_test_data): Likewise.
41349         (sin_test_data): Likewise.
41350         (sincos_test_data): Likewise.
41351         (sinh_test_data): Likewise.
41352         (tan_test_data): Likewise.
41353         (tanh_test_data): Likewise.
41354         (tgamma_test_data): Likewise.
41355         (y0_test_data): Likewise.
41356         (y1_test_data): Likewise.
41357         (yn_test_data): Likewise.
41359         [BZ #16167]
41360         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
41361         argument being NaN and avoid computations with second argument in
41362         that case.
41363         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41364         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
41365         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41367 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
41369         * locale/iso-639.def: Add Chitwani Tharu (the).
41371 2013-11-14  Andreas Schwab  <schwab@suse.de>
41373         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
41374         word instead of empty string.
41376 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41379         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
41380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41381         (__fe_nomask_env): Likewise.
41383 2013-11-13  Steve Ellcey  <sellcey@mips.com>
41385         * benchtests/bench-timing.h: Include time.h.
41387 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
41389         [BZ #15997]
41390         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
41391         to 3.4.0 for x32.
41392         * sysdeps/unix/sysv/linux/configure: Regenerated.
41394 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
41396         [BZ #16151]
41397         * stdlib/strtod_l.c (round_and_return): Do not consider
41398         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
41399         exponent one less than half the least subnormal exponent.
41400         * stdlib/test-strtod-round-data: Add more tests.
41401         * stdlib/tst-strtod-round.c (tests): Regenerated.
41403 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41405         [BZ #14143]
41406         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
41407         (__fe_mask_env): Likewise.
41408         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
41409         libm_hidden_proto and add function prototype.
41410         (__fe_mask_env): Add function prototype.
41411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41412         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
41413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
41414         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
41415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41416         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
41418 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41420         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
41421         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
41423 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41425         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
41426         of htab_find_slot().
41428 2013-11-11  David S. Miller  <davem@davemloft.net>
41430         [BZ #16150]
41431         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
41432         symbol in the non-vis3 case in static builds.
41433         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
41434         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
41435         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
41436         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
41438 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
41440         [BZ #387]
41441         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
41442         it is empty.
41444 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41446         * benchtests/Makefile: Add bench-strtod.
41447         * benchtests/bench-strtod.c: New file: strtod benchtest
41449 2013-11-11  Andreas Schwab  <schwab@suse.de>
41451         [BZ #16153]
41452         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
41453         terminating NUL in key length.
41455 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41457         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
41458         Add artificial ODP entry for vDSO symbol for PPC64.
41459         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
41460         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
41462 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
41464         [BZ #15374]
41465         * nss/getent.c (services_keys): Recognize services starting with digit.
41467 2013-11-06  David S. Miller  <davem@davemloft.net>
41469         [BZ #15985]
41470         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
41471         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
41473 2013-11-06  Will Newton  <will.newton@linaro.org>
41475         * manual/memory.texi (Malloc Examples): Remove register
41476         keyword from examples.
41478 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
41480         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
41482 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
41484         [BZ #6981]
41485         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
41486         depending on [__GCC_IEC_559 > 0].
41487         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
41488         depending on [__GCC_IEC_559_COMPLEX > 0].
41490 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
41492         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
41493         to iso-639.def.
41495 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
41497         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
41499 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
41501         [BZ #16112]
41502         * malloc/malloc (malloc_info): Do not handle first bin as
41503         special case.
41505 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
41507         * locale/iso-639.def: Add Central Nahuatl (nhn).
41509 2013-11-01  Bruno Haible  <bruno@clisp.org>
41511         [BZ #7003]
41512         * manual/math.texi (BSD Random): Specify range upper bound as
41513         in POSIX.
41515 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
41517         * locale/iso-639.def: Add Meadow Mari (mhr).
41519 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
41521         [BZ #14752], [BZ #15763]
41522         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
41523         Validate name.
41524         * rt/tst_shm.c: Add test for escaping directory.
41526 2013-10-31  Andreas Schwab  <schwab@suse.de>
41528         [BZ #15917]
41529         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
41530         followed by 'x' as part of digit sequence.
41531         * stdio-common/tst-sscanf.c (double_tests2): New tests.
41533 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
41535         [BZ #16037]
41536         * configure.ac: allow GNU Make 4.0 and greater.
41537         * configure: Regenerated.
41539 2013-10-30  Will Newton  <will.newton@linaro.org>
41541         [BZ #16038]
41542         * malloc/hooks.c (memalign_check): Limit alignment to the
41543         maximum representable power of two.
41544         * malloc/malloc.c (__libc_memalign): Likewise.
41545         * malloc/tst-memalign.c (do_test): Add test for very
41546         large alignment values.
41547         * malloc/tst-posix_memalign.c (do_test): Likewise.
41549 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
41551         [BZ #11087]
41552         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
41553         (munmap_chunk): Likewise.
41554         (mremap_chunk): Likewise.
41556 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
41558         [BZ #15799]
41559         * stdlib/div.c (div): Remove obsolete code.
41560         * stdlib/ldiv.c (ldiv): Likewise.
41561         * stdlib/lldiv.c (lldiv): Likewise.
41563 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41565         [BZ #16071]
41566         * nss/nss_files/files-XXX.c (get_contents_ret): New
41567         enumerator.
41568         (get_contents): New function.
41569         (internal_getent): Use it.  Expand size of LINEBUFLEN.
41571 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
41573         * configure.in: Moved to ...
41574         * configure.ac: ... here. Change reference to configure.in
41575         to configure.ac.
41576         * sysdeps/arm/preconfigure.ac: ... here.
41577         configure.in to configure.ac.
41578         * sysdeps/gnu/configure.in: Moved to ...
41579         * sysdeps/gnu/configure.ac: ... here.
41580         * sysdeps/i386/configure.in: Moved to ...
41581         * sysdeps/i386/configure.ac: ... here.
41582         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
41583         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
41584         * sysdeps/mach/configure.in: Moved to ...
41585         * sysdeps/mach/configure.ac: ... here.
41586         * sysdeps/mach/hurd/configure.in: Moved to ...
41587         * sysdeps/mach/hurd/configure.ac: ... here.
41588         * sysdeps/powerpc/configure.in: Moved to ...
41589         * sysdeps/powerpc/configure.ac: ... here.
41590         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
41591         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
41592         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
41593         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
41594         * sysdeps/s390/s390-32/configure.in: Moved to ...
41595         * sysdeps/s390/s390-32/configure.ac: ... here.
41596         * sysdeps/s390/s390-64/configure.in: Moved to ...
41597         * sysdeps/s390/s390-64/configure.ac: ... here.
41598         * sysdeps/sh/configure.in: Moved to ...
41599         * sysdeps/sh/configure.ac: ... here.
41600         * sysdeps/sparc/configure.in: Moved to ...
41601         * sysdeps/sparc/configure.ac: ... here.
41602         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
41603         * sysdeps/unix/sysv/linux/configure.ac: ... here.
41604         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
41605         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
41606         * sysdeps/x86_64/configure.in: Moved to ...
41607         * sysdeps/x86_64/configure.ac: ... here.
41608         * sysdeps/x86_64/preconfigure.in: Moved to ...
41609         * sysdeps/x86_64/preconfigure.ac: ... here.
41610         * aclocal.m4: Change reference to configure.in to configure.ac.
41611         * config.h.in: Likewise.
41612         * manual/install.texi: Likewise.
41613         * manual/maint.texi: Likewise.
41614         * Makefile: Likewise.
41615         * malloc/Makefile: Likewise.
41616         * nscd/Makefile: Likewise.
41617         * Makeconfig: Change reference to configure.in and
41618         preconfigure.in to configure.ac and preconfigure.ac
41619         respectively.
41620         * INSTALL: Regenerated.
41621         * configure: Likewise.
41622         * sysdeps/gnu/configure: Likewise.
41623         * sysdeps/i386/configure: Likewise.
41624         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
41625         * sysdeps/mach/configure: Likewise.
41626         * sysdeps/mach/hurd/configure: Likewise.
41627         * sysdeps/powerpc/configure: Likewise.
41628         * sysdeps/powerpc/powerpc32/configure: Likewise.
41629         * sysdeps/powerpc/powerpc64/configure: Likewise.
41630         * sysdeps/s390/s390-32/configure: Likewise.
41631         * sysdeps/s390/s390-64/configure: Likewise.
41632         * sysdeps/sh/configure: Likewise.
41633         * sysdeps/sparc/configure: Likewise.
41634         * sysdeps/unix/sysv/linux/configure: Likewise.
41635         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
41636         * sysdeps/x86_64/configure: Likewise.
41637         * sysdeps/x86_64/preconfigure: Likewise.
41639 2013-10-29  Andreas Schwab  <schwab@suse.de>
41641         * stdio-common/Makefile (tst-swscanf-ENV): Define.
41643 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41645         * benchtests/pow-inputs: Add new inputs.
41647         * benchtests/exp-inputs: Add new inputs.
41649         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
41650         conditional check for return value.
41651         (__cos32): Likewise.
41653 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41655         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
41656         to provide a boost for large inputs with word alignment.
41657         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
41658         implementation based on optimized PPC64 strcpy.
41659         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
41660         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
41661         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
41662         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
41664 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41666         [BZ #2801]
41667         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
41669 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41671         [BZ #14876]
41672         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
41673         * time/tst-strptime.c (day_tests): Add testcase.
41675 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41677         [BZ #14029]
41678         * manual/pattern.texi: Acknowledge that fnmatch can fail.
41680 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
41682         [BZ #16074]
41683         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
41684         MAP_FAILED on error.
41686 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41688         [BZ #16072]
41689         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
41690         heap for large requests.
41692 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
41694         [BZ #9954]
41695         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
41696         result if the result has no associated interface.
41697         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
41698         interface for all 127.X.Y.Z addresses.
41700 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
41702         * locale/iso-639.def: Add Ligurian (lij)
41704 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
41706         [BZ #15825]
41707         * sunrpc/rpc_main.c: Document rpcgen -5.
41709 2013-10-19  Michael Stahl  <mstahl@redhat.com>
41711         * elf/rtld.c (do_preload): Print the reason why preloading failed.
41713 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
41715         [BZ #10278]
41716         * posix/glob.c: Match only directories when trailing slash is present.
41717         * posix/tst-gnuglob.c (my_opendir): Do not open files.
41718         (main): Add testcase.
41720 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
41722         [BZ #15670]
41723         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
41725 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
41727         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
41728         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
41729         AUTH_DES and cindex for FIPS 140-2.
41730         (DES Encryption): Add cindex FIPS 46-3.
41732         * locale/locarchive.h (struct locarhandle): Add fname.
41733         * locale/programs/localedef.c (main): Pass ARGV[remaining]
41734         if an optional argument was specified to --list-archive,
41735         otherwise NULL.
41736         * locale/programs/locarchive.c (show_archive_content): Take new
41737         argument fname and pass it via ah.fname to open_archive.
41738         * locale/programs/localedef.h: Update decl.
41739         (open_archive): If AH->fname is non-null, open that file
41740         rather than the default file name, and don't ignore ENOENT.
41741         (create_archive): Set AH.fname to NULL.
41742         (delete_locales_from_archive): Likewise.
41743         (add_locales_to_archive): Likewise.
41744         * locale/programs/locfile.c (write_all_categories): Likewise.
41746 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
41747             Aldy Hernandez  <aldyh@redhat.com>
41749         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
41750         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
41751         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
41752         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
41753         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
41754         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
41755         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
41756         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
41757         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
41758         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
41759         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
41760         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
41761         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
41762         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
41763         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
41764         Likewise.
41765         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
41766         Likewise.
41767         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
41768         Likewise.
41769         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
41770         Likewise.
41771         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
41772         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
41773         Likewise.
41774         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
41775         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
41776         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
41777         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
41778         Likewise.
41779         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
41780         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
41781         * sysdeps/powerpc/preconfigure: Likewise.
41782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
41783         Likewise.
41784         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
41785         Replace contents of file by #include of <fenv_libc.h>.
41786         * sysdeps/powerpc/soft-fp/sfp-machine.h
41787         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
41788         and <sys/prctl.h>.
41789         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
41790         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
41791         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
41792         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
41793         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
41794         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
41795         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
41796         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
41797         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
41798         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
41799         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
41800         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
41801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41802         Allow copysignl PLT reference to be missing.
41804 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
41805             Joseph Myers  <joseph@codesourcery.com
41807         [BZ #15948]
41808         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
41809         single character.
41810         (add_to_tablewc): Assert sequence of wide characters is nonempty.
41812 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41814         * elf/tst-tls-dlinfo.c: Don't include tls.h.
41815         * elf/tst-tls1.c: Likewise.
41816         * elf/tst-tls10.h: Likewise.
41817         * elf/tst-tls14.c: Likewise.
41818         * elf/tst-tls2.c: Likewise.
41819         * elf/tst-tls3.c: Likewise.
41820         * elf/tst-tls4.c: Likewise.
41821         * elf/tst-tls5.c: Likewise.
41822         * elf/tst-tls6.c: Likewise.
41823         * elf/tst-tls7.c: Likewise.
41824         * elf/tst-tls8.c: Likewise.
41825         * elf/tst-tls9.c: Likewise.
41826         * elf/tst-tlsmod1.c: Likewise.
41827         * elf/tst-tlsmod13.c: Likewise.
41828         * elf/tst-tlsmod13a.c: Likewise.
41829         * elf/tst-tlsmod14a.c: Likewise.
41830         * elf/tst-tlsmod16a.c: Likewise.
41831         * elf/tst-tlsmod16b.c: Likewise.
41832         * elf/tst-tlsmod2.c: Likewise.
41833         * elf/tst-tlsmod3.c: Likewise.
41834         * elf/tst-tlsmod4.c: Likewise.
41835         * elf/tst-tlsmod5.c: Likewise.
41836         * elf/tst-tlsmod6.c: Likewise.
41838 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
41840         [BZ #12486]
41841         * malloc/malloc.c: remove checks for statistics.
41843 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
41845         [BZ #15277]
41846         * inet/inet_net.c (inet_network): Detect additional invalid strings.
41847         * inet/tst-network.c: Add testcase.
41849 2013-10-17  Andreas Schwab  <schwab@suse.de>
41851         [BZ #15218]
41852         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
41853         to determine canonical name.
41855 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
41857         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
41858         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
41859         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41860         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41861         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41862         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41863         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41864         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41865         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41866         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41867         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41868         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41869         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41870         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41871         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41872         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41873         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41874         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41875         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41876         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41877         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41878         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41879         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41880         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
41881         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
41882         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41883         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41884         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
41885         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41886         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
41887         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41888         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41889         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41890         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41891         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41892         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41893         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41894         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41895         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41896         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41897         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41898         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41899         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41900         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41901         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41902         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41903         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41904         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41905         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41906         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41907         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41908         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41909         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41910         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41911         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41912         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41913         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41914         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41916 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
41918         [BZ #16041]
41919         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
41920         make result into a quiet NaN.
41922 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
41924         * soft-fp/adddf3.c: Fix horizontal whitespace.
41925         * soft-fp/addsf3.c: Likewise.
41926         * soft-fp/addtf3.c: Likewise.
41927         * soft-fp/divdf3.c: Likewise.
41928         * soft-fp/divsf3.c: Likewise.
41929         * soft-fp/divtf3.c: Likewise.
41930         * soft-fp/double.h: Likewise.
41931         * soft-fp/eqdf2.c: Likewise.
41932         * soft-fp/eqsf2.c: Likewise.
41933         * soft-fp/eqtf2.c: Likewise.
41934         * soft-fp/extenddftf2.c: Likewise.
41935         * soft-fp/extended.h: Likewise.
41936         * soft-fp/extendsfdf2.c: Likewise.
41937         * soft-fp/extendsftf2.c: Likewise.
41938         * soft-fp/extendxftf2.c: Likewise.
41939         * soft-fp/fixdfdi.c: Likewise.
41940         * soft-fp/fixdfsi.c: Likewise.
41941         * soft-fp/fixdfti.c: Likewise.
41942         * soft-fp/fixsfdi.c: Likewise.
41943         * soft-fp/fixsfsi.c: Likewise.
41944         * soft-fp/fixsfti.c: Likewise.
41945         * soft-fp/fixtfdi.c: Likewise.
41946         * soft-fp/fixtfsi.c: Likewise.
41947         * soft-fp/fixtfti.c: Likewise.
41948         * soft-fp/fixunsdfdi.c: Likewise.
41949         * soft-fp/fixunsdfsi.c: Likewise.
41950         * soft-fp/fixunsdfti.c: Likewise.
41951         * soft-fp/fixunssfdi.c: Likewise.
41952         * soft-fp/fixunssfsi.c: Likewise.
41953         * soft-fp/fixunssfti.c: Likewise.
41954         * soft-fp/fixunstfdi.c: Likewise.
41955         * soft-fp/fixunstfsi.c: Likewise.
41956         * soft-fp/fixunstfti.c: Likewise.
41957         * soft-fp/floatdidf.c: Likewise.
41958         * soft-fp/floatdisf.c: Likewise.
41959         * soft-fp/floatditf.c: Likewise.
41960         * soft-fp/floatsidf.c: Likewise.
41961         * soft-fp/floatsisf.c: Likewise.
41962         * soft-fp/floatsitf.c: Likewise.
41963         * soft-fp/floattidf.c: Likewise.
41964         * soft-fp/floattisf.c: Likewise.
41965         * soft-fp/floattitf.c: Likewise.
41966         * soft-fp/floatundidf.c: Likewise.
41967         * soft-fp/floatundisf.c: Likewise.
41968         * soft-fp/floatunditf.c: Likewise.
41969         * soft-fp/floatunsidf.c: Likewise.
41970         * soft-fp/floatunsisf.c: Likewise.
41971         * soft-fp/floatunsitf.c: Likewise.
41972         * soft-fp/floatuntidf.c: Likewise.
41973         * soft-fp/floatuntisf.c: Likewise.
41974         * soft-fp/floatuntitf.c: Likewise.
41975         * soft-fp/fmadf4.c: Likewise.
41976         * soft-fp/fmasf4.c: Likewise.
41977         * soft-fp/fmatf4.c: Likewise.
41978         * soft-fp/gedf2.c: Likewise.
41979         * soft-fp/gesf2.c: Likewise.
41980         * soft-fp/getf2.c: Likewise.
41981         * soft-fp/ledf2.c: Likewise.
41982         * soft-fp/lesf2.c: Likewise.
41983         * soft-fp/letf2.c: Likewise.
41984         * soft-fp/muldf3.c: Likewise.
41985         * soft-fp/mulsf3.c: Likewise.
41986         * soft-fp/multf3.c: Likewise.
41987         * soft-fp/negdf2.c: Likewise.
41988         * soft-fp/negsf2.c: Likewise.
41989         * soft-fp/negtf2.c: Likewise.
41990         * soft-fp/op-1.h: Likewise.
41991         * soft-fp/op-2.h: Likewise.
41992         * soft-fp/op-4.h: Likewise.
41993         * soft-fp/op-8.h: Likewise.
41994         * soft-fp/op-common.h: Likewise.
41995         * soft-fp/quad.h: Likewise.
41996         * soft-fp/single.h: Likewise.
41997         * soft-fp/soft-fp.h: Likewise.
41998         * soft-fp/sqrtdf2.c: Likewise.
41999         * soft-fp/sqrtsf2.c: Likewise.
42000         * soft-fp/sqrttf2.c: Likewise.
42001         * soft-fp/subdf3.c: Likewise.
42002         * soft-fp/subsf3.c: Likewise.
42003         * soft-fp/subtf3.c: Likewise.
42004         * soft-fp/truncdfsf2.c: Likewise.
42005         * soft-fp/trunctfdf2.c: Likewise.
42006         * soft-fp/trunctfsf2.c: Likewise.
42007         * soft-fp/trunctfxf2.c: Likewise.
42008         * soft-fp/unorddf2.c: Likewise.
42009         * soft-fp/unordsf2.c: Likewise.
42010         * soft-fp/unordtf2.c: Likewise.
42012 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
42014         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
42015         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
42017 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
42019         * elf/dl-libc.c: Clear initfini list after freeing.
42021 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
42023         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
42024         * soft-fp/addsf3.c: Likewise.
42025         * soft-fp/addtf3.c: Likewise.
42026         * soft-fp/divdf3.c: Likewise.
42027         * soft-fp/divsf3.c: Likewise.
42028         * soft-fp/divtf3.c: Likewise.
42029         * soft-fp/double.h: Likewise.
42030         * soft-fp/eqdf2.c: Likewise.
42031         * soft-fp/eqsf2.c: Likewise.
42032         * soft-fp/eqtf2.c: Likewise.
42033         * soft-fp/extenddftf2.c: Likewise.
42034         * soft-fp/extended.h: Likewise.
42035         * soft-fp/extendsfdf2.c: Likewise.
42036         * soft-fp/extendsftf2.c: Likewise.
42037         * soft-fp/extendxftf2.c: Likewise.
42038         * soft-fp/fixdfdi.c: Likewise.
42039         * soft-fp/fixdfsi.c: Likewise.
42040         * soft-fp/fixdfti.c: Likewise.
42041         * soft-fp/fixsfdi.c: Likewise.
42042         * soft-fp/fixsfsi.c: Likewise.
42043         * soft-fp/fixsfti.c: Likewise.
42044         * soft-fp/fixtfdi.c: Likewise.
42045         * soft-fp/fixtfsi.c: Likewise.
42046         * soft-fp/fixtfti.c: Likewise.
42047         * soft-fp/fixunsdfdi.c: Likewise.
42048         * soft-fp/fixunsdfsi.c: Likewise.
42049         * soft-fp/fixunsdfti.c: Likewise.
42050         * soft-fp/fixunssfdi.c: Likewise.
42051         * soft-fp/fixunssfsi.c: Likewise.
42052         * soft-fp/fixunssfti.c: Likewise.
42053         * soft-fp/fixunstfdi.c: Likewise.
42054         * soft-fp/fixunstfsi.c: Likewise.
42055         * soft-fp/fixunstfti.c: Likewise.
42056         * soft-fp/floatdidf.c: Likewise.
42057         * soft-fp/floatdisf.c: Likewise.
42058         * soft-fp/floatditf.c: Likewise.
42059         * soft-fp/floatsidf.c: Likewise.
42060         * soft-fp/floatsisf.c: Likewise.
42061         * soft-fp/floatsitf.c: Likewise.
42062         * soft-fp/floattidf.c: Likewise.
42063         * soft-fp/floattisf.c: Likewise.
42064         * soft-fp/floattitf.c: Likewise.
42065         * soft-fp/floatundidf.c: Likewise.
42066         * soft-fp/floatundisf.c: Likewise.
42067         * soft-fp/floatunsidf.c: Likewise.
42068         * soft-fp/floatunsisf.c: Likewise.
42069         * soft-fp/floatuntidf.c: Likewise.
42070         * soft-fp/floatuntisf.c: Likewise.
42071         * soft-fp/floatuntitf.c: Likewise.
42072         * soft-fp/fmadf4.c: Likewise.
42073         * soft-fp/fmasf4.c: Likewise.
42074         * soft-fp/fmatf4.c: Likewise.
42075         * soft-fp/gedf2.c: Likewise.
42076         * soft-fp/gesf2.c: Likewise.
42077         * soft-fp/getf2.c: Likewise.
42078         * soft-fp/ledf2.c: Likewise.
42079         * soft-fp/lesf2.c: Likewise.
42080         * soft-fp/letf2.c: Likewise.
42081         * soft-fp/muldf3.c: Likewise.
42082         * soft-fp/mulsf3.c: Likewise.
42083         * soft-fp/multf3.c: Likewise.
42084         * soft-fp/negdf2.c: Likewise.
42085         * soft-fp/negsf2.c: Likewise.
42086         * soft-fp/negtf2.c: Likewise.
42087         * soft-fp/op-1.h: Likewise.
42088         * soft-fp/op-2.h: Likewise.
42089         * soft-fp/op-4.h: Likewise.
42090         * soft-fp/op-8.h: Likewise.
42091         * soft-fp/op-common.h: Likewise.
42092         * soft-fp/quad.h: Likewise.
42093         * soft-fp/single.h: Likewise.
42094         * soft-fp/soft-fp.h: Likewise.
42095         * soft-fp/sqrtdf2.c: Likewise.
42096         * soft-fp/sqrtsf2.c: Likewise.
42097         * soft-fp/sqrttf2.c: Likewise.
42098         * soft-fp/subdf3.c: Likewise.
42099         * soft-fp/subsf3.c: Likewise.
42100         * soft-fp/subtf3.c: Likewise.
42101         * soft-fp/truncdfsf2.c: Likewise.
42102         * soft-fp/trunctfdf2.c: Likewise.
42103         * soft-fp/trunctfsf2.c: Likewise.
42104         * soft-fp/trunctfxf2.c: Likewise.
42105         * soft-fp/unorddf2.c: Likewise.
42106         * soft-fp/unordsf2.c: Likewise.
42107         * soft-fp/unordtf2.c: Likewise.
42109 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
42111         [BZ #15672]
42112         * misc/error.c (error_tail): Fix possible buffer overflow.
42114 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
42116         [BZ #13028]
42117         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
42118         address.
42120 2013-10-14  P. J. McDermott  <pj@pehjota.net>
42122         [BZ #832]
42123         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
42124         testing pipefail option.
42126 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
42128         * soft-fp/double.h: Indent preprocessor directives inside #if.
42129         * soft-fp/extended.h: Likewise.
42130         * soft-fp/op-2.h: Likewise.
42131         * soft-fp/op-4.h: Likewise.
42132         * soft-fp/op-common.h: Likewise.
42133         * soft-fp/quad.h: Likewise.
42134         * soft-fp/single.h: Likewise.
42135         * soft-fp/soft-fp.h: Likewise.
42137 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
42139         * iconv/iconv_prog.c: Fix typos.
42140         * stdio-common/psiginfo-data.h: Likewise.
42142 2013-10-12   Reuben Thomas <rrt@sc3d.org>
42144         [BZ #15764]
42145         * locale/setlocale.c: Fix typo.
42147 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
42149         [BZ #16036]
42150         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
42151         signaling NaN arguments.
42152         * soft-fp/unordsf2.c (__unordsf2): Likewise.
42153         * soft-fp/unordtf2.c (__unordtf2): Likewise.
42155         [BZ #14910]
42156         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
42157         unordered operands.
42158         * soft-fp/gesf2.c (__gesf2): Likewise.
42159         * soft-fp/getf2.c (__getf2): Likewise.
42160         * soft-fp/ledf2.c (__ledf2): Likewise.
42161         * soft-fp/lesf2.c (__lesf2): Likewise.
42162         * soft-fp/letf2.c (__letf2): Likewise.
42164         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
42165         * soft-fp/eqsf2.c (__eqsf2): Likewise.
42166         * soft-fp/eqtf2.c (__eqtf2): Likewise.
42167         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
42168         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
42169         * soft-fp/fixdfti.c (__fixdfti): Likewise.
42170         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
42171         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
42172         * soft-fp/fixsfti.c (__fixsfti): Likewise.
42173         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
42174         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
42175         * soft-fp/fixtfti.c (__fixtfti): Likewise.
42176         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
42177         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
42178         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
42179         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
42180         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
42181         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
42182         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
42183         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
42184         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
42185         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
42186         * soft-fp/floatdisf.c (__floatdisf): Likewise.
42187         * soft-fp/floatsisf.c (__floatsisf): Likewise.
42188         * soft-fp/floattidf.c (__floattidf): Likewise.
42189         * soft-fp/floattisf.c (__floattisf): Likewise.
42190         * soft-fp/floattitf.c (__floattitf): Likewise.
42191         * soft-fp/floatundidf.c (__floatundidf): Likewise.
42192         * soft-fp/floatundisf.c (__floatundisf): Likewise.
42193         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
42194         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
42195         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
42196         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
42197         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
42198         * soft-fp/gesf2.c (__gesf2): Likewise.
42199         * soft-fp/getf2.c (__getf2): Likewise.
42200         * soft-fp/ledf2.c (__ledf2): Likewise.
42201         * soft-fp/lesf2.c (__lesf2): Likewise.
42202         * soft-fp/letf2.c (__letf2): Likewise.
42204         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
42205         Undefine and redefine.
42206         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
42207         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
42208         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
42209         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
42210         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42211         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
42212         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42213         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
42214         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42215         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
42216         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42217         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
42218         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42219         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
42220         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42222         [BZ #16032]
42223         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
42224         without decrementing exponent if mantissa >= that for the
42225         denominator, not >.
42226         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
42227         denominator, not >.  Decrement exponent in < case instead of
42228         incrementing in >= case.
42229         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
42230         without decrementing exponent if mantissa >= that for the
42231         denominator, not >.
42233         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
42234         computing saturated result for unsigned overflow.
42236 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42237             Jeff Law  <law@redhat.com>
42239         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
42240         (atan2Mp): Add systemtap probe marker.
42241         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
42242         (__ieee754_log): Add systemtap probe marker.
42243         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
42244         (atanMp): Add systemtap probe marker.
42245         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
42246         (tanMp): Add systemtap probe marker.
42247         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
42248         (__slowexp): Add systemtap probe marker.
42249         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
42250         (__slowpow): Add systemtap probe marker.
42251         * manual/probes.texi: Document probes.
42253 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
42255         [BZ #15362]
42256         * libio/fileops.c (_IO_new_file_write): Return count of bytes
42257         written.
42258         (_IO_new_file_xsputn): Don't return EOF if nothing has been
42259         written.
42260         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
42261         written to buffer but not flushed.
42262         * libio/iofwrite_u.c:  Likewise.
42263         * libio/iopadn.c:  Return bytes returned even if EOF was
42264         encountered.
42265         * libio/iowpadn.c:  Likewise.
42266         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
42267         if _IO_padn does not write the whole buffer.
42268         [!COMPILE_WPRINTF] (PAD): Likewise.
42270 2013-10-10  David S. Miller  <davem@davemloft.net>
42272         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
42273         directory block.
42275 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
42277         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
42278         instead of FSF address.
42279         * soft-fp/fixdfti.c: Likewise.
42280         * soft-fp/fixsfti.c: Likewise.
42281         * soft-fp/fixtfti.c: Likewise.
42282         * soft-fp/fixunsdfti.c: Likewise.
42283         * soft-fp/fixunssfti.c: Likewise.
42284         * soft-fp/fixunstfti.c: Likewise.
42285         * soft-fp/floattidf.c: Likewise.
42286         * soft-fp/floattisf.c: Likewise.
42287         * soft-fp/floattitf.c: Likewise.
42288         * soft-fp/floatuntidf.c: Likewise.
42289         * soft-fp/floatuntisf.c: Likewise.
42290         * soft-fp/floatuntitf.c: Likewise.
42291         * soft-fp/trunctfxf2.c: Likewise.
42293         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
42294         * soft-fp/fixdfti.c: Likewise.
42295         * soft-fp/fixsfti.c: Likewise.
42296         * soft-fp/fixtfti.c: Likewise.
42297         * soft-fp/fixunsdfti.c: Likewise.
42298         * soft-fp/fixunssfti.c: Likewise.
42299         * soft-fp/fixunstfti.c: Likewise.
42300         * soft-fp/floattidf.c: Likewise.
42301         * soft-fp/floattisf.c: Likewise.
42302         * soft-fp/floattitf.c: Likewise.
42303         * soft-fp/floatuntidf.c: Likewise.
42304         * soft-fp/floatuntisf.c: Likewise.
42305         * soft-fp/floatuntitf.c: Likewise.
42306         * soft-fp/trunctfxf2.c: Likewise.
42308 2013-10-10  David S. Miller  <davem@davemloft.net>
42310         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42312 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
42314         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42315         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
42316         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
42317         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
42318         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
42319         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
42320         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
42322         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
42323         for NaNs before doing comparisons on argument.
42324         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
42325         Likewise.
42327 2013-10-10  Will Newton  <will.newton@linaro.org>
42329         * malloc/hooks.c (memalign_check): Ensure the value of bytes
42330         passed to _int_memalign does not overflow.
42332 2013-10-10  Torvald Riegel  <triegel@redhat.com>
42334         * scripts/bench.pl: Add include-sources directive.
42335         * benchtests/README: Update documentation.
42337 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
42339         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
42340         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
42341         instead of FP_INIT_ROUNDMODE.
42342         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
42343         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
42345         [BZ #16034]
42346         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
42347         copy class of input value.
42348         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
42349         not handle exceptions.
42350         * soft-fp/negsf2.c (__negsf2): Likewise.
42351         * soft-fp/negtf2.c (__negtf2): Likewise.
42352         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
42354 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
42356         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
42357         semicolon.  From Linux kernel.
42359 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
42361         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
42363 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
42365         [BZ #156]
42366         * manual/socket.texi: Added statement about buffer
42367         for gethostbyname2_r.
42369 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
42371         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
42372         Use .p2align directive instead, throughout.
42373         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42374         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
42375         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
42376         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42377         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42378         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
42379         * sysdeps/x86_64/strchr.S: Likewise.
42380         * sysdeps/x86_64/strrchr.S: Likewise.
42382 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
42384         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
42386         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
42388         * sysdeps/generic/math_private.h (__mpsin1): Remove
42389         declaration.
42390         (__mpcos1): Likewise.
42391         (__mpsin): New argument __range_reduce.
42392         (__mpcos): Likewise.
42393         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42394         (slow): Use __mpsin and __mpcos.
42395         (slow1): Likewise.
42396         (slow2): Likewise.
42397         (sloww): Likewise.
42398         (sloww1): Likewise.
42399         (sloww2): Likewise.
42400         (bsloww): Likewise.
42401         (bsloww1): Likewise.
42402         (bsloww2): Likewise.
42403         (cslow2): Likewise.
42404         (csloww): Likewise.
42405         (csloww1): Likewise.
42406         (csloww2): Likewise.
42407         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
42408         range_reduce.  Merge in __mpsin1.
42409         (__mpcos): Likewise.
42410         (__mpsin1): Remove.
42411         (__mpcos1): Likewise.
42413 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
42415         * locale/loadlocale.c (_nl_intern_locale_data): Use
42416         LOCFILE_ALIGNED_P.
42417         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
42418         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
42419         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
42420         obstack data is appropriately aligned.
42421         (obstack_int32_grow_fast): Likewise.
42422         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
42423         * locale/programs/locfile.c (add_locale_uint32): Likewise.
42424         (add_locale_uint32_array): Likewise.
42426 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
42428         * benchtests/Makefile: Remove ARGLIST and RET variables.
42429         ($(objpfx)bench-%.c): Pass only function name to the script.
42430         * benchtests/README: Update documentation.
42431         * benchtests/acos-inputs: Add new directives.
42432         * benchtests/acosh-inputs: Likewise.
42433         * benchtests/asin-inputs: Likewise.
42434         * benchtests/asinh-inputs: Likewise.
42435         * benchtests/atan-inputs: Likewise.
42436         * benchtests/atanh-inputs: Likewise.
42437         * benchtests/cos-inputs: Likewise.
42438         * benchtests/cosh-inputs: Likewise.
42439         * benchtests/exp-inputs: Likewise.
42440         * benchtests/log-inputs: Likewise.
42441         * benchtests/pow-inputs: Likewise.
42442         * benchtests/rint-inputs: Likewise.
42443         * benchtests/sin-inputs: Likewise.
42444         * benchtests/sinh-inputs: Likewise.
42445         * benchtests/tan-inputs: Likewise.
42446         * benchtests/tanh-inputs: Likewise.
42447         * scripts/bench.pl: Add support for new directives.
42449 2013-10-07  Alan Modra  <amodra@gmail.com>
42451         * README: Fix careless merge.
42453 2013-10-05  Alan Modra  <amodra@gmail.com>
42455         * NEWS: Mention powerpc64le support and bugs fixed.
42456         * README: Both big-endian and little-endian powerpc64 supported.
42458 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42460         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
42461         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
42462         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
42463         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
42465 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
42467         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
42468         match prototype.
42470 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
42472         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
42473         Move -mhard-float appending from
42474         ports/sysdeps/powerpc/powerpc32/Makefile.
42475         [$(with-fp) = yes] (ASFLAGS): Likewise.
42476         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
42477         * sysdeps/powerpc/nofpu: Move directory from
42478         ports/sysdeps/powerpc/nofpu.
42479         * sysdeps/powerpc/soft-fp: Move directory from
42480         ports/sysdeps/powerpc/soft-fp.
42481         * sysdeps/powerpc/powerpc32/405: Move directory from
42482         ports/sysdeps/powerpc/powerpc32/405.
42483         * sysdeps/powerpc/powerpc32/440: Move directory from
42484         ports/sysdeps/powerpc/powerpc32/440.
42485         * sysdeps/powerpc/powerpc32/464: Move directory from
42486         ports/sysdeps/powerpc/powerpc32/464.
42487         * sysdeps/powerpc/powerpc32/476: Move directory from
42488         ports/sysdeps/powerpc/powerpc32/476.
42489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
42490         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
42491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
42492         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
42493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
42494         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
42495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
42496         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
42497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
42498         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
42499         * README: Update for powerpc-*-linux-gnu software floating point
42500         support in libc.
42502         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
42503         case to powerpc/powerpc32*.
42504         * sysdeps/unix/sysv/linux/configure: Regenerated.
42506         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
42507         (_FPU_MASK_OM): Define as 0x04.
42508         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
42509         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
42510         0x00c10080.
42511         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
42512         0x0000003c.
42513         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
42515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
42516         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
42517         getcontext_e500.
42518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
42519         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
42520         setcontext_e500.
42521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
42522         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
42523         and setcontext_e500.
42525 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
42527         * locale/iso-3166.def: Update iso-1366.def and related occurrences
42529 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42531         * manual/threads.texi (Default Thread Attributes): Fix typo.
42533 2013-10-04  Will Newton  <will.newton@linaro.org>
42535         * malloc/Makefile: Add tst-memalign.
42536         * malloc/tst-memalign.c: New file.
42538         * malloc/tst-posix_memalign.c: Add comments.
42539         (do_test): Add comments and call free on all potentially
42540         allocated pointers. Add space after cast.
42542         * malloc/tst-pvalloc.c: Add comments.
42543         (do_test): Add comments and call free on all potentially
42544         allocated pointers. Remove duplicate check for NULL pointer.
42545         Add space after cast.
42547         * malloc/tst-valloc.c: Add comments.
42548         (do_test): Add comments and call free on all potentially
42549         allocated pointers. Remove duplicate check for NULL pointer.
42550         Add space after cast.
42552 2013-10-04  Alan Modra  <amodra@gmail.com>
42554         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42555         Use stdint types in rather than __attribute__((mode())).
42556         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42558 2013-10-04  Alan Modra  <amodra@gmail.com>
42560         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42561         Correct handling of unaligned relocs for little-endian.
42562         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42564 2013-10-04  Alan Modra  <amodra@gmail.com>
42566         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
42567         * configure: Regenerate.
42568         * nptl/shlib-versions: Powerpc*le starts at 2.18.
42569         * shlib-versions: Likewise.
42571 2013-10-04  Alan Modra  <amodra@gmail.com>
42573         * string/tester.c (test_memrchr): Increment reported test cycle.
42575 2013-10-04  Alan Modra  <amodra@gmail.com>
42577         * string/test-memcpy.c (do_one_test): When reporting errors, print
42578         string address and don't overrun end of string.
42580 2013-10-04  Alan Modra  <amodra@gmail.com>
42582         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
42583         insrdi.  Make better use of reg selection to speed exit slightly.
42584         Schedule entry path a little better.  Remove useless "are we done"
42585         checks on entry to main loop.  Handle wrapping around zero address.
42586         Correct main loop count.  Handle single left-over word from main
42587         loop inline rather than by using loop_small.  Remove extra word
42588         case in loop_small caused by wrong loop count.  Add little-endian
42589         support.
42590         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
42591         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
42592         cache hint.
42593         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
42594         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
42595         support.  Avoid rlwimi.
42596         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
42598 2013-10-04  Alan Modra  <amodra@gmail.com>
42600         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
42601         insrdi.  Formatting.
42602         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
42603         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
42604         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
42605         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
42606         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
42607         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
42609 2013-10-04  Alan Modra  <amodra@gmail.com>
42611         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
42612         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42613         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
42614         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
42615         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
42616         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42617         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42618         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42619         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
42620         use of regs.  Use power7 mtocrf.  Tidy function tails.
42622 2013-10-04  Alan Modra  <amodra@gmail.com>
42624         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
42625         Formatting.  Consistently use rXXX register defines or rN defines.
42626         Use early exit labels that avoid restoring unused non-volatile regs.
42627         Make cr field use more consistent with rWORDn compares.  Rename
42628         regs used as shift registers for unaligned loop, using rN defines
42629         for short lifetime/multiple use regs.
42630         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42631         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
42632         addi 1,1,64 to pop stack frame.  Simplify return value code.
42633         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42635 2013-10-04  Alan Modra  <amodra@gmail.com>
42637         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
42638         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
42639         rather than rlwimi.
42640         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
42641         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
42642         little-endian support.  Correct typos.
42643         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
42644         rather than rlwimi.
42645         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
42646         in loop and entry code to keep "and." results.
42647         (strchr): Add little-endian support.  Comment.  Move cntlzd
42648         earlier in tail.
42649         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
42651 2013-10-04  Alan Modra  <amodra@gmail.com>
42653         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
42654         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
42655         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
42656         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
42658 2013-10-04  Alan Modra  <amodra@gmail.com>
42660         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
42661         (rTMP): Define as r11.
42662         (strcmp): Add little-endian support.  Optimise tail.
42663         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
42664         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42665         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
42666         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42667         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
42668         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42669         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42671 2013-10-04  Alan Modra  <amodra@gmail.com>
42673         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
42674         little-endian support.  Remove unnecessary "are we done" tests.
42675         Handle "s" wrapping around zero and extremely large "size".
42676         Correct main loop count.  Handle single left-over word from main
42677         loop inline rather than by using small_loop.  Correct comments.
42678         Delete "zero" tail, use "end_max" instead.
42679         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
42681 2013-10-04  Alan Modra  <amodra@gmail.com>
42683         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
42684         support.  Don't branch over align.
42685         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
42686         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
42687         support.  Rearrange tmp reg use to suit.  Comment.
42688         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
42690 2013-10-04  Alan Modra  <amodra@gmail.com>
42692         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
42694 2013-10-04  Alan Modra  <amodra@gmail.com>
42696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
42697         conditional form of branch and link when obtaining pc.
42698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
42700 2013-10-04  Alan Modra  <amodra@gmail.com>
42702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
42703         HIWORD/LOWORD.
42704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
42705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
42707 2013-10-04  Alan Modra  <amodra@gmail.com>
42709         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
42710         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
42711         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
42712         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
42713         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
42714         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
42715         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
42716         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42717         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
42718         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
42720 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42721             Alistair Popple <alistair@ozlabs.au.ibm.com>
42722             Alan Modra <amodra@gmail.com>
42724         [BZ #15723]
42725         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
42726         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
42727         _dl_hwcap access for little-endian.
42728         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
42729         destroy vmx regs when saving unaligned.
42730         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
42731         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
42732         destroy vmx regs when saving unaligned.
42734 2013-10-04  Alan Modra  <amodra@gmail.com>
42736         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
42737         Don't use a union to pack hi/low value.
42739 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42741         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
42742         for little-endian.
42743         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
42744         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
42745         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
42746         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
42747         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
42749 2013-10-04  Alan Modra  <amodra@gmail.com>
42751         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
42752         constants to usual value for .cst8 section, and remove redundant
42753         high address load.
42754         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
42755         constant for 0x1p52.  Load little-endian words of double from
42756         correct stack offsets.
42758 2013-10-04  Alan Modra  <amodra@gmail.com>
42760         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
42761         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
42762         words of double from correct stack offsets.
42763         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
42764         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
42765         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
42766         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
42767         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
42768         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
42769         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
42770         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
42771         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
42772         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
42773         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
42774         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
42775         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42776         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42777         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42778         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
42779         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
42781 2013-10-04  Alan Modra  <amodra@gmail.com>
42783         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
42784         64-bit int/double union.
42785         (_FPU_SETCW): Likewise.
42786         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
42787         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
42789 2013-10-04  Alan Modra  <amodra@gmail.com>
42791         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
42792         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
42794 2013-10-04  Alan Modra  <amodra@gmail.com>
42796         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
42797         use vector int constants.
42798         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
42800 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42802         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
42803         array with long long.
42804         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
42805         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
42806         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
42807         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
42808         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
42809         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
42810         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
42811         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
42812         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
42813         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
42814         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
42815         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
42816         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
42818 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42820         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
42821         (__signbit): Likewise.  Correct for little-endian.
42822         (__signbitl): Call __signbit.
42823         (lrint): Correct for little-endian.
42824         (lrintf): Call lrint.
42826 2013-10-04  Alan Modra  <amodra@gmail.com>
42828         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
42829         union 32-bit int array member with 64-bit int array.
42830         (t515, tm256): Double rather than long double.
42831         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
42833 2013-10-04  Alan Modra  <amodra@gmail.com>
42835         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
42836         Delete.
42837         (IEEE854_LONG_DOUBLE_BIAS): Delete.
42838         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
42839         version of math_ldbl.h.
42841 2013-10-04  Alan Modra  <amodra@gmail.com>
42843         [BZ #15734], [BZ #15735]
42844         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
42845         all uses of ieee875 long double macros and unions.  Simplify test
42846         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
42847         ldbl_extract_mantissa value for ix,iy exponents.  Properly
42848         normalize after ldbl_extract_mantissa, and don't add hidden bit
42849         already handled.  Don't treat low word of ieee854 mantissa like
42850         low word of IBM long double and mask off bit when testing for
42851         zero.
42852         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
42853         all uses of ieee875 long double macros and unions.  Simplify tests
42854         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
42855         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
42856         two1022, instead use their values.  Recognise that tests for large
42857         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
42858         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
42859         Rewrite all uses of ieee875 long double macros and unions.  Simplify
42860         test for 0.0L and nan.  Correct negation.
42861         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
42862         ieee875 long double macros and unions.  Correct output for large
42863         magnitude x.  Correct absolute value calculation.
42864         (__erfcl): Likewise.
42865         * math/libm-test.inc: Add tests for errors discovered in IBM long
42866         double versions of fmodl, remainderl, erfl and erfcl.
42868 2013-10-04  Alan Modra  <amodra@gmail.com>
42870         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
42871         all uses of ieee854 long double macros and unions.  Simplify tests
42872         for long doubles that are fully specified by the high double.
42873         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
42874         Likewise.
42875         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
42876         Remove dead code too.
42877         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
42878         (__ieee754_ynl): Likewise.
42879         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
42880         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
42881         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
42882         Remove dead code too.
42883         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
42884         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
42885         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
42886         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
42887         Simplify.
42888         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
42889         Simplify.
42890         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
42891         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
42892         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
42893         Comment on variable precision.
42894         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
42895         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42896         Likewise.
42897         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
42898         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42899         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42900         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
42901         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
42903 2013-10-04  Alan Modra  <amodra@gmail.com>
42905         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
42906         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
42907         all uses of ieee854 long double macros and unions.
42908         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
42909         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42910         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
42911         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
42912         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
42913         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42914         Likewise.
42915         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
42916         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42917         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
42918         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42919         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
42920         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
42921         Simplify sign and nan test too.
42922         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
42923         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
42924         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
42925         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
42926         Likewise.
42927         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42928         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
42929         Likewise.
42930         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42931         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
42932         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
42933         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
42934         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
42935         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
42937 2013-10-04  Alan Modra  <amodra@gmail.com>
42939         * stdio-common/printf_size.c (__printf_size): Don't use
42940         union ieee854_long_double in fpnum union.
42941         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
42942         signbit macro to retrieve sign from long double.
42943         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
42944         retrieve sign from long double.
42945         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
42946         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
42947         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
42948         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42949         * math/test-misc.c (main): Don't use union ieee854_long_double.
42951 2013-10-04  Alan Modra  <amodra@gmail.com>
42953         [BZ #15680]
42954         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
42955         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
42956         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
42957         calculation.  Remove unnecessary test for denormal exponent.
42958         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
42959         Correct handling of denormals.  Avoid undefined shift behaviour.
42960         Correct normalisation of low mantissa when low double is denormal.
42961         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
42962         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
42963         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
42964         Correct normalisation of low mantissa.  Test for overflow of high
42965         mantissa and normalise.
42966         (ldbl_nearbyint): Use more readable constant for two52.
42967         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
42968         (__mpn_construct_long_double): Fix test for overflow of high
42969         mantissa and correct normalisation.  Avoid undefined shift.
42971 2013-10-04  Alan Modra  <amodra@gmail.com>
42973         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
42974         (union ibm_extended_long_double): Define as an array of ieee754_double.
42975         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
42976         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
42977         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
42978         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42979         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42980         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
42981         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42982         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
42983         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42984         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
42985         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42987 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
42989         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
42990         page size instead of calling getpagesize.
42992         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
42993         (LOCFILE_ALIGN_MASK): Likewise.
42994         (LOCFILE_ALIGN_UP): Likewise.
42995         (LOCFILE_ALIGNED_P): Likewise.
42996         * locale/programs/ld-collate.c (collate_output): Use the new
42997         macros instead of __alignof__ (int32_t).
42998         * locale/weight.h (findidx): Likewise.
43000 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
43002         [BZ #431]
43003         * manual/string.texi: Fix strncat and wcsncat.
43005 2013-10-03  Brooks Moses  <bmoses@google.com>
43007         [BZ #15915]
43008         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
43009         * Makerules: ...here, and adjust associated comments.
43011 2013-10-02  Will Newton  <will.newton@linaro.org>
43013         * malloc/Makefile: Add tst-pvalloc.
43014         * malloc/tst-pvalloc.c: New file.
43016 2013-10-02  Will Newton  <will.newton@linaro.org>
43018         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
43019         improve test coverage.
43021 2013-10-02  Will Newton  <will.newton@linaro.org>
43023         * malloc/Makefile: Add tst-posix_memalign.
43024         * malloc/tst-posix_memalign.c: New file.
43026 2013-10-01  Eric Blake  <eblake@redhat.com>
43028         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
43029         Use __THROWNL rather than __THROW on static functions.
43031 2013-09-30  Petr Machata  <pmachata@redhat.com>
43033         * elf/elf.h (R_AARCH64_ABS16): New macro.
43034         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
43035         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
43036         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
43037         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
43038         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
43039         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
43040         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
43041         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
43042         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
43043         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
43044         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
43045         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
43046         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
43047         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
43048         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
43049         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
43050         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
43051         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
43052         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
43053         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
43054         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
43055         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
43056         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
43057         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
43058         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
43059         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
43060         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
43061         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
43062         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
43063         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
43064         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
43065         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
43066         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
43067         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
43068         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
43069         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
43070         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
43071         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
43072         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
43073         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
43074         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
43075         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
43076         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
43077         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
43078         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
43079         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
43080         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
43081         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
43082         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
43083         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
43084         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
43085         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
43086         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
43087         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
43088         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
43089         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
43090         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
43091         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
43092         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
43093         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
43094         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
43095         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
43096         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
43097         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
43098         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
43099         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
43100         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
43101         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
43102         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
43103         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
43104         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
43105         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
43106         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
43107         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
43108         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
43109         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
43110         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
43111         (R_AARCH64_TLSDESC_LDR): Likewise.
43112         (R_AARCH64_TLSDESC_ADD): Likewise.
43113         (R_AARCH64_TLSDESC_CALL): Likewise.
43115 2013-09-30  Andreas Schwab  <schwab@suse.de>
43117         [BZ #15048]
43118         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
43119         the nss database lookup.
43120         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43121         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43123 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
43125         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
43127 2013-09-28  P. J. McDermott  <pj@pehjota.net>
43129         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
43130         ${Bash-specific parameter/pattern/string} parameter expansion.
43131         * sysdeps/unix/make-syscalls.sh: Likewise.
43133 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43135         * sysdeps/sh/stackguard-macros.h: New file.
43137 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
43139         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
43140         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
43141         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
43142         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
43143         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43144         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
43146 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43148         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
43149         Fix thread ID register.
43151 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
43153         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
43154         [POSIX || UNIX98]: Require rather than permitting all symbols from
43155         <time.h>.
43156         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
43157         element of struct sched_param.
43158         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
43159         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
43160         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
43161         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
43162         constant.
43164 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
43166         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
43167         argument calculation.
43169 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
43171         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
43172         Expect macro.
43173         [POSIX] (pthread_attr_t): Do not require type.
43174         [POSIX] (pthread_cond_t): Likewise.
43175         [POSIX] (pthread_condattr_t): Likewise.
43176         [POSIX] (pthread_key_t): Likewise.
43177         [POSIX] (pthread_mutex_t): Likewise.
43178         [POSIX] (pthread_mutexattr_t): Likewise.
43179         [POSIX] (pthread_once_t): Likewise.
43180         [POSIX] (pthread_t): Likewise.
43181         [POSIX-based standards] (pthread_atfork): Expect function.
43183 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
43184             Richard Sandiford  <richard@codesourcery.com>
43186         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
43187         (swap_endianness_p): New extern variable.
43188         (set_big_endian): New inline function.
43189         (maybe_swap_uint32): Likewise.
43190         (maybe_swap_uint32_array): Likewise.
43191         (maybe_swap_uint32_obstack): Likewise.
43192         * locale/programs/locfile.c: Include <stdbool.h>.
43193         (swap_endianness_p): New variable.
43194         (add_locale_uint32): Call maybe_swap_uint32.
43195         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
43196         (write_locale_data): Call maybe_swap_uint32_array.
43197         * locale/programs/ld-collate.c (obstack_int32_grow): Call
43198         maybe_swap_uint32.
43199         (obstack_int32_grow_fast): Likewise.
43200         (output_weightwc): Call maybe_swap_uint32_obstack.
43201         (collate_output): Likewise.
43202         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
43203         (OPT_LITTLE_ENDIAN): Likewise.
43204         (options): Add --little-endian and --big-endian options.
43205         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
43206         * locale/programs/locarchive.c: Include "locfile.h".
43207         (GET): New macro.
43208         (SET): Likewise.
43209         (INC): Likewise.
43210         (create_archive): Use the new macros to access fields of
43211         structures directly mapped from or written to locale archives.
43212         (oldlocrecentcmp): Likewise.
43213         (enlarge_archive): Likewise.
43214         (insert_name): Likewise.
43215         (add_alias): Likewise.
43216         (add_locale): Likewise.
43217         (delete_locales_from_archive): Likewise.
43218         (show_archive_content): Likewise.
43219         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
43220         locale data.
43222 2013-09-24  Roland McGrath  <roland@hack.frob.com>
43224         * manual/freemanuals.texi: Updated from (newly) canonical copy at
43225         http://www.gnu.org/doc/freemanuals.texi.
43226         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
43228 2013-09-24  Will Newton  <will.newton@linaro.org>
43230         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
43231         macro.
43233 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
43235         * locale/hashval.h (compute_hashval): Interpret bytes of key as
43236         unsigned char.
43238 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
43240         * manual/threads.texi (POSIX Threads): Fix a typo.
43242 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
43244         [BZ #14547]
43245         * string/tst-strcoll-overflow.c: New test case.
43246         * string/Makefile (xtests): Add tst-strcoll-overflow.
43247         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
43248         cache if string sizes may cause integer overflow.
43250         [BZ #14547]
43251         * string/strcoll_l.c (coll_seq): New members rule, idx,
43252         save_idx and back_us.
43253         (get_next_seq_nocache): New function.
43254         (do_compare_nocache): New function.
43255         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
43256         when malloc fails.
43258 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
43260         [BZ #15754]
43261         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
43262         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
43263         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
43265         [BZ #15754]
43266         * elf/Makefile (tests): Add tst-ptrguard1.
43267         (tests-static): Add tst-ptrguard1-static.
43268         (tst-ptrguard1-ARGS): Define.
43269         (tst-ptrguard1-static-ARGS): Define.
43270         * elf/tst-ptrguard1.c: New file.
43271         * elf/tst-ptrguard1-static.c: New file.
43272         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
43273         * sysdeps/i386/stackguard-macros.h: Likewise.
43274         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43275         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43276         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43277         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43278         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43279         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43281 2013-09-23  Hector Marco  <hecmargi@upv.es>
43282             Ismael Ripoll  <iripoll@disca.upv.es>
43283             Carlos O'Donell  <carlos@redhat.com>
43285         [BZ #15754]
43286         * sysdeps/generic/stackguard-macros.h: Define
43287         __pointer_chk_guard_local and POINTER_CHK_GUARD.
43288         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
43289         Define __pointer_chk_guard_local.
43290         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
43291         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
43293 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
43295         [BZ #15859]
43296         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
43298 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
43300         * include/string.h (__ffs): Declare as hidden.
43301         * string/ffs.c (__ffs): Define as hidden.
43302         * sysdeps/i386/ffs.c (__ffs): Likewise.
43303         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
43304         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
43305         * sysdeps/s390/ffs.c (__ffs): Likewise.
43306         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
43308 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
43310         * NEWS: Mention malloc probes.
43312         * malloc/arena.c (new_heap): New memory_heap_new probe.
43313         (grow_heap): New memory_heap_more probe.
43314         (shrink_heap): New memory_heap_less probe.
43315         (heap_trim): New memory_heap_free probe.
43316         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
43317         (systrim): New memory_sbrk_less probe.
43318         * manual/probes.texi: Document them.
43320         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
43321         * manual/probes.texi: Document it.
43323         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
43324         (__libc_realloc): Add memory_realloc_retry probe.
43325         (__libc_memalign): Add memory_memalign_retry probe.
43326         (__libc_valloc): Add memory_valloc_retry probe.
43327         (__libc_pvalloc): Add memory_pvalloc_retry probe.
43328         (__libc_calloc): Add memory_calloc_retry probe.
43329         * manual/probes.texi: Document them.
43331         * malloc/arena.c (get_free_list): Add probe
43332         memory_arena_reuse_free_list.
43333         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
43334         and memory_arena_reuse.
43335         (arena_get2) [!PER_THREAD]: Likewise.
43336         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
43337         memory_arena_reuse_realloc.
43338         * manual/probes.texi: Document them.
43340         * malloc/malloc.c (__libc_free): Add
43341         memory_mallopt_free_dyn_thresholds probe.
43342         (__libc_mallopt): Add multiple memory_mallopt probes.
43343         * manual/probes.texi: Document them.
43345         * malloc/malloc.c: Include stap-probe.h.
43346         (__libc_mallopt): Add memory_mallopt probe.
43347         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
43348         * manual/probes.texi: New.
43349         * manual/Makefile (chapters): Add probes.
43350         * manual/threads.texi: Set next node.
43352 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
43354         [BZ #15963, #13985]
43355         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
43356         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
43357         Add `Chinese' to `nan' entry name.
43359 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43361         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
43362         (POLYNOMIAL): Likewise.
43363         (TAYLOR_SINCOS): Likewise.
43364         (TAYLOR_SLOW): Likewise.
43365         (__sin): Use TAYLOR_SINCOS.
43366         (__cos): Likewise.
43367         (slow): Use TAYLOR_SLOW.
43368         (sloww): Likewise.
43369         (bsloww): Likewise.
43370         (csloww): Likewise.
43372 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43374         * stdlib/strtod_l.c: Fix buffer overrun.
43376 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43378         * benchtests/Makefile (bench): Add sincos.
43379         * benchtests/bench-sincos.c: New file.
43381         * math/libm-test.inc (cos_test_data): New test inputs.
43382         (sin_test_data): Likewise.
43384         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
43385         macro.
43386         (__sin): Use it.
43387         (__cos): Likewise.
43388         (slow1): Likewise.
43389         (slow2): Likewise.
43390         (sloww1): Likewise.
43391         (sloww2): Likewise.
43392         (bsloww1): Likewise.
43393         (bsloww2): Likewise.
43394         (cslow2): Likewise.
43395         (csloww1): Likewise.
43396         (csloww2): Likewise.
43398         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
43399         function.
43400         (__sin): Use it.
43401         (__cos): Likewise.
43403         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
43404         gotos.
43405         (__cos): Likewise.
43407 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
43409         * config.h.in (HAVE_MIPS_NAN2008): New macro.
43410         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
43411         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
43412         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
43413         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
43414         * elf/cache.c (print_entry): Handle the new cache flags.
43416 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
43417             Aldy Hernandez  <aldyh@redhat.com>
43419         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
43420         Change condition to [_SOFT_FLOAT].
43421         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
43422         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
43423         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
43424         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
43425         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
43426         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
43427         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
43428         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
43429         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
43430         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
43431         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
43432         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
43433         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
43434         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
43435         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
43436         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
43437         declaration.
43439 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
43441         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
43442         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
43443         (__longjmp): Use LOAD_GP to load saved GPRs.
43444         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
43445         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
43446         (__sigsetjmp): Use SAVE_GP to save GPRs.
43448         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
43449         Do not append -msoft-float.
43450         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
43452 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43454         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
43456 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
43458         [BZ #15966]
43459         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
43460         (_FPU_GETCW): Use initial "__" on variable and field names but not
43461         on macro parameter name.
43462         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
43463         parentheses around reference to macro parameter.
43465 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
43467         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
43468         prototype.
43469         (ctype_startup): Use uint32_t in cast and sizeof for
43470         ctype->charnames.
43472 2013-09-11  Jia Liu  <proljc@gmail.com>
43474         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
43475         __daddr_t_defined.
43476         [__FreeBSD__]: Likewise.
43478 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
43480         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
43481         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
43482         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
43483         (strchr): Remove __strchr_sse42 ifunc selection.
43484         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
43485         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
43487 2013-09-11  Will Newton  <will.newton@linaro.org>
43489         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
43490         parameter to RES. Remove hardcoded 1000 value.
43491         * benchtests/bench-skeleton.c (main): Pass RES parameter
43492         to TIMING_INIT and multiply result by 1000.
43494 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43496         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43498 2013-09-11  Andreas Schwab  <schwab@suse.de>
43500         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
43501         if not defined.
43502         (O_TMPFILE) [__USE_GNU]: Define.
43503         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
43504         Define.
43506 2013-09-11  Will Newton  <will.newton@linaro.org>
43508         [BZ #15857]
43509         * malloc/malloc.c (__libc_memalign): Check the value of bytes
43510         does not overflow.
43512 2013-09-11  Will Newton  <will.newton@linaro.org>
43514         [BZ #15856]
43515         * malloc/malloc.c (__libc_valloc): Check the value of bytes
43516         does not overflow.
43518 2013-09-11  Will Newton  <will.newton@linaro.org>
43520         [BZ #15855]
43521         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
43522         does not overflow.
43524 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
43526         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
43527         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43528         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43529         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43530         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43532 2013-09-10  Allan McRae  <allan@archlinux.org>
43534         [BZ #15748]
43535         * manual/arith.texi (Parsing of Floats): Clarify
43536         cross-reference.
43538         [BZ #15849]
43539         * manual/install.texi (Running make install): Mention
43540         --enable-pt-chown.
43541         * INSTALL: Regenerated.
43543 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
43545         * csu/init-first.c (_init): Remove the !SHARED condition around
43546         FPU control word initialization.
43547         * elf/dl-support.c (_dl_fpu_control): New variable.
43548         (_dl_aux_init) <AT_FPUCW>: Initialize it.
43549         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
43550         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
43551         * math/test-fpucw-static.c: New file.
43552         * math/test-fpucw-ieee.c: New file.
43553         * math/test-fpucw-ieee-static.c: New file.
43554         * math/Makefile (tests): Add `test-fpucw-ieee' and
43555         `$(tests-static)'.
43556         (tests-static): New variable.
43557         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
43558         dependency to...
43559         [($(build-shared),yes)]
43560         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
43561         ... this.
43562         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
43563         New dependency.
43565 2013-09-09  Allan McRae  <allan@archlinux.org>
43567         [BZ #15939]
43568         * manual/string.texi (Collation Functions): Fix typo in
43569         strcoll example.
43570         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
43572         [BZ #15893]
43573         * stdlib/isomac.c (get_null_defines): Fix memory leak.
43575         [BZ #15892]
43576         * libio/memstream.c (open_memstream): Fix memory leak.
43577         * libio/wmemstream.c (open_wmemstream): Likewise.
43579         [BZ #15895]
43580         * nscd/netgroupcache.c: Fix nesting of ifdefs.
43582 2013-09-09  Will Newton  <will.newton@linaro.org>
43584         * malloc/Makefile: Add tst-realloc to tests.
43585         * malloc/tst-realloc.c: New file.
43587 2013-09-09  Allan McRae  <allan@archlinux.org>
43589         [BZ #15844]
43590         * COPYING: Update from GNU website to fix FSF address.
43591         * COPYING.LIB: Likewise.
43593 2013-09-06  David S. Miller  <davem@davemloft.net>
43595         * po/zh_TW.po: Update Chinese (traditional) translation from
43596         translation project.
43598 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
43599             Joseph Myers  <joseph@codesourcery.com>
43601         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
43602         "localeinfo.h".
43603         (obstack_chunk_alloc): New macro.
43604         (obstack_chunk_free): Likewise.
43605         (record_offset): New function.
43606         (init_locale_data): Likewise.
43607         (align_locale_data): Likewise.
43608         (add_locale_empty): Likewise.
43609         (add_locale_raw_data): Likewise.
43610         (add_locale_raw_obstack): Likewise.
43611         (add_locale_string): Likewise.
43612         (add_locale_wstring): Likewise.
43613         (add_locale_uint32): Likewise.
43614         (add_locale_uint32_array): Likewise.
43615         (add_locale_char): Likewise.
43616         (start_locale_structure): Likewise.
43617         (end_locale_structure): Likewise.
43618         (start_locale_prelude): Likewise.
43619         (end_locale_prelude): Likewise.
43620         (write_locale_data): Take locale_file structure rather than an
43621         iovec.
43622         * locale/programs/locfile.h: Include "obstack.h".
43623         (struct locale_file): Change to store locale file contents instead
43624         of header.
43625         (init_locale_data): New prototype.
43626         (align_locale_data): Likewise.
43627         (add_locale_empty): Likewise.
43628         (add_locale_raw_data): Likewise.
43629         (add_locale_raw_obstack): Likewise.
43630         (add_locale_string): Likewise.
43631         (add_locale_wstring): Likewise.
43632         (add_locale_uint32): Likewise.
43633         (add_locale_uint32_array): Likewise.
43634         (add_locale_char): Likewise.
43635         (start_locale_structure): Likewise.
43636         (end_locale_structure): Likewise.
43637         (start_locale_prelude): Likewise.
43638         (end_locale_prelude): Likewise.
43639         (write_locale_data): Update prototype.
43640         * locale/programs/3level.h (struct TABLE): Remove result field.
43641         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
43642         Use new locale_file interface.
43643         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
43644         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
43645         * locale/programs/ld-address.c (address_output): Use new
43646         locale_file interface.
43647         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
43648         NO_ADD_LOCALE.
43649         (collate_finish): Don't call collseq_table_finalize.
43650         (collate_output): Use new locale_file interface.
43651         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
43652         in file.
43653         (NO_FINALIZE): Change to NO_ADD_LOCALE.
43654         (TABLE): Move defines earlier in file.
43655         (ELEMENT): Likewise.
43656         (DEFAULT): Likewise.
43657         (wctrans_table_add): Move macro and inline function earlier in
43658         file.
43659         (struct wctype_table): Move type earlier in file.
43660         (add_locale_wctype_table): New static prototype.
43661         (struct locale_ctype_t): Use logical types instead of struct iovec
43662         pointers for members.
43663         (ctype_output): Use new locale_file interface.
43664         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
43665         new locale_file interface.
43666         (allocate_arrays): Update for use of new locale_file interface.
43667         * locale/programs/ld-identification.c (identification_output): Use
43668         new locale_file interface.
43669         * locale/programs/ld-measurement.c (measurement_output): Likewise.
43670         * locale/programs/ld-messages.c (messages_output): Likewise.
43671         * locale/programs/ld-monetary.c (monetary_output): Likewise.
43672         * locale/programs/ld-name.c (name_output): Likewise.
43673         * locale/programs/ld-numeric.c (numeric_output): Likewise.
43674         * locale/programs/ld-paper.c (paper_output): Likewise.
43675         * locale/programs/ld-telephone.c (telephone_output): Likewise.
43676         * locale/programs/ld-time.c (time_output): Likewise.
43678 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43680         * benchtests/Makefile: Add memrchr benchmark.
43681         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
43682         benchmark as memrchr.
43683         * benchtests/bench-memrchr-ifunc.c: New file.
43684         * benchtests/bench-memrchr.c: New file.
43686 2013-09-06   Will Newton  <will.newton@linaro.org>
43688         * benchtests/Makefile (string-bench): Add memcpy.
43690 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
43691             Cong Wang  <amwang@redhat.com>
43693         [BZ #15850]
43694         * sysdeps/unix/sysv/linux/bits/in.h
43695         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
43696         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
43697         before __USE_KERNEL_IPV6_DEFS uses.
43698         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
43699         IPPROTO_BEETPH.
43700         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
43701         sockaddr_in6, or ipv6_mreq.
43703 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43705         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
43706         memory access for final bytes in some large inputs.
43707         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
43709 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43711         * string/test-memrchr.c: New file.
43712         * string/test-memrchr-ifunc.c: New file.
43713         * string/Makefile: Add new memrchr testcase.
43715 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
43717         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
43718         fanotify_init returns EPERM.
43720 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
43722         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
43723         errors.
43724         (top level): Treat second token from macro or constant entries for
43725         allowed headers as allowed.
43726         * include/complex.h: Condition internal declarations on
43727         [!_ISOMAC].
43728         * include/fenv.h: Condition include of <stdbool.h> and internal
43729         declarations on [!_ISOMAC].
43731 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
43733         [BZ #15923]
43734         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
43736 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
43738         * configure.in (--enable-versioning): Remove configure option.
43739         (libc_cv_asm_symver_directive): Remove configure test.
43740         (libc_cv_ld_version_script_option): Likewise.
43741         (VERSIONING): Remove variable and AC_SUBST.
43742         (DO_VERSIONING): Remove AC_DEFINE.
43743         * configure: Regenerated.
43744         * config.h.in (DO_VERSIONING): Remove macro.
43745         * Makerules [$(versioning) = yes]: Change conditionals to
43746         [$(build-shared) = yes].
43747         * config.make.in (versioning): Remove variable.
43748         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
43749         [$(build-shared) = yes].
43750         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
43751         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
43752         * elf/Makefile [$(versioning) = yes]: Change conditionals to
43753         [$(build-shared) = yes].
43754         * extra-lib.mk [$(versioning) = yes]: Likewise.
43755         * hurd/Makefile [$(versioning) = yes]: Likewise.
43756         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
43757         [SHARED].
43758         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
43759         [SHARED].
43760         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
43761         [SHARED && !NO_HIDDEN].
43762         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
43763         [SHARED].
43764         [SHARED && DO_VERSIONING]: Likewise..
43765         * libio/Makefile [$(versioning) = yes]: Change conditionals to
43766         [$(build-shared) = yes].
43767         * manual/install.texi (--disable-versioning): Remove
43768         documentation.
43769         * INSTALL: Regenerated.
43770         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
43771         to [SHARED].
43772         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
43773         [$(build-shared) = yes].
43774         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
43775         * sysdeps/i386/i686/multiarch/strstr-c.c
43776         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
43777         [SHARED && !NO_HIDDEN].
43778         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
43779         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
43780         * sysdeps/powerpc/powerpc32/dl-machine.c
43781         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
43782         * sysdeps/powerpc/powerpc32/sysdep.h
43783         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
43784         to [SHARED && PIC && !NO_HIDDEN].
43785         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
43786         conditional to [SHARED].
43788 2013-09-04   Will Newton  <will.newton@linaro.org>
43790         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
43791         * benchtests/bench-string.h: Include bench-timing.h instead
43792         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
43793         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
43794         call to HP_TIMING_DIFF_INIT.
43795         * benchtests/bench-memccpy.c: Use bench-timing.h macros
43796         instead of hp-timing.h macros.
43797         * benchtests/bench-memchr.c: Likewise.
43798         * benchtests/bench-memcmp.c: Likewise.
43799         * benchtests/bench-memcpy.c: Likewise.
43800         * benchtests/bench-memmem.c: Likewise.
43801         * benchtests/bench-memmove.c: Likewise.
43802         * benchtests/bench-memset.c: Likewise.
43803         * benchtests/bench-rawmemchr.c: Likewise.
43804         * benchtests/bench-strcasecmp.c: Likewise.
43805         * benchtests/bench-strcasestr.c: Likewise.
43806         * benchtests/bench-strcat.c: Likewise.
43807         * benchtests/bench-strchr.c: Likewise.
43808         * benchtests/bench-strcmp.c: Likewise.
43809         * benchtests/bench-strcpy.c: Likewise.
43810         * benchtests/bench-strcpy_chk.c: Likewise.
43811         * benchtests/bench-strlen.c: Likewise.
43812         * benchtests/bench-strncasecmp.c: Likewise.
43813         * benchtests/bench-strncat.c: Likewise.
43814         * benchtests/bench-strncmp.c: Likewise.
43815         * benchtests/bench-strncpy.c: Likewise.
43816         * benchtests/bench-strnlen.c: Likewise.
43817         * benchtests/bench-strpbrk.c: Likewise.
43818         * benchtests/bench-strrchr.c: Likewise.
43819         * benchtests/bench-strspn.c: Likewise.
43820         * benchtests/bench-strstr.c: Likewise.
43822 2013-09-04  Will Newton  <will.newton@linaro.org>
43824         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
43826 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
43828         [BZ #15427]
43829         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
43830         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
43831         * math/libm-test.inc (lgamma_test_data): Add more tests.
43832         * sysdeps/i386/fpu/libm-test-ulps: Update.
43833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43835 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
43837         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
43838         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43839         Add ifunc.
43840         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43841         Add strcmp-sse2-unaligned
43842         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
43844 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
43846         * Versions.def (libc): Add GLIBC_2.19.
43848 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
43850         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
43851         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
43853 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
43855         [BZ #14155]
43856         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
43857         intermediate calculations in recurrence.
43858         (__ieee754_ynf): Likewise.
43859         * math/libm-test.inc (jn_test_data): Do not allow spurious
43860         underflow exception.  Add more tests.
43861         (yn_test_data): Add more tests.
43862         * sysdeps/i386/fpu/libm-test-ulps: Update.
43863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43865 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
43867         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
43869 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
43871         * csu/init-first.c: Fix then/than typos.
43872         * locale/programs/ld-collate.c: Likewise.
43873         * locale/programs/linereader.h: Likewise.
43874         * manual/charset.texi: Likewise.
43875         * manual/filesys.texi: Likewise.
43876         * manual/stdio.texi: Likewise.
43877         * manual/string.texi: Likewise.
43878         * stdlib/fmtmsg.c: Likewise.
43879         * sysdeps/i386/stpncpy.S: Likewise.
43880         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43881         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43882         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43883         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43885 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
43887         * elf/dl-open.c: Fix typos.
43888         * iconvdata/gbbig5.c: Likewise.
43889         * iconvdata/iso-2022-jp.c: Likewise.
43890         * iconv/gconv_int.h: Likewise.
43891         * iconv/loop.c: Likewise.
43892         * nis/rpcsvc/nis.h: Likewise.
43893         * resolv/ns_name.c: Likewise.
43894         * stdio-common/vfscanf.c: Likewise.
43895         * streams/stropts.h: Likewise.
43896         * sunrpc/rpc_thread.c: Likewise.
43897         * sysdeps/i386/strpbrk.S: Likewise.
43898         * sysdeps/ieee754/k_standard.c: Likewise.
43899         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43900         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43901         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
43902         * sysdeps/mach/hurd/profil.c: Likewise.
43903         * sysdeps/s390/dl-procinfo.h: Likewise.
43904         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
43905         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
43906         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
43907         * sysdeps/x86_64/dl-trampoline.S: Likewise.
43908         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43910 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
43912         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
43913         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
43915 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
43917         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
43918         aix specific files.
43919         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
43920         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
43921         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
43922         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
43923         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
43924         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
43925         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
43926         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
43928 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
43929             Roland McGrath  <roland@hack.frob.com>
43931         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
43932         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
43934 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43936         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
43937         __executable_start symbol instead of _start.
43939 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
43941         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
43942         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
43943         Move macros to...
43944         * sysdeps/gnu/ldsodefs.h: ... this new file.
43946         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
43947         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
43948         instead of ELFOSABI_LINUX.
43950         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
43951         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
43952         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
43953         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
43954         Likewise.
43955         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
43956         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
43957         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
43958         Likewise.
43959         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
43960         (ibm_extended_long_double): Add ieee_nan member.
43961         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
43962         (do_test): New function.
43964         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
43965         TEST_TRUNC.
43966         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
43967         functions, renamed from truncdfsf_test, trunctfsf_test,
43968         trunctfdf_test.
43969         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
43970         functions.
43971         (do_test): Run all these.
43973 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
43975         * argp/argp-help.c: Fix typos.
43976         * argp/argp-parse.c: Likewise.
43977         * debug/backtracesyms.c: Likewise.
43978         * elf/elf.h: Likewise.
43979         * malloc/malloc.c: Likewise.
43980         * nis/nis_print.c: Likewise.
43981         * resolv/res_comp.c: Likewise.
43982         * stdlib/stdlib.h: Likewise.
43983         * sunrpc/clnt_tcp.c: Likewise.
43984         * sunrpc/clnt_udp.c: Likewise.
43985         * sunrpc/clnt_unix.c: Likewise.
43986         * sysdeps/unix/bsd/ptsname.c: Likewise.
43987         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
43988         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
43989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
43990         Likewise.
43991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
43992         Likewise.
43993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
43994         Likewise.
43995         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43997 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43999         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
44000         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44002 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
44004         [BZ #15897]
44005         * dlfcn/Makefile (tests): Add bug-dl-leaf.
44006         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
44007         ($(objpfx)bug-dl-leaf): New rule.
44008         ($(objpfx)bug-dl-leaf.so): Likewise.
44009         ($(objpfx)bug-dl-leaf.out): Likewise.
44010         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
44011         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
44012         * dlfcn/bug-dl-leaf.c: New test.
44013         * dlfcn/bug-dl-leaf-lib.c: Likewise.
44014         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
44015         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
44016         (dlclose): Likewise.
44017         (dlmopen): Likewise.
44019 2013-08-27  Roland McGrath  <roland@hack.frob.com>
44021         * include/netdb.h [!_ISOMAC]:
44022         Don't include <tls.h>.
44023         (h_errno, __libc_h_errno): Move declaration and macros out of
44024         [_LIBC_REENTRANT].
44026         * include/resolv.h [_RESOLV_H_]:
44027         Don't include <tls.h>.
44028         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
44029         * resolv/res_libc.c: Don't include <tls.h>.
44030         (_res): Use __attribute__ ((nocommon)) in place of
44031         __attribute__ ((section (".bss"))).
44033         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
44034         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
44036         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
44038         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
44039         only under [SIOCGIFCONF && SIOCGIFNETMASK].
44041         * resolv/res_mkquery.c: Include <sys/time.h>.
44043         * inet/ifreq.c: Moved to ...
44044         * sysdeps/unix/ifreq.c: ... here.
44045         * inet/ifreq.c: New file, true stub version.
44047         * socket/sa_len.c: New file.
44048         * socket/Makefile (aux): Add it.
44049         * sysdeps/unix/sysv/linux/Makefile
44050         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
44051         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
44052         and #include <socket/sa_len.c>.
44053         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
44054         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
44056         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
44057         * bits/socket.h: ... here.
44059         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
44060         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
44061         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
44063 2013-08-27  Andreas Schwab  <schwab@suse.de>
44065         [BZ #15736]
44066         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
44067         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
44068         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
44069         * string/test-strcasecmp.c (test_main): Run tests in several
44070         locales.
44071         * string/test-strncasecmp.c (test_main): Likewise.
44073         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
44074         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
44075         to __strcasecmp_nonascii and __strncasecmp_nonascii.
44076         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
44077         (__strncasecmp_ssse3) [PIC]: Likewise.
44079 2013-08-26  Roland McGrath  <roland@hack.frob.com>
44081         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
44083         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
44084         instead of explicitly declaring xdecrypt.
44085         * nis/nss_nis/nis-publickey.c: Likewise.
44087 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44089         [BZ #15890]
44090         * nscd/aicache.c: Include res_hconf.h.
44091         (addhstaiX): Initialize res_hconf.
44093 2013-08-26  Andreas Schwab  <schwab@suse.de>
44095         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
44096         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
44098 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44100         * nscd/aicache.c (addhstaiX): Fix indentation.
44102 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
44104         * configure.ac: Quote $build_pt_chown test.
44105         * configure: Regenerated.
44107 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
44109         [BZ #15532]
44110         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
44111         * math/s_cexpf.c (__cexpf): Likewise.
44112         * math/s_cexpl.c (__cexpl): Likewise.
44113         * math/libm-test.inc (cexp_test_data): Correct expected return
44114         value for NaN + i0.  Add another test.
44116 2013-08-22  David S. Miller  <davem@davemloft.net>
44118         * po/ca.po: Update Catalan translation from translation project.
44119         * po/uk.po: Add Ukrainian translations from translation project.
44121 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
44123         [BZ #15797]
44124         * math/s_fdim.c (__fdim): Check for infinite arguments if result
44125         is infinite, not alongside NaN test.
44126         * math/s_fdimf.c (__fdimf): Likewise.
44127         * math/s_fdiml.c (__fdiml): Likewise.
44128         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
44129         errno is unchanged.
44131 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
44133         * argp/argp-help.c: Fix typos.
44134         * crypt/speeds.c: Likewise.
44135         * csu/check_fds.c: Likewise.
44136         * elf/dl-load.c: Likewise.
44137         * elf/dl-open.c: Likewise.
44138         * elf/reldep3.c: Likewise.
44139         * elf/reldep.c: Likewise.
44140         * elf/sprof.c: Likewise.
44141         * iconv/iconv_charmap.c: Likewise.
44142         * iconv/skeleton.c: Likewise.
44143         * iconv/strtab.c: Likewise.
44144         * io/lockf64.c: Likewise.
44145         * libio/libioP.h: Likewise.
44146         * resolv/gai_notify.c: Likewise.
44147         * resolv/ns_name.c: Likewise.
44148         * resolv/ns_samedomain.c: Likewise.
44149         * resolv/res_send.c: Likewise.
44150         * stdlib/random.c: Likewise.
44151         * sunrpc/rpc/xdr.h: Likewise.
44152         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
44153         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44154         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44155         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44156         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44157         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44158         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44159         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44160         * sysdeps/mach/hurd/check_fds.c: Likewise.
44161         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
44162         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
44163         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44164         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
44165         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44166         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
44167         * sysdeps/pthread/aio_notify.c: Likewise.
44168         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
44169         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
44170         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
44171         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44172         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
44174 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44176         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
44177         version if bit_Slow_SSE4_2 is set.
44178         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44179         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44181 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44183         [BZ #15867]
44184         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
44185         trampoline stack frame information.
44186         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
44187         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
44188         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
44189         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
44190         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
44191         * sysdeps/unix/sysv/linux/powerpc/init-first.c
44192         (_libc_vdso_platform_setup): Initialize the signal trampolines.
44193         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
44194         sa_flags value.
44195         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
44196         interrupting a syscall and set with option SA_SIGINFO.
44198 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
44200         [BZ #15531]
44201         * math/s_cproj.c (__cproj): Only return an infinity if one part of
44202         argument is infinite.
44203         * math/s_cprojf.c (__cprojf): Likewise.
44204         * math/s_cprojl.c (__cprojl): Likewise.
44205         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
44206         * math/libm-test.inc (cproj_test_data): Add more tests.
44208         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
44210         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
44211         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
44212         size.  Use __ffs to determine corresponding shift.
44214 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
44215             Roland McGrath  <roland@hack.frob.com>
44217         * Makefile (INSTALL): Remove trailing blank lines from output of
44218         makeinfo.
44220 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44222         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
44223         Align 32 bit compat elf_greg to 8 bytes.
44225 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
44227         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
44229 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44231         * string/strcoll_l.c (coll_seq): New structure.
44232         (get_next_seq_cached): New function.
44233         (get_next_seq): New function.
44234         (do_compare): New function.
44235         (STRCOLL): Use GNU style definition.  Simplify implementation
44236         by using get_next_seq, get_next_seq_cached and do_compare.
44238 2013-08-16  Florian Weimer  <fweimer@redhat.com>
44240         [BZ #14699]
44241         CVE-2013-4237
44242         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
44243         member.
44244         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
44245         member.
44246         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
44247         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
44248         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
44249         conditional.
44250         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
44251         GETDENTS_64BIT_ALIGNED.
44252         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44253         * manual/filesys.texi (Reading/Closing Directory): Document
44254         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
44255         strongly.
44256         * manual/conf.texi (Limits for Files): Add portability note to
44257         NAME_MAX, PATH_MAX.
44258         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
44260 2013-08-13  Andreas Schwab  <schwab@suse.de>
44262         [BZ #15749]
44263         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
44264         of fabs.
44265         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
44266         LDBL_MAX_EXP >= 16384]: Add tests for it.
44268 2013-08-12  David S. Miller  <davem@davemloft.net>
44270         * version.h (RELEASE): Set to "development".
44271         (VERSION): Set to "2.18.90".
44272         * NEWS: Add 2.19 section.
44274 2013-08-03  David S. Miller  <davem@davemloft.net>
44276         * po/ko.po: Update Korean translation from translation project.
44278 2013-08-01  David S. Miller  <davem@davemloft.net>
44280         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
44281         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
44282         Bilka.
44284 2013-07-30  David S. Miller  <davem@davemloft.net>
44286         * po/fr.po: Update French translation from translation project.
44288 2013-07-28  David S. Miller  <davem@davemloft.net>
44290         * po/cs.po: Update Czech translation from translation project.
44292         * po/sv.po: Update Swedish translation from translation project.
44294 2013-07-27  David S. Miller  <davem@davemloft.net>
44296         * po/eo.po: Update Esperanto translation from translation project.
44298         * po/vi.po: Update Vietnamese translation from translation project.
44300         * po/de.po: Update German translation from translation project.
44302 2013-07-26  David S. Miller  <davem@davemloft.net>
44304         * po/bg.po: Update Bulgarian translation from translation project.
44306         * po/nl.po: Update Dutch translation from translation project.
44307         * po/pl.po: Update Polish translation from translation project.
44308         * po/ru.po: Update Russian translation from translation project.
44310 2013-07-24  David S. Miller  <davem@davemloft.net>
44312         * po/libc.pot: Update.
44314 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44316         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
44317         variable page size.
44318         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
44319         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
44320         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
44322 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44324         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
44326 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44327             Andreas Schwab  <schwab@suse.de>
44328             Roland McGrath  <roland@hack.frob.com>
44329             Joseph Myers  <joseph@codesourcery.com>
44330             Carlos O'Donell  <carlos@redhat.com>
44332         [BZ #15755]
44333         * config.h.in: Define HAVE_PT_CHOWN.
44334         * config.make.in (build-pt-chown): New variable.
44335         * configure.in (--enable-pt_chown): New configure option.
44336         * configure: Regenerate.
44337         * login/Makefile: Include Makeconfig.  Build pt_chown only if
44338         build-pt-chown is enabled.
44339         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
44340         pt_chown to fix pty ownership.
44341         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
44342         CLOSE_ALL_FDS.
44343         * manual/install.texi (Configuring and compiling): Mention
44344         --enable-pt_chown. Add @findex for grantpt.
44345         * INSTALL: Regenerate.
44347 2013-07-20  David S. Miller  <davem@davemloft.net>
44349         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
44350         difference between 32-bit and 64-bit.
44352 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
44354         [BZ #15711]
44355         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
44356         Avoid system header dependency with -ffreestanding.
44357         ($(objpfx)bits/syscall%d): Likewise.
44359 2013-07-13  David S. Miller  <davem@davemloft.net>
44361         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
44362         underflows from atanl/atan2l due to bug 15319.
44363         (casinh_test_data): Likewise.
44365 2013-07-07  David S. Miller  <davem@davemloft.net>
44367         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
44369 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
44371         * sysdeps/i386/fpu/libm-test-ulps: Update.
44372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44374 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44376         * configure.in (--enable-lock-elision): Fix message text.
44377         * INSTALL: Regenerate.
44378         * configure: Regenerate.
44380 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44382         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44384 2013-07-03  Andreas Jaeger  <aj@suse.de>
44386         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
44387         define.
44388         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
44389         (ptrace_peeksiginfo_args): Add.
44390         (__ptrace_peeksiginfo_flags): Add.
44391         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44392         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44393         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44395 2013-07-03  Allan McRae  <allan@archlinux.org>
44397         * sysdeps/i386/fpu/libm-test-ulps: Update.
44399 2013-07-02  David S. Miller  <davem@davemloft.net>
44401         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44403 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
44405         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44407 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
44409         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
44410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44412 2013-07-02  Andi Kleen <ak@linux.intel.com>
44414         * config.h.in (ENABLE_LOCK_ELISION): Add.
44415         * configure.in (--enable-lock-elision): Add option.
44416         * manual/install.texi: Document --enable lock elision.
44417         * configure: Regenerate
44418         * INSTALL: Regenerate.
44420 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
44422         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
44423         SSE4.2 strcasecmp for libc.a.
44424         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
44426 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
44428         [BZ #13304]
44429         * soft-fp/op-common.h (_FP_FMA): New macro.
44430         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
44431         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
44432         (_FP_MUL_MEAT_1_imm): ... here.
44433         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
44434         (_FP_MUL_MEAT_1_wide): ... here.
44435         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
44436         (_FP_MUL_MEAT_1_hard): ... here.
44437         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
44438         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
44439         (_FP_MUL_MEAT_2_wide): ... here.
44440         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
44441         (_FP_MUL_MEAT_2_wide_3mul): ... here.
44442         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
44443         (_FP_MUL_MEAT_2_gmp): ... here.
44444         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
44445         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
44446         (_FP_MUL_MEAT_4_wide): ... here.
44447         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
44448         (_FP_MUL_MEAT_4_gmp): ... here.
44449         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
44450         (_FP_WFRACBITS_DW_S): Likewise.
44451         (_FP_WFRACXBITS_DW_S): Likewise.
44452         (_FP_HIGHBIT_DW_S): Likewise.
44453         (FP_FMA_S): Likewise.
44454         (_FP_FRAC_HIGH_DW_S): Likewise.
44455         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
44456         (_FP_WFRACBITS_DW_D): Likewise.
44457         (_FP_WFRACXBITS_DW_D): Likewise.
44458         (_FP_HIGHBIT_DW_D): Likewise.
44459         (FP_FMA_D): Likewise.
44460         (_FP_FRAC_HIGH_DW_D): Likewise.
44461         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
44462         (_FP_WFRACBITS_DW_E): Likewise.
44463         (_FP_WFRACXBITS_DW_E): Likewise.
44464         (_FP_HIGHBIT_DW_E): Likewise.
44465         (FP_FMA_E): Likewise.
44466         (_FP_FRAC_HIGH_DW_E): Likewise.
44467         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
44468         (_FP_WFRACBITS_DW_Q): Likewise.
44469         (_FP_WFRACXBITS_DW_Q): Likewise.
44470         (_FP_HIGHBIT_DW_Q): Likewise.
44471         (FP_FMA_Q): Likewise.
44472         (_FP_FRAC_HIGH_DW_Q): Likewise.
44473         * soft-fp/fmasf4.c: New file.
44474         * soft-fp/fmadf4.c: Likewise.
44475         * soft-fp/fmatf4.c: Likewise.
44477 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44479         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44480         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
44481         Silvermont.
44482         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
44483         macro.
44484         (index_Slow_SSE4_2): Likewise.
44485         (index_Prefer_PMINUB_for_stringop): Likewise.
44486         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
44487         bit_Slow_SSE4_2 is set.
44488         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
44489         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44491 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44493         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
44494         rtld_global._dl_hwcap2.
44495         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
44496         POWER8.
44497         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
44498         POWER8 feature descriptions defined in _dl_hwcap2.
44499         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
44500         string handling for POWER8 feature bits.
44501         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
44502         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
44503         _dl_powerpc_cap_flags.
44504         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
44505         * sysdeps/powerpc/rtld-global-offsets.sym
44506         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
44507         _dl_hwcap2 in the rtld_global_ro structure.
44509 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44511         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
44512         hardware capabilities in support of AT_HWCAP2.
44513         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
44514         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
44515         GLRO(dl_hwcap2).
44516         (_dl_show_auxv): Add support for calling _dl_procinfo to display
44517         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
44518         explicitly the unknown a_type display mechanism is used.
44519         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
44520         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
44521         struct member.
44522         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
44523         to macro prototype for AT_HWCAP2 support.
44524         * sysdeps/i386/dl-procinfo.h: Likewise.
44525         * sysdeps/s390/dl-procinfo.h: Likewise.
44526         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
44527         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
44528         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
44529         return -1 for unknown a_type display fallback.
44530         * sysdeps/sparc/dl-procinfo.h: Likewise.
44531         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
44532         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
44534 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
44536         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
44537         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
44539 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
44541         [BZ #12492]
44542         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
44543         mprotect making __stack_prot writable.
44545 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
44546             Joseph Myers  <joseph@codesourcery.com>
44548         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
44549         as being properly aligned.
44551 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
44553         * dlfcn/modstatic5.c: New file.
44554         * dlfcn/tststatic5.c: New file.
44555         * dlfcn/Makefile (tests): Add tststatic5.
44556         (tests-static): Likewise.
44557         (modules-names): Add modstatic5.
44558         (tststatic5-ENV): New variable.
44559         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
44561         [BZ #15022]
44562         * elf/dl-support.c (_dl_main_map): New variable.
44563         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
44564         (_dl_nns, _dl_load_adds): Set to 1.
44565         (_dl_initial_searchlist): Refer to _dl_main_map.
44566         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
44567         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
44568         call to _dl_get_origin.
44569         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
44570         around call_map.
44571         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
44572         * dlfcn/modstatic3.c: New file.
44573         * dlfcn/tststatic3.c: New file.
44574         * dlfcn/tststatic4.c: New file.
44575         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
44576         (tests-static): Likewise.
44577         (modules-names): Add modstatic3.
44578         (tststatic3-ENV, tststatic4-ENV): New variables.
44579         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
44580         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
44582 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
44584         * configure.in (CC): Require GCC version 4.4 or later.
44585         * configure: Regenerated.
44586         * manual/install.texi (Tools for Compilation): Update GCC version
44587         requirement.
44588         * INSTALL: Regenerated.
44590 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44592         [BZ #15674]
44593         * string/test-memcmp.c (check2): New.
44594         (main): Call check2.
44596         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
44598 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
44600         [BZ #15022]
44601         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
44602         over to...
44603         (dl_open_worker) [!SHARED]: ... here.
44605 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44607         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
44609 2013-06-25  Richard Henderson  <rth@redhat.com>
44611         * locale/programs/locarchive.c: Include <libc-internal.h>
44613 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
44615         * manual/texinfo.tex: Update to version 2013-06-21.17, with
44616         trailing whitespace removed.
44618 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
44620         [BZ #10283]
44621         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
44622         * locale/programs/locarchive.c: Include libc-mmap.h.
44623         (prepare_address_space): Take two new outputs (the mmap base and len).
44624         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
44625         values.
44626         (create_archive): Declare new mmap base and len values for
44627         prepare_address_space, and store the result in ah.
44628         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
44629         (enlarge_archive): If ah->mmap_base is not NULL, use that and
44630         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
44631         Declare new mmap base and len values for
44632         prepare_address_space, and store the result in new_ah.
44633         (open_archive): Declare new mmap base and len values for
44634         prepare_address_space, and store the result in ah.
44635         (close_archive): If ah->mmap_base is not NULL, use that and
44636         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
44637         * sysdeps/generic/libc-mmap.h: New file.
44639 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
44641         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
44642         (ALIGN_UP): Likewise.
44643         (PTR_ALIGN_DOWN): Likewise.
44644         (PTR_ALIGN_UP): Likewise.
44646 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44648         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
44649         entry mapped to PPC_PLATFORM_POWER8.
44650         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
44651         POWER8.
44652         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
44653         (_dl_string_platform): Add case for exporting platform position for
44654         POWER8.
44655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
44656         search path to sysdeps/powerpc/powerpc32/power8 directory.
44657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
44658         search path to sysdeps/powerpc/powerpc64/power8 directory.
44659         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
44660         power7 directories.
44661         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
44662         power7 directories.
44664 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44666         * INSTALL: Regenerate.
44668         * nscd/connections.c (nscd_init): Fix comment.
44670 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
44672         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
44674         [BZ #15667]
44675         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
44676         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
44678 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
44680         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
44681         DL_DST_REQ_STATIC.
44682         (DL_DST_REQ_STATIC): Remove macro.
44684 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
44686         [BZ #7006]
44687         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
44688         with a shift of 0 bits.
44690 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
44692         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
44693         $(tststatic-ENV).
44695 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44697         [BZ #15655]
44698         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
44700 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44702         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
44703         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
44704         accepts -fno-tree-loop-distribute-patterns.
44705         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
44706         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
44707         recursive call.
44708         * string/memset.c (memset): Likewise.
44709         * string/test-memmove.c (simple_memmove): Disable loop transformation
44710         to library calls.
44711         * string/test-memset.c (simple_memset): Likewise.
44712         * benchtests/bench-memmove.c (simple_memmove): Likewise.
44713         * benchtests/bench-memset.c (simple_memset): Likewise.
44714         * configure: Regenerated.
44716 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
44718         * math/test-misc.c (main): Ignore fesetround failure when failures
44719         of subsequent rounding tests would be ignored.
44721         [BZ #15654]
44722         * math/fedisblxcpt.c (fedisableexcept): Return 0.
44723         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
44724         * math/fegetenv.c (__fegetenv): Return 0.
44725         * math/fegetexcept.c (fegetexcept): Return 0.
44726         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
44727         FE_TONEAREST.
44728         * math/feholdexcpt.c (feholdexcept): Return 0.
44729         * math/fesetenv.c (__fesetenv): Return 0.
44730         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
44731         argument FE_TONEAREST.
44732         * math/feupdateenv.c (__feupdateenv): Return 0.
44733         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
44735 2013-06-18  Roland McGrath  <roland@hack.frob.com>
44737         * elf/rtld-Rules (rtld-compile-command.S): New variable.
44738         (rtld-compile-command.s, rtld-compile-command.c): New variables.
44739         ($(objpfx)rtld-%.os rules): Use them.
44741 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44743         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
44744         fields.
44746 2013-06-17  Roland McGrath  <roland@hack.frob.com>
44748         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
44749         length of target pattern, then descending length of dependency pattern.
44750         * configure.in (AWK): Require gawk 3.1.2 or newer.
44751         * manual/install.texi (Tools for Compilation): Say that we do.
44752         * configure: Regenerated.
44754         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
44755         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
44756         * scripts/sysd-rules.awk: ... this new script.
44757         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
44758         than a glob-style pattern.
44760 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
44762         * math/test-misc.c (main): Do not treat incorrectly rounded
44763         conversions as failure unless ROUNDING_TESTS passes.
44765 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
44767         [BZ #15631]
44768         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
44769         restore exception state around main square root computation, then
44770         check for inexactness explicitly.
44772         * math/libm-test.inc (fma_test_data): Add another test.
44774 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44776         * manual/threads.texi (Non-POSIX Extensions): New document
44777         node.  Document pthread_getattr_default_np and
44778         pthread_setattr_default_np.
44780         * Versions.def (libpthread): Add GLIBC_2.18.
44781         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
44782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44783         Likewise.
44784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44785         Likewise.
44786         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44787         Likewise.
44788         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44789         Likewise.
44790         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
44791         Likewise.
44792         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44793         Likewise.
44794         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44795         Likewise.
44796         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44797         Likewise.
44798         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
44799         Likewise.
44801 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44803         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44804         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
44806 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44807             H.J. Lu  <hjl.tools@gmail.com>
44809         [BZ #15627]
44810         * sysdeps/x86_64/rtld-memset.c: Remove file.
44811         * sysdeps/x86_64/rtld-memset.S: New file.
44813 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
44815         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
44816         (test_in_one_mode): Take arguments for whether the rounding mode
44817         is supported for each floating-point type.
44818         (do_test): Pass new arguments to test_in_one_mode using
44819         ROUNDING_TESTS.
44821 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44823         * posix/tst-waitid.c (do_test): Distinguish different instances of
44824         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
44825         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
44826         before entering the kernel for waitpid.
44828 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44830         * NEWS: Fix note on clock function precision.  Text by Roland
44831         McGrath.
44833 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44835         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
44836         it into place only when and if the sanity check passes.
44838 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
44840         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
44841         output for whether conversion result is exact.  Take argument
44842         indicating whether type is IBM long double.
44843         (round_for_all): Change need_exact field to ibm_ld.
44844         * stdlib/tst-strtod-round.c (struct exactness): New type.
44845         (struct test): Change bool ld_ok field to struct exactness exact.
44846         (TEST): Update all definitions for change to field.
44847         (tests): Regenerate array contents.
44848         (test_in_one_mode): Take pointer to new field instead of old ld_ok
44849         field value.  Check for IBM long double here.
44850         (do_test): Update calls to test_in_one_mode.
44852 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44854         [BZ #12515]
44855         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
44856         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
44858 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44860         [BZ #15605]
44861         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
44862         generated by the compiler on loop optimizations.
44863         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
44864         general definitions.
44866 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
44868         * math/bug-nextafter.c: Include <math-tests.h>.
44869         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44870         the relevant type.
44871         * math/bug-nexttoward.c: Include <math-tests.h>.
44872         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44873         the relevant type.
44874         * math/test-misc.c: Include <math-tests.h>.
44875         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44876         the relevant type.
44878 2013-06-12  Andreas Jaeger  <aj@suse.de>
44880         * po/ia.po: Update Interlingua translation from translation
44881         project.
44883 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44885         * include/fenv.h: Include stdbool.h.
44886         (struct rm_ctx): New structure.
44887         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
44888         Define macro.
44889         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
44890         (SET_RESTORE_ROUNDF): Likewise.
44891         (SET_RESTORE_ROUNDL): Likewise.
44892         (SET_RESTORE_ROUND_NOEX): Likewise.
44893         (SET_RESTORE_ROUND_NOEXF): Likewise.
44894         (SET_RESTORE_ROUND_NOEXL): Likewise.
44895         (SET_RESTORE_ROUND_53BIT): Likewise.
44896         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
44897         (libc_feresetround_noexf_ctx): Likewise.
44898         (libc_feresetround_noexl_ctx): Likewise.
44899         (libc_feholdsetround_53bit_ctx): Likewise.
44900         (libc_feresetround_53bit_ctx): Likewise.
44901         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
44902         (libc_feholdexcept_setround_sse_ctx): New function.
44903         (libc_fesetenv_sse_ctx): Likewise.
44904         (libc_feupdateenv_sse_ctx): Likewise.
44905         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
44906         (libc_feholdexcept_setround_387_ctx): Likewise.
44907         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
44908         (libc_feholdsetround_387_prec_ctx): Likewise.
44909         (libc_feholdsetround_387_ctx): Likewise.
44910         (libc_feholdsetround_387_53bit_ctx): Likewise.
44911         (libc_feholdsetround_sse_ctx): Likewise.
44912         (libc_feresetround_sse_ctx): Likewise.
44913         (libc_feresetround_387_ctx): Likewise.
44914         (libc_feupdateenv_387_ctx): Likewise.
44915         (libc_feholdexcept_setroundf_ctx): Define macro.
44916         (libc_fesetenvf_ctx): Likewise.
44917         (libc_feupdateenvf_ctx): Likewise.
44918         (libc_feholdsetroundf_ctx): Likewise.
44919         (libc_feresetroundf_ctx): Likewise.
44920         (libc_feholdexcept_setround_ctx): Likewise.
44921         (libc_fesetenv_ctx): Likewise.
44922         (libc_feupdateenv_ctx): Likewise.
44923         (libc_feholdsetround_ctx): Likewise.
44924         (libc_feresetround_ctx): Likewise.
44925         (libc_feholdexcept_setroundl_ctx): Likewise.
44926         (libc_feupdateenvl_ctx): Likewise.
44927         (libc_feholdsetroundl_ctx): Likewise.
44928         (libc_feresetroundl_ctx): Likewise.
44929         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
44930         (libc_feresetround_53bit_ctx): Likewise.
44932 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44934         * locale/iso-639.def: Convert to UTF-8.
44936 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
44938         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
44939         (EXCEPTION_TESTS_double): Likewise.
44940         (EXCEPTION_TESTS_long_double): Likewise.
44941         (EXCEPTION_TESTS): Likewise.
44942         * math/libm-test.inc (test_exceptions): Only test exceptions if
44943         EXCEPTION_TESTS (FLOAT).
44945 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44947         * benchtests/Makefile (string-bench): Add strcpy_chk and
44948         stpcpy_chk.
44949         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
44950         * benchtests/bench-stpcpy_chk.c: New file.
44951         * benchtests/bench-strcpy_chk-ifunc.c: New file.
44952         * benchtests/bench-strcpy_chk.c: New file.
44953         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
44954         code.
44955         (do_test): Likewise.
44957 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44959         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
44960         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
44961         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
44962         with tabs where appropriate.
44963         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
44964         dl-procinfo.h.
44965         [PPC_PLATFORM_PPC440]: Likewise.
44966         [PPC_PLATFORM_PPC464]: Likewise.
44967         [PPC_PLATFORM_PPC476]: Likewise.
44968         (_dl_string_platform): Add support for detecting ppc405, ppc440,
44969         ppc464, and ppc476 platform strings merging from ports/
44970         dl-procinfo.h.
44972 2013-06-11  Andreas Schwab  <schwab@suse.de>
44974         [BZ #14991]
44975         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
44976         (from_ucs4_idx): Regenerate.
44977         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
44978         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
44979         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
44980         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
44981         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
44982         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
44983         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
44984         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
44985         from FROM_LOOP and TO_LOOP specific macros.
44986         (BODY): Handle combining characters.
44987         * iconvdata/BIG5HKSCS.irreversible: Update.
44988         * iconvdata/BIG5HKSCS.precomposed: New file.
44989         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
44990         characters.
44991         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
44993 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44995         * include/sys/time.h: Fix indentation and add copyright header.
44997         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
44998         (do_test): Likewise.
44999         * string/test-memchr.c (do_one_test): Likewise.
45000         (do_test): Likewise.
45001         * string/test-memcmp.c (do_one_test): Likewise.
45002         (do_test): Likewise.
45003         * string/test-memcpy.c (do_one_test): Likewise.
45004         (do_test): Likewise.
45005         * string/test-memmem.c (do_one_test): Likewise.
45006         (do_test): Likewise.
45007         (do_random_tests): Likewise.
45008         * string/test-memmove.c (do_one_test): Likewise.
45009         (do_test): Likewise.
45010         * string/test-memset.c (do_one_test): Likewise.
45011         (do_test): Likewise.
45012         * string/test-rawmemchr.c (do_one_test): Likewise.
45013         (do_test): Likewise.
45014         * string/test-strcasecmp.c (do_one_test): Likewise.
45015         (do_test): Likewise.
45016         * string/test-strcasestr.c (do_one_test): Likewise.
45017         (do_test): Likewise.
45018         * string/test-strcat.c (do_one_test): Likewise.
45019         (do_test): Likewise.
45020         * string/test-strchr.c (do_one_test): Likewise.
45021         (do_test): Likewise.
45022         * string/test-strcmp.c (do_one_test): Likewise.
45023         (do_test): Likewise.
45024         * string/test-strcpy.c (do_one_test): Likewise.
45025         (do_test): Likewise.
45026         * string/test-string.h: Likewise.
45027         (test_init): Likewise.
45028         * string/test-strlen.c (do_one_test): Likewise.
45029         (do_test): Likewise.
45030         * string/test-strncasecmp.c (do_one_test): Likewise.
45031         (do_test): Likewise.
45032         * string/test-strncat.c (do_one_test): Likewise.
45033         (do_test): Likewise.
45034         * string/test-strncmp.c (do_one_test): Likewise.
45035         (do_test_limit): Likewise.
45036         (do_test): Likewise.
45037         * string/test-strncpy.c (do_one_test): Likewise.
45038         (do_test): Likewise.
45039         * string/test-strnlen.c (do_one_test): Likewise.
45040         (do_test): Likewise.
45041         * string/test-strpbrk.c (do_one_test): Likewise.
45042         (do_test): Likewise.
45043         * string/test-strrchr.c (do_one_test): Likewise.
45044         (do_test): Likewise.
45045         * string/test-strspn.c (do_one_test): Likewise.
45046         (do_test): Likewise.
45047         * string/test-strstr.c (do_one_test): Likewise.
45048         (do_test): Likewise.
45050         * benchtests/Makefile (string-bench): Add string benchmarks.
45051         * benchtests/bench-bcopy-ifunc.c: New file.
45052         * benchtests/bench-bcopy.c: New file.
45053         * benchtests/bench-bzero-ifunc.c: New file.
45054         * benchtests/bench-bzero.c: New file.
45055         * benchtests/bench-memccpy-ifunc.c: New file.
45056         * benchtests/bench-memccpy.c: New file.
45057         * benchtests/bench-memchr-ifunc.c: New file.
45058         * benchtests/bench-memchr.c: New file.
45059         * benchtests/bench-memcmp-ifunc.c: New file.
45060         * benchtests/bench-memcmp.c: New file.
45061         * benchtests/bench-memmem-ifunc.c: New file.
45062         * benchtests/bench-memmem.c: New file.
45063         * benchtests/bench-memmove-ifunc.c: New file.
45064         * benchtests/bench-memmove.c: New file.
45065         * benchtests/bench-mempcpy-ifunc.c: New file.
45066         * benchtests/bench-mempcpy.c: New file.
45067         * benchtests/bench-memset-ifunc.c: New file.
45068         * benchtests/bench-memset.c: New file.
45069         * benchtests/bench-rawmemchr-ifunc.c: New file.
45070         * benchtests/bench-rawmemchr.c: New file.
45071         * benchtests/bench-stpcpy-ifunc.c: New file.
45072         * benchtests/bench-stpcpy.c: New file.
45073         * benchtests/bench-stpncpy-ifunc.c: New file.
45074         * benchtests/bench-stpncpy.c: New file.
45075         * benchtests/bench-strcasecmp-ifunc.c: New file.
45076         * benchtests/bench-strcasecmp.c: New file.
45077         * benchtests/bench-strcasestr-ifunc.c: New file.
45078         * benchtests/bench-strcasestr.c: New file.
45079         * benchtests/bench-strcat-ifunc.c: New file.
45080         * benchtests/bench-strcat.c: New file.
45081         * benchtests/bench-strchr-ifunc.c: New file.
45082         * benchtests/bench-strchr.c: New file.
45083         * benchtests/bench-strchrnul-ifunc.c: New file.
45084         * benchtests/bench-strchrnul.c: New file.
45085         * benchtests/bench-strcmp-ifunc.c: New file.
45086         * benchtests/bench-strcmp.c: New file.
45087         * benchtests/bench-strcpy-ifunc.c: New file.
45088         * benchtests/bench-strcpy.c: New file.
45089         * benchtests/bench-strcspn-ifunc.c: New file.
45090         * benchtests/bench-strcspn.c: New file.
45091         * benchtests/bench-strlen-ifunc.c: New file.
45092         * benchtests/bench-strlen.c: New file.
45093         * benchtests/bench-strncasecmp-ifunc.c: New file.
45094         * benchtests/bench-strncasecmp.c: New file.
45095         * benchtests/bench-strncat-ifunc.c: New file.
45096         * benchtests/bench-strncat.c: New file.
45097         * benchtests/bench-strncmp-ifunc.c: New file.
45098         * benchtests/bench-strncmp.c: New file.
45099         * benchtests/bench-strncpy-ifunc.c: New file.
45100         * benchtests/bench-strncpy.c: New file.
45101         * benchtests/bench-strnlen-ifunc.c: New file.
45102         * benchtests/bench-strnlen.c: New file.
45103         * benchtests/bench-strpbrk-ifunc.c: New file.
45104         * benchtests/bench-strpbrk.c: New file.
45105         * benchtests/bench-strrchr-ifunc.c: New file.
45106         * benchtests/bench-strrchr.c: New file.
45107         * benchtests/bench-strspn-ifunc.c: New file.
45108         * benchtests/bench-strspn.c: New file.
45109         * benchtests/bench-strstr-ifunc.c: New file.
45110         * benchtests/bench-strstr.c: New file.
45112         * benchtests/Makefile: Disable parallel execution of targets.
45113         (string-bench): Add memcpy.
45114         (benchset): New variable to store a list of benchmark sets.
45115         (bench-func): Renamed from bench.
45116         (bench-set): New target.
45117         (bench): Depend on bench-func and bench-set.
45118         * benchtests/README: Add section on benchmark sets.
45119         * benchtests/bench-memcpy-ifunc.c: New file.
45120         * benchtests/bench-memcpy.c: New file.
45121         * benchtests/bench-string.h: New file.
45123 2013-06-11  Andreas Schwab  <schwab@suse.de>
45125         [BZ #15577]
45126         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
45127         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
45128         values in the triple.
45129         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
45130         terminator in the group key.
45132 2013-06-11  Andreas Jaeger  <aj@suse.de>
45134         * po/zh_TW.po: Update Chinese (traditional) translation from
45135         translation project.
45137 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45139         * include/time.h (__clock_gettime): Add libc_hidden_proto.
45140         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
45141         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
45142         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45143         (clock_getcpuclockid): Likewise.
45144         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
45145         Add weak_alias and libc_hidden_def.
45146         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
45147         * rt/clock_gettime.c (clock_gettime): Rename to
45148         __clock_gettime.  Add weak_alias and libc_hidden_def.
45149         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
45150         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
45151         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
45152         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
45153         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
45154         Likewise.
45155         * rt/clock_settime.c (clock_settime): Rename to
45156         __clock_settime.  Add weak_alias and libc_hidden_def.
45157         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
45159 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
45161         * mach/err_boot.sub: Remove trailing whitespace.
45162         * mach/err_ipc.sub: Likewise.
45163         * mach/err_mach.sub: Likewise.
45165         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
45166         (ROUNDING_TESTS_double): Likewise.
45167         (ROUNDING_TESTS_long_double): Likewise.
45168         (ROUNDING_TESTS): Likewise.
45169         * math/libm-test.inc: Include <math-tests.h>.
45170         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
45171         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
45172         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
45173         (IF_ROUND_INIT_FE_UPWARD): Likewise.
45175 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45177         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
45178         of assigning.
45180 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
45182         * sysdeps/gnu/errlist.awk: Do not generate space at end of
45183         otherwise empty TRANS lines.
45184         * sysdeps/gnu/errlist.c: Regenerated.
45186         * catgets/gencat.c (error_print): Use (void) in function
45187         definition.
45188         * crypt/crypt_util.c (__init_des): Likewise.
45189         * crypt/speeds.c (Stop): Likewise.
45190         (main): Likewise.
45191         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
45192         * inet/ruserpass.c (token): Likewise.
45193         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
45194         * intl/localealias.c (extend_alias_table): Likewise.
45195         * intl/plural-exp.c (init_germanic_plural): Likewise.
45196         * libio/fcloseall.c (__fcloseall): Likewise.
45197         * libio/genops.c (_IO_flush_all): Likewise.
45198         (_IO_flush_all_linebuffered): Likewise.
45199         (_IO_cleanup): Likewise.
45200         (_IO_iter_begin): Likewise.
45201         (_IO_iter_end): Likewise.
45202         (_IO_list_lock): Likewise.
45203         (_IO_list_unlock): Likewise.
45204         (_IO_list_resetlock): Likewise.
45205         * libio/getchar.c (getchar): Likewise.
45206         * libio/getchar_u.c (getchar_unlocked): Likewise.
45207         * libio/getwchar.c (getwchar): Likewise.
45208         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
45209         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
45210         * login/getpt.c (__getpt): Likewise.
45211         * login/tst-utmp.c (main): Likewise.
45212         * malloc/hooks.c (__malloc_check_init): Likewise.
45213         * malloc/malloc.c (__malloc_stats): Likewise.
45214         * malloc/mtrace.c (tr_break): Likewise.
45215         (mtrace): Likewise.
45216         (muntrace): Likewise.
45217         * misc/fstab.c (endfsent): Likewise.
45218         * misc/getclktck.c (__getclktck): Likewise.
45219         * misc/getdtsz.c (__getdtablesize): Likewise.
45220         * misc/gethostid.c (gethostid): Likewise.
45221         * misc/getpagesize.c (__getpagesize): Likewise.
45222         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
45223         (__get_nprocs): Likewise.
45224         (__get_phys_pages): Likewise.
45225         (__get_avphys_pages): Likewise.
45226         * misc/getttyent.c (getttyent): Likewise.
45227         (setttyent): Likewise.
45228         (endttyent): Likewise.
45229         * misc/getusershell.c (getusershell): Likewise.
45230         (endusershell): Likewise.
45231         (setusershell): Likewise.
45232         (initshells): Likewise.
45233         * misc/hsearch.c (__hdestroy): Likewise.
45234         * misc/sync.c (sync): Likewise.
45235         * misc/syslog.c (closelog_internal): Likewise.
45236         (closelog): Likewise.
45237         * misc/ttyslot.c (ttyslot): Likewise.
45238         * misc/vhangup.c (vhangup): Likewise.
45239         * posix/fork.c (__fork): Likewise.
45240         * posix/getegid.c (__getegid): Likewise.
45241         * posix/geteuid.c (__geteuid): Likewise.
45242         * posix/getgid.c (__getgid): Likewise.
45243         * posix/getpid.c (__getpid): Likewise.
45244         * posix/getppid.c (__getppid): Likewise.
45245         * posix/getuid.c (__getuid): Likewise.
45246         * posix/pause.c (pause): Likewise.
45247         * posix/setpgrp.c (setpgrp): Likewise.
45248         * posix/setsid.c (__setsid): Likewise.
45249         * posix/test-vfork.c (noop): Likewise.
45250         * resolv/gethnamaddr.c (_endhtent): Likewise.
45251         (_gethtent): Likewise.
45252         (ht_endhostent): Likewise.
45253         (gethostent): Likewise.
45254         (dns_service): Likewise.
45255         * stdlib/drand48.c (drand48): Likewise.
45256         * stdlib/lrand48.c (lrand48): Likewise.
45257         * stdlib/mrand48.c (mrand48): Likewise.
45258         * stdlib/rand.c (rand): Likewise.
45259         * stdlib/random.c (__random): Likewise.
45260         * stdlib/setenv.c (clearenv): Likewise.
45261         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
45262         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
45263         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
45264         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
45265         (__get_nprocs): Likewise.
45266         (__get_phys_pages): Likewise.
45267         (__get_avphys_pages): Likewise.
45268         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
45269         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
45270         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
45271         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
45272         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
45273         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
45274         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
45275         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
45276         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
45277         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
45278         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
45279         * sysdeps/mach/hurd/sync.c (sync): Likewise.
45280         * sysdeps/posix/clock.c (clock): Likewise.
45281         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
45282         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
45283         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
45284         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
45285         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
45286         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
45287         (__get_nprocs_conf): Likewise.
45288         (__get_phys_pages): Likewise.
45289         (__get_avphys_pages): Likewise.
45290         * time/clock.c (clock): Likewise.
45291         * time/tzset.c (__tzname_max): Likewise.
45293 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
45295         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
45296         (__bswap_32): Do not use "register".
45297         * crypt/crypt.c (_ufc_doit_r): Likewise.
45298         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
45299         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
45300         * gmon/gmon.c (__monstartup): Likewise.
45301         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
45302         * hurd/hurdmalloc.c (more_memory): Likewise.
45303         (malloc): Likewise.
45304         (free): Likewise.
45305         (realloc): Likewise.
45306         (malloc_fork_prepare): Likewise.
45307         (malloc_fork_parent): Likewise.
45308         (malloc_fork_child): Likewise.
45309         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
45310         (_svcauth_des): Likewise.
45311         * inet/inet_lnaof.c (inet_lnaof): Likewise.
45312         * inet/inet_net.c (inet_network): Likewise.
45313         * inet/inet_netof.c (inet_netof): Likewise.
45314         * inet/rcmd.c (__validuser2_sa): Likewise.
45315         * io/fts.c (fts_open): Likewise.
45316         (fts_load): Likewise.
45317         (fts_close): Likewise.
45318         (fts_read): Likewise.
45319         (fts_children): Likewise.
45320         (fts_build): Likewise.
45321         (fts_stat): Likewise.
45322         (fts_sort): Likewise.
45323         (fts_alloc): Likewise.
45324         (fts_lfree): Likewise.
45325         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
45326         (_IO_file_xsgetn): Likewise.
45327         (_IO_file_xsgetn_mmap): Likewise.
45328         * libio/iofopncook.c (_IO_cookie_read): Likewise.
45329         (_IO_cookie_write): Likewise.
45330         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
45331         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
45332         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
45333         * malloc/obstack.c (_obstack_begin): Likewise.
45334         (_obstack_begin_1): Likewise.
45335         (_obstack_newchunk): Likewise.
45336         (_obstack_allocated_p): Likewise.
45337         (obstack_free): Likewise.
45338         (_obstack_memory_used): Likewise.
45339         * misc/getttyent.c (getttynam): Likewise.
45340         (getttyent): Likewise.
45341         (skip): Likewise.
45342         (value): Likewise.
45343         * misc/getusershell.c (initshells): Likewise.
45344         * misc/syslog.c (__vsyslog_chk): Likewise.
45345         * misc/ttyslot.c (ttyslot): Likewise.
45346         * nis/nis_hash.c (__nis_hash): Likewise.
45347         * posix/fnmatch_loop.c (FCT): Likewise.
45348         * posix/getconf.c (print_all): Likewise.
45349         (main): Likewise.
45350         * posix/getopt.c (exchange): Likewise.
45351         * posix/glob.c (globfree): Likewise.
45352         (prefix_array): Likewise.
45353         (__glob_pattern_type): Likewise.
45354         * resolv/arpa/nameser.h (NS_GET16): Likewise.
45355         (NS_GET32): Likewise.
45356         (NS_PUT16): Likewise.
45357         (NS_PUT32): Likewise.
45358         * resolv/gethnamaddr.c (getanswer): Likewise.
45359         (gethostbyname2): Likewise.
45360         (gethostbyaddr): Likewise.
45361         (_gethtent): Likewise.
45362         (_gethtbyname2): Likewise.
45363         (_gethtbyaddr): Likewise.
45364         * resolv/ns_print.c (dst_s_get_int16): Likewise.
45365         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
45366         * resolv/res_init.c (__res_vinit): Likewise.
45367         (net_mask): Likewise.
45368         * resolv/res_mkquery.c (outchar): Likewise.
45369         (PRINT): Likewise.
45370         * stdio-common/printf_fp.c (outchar): Likewise.
45371         (PRINT): Likewise.
45372         * stdio-common/printf_fphex.c (outchar): Likewise.
45373         (PRINT): Likewise.
45374         * stdio-common/printf_size.c (outchar): Likewise.
45375         (PRINT): Likewise.
45376         * stdio-common/test_rdwr.c (main): Likewise.
45377         * stdio-common/tfformat.c (matches): Likewise.
45378         * stdio-common/vfprintf.c (outchar): Likewise.
45379         (printf_unknown): Likewise.
45380         (buffered_vfprintf): Likewise.
45381         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
45382         * stdio-common/xbug.c (AppendToBuffer): Likewise.
45383         (ReadFile): Likewise.
45384         * stdlib/qsort.c (SWAP): Likewise.
45385         (_quicksort): Likewise.
45386         * stdlib/setenv.c (__add_to_environ): Likewise.
45387         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
45388         * stdlib/strtol_l.c (__strtol_l): Likewise.
45389         * stdlib/tst-strtod.c (main): Likewise.
45390         * stdlib/tst-strtol.c (main): Likewise.
45391         * stdlib/tst-strtoll.c (main): Likewise.
45392         * string/bits/string2.h (__strcmp_cc): Likewise.
45393         (__strcmp_cg): Likewise.
45394         (__strcspn_c1): Likewise.
45395         (__strcspn_c2): Likewise.
45396         (__strcspn_c3): Likewise.
45397         (__strspn_c1): Likewise.
45398         (__strspn_c2): Likewise.
45399         (__strspn_c3): Likewise.
45400         (__strsep_1c): Likewise.
45401         (__strsep_2c): Likewise.
45402         (__strsep_3c): Likewise.
45403         * string/memccpy.c (__memccpy): Likewise.
45404         * string/stpcpy.c (__stpcpy): Likewise.
45405         * string/strcmp.c (strcmp): Likewise.
45406         * string/strrchr.c (strrchr): Likewise.
45407         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
45408         Likewise.
45409         * sysdeps/mach/hurd/getcwd.c
45410         (_hurd_canonicalize_directory_name_internal): Likewise.
45411         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
45412         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
45413         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
45414         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
45415         Likewise, in both definitions.
45416         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
45417         definitions.
45418         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
45419         64] (__bswap_64): Likewise.
45420         * time/test_time.c (main): Likewise.
45421         * time/tzfile.c (__tzfile_read): Likewise.
45422         (__tzfile_compute): Likewise.
45423         * time/tzset.c (__tzset_parse_tz): Likewise.
45424         (tzset_internal): Likewise.
45425         (compute_change): Likewise.
45426         * wcsmbs/wcscat.c (__wcscat): Likewise.
45427         * wcsmbs/wcschr.c (wcschr): Likewise.
45428         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
45429         * wcsmbs/wcscspn.c (wcscspn): Likewise.
45430         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
45431         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
45432         * wcsmbs/wcsspn.c (wcsspn): Likewise.
45433         * wcsmbs/wcsstr.c (wcsstr): Likewise.
45434         * wcsmbs/wmemchr.c (wmemchr): Likewise.
45435         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45436         * wcsmbs/wmemset.c (wmemset): Likewise.
45438 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
45440         * scripts/config.guess: Update to version 2013-05-16.
45441         * scripts/config.sub: Update to version 2013-04-24.
45442         * scripts/install-sh: Update to version 2011-11-20.07.
45443         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
45444         * scripts/move-if-change: Update to version 2012-01-06 07:23.
45446 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
45448         * debug/fgetws_u_chk.c: Fix leading whitespaces.
45449         * elf/sln.c: Likewise.
45450         * hurd/hurd/ioctl.h: Likewise.
45451         * hurd/hurdmalloc.c: Likewise.
45452         * hurd/xattr.c: Likewise.
45453         * include/shlib-compat.h: Likewise.
45454         * inet/ruserpass.c: Likewise.
45455         * libio/iofgets_u.c: Likewise.
45456         * libio/iofgetws_u.c: Likewise.
45457         * locale/programs/ld-identification.c: Likewise.
45458         * locale/programs/ld-time.c: Likewise.
45459         * mach/msg-destroy.c: Likewise.
45460         * nss/nss_files/files-netgrp.c: Likewise.
45461         * resolv/res_data.c: Likewise.
45462         * soft-fp/op-1.h: Likewise.
45463         * soft-fp/op-2.h: Likewise.
45464         * soft-fp/op-4.h: Likewise.
45465         * soft-fp/op-common.h: Likewise.
45466         * stdio-common/printf_fphex.c: Likewise.
45467         * stdlib/strtod_l.c: Likewise.
45468         * sunrpc/rpc/clnt.h: Likewise.
45469         * sysdeps/generic/framestate.c: Likewise.
45470         * sysdeps/i386/bsd-_setjmp.S: Likewise.
45471         * sysdeps/i386/bsd-setjmp.S: Likewise.
45472         * sysdeps/i386/__longjmp.S: Likewise.
45473         * sysdeps/i386/setjmp.S: Likewise.
45474         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45475         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45476         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45477         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45478         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45479         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45480         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45481         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45482         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45483         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
45484         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45485         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45486         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45487         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45488         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45489         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45490         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45491         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
45492         * sysdeps/ieee754/support.c: Likewise.
45493         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45494         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
45495         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
45496         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
45497         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
45498         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
45499         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
45500         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
45501         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
45502         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
45503         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
45504         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
45505         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
45506         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
45507         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
45508         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
45509         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
45512 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
45514         * posix/transbug.c: Remove executable mode.
45516 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
45518         * crypt/speeds.c: Remove trailing whitespace.
45519         * dlfcn/default.c: Likewise.
45520         * elf/ifuncdep2.c: Likewise.
45521         * elf/ifuncmain1.c: Likewise.
45522         * elf/ifuncmain1vis.c: Likewise.
45523         * elf/testobj.h: Likewise.
45524         * elf/tst-stackguard1.c: Likewise.
45525         * gmon/sys/gmon.h: Likewise.
45526         * hurd/hurdmsg.c: Likewise.
45527         * hurd/new-fd.c: Likewise.
45528         * hurd/ports-get.c: Likewise.
45529         * iconvdata/ibm1008_420.c: Likewise.
45530         * inet/tst-getni1.c: Likewise.
45531         * inet/tst-getni2.c: Likewise.
45532         * libio/ioungetc.c: Likewise.
45533         * libio/wfiledoalloc.c: Likewise.
45534         * manual/libm-err-tab.pl: Likewise.
45535         * math/w_dremf.c: Likewise.
45536         * misc/ftruncate.c: Likewise.
45537         * posix/bug-glob2.c: Likewise.
45538         * posix/tst-pcre.c: Likewise.
45539         * posix/wait4.c: Likewise.
45540         * resolv/README: Likewise.
45541         * resolv/res_debug.h: Likewise.
45542         * resolv/tst-inet_ntop.c: Likewise.
45543         * setjmp/bug269-setjmp.c: Likewise.
45544         * soft-fp/extended.h: Likewise.
45545         * soft-fp/op-1.h: Likewise.
45546         * soft-fp/op-2.h: Likewise.
45547         * soft-fp/op-4.h: Likewise.
45548         * soft-fp/op-8.h: Likewise.
45549         * soft-fp/testit.c: Likewise.
45550         * stdio-common/bug16.c: Likewise.
45551         * stdlib/random.c: Likewise.
45552         * sunrpc/rpcsvc/rquota.x: Likewise.
45553         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
45554         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45555         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45556         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45557         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45558         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45559         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45560         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45561         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45562         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45563         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45564         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45565         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45566         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45567         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45568         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45569         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45570         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45571         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45572         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45573         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45574         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45575         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
45576         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45577         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45578         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45579         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45580         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45581         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45582         * sysdeps/ieee754/s_lib_version.c: Likewise.
45583         * sysdeps/mach/hurd/check_fds.c: Likewise.
45584         * sysdeps/mach/hurd/getsockname.c: Likewise.
45585         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
45586         * sysdeps/mach/hurd/recvfrom.c: Likewise.
45587         * sysdeps/powerpc/bits/link.h: Likewise.
45588         * sysdeps/powerpc/dl-procinfo.c: Likewise.
45589         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
45590         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
45591         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
45592         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
45593         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45594         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
45595         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
45596         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
45597         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45598         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
45599         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
45600         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
45601         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45602         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45603         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45604         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
45605         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
45606         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45607         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45608         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45609         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
45610         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45611         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
45612         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
45613         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
45614         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
45615         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45616         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45617         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
45618         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
45619         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
45620         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45621         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45622         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
45623         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
45624         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
45625         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
45626         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
45627         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
45628         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
45629         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
45630         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
45631         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
45632         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
45633         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
45634         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
45635         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
45636         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
45637         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
45638         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45639         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45640         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45641         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45642         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
45643         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
45644         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
45645         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45646         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
45647         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
45648         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
45649         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
45650         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
45651         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
45652         * sysdeps/powerpc/sysdep.h: Likewise.
45653         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45654         * sysdeps/s390/s390-64/sub_n.S: Likewise.
45655         * sysdeps/sh/dl-trampoline.S: Likewise.
45656         * sysdeps/sh/memset.S: Likewise.
45657         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
45658         * sysdeps/sh/strlen.S: Likewise.
45659         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
45660         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
45661         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
45662         * sysdeps/sparc/sparc32/rem.S: Likewise.
45663         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
45664         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
45665         * sysdeps/sparc/sparc32/strchr.S: Likewise.
45666         * sysdeps/sparc/sparc32/udiv.S: Likewise.
45667         * sysdeps/sparc/sparc32/urem.S: Likewise.
45668         * sysdeps/sparc/sparc64/add_n.S: Likewise.
45669         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45670         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
45671         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
45672         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
45673         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
45674         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
45675         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
45676         * sysdeps/unix/bsd/times.c: Likewise.
45677         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
45678         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
45679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
45680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
45681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
45682         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
45683         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
45684         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
45685         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
45686         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
45687         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
45688         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
45689         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
45690         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45691         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
45692         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
45693         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
45694         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
45695         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
45696         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
45697         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
45698         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
45699         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45700         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
45701         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
45702         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
45703         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
45704         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45705         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
45706         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
45707         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
45708         * sysdeps/x86_64/strcspn.S: Likewise.
45710 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45712         * locale/C-translit.h: Revert #include <stdint.h> because this is a
45713         generated file.  Regenerate properly from gen-translit.pl.
45714         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
45715         locale/C-translit.h.
45717 2013-06-05  Andreas Schwab  <schwab@suse.de>
45719         [BZ #15100]
45720         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
45721         week as 6 instead of -1.
45722         * time/tst-strptime.c (day_tests): Add test case.
45724 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45726         * sysdeps/generic/math_private.h
45727         (libc_feholdexcept_setround_53bit): Replace with
45728         libc_feholdsetround_53bit.
45729         (libc_feupdateenv_53bit): Replace with
45730         libc_feresetround_53bit.
45731         (SET_RESTORE_ROUND_53BIT): Adjust.
45733 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45735         * string/test-strchrnul.c: Add copyright header.
45737         * posix/tst-getaddrinfo4.c: Increase test timeout.
45739 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
45741         [BZ #15536]
45742         * math/libm-test.inc (MAX_EXP): Remove
45743         (MIN_EXP): Define.
45744         (ulp): Use MIN_EXP - MANT_DIG.
45745         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
45747 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
45749         * po/be.po: Revert last change.
45750         * po/zh_CN.po: Likewise.
45751         * po/header.pot: Likewise.
45753 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
45755         * Makefile ($(common-objpfx)linkobj/libc.so): Define
45756         link-libc-deps to empty as target-specific variable.
45757         * Makerules (link-libc-args): New variable.
45758         (libc-for-link): Likewise.
45759         (link-libc-deps): Likewise.
45760         (lib%.so): Depend on $(link-libc-deps).  Link with
45761         $(link-libc-args).
45762         (build-module): Link with $(link-libc-args).
45763         (build-module-asneeded): Likewise.
45764         (build-module-helper-objlist): Filter out $(link-libc-deps) from
45765         list of objects.
45766         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
45767         target-specific variable.
45768         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
45769         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
45770         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
45771         libc.
45772         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
45773         libc and ld.so.
45774         ($(objpfx)libpcprofile.so): Likewise.
45775         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
45776         libc_nonshared.a.
45777         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
45778         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
45779         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
45780         $(link-libc-deps).
45781         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
45782         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
45783         * login/Makefile ($(objpfx)libutil.so): Likewise.
45784         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
45785         * math/Makefile ($(objpfx)libm.so): Likewise.
45786         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
45787         $(objpfx)libnsl.so): Define libc-for-link as target-specific
45788         variable instead of depending directly on libc.
45789         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
45790         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
45791         $(link-libc-deps).
45792         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
45793         libc.
45794         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
45795         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
45796         ($(objpfx)libanl.so): Likewise.
45797         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
45798         ld.so.
45799         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
45800         $(link-libc-deps).
45801         * sysdeps/i386/fpu/Makefile: Remove file.
45802         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
45803         ($(objpfx)libm.so): Remove dependency on ld.so.
45805 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
45807         [BZ # 15553]
45808         * nis/yp_xdr.c (XDRMAXNAME): Define.
45809         (XDRMAXRECORD): Define.
45810         (xdr_domainname): Use XDRMAXNAME.
45811         (xdr_mapname): Likewise.
45812         (xdr_peername): Likewise.
45813         (xdr_keydat): Use XDRMAXRECORD.
45814         (xdr_valdat): Likewise.
45816 2013-05-30  Jeff Law  <law@redhat.com>
45818         [BZ #14256]
45819         * manual/errno.texi (ESTALE): Update to account for more than
45820         just NFS file systems.
45821         * sysdeps/gnu/errlist.c: Regenerated.
45823 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45825         [BZ #15465]
45826         * elf/Makefile (tests): Add tst-null-argv.
45827         (modules-names):  Add tst-null-argv-lib.
45828         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
45829         (tst-null-argv-ENV): Set environment for tst-null-argv.
45830         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
45831         (RTLD_PROGNAME): New macro.
45832         * elf/tst-null-argv.c: New test case.
45833         * elf/tst-null-argv-lib.c: Library for test case.
45834         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
45835         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
45836         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
45837         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
45838         * elf/dl-init.c (call_init): Likewise.
45839         (_dl_init): Likewise.
45840         * elf/dl-load.c (print_search_path): Likewise.
45841         (_dl_map_object): Likewise.
45842         * elf/dl-lookup.c (do_lookup_x): Likewise.
45843         (add_dependency): Likewise.
45844         (_dl_lookup_symbol_x): Likewise.
45845         (_dl_debug_bindings): Likewise.
45846         * elf/dl-open.c (_dl_show_scope): Likewise.
45847         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
45848         * elf/dl-version.c (match_symbol): Likewise.
45849         (_dl_check_map_versions): Likewise.
45850         * elf/rtld.c (dl_main): Likewise.
45851         (print_unresolved): Use RTLD_PROGNAME.
45852         (print_missing_version): Likewise.
45853         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
45854         (elf_machine_rela): Likewise.
45855         * sysdeps/powerpc/powerpc32/dl-machine.c
45856         (__process_machine_rela): Likewise.
45857         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45858         Likewise.
45859         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45860         Likewise.
45861         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
45862         Likewise.
45863         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45864         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
45865         Likewise.
45866         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
45867         Likewise.
45868         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45870 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
45872         * po/be.po: Add descriptive title.
45873         * po/zh_CN.po: Likewise.
45874         * po/header.pot: Likewise.
45876 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
45878         * locale/programs/locarchive.c (create_archive): Inlucde fname in
45879         error message.
45880         (enlarge_archive): Likewise.
45882 2013-05-28  Ben North  <ben@redfrontdoor.org>
45884         * manual/arith.texi (frexp): It is the magnitude of the return
45885         value which lies in [0.5, 1), not the return value itself.
45887 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45889         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45891 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
45893         * stdio-common/bug26.c (main): Correct fscanf template.
45895         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
45896         declare _dl_skip_args.
45898         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
45899         Don't declare.
45901         * manual/platform.texi: Add missing @end deftypefun.
45903 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
45905         [BZ #15529]
45906         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
45907         bit of mantissa of 2^16382.
45908         * math/libm-test.inc (hypot_test_data): Add more tests.
45910         * math/libm-test.inc: Add drem and pow10 to list of tested
45911         functions.
45912         (pow10_test): New function.
45913         (drem_test): Likewise.
45914         (drem_test_tonearest): Likewise.
45915         (drem_test_towardzero): Likewise.
45916         (drem_test_downward): Likewise.
45917         (drem_test_upward): Likewise.
45918         (main): Call the new functions.
45920         * math/libm-test.inc (finite_test_data): Remove.
45921         (finite_test): Run tests from isfinite_test_data.
45922         (gamma_test_data): Remove.
45923         (gamma_test): Run tests from lgamma_test_data.
45924         * sysdeps/i386/fpu/libm-test-ulps: Update.
45925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45927 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45929         * manual/platform.texi: Add PowerPC PPR function set documentation.
45930         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
45931         implementation.
45933 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
45935         * math/libm-test.inc (MAX_EXP): Define.
45936         (ULPDIFF): Define.
45937         (ulp): New function.
45938         (check_float_internal): Use ULPDIFF.
45939         (cpow_test): Disable failing test.
45940         (check_ulp): Test ulp() implemetnation.
45941         (main): Call check_ulp before starting tests.
45943 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
45945         * math/gen-libm-test.pl (generate_testfile): Do not handle
45946         START_DATA and END_DATA.
45947         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
45948         END_DATA.
45949         (acos_tonearest_test_data): Likewise.
45950         (acos_towardzero_test_data): Likewise.
45951         (acos_downward_test_data): Likewise.
45952         (acos_upward_test_data): Likewise.
45953         (acosh_test_data): Likewise.
45954         (asin_test_data): Likewise.
45955         (asin_tonearest_test_data): Likewise.
45956         (asin_towardzero_test_data): Likewise.
45957         (asin_downward_test_data): Likewise.
45958         (asin_upward_test_data): Likewise.
45959         (asinh_test_data): Likewise.
45960         (atan_test_data): Likewise.
45961         (atanh_test_data): Likewise.
45962         (atan2_test_data): Likewise.
45963         (cabs_test_data): Likewise.
45964         (cacos_test_data): Likewise.
45965         (cacosh_test_data): Likewise.
45966         (carg_test_data): Likewise.
45967         (casin_test_data): Likewise.
45968         (casinh_test_data): Likewise.
45969         (catan_test_data): Likewise.
45970         (catanh_test_data): Likewise.
45971         (cbrt_test_data): Likewise.
45972         (ccos_test_data): Likewise.
45973         (ccosh_test_data): Likewise.
45974         (ceil_test_data): Likewise.
45975         (cexp_test_data): Likewise.
45976         (cimag_test_data): Likewise.
45977         (clog_test_data): Likewise.
45978         (clog10_test_data): Likewise.
45979         (conj_test_data): Likewise.
45980         (copysign_test_data): Likewise.
45981         (cos_test_data): Likewise.
45982         (cos_tonearest_test_data): Likewise.
45983         (cos_towardzero_test_data): Likewise.
45984         (cos_downward_test_data): Likewise.
45985         (cos_upward_test_data): Likewise.
45986         (cosh_test_data): Likewise.
45987         (cosh_tonearest_test_data): Likewise.
45988         (cosh_towardzero_test_data): Likewise.
45989         (cosh_downward_test_data): Likewise.
45990         (cosh_upward_test_data): Likewise.
45991         (cpow_test_data): Likewise.
45992         (cproj_test_data): Likewise.
45993         (creal_test_data): Likewise.
45994         (csin_test_data): Likewise.
45995         (csinh_test_data): Likewise.
45996         (csqrt_test_data): Likewise.
45997         (ctan_test_data): Likewise.
45998         (ctan_tonearest_test_data): Likewise.
45999         (ctan_towardzero_test_data): Likewise.
46000         (ctan_downward_test_data): Likewise.
46001         (ctan_upward_test_data): Likewise.
46002         (ctanh_test_data): Likewise.
46003         (ctanh_tonearest_test_data): Likewise.
46004         (ctanh_towardzero_test_data): Likewise.
46005         (ctanh_downward_test_data): Likewise.
46006         (ctanh_upward_test_data): Likewise.
46007         (erf_test_data): Likewise.
46008         (erfc_test_data): Likewise.
46009         (exp_test_data): Likewise.
46010         (exp_tonearest_test_data): Likewise.
46011         (exp_towardzero_test_data): Likewise.
46012         (exp_downward_test_data): Likewise.
46013         (exp_upward_test_data): Likewise.
46014         (exp10_test_data): Likewise.
46015         (exp2_test_data): Likewise.
46016         (expm1_test_data): Likewise.
46017         (fabs_test_data): Likewise.
46018         (fdim_test_data): Likewise.
46019         (finite_test_data): Likewise.
46020         (floor_test_data): Likewise.
46021         (fma_test_data): Likewise.
46022         (fma_towardzero_test_data): Likewise.
46023         (fma_downward_test_data): Likewise.
46024         (fma_upward_test_data): Likewise.
46025         (fmax_test_data): Likewise.
46026         (fmin_test_data): Likewise.
46027         (fmod_test_data): Likewise.
46028         (fpclassify_test_data): Likewise.
46029         (frexp_test_data): Likewise.
46030         (gamma_test_data): Likewise.
46031         (hypot_test_data): Likewise.
46032         (ilogb_test_data): Likewise.
46033         (isfinite_test_data): Likewise.
46034         (isgreater_test_data): Likewise.
46035         (isgreaterequal_test_data): Likewise.
46036         (isinf_test_data): Likewise.
46037         (isless_test_data): Likewise.
46038         (islessequal_test_data): Likewise.
46039         (islessgreater_test_data): Likewise.
46040         (isnan_test_data): Likewise.
46041         (isnormal_test_data): Likewise.
46042         (issignaling_test_data): Likewise.
46043         (isunordered_test_data): Likewise.
46044         (j0_test_data): Likewise.
46045         (j1_test_data): Likewise.
46046         (jn_test_data): Likewise.
46047         (ldexp_test_data): Likewise.
46048         (lgamma_test_data): Likewise.
46049         (lrint_test_data): Likewise.
46050         (lrint_tonearest_test_data): Likewise.
46051         (lrint_towardzero_test_data): Likewise.
46052         (lrint_downward_test_data): Likewise.
46053         (lrint_upward_test_data): Likewise.
46054         (llrint_test_data): Likewise.
46055         (llrint_tonearest_test_data): Likewise.
46056         (llrint_towardzero_test_data): Likewise.
46057         (llrint_downward_test_data): Likewise.
46058         (llrint_upward_test_data): Likewise.
46059         (log_test_data): Likewise.
46060         (log10_test_data): Likewise.
46061         (log1p_test_data): Likewise.
46062         (log2_test_data): Likewise.
46063         (logb_test_data): Likewise.
46064         (logb_downward_test_data): Likewise.
46065         (lround_test_data): Likewise.
46066         (llround_test_data): Likewise.
46067         (modf_test_data): Likewise.
46068         (nearbyint_test_data): Likewise.
46069         (nextafter_test_data): Likewise.
46070         (nexttoward_test_data): Likewise.
46071         (pow_test_data): Likewise.
46072         (pow_tonearest_test_data): Likewise.
46073         (pow_towardzero_test_data): Likewise.
46074         (pow_downward_test_data): Likewise.
46075         (pow_upward_test_data): Likewise.
46076         (remainder_test_data): Likewise.
46077         (remainder_tonearest_test_data): Likewise.
46078         (remainder_towardzero_test_data): Likewise.
46079         (remainder_downward_test_data): Likewise.
46080         (remainder_upward_test_data): Likewise.
46081         (remquo_test_data): Likewise.
46082         (rint_test_data): Likewise.
46083         (rint_tonearest_test_data): Likewise.
46084         (rint_towardzero_test_data): Likewise.
46085         (rint_downward_test_data): Likewise.
46086         (rint_upward_test_data): Likewise.
46087         (round_test_data): Likewise.
46088         (scalb_test_data): Likewise.
46089         (scalbn_test_data): Likewise.
46090         (scalbln_test_data): Likewise.
46091         (signbit_test_data): Likewise.
46092         (sin_test_data): Likewise.
46093         (sin_tonearest_test_data): Likewise.
46094         (sin_towardzero_test_data): Likewise.
46095         (sin_downward_test_data): Likewise.
46096         (sin_upward_test_data): Likewise.
46097         (sincos_test_data): Likewise.
46098         (sinh_test_data): Likewise.
46099         (sinh_tonearest_test_data): Likewise.
46100         (sinh_towardzero_test_data): Likewise.
46101         (sinh_downward_test_data): Likewise.
46102         (sinh_upward_test_data): Likewise.
46103         (sqrt_test_data): Likewise.
46104         (tan_test_data): Likewise.
46105         (tan_tonearest_test_data): Likewise.
46106         (tan_towardzero_test_data): Likewise.
46107         (tan_downward_test_data): Likewise.
46108         (tan_upward_test_data): Likewise.
46109         (tanh_test_data): Likewise.
46110         (tgamma_test_data): Likewise.
46111         (trunc_test_data): Likewise.
46112         (y0_test_data): Likewise.
46113         (y1_test_data): Likewise.
46114         (yn_test_data): Likewise.
46115         (significand_test_data): Likewise.
46117         * math/gen-libm-test.pl (@functions): Remove variable.
46118         (generate_testfile): Don't handle START and END lines.
46119         * math/libm-test.inc (START): New macro.
46120         (END): Likewise.
46121         (END_COMPLEX): Likewise.
46122         (acos_test): Use END macro without arguments.
46123         (acos_test_tonearest): Likewise.
46124         (acos_test_towardzero): Likewise.
46125         (acos_test_downward): Likewise.
46126         (acos_test_upward): Likewise.
46127         (acosh_test): Likewise.
46128         (asin_test): Likewise.
46129         (asin_test_tonearest): Likewise.
46130         (asin_test_towardzero): Likewise.
46131         (asin_test_downward): Likewise.
46132         (asin_test_upward): Likewise.
46133         (asinh_test): Likewise.
46134         (atan_test): Likewise.
46135         (atanh_test): Likewise.
46136         (atan2_test): Likewise.
46137         (cabs_test): Likewise.
46138         (cacos_test): Use END_COMPLEX macro without arguments.
46139         (cacosh_test): Likewise.
46140         (carg_test): Use END macro without arguments.
46141         (casin_test): Use END_COMPLEX macro without arguments.
46142         (casinh_test): Likewise.
46143         (catan_test): Likewise.
46144         (catanh_test): Likewise.
46145         (cbrt_test): Use END macro without arguments.
46146         (ccos_test): Use END_COMPLEX macro without arguments.
46147         (ccosh_test): Likewise.
46148         (ceil_test): Use END macro without arguments.
46149         (cexp_test): Use END_COMPLEX macro without arguments.
46150         (cimag_test): Use END macro without arguments.
46151         (clog_test): Use END_COMPLEX macro without arguments.
46152         (clog10_test): Likewise.
46153         (conj_test): Likewise.
46154         (copysign_test): Use END macro without arguments.
46155         (cos_test): Likewise.
46156         (cos_test_tonearest): Likewise.
46157         (cos_test_towardzero): Likewise.
46158         (cos_test_downward): Likewise.
46159         (cos_test_upward): Likewise.
46160         (cosh_test): Likewise.
46161         (cosh_test_tonearest): Likewise.
46162         (cosh_test_towardzero): Likewise.
46163         (cosh_test_downward): Likewise.
46164         (cosh_test_upward): Likewise.
46165         (cpow_test): Use END_COMPLEX macro without arguments.
46166         (cproj_test): Likewise.
46167         (creal_test): Use END macro without arguments.
46168         (csin_test): Use END_COMPLEX macro without arguments.
46169         (csinh_test): Likewise.
46170         (csqrt_test): Likewise.
46171         (ctan_test): Likewise.
46172         (ctan_test_tonearest): Likewise.
46173         (ctan_test_towardzero): Likewise.
46174         (ctan_test_downward): Likewise.
46175         (ctan_test_upward): Likewise.
46176         (ctanh_test): Likewise.
46177         (ctanh_test_tonearest): Likewise.
46178         (ctanh_test_towardzero): Likewise.
46179         (ctanh_test_downward): Likewise.
46180         (ctanh_test_upward): Likewise.
46181         (erf_test): Use END macro without arguments.
46182         (erfc_test): Likewise.
46183         (exp_test): Likewise.
46184         (exp_test_tonearest): Likewise.
46185         (exp_test_towardzero): Likewise.
46186         (exp_test_downward): Likewise.
46187         (exp_test_upward): Likewise.
46188         (exp10_test): Likewise.
46189         (exp2_test): Likewise.
46190         (expm1_test): Likewise.
46191         (fabs_test): Likewise.
46192         (fdim_test): Likewise.
46193         (finite_test): Likewise.
46194         (floor_test): Likewise.
46195         (fma_test): Likewise.
46196         (fma_test_towardzero): Likewise.
46197         (fma_test_downward): Likewise.
46198         (fma_test_upward): Likewise.
46199         (fmax_test): Likewise.
46200         (fmin_test): Likewise.
46201         (fmod_test): Likewise.
46202         (fpclassify_test): Likewise.
46203         (frexp_test): Likewise.
46204         (gamma_test): Likewise.
46205         (hypot_test): Likewise.
46206         (ilogb_test): Likewise.
46207         (isfinite_test): Likewise.
46208         (isgreater_test): Likewise.
46209         (isgreaterequal_test): Likewise.
46210         (isinf_test): Likewise.
46211         (isless_test): Likewise.
46212         (islessequal_test): Likewise.
46213         (islessgreater_test): Likewise.
46214         (isnan_test): Likewise.
46215         (isnormal_test): Likewise.
46216         (issignaling_test): Likewise.
46217         (isunordered_test): Likewise.
46218         (j0_test): Likewise.
46219         (j1_test): Likewise.
46220         (jn_test): Likewise.
46221         (ldexp_test): Likewise.
46222         (lgamma_test): Likewise.
46223         (lrint_test): Likewise.
46224         (lrint_test_tonearest): Likewise.
46225         (lrint_test_towardzero): Likewise.
46226         (lrint_test_downward): Likewise.
46227         (lrint_test_upward): Likewise.
46228         (llrint_test): Likewise.
46229         (llrint_test_tonearest): Likewise.
46230         (llrint_test_towardzero): Likewise.
46231         (llrint_test_downward): Likewise.
46232         (llrint_test_upward): Likewise.
46233         (log_test): Likewise.
46234         (log10_test): Likewise.
46235         (log1p_test): Likewise.
46236         (log2_test): Likewise.
46237         (logb_test): Likewise.
46238         (logb_test_downward): Likewise.
46239         (lround_test): Likewise.
46240         (llround_test): Likewise.
46241         (modf_test): Likewise.
46242         (nearbyint_test): Likewise.
46243         (nextafter_test): Likewise.
46244         (nexttoward_test): Likewise.
46245         (pow_test): Likewise.
46246         (pow_test_tonearest): Likewise.
46247         (pow_test_towardzero): Likewise.
46248         (pow_test_downward): Likewise.
46249         (pow_test_upward): Likewise.
46250         (remainder_test): Likewise.
46251         (remainder_test_tonearest): Likewise.
46252         (remainder_test_towardzero): Likewise.
46253         (remainder_test_downward): Likewise.
46254         (remainder_test_upward): Likewise.
46255         (remquo_test): Likewise.
46256         (rint_test): Likewise.
46257         (rint_test_tonearest): Likewise.
46258         (rint_test_towardzero): Likewise.
46259         (rint_test_downward): Likewise.
46260         (rint_test_upward): Likewise.
46261         (round_test): Likewise.
46262         (scalb_test): Likewise.
46263         (scalbn_test): Likewise.
46264         (scalbln_test): Likewise.
46265         (signbit_test): Likewise.
46266         (sin_test): Likewise.
46267         (sin_test_tonearest): Likewise.
46268         (sin_test_towardzero): Likewise.
46269         (sin_test_downward): Likewise.
46270         (sin_test_upward): Likewise.
46271         (sincos_test): Likewise.
46272         (sinh_test): Likewise.
46273         (sinh_test_tonearest): Likewise.
46274         (sinh_test_towardzero): Likewise.
46275         (sinh_test_downward): Likewise.
46276         (sinh_test_upward): Likewise.
46277         (sqrt_test): Likewise.
46278         (tan_test): Likewise.
46279         (tan_test_tonearest): Likewise.
46280         (tan_test_towardzero): Likewise.
46281         (tan_test_downward): Likewise.
46282         (tan_test_upward): Likewise.
46283         (tanh_test): Likewise.
46284         (tgamma_test): Likewise.
46285         (trunc_test): Likewise.
46286         (y0_test): Likewise.
46287         (y1_test): Likewise.
46288         (yn_test): Likewise.
46289         (significand_test): Likewise.
46291 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
46293         [BZ #15381]
46294         * libio/genops.c (_IO_no_init): Initialize wide struct info.
46296 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
46298         [BZ #14894]
46299         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
46300         __ppc_mdoio and __ppc_mdoom.
46301         * manual/platform.texi: Document new functions __ppc_yield,
46302         __ppc_mdoio and __ppc_mdoom.
46304 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
46306         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
46307         (main): Mention "tls" pseudo-hwcap is legacy.
46308         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
46310 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
46312         * math/gen-libm-test.pl (parse_args): Output only string of
46313         arguments as text for test name, not full call or descriptions of
46314         tests for extra outputs.
46315         (generate_testfile): Do not pass function name to parse_args.
46316         Generate this_func variable from START.
46317         * math/libm-test.inc (struct test_f_f_data): Rename test_name
46318         field to arg_str.
46319         (struct test_ff_f_data): Likewise.
46320         (test_ff_f_data_nexttoward): Likewise.
46321         (struct test_fi_f_data): Likewise.
46322         (struct test_fl_f_data): Likewise.
46323         (struct test_if_f_data): Likewise.
46324         (struct test_fff_f_data): Likewise.
46325         (struct test_c_f_data): Likewise.
46326         (struct test_f_f1_data): Likewise.  Remove field extra_name.
46327         (struct test_fF_f1_data): Likewise.
46328         (struct test_ffI_f1_data): Likewise.
46329         (struct test_c_c_data): Rename test_name field to arg_str.
46330         (struct test_cc_c_data): Likewise.
46331         (struct test_f_i_data): Likewise.
46332         (struct test_ff_i_data): Likewise.
46333         (struct test_f_l_data): Likewise.
46334         (struct test_f_L_data): Likewise.
46335         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
46336         and extra2_name.
46337         (COMMON_TEST_SETUP): New macro.
46338         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
46339         (COMMON_TEST_CLEANUP): Likewise.
46340         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
46341         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
46342         macros.
46343         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
46344         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
46345         macros.
46346         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
46347         (RUN_TEST_fff_f): Take argument string.  Call new setup and
46348         cleanup macros.
46349         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
46350         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
46351         macros.
46352         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
46353         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
46354         macros.
46355         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
46356         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
46357         cleanup macros.
46358         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
46359         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
46360         cleanup macros.
46361         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
46362         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
46363         cleanup macros.
46364         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
46365         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
46366         macros.
46367         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
46368         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
46369         macros.
46370         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
46371         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
46372         macros.
46373         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
46374         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
46375         cleanup macros.
46376         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
46377         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
46378         cleanup macros.
46379         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
46380         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
46381         macros.
46382         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
46383         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
46384         cleanup macros.
46385         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
46386         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
46387         macros.
46388         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
46389         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
46390         macros.
46391         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
46392         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
46393         cleanup macros.
46394         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
46396 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
46398         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
46399         to _sifields.sigfault.
46400         (si_addr_lsb): Define new macro.
46401         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
46402         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46403         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
46405 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
46407         [BZ #15441]
46408         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
46409         returns -1.
46410         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
46411         null return -1.
46412         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
46413         loading the domain.
46415 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
46417         * math/gen-libm-test.pl (parse_args): Do not include expected
46418         result in test name.
46419         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
46420         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46421         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46422         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46423         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46426 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46428         * benchtests/Makefile: Sort function entries.
46430         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
46431         tanh, asinh, acosh, atanh.
46432         * benchtests/acos-inputs: New file.
46433         * benchtests/acosh-inputs: New file.
46434         * benchtests/asin-inputs: New file.
46435         * benchtests/asinh-inputs: New file.
46436         * benchtests/atanh-inputs: New file.
46437         * benchtests/cosh-inputs: New file.
46438         * benchtests/log-inputs: New file.
46439         * benchtests/sinh-inputs: New file.
46440         * benchtests/tanh-inputs: New file.
46442 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
46444         [BZ #15339]
46445         * posix/tst-getaddrinfo4.c: New test.
46446         * posix/Makefile (tests): Add it.
46448 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46450         [BZ #15339]
46451         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
46452         when no services were used.
46453         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
46454         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
46456 2013-05-21  Andreas Schwab  <schwab@suse.de>
46458         [BZ #15014]
46459         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
46460         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
46461         successful.
46462         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
46463         redundant variable declarations and reallocation of buffer when
46464         parsing as IPv6 address.  Always set NSS status when called from
46465         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
46466         buffer too small.  Correct computation of needed size.
46467         * nss/Makefile (tests): Add test-digits-dots.
46468         * nss/test-digits-dots.c: New test.
46470 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46472         * benchtests/Makefile: Remove instructions for adding
46473         benchmark tests.
46474         * benchtests/README: New file to explain how to execute and
46475         enhance the benchmark tests.
46477 2013-05-21  Andreas Schwab  <schwab@suse.de>
46479         [BZ #15493]
46480         * setjmp/Makefile (tests): Add tst-sigsetjmp.
46481         * setjmp/tst-sigsetjmp.c: New test.
46483 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
46485         * sysdeps/x86_64/memset.S (memset): New implementation.
46486         (__bzero): Likewise.
46487         (__memset_tail): New function.
46489 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
46491         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
46492         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
46493         __memcpy_sse2_unaligned ifunc selection.
46494         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46495         Add memcpy-sse2-unaligned.S.
46496         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46497         Add: __memcpy_sse2_unaligned.
46499 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
46501         [BZ #15490]
46502         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
46503         math_force_eval before restoring floating-point envrionment.
46504         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
46505         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
46506         Likewise.
46507         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
46508         <math_private.h>.
46509         (__nearbyintl): Use math_force_eval before restoring
46510         floating-point environment.
46511         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
46513         * math/gen-libm-test.pl (special_functions): Remove.
46514         (parse_args): Don't handle TEST_extra.  Handle functions with no
46515         return value.
46516         * math/libm-test.inc (struct test_sincos_data): Replace with
46517         struct test_fFF_11_data.
46518         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
46519         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
46520         (sincos_test_data): Change element type to struct
46521         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
46522         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
46523         RUN_TEST_LOOP_sincos.
46524         * math/README.libm-test: Don't mention special handling of
46525         individual functions.
46526         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
46527         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46528         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46529         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46530         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46533         * math/gen-libm-test.pl (get_variable): Remove function.
46534         (parse_args): Don't show pointer parameters to call in test
46535         names.  Use "extra output N" in test names for extra outputs
46536         rather than naming variables.
46538 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
46540         [BZ #15488]
46541         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
46542         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
46543         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
46544         double tests.
46545         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
46546         disable.
46547         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
46548         check_long_double.
46550         * math/gen-libm-test.pl (@tests): Remove variable.
46551         ($count): Likewise.
46552         (new_test): Remove function.
46553         (show_exceptions): New function.
46554         (special_functions): Use show_exceptions instead of new_test.
46555         (parse_args): Likewise.
46556         (generate_testfile): Pass only function name in generated call to
46557         print_max_error or print_complex_max_error.
46558         (get_ulps): Do not handle complex tests specially.
46559         (output_test): Rename to ...
46560         (get_all_ulps_for_test): ... this.  Return a string rather than
46561         printing to a file.  Require ulps to be present.
46562         (output_ulps): Generate arrays rather than #defines.
46563         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
46564         (struct ulp_data): New type.
46565         (BUILD_COMPLEX_ULP): Remove macro.
46566         (compare_ulp_data): New function.
46567         (find_ulps): Likewise.
46568         (find_test_ulps): Likewise.
46569         (find_function_ulps): Likewise.
46570         (find_complex_function_ulps): Likewise.
46571         (print_max_error): Determine allowed ulps using
46572         find_function_ulps.
46573         (print_complex_max_error): Determine allowed ulps using
46574         find_complex_function_ulps.
46575         (check_float_internal): Determine max ulps using find_test_ulps.
46576         (check_float): Do not take max_ulp parameter.  Update call to
46577         check_float_internal.
46578         (check_complex): Likewise.
46579         (check_int): Do not take max_ulp parameter.
46580         (check_long): Likewise.
46581         (check_bool): Likewise.
46582         (check_longlong): Likewise.
46583         (struct test_f_f_data): Remove max_ulp field.
46584         (struct test_ff_f_data): Likewise.
46585         (struct test_ff_f_data_nexttoward): Likewise.
46586         (struct test_fi_f_data): Likewise.
46587         (struct test_fl_f_data): Likewise.
46588         (struct test_if_f_data): Likewise.
46589         (struct test_fff_f_data): Likewise.
46590         (struct test_c_f_data): Likewise.
46591         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
46592         (struct test_fF_f1_data): Likewise.
46593         (struct test_ffI_f1_data): Likewise.
46594         (struct test_c_c_data): Remove max_ulp field.
46595         (struct test_cc_c_data): Likewise.
46596         (struct test_f_i_data): Likewise.
46597         (struct test_ff_i_data): Likewise.
46598         (struct test_f_l_data): Likewise.
46599         (struct test_f_L_data): Likewise.
46600         (struct test_sincos_data): Likewise.
46601         (RUN_TEST_f_f): Do not handle ulps.
46602         (RUN_TEST_LOOP_f_f): Likewise.
46603         (RUN_TEST_2_f): Likewise.
46604         (RUN_TEST_LOOP_2_f): Likewise.
46605         (RUN_TEST_fff_f): Likewise.
46606         (RUN_TEST_LOOP_fff_f): Likewise.
46607         (RUN_TEST_c_f): Likewise.
46608         (RUN_TEST_LOOP_c_f): Likewise.
46609         (RUN_TEST_f_f1): Likewise.
46610         (RUN_TEST_LOOP_f_f1): Likewise.
46611         (RUN_TEST_fF_f1): Likewise.
46612         (RUN_TEST_LOOP_fF_f1): Likewise.
46613         (RUN_TEST_fI_f1): Likewise.
46614         (RUN_TEST_LOOP_fI_f1): Likewise.
46615         (RUN_TEST_ffI_f1): Likewise.
46616         (RUN_TEST_LOOP_ffI_f1): Likewise.
46617         (RUN_TEST_c_c): Likewise.
46618         (RUN_TEST_LOOP_c_c): Likewise.
46619         (RUN_TEST_cc_c): Likewise.
46620         (RUN_TEST_LOOP_cc_c): Likewise.
46621         (RUN_TEST_f_i): Likewise.
46622         (RUN_TEST_LOOP_f_i): Likewise.
46623         (RUN_TEST_f_i_tg): Likewise.
46624         (RUN_TEST_LOOP_f_i_tg): Likewise.
46625         (RUN_TEST_ff_i_tg): Likewise.
46626         (RUN_TEST_LOOP_ff_i_tg): Likewise.
46627         (RUN_TEST_f_b): Likewise.
46628         (RUN_TEST_LOOP_f_b): Likewise.
46629         (RUN_TEST_f_b_tg): Likewise.
46630         (RUN_TEST_LOOP_f_b_tg): Likewise.
46631         (RUN_TEST_f_l): Likewise.
46632         (RUN_TEST_LOOP_f_l): Likewise.
46633         (RUN_TEST_f_L): Likewise.
46634         (RUN_TEST_LOOP_f_L): Likewise.
46635         (RUN_TEST_sincos): Likewise.
46636         (RUN_TEST_LOOP_sincos): Likewise.
46638 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
46640         [BZ #15480]
46641         [BZ #15485]
46642         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
46643         main case of finite arguments, set rounding mode to FE_TONEAREST
46644         and discard exceptions.
46645         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
46646         exceptions.
46647         (remainder_tonearest_test_data): New variable.
46648         (remainder_test_tonearest): New function.
46649         (remainder_towardzero_test_data): New variable.
46650         (remainder_test_towardzero): New function.
46651         (remainder_downward_test_data): New variable.
46652         (remainder_test_downward): New function.
46653         (remainder_upward_test_data): New variable.
46654         (remainder_test_upward): New function.
46655         (main): Call the new test functions.
46657         * math/libm-test.inc (struct test_f_f1_data): Remove field
46658         extra_init.
46659         (struct test_fF_f1_data): Likewise.
46660         (struct test_ffI_f1_data): Likewise.
46661         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
46662         based on value of EXTRA_EXPECTED.
46663         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
46664         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
46665         EXTRA_VAR based on value of EXTRA_EXPECTED.
46666         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
46667         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
46668         EXTRA_VAR based on value of EXTRA_EXPECTED.
46669         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
46670         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
46671         EXTRA_VAR based on value of EXTRA_EXPECTED.
46672         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
46673         * math/gen-libm-test.pl (parse_args): Don't output initializers
46674         for extra output values.
46676         * math/libm-test.inc (check_int): Expect result to be exactly
46677         equal to expected value and do not handle ulps.
46678         (check_long): Likewise.
46679         (check_longlong): Likewise.
46681         * math/libm-test.inc (ceil_test_data): Test for "inexact"
46682         exceptions.
46683         (cimag_test_data): Likewise.
46684         (conj_test_data): Likewise.
46685         (copysign_test_data): Likewise.
46686         (cproj_test_data): Likewise.
46687         (creal_test_data): Likewise.
46688         (fabs_test_data): Likewise.
46689         (fdim_test_data): Likewise.
46690         (finite_test_data): Likewise.
46691         (floor_test_data): Likewise.
46692         (fmax_test_data): Likewise.
46693         (fmin_test_data): Likewise.
46694         (fmod_test_data): Likewise.
46695         (fpclassify_test_data): Likewise.
46696         (frexp_test_data): Likewise.
46697         (ilogb_test_data): Likewise.
46698         (isfinite_test_data): Likewise.
46699         (isgreater_test_data): Likewise.
46700         (isgreaterequal_test_data): Likewise.
46701         (isinf_test_data): Likewise.
46702         (isless_test_data): Likewise.
46703         (islessequal_test_data): Likewise.
46704         (islessgreater_test_data): Likewise.
46705         (isnan_test_data): Likewise.
46706         (isnormal_test_data): Likewise.
46707         (issignaling_test_data): Likewise.
46708         (isunordered_test_data): Likewise.
46709         (ldexp_test_data): Likewise.
46710         (lrint_test_data): Likewise.
46711         (lrint_test_data) [TEST_FLOAT]: Disable one test.
46712         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
46713         (lrint_tonearest_test_data): Test for "inexact" exceptions.
46714         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
46715         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
46716         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
46717         test input.
46718         (lrint_towardzero_test_data): Test for "inexact" exceptions.
46719         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
46720         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
46721         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
46722         that test input.
46723         (lrint_downward_test_data): Test for "inexact" exceptions.
46724         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
46725         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
46726         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
46727         test input.
46728         (lrint_upward_test_data): Test for "inexact" exceptions.
46729         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
46730         test input.
46731         (llrint_test_data): Test for "inexact" exceptions.
46732         (llrint_test_data) [TEST_FLOAT]: Disable one test.
46733         (llrint_tonearest_test_data): Test for "inexact" exceptions.
46734         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
46735         (llrint_towardzero_test_data): Test for "inexact" exceptions.
46736         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
46737         (llrint_downward_test_data): Test for "inexact" exceptions.
46738         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
46739         (llrint_upward_test_data): Test for "inexact" exceptions.
46740         (logb_test_data): Likewise.
46741         (logb_downward_test_data): Likewise.
46742         (nextafter_test_data): Likewise.
46743         (nexttoward_test_data): Likewise.
46744         (remainder_test_data): Likewise.
46745         (remquo_test_data): Likewise.
46746         (scalbn_test_data): Likewise.
46747         (scalbln_test_data): Likewise.
46748         (signbit_test_data): Likewise.
46749         (sqrt_test_data): Likewise.
46750         (significand_test_data): Likewise.
46752 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46754         [BZ #15424]
46755         * benchtests/bench-modf.c (struct args): Mark arg0 as
46756         volatile.
46757         * scripts/bench.pl: Mark members of struct args as volatile.
46759 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46761         [BZ # 15497]
46762         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
46763         negative infinity on POWER6 or lower.
46764         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
46766 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
46768         [BZ #15442]
46769         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
46770         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
46771         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
46772         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
46773         (_FP_SETQNAN): New macro.
46774         (_FP_SETQNAN_SEMIRAW): Likewise.
46775         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
46776         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
46777         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
46778         (FP_EXTEND): Use _FP_FRAC_SNANP.
46779         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
46780         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
46781         into account.
46782         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
46783         New macro.
46784         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
46785         Likewise.
46787 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46789         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
46790         with DIVIDE_BY_ZERO_EXCEPTION.
46791         (gamma_test_data): Likewise.
46792         (lgamma_test_data): Likewise.
46793         (log_test_data): Likewise.
46794         (log10_test_data): Likewise.
46795         (log2_test_data): Likewise.
46796         (tgamma_test_data): Likewise.
46798         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
46799         (acos_test_tonearest): Likewise.
46800         (acos_test_towardzero): Likewise.
46801         (acos_test_downward): Likewise.
46802         (acos_test_upward): Likewise.
46803         (acosh_test): Likewise.
46804         (asin_test): Likewise.
46805         (asin_test_tonearest): Likewise.
46806         (asin_test_towardzero): Likewise.
46807         (asin_test_downward): Likewise.
46808         (asin_test_upward): Likewise.
46809         (asinh_test): Likewise.
46810         (atan_test): Likewise.
46811         (atanh_test): Likewise.
46812         (atan2_test): Likewise.
46813         (cabs_test): Likewise.
46814         (cacos_test): Likewise.
46815         (cacosh_test): Likewise.
46816         (casin_test): Likewise.
46817         (casinh_test): Likewise.
46818         (catan_test): Likewise.
46819         (catanh_test): Likewise.
46820         (cbrt_test): Likewise.
46821         (ccos_test): Likewise.
46822         (ccosh_test): Likewise.
46823         (cexp_test): Likewise.
46824         (clog_test): Likewise.
46825         (clog10_test): Likewise.
46826         (cos_test): Likewise.
46827         (cos_test_tonearest): Likewise.
46828         (cos_test_towardzero): Likewise.
46829         (cos_test_downward): Likewise.
46830         (cos_test_upward): Likewise.
46831         (cosh_test): Likewise.
46832         (cosh_test_tonearest): Likewise.
46833         (cosh_test_towardzero): Likewise.
46834         (cosh_test_downward): Likewise.
46835         (cosh_test_upward): Likewise.
46836         (cpow_test): Likewise.
46837         (csin_test): Likewise.
46838         (csinh_test): Likewise.
46839         (csqrt_test): Likewise.
46840         (ctan_test): Likewise.
46841         (ctan_test_tonearest): Likewise.
46842         (ctan_test_towardzero): Likewise.
46843         (ctan_test_downward): Likewise.
46844         (ctan_test_upward): Likewise.
46845         (ctanh_test): Likewise.
46846         (ctanh_test_tonearest): Likewise.
46847         (ctanh_test_towardzero): Likewise.
46848         (ctanh_test_downward): Likewise.
46849         (ctanh_test_upward): Likewise.
46850         (erf_test): Likewise.
46851         (erfc_test): Likewise.
46852         (exp_test): Likewise.
46853         (exp_test_tonearest): Likewise.
46854         (exp_test_towardzero): Likewise.
46855         (exp_test_downward): Likewise.
46856         (exp_test_upward): Likewise.
46857         (exp10_test): Likewise.
46858         (exp2_test): Likewise.
46859         (expm1_test): Likewise.
46860         (fmod_test): Likewise.
46861         (gamma_test): Likewise.
46862         (hypot_test): Likewise.
46863         (j0_test): Likewise.
46864         (j1_test): Likewise.
46865         (jn_test): Likewise.
46866         (lgamma_test): Likewise.
46867         (log_test): Likewise.
46868         (log10_test): Likewise.
46869         (log1p_test): Likewise.
46870         (log2_test): Likewise.
46871         (logb_test_downward): Likewise.
46872         (pow_test): Likewise.
46873         (pow_test_tonearest): Likewise.
46874         (pow_test_towardzero): Likewise.
46875         (pow_test_downward): Likewise.
46876         (pow_test_upward): Likewise.
46877         (remainder_test): Likewise.
46878         (remquo_test): Likewise.
46879         (sin_test): Likewise.
46880         (sin_test_tonearest): Likewise.
46881         (sin_test_towardzero): Likewise.
46882         (sin_test_downward): Likewise.
46883         (sin_test_upward): Likewise.
46884         (sincos_test): Likewise.
46885         (sinh_test): Likewise.
46886         (sinh_test_tonearest): Likewise.
46887         (sinh_test_towardzero): Likewise.
46888         (sinh_test_downward): Likewise.
46889         (sinh_test_upward): Likewise.
46890         (sqrt_test): Likewise.
46891         (tan_test): Likewise.
46892         (tan_test_tonearest): Likewise.
46893         (tan_test_towardzero): Likewise.
46894         (tan_test_downward): Likewise.
46895         (tan_test_upward): Likewise.
46896         (tanh_test): Likewise.
46897         (tgamma_test): Likewise.
46898         (y0_test): Likewise.
46899         (y1_test): Likewise.
46900         (yn_test): Likewise.
46902         * math/gen-libm-test.pl (adjust_arg): Remove function.
46903         (special_function): Remove argument $in_func.  Only handle
46904         generating output for tables of tests, not inside functions.
46905         (parse_args): Likewise.
46906         (generate_testfile): Remove variable $in_func.  Update call to
46907         parse_args.
46908         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
46909         (MINUS_ZERO_INIT): Rename macro to minus_zero.
46910         (PLUS_INFTY_INIT): Rename macro to plus_infty.
46911         (MINUS_INFTY_INIT): Rename macro to minus_infty.
46912         (QNAN_VALUE_INIT): Rename macro to qnan_value.
46913         (MAX_VALUE_INIT): Rename macro to max_value.
46914         (MIN_VALUE_INIT): Rename macro to min_value.
46915         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
46916         (plus_zero): Remove variable.
46917         (minus_zero): Likewise.
46918         (plus_infty): Likewise.
46919         (minus_infty): Likewise.
46920         (qnan_value): Likewise.
46921         (max_value): Likewise.
46922         (min_value): Likewise.
46923         (min_subnorm_value): Likewise.
46925 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46927         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
46928         uint64_t or uint32_t usage.
46929         * crypt/sha256-block.c: Likewise.
46930         * crypt/sha256-crypt.c: Likewise.
46931         * crypt/sha256.c: Likewise.
46932         * crypt/sha512-block.c: Likewise.
46933         * crypt/sha512-crypt.c: Likewise.
46934         * crypt/sha512.c: Likewise.
46935         * debug/backtrace-tst.c: Likewise.
46936         * debug/pcprofiledump.c: Likewise.
46937         * elf/cache.c: Likewise.
46938         * elf/dl-cache.c: Likewise.
46939         * elf/dl-misc.c: Likewise.
46940         * elf/dl-profile.c: Likewise.
46941         * elf/dl-support.c: Likewise.
46942         * elf/ldconfig.c: Likewise.
46943         * elf/sprof.c: Likewise.
46944         * iconv/dummy-repertoire.c: Likewise.
46945         * iconv/iconv_charmap.c: Likewise.
46946         * iconv/skeleton.c: Likewise.
46947         * iconvdata/8bit-generic.c: Likewise.
46948         * iconvdata/cp737.h: Likewise.
46949         * iconvdata/cp775.h: Likewise.
46950         * iconvdata/ibm1008.h: Likewise.
46951         * iconvdata/ibm1025.h: Likewise.
46952         * iconvdata/ibm1046.h: Likewise.
46953         * iconvdata/ibm1097.h: Likewise.
46954         * iconvdata/ibm1112.h: Likewise.
46955         * iconvdata/ibm1122.h: Likewise.
46956         * iconvdata/ibm1123.h: Likewise.
46957         * iconvdata/ibm1124.h: Likewise.
46958         * iconvdata/ibm1129.h: Likewise.
46959         * iconvdata/ibm1130.h: Likewise.
46960         * iconvdata/ibm1132.h: Likewise.
46961         * iconvdata/ibm1133.h: Likewise.
46962         * iconvdata/ibm1137.h: Likewise.
46963         * iconvdata/ibm1140.h: Likewise.
46964         * iconvdata/ibm1141.h: Likewise.
46965         * iconvdata/ibm1142.h: Likewise.
46966         * iconvdata/ibm1143.h: Likewise.
46967         * iconvdata/ibm1144.h: Likewise.
46968         * iconvdata/ibm1145.h: Likewise.
46969         * iconvdata/ibm1146.h: Likewise.
46970         * iconvdata/ibm1147.h: Likewise.
46971         * iconvdata/ibm1148.h: Likewise.
46972         * iconvdata/ibm1149.h: Likewise.
46973         * iconvdata/ibm1153.h: Likewise.
46974         * iconvdata/ibm1154.h: Likewise.
46975         * iconvdata/ibm1155.h: Likewise.
46976         * iconvdata/ibm1156.h: Likewise.
46977         * iconvdata/ibm1157.h: Likewise.
46978         * iconvdata/ibm1158.h: Likewise.
46979         * iconvdata/ibm1160.h: Likewise.
46980         * iconvdata/ibm1161.h: Likewise.
46981         * iconvdata/ibm1162.h: Likewise.
46982         * iconvdata/ibm1163.h: Likewise.
46983         * iconvdata/ibm1164.h: Likewise.
46984         * iconvdata/ibm1166.h: Likewise.
46985         * iconvdata/ibm1167.h: Likewise.
46986         * iconvdata/ibm12712.h: Likewise.
46987         * iconvdata/ibm1390.h: Likewise.
46988         * iconvdata/ibm1399.h: Likewise.
46989         * iconvdata/ibm16804.h: Likewise.
46990         * iconvdata/ibm4517.h: Likewise.
46991         * iconvdata/ibm4899.h: Likewise.
46992         * iconvdata/ibm4909.h: Likewise.
46993         * iconvdata/ibm4971.h: Likewise.
46994         * iconvdata/ibm5347.h: Likewise.
46995         * iconvdata/ibm803.h: Likewise.
46996         * iconvdata/ibm856.h: Likewise.
46997         * iconvdata/ibm901.h: Likewise.
46998         * iconvdata/ibm902.h: Likewise.
46999         * iconvdata/ibm9030.h: Likewise.
47000         * iconvdata/ibm9066.h: Likewise.
47001         * iconvdata/ibm921.h: Likewise.
47002         * iconvdata/ibm922.h: Likewise.
47003         * iconvdata/ibm9448.h: Likewise.
47004         * iconvdata/isiri-3342.h: Likewise.
47005         * iconvdata/jis0201.h: Likewise.
47006         * include/link.h: Likewise.
47007         * include/netdb.h: Likewise.
47008         * inet/check_native.c: Likewise.
47009         * inet/check_pf.c: Likewise.
47010         * inet/getipv4sourcefilter.c: Likewise.
47011         * inet/getnameinfo.c: Likewise.
47012         * inet/getsourcefilter.c: Likewise.
47013         * inet/htonl.c: Likewise.
47014         * inet/setipv4sourcefilter.c: Likewise.
47015         * inet/setsourcefilter.c: Likewise.
47016         * inet/test-inet6_opt.c: Likewise.
47017         * inet/tst-network.c: Likewise.
47018         * locale/C-collate.c: Likewise.
47019         * locale/C-ctype.c: Likewise.
47020         * locale/C-time.c: Likewise.
47021         * locale/C-translit.h: Likewise.
47022         * locale/loadarchive.c: Likewise.
47023         * locale/programs/3level.h: Likewise.
47024         * locale/programs/charmap.c: Likewise.
47025         * locale/programs/charmap.h: Likewise.
47026         * locale/programs/ld-address.c: Likewise.
47027         * locale/programs/ld-collate.c: Likewise.
47028         * locale/programs/ld-ctype.c: Likewise.
47029         * locale/programs/ld-identification.c: Likewise.
47030         * locale/programs/ld-measurement.c: Likewise.
47031         * locale/programs/ld-messages.c: Likewise.
47032         * locale/programs/ld-monetary.c: Likewise.
47033         * locale/programs/ld-name.c: Likewise.
47034         * locale/programs/ld-numeric.c: Likewise.
47035         * locale/programs/ld-paper.c: Likewise.
47036         * locale/programs/ld-telephone.c: Likewise.
47037         * locale/programs/ld-time.c: Likewise.
47038         * locale/programs/linereader.c: Likewise.
47039         * locale/programs/locale.c: Likewise.
47040         * locale/programs/locarchive.c: Likewise.
47041         * locale/programs/locfile.h: Likewise.
47042         * locale/programs/repertoire.c: Likewise.
47043         * locale/programs/simple-hash.c: Likewise.
47044         * locale/programs/simple-hash.h: Likewise.
47045         * malloc/memusage.c: Likewise.
47046         * malloc/memusagestat.c: Likewise.
47047         * nis/nis_defaults.c: Likewise.
47048         * nis/nis_hash.c: Likewise.
47049         * nis/nis_print.c: Likewise.
47050         * nis/nis_xdr.c: Likewise.
47051         * nscd/connections.c: Likewise.
47052         * nscd/hstcache.c: Likewise.
47053         * nscd/nscd_gethst_r.c: Likewise.
47054         * nscd/nscd_getserv_r.c: Likewise.
47055         * nscd/nscd_helper.c: Likewise.
47056         * nscd/servicescache.c: Likewise.
47057         * nss/makedb.c: Likewise.
47058         * nss/nss_db/db-XXX.c: Likewise.
47059         * nss/nss_db/db-initgroups.c: Likewise.
47060         * nss/nss_db/db-netgrp.c: Likewise.
47061         * nss/nss_files/files-network.c: Likewise.
47062         * nss/nss_files/files-parse.c: Likewise.
47063         * posix/bug-regex5.c: Likewise.
47064         * posix/fnmatch_loop.c: Likewise.
47065         * posix/regcomp.c: Likewise.
47066         * posix/regexec.c: Likewise.
47067         * posix/tst-rfc3484-2.c: Likewise.
47068         * posix/tst-rfc3484-3.c: Likewise.
47069         * posix/tst-rfc3484.c: Likewise.
47070         * resolv/nss_dns/dns-canon.c: Likewise.
47071         * resolv/nss_dns/dns-network.c: Likewise.
47072         * resolv/res_init.c: Likewise.
47073         * resolv/res_mkquery.c: Likewise.
47074         * resolv/tst-aton.c: Likewise.
47075         * stdlib/cxa_atexit.c: Likewise.
47076         * stdlib/cxa_finalize.c: Likewise.
47077         * stdlib/gen-fpioconst.c: Likewise.
47078         * stdlib/strtol_l.c: Likewise.
47079         * string/tst-endian.c: Likewise.
47080         * sunrpc/auth_des.c: Likewise.
47081         * sunrpc/clnt_udp.c: Likewise.
47082         * sunrpc/rtime.c: Likewise.
47083         * sunrpc/svcauth_des.c: Likewise.
47084         * sunrpc/xdr.c: Likewise.
47085         * sunrpc/xdr_intXX_t.c: Likewise.
47086         * sunrpc/xdr_rec.c: Likewise.
47087         * sysdeps/generic/ldconfig.h: Likewise.
47088         * sysdeps/generic/ldsodefs.h: Likewise.
47089         * sysdeps/generic/memusage.h: Likewise.
47090         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47091         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
47092         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
47093         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47094         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47095         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47096         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47097         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47098         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47099         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47100         * sysdeps/posix/getaddrinfo.c: Likewise.
47101         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47102         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47103         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47104         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47105         * sysdeps/powerpc/test-gettimebase.c: Likewise.
47106         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
47107         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
47108         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
47109         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
47110         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
47111         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47112         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47113         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
47114         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
47115         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
47116         * sysdeps/x86_64/dl-tls.h: Likewise.
47117         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
47118         * time/alt_digit.c: Likewise.
47119         * time/era.c: Likewise.
47120         * wcsmbs/tst-c16c32-1.c: Likewise.
47122 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47124         * math/libm-test.inc (struct test_sincos_data): New type.
47125         (RUN_TEST_LOOP_sincos): New macro.
47126         (sincos_test_data): New variable.
47127         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
47129 2013-05-16  Richard Henderson  <rth@redhat.com>
47131         * math/atest-exp2.c (LIMB64): New macro.
47132         (CONSTSZ): New macro.
47133         (mp_exp1, mp_exp_m1, mp_log2): New variables.
47134         (hexdig): Move ...
47135         (print_mpn_fp): ... to function scope.
47136         (read_mpn_hex): Remove.
47137         (get_log2): Remove.
47138         (exp2_mpn): Use mp_log2.
47139         (main): Use mp_exp1.
47141 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47143         * math/libm-test.inc: Remove comment about not testing "inexact"
47144         exceptions.
47145         (INEXACT_EXCEPTION): New macro.
47146         (NO_INEXACT_EXCEPTION): Likewise.
47147         (INVALID_EXCEPTION_OK): Update value.
47148         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47149         (OVERFLOW_EXCEPTION_OK): Likewise.
47150         (UNDERFLOW_EXCEPTION_OK): Likewise.
47151         (IGNORE_ZERO_INF_SIGN): Likewise.
47152         (ERRNO_UNCHANGED): Likewise.
47153         (ERRNO_EDOM): Likewise.
47154         (ERRNO_ERANGE): Likewise.
47155         (test_exceptions): Handle testing "inexact" exceptions.
47156         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
47157         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
47158         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
47159         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
47160         INEXACT_EXCEPTION.
47161         (rint_towardzero_test_data): Likewise.
47162         (rint_downward_test_data): Likewise.
47163         (rint_upward_test_data): Likewise.
47165         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
47166         with OVERFLOW_EXCEPTION.
47167         (exp10_test_data): Likewise.
47168         (exp2_test_data): Likewise.
47169         (expm1_test_data): Likewise.
47170         (lgamma_test_data): Likewise.
47171         (pow_test_data): Likewise.
47172         (tgamma_test_data): Likewise.
47173         (yn_test_data): Remove duplicate test of overflow.
47175         * math/libm-test.inc (struct test_cc_c_data): New type.
47176         (RUN_TEST_LOOP_cc_c): New macro.
47177         (cpow_test_data): New variable.
47178         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
47180         * math/libm-test.inc (struct test_f_L_data): New type.
47181         (RUN_TEST_LOOP_f_L): New macro.
47182         (llrint_test_data): New variable.
47183         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
47184         (llrint_tonearest_test_data): New variable.
47185         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
47186         (llrint_towardzero_test_data): New variable.
47187         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
47188         (llrint_downward_test_data): New variable.
47189         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
47190         (llrint_upward_test_data): New variable.
47191         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
47192         (llround_test_data): New variable.
47193         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
47195 2013-05-13  Peter Collingbourne  <pcc@google.com>
47197         * math/atest-exp2.c (get_log2): Remove const attribute.
47199 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
47201         * math/libm-test.inc (struct test_f_l_data): New type.
47202         (RUN_TEST_LOOP_f_l): New macro.
47203         (lrint_test_data): New variable.
47204         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
47205         (lrint_tonearest_test_data): New variable.
47206         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
47207         (lrint_towardzero_test_data): New variable.
47208         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
47209         (lrint_downward_test_data): New variable.
47210         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
47211         (lrint_upward_test_data): New variable.
47212         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
47213         (lround_test_data): New variable.
47214         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
47216 2013-05-15  Peter Collingbourne  <pcc@google.com>
47218         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
47219         (EXTRACT_WORDS64) Use where appropriate.
47220         (INSERT_WORDS64) Likewise.
47222         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
47223         constraints with x constraints.
47224         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
47226         * malloc/obstack.c (_obstack_compat): Add initializer.
47228 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
47230         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
47231         si_trapno and add si_addr_lsb to _sifields.sigfault.
47232         (si_trapno): Remove macro.
47233         (si_addr_lsb): Define new macro.
47234         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47236 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
47238         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
47239         instead of TEST_f_l.
47240         (llrint_test_tonearest): Likewise.
47241         (llrint_test_towardzero): Likewise.
47242         (llrint_test_downward): Likewise.
47243         (llrint_test_upward): Likewise.
47244         (llround_test): Likewise.
47246         * math/libm-test.inc (struct test_f_i_data): Add comment.
47247         (RUN_TEST_LOOP_f_b): New macro.
47248         (RUN_TEST_LOOP_f_b_tg): Likewise.
47249         (finite_test_data): New variable.
47250         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
47251         (isfinite_test_data): New variable.
47252         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47253         (isinf_test_data): New variable.
47254         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47255         (isnan_test_data): New variable.
47256         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47257         (isnormal_test_data): New variable.
47258         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47259         (issignaling_test_data): New variable.
47260         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47261         (signbit_test_data): New variable.
47262         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47264         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
47265         with INVALID_EXCEPTION.
47266         (acosh_test_data): Likewise.
47267         (asin_test_data): Likewise.
47268         (atanh_test_data): Likewise.
47269         (fmod_test_data): Likewise.
47270         (log_test_data): Likewise.
47271         (log10_test_data): Likewise.
47272         (log2_test_data): Likewise.
47273         (pow_test_data): Likewise.
47274         (sqrt_test_data): Likewise.
47275         (y0_test_data): Likewise.
47276         (y1_test_data): Likewise.
47277         (yn_test_data): Likewise.
47279         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
47280         function contents.
47282         * math/libm-test.inc (struct test_ff_i_data): New type.
47283         (RUN_TEST_LOOP_ff_i_tg): New macro.
47284         (isgreater_test_data): New variable.
47285         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47286         (isgreaterequal_test_data): New variable.
47287         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47288         (isless_test_data): New variable.
47289         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47290         (islessequal_test_data): New variable.
47291         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47292         (islessgreater_test_data): New variable.
47293         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47294         (isunordered_test_data): New variable.
47295         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47297 2013-05-14  David S. Miller  <davem@davemloft.net>
47299         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47301 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
47303         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
47305         * math/libm-test.inc (struct test_fF_f1_data): Change type of
47306         extra_test to int.
47307         (struct test_f_i_data): Change type of max_ulp to int.
47309         * math/libm-test.inc (test_ffI_f1_data): New type.
47310         (RUN_TEST_LOOP_ffI_f1): New macro.
47311         (remquo_test_data): New variable.
47312         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
47314         * setjmp/tst-setjmp-fp.c: New file.
47315         * setjmp/Makefile (tests): Add tst-setjmp-fp.
47316         (link-libm): New variable.
47317         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
47319         * math/libm-test.inc (struct test_f_i_data): New type.
47320         (RUN_TEST_LOOP_f_i): New macro.
47321         (RUN_TEST_LOOP_f_i_tg): Likewise.
47322         (fpclassify_test_data): New variable.
47323         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
47324         (ilogb_test_data): New variable.
47325         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
47327         * math/libm-test.inc (scalbln_test): Correct function name in END
47328         call.
47330         * math/libm-test.inc (struct test_f_f1_data): Add comment.
47331         (RUN_TEST_LOOP_fI_f1): New macro.
47332         (frexp_test_data): New variable.
47333         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
47335         * math/libm-test.inc (struct test_fF_f1_data): New type.
47336         (RUN_TEST_LOOP_fF_f1): New macro.
47337         (modf_test_data): New variable.
47338         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
47340         * math/libm-test.inc (struct test_f_f1_data): New type.
47341         (RUN_TEST_LOOP_f_f1): New macro.
47342         (gamma_test_data): New variable.
47343         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
47344         (lgamma_test_data): New variable.
47345         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
47347 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
47349         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
47350         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
47351         (main): Comment "tls" pseudo-hwcap.
47353 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
47355         * math/libm-test.inc (struct test_fl_f_data): New type.
47356         (RUN_TEST_LOOP_fl_f): New variable.
47357         (scalbln_test_data): New variable.
47358         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
47360         * math/libm-test.inc (struct test_fi_f_data): New type.
47361         (RUN_TEST_LOOP_fi_f): New macro.
47362         (ldexp_test_data): New variable.
47363         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
47364         (scalbn_test_data): New variable.
47365         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
47367         * math/libm-test.inc (struct test_c_f_data): New type.
47368         (RUN_TEST_LOOP_c_f): New macro.
47369         (cabs_test_data): New variable.
47370         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
47371         (carg_test_data): New variable.
47372         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
47373         (cimag_test_data): New variable.
47374         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
47375         (creal_test_data): New variable.
47376         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
47378         * math/libm-test.inc (struct test_if_f_data): New type.
47379         (RUN_TEST_LOOP_if_f): New macro.
47380         (jn_test_data): New variable.
47381         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
47382         (yn_test_data): New variable.
47383         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
47385         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
47387 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47389         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
47390         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
47392 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47394         * benchtests/Makefile (CPPFLAGS-nonlib): Add
47395         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
47396         (bench-deps): Add bench-timing.h.
47397         * benchtests-bench-skeleton.c: Include bench-timing.h.
47398         (main): Use TIMING_* macros instead of clock_gettime.
47399         * benchtests/bench-timing.h: New file.
47401         [BZ #14582]
47402         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
47403         Renamed from _LIB_VERSION.
47404         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
47406 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
47408         * math/libm-test.inc (struct test_fff_f_data): New type.
47409         (RUN_TEST_LOOP_fff_f): New macro.
47410         (fma_test_data): New variable.
47411         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
47412         (fma_towardzero_test_data): New variable.
47413         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
47414         (fma_downward_test_data): New variable.
47415         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
47416         (fma_upward_test_data): New variable.
47417         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
47419         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
47420         (struct test_c_c_data): New type.
47421         (RUN_TEST_LOOP_c_c): New macro.
47422         (cacos_test_data): New variable.
47423         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
47424         (cacosh_test_data): New variable.
47425         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
47426         (casin_test_data): New variable.
47427         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
47428         (casinh_test_data): New variable.
47429         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
47430         (catan_test_data): New variable.
47431         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
47432         (catanh_test_data): New variable.
47433         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
47434         (ccos_test_data): New variable.
47435         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
47436         (ccosh_test_data): New variable.
47437         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
47438         (cexp_test_data): New variable.
47439         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
47440         (clog_test_data): New variable.
47441         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
47442         (clog10_test_data): New variable.
47443         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
47444         (conj_test_data): New variable.
47445         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
47446         (cproj_test_data): New variable.
47447         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
47448         (csin_test_data): New variable.
47449         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
47450         (csinh_test_data): New variable.
47451         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
47452         (csqrt_test_data): New variable.
47453         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
47454         (ctan_test_data): New variable.
47455         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
47456         (ctan_tonearest_test_data): New variable.
47457         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
47458         (ctan_towardzero_test_data): New variable.
47459         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
47460         (ctan_downward_test_data): New variable.
47461         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
47462         (ctan_upward_test_data): New variable.
47463         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
47464         (ctanh_test_data): New variable.
47465         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
47466         (ctanh_tonearest_test_data): New variable.
47467         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
47468         (ctanh_towardzero_test_data): New variable.
47469         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
47470         (ctanh_downward_test_data): New variable.
47471         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
47472         (ctanh_upward_test_data): New variable.
47473         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
47474         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
47475         of BUILD_COMPLEX.
47477         * math/libm-test.inc (struct test_ff_f_data): New type.
47478         (struct test_ff_f_data_nexttoward): Likewise.
47479         (RUN_TEST_LOOP_2_f): New macro.
47480         (RUN_TEST_LOOP_ff_f): Likewise.
47481         (atan2_test_data): New variable.
47482         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
47483         (copysign_test_data): New variable.
47484         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
47485         (fdim_test_data): New variable.
47486         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
47487         (fmax_test_data): New variable.
47488         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
47489         (fmin_test_data): New variable.
47490         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
47491         (fmod_test_data): New variable.
47492         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
47493         (hypot_test_data): New variable.
47494         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
47495         (nextafter_test_data): New variable.
47496         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
47497         (nexttoward_test_data): New variable.
47498         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
47499         (pow_test_data): New variable.
47500         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
47501         (pow_tonearest_test_data): New variable.
47502         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
47503         (pow_towardzero_test_data): New variable.
47504         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
47505         (pow_downward_test_data): New variable.
47506         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
47507         (pow_upward_test_data): New variable.
47508         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
47509         (remainder_test_data): New variable.
47510         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
47511         (scalb_test_data): New variable.
47512         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
47513         * sysdeps/i386/fpu/libm-test-ulps: Update.
47515 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
47517         * math/libm-test.inc (fma_test): Use max_value instead of local
47518         variable fltmax.
47519         (nextafter_test): Likewise.
47521         * math/libm-test.inc (acos_towardzero_test_data): New variable.
47522         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47523         (acos_downward_test_data): New variable.
47524         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47525         (acos_upward_test_data): New variable.
47526         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47527         (acosh_test_data): New variable.
47528         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
47529         (asin_test_data): New variable.
47530         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
47531         (asin_tonearest_test_data): New variable.
47532         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47533         (asin_towardzero_test_data): New variable.
47534         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47535         (asin_downward_test_data): New variable.
47536         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47537         (asin_upward_test_data): New variable.
47538         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47539         (asinh_test_data): New variable.
47540         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
47541         (atan_test_data): New variable.
47542         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
47543         (atanh_test_data): New variable.
47544         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
47545         (cbrt_test_data): New variable.
47546         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
47547         (ceil_test_data): New variable.
47548         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
47549         (cos_test_data): New variable.
47550         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
47551         (cos_tonearest_test_data): New variable.
47552         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47553         (cos_towardzero_test_data): New variable.
47554         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47555         (cos_downward_test_data): New variable.
47556         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47557         (cos_upward_test_data): New variable.
47558         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47559         (cosh_test_data): New variable.
47560         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
47561         (cosh_tonearest_test_data): New variable.
47562         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47563         (cosh_towardzero_test_data): New variable.
47564         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47565         (cosh_downward_test_data): New variable.
47566         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47567         (cosh_upward_test_data): New variable.
47568         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47569         (erf_test_data): New variable.
47570         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
47571         (erfc_test_data): New variable.
47572         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
47573         (exp_test_data): New variable.
47574         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
47575         (exp_tonearest_test_data): New variable.
47576         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47577         (exp_towardzero_test_data): New variable.
47578         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47579         (exp_downward_test_data): New variable.
47580         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47581         (exp_upward_test_data): New variable.
47582         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47583         (exp10_test_data): New variable.
47584         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
47585         (exp2_test_data): New variable.
47586         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
47587         (expm1_test_data): New variable.
47588         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
47589         (fabs_test_data): New variable.
47590         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
47591         (floor_test_data): New variable.
47592         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
47593         (j0_test_data): New variable.
47594         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
47595         (j1_test_data): New variable.
47596         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
47597         (log_test_data): New variable.
47598         (log_test): Run tests with RUN_TEST_LOOP_f_f.
47599         (log10_test_data): New variable.
47600         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
47601         (log1p_test_data): New variable.
47602         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
47603         (log2_test_data): New variable.
47604         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
47605         (logb_test_data): New variable.
47606         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
47607         (logb_downward_test_data): New variable.
47608         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47609         (nearbyint_test_data): New variable.
47610         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
47611         (rint_test_data): New variable.
47612         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
47613         (rint_tonearest_test_data): New variable.
47614         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47615         (rint_towardzero_test_data): New variable.
47616         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47617         (rint_downward_test_data): New variable.
47618         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47619         (rint_upward_test_data): New variable.
47620         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47621         (round_test_data): New variable.
47622         (round_test): Run tests with RUN_TEST_LOOP_f_f.
47623         (sin_test_data): New variable.
47624         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
47625         (sin_tonearest_test_data): New variable.
47626         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47627         (sin_towardzero_test_data): New variable.
47628         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47629         (sin_downward_test_data): New variable.
47630         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47631         (sin_upward_test_data): New variable.
47632         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47633         (sinh_test_data): New variable.
47634         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
47635         (sinh_tonearest_test_data): New variable.
47636         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47637         (sinh_towardzero_test_data): New variable.
47638         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47639         (sinh_downward_test_data): New variable.
47640         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47641         (sinh_upward_test_data): New variable.
47642         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47643         (sqrt_test_data): New variable.
47644         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
47645         (tan_test_data): New variable.
47646         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
47647         (tan_tonearest_test_data): New variable.
47648         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47649         (tan_towardzero_test_data): New variable.
47650         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47651         (tan_downward_test_data): New variable.
47652         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47653         (tan_upward_test_data): New variable.
47654         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47655         (tanh_test_data): New variable.
47656         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
47657         (tgamma_test_data): New variable.
47658         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
47659         (trunc_test_data): New variable.
47660         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
47661         (y0_test_data): New variable.
47662         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
47663         (y1_test_data): New variable.
47664         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
47665         (significand_test_data): New variable.
47666         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
47668 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
47670         [BZ #12387]
47671         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
47673 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47675         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
47677 2013-05-10  Andreas Jaeger  <aj@suse.de>
47679         [BZ #15448]
47680         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
47681         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
47683 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
47685         * math/gen-libm-test.pl (adjust_arg): New function.
47686         (special_functions): Handle generating output in both functions
47687         and arrays.
47688         (parse_args): Likewise.
47689         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
47690         $in_func argument to parse_args.
47691         * math/libm-test.inc (struct test_f_f_data): New type.
47692         (IF_ROUND_INIT_): New macro.
47693         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
47694         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
47695         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
47696         (IF_ROUND_INIT_FE_UPWARD): Likewise.
47697         (ROUND_RESTORE_): Likewise.
47698         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
47699         (ROUND_RESTORE_FE_TONEAREST): Likewise.
47700         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
47701         (ROUND_RESTORE_FE_UPWARD): Likewise.
47702         (RUN_TEST_LOOP_f_f): New macro.
47703         (acos_test_data): New variable.
47704         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
47705         (acos_tonearest_test_data): New variable.
47706         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47708 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47710         * benchtests/bench-skeleton.c (startup): Fix coding style.
47712 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
47714         [BZ #6809]
47715         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
47716         negative infinity argument.
47717         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
47718         negative infinity argument.
47719         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
47720         negative infinity argument.
47721         * math/libm-test.inc (tgamma_test): Expect errno to be set for
47722         domain errors.
47724 2013-05-10  Florian Weimer  <fweimer@redhat.com>
47726         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
47727         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
47728         * iconv/iconv_prog.c (main): Likewise.
47729         * locale/programs/charmap-dir.c (charmap_readdir)
47730         (fopen_uncompressed): Likewise.
47731         * locale/programs/locfile.c (siblings_uncached)
47732         (write_locale_data): Use lstat64 instead of lstat.
47733         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
47734         stat.
47736 2013-05-10  Andreas Jaeger  <aj@suse.de>
47738         [BZ #15395]
47739         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
47740         localization.
47741         Include <locale.h>.
47743 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
47745         * elf/dl-close.c (_dl_close_worker): Add comments.
47747 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
47749         [BZ #15359]
47750         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
47751         high part of pi/2.
47752         (__ieee754_rem_pio2l): Update comments.
47754         [BZ #15429]
47755         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
47756         high part of pi/2.
47757         (__ieee754_rem_pio2l): Update comments.
47759         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
47760         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
47762         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
47763         M_PI_4l.
47765         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
47766         (M_PI_34_LOG10El): Likewise.
47767         (M_PI2_LOG10El): Likewise.
47768         (M_PI4_LOG10El): Likewise.
47769         (M_PI_LOG10El): Likewise.
47771 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47773         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47775 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
47777         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
47778         (MINUS_ZERO_INIT): Likewise.
47779         (PLUS_INFTY_INIT): Likewise.
47780         (MINUS_INFTY_INIT): Likewise.
47781         (QNAN_VALUE_INIT): Likewise.
47782         (MAX_VALUE_INIT): Likewise.
47783         (MIN_VALUE_INIT): Likewise.
47784         (MIN_SUBNORM_VALUE_INIT): Likewise.
47785         (plus_zero): Initialize with PLUS_ZERO_INIT.
47786         (minus_zero): Initialize with MINUS_ZERO_INIT.
47787         (plus_infty): Initialize with PLUS_INFTY_INIT.
47788         (minus_infty): Initialize with MINUS_INFTY_INIT.
47789         (qnan_value): Initialize with QNAN_VALUE_INIT.
47790         (max_value): Initialize with MAX_VALUE_INIT.
47791         (min_value): Initialize with MIN_VALUE_INIT.
47792         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
47794         * math/libm-test.inc (RUN_TEST_if_f): New macro.
47795         (jn_test): Use TEST_if_f instead of TEST_ff_f.
47796         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
47797         (yn_test): Use TEST_if_f instead of TEST_ff_f.
47799         * math/libm-test.inc (RUN_TEST_f_f): New macro.
47800         (RUN_TEST_2_f): Likewise.
47801         (RUN_TEST_ff_f): Likewise.
47802         (RUN_TEST_fi_f): Likewise.
47803         (RUN_TEST_fl_f): Likewise.
47804         (RUN_TEST_fff_f): Likewise.
47805         (RUN_TEST_c_f): Likewise.
47806         (RUN_TEST_f_f1): Likewise.
47807         (RUN_TEST_fF_f1): Likewise.
47808         (RUN_TEST_fI_f1): Likewise.
47809         (RUN_TEST_ffI_f1): Likewise.
47810         (RUN_TEST_c_c): Likewise.
47811         (RUN_TEST_cc_c): Likewise.
47812         (RUN_TEST_f_i): Likewise.
47813         (RUN_TEST_f_i_tg): Likewise.
47814         (RUN_TEST_ff_i_tg): Likewise.
47815         (RUN_TEST_f_b): Likewise.
47816         (RUN_TEST_f_b_tg): Likewise.
47817         (RUN_TEST_f_l): Likewise.
47818         (RUN_TEST_f_L): Likewise.
47819         (RUN_TEST_sincos): Likewise.
47820         * math/gen-libm-test.pl (new_test): Take new argument to indicate
47821         whether to show exceptions.  Do not include ");\n" in return
47822         value.
47823         (special_functions): Output call to RUN_TEST_sincos instead of
47824         check_float calls.  Update calls to new_test.
47825         (parse_args): Output call to single RUN_TEST_* macro instead of
47826         check_* calls and other assignments.  Update calls to new_test.
47828         [BZ #2546]
47829         [BZ #2560]
47830         [BZ #5159]
47831         [BZ #15426]
47832         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
47833         input to result for tgamma overflow.
47834         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
47835         (gamma_coeff): New variable.
47836         (NCOEFF): New macro.
47837         (gamma_positive): New function.
47838         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
47839         underflow here.  Use gamma_positive instead of exp (lgamma) for
47840         other arguments.
47841         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
47842         (gamma_coeff): New variable.
47843         (NCOEFF): New macro.
47844         (gammaf_positive): New function.
47845         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
47846         underflow here.  Use gamma_positive instead of exp (lgamma) for
47847         other arguments.
47848         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
47849         (gamma_coeff): New variable.
47850         (NCOEFF): New macro.
47851         (gammal_positive): New function.
47852         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
47853         underflow here.  Use gamma_positive instead of exp (lgamma) for
47854         other arguments.
47855         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
47856         (gamma_coeff): New variable.
47857         (NCOEFF): New macro.
47858         (gammal_positive): New function.
47859         (__ieee754_gammal_r): Handle positive infinity, overflow and
47860         underflow here.  Handle NaN the same as positive infinity.  Remove
47861         check x < 0xffffffff for negative integers.  Use gamma_positive
47862         instead of exp (lgamma) for other arguments.
47863         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
47864         (gamma_coeff): New variable.
47865         (NCOEFF): New macro.
47866         (gammal_positive): New function.
47867         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
47868         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
47869         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
47870         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
47871         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
47872         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
47873         * sysdeps/generic/math_private.h (__gamma_productf): New
47874         prototype.
47875         (__gamma_product): Likewise.
47876         (__gamma_productl): Likewise.
47877         * math/Makefile (libm-calls): Add gamma_product.
47878         * math/libm-test.inc (tgamma_test): Add more tests.
47879         * sysdeps/i386/fpu/libm-test-ulps: Update.
47880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47882 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
47884         * benchtests/bench-skeleton.c (main): Preheat CPU.
47886 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
47888         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
47890 2013-05-07  Roland McGrath  <roland@hack.frob.com>
47892         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
47893         and _dl_skip_args_internal.
47895 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
47897         * manual/message.texi (Message Translation): Talk about users.
47898         Message to key mapping impacts design.
47900 2013-05-06  Roland McGrath  <roland@hack.frob.com>
47902         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
47904         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
47906         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
47907         * sysdeps/wordsize-64/glob64.c: ... here.
47909         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
47910         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
47911         New macros.
47913         * debug/getlogin_r_chk.c: Moved to ...
47914         * login/getlogin_r_chk.c: ... here.
47915         * debug/Makefile (routines): Move getlogin_r_chk to ...
47916         * login/Makefile (routines): ... here.
47917         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
47918         * login/Versions (libc: GLIBC_2.4): ... here.
47920         * io/poll.c (__poll): Renamed from poll.
47921         Add libc_hidden_def.
47922         (poll): Define as weak alias.
47924         * debug/ptsname_r_chk.c: Moved to ...
47925         * login/ptsname_r_chk.c: ... here.
47926         * debug/Makefile (routines): Move ptsname_r_chk to ...
47927         * login/Makefile (routines): ... here.
47928         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
47929         * login/Versions (libc: GLIBC_2.4): ... here.
47931         * posix/getlogin.c: Moved to ...
47932         * login/getlogin.c: ... here.
47933         * posix/getlogin_r.c: Moved to ...
47934         * login/getlogin_r.c: ... here.
47935         * posix/getlogin_r.c: Moved to ...
47936         * login/getlogin_r.c: ... here.
47937         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
47938         * login/Makefile (routines): ... here.
47939         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
47940         * login/Versions (libc: GLIBC_2.0): ... here.
47942         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
47943         (setrlimit): Define as weak alias.
47945         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
47946         Call __ names for open, ftruncate, and close.
47947         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
47948         (truncate): Define as weak alias.
47950 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
47952         * math/gen-libm-test.pl (parse_args): Initialize x before each
47953         test of frexp, modf and remquo.
47955         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
47956         test signgam value.
47958 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47960         [BZ #15418]
47961         [BZ #15419]
47962         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
47963         internal tests.
47964         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47966 2013-05-06  Roland McGrath  <roland@hack.frob.com>
47968         * elf/dl-writev.h: New file.
47969         * elf/dl-misc.c: Include it.
47970         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
47971         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
47973 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
47975         * math/libm-test.inc (noXFails): Remove variable.
47976         (noXPasses): Likewise.
47977         (BUILD_COMPLEX_INT): Remove macro.
47978         (print_screen): Remove xfail argument.
47979         (print_screen_max_error): Likewise.
47980         (update_stats): Likewise.
47981         (print_max_error): Likewise.  Update calls to other affected
47982         functions.
47983         (print_complex_max_error): Likewise.
47984         (test_single_exception): Update calls to print_screen.
47985         (test_single_errno): Likewise.
47986         (check_float_internal): Remove xfail argument.  Update calls to
47987         other affected functions.
47988         (check_float): Likewise.
47989         (check_complex): Likewise.
47990         (check_int): Likewise.
47991         (check_long): Likewise.
47992         (check_bool): Likewise.
47993         (check_longlong): Likewise.
47994         (main): Don't print noXFails and noXPasses.
47995         * math/gen-libm-test.pl (top level): Don't mention expected
47996         failure handling in comment.
47997         (new_test): Don't handle expected failures.
47998         (parse_args): Don't mention expected failure handling in comment.
47999         (generate_testfile): Don't handle expected failures.
48000         (parse_ulps): Likewise.
48001         (print_ulps_file): Likewise.
48002         (get_failure): Remove function.
48003         (output_test): Don't handle expected failures.
48004         * make/README.libm-test: Don't mention expected failure handling.
48006         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
48007         (minus_zero): Likewise.
48008         (plus_infty): Likewise.
48009         (minus_infty): Likewise.
48010         (qnan_value): Likewise.
48011         (max_value): Likewise.
48012         (min_value): Likewise.
48013         (min_subnorm_value): Likewise.
48014         (initialize): Do not initialize those variables dynamically.
48016 2013-05-03  Roland McGrath  <roland@hack.frob.com>
48018         * io/open.c (__open_2): Moved to ...
48019         * io/open_2.c: ... this new file.
48020         * io/open64.c (__open64_2): Moved to ...
48021         * io/open64_2.c: ... this new file.
48022         * io/openat.c (__openat_2): Moved to ...
48023         * io/openat_2.c: ... this new file.
48024         * io/openat64.c (__openat64_2): Moved to ...
48025         * io/openat64_2.c: ... this new file.
48026         * io/Makefile (routines): Add them.
48027         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
48028         * sysdeps/unix/sysv/linux/open_2.c: File removed.
48029         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
48030         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
48031         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
48032         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
48033         (__openat64): Add hidden_ver.
48034         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
48035         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
48037         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
48038         Separately conditionalize setting of GLRO(dl_sysinfo) so
48039         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
48040         as well, but the actual setting is only under [NEED_DL_SYSINFO].
48042 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48044         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
48045         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
48046         definition.
48047         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
48048         * sysdeps/unix/sysv/linux/powerpc/init-first.c
48049         (_libc_vdso_platform_setup): Add __vdso_time initialization.
48050         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
48051         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
48053 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
48055         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
48056         test signgam value.
48058         * math/libm-test.inc (hypot_test): Do not use
48059         IGNORE_ZERO_INF_SIGN.
48061 2013-05-03  Andreas Jaeger  <aj@suse.de>
48063         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
48064         Linux 3.9.
48065         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
48066         (PF_MAX): Adjust for VSOCK change.
48068 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48070         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48072 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
48074         [BZ #15264]
48075         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
48076         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
48077         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
48079 2013-05-02  David S. Miller  <davem@davemloft.net>
48081         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48083 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
48085         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
48087 2013-05-01  Roland McGrath  <roland@hack.frob.com>
48089         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
48091 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
48093         [BZ #14952]
48094         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
48095         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
48096         Use __attribute__ ((__gnu_inline__)).
48097         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
48098         Don't use __attribute__ ((__gnu_inline__)).
48100 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
48102         [BZ #15423]
48103         * math/s_catan.c (__catan): Handle small real or imaginary part of
48104         input specially to avoid spurious underflow.
48105         * math/s_catanf.c (__catanf): Likewise.
48106         * math/s_catanh.c (__catanh): Likewise.
48107         * math/s_catanhf.c (__catanhf): Likewise.
48108         * math/s_catanhl.c (__catanhl): Likewise.
48109         * math/s_catanl.c (__catanl): Likewise.
48110         * math/libm-test.inc (catan_test): Add more tests.
48111         (catanh_test): Likewise.
48112         * sysdeps/i386/fpu/libm-test-ulps: Update.
48113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48115 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48117         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48119 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
48121         [BZ #15416]
48122         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
48123         accurately for denominator in atan2.
48124         * math/s_catanf.c (__catanf): Likewise.
48125         * math/s_catanh.c (__catanh): Likewise.
48126         * math/s_catanhf.c (__catanhf): Likewise.
48127         * math/s_catanhl.c (__catanhl): Likewise.
48128         * math/s_catanl.c (__catanl): Likewise.
48129         * math/libm-test.inc (catan_test): Add more tests.
48130         (catanh_test): Likewise.
48131         * sysdeps/i386/fpu/libm-test-ulps: Update.
48132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48134 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48136         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
48138         * benchtests/Makefile (bench): Remove slow benchmarks.
48139         * benchtests/atan-inputs: Add slow benchmark inputs.
48140         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
48141         (BENCH_FUNC): Accept variant offset.
48142         (VARIANT): Define.
48143         * benchtests/bench-skeleton.c (main): Run benchmark for each
48144         variant.
48145         * benchtests/cos-inputs: Add slow benchmark inputs.
48146         * benchtests/exp-inputs: Likewise.
48147         * benchtests/pow-inputs: Likewise.
48148         * benchtests/sin-inputs: Likewise.
48149         * benchtests/slowatan-inputs: Remove.
48150         * benchtests/slowatan.c: Remove.
48151         * benchtests/slowcos-inputs: Remove.
48152         * benchtests/slowcos.c: Remove.
48153         * benchtests/slowexp-inputs: Remove.
48154         * benchtests/slowexp.c: Remove.
48155         * benchtests/slowpow-inputs: Remove.
48156         * benchtests/slowpow.c: Remove.
48157         * benchtests/slowsin-inputs: Remove.
48158         * benchtests/slowsin.c: Remove.
48159         * benchtests/slowtan-inputs: Remove.
48160         * benchtests/slowtan.c: Remove.
48161         * benchtests/tan-inputs: Add slow benchmark inputs.
48162         * scripts/bench.pl: Parse comments and directives.
48164         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
48165         in CPPFLAGS.
48166         ($(objpfx)bench-%.c): Remove *-ITER.
48167         * benchtests/bench-modf.c: Remove definition of ITER.
48168         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
48169         (main): Loop for DURATION seconds instead of fixed number of
48170         iterations.
48171         * scripts/bench.pl: Don't expect iterations in parameters.
48173 2013-04-29  Roland McGrath  <roland@hack.frob.com>
48175         * io/fchdir.c (__fchdir): Renamed from fchdir.
48176         (fchdir): Define as weak alias.
48178 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
48180         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
48181         (ERRNO_EDOM): Likewise.
48182         (ERRNO_ERANGE): Likewise.
48183         (noErrnoTests): New variable.
48184         (init_max_error): Set errno to 0.
48185         (test_single_errno): New function.
48186         (test_errno): Likewise.
48187         (check_float_internal): Call test_errno.  Set errno to 0.
48188         (check_complex): Refer to errno tests in comment.
48189         (check_int): Call test_errno.  Set errno to 0.
48190         (check_long): Likewise.
48191         (check_bool): Likewise.
48192         (check_longlong): Likewise.
48193         (cos_test): Use ERRNO_* flags for errno tests instead of
48194         check_int.
48195         (expm1_test): Likewise.
48196         (fmod_test): Likewise.
48197         (ilogb_test): Likewise.
48198         (lgamma_test): Likewise.
48199         (pow_test): Likewise.
48200         (remainder_test): Likewise.
48201         (sin_test): Likewise.
48202         (tan_test): Likewise.
48203         (yn_test): Likewise.
48204         (initialize): Set errno to 0.
48205         (main): Print number of errno tests.
48206         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
48208 2013-04-29  Andreas Jaeger  <aj@suse.de>
48210         [BZ #15084]
48211         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
48212         and RES_USEVC.
48214         [BZ #15085]
48215         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
48216         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
48217         unimplemented.
48219         [BZ #15380]
48220         * stdlib/random.c (__initstate): Return NULL if
48221         __initstate fails.
48223         [BZ #15086]
48224         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
48225         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
48226         RES_SNGLKUPREOP.
48228 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48232 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
48234         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
48235         of individual tests.
48236         (casin_test): Likewise.
48237         (casinh_test): Likewise.
48239 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
48241         [BZ #15409]
48242         * math/s_catan.c (__catan): Handle arguments with large real or
48243         imaginary part separately without squaring.
48244         * math/s_catanf.c (__catanf): Likewise.
48245         * math/s_catanh.c (__catanh): Likewise.
48246         * math/s_catanhf.c (__catanhf): Likewise.
48247         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
48248         and redefine.
48249         (__catanhl): Handle arguments with large real or imaginary part
48250         separately without squaring.
48251         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
48252         and redefine.
48253         (__catanl): Handle arguments with large real or imaginary part
48254         separately without squaring.
48255         * math/libm-test.inc (catan_test): Add more tests.
48256         (catanh_test): Likewise.
48257         * sysdeps/i386/fpu/libm-test-ulps: Update.
48258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48260 2013-04-27  Andreas Jaeger  <aj@suse.de>
48262         [BZ #15007]
48263         * stdlib/stdlib.h: Update guards for qecvt.
48264         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
48265         <stdlib.h>.
48267 2013-04-27  Allan McRae  <allan@archlinux.org>
48269         * sysdeps/i386/fpu/libm-test-ulps: Update.
48271 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
48273         [BZ #15406]
48274         * math/s_catan.c: Include <float.h>.
48275         (__catan): Ensure underflow exception occurs for underflowed
48276         result.
48277         * math/s_catanf.c: Include <float.h>.
48278         (__catanf): Ensure underflow exception occurs for underflowed
48279         result.
48280         * math/s_catanh.c: Include <float.h>.
48281         (__catanh): Ensure underflow exception occurs for underflowed
48282         result.
48283         * math/s_catanhf.c: Include <float.h>.
48284         (__catanhf): Ensure underflow exception occurs for underflowed
48285         result.
48286         * math/s_catanhl.c: Include <float.h>.
48287         (__catanhl): Ensure underflow exception occurs for underflowed
48288         result.
48289         * math/s_catanl.c: Include <float.h>.
48290         (__catanl): Ensure underflow exception occurs for underflowed
48291         result.
48292         * math/libm-test.inc (catan_test): Add more tests.
48293         (catanh_test): Likewise.
48295         [BZ #15405]
48296         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
48297         underflowed result.
48298         * math/s_ccoshf.c (__ccoshf): Likewise.
48299         * math/s_ccoshl.c (__ccoshl): Likewise.
48300         * math/s_csin.c (__csin): Likewise.
48301         * math/s_csinf.c (__csinf): Likewise.
48302         * math/s_csinh.c (__csinh): Likewise.
48303         * math/s_csinhf.c (__csinhf): Likewise.
48304         * math/s_csinhl.c (__csinhl): Likewise.
48305         * math/s_csinl.c (__csinl): Likewise.
48306         * math/libm-test.inc (ccos_test): Add more tests.
48307         (ccosh_test): Likewise.
48308         (csin_test): Likewise.
48309         (csinh_test): Likewise.
48311 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48313         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
48314         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
48315         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
48316         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
48317         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
48318         powerpc/power5+/fpu folders.
48319         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
48322 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
48324         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48326 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
48328         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
48329         additions to variable.
48330         [$(config-machine) = x86_64] (modules-names): Likewise.
48331         ($(objpfx)tst-audit3): Remove dependency.
48332         ($(objpfx)tst-audit3.out): Likewise.
48333         ($(objpfx)tst-audit4): Likewise.
48334         ($(objpfx)tst-audit4.out): Likewise.
48335         ($(objpfx)tst-audit5): Likewise.
48336         ($(objpfx)tst-audit5.out): Likewise.
48337         ($(objpfx)tst-audit6): Likewise.
48338         ($(objpfx)tst-audit6.out): Likewise.
48339         ($(objpfx)tst-audit7): Likewise.
48340         ($(objpfx)tst-audit7.out): Likewise.
48341         (tst-audit3-ENV): Remove variable.
48342         (tst-audit4-ENV): Likewise.
48343         (tst-audit5-ENV): Likewise.
48344         (tst-audit6-ENV): Likewise.
48345         (tst-audit7-ENV): Likewise.
48346         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
48347         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
48348         addition to variable.
48349         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
48350         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
48351         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
48352         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
48353         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
48354         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
48355         tst-audit3, tst-audit4 and tst-audit5.
48356         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
48357         tst-audit6 and tst-audit7.
48358         [$(subdir) = elf] (modules-names): Add audit modules for those
48359         tests.
48360         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
48361         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
48362         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
48363         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
48364         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
48365         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
48366         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
48367         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
48368         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
48369         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
48370         [$(subdir) = elf] (tst-audit3-ENV): New variable.
48371         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
48372         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
48373         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
48374         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
48375         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
48376         Likewise.
48377         [$(subdir) = elf && $(config-cflags-avx) = yes]
48378         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
48379         [$(subdir) = elf && $(config-cflags-avx) = yes]
48380         (CFLAGS-tst-auditmod4a.c): Likewise.
48381         [$(subdir) = elf && $(config-cflags-avx) = yes]
48382         (CFLAGS-tst-auditmod4b.c): Likewise.
48383         [$(subdir) = elf && $(config-cflags-avx) = yes]
48384         (CFLAGS-tst-auditmod6b.c): Likewise.
48385         [$(subdir) = elf && $(config-cflags-avx) = yes]
48386         (CFLAGS-tst-auditmod6c.c): Likewise.
48387         [$(subdir) = elf && $(config-cflags-avx) = yes]
48388         (CFLAGS-tst-auditmod7b.c): Likewise.
48389         * elf/tst-audit3.c: Move to ...
48390         * sysdeps/x86_64/tst-audit3.c: ... here.
48391         * elf/tst-audit4.c: Move to ...
48392         * sysdeps/x86_64/tst-audit4.c: ... here.
48393         * elf/tst-audit5.c: Move to ...
48394         * sysdeps/x86_64/tst-audit5.c: ... here.
48395         * elf/tst-audit6.c: Move to ...
48396         * sysdeps/x86_64/tst-audit6.c: ... here.
48397         * elf/tst-audit7.c: Move to ...
48398         * sysdeps/x86_64/tst-audit7.c: ... here.
48399         * elf/tst-auditmod3a.c: Move to ...
48400         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
48401         * elf/tst-auditmod3b.c: Move to ...
48402         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
48403         * elf/tst-auditmod4a.c: Move to ...
48404         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
48405         * elf/tst-auditmod4b.c: Move to ...
48406         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
48407         * elf/tst-auditmod5a.c: Move to ...
48408         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
48409         * elf/tst-auditmod5b.c: Move to ...
48410         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
48411         * elf/tst-auditmod6a.c: Move to ...
48412         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
48413         * elf/tst-auditmod6b.c: Move to ...
48414         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
48415         * elf/tst-auditmod6c.c: Move to ...
48416         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
48417         * elf/tst-auditmod7a.c: Move to ...
48418         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
48419         * elf/tst-auditmod7b.c: Move to ...
48420         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
48422 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
48424         [BZ #15366]
48425         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
48426         define unconditionally.
48427         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
48428         define unconditionally.
48429         (INT8_C, INT16_C, etc.): Likewise.
48431 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
48433         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
48434         __ehdr_start with hidden visibility.
48436         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
48438 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
48440         * math/libm-test.inc (cos_test): Use accurate hex constants.
48441         (sincost_test): Likewise.
48443 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
48445         * math/libm-test.inc (catan_test): Add more tests.
48446         (catanh_test): Likewise.
48448         * math/s_catanf.c (__catanf): Use suffixed floating-point
48449         constants.
48450         * math/s_catanhf.c (__catanhf): Likewise.
48451         * math/s_catanhl.c (__catanhl): Likewise.
48452         * math/s_catanl.c (__catanl): Likewise.
48454         [BZ #15394]
48455         * math/s_catan.c (__catan): Calculate imaginary part of result
48456         with log1p not log unless computing log of number close to 0.
48457         * math/s_catanf.c (__catanf): Likewise.
48458         * math/s_catanl.c (__catanl): Likewise.
48459         * math/s_catanh.c (__catanh): Calculate real part of result with
48460         log1p not log unless computing log of number close to 0.
48461         * math/s_catanhf.c (__catanhf): Likewise.
48462         * math/s_catanhl.c (__catanhl): Likewise.
48463         * math/libm-test.inc (catan_test): Add more tests.
48464         (catanh_test): Likewise.
48465         * sysdeps/i386/fpu/libm-test-ulps: Update.
48466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48468 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48470         * benchtests/Makefile: Mention files in which fast and slow
48471         paths of math functions are implemented.
48473 2013-04-23  Roland McGrath  <roland@hack.frob.com>
48475         * sysdeps/posix/timespec_get.c: New file.
48477 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48479         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
48480         POWER.
48481         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
48482         for POWER.
48483         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
48484         powerpc/power5/fpu folders.
48485         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
48486         * benchtests/Makefile: Add modf testcase.
48487         * benchtests/bench-modf.c: New file: Benchmark test for mo
48489 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
48491         [BZ #14888]
48492         * time/Makefile (tests): Add tst-strptime-whitespace.
48493         * time/strptime_l.c (get_number): Use ISSPACE.
48494         (__strptime_internal): Likewise.
48495         * time/tst-strptime-whitespace.c: New test case.
48497 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
48499         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
48500         member.
48501         (_nss_files_init): Set it here.
48503 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
48505         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
48506         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
48507         unsigned.
48509 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
48511         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
48513 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48515         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
48516         size just once.
48518 2013-04-21  David S. Miller  <davem@davemloft.net>
48520         * po/ru.po: Update Russion translation from translation project.
48522 2013-04-17  Adam Conrad  <adconrad@0c3.net>
48524         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
48525         and setfsgid.
48527 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
48529         * configure.in: Remove i386 configure warning. Remove i386 case.
48530         * configure: Regenerate.
48531         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
48532         Add example to error message.
48533         * sysdeps/i386/configure: Regenerate.
48535 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48537         * benchtests/Makefile (bench): Add cos, tan, slowcos and
48538         slowtan.
48539         * benchtests/cos-inputs: New file.
48540         * benchtests/slowcos-inputs: New file.
48541         * benchtests/slowcos.c: New file.
48542         * benchtests/slowtan-inputs: New file.
48543         * benchtests/slowtan.c: New file.
48544         * benchtests/tan-inputs: New file.
48546 2013-04-16  Roland McGrath  <roland@hack.frob.com>
48548         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
48549         considered kosher.
48551 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48553         * benchtests/Makefile: Include cppflags-iterator.mk to add
48554         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
48556         * Makefile.in (bench-clean): New target.
48557         * benchtests/Makefile (bench-clean): Likewise.
48559 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
48561         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
48563 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
48565         * stdio-common/tstdiomisc.c: Fix coding-style violation.
48567 2013-04-15  Andreas Schwab  <schwab@suse.de>
48569         * nscd/grpcache.c (cache_addgr): Properly check for short write.
48570         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48571         * nscd/pwdcache.c (cache_addpw): Likewise.
48572         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
48573         more than recsize.
48575 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48577         * benchtests/Makefile (bench): Write all output to
48578         bench-out.tmp together.
48580 2013-04-15  Andreas Schwab  <schwab@suse.de>
48582         * nscd/nscd.c (main): Don't fork again after closing files.
48584 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48586         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
48588         * benchtests/Rules (bench-deps): Collect dependencies into a
48589         single variable.  Add Makefile to dependencies.
48590         ($(objpfx)bench-%.c): Depend on bench-deps.
48592 2013-04-12  Roland McGrath  <roland@hack.frob.com>
48593             Xavier Roche  <roche+kml2@exalead.com>
48595         [BZ #15361]
48596         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
48597         just that it's a file descriptor.
48598         * manual/llio.texi (Synchronizing AIO Operations): Update description
48599         for EBADF error from aio_fsync.
48601 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48603         * Rules (bench): Move target definition...
48604         * benchtests/Makefile: ... here.
48606 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
48608         * math/libm-test.inc (cos_test): Fix PI/2 test.
48609         (sincos_test): Likewise.
48610         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
48611         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
48613 2013-04-11  Andreas Schwab  <schwab@suse.de>
48615         [BZ #13988]
48616         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
48617         accept exponent character only when digits were seen.
48618         * stdio-common/Makefile (tests): Add bug26.
48619         * stdio-common/bug26.c: New file.
48621         [BZ #14293]
48622         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
48623         non-freeable.
48625 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48627         * Makeconfig (rtld-prefix): Define built linker prefix.
48628         * Rules (run-bench): Use it.
48629         * math/Makefile (run-regen-ulps): Likewise.
48631         * Rules (bench): Remove eval.
48633 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48634             Roland McGrath  <roland@hack.frob.com>
48635             Ondrej Bilka  <neleai@seznam.cz>
48637         [BZ #15346]
48638         * time/getdate.c: Include ctype.h and alloca.h.
48639         (__getdate_r): Trim leading and trailing spaces of input.
48640         * time/tst-getdate.c (tests): Add tests with leading and
48641         trailing spaces.
48643 2013-04-08  Roland McGrath  <roland@hack.frob.com>
48645         [BZ #14280]
48646         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
48647         when computing value.
48649 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48651         * math/README.libm-test (How can I generate "libm-test-ulps"?):
48652         Use testrun.sh to run libm tests.
48654         [BZ #15309]
48655         * elf/dl-open.c (dl_open_worker): memset all of seen array.
48657 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
48659         [BZ #15264]
48660         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
48662 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48664         * Makefile.in (regen-ulps): New target.
48665         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
48666         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
48667         [ifneq (no,$(PERL)] (regen-ulps): New target.
48668         [ifeq (no,$(PERL)] (regen-ulps): New target.
48669         * math/libm-test.inc (ulps_file_name): Define.
48670         (output_dir): New variable.
48671         (options): Add "output-dir" option.
48672         (parse_opt): Handle 'o' case.
48673         (main): If output_dir is non-NULL use it as a prefix
48674         otherwise use "".
48675         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
48677 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48679         [BZ #10060, #10062]
48680         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
48681         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
48682         fail configure if __sync_val_compare_and_swap is not inlined.
48683         * sysdeps/i386/configure: Regenerate.
48684         * configure.in: Build for i686 when configured for i386.
48685         * configure: Regenerate.
48686         * README: Remove i386 reference.
48688 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48690         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
48691         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48693 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
48695         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
48696         (lmsnanval): New variables.
48697         (F): Add conversion tests.
48698         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
48699         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
48701         * stdio-common/tstdiomisc.c (F): Properly collect individual
48702         tests' results.
48704         [BZ #14686, #15336]
48705         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
48706         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
48707         Instead, use input NaN values or generate a qNaN by arithmetic
48708         operation.  Also fix bugs to comply with the standard.
48709         * math/libm-test.inc (remainder_test): Add more tests.
48711         [BZ #15335, #15342]
48712         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
48713         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
48714         input NaN values or generate a qNaN by arithmetic operation.
48716         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
48717         unreachable code.
48719         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
48720         definitions.
48722 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
48724         [BZ #14478]
48725         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
48726         underflowed result.
48727         * math/s_cexpf.c (__cexpf): Likewise.
48728         * math/s_cexpl.c (__cexpl): Likewise.
48729         * math/libm-test.inc (cexp_test): Add more tests.
48731 2013-04-03  Andreas Schwab  <schwab@suse.de>
48733         [BZ #15330]
48734         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
48735         order arrays from heap if bigger than alloca cutoff.
48737 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
48739         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
48740         (SNAN_TESTS_double): Refer to GCC PR56831.
48741         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
48742         GCC PR56828.
48744 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48746         * Rules (bench): Move bench.out after the run is complete.
48748         * Rules (bench): Echo currently running benchmark.
48750         * benchtests/Makefile (bench): Add atan and slowatan.
48751         * benchtests/atan-inputs: New file.
48752         * benchtests/slowatan-inputs: New file.
48753         * benchtests/slowatan.c: New file.
48755         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
48756         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
48757         its value.
48759         [BZ #15305]
48760         * sysdeps/unix/sysv/linux/kernel-features.h
48761         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
48762         __ASSUME_XFS_RESTRICTED_CHOWN.
48763         * sysdeps/unix/sysv/linux/pathconf.c
48764         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
48765         Save and restore errno.
48767 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
48769         [BZ #15327]
48770         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
48771         arguments using __kernel_casinh.
48772         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
48773         arguments using __kernel_casinhf.
48774         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
48775         arguments using __kernel_casinhl.
48776         * math/libm-test.inc (cacosh_test): Add more tests.
48777         * sysdeps/i386/fpu/libm-test-ulps: Update.
48778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48780 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48782         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
48783         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
48785         * bench/Makefile (bench): Add sin and slowsin.
48786         * benchtests/sin-inputs: New file.
48787         * benchtests/slowsin-inputs: New file.
48788         * benchtests/slowsin.c: New file.
48790         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
48791         (bench): Add slowexp and slowpow.
48792         (exp-ITER): Increase iterations.
48793         (pow-ITER): Likewise.
48794         * benchtests/exp-inputs: Change input.
48795         * benchtests/pow-inputs: Likewise.
48796         * benchtests/slowexp-inputs: New file.
48797         * benchtests/slowexp.c: New file.
48798         * benchtests/slowpow-inputs: New file.
48799         * benchtests/slowpow.c: New file.
48801 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48803         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
48804         instructions.
48805         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48806         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
48807         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
48808         * benchtests/Makefile: Add rint benchtest.
48809         * benchtests/rint-inputs: Input for rint benchtest.
48811 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
48813         * Versions.def (libm): Add GLIBC_2.18.
48814         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
48815         hidden libm prototypes.
48816         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
48817         * math/Makefile (libm-calls): Add s_issignaling.
48818         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
48819         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
48820         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
48821         declaration.
48822         * math/math.h [__USE_GNU] (issignaling): New macro.
48823         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
48824         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
48825         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
48826         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
48827         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
48828         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
48829         * manual/arith.texi (issignaling): New section.
48830         * manual/libm-err-tab.pl (@all_functions): Update comment.
48831         * math/gen-libm-test.pl (parse_args): Apply special handling for
48832         issignaling.
48833         * math/libm-test.inc (print_float, issignaling_test): New
48834         functions.
48835         (check_float_internal): Add issignaling checks.
48836         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
48837         default definition.
48838         * sysdeps/powerpc/math-tests.h: New file.
48839         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
48840         tests.
48841         * math/test-snan.c (TEST_FUNC): Likewise.
48843 2013-03-30  David S. Miller  <davem@davemloft.net>
48845         * po/de.po: Update from translation team.
48847 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
48849         [BZ #10357]
48850         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48851         imaginary part less than 1.0 and real part less than 0.5
48852         specially.
48853         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48854         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48855         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
48856         (cacos_test): Add more tests.
48857         (casin_test): Likewise.
48858         (casinh_test): Likewise.
48859         * sysdeps/i386/fpu/libm-test-ulps: Update.
48860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48862 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48864         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
48865         ONE with its value.
48867         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
48868         (__pow_mp): Replace ONE and MONE with their values.
48869         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48870         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
48871         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48872         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
48873         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48874         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48876         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
48878         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
48879         (__pow_mp): Replace ZERO and MZERO with their values.
48880         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
48881         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48882         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48883         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
48884         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48885         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
48886         (__sqr): Likewise.
48888         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
48890         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
48892 2013-03-28  Roland McGrath  <roland@hack.frob.com>
48894         * include/stdlib.h [!SHARED] (__call_tls_dtors):
48895         Declare with __attribute__ ((weak)).
48896         * stdlib/exit.c (__libc_atexit) [!SHARED]:
48897         Call __call_tls_dtors only if it's not NULL.
48899 2013-03-28  Roland McGrath  <roland@hack.frob.com>
48901         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
48902         didn't do it already, then set _dl_phdr and _dl_phnum based on the
48903         magic __ehdr_start linker symbol if it's defined.
48904         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
48905         them up here if it was already done.
48907         * elf/dl-support.c (_dl_phdr): Make pointer to const.
48908         (_dl_aux_init): Use const in cast when setting it.
48909         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
48910         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
48911         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
48913         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
48914         Declare them here.
48915         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
48916         * csu/libc-tls.c: Nor here.
48917         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
48919         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
48920         (__libc_message): Never call vsyslog.
48922 2013-03-28  Alan Modra  <amodra@gmail.com>
48924         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
48925         Define as empty.
48926         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
48927         Likewise.
48929 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48931         [BZ #15214]
48932         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
48933         underflow.
48934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48936 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48938         [BZ #15304]
48939         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
48940         Don't add gid passed as argument.
48942         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
48944 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
48946         [BZ #15307]
48947         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48948         imaginary part between 1.0 and 1.5 and real part less than 0.5
48949         specially.
48950         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48951         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48952         * math/libm-test.inc (cacos_test): Add more tests.
48953         (casin_test): Likewise.
48954         (casinh_test): Likewise.
48955         * sysdeps/i386/fpu/libm-test-ulps: Update.
48956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48958 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48960         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
48961         constants.
48962         (norm): Likewise.
48963         (denorm): Likewise.
48964         (__dbl_mp): Likewise.
48965         (add_magnitudes): Likewise.
48966         (sub_magnitudes): Likewise.
48967         (__add): Likewise.
48968         (__sub): Likewise.
48969         (__mul): Likewise.
48970         (__sqr): Likewise.
48971         (__inv): Likewise.
48972         (__dvd): Likewise.
48974         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
48975         commented code.
48976         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
48977         (__dubcos): Likewise.
48978         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
48979         (__ieee754_acos): Likewise.
48980         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
48981         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
48982         (__exp1): Likewise.
48983         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48984         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
48985         (log1): Likewise.
48986         (my_log2): Likewise.
48987         (checkint): Likewise.
48988         * sysdeps/ieee754/dbl-64/e_remainder.c
48989         (__ieee754_remainder): Likewise.
48990         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48991         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
48992         (bsloww): Likewise.
48993         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48995         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
48996         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
48997         MANTISSA_STORE_T to store computations on mantissa.  Use
48998         macros for rounding and division.
48999         (denorm): Likewise.
49000         (__dbl_mp): Likewise.
49001         (add_magnitudes): Likewise.
49002         (sub_magnitudes): Likewise.
49003         (__mul): Likewise.
49004         (__sqr): Likewise.
49005         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
49006         powers of two in terms of TWOPOW macro.
49007         (mp_no): Make type of mantissa as MANTISSA_T.
49008         [!RADIXI]: Define RADIXI.
49009         [!TWO52]: Define TWO52.
49010         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
49012 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49014         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
49015         llroundl symbol when building for PPC32.
49017 2013-03-24  Mark H Weaver  <mhw@netris.org>
49019         * manual/arith.texi (Normalization Functions): Fix prototypes for
49020         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
49022 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49024         [BZ #13889]
49025         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
49026         high value to check if expl overflow.
49027         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
49028         to check for underflow and overflow.
49029         * math/libm-test.inc: Add exp test.
49031 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
49033         [BZ #11120]
49034         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
49035         with NOT_IN_libc.
49037 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49039         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
49040         symbol.
49042 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
49044         * math/gen-libm-test.pl (parse_args, special_functions): Properly
49045         wrap blocks consisting of several statements.
49047         * sysdeps/generic/math-tests.h: New file.
49048         * sysdeps/i386/fpu/math-tests.h: Likewise.
49049         * math/test-snan.c: Include it.
49050         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
49052 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
49054         [BZ #15285]
49055         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
49056         (__ieee754_j0l): Do not improve calculations using cos of twice
49057         input for inputs above LDBL_MAX / 2.0L.
49058         (__ieee754_y0l): Likewise.
49059         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
49060         (__ieee754_j1l): Do not improve calculations using cos of twice
49061         input for inputs above LDBL_MAX / 2.0L.
49062         (__ieee754_y1l): Likewise.
49063         * math/libm-test.inc (j0_test): Add another test.
49064         (j1_test): Likewise.
49065         (y0_test): Likewise.
49066         (y1_test): Likewise.
49067         * sysdeps/i386/fpu/libm-test-ulps: Update.
49069 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49071         * Rules ($(objpfx)bench-%.c): Include code from a C source
49072         file.
49074 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
49076         [BZ #15287]
49077         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49078         imaginary part 1.0 and real part less than 0.5 specially.
49079         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49080         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49081         * math/libm-test.inc (cacos_test): Add more tests.
49082         (casin_test): Likewise.
49083         (casinh_test): Likewise.
49084         * sysdeps/i386/fpu/libm-test-ulps: Update.
49085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49087 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49089         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
49090         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
49092 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
49094         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
49095         * config.make.in (config-cflags-sse4): Remove variable.
49096         (config-cflags-avx): Likewise.
49097         (config-cflags-sse2avx): Likewise.
49098         (config-cflags-novzeroupper): Likewise.
49099         (config-asflags-i686): Likewise.
49100         (have-mfma4): Likewise.
49101         (have-as-vis3): Likewise.
49102         (MIG): Likewise.
49103         * configure.in (MIG): Do not AC_SUBST.
49104         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
49105         (libc_cv_cc_sse4): Do not AC_SUBST.
49106         (libc_cv_cc_avx): Likewise.
49107         (libc_cv_cc_sse2avx): Likewise.
49108         (libc_cv_cc_novzeroupper): Likewise.
49109         (libc_cv_cc_fma4): Likewise.
49110         (libc_cv_as_i686): Likewise.
49111         (libc_cv_sparc_as_vis3): Likewise.
49112         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
49113         LIBC_CONFIG_VAR.
49114         (config-asflags-i686): Likewise.
49115         (config-cflags-avx): Likewise.
49116         (config-cflags-sse2avx): Likewise.
49117         (have-mfma4): Likewise.
49118         (config-cflags-novzeroupper): Likewise.
49119         * sysdeps/mach/configure.in (MIG): Likewise.
49120         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
49121         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
49122         LIBC_CONFIG_VAR.
49123         (config-cflags-avx): Likewise.
49124         (config-cflags-sse2avx): Likewise.
49125         (have-mfma4): Likewise.
49126         (config-cflags-novzeroupper): Likewise.
49127         * configure: Regenerated.
49128         * sysdeps/i386/configure: Likewise.
49129         * sysdeps/mach/configure: Likewise.
49130         * sysdeps/sparc/configure: Likewise.
49131         * sysdeps/x86_64/configure: Likewise.
49133 2013-03-20  Roland McGrath  <roland@hack.frob.com>
49135         [BZ #14812]
49136         * locale/programs/localedef.c (options): Put N_ translation marker
49137         on argument names, not just descriptions.
49139 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49141         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
49143 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
49145         [BZ #14176]
49146         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
49148 2013-03-19  Roland McGrath  <roland@hack.frob.com>
49150         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
49151         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
49152         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
49153         [!BEFORE_ABORT] (before_abort): New function.
49154         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
49155         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
49156         (writev_for_fatal): New function.
49157         (WRITEV_FOR_FATAL): New macro; call that.
49158         (backtrace_and_maps): New function.
49159         (BEFORE_ABORT): New macro; call that.
49160         (struct str_list): Type removed.
49161         (__libc_message, __libc_fatal): Functions removed.
49162         Include <sysdeps/posix/libc_fatal.c> instead.
49164 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
49166         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
49167         constants.
49168         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
49169         double constants.
49171 2013-03-19  Andreas Schwab  <schwab@suse.de>
49173         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
49174         * sysdeps/gnu/configure: Regenerate.
49176         * configure.in: Substitute libc_cv_rtlddir.
49177         * configure: Regenerate.
49178         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
49179         * Makeconfig (rtlddir, inst_rtlddir): New variables.
49180         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
49181         * elf/Makefile (install-others, CFLAGS-interp.c)
49182         (ldso_install, common-ldd-rewrite): Likewise.
49183         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
49184         $(inst_slibdir)/$(rtld-installed-name).
49185         * scripts/rellns-sh: Add -p option.
49186         * Makerules (make-shlib-link): Use rellns-sh to get relative name
49187         for source.
49189 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49191         * manual/nptl.texi: Renamed to ...
49192         * manual/threads.texi: ... this.
49193         * manual/Makefile (chapters): Update.
49195 2013-03-18  Roland McGrath  <roland@hack.frob.com>
49197         [BZ #14812]
49198         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
49199         on argument names, not just descriptions.
49200         * malloc/memusagestat.c (options): Likewise.
49201         * nss/getent.c (options): Likewise.
49203 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
49205         [BZ #14812]
49206         * iconv/iconv_prog.c (options): Put N_ translation marker
49207         on argument names, not just descriptions.
49208         * iconv/iconvconfig.c (options): Likewise.
49210 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
49212         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
49213         implementation which is faster on all x86_64 architectures.
49214         Tested on AMD, Intel Nehalem, SNB, IVB.
49215         * sysdeps/x86_64/strnlen.S: Likewise.
49217         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49218         Remove all multiarch strlen and strnlen versions.
49219         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
49220         Remove strlen and strnlen related parts.
49222         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
49223         Inline strlen part.
49224         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
49226         * sysdeps/x86_64/multiarch/strlen.S: Remove.
49227         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
49228         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
49229         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
49230         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
49231         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
49233 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
49235         * manual/memory.texi (Malloc Tunable Parameters):
49236         Sort parameters alphabetically. Add comments for missing entries.
49238 2013-03-17  David S. Miller  <davem@davemloft.net>
49240         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49242 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
49244         [BZ #15283]
49245         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
49246         for arguments at most half maximum finite value.
49247         * math/libm-test.inc (j0_test): Add more tests.
49248         (j1_test): Likewise.
49249         (y0_test): Likewise.
49250         (y1_test): Likewise.
49251         * sysdeps/i386/fpu/libm-test-ulps: Update.
49252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49254         [BZ #14155]
49255         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
49256         1 / x and functions P and Q for arguments above 0x1p256L.
49257         (__ieee754_y0l): Likewise.
49258         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
49259         (__ieee754_y1l): Likewise.
49260         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
49261         (j1_test): Likewise.
49262         (y0_test): Likewise.
49263         (y1_test): Likewise.
49265 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
49267         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
49268         variable.
49270 2013-03-15  Roland McGrath  <roland@hack.frob.com>
49272         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
49273         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
49274         zero since it's initialized to EXEC_PAGESIZE.
49276         * sysdeps/unix/sysv/linux/ldsodefs.h
49277         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
49278         * sysdeps/generic/ldsodefs.h: ... here.
49280 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
49282         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
49284         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
49285         math/test-snan.c.
49286         * math/test-snan.c: Renamed from
49287         sysdeps/powerpc/fpu/test-powerpc-snan.c.
49288         * math/Makefile (tests): Add test-snan.
49289         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
49290         test-powerpc-snan.
49292         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
49293         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
49294         functions.
49295         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
49296         __builtin_nan family of functions.
49297         * math/libm-test.inc (initialize): Initialize qnan_value with
49298         __builtin_nan family of functions.
49299         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
49300         Remove variables.
49301         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
49302         Remove functions.
49303         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
49304         storage class.  Initialize qNaN_var and sNaN_var with
49305         __builtin_nan and __builtin_nans families of functions,
49306         respectively.
49308         * math/libm-test.inc (acosh_test): Also test with qNaN input.
49309         (sqrt_test): Remove duplicate test with qNaN input.
49310         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
49311         (round_test, signbit_test, significand_test): Note missing +/-Inf
49312         as well as qNaN tests.
49314         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
49315         qNaN_var.  Fix a few strings, too.
49316         * math/libm-test.inc (nan_value): Rename to qnan_value.
49317         * math/gen-libm-test.pl (%beautify): Adjust to that.
49318         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
49319         * math/test-misc.c (main): Likewise.
49320         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
49321         to __qnan_bytes, and __qnan_union, respectively.
49322         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
49323         Likewise.
49324         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
49325         and lqnanval, respectively.
49326         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
49327         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
49328         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
49329         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
49331         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
49332         * math/test-misc.c (main) [__x86_64__]: Enable test for long
49333         doubles.
49335         * math/test-misc.c (main): Fix copy'n'pastos.
49336         * misc/tst-efgcvt.c (special): Likewise.
49338         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
49339         Remove declarations.
49341 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49343         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
49344         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
49345         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
49346         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
49348 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49350         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
49351         macro to return vdso values correctly in IFUNC implementations.
49352         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
49353         Optimization by using IFUNC.
49355 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49356             Richard Henderson  <rth@redhat.com>
49357             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49359         * Makefile.in (bench): New target.
49360         * NEWS: Mention the benchmark framework.
49361         * Rules (bench): Likewise.
49362         (binaries-bench): Generate binaries for functions to
49363         benchmark.
49364         * benchtests/Makefile: New makefile for benchmark tests.
49365         * benchtests/bench-skeleton.c: New skeleton file for benchmark
49366         programs.
49367         * benchtests/exp-inputs: New input file for EXP function.
49368         * benchtests/pow-inputs: New input file for POW function.
49369         * scripts/bench.pl: New script to generate source files for
49370         benchmark programs.
49372 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49374         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
49375         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
49376         computations on mantissa.  Use macros for rounding and
49377         division.
49378         (denorm): Likewise.
49379         (__dbl_mp): Likewise.
49380         (add_magnitudes): Likewise.
49381         (sub_magnitudes): Likewise.
49382         (__mul): Likewise.
49383         (__sqr): Likewise.
49384         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
49385         powers of two in terms of TWOPOW macro.
49386         (mp_no): Make type of mantissa as MANTISSA_T.
49387         [!RADIXI]: Define RADIXI.
49388         [!TWO52]: Define TWO52.
49389         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
49391         * manual/nptl.texi (cindex): Modify threads to pthreads.
49393 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
49395         * sysdeps/x86_64/preconfigure: Regenerated.
49397 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
49399         [BZ #14155]
49400         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
49401         0x1p28 and above.
49402         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
49403         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
49404         0x1p28 and above.
49405         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
49406         * math/libm-test.inc (j0_test): Do not allow one spurious
49407         underflow exception.
49408         (y1_test): Likewise.
49410 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49412         * manual/Makefile (chapters): Add nptl.
49413         * manual/debug.texi (Debugging Support): Add link to Threads
49414         chapter.
49415         * manual/nptl.texi: New file.
49417         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
49419 2013-03-14  Petr Baudis  <pasky@ucw.cz>
49421         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
49422         for non-NULL pointer before the memory validity test. Pointed
49423         out by Holger Brunck <holger.brunck@keymile.com>.
49425 2013-03-13  Andreas Schwab  <schwab@suse.de>
49427         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
49428         instead of .os.
49430 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
49432         * timezone/zic.c: Update from tzcode 2013b.
49434 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
49436         * manual/install.texi (Configuring and compiling):
49437         Mention i686 and i586.
49438         * INSTALL: Regenerate.
49440 2013-03-12  Roland McGrath  <roland@hack.frob.com>
49442         * sysdeps/init_array/elf-init.c: New file.
49443         * csu/elf-init.c
49444         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
49445         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
49447         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
49448         __gmon_start__ as global, but as static with a .preinit_array pointer.
49449         * sysdeps/init_array/gmon-start.c: New file.  Use that.
49450         * sysdeps/init_array/crti.S: New file, empty except for comments.
49451         * sysdeps/init_array/crtn.S: Likewise.
49453 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
49455         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
49456         definining bcopy.
49457         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49458         Remove Prefer_SSE_for_memop.
49459         * sysdeps/x86_64/multiarch/init-arch.h: Remove
49460         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
49461         HAS_PREFER_SSE_FOR_MEMOP.
49462         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
49463         memset-x86-64.
49464         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49465         Remove bzero, memset ifunc support.
49466         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
49467         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
49468         * sysdeps/x86_64/multiarch/memset.S: Likewise.
49469         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
49471 2013-03-11  Andreas Schwab  <schwab@suse.de>
49473         [BZ #15234]
49474         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
49475         by SHLIB_COMPAT.
49476         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
49477         (GLIBC_2.16): Remove pthread_atfork.
49479 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
49481         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
49482         (ptestcases.h): Likewise.
49484 2013-03-08  Roland McGrath  <roland@hack.frob.com>
49486         * Makeconfig ($(common-objpfx)config.status): Depend on
49487         sysdeps/*/preconfigure{,.in} too.
49489 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
49491         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
49492         (__free_hook): Use void * instead of __malloc_ptr_t.
49493         (__malloc_hook): Likewise.
49494         (__realloc_hook): Likewise.
49495         (__memalign_hook): Likewise.
49496         (__after_morecore_hook): Likewise.
49497         * malloc/arena.c (save_malloc_hook): Likewise.
49498         (save_free_hook): Likewise.
49499         * malloc/hooks.c (malloc_hook_ini): Likewise.
49500         (realloc_hook_ini): Likewise.
49501         (memalign_hook_ini): Likewise.
49502         * malloc/malloc.c (malloc_hook_ini): Likewise.
49503         (realloc_hook_ini): Likewise.
49504         (memalign_hook_ini): Likewise.
49505         (__free_hook): Likewise.
49506         (__malloc_hook): Likewise.
49507         (__realloc_hook): Likewise.
49508         (__memalign_hook): Likewise.
49509         (__libc_malloc): Likewise.
49510         (__libc_free): Likewise.
49511         (__libc_realloc): Likewise.
49512         (__libc_memalign): Likewise.
49513         (__libc_valloc): Likewise.
49514         (__libc_pvalloc): Likewise.
49515         (__libc_calloc): Likewise.
49516         (__posix_memalign): Likewise.
49517         * malloc/morecore.c (__sbrk): Likewise.
49518         (__default_morecore): Likewise.
49520         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
49522         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
49523         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
49524         __malloc_ptrdiff_t.
49526         * malloc/malloc.h (__malloc_size_t): Remove macro.
49527         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
49528         __malloc_size_t.
49529         (old_memalign_hook): Likewise.
49530         (old_realloc_hook): Likewise.
49531         (struct hdr): Likewise.
49532         (flood): Likewise.
49533         (mallochook): Likewise.
49534         (memalignhook): Likewise.
49535         (reallochook): Likewise.
49536         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
49537         (tr_old_realloc_hook): Likewise.
49538         (tr_old_memalign_hook): Likewise.
49539         (tr_mallochook): Likewise.
49540         (tr_reallochook): Likewise.
49541         (tr_memalignhook): Likewise.
49543 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49545         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
49546         default_ldbl_pack and using as default implementation.
49547         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
49548         implementation.
49549         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
49550         redundant definition.
49551         (ldbl_insert_mantissa): Likewise.
49552         (ldbl_canonicalize): Likewise.
49553         (ldbl_nearbyint): Likewise.
49554         (ldbl_pack): Rename to ldbl_pack_ppc.
49555         (ldbl_unpack): Rename to ldbl_unpack_ppc.
49556         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
49557         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
49559 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49561         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
49562         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
49563         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
49564         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
49565         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
49566         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
49567         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
49568         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
49570 2013-03-07  Andreas Jaeger  <aj@suse.de>
49572         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49573         bits/mman-linux.h.
49575 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49577         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
49578         Include mpa.h and declare __MPEXP.
49579         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
49580         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
49581         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
49582         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
49583         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
49584         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
49585         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
49587         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
49588         (__slowpow): Use long double EXPL and LOGL functions to
49589         compute POW.
49590         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
49591         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
49592         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
49593         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
49594         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
49595         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
49597         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
49598         intermediate variable to calculate exponent.
49599         (__sqr): Likewise.
49600         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
49601         Likewise.
49602         (__sqr): Likewise.
49604         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
49605         [!NO__SQR]: Define __sqr.
49606         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
49607         and NO__SQR.  Remove all code except __mul and __sqr.  Include
49608         sysdeps/ieee754/dbl-64/mpa.c.
49609         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49611         [BZ #12723]
49612         * posix/Makefile (tests): Add tst-pathconf.
49613         * posix/tst-pathconf.c: New test case.
49614         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
49615         _PC_PIPE_BUF.
49616         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
49618 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
49620         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
49622 2013-03-06  Andreas Jaeger  <aj@suse.de>
49624         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
49625         definition via __MAP_ANONYMOUS.
49627         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
49628         it's not part of Linux headers.
49630         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
49631         (MAP_HUGE_MASK): Define.
49633         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49634         Define.
49635         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49636         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49637         Define.
49638         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49639         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49640         Define.
49641         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49642         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
49643         Define.
49644         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49646         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
49647         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
49648         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
49649         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
49650         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
49651         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
49653         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49654         Handle f2fs.
49656         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49657         Handle f2fs and efivarfs.
49659         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
49660         f2fs.
49662         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
49663         (EFIVARFS_MAGIC): Add.
49664         (F2FS_LINK_MAX): Add.
49666 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
49668         * stdio-common/vfprintf.c: Replace __builtin_expect with
49669         __glibc_unlikely.
49671 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
49673         [BZ #13550]
49674         * sysdeps/generic/bp-sym.h: Remove file.
49675         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
49676         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
49677         <bp-sym.h> and <bp-asm.h>.
49678         (__longjmp): Don't use BP_SYM.
49679         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
49680         and <bp-asm.h>.
49681         (memcpy): Don't use BP_SYM.
49682         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
49683         <bp-sym.h> and <bp-asm.h>.
49684         (memcpy): Don't use BP_SYM.
49685         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
49686         <bp-asm.h>.
49687         (memcpy): Don't use BP_SYM.
49688         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
49689         <bp-asm.h>.
49690         (memset): Don't use BP_SYM.
49691         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49692         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49693         (__bzero): Don't use BP_SYM.
49694         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49695         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49696         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
49697         <bp-sym.h> and <bp-asm.h>.
49698         (memcmp): Don't use BP_SYM.  Remove comment about bounded
49699         pointers.
49700         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
49701         <bp-sym.h> and <bp-asm.h>.
49702         (memcpy): Don't use BP_SYM.
49703         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
49704         <bp-sym.h> and <bp-asm.h>.
49705         (memset): Don't use BP_SYM.
49706         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49707         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49708         (__bzero): Don't use BP_SYM.
49709         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49710         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49711         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
49712         <bp-sym.h> and <bp-asm.h>.
49713         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49714         pointers.
49715         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
49716         <bp-sym.h> and <bp-asm.h>.
49717         (memcpy): Don't use BP_SYM.
49718         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
49719         <bp-sym.h> and <bp-asm.h>.
49720         (memset): Don't use BP_SYM.
49721         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49722         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49723         (__bzero): Don't use BP_SYM.
49724         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49725         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49726         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
49727         <bp-sym.h> and <bp-asm.h>.
49728         (__memchr): Don't use BP_SYM.
49729         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
49730         <bp-sym.h> and <bp-asm.h>.
49731         (memcmp): Don't use BP_SYM.  Remove comment about bounded
49732         pointers.
49733         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
49734         <bp-sym.h> and <bp-asm.h>.
49735         (memcpy): Don't use BP_SYM.
49736         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
49737         <bp-sym.h> and <bp-asm.h>.
49738         (__mempcpy): Don't use BP_SYM.
49739         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
49740         <bp-sym.h> and <bp-asm.h>.
49741         (__memrchr): Don't use BP_SYM.
49742         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
49743         <bp-sym.h> and <bp-asm.h>.
49744         (memset): Don't use BP_SYM.
49745         (__bzero): Likewise.
49746         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
49747         <bp-sym.h> and <bp-asm.h>.
49748         (__rawmemchr): Don't use BP_SYM.
49749         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
49750         <bp-sym.h> and <bp-asm.h>.
49751         (__STRCMP): Don't use BP_SYM.
49752         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
49753         <bp-sym.h> and <bp-asm.h>.
49754         (strchr): Don't use BP_SYM.
49755         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
49756         <bp-sym.h> and <bp-asm.h>.
49757         (__strchrnul): Don't use BP_SYM.
49758         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
49759         <bp-sym.h> and <bp-asm.h>.
49760         (strlen): Don't use BP_SYM.
49761         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
49762         <bp-sym.h> and <bp-asm.h>.
49763         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49764         pointers.
49765         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
49766         <bp-sym.h> and <bp-asm.h>.
49767         (__strnlen): Don't use BP_SYM.
49768         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
49769         <bp-sym.h> and <bp-asm.h>.
49770         (__GI__setjmp): Don't use BP_SYM.
49771         (_setjmp): Likewise.
49772         (__sigsetjmp): Likewise.
49773         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
49774         (L(start_addresses)): Don't use BP_SYM.
49775         (_start): Likewise.
49776         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
49777         <bp-asm.h>.
49778         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
49779         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
49780         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49781         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49782         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
49783         <bp-asm.h>.
49784         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
49785         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
49786         about bounded pointers.
49787         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49788         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49789         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
49790         <bp-asm.h>.
49791         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49792         about bounded pointers.  Remove GKM FIXME comments.
49793         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49794         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
49795         <bp-asm.h>.
49796         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
49797         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
49798         Remove GKM FIXME comments.
49799         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49800         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49801         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
49802         <bp-asm.h>.
49803         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49804         about bounded pointers.  Remove GKM FIXME comment.
49805         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
49806         and <bp-asm.h>.
49807         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49808         pointers.
49809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
49810         <bp-sym.h> and <bp-asm.h>.
49811         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
49812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
49813         <bp-sym.h> and <bp-asm.h>.
49814         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
49815         comment.
49817 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49819         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
49820         call free(NULL).
49822 2013-03-05  David S. Miller  <davem@davemloft.net>
49824         * po/es.po: Update from translation team.
49826 2013-03-05  Andreas Jaeger  <aj@suse.de>
49828         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
49829         <bits/mman-linux.h>.
49830         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49831         is fine.
49832         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
49833         <bits/mman-linux.h> to end of file.
49834         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49835         is fine.
49836         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
49837         <bits/mman-linux.h> to end of file.
49838         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49839         is fine.
49840         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
49841         <bits/mman-linux.h> to end of file.
49843         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
49844         (MCL_CURRENT, MCL_FUTURE): Define here.
49846 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49848         [BZ #15232]
49849         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
49850         attribute_hidden.
49851         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
49853 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49855         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
49856         fourth parameter needed for rt_sigprocmask syscall.
49857         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
49858         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49859         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
49860         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49861         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49862         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
49864 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
49866         [BZ #13550]
49867         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
49868         comment about bounded pointers.
49869         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
49870         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
49872 2013-03-04  Andreas Jaeger  <aj@suse.de>
49874         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
49875         common definitions.
49877         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
49878         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
49879         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
49880         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49881         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49882         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49884 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49886         [BZ #15055]
49887         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
49888         __ieee754_sqrl instead of __sqrl.
49890 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
49892         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
49893         * sysdeps/powerpc/fpu_control.h: ... here.
49894         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
49895         * sysdeps/powerpc/bits/fenvinline.h: ... here.
49896         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
49897         * sysdeps/powerpc/bits/mathinline.h: ... here.
49899 2013-03-01  Roland McGrath  <roland@hack.frob.com>
49901         * elf/dl-hwcaps.c (_dl_important_hwcaps):
49902         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
49903         to just [NEED_DL_SYSINFO_DSO].
49904         * elf/dl-support.c: Likewise.
49905         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
49906         * elf/rtld.c (dl_main): Likewise.
49907         * elf/setup-vdso.h (setup_vdso): Likewise.
49908         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
49909         * sysdeps/unix/sysv/linux/dl-sysdep.c
49910         (_dl_discover_osversion): Likewise.
49912 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
49914         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
49915         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
49917 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
49919         * NEWS: Mention libm performance improvements and non-x86 PI
49920         futex support.
49922         * csu/libc-start.c (__pthread_initialize_minimal): Change
49923         function arguments.
49924         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
49926 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
49928         [BZ #13550]
49929         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
49930         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
49931         <bp-sym.h> and <bp-asm.h>.
49932         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49933         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
49934         and <bp-asm.h>.
49935         (memcpy): Don't use BP_SYM.
49936         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
49937         <bp-asm.h>.
49938         (__mpn_add_n): Don't use BP_SYM.
49939         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
49940         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
49941         and <bp-asm.h>.
49942         (__mpn_addmul_1): Don't use BP_SYM.
49943         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49944         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
49945         <bp-sym.h>.
49946         (_setjmp): Don't use BP_SYM.
49947         (__novmx_setjmp): Likewise.
49948         (__GI__setjmp): Likewise.
49949         (__vmx_setjmp): Likewise.
49950         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
49951         <bp-sym.h>.
49952         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
49953         (__bzero): Don't use BP_SYM.
49954         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49955         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49956         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
49957         <bp-sym.h> and <bp-asm.h>.
49958         (memcpy): Don't use BP_SYM.
49959         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
49960         <bp-sym.h> and <bp-asm.h>.
49961         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49962         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
49963         <bp-sym.h> and <bp-asm.h>.
49964         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49965         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
49966         <bp-asm.h>.
49967         (__mpn_lshift): Don't use BP_SYM.
49968         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49969         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
49970         <bp-asm.h>.
49971         (memset): Don't use BP_SYM.
49972         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49973         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49974         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
49975         <bp-asm.h>.
49976         (__mpn_mul_1): Don't use BP_SYM.
49977         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49978         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
49979         <bp-sym.h> and <bp-asm.h>.
49980         (memcmp): Don't use BP_SYM.
49981         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
49982         <bp-sym.h> and <bp-asm.h>.
49983         (memcpy): Don't use BP_SYM.
49984         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
49985         <bp-sym.h> and <bp-asm.h>.
49986         (memset): Don't use BP_SYM.
49987         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
49988         <bp-sym.h> and <bp-asm.h>.
49989         (strncmp): Don't use BP_SYM.
49990         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
49991         <bp-sym.h> and <bp-asm.h>.
49992         (memcpy): Don't use BP_SYM.
49993         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
49994         <bp-sym.h> and <bp-asm.h>.
49995         (memset): Don't use BP_SYM.
49996         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
49997         <bp-sym.h> and <bp-asm.h>.
49998         (__memchr): Don't use BP_SYM.
49999         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
50000         <bp-sym.h> and <bp-asm.h>.
50001         (memcmp): Don't use BP_SYM.
50002         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
50003         <bp-sym.h> and <bp-asm.h>.
50004         (memcpy): Don't use BP_SYM.
50005         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
50006         <bp-sym.h> and <bp-asm.h>.
50007         (__mempcpy): Don't use BP_SYM.
50008         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
50009         <bp-sym.h> and <bp-asm.h>.
50010         (__memrchr): Don't use BP_SYM.
50011         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
50012         <bp-sym.h> and <bp-asm.h>.
50013         (memset): Don't use BP_SYM.
50014         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
50015         <bp-sym.h> and <bp-asm.h>.
50016         (__rawmemchr): Don't use BP_SYM.
50017         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
50018         <bp-sym.h> and <bp-asm.h>.
50019         (__STRCMP): Don't use BP_SYM.
50020         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
50021         <bp-sym.h> and <bp-asm.h>.
50022         (strchr): Don't use BP_SYM.
50023         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
50024         <bp-sym.h> and <bp-asm.h>.
50025         (__strchrnul): Don't use BP_SYM.
50026         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
50027         <bp-sym.h> and <bp-asm.h>.
50028         (strlen): Don't use BP_SYM.
50029         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
50030         <bp-sym.h> and <bp-asm.h>.
50031         (strncmp): Don't use BP_SYM.
50032         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
50033         <bp-sym.h> and <bp-asm.h>.
50034         (__strnlen): Don't use BP_SYM.
50035         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
50036         <bp-asm.h>.
50037         (__mpn_rshift): Don't use BP_SYM.
50038         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50039         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
50040         <bp-sym.h> and <bp-asm.h>.
50041         (__sigsetjmp): Don't use BP_SYM.
50042         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
50043         (L(start_addresses)): Don't use BP_SYM.
50044         (_start): Likewise.
50045         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
50046         <bp-asm.h>.
50047         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
50048         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50049         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50050         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
50051         <bp-asm.h>.
50052         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
50053         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50054         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50055         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
50056         <bp-asm.h>.
50057         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
50058         comments.
50059         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50060         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
50061         <bp-asm.h>.
50062         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
50063         FIXME comments.
50064         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50065         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50066         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
50067         <bp-asm.h>.
50068         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
50069         comment.
50070         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
50071         and <bp-asm.h>.
50072         (strncmp): Don't use BP_SYM,
50073         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
50074         <bp-asm.h>.
50075         (__mpn_sub_n): Don't use BP_SYM.
50076         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50077         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
50078         and <bp-asm.h>.
50079         (__mpn_submul_1): Don't use BP_SYM.
50080         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
50082         <bp-sym.h> and <bp-asm.h>.
50083         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
50084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
50085         <bp-sym.h> and <bp-asm.h>.
50086         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
50087         comment.
50089 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50091         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
50092         Use ZK to minimize writes to Z.
50093         (sub_magnitudes): Simplify code a bit.
50094         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
50095         Use ZK to minimize writes to Z.
50096         (sub_magnitudes): Simplify code a bit.
50098 2013-02-27  Roland McGrath  <roland@hack.frob.com>
50100         * csu/gmon-start.c: Add special exception to license text.
50102 2013-02-27  Richard Henderson  <rth@redhat.com>
50104         * scripts/config.guess: Update from config.git.
50105         * scripts/config.sub: Likewise.
50107 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50109         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
50111         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
50113         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
50115         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
50117         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
50119 2013-02-26  Roland McGrath  <roland@hack.frob.com>
50121         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
50122         [$(build-shared = yes].
50124 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50126         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
50127         (__mul): Reduce iterations for calculating mantissa.
50129         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
50130         MPTWO.
50131         (__mpranred): Likewise.
50133         [BZ #15160]
50134         * malloc/memusagestat.c (main): Draw graphs for heap and stack
50135         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
50137 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
50139         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
50140         Define __attribute__.
50142 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50144         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
50145         unused.
50146         * posix/regex_internal.h (__attribute): Remove.
50147         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
50148         (re_string_context_at): Likewise.
50149         (bitset_not): Use __attribute__ and mark function as possibly
50150         unused.
50151         (bitset_merge): Likewise.
50152         (bitset_mask): Likewise.
50153         (re_string_char_size_at): Likewise.
50154         (re_string_wchar_at): Likewise.
50155         (re_string_elem_size_at): Likewise.
50157 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50159         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
50160         code.
50161         (cc32): Likewise.
50163         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
50164         (__acr): Likewise.
50165         (__cpy): Likewise.
50166         (norm): Likewise.
50167         (denorm): Likewise.
50168         (__dbl_mp): Likewise.
50169         (add_magnitudes): Likewise.
50170         (sub_magnitudes): Likewise.
50171         (__mul): Likewise.
50172         (__inv): Likewise.
50174         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
50175         style.
50177         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
50178         style.
50180         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
50181         code.
50183         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
50184         up changes with default code.
50185         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
50186         Likewise.
50188 2013-02-24  Allan McRae  <allan@archlinux.org>
50190         * manual/socket.texi (The Internet Namespace): Order menu items
50191         to match that in the file.
50193         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
50194         node listing of the info page menu.
50196 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
50198         [BZ #13550]
50199         * sysdeps/i386/bp-asm.h: Remove file.
50200         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
50201         (PARMS): Do not use macros from bp-asm.h.
50202         (S1): Likewise.
50203         (S2): Likewise.
50204         (SIZE): Likewise.
50205         (__mpn_add_n): Do not use BP_SYM
50206         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
50207         "bp-asm.h".
50208         (PARMS): Do not use macros from bp-asm.h.
50209         (S1): Likewise.
50210         (SIZE): Likewise.
50211         (__mpn_addmul_1): Do not use BP_SYM
50212         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
50213         "bp-asm.h".
50214         (PARMS): Do not use macros from bp-asm.h.
50215         (SIGMSK): Likewise.
50216         (_setjmp): Likewise.  Do not use BP_SYM.
50217         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
50218         "bp-asm.h".
50219         (PARMS): Do not use macros from bp-asm.h.
50220         (SIGMSK): Likewise.
50221         (setjmp): Likewise.  Do not use BP_SYM.
50222         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
50223         "bp-asm.h".
50224         (PARMS): Do not use macros from bp-asm.h.
50225         (__frexp): Do not use BP_SYM.
50226         (frexp): Likewise.
50227         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
50228         "bp-asm.h".
50229         (PARMS): Do not use macros from bp-asm.h.
50230         (__frexpf): Do not use BP_SYM.
50231         (frexpf): Likewise.
50232         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
50233         "bp-asm.h".
50234         (PARMS): Do not use macros from bp-asm.h.
50235         (__frexpl): Do not use BP_SYM.
50236         (frexpl): Likewise.
50237         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
50238         "bp-asm.h".
50239         (PARMS): Do not use macros from bp-asm.h.
50240         (__remquo): Do not use BP_SYM.
50241         (remquo): Likewise.
50242         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
50243         "bp-asm.h".
50244         (PARMS): Do not use macros from bp-asm.h.
50245         (__remquof): Do not use BP_SYM.
50246         (remquof): Likewise.
50247         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
50248         "bp-asm.h".
50249         (PARMS): Do not use macros from bp-asm.h.
50250         (__remquol): Do not use BP_SYM.
50251         (remquol): Likewise.
50252         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
50253         "bp-asm.h".
50254         (PARMS): Do not use macros from bp-asm.h.
50255         (DEST): Likewise.
50256         (SRC): Likewise.
50257         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
50258         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
50259         "bp-asm.h".
50260         (PARMS): Do not use macros from bp-asm.h.
50261         (strlen): Do not use BP_SYM.
50262         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
50263         "bp-asm.h".
50264         (PARMS): Do not use macros from bp-asm.h.
50265         (S1): Likewise.
50266         (S2): Likewise.
50267         (SIZE): Likewise.
50268         (__mpn_add_n): Do not use BP_SYM.
50269         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
50270         "bp-asm.h".
50271         (PARMS): Do not use macros from bp-asm.h.
50272         (S1): Likewise.
50273         (SIZE): Likewise.
50274         (__mpn_addmul_1): Do not use BP_SYM.
50275         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
50276         weak_alias.
50277         (bzero): Likewise.
50278         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
50279         "bp-asm.h".
50280         (PARMS): Do not use macros from bp-asm.h.
50281         (S): Likewise.
50282         (SIZE): Likewise.
50283         (__mpn_lshift): Do not use BP_SYM.
50284         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
50285         "bp-asm.h".
50286         (PARMS): Do not use macros from bp-asm.h.
50287         (DEST): Likewise.
50288         (SRC): Likewise.
50289         (LEN): Likewise.
50290         (memcpy): Likewise.  Do not use BP_SYM.
50291         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
50292         libc_hidden_def and weak_alias.
50293         (mempcpy): Do not use BP_SYM in weak_alias.
50294         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
50295         "bp-asm.h".
50296         (PARMS): Do not use macros from bp-asm.h.
50297         (DEST): Likewise.
50298         (LEN): Likewise.
50299         [!BZERO_P] (CHR): Likewise.
50300         (memset): Likewise.  Do not use BP_SYM.
50301         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
50302         "bp-asm.h".
50303         (PARMS): Do not use macros from bp-asm.h.
50304         (S1): Likewise.
50305         (SIZE): Likewise.
50306         (__mpn_mul_1): Do not use BP_SYM.
50307         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
50308         "bp-asm.h".
50309         (PARMS): Do not use macros from bp-asm.h.
50310         (S): Likewise.
50311         (SIZE): Likewise.
50312         (__mpn_rshift): Do not use BP_SYM.
50313         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
50314         "bp-asm.h".
50315         (PARMS): Do not use macros from bp-asm.h.
50316         (STR): Likewise.
50317         (CHR): Likewise.
50318         (strchr): Likewise.  Do not use BP_SYM.
50319         (index): Do not use BP_SYM in weak_alias.
50320         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
50321         "bp-asm.h".
50322         (PARMS): Do not use macros from bp-asm.h.
50323         (DEST): Likewise.
50324         (SRC): Likewise.
50325         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
50326         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
50327         "bp-asm.h".
50328         (PARMS): Do not use macros from bp-asm.h.
50329         (strlen): Do not use BP_SYM.
50330         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
50331         "bp-asm.h".
50332         (PARMS): Do not use macros from bp-asm.h.
50333         (S1): Likewise.
50334         (S2): Likewise.
50335         (SIZE): Likewise.
50336         (__mpn_sub_n): Do not use BP_SYM.
50337         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
50338         "bp-asm.h".
50339         (PARMS): Do not use macros from bp-asm.h.
50340         (S1): Likewise.
50341         (SIZE): Likewise.
50342         (__mpn_submul_1): Do not use BP_SYM.
50343         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
50344         "bp-asm.h".
50345         (PARMS): Do not use macros from bp-asm.h.
50346         (S1): Likewise.
50347         (S2): Likewise.
50348         (SIZE): Likewise.
50349         (__mpn_add_n): Do not use BP_SYM.
50350         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
50351         weak_alias.
50352         (bzero): Likewise.
50353         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
50354         "bp-asm.h".
50355         (PARMS): Do not use macros from bp-asm.h.
50356         (BLK2): Likewise.
50357         (LEN): Likewise.
50358         (memcmp): Do not use BP_SYM.
50359         (bcmp): Do not use BP_SYM in weak_alias.
50360         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
50361         "bp-asm.h".
50362         (PARMS): Do not use macros from bp-asm.h.
50363         (DEST): Likewise.
50364         (SRC): Likewise.
50365         (LEN): Likewise.
50366         (memcpy): Likewise.  Do not use BP_SYM.
50367         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
50368         "bp-asm.h".
50369         (PARMS): Do not use macros from bp-asm.h.
50370         (DEST): Likewise.
50371         (SRC): Likewise.
50372         (LEN): Likewise.
50373         (memmove): Likewise.  Do not use BP_SYM.
50374         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
50375         "bp-asm.h".
50376         (PARMS): Do not use macros from bp-asm.h.
50377         (DEST): Likewise.
50378         (SRC): Likewise.
50379         (LEN): Likewise.
50380         (__mempcpy): Likewise.  Do not use BP_SYM.
50381         (mempcpy): Do not use BP_SYM in weak_alias.
50382         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
50383         "bp-asm.h".
50384         (PARMS): Do not use macros from bp-asm.h.
50385         (DEST): Likewise.
50386         (LEN): Likewise.
50387         [!BZERO_P] (CHR): Likewise.
50388         (memset): Likewise.  Do not use BP_SYM.
50389         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
50390         "bp-asm.h".
50391         (PARMS): Do not use macros from bp-asm.h.
50392         (STR2): Likewise.
50393         (strcmp): Do not use BP_SYM.
50394         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
50395         "bp-asm.h".
50396         (PARMS): Do not use macros from bp-asm.h.
50397         (STR): Likewise.
50398         (DELIM): Likewise.
50399         [USE_AS_STRTOK_R] (SAVE): Likewise.
50400         (FUNCTION): Likewise.  Do not use BP_SYM.
50401         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
50402         aliases.
50403         (strtok_r): Likewise.
50404         (__GI___strtok_r): Likewise.
50405         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
50406         (PARMS): Do not use macros from bp-asm.h.
50407         (S): Likewise.
50408         (SIZE): Likewise.
50409         (__mpn_lshift): Do not use BP_SYM.
50410         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
50411         (PARMS): Do not use macros from bp-asm.h.
50412         (STR): Likewise.
50413         (CHR): Likewise.
50414         (__memchr): Do not use BP_SYM.
50415         (memchr): Do not use BP_SYM in weak_alias.
50416         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
50417         (PARMS): Do not use macros from bp-asm.h.
50418         (BLK2): Likewise.
50419         (LEN): Likewise.
50420         (memcmp): Do not use BP_SYM.
50421         (bcmp): Do not use BP_SYM in weak_alias.
50422         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
50423         (PARMS): Do not use macros from bp-asm.h.
50424         (S1): Likewise.
50425         (SIZE): Likewise.
50426         (__mpn_mul_1): Do not use BP_SYM.
50427         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
50428         "bp-asm.h".
50429         (PARMS): Do not use macros from bp-asm.h.
50430         (STR): Likewise.
50431         (CHR): Likewise.
50432         (__rawmemchr): Do not use BP_SYM.
50433         (rawmemchr): Do not use BP_SYM in weak_alias.
50434         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
50435         (PARMS): Do not use macros from bp-asm.h.
50436         (S): Likewise.
50437         (SIZE): Likewise.
50438         (__mpn_rshift): Do not use BP_SYM.
50439         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
50440         (PARMS): Do not use macros from bp-asm.h.
50441         (SIGMSK): Likewise.
50442         (__sigsetjmp): Likewise.  Do not use BP_SYM.
50443         * sysdeps/i386/start.S: Do not include "bp-sym.h".
50444         (_start): Do not use BP_SYM.
50445         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
50446         (PARMS): Do not use macros from bp-asm.h.
50447         (DEST): Likewise.
50448         (SRC): Likewise.
50449         (__stpcpy): Likewise.  Do not use BP_SYM.
50450         (stpcpy): Do not use BP_SYM in weak_alias.
50451         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
50452         "bp-asm.h".
50453         (PARMS): Do not use macros from bp-asm.h.
50454         (DEST): Likewise.
50455         (SRC): Likewise.
50456         (LEN): Likewise.
50457         (__stpncpy): Likewise.  Do not use BP_SYM.
50458         (stpncpy): Do not use BP_SYM in weak_alias.
50459         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
50460         (PARMS): Do not use macros from bp-asm.h.
50461         (STR): Likewise.
50462         (CHR): Likewise.
50463         (strchr): Likewise.  Do not use BP_SYM.
50464         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
50465         "bp-asm.h".
50466         (PARMS): Do not use macros from bp-asm.h.
50467         (STR): Likewise.
50468         (CHR): Likewise.
50469         (__strchrnul): Likewise.  Do not use BP_SYM.
50470         (strchrnul): Do not use BP_SYM in weak_alias.
50471         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
50472         "bp-asm.h".
50473         (PARMS): Do not use macros from bp-asm.h.
50474         (STOP): Likewise.
50475         (strcspn): Do not use BP_SYM.
50476         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
50477         "bp-asm.h".
50478         (PARMS): Do not use macros from bp-asm.h.
50479         (STR): Likewise.
50480         (STOP): Likewise.
50481         (strpbrk): Likewise.  Do not use BP_SYM.
50482         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
50483         "bp-asm.h".
50484         (PARMS): Do not use macros from bp-asm.h.
50485         (STR): Likewise.
50486         (CHR): Likewise.
50487         (strrchr): Likewise.  Do not use BP_SYM.
50488         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
50489         (PARMS): Do not use macros from bp-asm.h.
50490         (SKIP): Likewise.
50491         (strspn): Do not use BP_SYM.
50492         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
50493         (PARMS): Do not use macros from bp-asm.h.
50494         (STR): Likewise.
50495         (DELIM): Likewise.
50496         (SAVE): Likewise.
50497         (FUNCTION): Likewise.  Do not use BP_SYM.
50498         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
50499         aliases.
50500         (strtok_r): Likewise.
50501         (__GI___strtok_r): Likewise.
50502         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
50503         (PARMS): Do not use macros from bp-asm.h.
50504         (S1): Likewise.
50505         (S2): Likewise.
50506         (SIZE): Likewise.
50507         (__mpn_sub_n): Do not use BP_SYM.
50508         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
50509         "bp-asm.h".
50510         (PARMS): Do not use macros from bp-asm.h.
50511         (S1): Likewise.
50512         (SIZE): Likewise.
50513         (__mpn_submul_1): Do not use BP_SYM.
50514         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
50515         <bp-sym.h>.
50516         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
50517         and <bp-asm.h>.
50518         (PARMS): Do not use macros from bp-asm.h.
50519         (FLAGS): Likewise.
50520         (PTID): Likewise.
50521         (TLS): Likewise.
50522         (CTID): Likewise.
50523         (__clone): Do not use BP_SYM.
50524         (clone): Do not use BP_SYM in weak_alias.
50525         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
50526         and <bp-asm.h>.
50527         (PARMS): Do not use macros from bp-asm.h.
50528         (LEN): Likewise.
50529         (__mmap64): Do not use BP_SYM.
50530         (mmap64): Do not use BP_SYM in weak_alias.
50531         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
50532         <bp-sym.h> and <bp-asm.h>.
50533         (PARMS): Do not use macros from bp-asm.h.
50534         (__posix_fadvise64_l64): Do not use BP_SYM.
50535         * sysdeps/unix/sysv/linux/i386/semtimedop.S
50536         (PARMS): Do not use macros from bp-asm.h.
50537         (NSOPS): Likewise.
50538         (semtimedop): Do not use BP_SYM.
50539         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
50540         and <bp-asm.h>.
50542 2013-02-21  Allan McRae  <allan@archlinux.org>
50544         * manual/message.texi (Charset conversion in gettext):
50545         Move @end statement to beginning of line.
50547 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50549         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
50550         static.
50551         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
50552         Likewise.
50554         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
50555         (denorm): Likewise.
50556         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
50557         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
50559 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50561         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
50562         tail-call to the resolved function if pltexit isn't needed.
50564 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50566         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
50567         or Y being zero as being unlikely.
50568         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
50569         Likewise.
50571 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
50573         * manual/nss.texi (System Databases and Name Service Switch):
50574         Remove frobnicate @pxref.
50576 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
50578         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
50579         __attribute__ ((unused)) to __attribute__ ((__unused__)).
50581 2013-02-20  Petr Machata  <pmachata@redhat.com>
50583         * elf/elf.h (R_ARM_TARGET1): New macro.
50584         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
50585         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
50586         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
50587         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
50588         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
50589         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
50590         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
50591         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
50592         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
50593         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
50594         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
50595         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
50596         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
50597         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
50598         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
50599         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
50600         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
50601         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
50602         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
50603         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
50604         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
50605         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
50606         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
50607         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
50608         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
50609         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
50610         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
50611         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
50612         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
50613         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
50614         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
50615         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
50616         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
50617         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
50618         (R_ARM_THM_GOT_BREL12): Likewise.
50619         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
50620         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
50621         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
50622         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
50623         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
50624         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
50625         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
50626         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
50627         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
50629 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
50631         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
50632         __attribute_used__ to __attribute__ ((unused)).
50634 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50636         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
50637         powerpc mpa.c.
50638         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
50639         comment formatting.
50640         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
50642 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
50644         [BZ #13550]
50645         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
50646         Remove macro.
50647         (ENTER): Remove both macro definitions.
50648         (LEAVE): Likewise.
50649         (CHECK_BOUNDS_LOW): Likewise.
50650         (CHECK_BOUNDS_HIGH): Likewise.
50651         (CHECK_BOUNDS_BOTH): Likewise.
50652         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
50653         (RETURN_BOUNDED_POINTER): Likewise.
50654         (RETURN_NULL_BOUNDED_POINTER): Likewise.
50655         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
50656         (POP_ERRNO_LOCATION_RETURN): Likewise.
50657         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
50658         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50659         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
50660         macros.
50661         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50662         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
50663         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
50664         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
50665         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
50666         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
50667         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
50668         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
50669         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
50670         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
50671         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
50672         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
50673         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50674         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
50675         removed macros.
50676         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50677         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
50678         macros.
50679         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50680         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
50681         * sysdeps/i386/i586/memset.S (memset): Likewise.
50682         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
50683         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50684         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
50685         macros.
50686         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50687         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
50688         Change uses of L(2) to L(out).
50689         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
50690         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
50691         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
50692         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50693         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
50694         removed macros.
50695         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50696         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
50697         macros.
50698         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50699         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
50700         (RETURN): Do not use macro LEAVE.
50701         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
50702         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
50703         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
50704         * sysdeps/i386/i686/memset.S (memset): Likewise.
50705         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
50706         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
50707         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50708         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
50709         Likewise.
50710         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50711         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
50712         L(1_2) and L(1_3) into L(1).
50713         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
50714         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
50715         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50716         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
50717         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50718         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
50719         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
50720         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50721         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
50722         macros.
50723         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
50724         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50725         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
50726         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
50727         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
50728         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50729         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
50730         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
50731         * sysdeps/i386/strcspn.S (strcspn): Likewise.
50732         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
50733         * sysdeps/i386/strrchr.S (strrchr): Likewise.
50734         * sysdeps/i386/strspn.S (strspn): Likewise.
50735         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
50736         conditional code.
50737         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50738         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
50739         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
50740         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
50741         L(1_3) into L(1_1).
50742         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
50743         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50744         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
50745         macros.
50746         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50748 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
50750         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
50751         macro.
50753 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50755         * math/atest-exp.c (exp_mpn): Remove ROUND.
50756         * math/atest-exp2.c (exp_mpn): Likewise.
50757         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
50759         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
50760         * stdlib/tst-tls-atexit-lib.c: Likewise.
50761         * stdlib/tst-tls-atexit.c: Likewise.
50763 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50765         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
50766         and __attribute_alloc_size__.
50768 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50770         * include/programs/xmalloc.h: Change __attribute_alloc_size to
50771         __attribute_alloc_size__.
50772         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
50773         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
50775 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50777         * include/programs/xmalloc.h: New file.
50778         * catgets/gencat.c: Include it.
50779         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
50780         * elf/pldd.c: Likewise.
50781         * iconv/iconv_charmap.c: Likewise.
50782         * iconv/iconvconfig.c: Likewise.
50783         * iconv/strtab.c: Likewise.
50784         * locale/programs/locale.c: Likewise.
50785         * locale/programs/localedef.h: Likewise.
50786         * locale/programs/simple-hash.c: Likewise.
50787         * nscd/nscd.h: Likewise.
50788         * nss/makedb.c: Likewise.
50789         * sysdeps/generic/ldconfig.h: Likewise.
50791 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50793         * Versions.def: Add GLIBC_2.18.
50794         * include/link.h (struct link_map): New member l_tls_dtor_count.
50795         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
50796         (__call_tls_dtors): Likewise.
50797         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
50798         __cxa_thread_atexit_impl.
50799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50800         Likewise.
50801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50802         Likewise.
50803         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50804         Likewise.
50805         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50806         Likewise.
50807         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
50808         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
50809         Likewise.
50810         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
50811         Likewise.
50812         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
50813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50814         Likewise.
50815         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
50816         (tests): Add test case tst-tls-atexit.
50817         (modules-names): Add shared library for tst-tls-atexit.
50818         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
50819         (GLIBC_PRIVATE): Add __call_tls_dtors.
50820         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
50821         for libstdc++.
50822         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
50823         * stdlib/tst-tls-atexit.c: New test case.
50824         * stdlib/tst-tls-atexit-lib.c: New test case.
50826         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
50828         * elf/Versions (ld): Add _dl_find_dso_for_object.
50829         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
50830         * elf/dl-open.c (_dl_find_dso_for_object): New function.
50831         (dl_open_worker): Use _dl_find_dso_for_object.
50832         * elf/dl-sym.c (do_sym): Likewise.
50833         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
50835 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50837         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
50838         Syntactic changes only.
50839         (_dl_runtime_profile): Do a tail-call to the resolved function.
50841 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
50843         [BZ #13550]
50844         * sysdeps/x86_64/bp-asm.h: Remove file.
50845         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
50846         <bp-sym.h> and <bp-asm.h>.
50847         (__clone): Do not use BP_SYM.
50848         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
50849         <bp-sym.h> and <bp-asm.h>.
50850         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50851         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
50852         "bp-asm.h".
50853         (_setjmp): Do not use BP_SYM.
50854         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
50855         "bp-asm.h".
50856         (setjmp): Do not use BP_SYM.
50857         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
50858         libc_hidden_def.
50859         (mempcpy): Do not use BP_SYM in weak_alias.
50860         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
50861         "bp-asm.h".
50862         (strchr): Do not use BP_SYM.
50863         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
50864         "bp-asm.h".
50865         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
50866         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
50867         (_start): Do not use BP_SYM.
50868         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
50869         "bp-asm.h".
50870         (strcat): Do not use BP_SYM.
50871         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
50872         "bp-asm.h".
50873         (STRCMP): Do not use BP_SYM.
50874         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
50875         "bp-asm.h".
50876         (STRCPY): Do not use BP_SYM.
50877         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
50878         "bp-asm.h".
50879         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
50880         "bp-asm.h".
50881         (FUNCTION): Do not use BP_SYM.
50882         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
50883         weak_alias.
50884         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
50886 2013-02-17  Andreas Jaeger  <aj@suse.de>
50888         * time/Versions: Sort entries.
50889         * string/Versions: Likewise.
50890         * resolv/Versions: Likewise.
50891         * posix/Versions: Likewise.
50892         * iconv/Versions: Likewise.
50893         * elf/Versions: Likewise.
50894         * wcsmbs/Versions: Likewise.
50896 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50898         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
50899         loop termination condition.
50901         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
50902         variable to calculate EZ.
50903         (__sqr): Likewise.
50905         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
50906         the lower precision input.
50908 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
50910         [BZ #13550]
50911         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
50912         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
50913         (run-via-rtld-prefix): Do not handle %-bp tests.
50914         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
50915         (all-object-suffixes): Remove .ob.
50916         (bppfx): Remove variable.
50917         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
50918         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
50919         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
50920         [$(build-bounded) = yes] (libtype.ob): Likewise.
50921         * Makerules (elide-routines.ob): Remove variable.
50922         (do-tests-clean): Do not handle *-bp.out.
50923         (common-mostlyclean): Do not handle *-bp and *-bp.out.
50924         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
50925         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
50926         (tests): Do not include $(tests-bp.out).
50927         (xtests): Do not include $(xtests-bp.out).
50928         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
50929         [$(build-bounded) = yes] ($(addprefix
50930         $(objpfx),$(binaries-bounded))): Remove rule.
50931         ($(objpfx)%-bp.out): Remove rule.
50932         * config.make.in (build-bounded): Remove variable.
50933         * crypt/Makefile [$(build-bounded) = yes]
50934         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
50935         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
50936         append to variable.
50937         [$(build-bounded) = yes] (install-lib): Likewise.
50938         [$(build-bounded) = yes] (generated): Likewise.
50939         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
50940         Remove rule.
50941         * intl/Makefile [$(build-bounded) = yes]
50942         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
50943         * math/Makefile [$(build-bounded) = yes]
50944         ($(tests:%=$(objpfx)%-bp): Likewise.
50945         * misc/Makefile [$(build-bounded) = yes]
50946         ($(objpfx)tst-tsearch-bp): Likewise.
50947         * nptl/Makeconfig (bounded-thread-library): Remove variable.
50948         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
50949         Remove dependency.
50950         * string/Makefile (o-objects.ob): Remove variable.
50951         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
50952         (CFLAGS-.ob): Remove variable.
50953         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
50954         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
50955         both definitions of variable.
50956         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
50957         (ASFLAGS-.ob): Remove variable.
50959 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
50961         [BZ #13550]
50962         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
50963         Remove __BOUNDED_POINTERS__ from condition.
50964         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
50965         * string/bits/string2.h [!__NO_STRING_INLINES &&
50966         !__BOUNDED_POINTERS__]: Likewise.
50967         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
50968         Likewise.
50969         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
50970         Remove conditional code.
50971         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
50972         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
50973         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
50974         condition.
50976         [BZ #13550]
50977         * csu/libc-start.c: Do not include <bp-sym.h>.
50978         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
50979         * elf/dl-open.c: Do not include <bp-sym.h>.
50980         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
50981         * math/fegetenv.c: Do not include <bp-sym.h>.
50982         (fegetenv): Do not use BP_SYM in versioned symbols.
50983         * nptl/sysdeps/pthread/bits/libc-lockP.h
50984         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
50985         <bp-sym.h>.
50986         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50987         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
50988         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50989         (__pthread_mutex_destroy): Likewise.
50990         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50991         (__pthread_mutex_lock): Likewise.
50992         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50993         (__pthread_mutex_trylock): Likewise.
50994         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50995         (__pthread_mutex_unlock): Likewise.
50996         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50997         (__pthread_mutexattr_init): Likewise.
50998         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50999         (__pthread_mutexattr_destroy): Likewise.
51000         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51001         (__pthread_mutexattr_settype): Likewise.
51002         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51003         (__pthread_rwlock_init): Likewise.
51004         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51005         (__pthread_rwlock_destroy): Likewise.
51006         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51007         (__pthread_rwlock_rdlock): Likewise.
51008         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51009         (__pthread_rwlock_tryrdlock): Likewise.
51010         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51011         (__pthread_rwlock_wrlock): Likewise.
51012         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51013         (__pthread_rwlock_trywrlock): Likewise.
51014         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51015         (__pthread_rwlock_unlock): Likewise.
51016         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51017         (__pthread_key_create): Likewise.
51018         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51019         (__pthread_setspecific): Likewise.
51020         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51021         (__pthread_getspecific): Likewise.
51022         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
51023         Likewise.
51024         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51025         (_pthread_cleanup_push_defer): Likewise.
51026         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51027         (_pthread_cleanup_pop_restore): Likewise.
51028         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51029         (pthread_setcancelstate): Likewise.
51030         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
51031         <bp-sym.h>.
51032         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
51033         (memchr): Do not use BP_SYM in weak_alias.
51034         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
51035         (fegetenv): Do not use BP_SYM in versioned symbols.
51036         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
51037         (fesetenv): Do not use BP_SYM in versioned symbols.
51038         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
51039         (feupdateenv): Do not use BP_SYM in versioned symbols.
51040         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
51041         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
51042         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
51043         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
51044         (open64): Do not use BP_SYM in weak_alias.
51045         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
51046         (fegetenv): Do not use BP_SYM in versioned symbols.
51047         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
51048         (fesetenv): Do not use BP_SYM in versioned symbols.
51049         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
51050         (feupdateenv): Do not use BP_SYM in versioned symbols.
51051         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
51052         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
51053         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
51054         (feraiseexcept): Do not use BP_SYM in versioned symbols.
51055         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
51056         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
51057         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
51058         <bp-sym.h>.
51059         (__libc_start_main): Do not use BP_SYM.
51061 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51063         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
51064         redundant return line.
51065         (norm): Likewise.
51066         (denorm): Likewise.
51067         (dbl_mp): Likewise.
51068         (sub_magnitudes): Likewise.
51069         (__add): Likewise.
51070         (__sub): Likewise.
51071         (__mul): Likewise.
51072         (__inv): Likewise.
51073         (__dvd): Likewise.
51074         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
51075         (norm): Likewise.
51076         (denorm): Likewise.
51077         (dbl_mp): Likewise.
51078         (sub_magnitudes): Likewise.
51079         (__add): Likewise.
51080         (__sub): Likewise.
51081         (__mul): Likewise.
51082         (__inv): Likewise.
51083         (__dvd): Likewise.
51085         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
51086         instead of __mul.
51087         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51088         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
51089         (cc32): Likewise.
51091         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
51092         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
51093         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
51094         of __mul for squares.
51095         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
51096         function
51097         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
51098         Likewise.
51099         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
51100         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51102 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
51104         [BZ #13550]
51105         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
51106         code.
51107         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
51108         prototype or function definition.  Rename ubp_* variables and
51109         parameters.  Remove argv definitions conditional on
51110         [__BOUNDED_POINTERS__].
51111         * debug/backtrace.c (__backtrace): Do not use __unbounded.
51112         * elf/dl-runtime.c (_dl_fixup): Likewise.
51113         * include/set-hooks.h (RUN_HOOK): Likewise.
51114         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
51115         definition.
51116         * string/strcpy.c (strcpy): Do not use __unbounded.
51117         * sysdeps/generic/frame.h (struct layout): Likewise.
51118         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
51119         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
51120         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
51121         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
51122         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
51123         (__backtrace): Likewise.
51124         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
51125         use __ptrvalue.
51126         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
51127         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
51128         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
51129         Likewise.
51130         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
51131         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
51132         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
51133         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
51134         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
51135         Do not use __unbounded.
51136         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
51137         Rename __unboundedrlimits parameter to rlimits in prototype.
51138         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
51139         Do not use __unbounded.
51140         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
51141         not use __ptrvalue.
51142         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
51143         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
51144         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
51145         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
51146         __ptrvalue or __unbounded.
51147         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
51148         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
51149         use __unbounded.
51150         (__new_msgctl): Do not use __ptrvalue.
51151         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
51152         __unbounded.
51153         (__libc_msgrcv): Do not use __ptrvalue.
51154         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
51155         startup_info): Do not use __unbounded.
51156         (__libc_start_main): Likewise.  Rename ubp_* variables and
51157         parameters.  Remove argv definitions conditional on
51158         [__BOUNDED_POINTERS__].
51159         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
51160         __ptrvalue.
51161         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
51162         use __unbounded.
51163         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
51164         or __ptrvalue.
51165         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
51166         use __unbounded.
51167         (__new_shmctl): Do not use __ptrvalue.
51168         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
51169         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
51170         Likewise.
51171         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
51172         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
51173         (__libc_sigaction): Likewise.
51174         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
51175         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
51176         Likewise.
51177         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
51179 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
51181         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
51183         * string/mempcpy.c: Implement by calling memcpy.
51185 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51187         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
51189         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
51190         evaluation.
51192         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
51193         values in the mantissa.
51195         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
51196         minimize writes to Z.
51197         (sub_magnitudes): Simplify code a bit.
51199 2013-02-12  Roland McGrath  <roland@hack.frob.com>
51201         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
51202         from the message.  The linker prefixes all warnings with that already.
51204 2013-02-12  Andreas Schwab  <schwab@suse.de>
51206         [BZ #15078]
51207         * posix/regexec.c (extend_buffers): Add parameter min_len.
51208         (check_matching): Pass minimum needed length.
51209         (clean_state_log_if_needed): Likewise.
51210         (get_subexp): Likewise.
51211         * posix/Makefile (tests): Add bug-regex34.
51212         (bug-regex34-ENV): Define.
51213         * posix/bug-regex34.c: New file.
51215         [BZ #11561]
51216         * posix/regcomp.c (parse_bracket_exp): When looking up collating
51217         elements compare against the byte sequence of it, not its name.
51218         * posix/Makefile (tests): Add bug-regex35.
51219         (bug-regex35-ENV): Define.
51220         * posix/bug-regex35.c: New file.
51222 2013-02-11  Tom de Vries  <tom@codesourcery.com>
51224         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
51225         comment.
51226         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
51227         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
51228         (CHECK_EOL): Add undef.
51230 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
51232         * bits/stdlib-bsearch.h: New file.
51233         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
51234         * stdlib/stdlib.h: Likewise.
51236 2013-02-11  Roland McGrath  <roland@hack.frob.com>
51238         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
51239         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
51240         declaration.
51241         * manual/search.texi (Array Search Function): Add missing const in
51242         lfind prototype.
51243         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
51244         declaration to use rlim_t.
51245         (Basic Scheduling Functions): Remove erroneous const from
51246         sched_getparam prototype.  Remove erroneous * from
51247         sched_get_priority_max and sched_get_priority_min prototypes.
51248         (Resource Usage): Fix summary @comment on vtimes to refer to
51249         sys/vtimes.h rather than vtimes.h.
51250         Add missing *s in vtimes prototype.
51251         (Limits on Resources): Fix ulimit prototype to return long int.
51252         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
51253         prototypes to use long int rather than double.
51254         (BSD Random): Fix initstate and setstate to use char *, not void *.
51255         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
51256         prototype to make second argument 'struct aiocb64 *const[]'.
51257         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
51258         (Status of AIO Operations): Remove erroneous const in aio_return and
51259         aio_return64 prototypes.
51260         (Synchronizing I/O): Fix sync prototype to return void.
51261         * manual/startup.texi (Suboptions): Remove an erroneous const in
51262         getsubopt prototype.
51263         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
51264         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
51265         use size_t rather than int.
51266         (Scanning All Users): Likewise for getpwent_r.
51267         (Setting Groups): Add missing const to setgroups prototype.
51268         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
51269         * manual/socket.texi (Host Names): Fix gethostbyaddr and
51270         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
51271         'const void *' rather than 'const char *'.
51272         (Host Address Functions): Likewise for inet_ntop.
51273         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
51274         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
51275         ssize_t for return value.
51276         (Sending Data): Likewise for send, sendto, sendmsg.
51277         (Socket Option Functions): Add a missing const in setsockopt prototype.
51278         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
51279         use wchar_t for the argument.
51280         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
51281         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
51282         take no arguments.
51283         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
51284         double/float/long double for second argument.
51285         Fix return types of significand, significandf, significandl.
51286         * manual/filesys.texi (Setting Permissions): Use mode_t for second
51287         argument in fchmod prototype.
51288         (File Owner): Use uid_t and gid_t in fchown prototype.
51289         (File Times): Add const to utimes, futimes, and lutimes prototypes.
51290         (Making Special Files): Use mode_t and dev_t in mknod prototype.
51291         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
51292         use 'const struct dirent **' as argument types to CMP function pointer
51293         argument.
51294         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
51295         (File Times): Fix summary magic @comment for struct utimbuf and utime
51296         to refer to utime.h, not time.h.
51297         * manual/string.texi (Argz Functions): Add missing const in
51298         argz_extract and argz_next prototypes.
51299         (Finding Tokens in a String): Likewise for basename.
51300         (String/Array Comparison): Fix typo in wcscasecmp prototype.
51301         (Copying and Concatenation): Fix typo in wmemmove prototype.
51302         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
51303         (Signal Stack): Remove erroneous const in sigstack prototype.
51304         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
51305         prototype.
51306         (Simple Calendar Time): Likewise for stime.
51307         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
51308         prototype.
51309         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
51310         say sys/sysctl.h instead.
51311         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
51312         and vsyslog prototypes.
51314 2013-02-11  Tom de Vries  <tom@codesourcery.com>
51316         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
51317         Remove.
51319 2013-02-11  Roland McGrath  <roland@hack.frob.com>
51321         * misc/sys/mman.h: Fix typo in mremap comment.
51323 2013-02-08  Roland McGrath  <roland@hack.frob.com>
51325         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
51326         the '\0' terminator.
51328 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
51330         [BZ #13550]
51331         * debug/segfault.c: Don't include <bp-checks.h>.
51332         * sysdeps/generic/bp-checks.h: Remove file.
51333         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
51334         (__GETDENTS): Don't use CHECK_N.
51335         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
51336         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
51337         (__getgroups): Don't use CHECK_N.
51338         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
51339         (setgroups): Don't use CHECK_N.
51340         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
51341         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
51342         (__libc_msgrcv): Don't use CHECK_N.
51343         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
51344         (__libc_msgsnd): Don't use CHECK_N.
51345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
51346         <bp-checks.h>.
51347         (__libc_pread): Don't use CHECK_N.
51348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
51349         include <bp-checks.h>.
51350         (__libc_pread64): Don't use CHECK_N.
51351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
51352         include <bp-checks.h>.
51353         (__libc_pwrite): Don't use CHECK_N.
51354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
51355         include <bp-checks.h>.
51356         (__libc_pwrite64): Don't use CHECK_N.
51357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
51358         <bp-checks.h>.
51359         (__libc_pread): Don't use CHECK_N.
51360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
51361         include <bp-checks.h>.
51362         (__libc_pread64): Don't use CHECK_N.
51363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
51364         include <bp-checks.h>.
51365         (__libc_pwrite): Don't use CHECK_N.
51366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
51367         include <bp-checks.h>.
51368         (__libc_pwrite64): Don't use CHECK_N.
51369         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
51370         (do_pread): Don't use CHECK_N.
51371         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
51372         (do_pread64): Don't use CHECK_N.
51373         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
51374         (do_pwrite): Don't use CHECK_N.
51375         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
51376         (do_pwrite64): Don't use CHECK_N.
51377         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
51378         (__libc_readv): Don't use CHECK_N.
51379         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
51380         (semop): Don't use CHECK_N.
51381         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
51382         <bp-checks.h>.
51383         (semtimedop): Don't use CHECK_N.
51384         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
51385         (__libc_pread): Don't use CHECK_N.
51386         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
51387         <bp-checks.h>.
51388         (__libc_pread64): Don't use CHECK_N.
51389         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
51390         <bp-checks.h>.
51391         (__libc_pwrite): Don't use CHECK_N.
51392         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
51393         <bp-checks.h>.
51394         (__libc_pwrite64): Don't use CHECK_N.
51395         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
51396         <bp-checks.h>.
51397         (__libc_msgrcv): Don't use CHECK_N.
51398         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
51399         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
51400         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
51401         (__libc_writev): Don't use CHECK_N.
51403 2013-02-08  Roland McGrath  <roland@hack.frob.com>
51405         * string/strcpy.c: Removed unused variable.
51407         * Makeconfig (+sysdep-includes): Define with := rather than =.
51408         Use an existing include/ subdir of each sysdeps dir before it.
51410 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51412         * nscd/connection.c (register_traced_file): Comment function.
51413         [HAVE_INOTIFY] (union __inev): Define.
51414         [HAVE_INOTIFY] (inotify_check_files): New function.
51415         [HAVE_INOTIFY] (clear_db_cache): Likewise.
51416         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
51417         clear_db_cache.
51418         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
51420 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51422         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
51423         loaded if not already and that a failure is permanent.
51425 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51427         [BZ #15006]
51428         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
51429         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
51431 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
51433         [BZ #13550]
51434         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
51435         (CHECK_1_NULL_OK): Likewise.
51436         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
51437         (__fxstat): Do not use CHECK_1.
51438         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
51439         <bp-checks.h>.
51440         (___fxstat64): Do not use CHECK_1.
51441         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
51442         <bp-checks.h>.
51443         (__fxstatat): Do not use CHECK_1.
51444         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
51445         <bp-checks.h>.
51446         (__fxstatat64): Do not use CHECK_1.
51447         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
51448         <bp-checks.h>.
51449         (__fxstat): Do not use CHECK_1.
51450         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
51451         <bp-checks.h>.
51452         (__fxstatat): Do not use CHECK_1.
51453         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
51454         <bp-checks.h>.
51455         (__getresgid): Do not use CHECK_1.
51456         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
51457         <bp-checks.h>.
51458         (__getresuid): Do not use CHECK_1.
51459         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
51460         <bp-checks.h>.
51461         (__lxstat): Do not use CHECK_1.
51462         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
51463         <bp-checks.h>.
51464         (__old_msgctl): Do not use CHECK_1.
51465         (__new_msgctl): Likewise.
51466         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
51467         <bp-checks.h>.
51468         (__new_setrlimit): Do not use CHECK_1.
51469         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
51470         <bp-checks.h>.
51471         (__old_shmctl): Do not use CHECK_1.
51472         (__new_shmctl): Likewise.
51473         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
51474         <bp-checks.h>.
51475         (__xstat): Do not use CHECK_1.
51476         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
51477         (__lxstat): Do not use CHECK_1.
51478         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
51479         <bp-checks.h>.
51480         (___lxstat64): Do not use CHECK_1.
51481         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
51482         (__old_msgctl): Do not use CHECK_1.
51483         (__new_msgctl): Likewise.
51484         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
51485         <bp-checks.h>.
51486         (__gettimeofday): Do not use CHECK_1.
51487         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
51488         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
51489         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
51490         <bp-checks.h>.
51491         (__gettimeofday): Do not use CHECK_1.
51492         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
51493         (__old_shmctl): Do not use CHECK_1_NULL_OK.
51494         (__new_shmctl): Do not use CHECK_1.
51495         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
51496         <bp-checks.h>.
51497         (do_sigtimedwait): Do not use CHECK_1.
51498         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
51499         <bp-checks.h>.
51500         (do_sigwaitinfo): Do not use CHECK_1.
51501         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
51502         <bp-checks.h>.
51503         (msgctl): Do not use CHECK_1.
51504         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
51505         <bp-checks.h>.
51506         (shmctl): Do not use CHECK_1.
51507         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
51508         (ustat): Do not use CHECK_1.
51509         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
51510         <bp-checks.h>.
51511         (__fxstat): Do not use CHECK_1.
51512         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
51513         <bp-checks.h>.
51514         (__fxstatat): Do not use CHECK_1.
51515         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
51516         <bp-checks.h>.
51517         (__lxstat): Do not use CHECK_1.
51518         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
51519         <bp-checks.h>.
51520         (__xstat): Do not use CHECK_1.
51521         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
51522         (__xstat): Do not use CHECK_1.
51523         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
51524         (___xstat64): Do not use CHECK_1.
51526         [BZ #13550]
51527         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
51528         definitions.
51529         (CHECK_BOUNDS_HIGH): Likewise.
51530         * string/strcpy.c: Do not include <bp-checks.h>.
51531         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
51533 2013-02-07  Roland McGrath  <roland@hack.frob.com>
51535         * nscd/nscd-client.h (__nscd_drop_map_ref):
51536         Add __attribute__ ((unused)).
51537         * nis/nss-nisplus.h (niserr2nss): Likewise.
51539         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
51540         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
51542         * csu/libc-tls.c (init_static_tls, init_slotinfo):
51543         Remove inline keyword.
51544         * include/rounding-mode.h (round_away): Likewise.
51545         * libio/wfileops.c (adjust_wide_data): Likewise.
51546         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
51547         (__m128i_strloadu_tolower): Likewise.
51548         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
51549         (__m128i_strloadu_tolower): Likewise.
51550         * time/mktime.c (ydhms_diff): Likewise.
51551         * locale/elem-hash.h (elem_hash): Likewise.
51552         * locale/setlocale.c (setdata): Likewise.
51553         * posix/regex_internal.h (re_string_char_size_at): Likewise.
51554         (re_string_wchar_at): Likewise.
51555         (bitset_not, bitset_merge, bitset_mask): Likewise.
51556         [!(__GNUC__ > 3)] (inline): Remove macro.
51557         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
51558         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
51559         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
51560         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
51561         * string/memcmp.c (memcmp_bytes): Likewise.
51562         * locale/programs/locarchive.c (compute_hashval): Likewise.
51563         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
51564         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
51565         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
51566         * nss/getent.c (print_rpc, print_protocols): Likewise.
51567         (print_passwd, print_group, print_aliases): Likewise.
51568         * nis/nss-nisplus.h (niserr2nss): Likewise.
51569         * nscd/connections.c (restart_p): Likewise.
51570         Change return type to bool.
51572 2013-02-05  Roland McGrath  <roland@hack.frob.com>
51574         * Makeconfig (all-Depend-files): Add existing
51575         $(sorted-subdirs:=/Depend) files.
51576         (all-subdirs): Remove nss.
51577         * sysdeps/unix/inet/Subdirs: Add it here instead.
51578         * hesiod/Depend: New file.
51580         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
51581         instead of calling alloca.
51583         * io/lseek.c (__lseek): Rename to __libc_lseek.
51584         Define __lseek as an alias.
51586         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
51588 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
51590         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
51591         else clause and remove check for non-standard endianness.
51593 2013-02-04  David S. Miller  <davem@davemloft.net>
51595         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51597 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
51599         [BZ #13550]
51600         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
51601         (__ubp_memchr): Remove prototype.
51602         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
51603         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
51604         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
51605         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
51606         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
51607         Remove alias.
51608         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
51609         (__ubp_memchr): Likewise.
51610         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
51611         (__ubp_memchr): Likewise.
51612         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
51613         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
51614         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
51615         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
51616         CHECK_STRING.
51617         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
51618         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
51619         (__getcwd): Do not use CHECK_STRING.
51620         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
51621         <bp-checks.h>.
51622         (__real_chown): Do not use CHECK_STRING.
51623         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
51624         <bp-checks.h>.
51625         (fchownat): Do not use CHECK_STRING.
51626         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
51627         CHECK_STRING.
51628         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
51629         <bp-checks.h>.
51630         (__lchown): Do not use CHECK_STRING.
51631         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
51632         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
51633         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
51634         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
51635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
51636         include <bp-checks.h>.
51637         (truncate64): Do not use CHECK_STRING.
51638         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
51639         <bp-checks.h>.
51640         (__real_chown): Do not use CHECK_STRING.
51641         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
51642         <bp-checks.h>.
51643         (__lchown): Do not use CHECK_STRING.
51644         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
51645         <bp-checks.h>.
51646         (__chown): Do not use CHECK_STRING.
51647         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
51648         <bp-checks.h>.
51649         (truncate64): Do not use CHECK_STRING.
51650         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
51651         Likewise.
51652         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
51653         (__xmknod): Do not use CHECK_STRING.
51654         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
51655         <bp-checks.h>.
51656         (__xmknodat): Do not use CHECK_STRING.
51657         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
51658         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
51660 2013-02-04  Andreas Schwab  <schwab@suse.de>
51662         [BZ #14142]
51663         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
51664         * include/netdb.h: Likewise for h_errno.
51665         * elf/tst-stackguard1.c: Include <tls.h>.
51667 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
51669         * elf/link.h (struct link_map): Extend the l_addr comment.
51670         * include/link.h (struct link_map): Likewise.
51672 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
51674         [BZ #13550]
51675         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
51676         (BOUNDED_1): Remove macro.
51677         * debug/backtrace.c: Don't include <bp-checks.h>.
51678         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
51679         (__backtrace): Likewise.
51680         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
51681         <bp-checks.h>.
51682         (__backtrace): Don't use BOUNDED_1.
51683         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
51684         <bp-checks.h>.
51685         (__backtrace): Don't use BOUNDED_1.
51686         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
51687         (__backtrace): Don't use BOUNDED_1.
51688         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
51689         (shmat): Don't use BOUNDED_N.
51691 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
51693         [BZ #13550]
51694         * sysdeps/generic/bp-start.h: Remove file.
51695         * csu/libc-start.c: Don't include <bp-start.h>.
51696         (LIBC_START_MAIN): Set up __environ directly instead of using
51697         INIT_ARGV_and_ENVIRON.
51698         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
51699         <bp-start.h>.
51701         [BZ #13550]
51702         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
51703         definitions.
51704         (CHECK_FCNTL): Likewise.
51705         (CHECK_N_PAGES): Likewise.
51707         [BZ #13550]
51708         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
51709         definitions.
51710         (CHECK_SIGSET_NULL_OK): Likewise.
51711         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
51712         <bp-checks.h>.
51713         (sigpending): Don't use CHECK_SIGSET.
51714         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
51715         <bp-checks.h>.
51716         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51717         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
51718         <bp-checks.h>.
51719         (do_sigsuspend): Don't use CHECK_SIGSET.
51720         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
51721         use CHECK_SIGSET.
51722         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
51723         (do_sigwait): Don't use CHECK_SIGSET.
51724         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
51725         use CHECK_SIGSET.
51726         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
51727         include <bp-checks.h>.
51728         (sigpending): Don't use CHECK_SIGSET.
51729         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
51730         include <bp-checks.h>.
51731         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51732         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
51733         <bp-checks.h>.
51734         (sigpending): Don't use CHECK_SIGSET.
51735         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
51736         <bp-checks.h>.
51737         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51739         [BZ #13550]
51740         * sysdeps/generic/bp-semctl.h: Remove file.
51741         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
51742         <bp-checks.h> and <bp-semctl.h>.
51743         (__old_semctl): Don't use CHECK_SEMCTL.
51744         (__new_semctl): Likewise.
51745         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
51746         and <bp-semctl.h>.
51747         (__old_semctl): Don't use CHECK_SEMCTL.
51748         (__new_semctl): Likewise.
51749         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
51750         <bp-checks.h> and <bp-semctl.h>.
51751         (__old_semctl): Don't use CHECK_SEMCTL.
51752         (__new_semctl): Likewise.
51753         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
51754         <bp-checks.h> and <bp-semctl.h>.
51755         (semctl): Don't use CHECK_SEMCTL.
51757         [BZ #13550]
51758         * Makerules (elide-bp-thunks): Remove variable.
51759         (elide-routines.oS): Don't use $(elide-bp-thunks).
51760         (elide-routines.os): Likewise.
51761         (elide-routines.o): Likewise.
51762         (elide-routines.op): Likewise.
51763         (elide-routines.og): Likewise.
51764         (objects): Don't use $(bp-thunks).
51765         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
51766         include.
51767         (common-generated): Do not add s-proto-bp.d.
51768         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
51769         (int): Likewise.
51770         (typ): Likewise.
51771         Do not generate makefile rules for bounded-pointer thunks.
51772         * sysdeps/generic/bp-thunks.h: Remove file.
51773         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
51774         * sysdeps/unix/s-proto-bp.S: Likewise.
51776         [BZ #15062]
51777         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
51778         parts of result separately when argument is not close to line from
51779         -i to i and one part of argument is small.
51780         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51781         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51782         * math/libm-test.inc (cacos_test): Add more tests.
51783         (casin_test): Likewise.
51784         (casinh_test): Likewise.
51785         * sysdeps/i386/fpu/libm-test-ulps: Update.
51786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51788 2013-01-31  David S. Miller  <davem@davemloft.net>
51790         * po/de.po: Update from translation team.
51792 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
51794         * time/tzfile.c: Include stdint.h for SIZE_MAX.
51796 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
51798         * configure.in (_AC_PROG_CC_C89): New definition.
51799         * configure: Regenerate.
51801         * configure.in (AC_PROG_CPP): New definition.
51802         * configure: Regenerate.
51804 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51806         * debug/tst-backtrace.h: New file.
51807         * debug/tst-backtrace2.c: Include tst-backtrace.h.
51808         (ret): Remove variable.
51809         (x): Likewise.
51810         (FAIL): Remove macro.
51811         (NO_INLINE): Likewise.
51812         (fn1): Use match function instead of strstr.
51813         * debug/tst-backtrace3.c: Include tst-backtrace.h.
51814         (ret): Remove variable.
51815         (x): Likewise.
51816         (FAIL): Remove macro.
51817         (NO_INLINE): Likewise.
51818         (fn): Use match function instead of strstr.
51819         * debug/tst-backtrace4.c: Include tst-backtrace.h.
51820         (ret): Remove variable.
51821         (x): Likewise.
51822         (FAIL): Remove macro.
51823         (NO_INLINE): Likewise.
51824         (handle_signal): Use match function instead of strstr.
51825         * debug/tst-backtrace5.c: Include tst-backtrace.h.
51826         (ret): Remove variable.
51827         (x): Likewise.
51828         (FAIL): Remove macro.
51829         (NO_INLINE): Likewise.
51830         (handle_signal): Use match function instead of strstr.
51832 2013-01-23  Roland McGrath  <roland@hack.frob.com>
51834         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
51836 2013-01-23  David S. Miller  <davem@davemloft.net>
51838         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
51839         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
51840         argument of CAS if possible.
51841         * sysdeps/sparc/sparc64/bits/atomic.h
51842         (__arch_compare_and_exchange_val_32_acq): Likewise.
51843         (__arch_compare_and_exchange_val_64_acq): Likewise.
51845 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
51847         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
51848         * sysdeps/posix/ulimit.c: ... this.
51849         Include <limits.h>.
51850         * sysdeps/unix/bsd/ulimit.c: Remove file.
51852 2013-01-23  Adam Conrad  <adconrad@0c3.net>
51854         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
51855         (LDFLAGS-tst-array5): Likewise.
51857 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51859         [BZ #15036]
51860         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
51861         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
51862         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
51863         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
51865 2013-01-21  David S. Miller  <davem@davemloft.net>
51867         * sysdeps/sparc/backtrace.c: New file.
51868         * sysdeps/sparc/sparc32/backtrace.h: New file.
51869         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
51870         * sysdeps/sparc/sparc64/backtrace.h: New file.
51871         * sysdeps/sparc/sparc64/backtrace.c: Delete.
51872         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
51873         -funwind-tables.
51875 2013-01-21  Andreas Schwab  <schwab@suse.de>
51877         [BZ #15020]
51878         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
51879         closed its stdout.
51881 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
51883         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
51884         "mpa2.h".
51885         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51887 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
51888             Mark Mitchell  <mark@codesourcery.com>
51889             Tom de Vries  <tom@codesourcery.com>
51890             Paul Pluzhnikov  <ppluzhnikov@google.com>
51892         * debug/tst-backtrace2.c: New file.
51893         * debug/tst-backtrace3.c: Likewise.
51894         * debug/tst-backtrace4.c: Likewise.
51895         * debug/tst-backtrace5.c: Likewise.
51896         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
51897         (CFLAGS-tst-backtrace3.c): Likewise.
51898         (CFLAGS-tst-backtrace4.c): Likewise.
51899         (CFLAGS-tst-backtrace5.c): Likewise.
51900         (LDFLAGS-tst-backtrace2): Likewise.
51901         (LDFLAGS-tst-backtrace3): Likewise.
51902         (LDFLAGS-tst-backtrace4): Likewise.
51903         (LDFLAGS-tst-backtrace5): Likewise.
51904         (tests): Add new tests tst-backtrace2, tst-backtrace3,
51905         tst-backtrace4 and tst-backtrace5.
51907 2013-01-18  Anton Blanchard  <anton@samba.org>
51908             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51910         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
51911         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
51912         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
51913         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
51914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
51915         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
51916         "+r" and remove output regs list as redundant.  Add explicit inline
51917         asm to specify register of return val to work around compiler codegen
51918         bug.  Remove (int) cast on return value.  Add return type parameter to
51919         use in macro so that this macro does not truncate return value for
51920         64-bit values.
51921         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
51922         pass to INTERNAL_VSYSCALL_NCS.
51923         (INLINE_VSYSCALL): Add 'long int' as return type to
51924         INTERNAL_VSYSCALL_NCS macro invocation.
51925         (INTERNAL_VSYSCALL): Add 'long int' as return type to
51926         INTERNAL_VSYSCALL_NCS macro invocation.
51927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51929 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51931         [BZ #14496]
51932         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
51933         Fix application of SIMD FP exception mask.
51935         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
51936         mp_no from a power of two.
51937         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
51938         __mpexp_twomm1.  Use __pow_mp.
51940         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
51941         multiplication.
51943 2013-01-17  David S. Miller  <davem@davemloft.net>
51945         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51947 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
51949         [BZ #15023]
51950         * include/complex.h: Condition contents on [!_COMPLEX_H].
51951         (__kernel_casinhf): New prototype.
51952         (__kernel_casinh): Likewise.
51953         (__kernel_casinhl): Likewise.
51954         * math/Makefile (libm_calls): Add k_casinh.
51955         * math/k_casinh.c: New file.
51956         * math/k_casinhf.c: Likewise.
51957         * math/k_casinhl.c: Likewise.
51958         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
51959         finite nonzero arguments.
51960         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
51961         finite nonzero arguments.
51962         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
51963         finite nonzero arguments.
51964         * math/s_casinh.c: Do not include <float.h>.
51965         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
51966         * math/s_casinhf.c: Do not include <float.h>.
51967         (__casinhf): Move code for finite nonzero arguments to
51968         k_casinhf.c.
51969         * math/s_casinhl.c: Do not include <float.h>.
51970         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
51971         redefine.
51972         (__casinhl): Move code for finite nonzero arguments to
51973         k_casinhl.c.
51974         * math/libm-test.inc (cacos_test): Add more tests.
51975         * sysdeps/i386/fpu/libm-test-ulps: Update.
51976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51978 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
51980         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
51981         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
51982         [!HAVE_MREMAP]: Remove [defined linux] case.
51983         * malloc/arena.c: Do not include <malloc-sysdep.h>.
51985 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51987         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
51989 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
51991         * elf/elf.h (R_386_SIZE32): New relocation.
51992         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
51993         R_386_SIZE32.
51994         (elf_machine_rela): Likewise.
51995         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
51996         R_X86_64_SIZE64 and R_X86_64_SIZE32.
51998 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
52000         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
52001         (FP_FAST_FMA): Do not define.
52002         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
52003         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
52004         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
52005         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
52006         !_SOFT_FLOAT]: Likewise.
52007         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
52008         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
52009         value.
52010         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
52011         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
52012         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
52013         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
52014         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
52015         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
52016         file.
52018 2013-01-16  Andreas Schwab  <schwab@suse.de>
52020         [BZ #14327]
52021         * include/stdlib.h (__mktemp): Add declaration.
52022         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
52023         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
52025 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52027         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
52028         definitions.
52029         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
52030         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
52031         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
52032         definitions here.
52033         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
52034         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
52035         definitions.
52036         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
52037         and ONE.
52038         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
52039         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
52040         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
52041         definitions.
52042         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
52043         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
52044         definitions.
52045         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
52047         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
52049 2013-01-15  David S. Miller  <davem@davemloft.net>
52051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52052         trunc{,f} to libm-sysdep_routes.
52053         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
52055         file.
52056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
52057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
52058         file.
52059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
52060         file.
52061         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
52062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
52063         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
52064         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
52065         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
52066         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
52067         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
52068         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
52070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52071         nearbyint{,f} to libm-sysdep_routes.
52072         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
52074         New file.
52075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
52076         file.
52077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
52078         New file.
52079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
52080         file.
52081         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
52082         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
52083         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
52084         file.
52085         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
52086         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
52087         file.
52088         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
52089         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
52090         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
52092         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
52093         libc_feholdexcept and libc_fesetenv.
52095 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
52097         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
52099 2013-01-14  David S. Miller  <davem@davemloft.net>
52101         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
52102         (SPARC_ASM_VIS2_IFUNC): Likewise.
52103         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
52104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
52105         use of 'siam' instruction.
52106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
52107         Likewise.
52108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
52109         Likewise.
52110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
52111         Likewise.
52112         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
52113         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
52114         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
52115         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
52116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
52117         file.
52118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
52119         file.
52120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
52121         file.
52122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
52123         file.
52124         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
52125         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
52126         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
52127         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
52128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
52129         new VIS2 routines.
52130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52133         Likewise.
52134         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52135         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52136         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52137         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
52139         routines to libm-sysdep_routines.
52140         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52143         fdim/fdimf to libm-sysdep_routines.
52144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
52145         file.
52146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
52147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
52148         file.
52149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
52150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
52151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
52152         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
52153         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
52154         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
52155         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
52157 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52159         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
52160         to optimize copies.
52162         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
52163         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52164         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52166         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
52167         local variable MPTWO.
52168         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
52169         Likewise.
52171 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52173         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
52174         GLOB_NOESCAPE.
52176 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52178         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
52180 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52182         * manual/pattern.texi (glob_t): Document gl_flags.
52183         (glob64_t): Likewise.
52185 2013-01-11  David S. Miller  <davem@davemloft.net>
52187         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
52188         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
52189         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
52190         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
52191         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
52192         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
52193         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
52194         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
52195         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
52196         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
52197         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
52198         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
52199         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
52201         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
52202         sparc V9 rather than using V8 code.
52203         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52204         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52206         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52207         Move to...
52208         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
52209         Here.
52211 2013-01-11  Roland McGrath  <roland@hack.frob.com>
52213         [BZ #14941]
52214         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
52215         not in the main loop.
52216         * configure: Regenerated.
52218 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
52220         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
52221         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
52222         to just #else.
52223         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
52224         [!__GLIBC_HAVE_LONG_LONG] case.
52225         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
52226         condition to just #else.
52227         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
52228         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
52229         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
52230         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
52231         unconditional.
52232         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
52233         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
52234         #elif condition to just #else.
52235         * sysdeps/unix/sysv/linux/sys/sysmacros.h
52236         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
52237         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
52238         #elif condition to just #else.
52240 2013-01-11  Steve Ellcey  <sellcey@mips.com>
52242         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
52243         (EF_MIPS_ARCH_64): Fix value.
52244         (EF_MIPS_ARCH_32R2): New.
52245         (EF_MIPS_ARCH_64R2): New.
52247 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
52249         * Makeconfig (+link-pie-before-libc): New.
52250         (+link-pie-after-libc): Likewise.
52251         (+link-pie-tests): Likewise.
52252         (+link-pie): Rewritten.
52253         (link-before-libc): Remove $(config-LDFLAGS).
52254         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
52255         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
52256         (config-LDFLAGS): Renamed to ...
52257         (rtld-LDFLAGS): This.
52258         (rtld-tests-LDFLAGS): New macro.
52259         (link-libc-rpath-link): Likewise.
52260         (link-libc-tests-rpath-link): Likewise.
52261         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
52262         (link-libc): Prepand $(link-libc-rpath-link).
52263         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
52264         (test-program-prefix): New macro.
52265         (test-via-rtld-prefix): Likewise.
52266         (test-program-cmd): Likewise.
52267         (host-test-program-cmd): Likewise.
52268         * Makefile ($(common-objpfx)testrun.sh): Replace
52269         $(run-program-prefix) with $(test-program-prefix).
52270         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
52271         $(rtld-LDFLAGS).
52272         ($(common-objpfx)shlib.lds): Likewise.
52273         (build-module-helper): Likewise.
52274         ($(common-objpfx)format.lds): Likewise.
52275         * Rules (binaries-pie-tests): New.
52276         (binaries-pie-notests): Likewise.
52277         (binaries-pie): Rewritten.
52278         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
52279         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
52280         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
52281         (make-test-out): Replace $(host-built-program-cmd) with
52282         $(host-test-program-cmd).
52283         * config.make.in (build-hardcoded-path-in-tests): New variable.
52284         * configure.in (--enable-hardcoded-path-in-tests): New configure
52285         option.
52286         (hardcoded_path_in_tests): New AC_SUBST.
52287         * configure: Regenerated.
52288         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
52289         $(built-program-cmd) with $(test-program-cmd).
52290         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
52291         (test_program_cmd): This.
52292         * elf/Makefile ($(objpfx)order.out): Run test with
52293         $(test-program-prefix).
52294         ($(objpfx)order2.out): Likewise.
52295         ($(objpfx)tst-initorder.out): Likewise.
52296         ($(objpfx)tst-initorder2.out): Likewise.
52297         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
52298         $(test-program-cmd).
52299         ($(objpfx)tst-array1-static.out): Likewise.
52300         ($(objpfx)tst-array2.out): Likewise.
52301         ($(objpfx)tst-array3.out): Likewise.
52302         ($(objpfx)tst-array4.out): Likewise.
52303         ($(objpfx)tst-array5.out): Likewise.
52304         ($(objpfx)tst-array5-static.out): Likewise.
52305         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
52306         $(test-program-cmd).
52307         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
52308         $(run-program-prefix) with $(test-program-prefix).
52309         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
52310         (test_program_prefix): This.
52311         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
52312         $(run-program-prefix) with $(test-program-prefix).
52313         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
52314         (test_program_prefix): This.
52315         * iconvdata/tst-tables.sh: Likewise.
52316         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
52317         $(run-program-prefix) with $(test-program-prefix).
52318         ($(objpfx)tst-translit.out): Likewise.
52319         ($(objpfx)tst-gettext2.out): Likewise.
52320         ($(objpfx)tst-gettext4.out): Likewise.
52321         ($(objpfx)tst-gettext6.out): Likewise.
52322         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
52323         (test_program_prefix): This.
52324         * intl/tst-gettext2.sh: Likewise.
52325         * intl/tst-gettext4.sh  Likewise.
52326         * intl/tst-gettext6.sh: Likewise.
52327         * intl/tst-translit.sh: Likewise.
52328         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
52329         with $(test-program-cmd).
52330         * libio/Makefile ($(objpfx)test-freopen.out): Replace
52331         $(run-program-prefix) with $(test-program-prefix).
52332         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
52333         (test_program_prefix): This.
52334         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
52335         $(run-program-prefix) with $(test-program-prefix).
52336         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
52337         (test_program_prefix): This.
52338         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
52339         * posix/Makefile ($(objpfx)globtest.out): Replace
52340         $(run-via-rtld-prefix) and $(test-wrapper) with
52341         $(test-program-prefix) and $(test-via-rtld-prefix).
52342         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
52343         $(test-program-prefix).
52344         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
52345         $(host-test-program-cmd).
52346         (tst-spawn-ARGS): Likewise.
52347         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
52348         $(test-program-prefix).
52349         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
52350         (test_via_rtld_prefix): This.
52351         (test_wrapper): Renamed to ...
52352         (test_program_prefix): This.
52353         (run_program_prefix): Replaced by test_program_prefix.
52354         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
52355         (test_program_prefix): This.
52356         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
52357         with $(host-test-program-cmd).
52358         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
52359         $(run-program-prefix) with $(test-program-prefix).
52360         ($(objpfx)tst-printf.out): Likewise.
52361         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
52362         $(test-program-cmd).
52363         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
52364         (test_program_prefix): This.
52365         * stdio-common/tst-unbputc.sh: Likewise.
52366         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
52367         $(run-program-prefix) with $(test-program-prefix).
52368         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
52369         (test_program_prefix): This.
52370         * string/Makefile ($(objpfx)tst-svc.out):  Replace
52371         $(built-program-cmd) with $(test-program-cmd).
52373 2013-01-11  Andreas Jaeger  <aj@suse.de>
52375         [BZ #15003]
52376         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
52377         value. Sync with Linux 3.7.
52379 2013-01-10  David S. Miller  <davem@davemloft.net>
52381         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
52382         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52383         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52385 2013-01-10  Roland McGrath  <roland@hack.frob.com>
52387         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
52388         never set.
52389         * configure: Regenerated.
52391 2013-01-10  David S. Miller  <davem@davemloft.net>
52393         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
52394         sparc V9 rather than using V8 code.
52395         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52396         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52398 2013-01-10  Roland McGrath  <roland@hack.frob.com>
52400         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
52401         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
52402         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
52403         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
52404         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
52405         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
52406         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
52407         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
52408         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
52409         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
52410         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
52411         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
52412         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
52413         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
52414         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
52415         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
52416         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
52417         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
52418         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
52419         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
52420         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
52421         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
52422         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
52423         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
52424         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
52425         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
52426         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
52428 2013-01-10  David S. Miller  <davem@davemloft.net>
52430         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52432 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
52434         * posix/Makefile (tests-static): New variable.
52435         (tests): Add $(tests-static).
52436         (tst-exec-static-ARGS): New variable.
52437         (tst-spawn-static-ARGS): Likewise.
52438         * posix/tst-exec-static.c: New file.
52439         * posix/tst-spawn-static.c: Likewise.
52440         * posix/tst-exec.c: Support run directly.
52441         * posix/tst-spawn.c: Likewise.
52443 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
52445         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
52446         long.
52447         * math/bits/mathcalls.h (llrint): Likewise.
52448         (llround): Likewise.
52449         * stdlib/stdlib.h (struct drand48_data): Likewise.
52450         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
52451         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
52452         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
52453         Likewise.
52454         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
52455         Likewise.
52456         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
52457         (elf_greg_t): Likewise.
52458         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
52459         (__jmp_buf): Likewise.
52460         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
52461         definitions.
52462         (llrint): Likewise, for all definitions.
52463         (llrintl): Likewise.
52465         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
52466         Remove [__GNUC__] condition.
52467         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
52468         condition to just [__USE_ISOC99].
52469         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
52471 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
52473         [BZ #14200]
52474         * sysdeps/unix/sysv/linux/x86/bits/environments.h
52475         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
52476         defined.
52477         (_POSIX_V6_ILP32_OFF32): Likewise.
52478         (_XBS5_ILP32_OFF32): Likewise.
52479         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
52480         (__ILP32_OFFBIG_LDFLAGS): Likewise.
52482 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52484         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
52486         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
52487         doubles __mpexp_twomm1.  Adjust usage.
52488         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
52489         Remove.
52491 2013-01-10  Andreas Schwab  <schwab@suse.de>
52493         [BZ #14964]
52494         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
52495         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
52497 2013-01-09  David S. Miller  <davem@davemloft.net>
52499         [BZ #15003]
52500         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
52501         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
52502         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
52503         (TCP_FASTOPEN): Define.
52504         (tcp_repair_opt): New structure.
52505         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
52506         enum values.
52507         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
52508         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
52509         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
52510         (tcp_cookie_transactions): New structure.
52512 2013-01-09  Anton Blanchard  <anton@samba.org>
52514         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
52515         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
52516         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
52517         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
52519 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
52521         * include/features.h (__USE_ANSI): Remove.
52523 2013-01-09  Roland McGrath  <roland@hack.frob.com>
52525         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
52527         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
52529 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
52531         * sysdeps/s390/fpu/libm-test-ulps: Update.
52533         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52535         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
52536         (__acr): Likewise.
52537         (__cpy): Likewise.
52538         (norm): Likewise.
52539         (denorm): Likewise.
52540         (__mp_dbl): Likewise.
52541         (__dbl_mp): Likewise.
52542         (add_magnitudes): Likewise.
52543         (sub_magnitudes): Likewise.
52544         (__add): Likewise.
52545         (__sub): Likewise.
52546         (__mul): Likewise.
52547         (__inv): Likewise.
52548         (__dvd): Likewise.
52549         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
52550         (__acr): Likewise.
52551         (__cpy): Likewise.
52552         (norm): Likewise.
52553         (denorm): Likewise.
52554         (__mp_dbl): Likewise.
52555         (__dbl_mp): Likewise.
52556         (add_magnitudes): Likewise.
52557         (sub_magnitudes): Likewise.
52558         (__add): Likewise.
52559         (__sub): Likewise.
52560         (__mul): Likewise.
52561         (__inv): Likewise.
52562         (__dvd): Likewise.
52563         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
52564         (__acr): Likewise.
52565         (__cpy): Likewise.
52566         (norm): Likewise.
52567         (denorm): Likewise.
52568         (__mp_dbl): Likewise.
52569         (__dbl_mp): Likewise.
52570         (add_magnitudes): Likewise.
52571         (sub_magnitudes): Likewise.
52572         (__add): Likewise.
52573         (__sub): Likewise.
52574         (__mul): Likewise.
52575         (__inv): Likewise.
52576         (__dvd): Likewise.
52578 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
52580         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
52581         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
52582         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
52583         2 && __USE_EXTERN_INLINES]: Likewise.
52585 2013-01-08  Andreas Jaeger  <aj@suse.de>
52587         [BZ# 14985]
52588         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
52589         Remove.
52590         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
52591         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
52593 2013-01-07  Anton Blanchard  <anton@samba.org>
52595         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
52596         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
52597         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
52598         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
52599         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
52600         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52601         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
52602         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
52603         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52604         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52605         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52606         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52607         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52608         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52609         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
52610         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52611         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52612         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52613         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
52614         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
52615         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
52616         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
52617         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52618         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
52619         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
52620         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
52621         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52622         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
52623         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
52624         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52625         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
52626         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52627         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52628         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52629         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52630         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52631         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52632         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
52633         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
52634         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
52635         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
52636         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52637         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52639 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
52641         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
52642         (__MALLOC_PMT): Likewise.
52643         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
52644         [__GNUC__], only on [_LIBC].
52645         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
52646         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
52647         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
52648         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
52649         forward declaration.
52650         (realloc_hook_ini): Likewise.
52651         (memalign_hook_ini): Likewise.
52652         (__libc_memalign): Do not use __MALLOC_PMT in variable
52653         declaration.
52654         (__libc_valloc): Likewise.
52655         (__libc_pvalloc): Likewise.
52656         (__libc_calloc): Likewise.
52657         (__posix_memalign): Likewise.
52659         [BZ #14996]
52660         * math/s_casinh.c: Include <float.h>.
52661         (__casinh): Do not do computation with squaring and square root
52662         for large arguments.
52663         * math/s_casinhf.c: Include <float.h>.
52664         (__casinhf): Do not do computation with squaring and square root
52665         for large arguments.
52666         * math/s_casinhl.c: Include <float.h>.
52667         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
52668         (__casinhl): Do not do computation with squaring and square root
52669         for large arguments.
52670         * math/libm-test.inc (casin_test): Add more tests.
52671         (casinh_test): Likewise.
52672         * sysdeps/i386/fpu/libm-test-ulps: Update.
52673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52675 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
52677         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
52678         (__x86_64_raw_data_cache_size): Likewise.
52679         (__x86_64_data_cache_size_half): Likewise.
52680         (__x86_64_raw_data_cache_size_half): Likewise.
52681         (__x86_64_shared_cache_size): Likewise.
52682         (__x86_64_raw_shared_cache_size): Likewise.
52683         (__x86_64_shared_cache_size_half): Likewise.
52684         (__x86_64_raw_shared_cache_size_half): Likewise.
52685         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
52686         to ...
52687         (__x86_data_cache_size): This.
52688         (__x86_64_raw_data_cache_size): Renamed to ...
52689         (__x86_raw_data_cache_size): This.
52690         (__x86_64_data_cache_size_half): Renamed to ...
52691         (__x86_data_cache_size_half): This.
52692         (__x86_64_raw_data_cache_size_half): Renamed to ...
52693         (__x86_raw_data_cache_size_half): This.
52694         (__x86_64_shared_cache_size): Renamed to ...
52695         (__x86_shared_cache_size): This.
52696         (__x86_64_raw_shared_cache_size): Renamed to ...
52697         (__x86_raw_shared_cache_size): This.
52698         (__x86_64_shared_cache_size_half): Renamed to ...
52699         (__x86_shared_cache_size_half): This.
52700         (__x86_64_raw_shared_cache_size_half): Renamed to ...
52701         (__x86_raw_shared_cache_size_half): This.
52702         * sysdeps/x86_64/memcpy.S: Updated.
52703         * sysdeps/x86_64/memset.S: Likewise.
52704         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
52705         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52706         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52708 2013-01-04  David S. Miller  <davem@davemloft.net>
52710         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52712 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
52714         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
52715         1 to avoid redefinition warning.
52716         (__USE_GNU): Don't define.
52717         (init_signaling_nan): Protoize.
52719         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52721 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52723         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
52724         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
52725         (__cpymn): Likewise.
52726         (norm): Remove commented code.
52727         (denorm): Likewise.
52728         (__mp_dbl): Likewise.
52729         (__inv): Likewise.
52730         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
52731         (__cpymn): Likewise.
52732         (norm): Remove commented code.
52733         (denorm): Likewise.
52734         (__mp_dbl): Likewise.
52735         (__inv): Likewise.
52737         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
52738         mp_no value for 1.0 and 2.0.
52739         (norm): Use RADIXI instead of radixi.d.
52740         (denorm): Likewise.
52741         (__mul): Use 0.0 instead of zero.d.
52742         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
52743         mp_no value for 1.0 and 2.0.
52744         (norm): Use RADIXI instead of radixi.d.
52745         (denorm): Likewise.
52746         (__mul): Use 0.0 instead of zero.d.
52748 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
52750         [BZ #14994]
52751         * math/s_casinh.c (__casinh): Reduce finite argument to first
52752         quadrant then set signs of results at the end.
52753         * math/s_casinhf.c (__casinhf): Likewise.
52754         * math/s_casinhl.c (__casinhl): Likewise.
52755         * math/libm-test.inc (casin_test): Add more tests.
52756         (casinh_test): Likewise.
52757         * sysdeps/i386/fpu/libm-test-ulps: Update.
52758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52760 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52762         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
52764         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
52766         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
52767         declarations.
52768         (denorm): Likewise.
52769         (__mp_dbl): Likewise.
52770         (__inv): Likewise.
52772         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
52773         and adjust the header comment.
52775         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
52776         variable name from declaration.
52778 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
52780         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52781         Initialize COMMON_CPUID_INDEX_7 element.
52782         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
52783         (CPUID_RTM): Likewise.
52784         (HAS_RTM): Likewise.
52785         (COMMON_CPUID_INDEX_7): New enum.
52787 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
52789         [BZ #14981]
52790         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
52791         size is zero, record memory as freed.
52793 2013-01-03  Andreas Jaeger  <aj@suse.de>
52795         * po/ia.po: Add new Interlingua translation.
52797 2012-01-03  Allan McRae  <allan@archlinux.org>
52799         * locale/programs/localedef.c: Fix description of '--posix' flag.
52801 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
52803         * NEWS: Update dates in second copyright notice.
52804         * README: Update copyright dates in example.
52805         * manual/libc.texinfo: Update copyright dates.
52806         * scripts/test-installation.pl: Update copyright date in --version
52807         output.
52809         * hurd/ctty-input.c: Fix copyright notice formatting.
52810         * hurd/ctty-output.c: Likewise.
52811         * hurd/dtable.c: Likewise.
52812         * hurd/hurd-raise.c: Likewise.
52813         * hurd/hurdprio.c: Likewise.
52814         * hurd/msgportdemux.c: Likewise.
52815         * misc/sys/file.h: Likewise.
52816         * misc/sys/ioctl.h: Likewise.
52817         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
52818         * sysdeps/mach/hurd/chdir.c: Likewise.
52819         * sysdeps/mach/hurd/fchdir.c: Likewise.
52820         * sysdeps/mach/hurd/rename.c: Likewise.
52821         * sysdeps/mach/hurd/rmdir.c: Likewise.
52822         * sysdeps/mach/hurd/seekdir.c: Likewise.
52823         * sysdeps/mach/hurd/setsid.c: Likewise.
52824         * sysdeps/posix/wait3.c: Likewise.
52826         * All files with FSF copyright notices: Update copyright dates
52827         using scripts/update-copyrights.
52828         * intl/plural.c: Regenerated.
52829         * locale/programs/charmap-kw.h: Likewise.
52830         * locale/programs/locfile-kw.h: Likewise.
52832 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52834         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
52835         four values.
52837         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
52838         calculation loop and add branch prediction.
52840         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
52841         check access beyond bounds of m1np.
52843         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
52844         MPTWO.
52845         (__inv): Remove local variable MPTWO to use the global
52846         constant.
52847         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
52848         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
52849         variable MPTWO.
52850         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
52851         MP3HALFS static const.
52853 2013-01-01  David S. Miller  <davem@davemloft.net>
52855         * po/ca.po: Update from translation team.
52857 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
52859         * scripts/update-copyrights: New file.
52860         * Makeconfig: Reformat copyright notice.
52861         * ctype/ctype.h: Likewise.
52862         * debug/swprintf_chk.c: Likewise.
52863         * elf/dl-cache.c: Likewise.
52864         * elf/dl-debug.c: Likewise.
52865         * elf/dl-object.c: Likewise.
52866         * grp/initgroups.c: Likewise.
52867         * hurd/Makefile: Likewise.
52868         * hurd/hurd/signal.h: Likewise.
52869         * hurd/hurdfault.c: Likewise.
52870         * hurd/hurdioctl.c: Likewise.
52871         * hurd/hurdlookup.c: Likewise.
52872         * hurd/intr-msg.c: Likewise.
52873         * iconv/gconv_open.c: Likewise.
52874         * libio/swprintf.c: Likewise.
52875         * locale/lc-ctype.c: Likewise.
52876         * locale/nl_langinfo.c: Likewise.
52877         * mach/Machrules: Likewise.
52878         * mach/Makefile: Likewise.
52879         * malloc/obstack.h: Likewise.
52880         * manual/Makefile: Likewise.
52881         * manual/tsort.awk: Likewise.
52882         * misc/bits/stab.def: Likewise.
52883         * nis/nis_print_group_entry.c: Likewise.
52884         * nis/nis_table.c: Likewise.
52885         * nis/nss_compat/compat-pwd.c: Likewise.
52886         * nis/nss_compat/compat-spwd.c: Likewise.
52887         * po/Makefile: Likewise.
52888         * posix/fnmatch.c: Likewise.
52889         * posix/regex.h: Likewise.
52890         * resolv/Makefile: Likewise.
52891         * resolv/nss_dns/dns-network.c: Likewise.
52892         * resolv/res_hconf.c: Likewise.
52893         * scripts/gen-sorted.awk: Likewise.
52894         * soft-fp/soft-fp.h: Likewise.
52895         * stdio-common/printf.h: Likewise.
52896         * stdlib/monetary.h: Likewise.
52897         * stdlib/random.c: Likewise.
52898         * stdlib/random_r.c: Likewise.
52899         * sysdeps/generic/Makefile: Likewise.
52900         * sysdeps/gnu/Makefile: Likewise.
52901         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52902         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52903         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52904         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52905         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52906         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52907         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52908         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52909         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52910         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52911         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52912         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52913         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52914         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52915         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
52916         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52917         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52918         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52919         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52920         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52921         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52922         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52923         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52924         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
52925         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
52926         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52927         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
52928         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
52929         * sysdeps/mach/hurd/errnos.awk: Likewise.
52930         * sysdeps/mach/hurd/fork.c: Likewise.
52931         * sysdeps/mach/hurd/getcwd.c: Likewise.
52932         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
52933         * sysdeps/mach/hurd/mmap.c: Likewise.
52934         * sysdeps/mach/hurd/utimes.c: Likewise.
52935         * sysdeps/mach/hurd/xmknod.c: Likewise.
52936         * sysdeps/posix/profil.c: Likewise.
52937         * sysdeps/posix/readdir_r.c: Likewise.
52938         * sysdeps/powerpc/bits/mathdef.h: Likewise.
52939         * sysdeps/powerpc/bits/setjmp.h: Likewise.
52940         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
52941         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
52942         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52943         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52944         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52945         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52946         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52947         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52948         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52949         * sysdeps/pthread/lio_listio.c: Likewise.
52950         * sysdeps/sparc/dl-procinfo.h: Likewise.
52951         * sysdeps/unix/i386/sysdep.S: Likewise.
52952         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
52953         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
52954         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
52955         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
52956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52957         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
52958         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
52959         * sysdeps/unix/sysv/linux/speed.c: Likewise.
52960         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
52961         * sysdeps/wordsize-32/divdi3.c: Likewise.
52962         * time/sys/time.h: Likewise.
52963         * wcsmbs/Makefile: Likewise.
52965 2013-01-01  David S. Miller  <davem@davemloft.net>
52967         * po/fr.po: Update from translation team.
52969         * catgets/gencat.c: Update copyright year.
52970         * csu/version.c: Likewise.
52971         * debug/catchsegv.sh: Likewise.
52972         * debug/pcprofiledump.c: Likewise.
52973         * debug/xtrace.sh: Likewise.
52974         * elf/ldconfig.c: Likewise.
52975         * elf/ldd.bash.in: Likewise.
52976         * elf/pldd.c: Likewise.
52977         * elf/sotruss.ksh: Likewise.
52978         * elf/sprof.c: Likewise.
52979         * iconv/iconv_prog.c: Likewise.
52980         * iconv/iconvconfig.c: Likewise.
52981         * locale/programs/locale.c: Likewise.
52982         * locale/programs/localedef.c: Likewise.
52983         * login/programs/pt_chown.c: Likewise.
52984         * malloc/memusage.sh: Likewise.
52985         * malloc/memusagestat.c: Likewise.
52986         * malloc/mtrace.pl: Likewise.
52987         * nscd/nscd.c: Likewise.
52988         * nss/getent.c: Likewise.
52989         * nss/makedb.c: Likewise.
52990         * posix/getconf.c: Likewise.
52992 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52994         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
52995         numbers.
52997 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
52999         * math/bits/mathcalls.h (modf): Use __nonnull.
53001 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53003         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
53004         (split): Use macro CN instead of the bare value.
53005         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
53006         could be used.
53007         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
53008         instead of the bare value.
53009         (power1): Likewise.
53011 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53013         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
53014         __ATAN_TWOM.
53015         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53017         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
53018         their values.
53019         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
53020         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53021         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
53022         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
53024 2012-12-28  Andreas Jaeger  <aj@suse.de>
53026         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
53027         values are from Linux 3.7.
53029         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
53030         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
53032 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53034         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
53035         TRUE case.
53037         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
53038         (norm): Likewise.
53039         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
53040         variables with preprocessor constants.
53041         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53042         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
53043         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
53045 2012-12-27  Bruno Haible  <bruno@clisp.org>
53047         [BZ #14317]
53048         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
53049         only if needed.
53051 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53053         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
53054         and use variable directly.
53055         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
53057         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
53058         MPONE.
53059         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
53060         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
53061         variable MPONE.
53062         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53063         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
53064         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
53065         include directive.  Remove local variable MPONE.
53066         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
53067         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
53068         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53070 2012-12-25  David S. Miller  <davem@davemloft.net>
53072         * version.h (RELEASE): Set to "development".
53073         (VERSION): Set to "2.17.90".
53074         * NEWS: Add 2.18 section.
53076 2012-12-21  David S. Miller  <davem@davemloft.net>
53078         * po/hr.po: Update from translation team.
53080 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53082         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
53084 2012-12-19  Steve Ellcey  <sellcey@mips.com>
53086         * NEWS:  Mention new memcpy for MIPS.
53088 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53090         * manual/contrib.texi (Contributors): Spelling correction.
53092 2012-12-15  David S. Miller  <davem@davemloft.net>
53094         * po/ru.po: Update from translation team.
53096 2012-12-13  David S. Miller  <davem@davemloft.net>
53098         * NEWS: Mention IFUNC testsuite enhancements.
53100         * po/pl.po: Update from translation team.
53101         * po/bg.po: Likewise.
53103         * manual/contrib.texi (Contributors): Update entries for Hongjiu
53104         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
53106 2012-12-11  David S. Miller  <davem@davemloft.net>
53108         * po/sv.po: Update from translation team.
53110         * po/vi.po: Update from translation team.
53112         * po/cs.po: Update from translation team.
53114         * po/de.po: Update from translation team.
53115         * po/eo.po: Likewise.
53116         * po/nl.po: Likewise.
53118 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53120         [BZ #14246]
53121         * manual/argp.texi (Argp Helper Functions): Move node to follow
53122         Argp Parsing State.
53124         [BZ #14872]
53125         * manual/conf.texi (Limits on File System Capacity): Mention if
53126         terminating null is included in the max size.
53128 2012-12-10  Andreas Jaeger  <aj@suse.de>
53130         * po/cs.po: Update from translation team.
53132 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53134         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
53135         void pointer and cast to uintptr_t.
53136         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
53137         path.
53138         * sysdeps/s390/s390-64/memcpy.S: Likewise.
53139         * sysdeps/s390/s390-64/memset.S: Likewise.
53141 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
53143         [BZ #14833]
53144         * menual/message.texi (Message Translation): Fix typos.
53145         (Helper programs for gettext): Likewise.
53147 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
53149         [BZ #14898]
53150         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
53151         Change to -1.
53153 2012-12-07  David S. Miller  <davem@davemloft.net>
53155         * po/libc.pot: Update.
53157 2012-12-07  Richard Henderson  <rth@redhat.com>
53159         [BZ #10114]
53160         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
53161         normal/normal case to before the switch.
53162         (_FP_DIV): Likewise.
53164 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
53165             Mike Frysinger  <vapier@gentoo.org>
53167         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
53168         check for __NR_fadvise64_64.
53170 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
53172         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
53173         0, not just to plain "0" as a statement.
53174         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
53175         with cw.
53177 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
53179         * NEWS: Use sourceware.org in Bugzilla URL.
53181 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
53183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
53184         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
53186         * stdio-common/tst-put-error.c (do_test): Add newline to the
53187         padded test to ensure flush.
53189 2012-12-05  Jeff Law  <law@redhat.com>
53191         * sunrpc/etc.rpc (fedfs_admin): Add entry.
53193 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
53195         * README: Don't refer to ports add-on as distributed separately.
53196         Mention AArch64 in list of systems supported in the ports add-on.
53198         * LICENSES: Add more non-FSF copyright and license notices.
53200         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
53201         ((unused)).
53203         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
53205         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
53206         10000 as width of padded output.
53208 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
53210         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
53212         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
53213         variable LX with __attribute__ ((unused)).
53214         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
53215         Likewise.
53216         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
53217         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53218         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
53219         with __attribute__ ((unused)).
53221 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
53223         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
53225 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
53227         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
53228         (CFLAGS-nldbl-acos.c): New variable.
53229         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
53230         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
53231         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
53232         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
53233         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
53234         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
53235         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
53236         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
53237         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
53238         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
53239         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
53240         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
53241         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
53242         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
53243         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
53244         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
53245         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
53246         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
53247         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
53248         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
53249         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
53250         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
53251         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
53252         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
53253         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
53254         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
53255         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
53256         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
53257         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
53258         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
53259         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
53260         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
53261         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
53262         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
53263         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
53264         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
53265         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
53266         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
53267         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
53268         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
53269         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
53270         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
53271         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
53272         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
53273         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
53274         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
53275         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
53276         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
53277         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
53278         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
53279         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
53280         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
53281         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
53282         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
53283         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
53284         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
53285         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
53286         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
53287         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
53288         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
53289         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
53290         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
53291         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
53292         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
53293         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
53294         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
53295         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
53296         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
53297         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
53298         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
53299         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
53300         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
53301         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
53302         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
53303         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
53304         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
53305         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
53306         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
53307         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
53308         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
53309         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
53310         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
53311         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
53312         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
53313         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
53314         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
53315         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
53316         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
53317         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
53318         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
53319         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
53320         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
53321         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
53322         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
53323         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
53324         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
53325         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
53327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
53328         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
53330         [BZ #14914]
53331         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
53332         whole low double instead of just low 47 bits when splitting values
53333         into two parts.
53335 2012-12-03  Allan McRae  <allan@archlinux.org>
53337         * manual/stdio.texi (Predefined Printf Handlers): Remove
53338         @hsep and @vsep usage.
53340 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
53342         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
53343         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
53345 2012-12-03  Jeff Law  <law@redhat.com>
53347         * time/sys/time.h (settimeofday): Do not mark TV argument
53348         as __nonnull.
53350 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
53352         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
53353         when currently writing and seek to current position when not.
53354         * libio/Makefile (tests): Remove bug-fclose1.
53355         * libio/bug-fclose1.c: Delete.
53357 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
53359         * manual/arith.texi (feenableexcept): Fix typo.
53360         (fedisableexcept): Likewise.
53362 2012-11-30  Roland McGrath  <roland@hack.frob.com>
53364         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
53365         second, differently-typed declaration, rather than a cast.
53367 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53369         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
53370         * include/rpc/svc.h: ... here.
53372 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
53374         [BZ #13013]
53375         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
53376         depending n and resplen2 to catch cases where answer
53377         equals answerp2.
53379 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
53381         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
53382         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
53384 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
53386         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
53388 2012-11-29  Roland McGrath  <roland@hack.frob.com>
53390         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
53392 2012-11-28  Jeff Law  <law@redhat.com>
53394         [BZ #13761]
53395         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
53396         dataset_temporary.  Track alloca usage into alloca_used.
53397         If dataset is large allocate and release it via malloc/free.
53399 2012-06-04  Florian Weimer  <fweimer@redhat.com>
53401         [BZ #14197]
53402         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
53404 2012-11-28  David S. Miller  <davem@davemloft.net>
53406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53408 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
53410         [BZ #14803]
53411         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
53412         of pi/2 rounded to nearest to 64 bits.
53413         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
53414         nearest to 64 bits.
53415         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
53416         bits.
53418 2012-11-28  Jeff Law <law@redhat.com>
53419             Martin Osvald <mosvald@redhat.com>
53421         [BZ #14889]
53422         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
53423         * sunrpc/svc.c: Include time.h.
53424         (__svc_accept_failed): New function.
53425         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
53426         any reason other than EINTR, call __svc_accept_failed.
53427         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
53428         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
53430 2012-11-28  Andreas Schwab  <schwab@suse.de>
53432         * scripts/abilist.awk: Also handle indirect functions in .opd
53433         section.
53435 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
53437         [BZ #13881]
53438         * sysdeps/x86/fpu/powl_helper.c: New file.
53439         * sysdeps/x86/fpu/Makefile: Likewise.
53440         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
53441         (p3): New object.
53442         (__ieee754_powl): Use __powl_helper for finite arguments except
53443         integer exponents below 8.
53444         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
53445         (p3): New object.
53446         (__ieee754_powl): Use __powl_helper for finite arguments except
53447         integer exponents below 8.
53448         * math/libm-test.inc (pow_test): Add more tests and enable some
53449         previously disabled tests.
53450         * sysdeps/i386/fpu/libm-test-ulps: Update.
53451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53453 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53454             Carlos O'Donell  <carlos_odonell@mentor.com>
53456         * nss/makedb.c (is_prime): Assert that input is odd and greater
53457         than 4.  Note that fact in a comment too.
53458         (next_prime): Add 4 to input.
53460 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53462         [BZ #11741]
53463         * libio/Makefile (tests): Add test case tst-fwrite-error.
53464         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
53465         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
53466         * libio/tst-fwrite-error.c: New test case.
53468 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
53470         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
53471         before casting to void *.
53472         * include/libc-internal.h (__pointer_type): New macro.
53473         (__integer_if_pointer_type_sub): Likewise.
53474         (__integer_if_pointer_type): Likewise.
53475         (cast_to_integer): Likewise.
53476         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
53477         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
53478         before casting to atomic64_t.
53479         (atomic_exchange_acq): Likewise.
53480         (__arch_exchange_and_add_body): Likewise.
53481         (__arch_add_body): Likewise.
53482         (atomic_add_negative): Likewise.
53483         (atomic_add_zero): Likewise.
53485 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
53487         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
53488         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
53489         (add_fdes): Likewise.
53490         (linear_search_fdes): Likewise.
53491         (binary_search_unencoded_fdes): Likewise.
53493 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
53495         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
53497 2012-11-24  Adam Conrad  <adconrad@0c3.net>
53499         * configure.in: Autodetect C++ header directories.
53500         * configure: Regenerated.
53502 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
53504         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
53506 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
53508         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53510 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
53512         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
53513         LDBL_MANT_DIG == 106]: Disable some tests.
53514         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
53515         Likewise.
53516         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
53517         Likewise.
53519         [BZ #14871]
53520         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
53521         input for small inputs.  Return +/- pi/2 for large inputs.
53522         * math/libm-test.inc (atan_test): Add more tests.
53524         * sysdeps/generic/unwind-dw2-fde-glibc.c
53525         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
53526         __attribute__ ((unused)).
53528         [BZ #14645]
53529         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
53530         x * y if x and y are nonzero and z is zero.
53532         [BZ #14811]
53533         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
53534         nonzero exponents with absolute value below 0x1p-117 to +/-
53535         0x1p-117.
53537         [BZ #14869]
53538         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
53539         up arguments below 2**-450, not just those below 2**-500.
53540         * math/libm-test.inc (hypot_test): Add another test.
53542         [BZ #14868]
53543         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
53544         Return a+b for ratio over 2**120, not 2**60.
53545         * math/libm-test.inc (hypot_test): Add another test.
53547         * math/libm-test.inc (clog_test): Use
53548         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
53549         (clog10_test): Likewise.
53551         [BZ #6778]
53552         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
53554 2012-11-22  Andreas Schwab  <schwab@suse.de>
53556         * sysdeps/i386/fpu/libm-test-ulps: Update.
53558 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
53560         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
53561         printf output with newline.
53563 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
53565         [BZ #14865]
53566         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
53567         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
53568         -z nodlopen, -z initfirst and -z execstack support.
53569         * configure: Regenerated.
53571         * elf/elf.h (DF_1_NODIRECT): New macro.
53572         (DF_1_IGNMULDEF): Likewise.
53573         (DF_1_NOKSYMS): Likewise.
53574         (DF_1_NOHDR): Likewise.
53575         (DF_1_EDITED): Likewise.
53576         (DF_1_NORELOC): Likewise.
53577         (DF_1_SYMINTPOSE): Likewise.
53578         (DF_1_GLOBAUDIT): Likewise.
53579         (DF_1_SINGLETON): Likewise.
53580         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
53581         DT_1_SUPPORTED_MASK bits.
53582         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
53584 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
53586         * sysdeps/unix/make-syscalls.sh: Document prefixes.
53588 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
53590         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
53591         macro.
53593         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
53594         (sendmmsg): Move declarations...
53595         * socket/sys/socket.h: ... here.
53596         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
53597         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
53598         include it from...
53599         * socket/recvmmsg.c: ... this new file.
53600         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
53601         (sendmmsg): Rename to __sendmmsg, create weak alias and make
53602         definition of __sendmmsg hidden.
53603         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
53604         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
53605         Move ENOSYS stub into and include it from...
53606         * socket/sendmmsg.c: ... this new file.
53607         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
53608         (sysdep_routines): Move recvmmsg and sendmmsg...
53609         * socket/Makefile (routines): ... here.
53610         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
53611         (GLIBC_PRIVATE): Add __sendmmsg.
53612         * include/sys/socket.h (__sendmmsg): Add declarations.
53613         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
53614         sendmmsg.
53616 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
53618         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
53619         variable I1 with __attribute__ ((unused)).
53620         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53622 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
53624         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
53625         DUMMY variables with __attribute__ ((unused)).
53627         * bits/byteswap.h: Include <bits/types.h>.
53628         (__bswap_64): Use __uint64_t instead of unsigned long long int.
53630 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
53632         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
53633         string_t.  Do not manually set errno.
53634         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
53635         length with __strnlen.  Make sure to both set errno and return it on
53636         failure.
53638 2012-11-19  David S. Miller  <davem@davemloft.net>
53640         With help from Joseph Myers.
53641         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
53642         very large arguments properly.
53643         * math/libm-test.inc (atan_test): New tests.
53644         (atan2_test): New tests.
53645         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53646         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53648 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
53650         [BZ #14856]
53651         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
53652         Define to 3.
53654         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
53655         [POSIX] (EADDRNOTAVAIL): Likewise.
53656         [POSIX] (EAFNOSUPPORT): Likewise.
53657         [POSIX] (EALREADY): Likewise.
53658         [POSIX] (ECONNABORTED): Likewise.
53659         [POSIX] (ECONNREFUSED): Likewise.
53660         [POSIX] (ECONNRESET): Likewise.
53661         [POSIX] (EDESTADDRREQ): Likewise.
53662         [POSIX] (EDQUOT): Likewise.
53663         [POSIX] (EHOSTUNREACH): Likewise.
53664         [POSIX] (EIDRM): Likewise.
53665         [POSIX] (EISCONN): Likewise.
53666         [POSIX] (ELOOP): Likewise.
53667         [POSIX] (EMULTIHOP): Likewise.
53668         [POSIX] (ENETDOWN): Likewise.
53669         [POSIX] (ENETUNREACH): Likewise.
53670         [POSIX] (ENOBUFS): Likewise.
53671         [POSIX] (ENODATA): Likewise.
53672         [POSIX] (ENOLINK): Likewise.
53673         [POSIX] (ENOMSG): Likewise.
53674         [POSIX] (ENOPROTOOPT): Likewise.
53675         [POSIX] (ENOSR): Likewise.
53676         [POSIX] (ENOSTR): Likewise.
53677         [POSIX] (ENOTCONN): Likewise.
53678         [POSIX] (ENOTSOCK): Likewise.
53679         [POSIX] (EOPNOTSUPP): Likewise.
53680         [POSIX] (EOVERFLOW): Likewise.
53681         [POSIX] (EPROTO): Likewise.
53682         [POSIX] (EPROTONOSUPPORT): Likewise.
53683         [POSIX] (EPROTOTYPE): Likewise.
53684         [POSIX] (ESTALE): Likewise.
53685         [POSIX] (ETIME): Likewise.
53686         [POSIX] (ETXTBSY): Likewise.
53687         [POSIX] (EWOULDBLOCK): Likewise.
53688         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
53689         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
53690         [POSIX] (SEEK_CUR): Likewise.
53691         [POSIX] (SEEK_END): Likewise.
53692         [POSIX || UNIX98] (mode_t): Do not require.
53693         [POSIX] (off_t): Likewise.
53694         [POSIX] (pid_t): Likewise.
53695         [POSIX] (sys/stat.h): Do not allow header.
53696         [POSIX] (unistd.h): Likewise.
53697         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
53698         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
53699         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
53700         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
53701         require.
53702         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
53703         sigevent): Specify elements.
53704         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
53705         entry.
53706         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
53707         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
53709         * conform/data/cpio.h-data [POSIX]: Disable whole file.
53710         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
53711         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
53712         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
53713         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
53714         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
53715         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
53716         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
53717         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
53718         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
53719         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
53720         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
53721         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
53722         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
53723         Likewise.
53724         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
53725         Likewise.
53726         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
53727         Likewise.
53728         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
53729         Likewise.
53730         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
53731         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
53732         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
53733         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
53734         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
53735         Specify lower bound on value.
53736         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
53737         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
53738         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
53739         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
53740         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
53741         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
53742         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
53743         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
53744         value.
53745         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
53746         as optional.
53747         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
53748         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
53749         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
53750         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
53751         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
53752         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
53753         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
53754         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
53755         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
53756         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
53757         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
53758         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
53759         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
53760         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
53761         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
53762         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
53763         entry.
53764         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
53765         optional.
53766         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
53767         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
53768         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
53769         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
53770         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
53771         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
53772         Likewise.
53773         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
53774         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
53775         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
53776         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
53777         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
53778         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
53779         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
53780         as optional.
53781         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
53782         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
53783         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
53784         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
53785         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
53786         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
53787         specify as optional.
53788         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
53789         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
53790         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
53791         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
53792         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
53793         [XPG3] (NL_LANGMAX): Likewise.
53794         [POSIX || XPG3] (NL_MSGMAX): Likewise.
53795         [POSIX || XPG3] (NL_NMAX): Likewise.
53796         [POSIX || XPG3] (NL_SETMAX): Likewise.
53797         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
53798         [XPG3] (NZERO): Likewise.
53799         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
53800         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
53801         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
53802         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
53803         (REG_ERANGE): Expect.
53804         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
53805         optional-constant.
53806         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
53807         Use (void) in prototype.
53808         [POSIX] (*_t): Allow.
53809         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
53810         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
53811         (WRDE_BADVAL): Expect.
53813         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
53814         expect.
53815         [XPG3 || XPG4] (O_RSYNC): Likewise.
53816         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
53817         Likewise.
53818         [XPG3 || XPG4] (pthread_sigmask): Likewise.
53819         [XPG3 || XPG4] (sigqueue): Likewise.
53820         [XPG3 || XPG4] (sigtimedwait): Likewise.
53821         [XPG3 || XPG4] (sigwaitinfo): Likewise.
53822         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
53823         [XPG3 || XPG4] (vsnprintf): Likewise.
53824         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
53825         Likewise.
53826         [XPG3 || XPG4] (blksize_t): Likewise.
53827         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
53828         Likewise.
53829         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
53830         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
53831         [XPG3 || XPG4] (struct itimerspec): Likewise.
53832         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
53833         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
53834         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
53835         [XPG3 || XPG4] (clockid_t): Likewise.
53836         [XPG3 || XPG4] (timer_t): Likewise.
53837         [XPG3 || XPG4] (clock_getres): Likewise.
53838         [XPG3 || XPG4] (clock_gettime): Likewise.
53839         [XPG3 || XPG4] (clock_settime): Likewise.
53840         [XPG3 || XPG4] (nanosleep): Likewise.
53841         [XPG3 || XPG4] (timer_create): Likewise.
53842         [XPG3 || XPG4] (timer_delete): Likewise.
53843         [XPG3 || XPG4] (timer_gettime): Likewise.
53844         [XPG3 || XPG4] (timer_getoverrun): Likewise.
53845         [XPG3 || XPG4] (timer_settime): Likewise.
53846         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
53847         [XPG3 || XPG4] (getlogin_r): Likewise.
53848         [XPG3 || XPG4] (pread): Likewise.
53849         [XPG3 || XPG4] (pthread_atfork): Likewise.
53850         [XPG3 || XPG4] (pwrite): Likewise.
53852         [BZ #14835]
53853         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
53854         <bits/siginfo.h>.
53856 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
53858         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
53859         finalizing MALLSTREAM.
53861         * sysdeps/mach/hurd/syncfs.c: New file.
53863 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53865         [BZ #14719]
53866         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
53867         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
53868         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
53869         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
53870         (_nss_dns_gethostbyname4_r): Likewise.
53871         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
53872         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
53874 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
53876         [BZ #13763]
53877         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
53879 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
53881         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
53882         * elf/cache.c (print_entry): Print ",AArch64" for
53883         FLAG_AARCH64_LIB64
53885         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
53886         * elf/cache.c (print_entry): Print ",hard-float" for
53887         FLAG_ARM_LIBHF.
53889 2012-11-18  David S. Miller  <davem@davemloft.net>
53891         With help from Joseph Myers.
53892         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
53893         cutoff to 2**-13.
53894         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
53895         cutoff to 2**-25.
53896         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
53897         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
53898         small.
53899         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
53900         * math/libm-test.inc (y0_test): New tests.
53901         (y1_test): New tests.
53902         * sysdeps/i386/fpu/libm-test-ulps: Update.
53903         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53904         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53906 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
53908         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
53909         64-bit targets.
53910         * configure: Regenerated.
53912 2012-11-17  David S. Miller  <davem@davemloft.net>
53914         [BZ #14811]
53915         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
53916         nonzero exponents with absolute value below 0x1p-128 to +/-
53917         0x1p-128.
53919 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
53921         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
53923         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
53925         * posix/getconf-speclist.c: New file.
53926         * posix/posix-envs.def: Likewise.
53927         * posix/confstr.c (START_ENV_GROUP): New macro.
53928         (END_ENV_GROUP): Likewise.
53929         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
53930         (KNOWN_PRESENT_ENV_STRING): Likewise.
53931         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
53932         (UNKNOWN_ENVIRONMENT): Likewise.
53933         (confstr): Include posix-envs.def instead of handling
53934         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
53935         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
53936         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
53937         (END_ENV_GROUP): Likewise.
53938         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
53939         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
53940         (UNKNOWN_ENVIRONMENT): Likewise.
53941         (__sysconf): Include posix-envs.def instead of handling associated
53942         cases directly here.
53943         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
53944         preprocessing getconf-speclist.c rather than running getconf or
53945         generating empty file.
53947 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
53949         * scripts/check-local-headers.sh: Ignore 'mach' headers.
53951 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
53953         [BZ #14672]
53954         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
53956 2012-11-16  David S. Miller  <davem@davemloft.net>
53958         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
53959         smaller than LDBL_EPSILON/2.0L, just return xm1.
53961 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
53963         * elf/tst-array1.c (init): Set constructor priority to 1000.
53964         (fini): Set destructor priority to 1000.
53965         * elf/tst-array2dep.c: Likewise.
53967 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53969         [BZ #11741]
53970         * libio/fileops.c (_IO_new_file_write): Correctly return error.
53971         (_IO_new_file_xsputn): Also return EOF if none of the input
53972         data was written when overflow failed.
53973         * libio/iopadn.c (_IO_padn): Likewise.
53974         * libio/iowpadn.c (_IO_wpadn): Likewise.
53975         * stdio-common/tst-put-error.c: Add copyright notice.
53976         (do_test): Add case for printing padded string.
53977         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
53978         _IO_padn returned error.
53979         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
53980         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
53981         return EOF.
53983 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53985         * libio/libioP.h: Add comment note that the references to C++
53986         bits are now obsolete.
53988 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53990         * math/libm-test.inc (check_complex): Use asprintf.
53992 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
53994         * debug/pcprofiledump.c (print_version): Update copyright year.
53995         * malloc/memusagestat.c (print_version): Likewise.
53997 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
53999         [BZ #14831]
54000         * elf/Makefile (tests): Add tst-audit8.
54001         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
54002         ($(objpfx)tst-audit8.out): New target.
54003         (tst-audit8-ENV): New variable.
54004         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
54005         audit if l_reloc_result is NULL.
54006         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
54007         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
54008         * elf/tst-audit8.c: New file.
54010 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54012         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
54013         * misc/Makefile (CFLAGS-select.c): Define.
54014         * posix/Makefile (CFLAGS-pause.c): Define.
54016 2012-11-13  David S. Miller  <davem@davemloft.net>
54018         * crypt/Makefile: Move test targets after toplevel Rules
54019         inclusion.  Grab any necessary sysdep routines when linking.
54020         * crypt/md5.c (md5_process_block): Remove define, we will always
54021         name it __md5_process_block.
54022         (md5_finish_ctx): Update md5_process_block call.
54023         (md5_stream): Likewise.
54024         (md5_process_bytes): Likewise.
54025         (md5_process_block): Rename to __md5_process_block and move to ...
54026         * crypt/md5-block.c: ... here.
54027         * crypt/sha256.c (sha256_process_block): Move to ...
54028         * crypt/sha256-block.c: ... here.
54029         * crypt/sha512.c (sha512_process_block): Move to ...
54030         * crypt/sha512-block.c: ... here.
54031         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
54032         path.
54033         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
54034         * sysdeps/sparc/sparc64/multiarch/Makefile
54035         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
54036         crypt subdir.
54037         (localedef-aux): Add md5 crypto assembler when in locale subdir.
54038         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
54039         multiarch changes.
54040         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
54041         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
54042         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
54043         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
54044         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
54045         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
54046         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
54047         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
54048         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
54049         file.
54050         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
54051         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
54052         file.
54053         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
54055 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
54057         * timezone/tzselect.ksh: Update from tzcode git revision
54058         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
54059         * timezone/zdump.c: Likewise.
54060         * timezone/zic.c: Likewise.
54061         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
54062         in TZVERSION setting, not $(PKGVERSION).
54063         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
54064         REPORT_BUGS_TO settings.
54066         [BZ #14838]
54067         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
54068         macro.
54070 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54072         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
54073         detection to immediately after _FP_ROUND().
54074         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
54075         bits are 0.
54077 2012-11-11  David S. Miller  <davem@davemloft.net>
54079         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
54080         inttypes.h
54081         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
54082         __close rather than their public counterparts.
54084 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
54086         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
54087         file.
54088         [UNIX98] (sem_timedwait): Do not expect.
54089         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
54090         [XPG4 || UNIX98] (sockatmark): Do not expect.
54091         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
54092         (clock_getcpuclockid): Do not expect.
54093         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
54094         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
54095         Do not expect.
54096         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
54097         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
54098         [UNIX98] (vwscanf): Likewise.
54099         [UNIX98] (vswscanf): Likewise.
54101 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
54103         * timezone/version.h: Remove file.
54104         * timezone/README: Do not refer to version.h.
54105         * timezone/Makefile ($(objpfx)zic.o): New dependency on
54106         $(objpfx)version.h.
54107         ($(objpfx)zdump.o): Likewise.
54108         ($(objpfx)version.h): New target.
54110         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
54111         2012i.
54112         * timezone/README: Don't mention modification to tzselect.ksh.
54113         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
54114         work on unmodified tzselect.ksh.  Substitute version numbers in
54115         tzselect.ksh.
54117         * Makefile (format-me): Remove.
54118         (INSTALL): Adjust indentation.  Use commands directly instead of
54119         using $(format-me).
54121         * aclocal.m4 (ACX_PKGVERSION): New macro.
54122         (ACX_BUGURL): Likewise.
54123         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
54124         (PKGVERSION): New AC_DEFINE_UNQUOTED.
54125         (REPORT_BUGS_TO): Likewise.
54126         * configure: Regenerated.
54127         * config.h.in (PKGVERSION): New macro.
54128         (REPORT_BUGS_TO): Likewise.
54129         * config.make.in (PKGVERSION): New variable.
54130         (PKGVERSION_TEXI): Likewise.
54131         (REPORT_BUGS_TO): Likewise.
54132         (REPORT_BUGS_TEXI): Likewise.
54133         * Makefile (format-me): Use -I$(common-objpfx)manual.
54134         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
54135         ($(common-objpfx)manual/%): New target.
54136         (manual/%): Remove target.
54137         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
54138         (print_version): Use PKGVERSION.
54139         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
54140         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
54141         and REPORT_BUGS_TO.
54142         ($(objpfx)xtrace): Likewise.
54143         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
54144         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
54145         (print_version): Use PKGVERSION.
54146         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
54147         (do_version): Use PKGVERSION.
54148         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
54149         REPORT_BUGS_TO.
54150         (common-ldd-rewrite): Likewise.
54151         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
54152         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
54153         (print_version): Use PKGVERSION.
54154         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
54155         * elf/pldd.c (argp_program_bug_address): Remove variable.
54156         (more_help): New function.
54157         (argp): Use more_help.
54158         (print_version): Use PKGVERSION.
54159         * elf/sln.c (main): Use PKGVERSION.
54160         (usage): Use REPORT_BUGS_TO.
54161         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
54162         (top level): Use PKGVERSION.
54163         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
54164         (print_version): Use PKGVERSION.
54165         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
54166         (print_version): Use PKGVERSION.
54167         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
54168         (print_version): Use PKGVERSION.
54169         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
54170         (print_version): Use PKGVERSION.
54171         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
54172         (print_version): Use PKGVERSION.
54173         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
54174         (print_version): Use PKGVERSION.
54175         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
54176         and BUGURL.
54177         ($(objpfx)memusage): Likewise.
54178         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
54179         (do_version): Use PKGVERSION.
54180         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
54181         (print_version): Use PKGVERSION.
54182         * malloc/mtrace.pl ($PACKAGE): Remove variable.
54183         ($PKGVERSION): New variable.
54184         ($REPORT_BUGS_TO): Likewise.
54185         (usage): Use $REPORT_BUGS_TO.
54186         (top level): Use $PKGVERSION.
54187         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
54188         ($(objpfx)pkgvers.texi): New rule.
54189         ($(objpfx)stamp-pkgvers): Likewise.
54190         * manual/install.texi: Include pkgvers.texi.
54191         (--with-pkgversion): Document new configure option.
54192         (--with-bugurl): Likewise.
54193         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
54194         than necessarily for this particular distribution.  Use
54195         REPORT_BUGS_TO for where to report bugs.
54196         * INSTALL: Regenerated.
54197         * manual/libc.texinfo: Include pkgvers.texi.
54198         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
54199         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
54200         (print_version): Use PKGVERSION.
54201         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
54202         (print_version): Use PKGVERSION.
54203         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
54204         (print_version): Use PKGVERSION.
54205         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
54206         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
54207         macro.
54208         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
54209         (print_version): Use PKGVERSION.
54210         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
54211         (print_version): Use PKGVERSION.
54212         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
54213         and PKGVERSION.
54215         * timezone/checktab.awk: Update from tzcode 2012i.
54216         * timezone/ialloc.c: Likewise.
54217         * timezone/private.h: Likewise.
54218         * timezone/scheck.c: Likewise.
54219         * timezone/tzfile.h: Likewise.
54220         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
54221         (TZVERSION): Hardcode tzcode version number.
54222         * timezone/zdump.c: Update from tzcode 2012i.
54223         * timezone/zic.c: Likewise.
54224         * timezone/version.h: New file.
54225         * timezone/README: Describe version.h.  Update upstream location.
54227         [BZ #14824]
54228         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
54229         (mktemp): Enable declaration.
54230         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
54231         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
54232         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
54233         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
54234         Likewise.
54235         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
54236         Likewise.
54237         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
54238         Likewise.
54239         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
54240         Likewise.
54241         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
54242         Likewise.
54243         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
54244         Likewise.
54246         [BZ #14821]
54247         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
54248         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
54249         for copies of such integer values.
54250         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54251         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54253 2012-11-09  Andreas Jaeger  <aj@suse.de>
54255         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
54256         definitions and declarations that are provided by
54257         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
54259 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54261         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
54262         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
54263         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
54264         definition.
54266 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54268         * elf/elf.h: Update comment before AArch64 relocations.
54270 2012-11-07  David S. Miller  <davem@davemloft.net>
54272         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
54273         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54274         (__start_context): Declare.
54275         (__makecontext_ret): Delete.
54276         (__makecontext): Hook up __start_context instead of
54277         __makecontext_ret.
54278         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
54279         (sysdep_routines): Add __start_context when in stdlib.
54281 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54283         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
54284         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
54285         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
54286         hardcoded "nm".
54287         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
54288         (READELF): New variable.  Use it instead of hardcoded "readelf".
54290 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
54292         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
54293         * sysdeps/x86/Makefile: Here.
54294         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
54295         * sysdeps/x86/tst-xmmymm.sh: This.
54297 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54299         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
54300         expectations.
54301         [UNIX98] (pthread_barrier_t): Do not expect.
54302         [UNIX98] (pthread_barrierattr_t): Likewise.
54303         [UNIX98] (pthread_spinlock_t): Likewise.
54304         [UNIX98] (pthread_barrier_destroy): Likewise.
54305         [UNIX98] (pthread_barrier_init): Likewise.
54306         [UNIX98] (pthread_barrier_wait): Likewise.
54307         [UNIX98] (pthread_barrierattr_destroy): Likewise.
54308         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
54309         [UNIX98] (pthread_barrierattr_init): Likewise.
54310         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
54311         [UNIX98] (pthread_getcpuclockid): Likewise.
54312         [UNIX98] (pthread_mutex_timedlock): Likewise.
54313         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
54314         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
54315         [UNIX98] (pthread_sigmask): Likewise.
54316         [UNIX98] (pthread_spin_destroy): Likewise.
54317         [UNIX98] (pthread_spin_init): Likewise.
54318         [UNIX98] (pthread_spin_lock): Likewise.
54319         [UNIX98] (pthread_spin_trylock): Likewise.
54320         [UNIX98] (pthread_spin_unlock): Likewise.
54321         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
54322         Do not expect.
54323         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
54324         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
54325         [XPG3 || XPG4] (pthread_cond_t): Likewise.
54326         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
54327         [XPG3 || XPG4] (pthread_key_t): Likewise.
54328         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
54329         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
54330         [XPG3 || XPG4] (pthread_once_t): Likewise.
54331         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
54332         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
54333         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
54334         [XPG3 || XPG4] (pthread_t): Likewise.
54336         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
54337         not expect.
54338         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
54340         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
54341         Change function return type to int.
54343         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
54344         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
54345         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
54346         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
54347         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
54348         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
54349         [!POSIX] (posix_madvise): Likewise.
54350         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
54351         && !UNIX98].
54352         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
54353         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
54354         (mode_t): Likewise.
54355         (posix_mem_offset): Likewise.
54356         (posix_typed_mem_get_info): Likewise.
54357         (posix_typed_mem_open): Likewise.
54359         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
54360         Change condition to [XOPEN2K8].
54362         * conform/conformtest.pl: Preprocess allow-header data with -x c
54363         instead of from stdin.
54364         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
54365         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
54366         [C99-based standards] (cerfc): Likewise.
54367         [C99-based standards] (cexp2): Likewise.
54368         [C99-based standards] (cexpm1): Likewise.
54369         [C99-based standards] (clog10): Likewise.
54370         [C99-based standards] (clog1p): Likewise.
54371         [C99-based standards] (clog2): Likewise.
54372         [C99-based standards] (clgamma): Likewise.
54373         [C99-based standards] (ctgamma): Likewise.
54374         [C99-based standards] (cerff): Likewise.
54375         [C99-based standards] (cerfcf): Likewise.
54376         [C99-based standards] (cexp2f): Likewise.
54377         [C99-based standards] (cexpm1f): Likewise.
54378         [C99-based standards] (clog10f): Likewise.
54379         [C99-based standards] (clog1pf): Likewise.
54380         [C99-based standards] (clog2f): Likewise.
54381         [C99-based standards] (clgammaf): Likewise.
54382         [C99-based standards] (ctgammaf): Likewise.
54383         [C99-based standards] (cerfl): Likewise.
54384         [C99-based standards] (cerfcl): Likewise.
54385         [C99-based standards] (cexp2l): Likewise.
54386         [C99-based standards] (cexpm1l): Likewise.
54387         [C99-based standards] (clog10l): Likewise.
54388         [C99-based standards] (clog1pl): Likewise.
54389         [C99-based standards] (clog2l): Likewise.
54390         [C99-based standards] (clgammal): Likewise.
54391         [C99-based standards] (ctgammal): Likewise.
54392         * conform/data/inttypes.h-data [C99-based standards]: Include
54393         stdint.h-data.  Remove all expectations for stdint.h contents.
54394         [C99-based standards] (PRI*): Do not allow.
54395         [C99-based standards] (SCN*): Likewise.
54396         [C99-based standards] (*_t): Likewise.
54397         [C99-based-standards] (PRId8): Expect macro.
54398         [C99-based-standards] (PRIi8): Likewise.
54399         [C99-based-standards] (PRIo8): Likewise.
54400         [C99-based-standards] (PRIu8): Likewise.
54401         [C99-based-standards] (PRIx8): Likewise.
54402         [C99-based-standards] (PRIX8): Likewise.
54403         [C99-based-standards] (SCNd8): Likewise.
54404         [C99-based-standards] (SCNi8): Likewise.
54405         [C99-based-standards] (SCNo8): Likewise.
54406         [C99-based-standards] (SCNu8): Likewise.
54407         [C99-based-standards] (SCNx8): Likewise.
54408         [C99-based-standards] (PRIdLEAST8): Likewise.
54409         [C99-based-standards] (PRIiLEAST8): Likewise.
54410         [C99-based-standards] (PRIoLEAST8): Likewise.
54411         [C99-based-standards] (PRIuLEAST8): Likewise.
54412         [C99-based-standards] (PRIxLEAST8): Likewise.
54413         [C99-based-standards] (PRIXLEAST8): Likewise.
54414         [C99-based-standards] (SCNdLEAST8): Likewise.
54415         [C99-based-standards] (SCNiLEAST8): Likewise.
54416         [C99-based-standards] (SCNoLEAST8): Likewise.
54417         [C99-based-standards] (SCNuLEAST8): Likewise.
54418         [C99-based-standards] (SCNxLEAST8): Likewise.
54419         [C99-based-standards] (PRIdFAST8): Likewise.
54420         [C99-based-standards] (PRIiFAST8): Likewise.
54421         [C99-based-standards] (PRIoFAST8): Likewise.
54422         [C99-based-standards] (PRIuFAST8): Likewise.
54423         [C99-based-standards] (PRIxFAST8): Likewise.
54424         [C99-based-standards] (PRIXFAST8): Likewise.
54425         [C99-based-standards] (SCNdFAST8): Likewise.
54426         [C99-based-standards] (SCNiFAST8): Likewise.
54427         [C99-based-standards] (SCNoFAST8): Likewise.
54428         [C99-based-standards] (SCNuFAST8): Likewise.
54429         [C99-based-standards] (SCNxFAST8): Likewise.
54430         [C99-based-standards] (PRId16): Likewise.
54431         [C99-based-standards] (PRIi16): Likewise.
54432         [C99-based-standards] (PRIo16): Likewise.
54433         [C99-based-standards] (PRIu16): Likewise.
54434         [C99-based-standards] (PRIx16): Likewise.
54435         [C99-based-standards] (PRIX16): Likewise.
54436         [C99-based-standards] (SCNd16): Likewise.
54437         [C99-based-standards] (SCNi16): Likewise.
54438         [C99-based-standards] (SCNo16): Likewise.
54439         [C99-based-standards] (SCNu16): Likewise.
54440         [C99-based-standards] (SCNx16): Likewise.
54441         [C99-based-standards] (PRIdLEAST16): Likewise.
54442         [C99-based-standards] (PRIiLEAST16): Likewise.
54443         [C99-based-standards] (PRIoLEAST16): Likewise.
54444         [C99-based-standards] (PRIuLEAST16): Likewise.
54445         [C99-based-standards] (PRIxLEAST16): Likewise.
54446         [C99-based-standards] (PRIXLEAST16): Likewise.
54447         [C99-based-standards] (SCNdLEAST16): Likewise.
54448         [C99-based-standards] (SCNiLEAST16): Likewise.
54449         [C99-based-standards] (SCNoLEAST16): Likewise.
54450         [C99-based-standards] (SCNuLEAST16): Likewise.
54451         [C99-based-standards] (SCNxLEAST16): Likewise.
54452         [C99-based-standards] (PRIdFAST16): Likewise.
54453         [C99-based-standards] (PRIiFAST16): Likewise.
54454         [C99-based-standards] (PRIoFAST16): Likewise.
54455         [C99-based-standards] (PRIuFAST16): Likewise.
54456         [C99-based-standards] (PRIxFAST16): Likewise.
54457         [C99-based-standards] (PRIXFAST16): Likewise.
54458         [C99-based-standards] (SCNdFAST16): Likewise.
54459         [C99-based-standards] (SCNiFAST16): Likewise.
54460         [C99-based-standards] (SCNoFAST16): Likewise.
54461         [C99-based-standards] (SCNuFAST16): Likewise.
54462         [C99-based-standards] (SCNxFAST16): Likewise.
54463         [C99-based-standards] (PRId32): Likewise.
54464         [C99-based-standards] (PRIi32): Likewise.
54465         [C99-based-standards] (PRIo32): Likewise.
54466         [C99-based-standards] (PRIu32): Likewise.
54467         [C99-based-standards] (PRIx32): Likewise.
54468         [C99-based-standards] (PRIX32): Likewise.
54469         [C99-based-standards] (SCNd32): Likewise.
54470         [C99-based-standards] (SCNi32): Likewise.
54471         [C99-based-standards] (SCNo32): Likewise.
54472         [C99-based-standards] (SCNu32): Likewise.
54473         [C99-based-standards] (SCNx32): Likewise.
54474         [C99-based-standards] (PRIdLEAST32): Likewise.
54475         [C99-based-standards] (PRIiLEAST32): Likewise.
54476         [C99-based-standards] (PRIoLEAST32): Likewise.
54477         [C99-based-standards] (PRIuLEAST32): Likewise.
54478         [C99-based-standards] (PRIxLEAST32): Likewise.
54479         [C99-based-standards] (PRIXLEAST32): Likewise.
54480         [C99-based-standards] (SCNdLEAST32): Likewise.
54481         [C99-based-standards] (SCNiLEAST32): Likewise.
54482         [C99-based-standards] (SCNoLEAST32): Likewise.
54483         [C99-based-standards] (SCNuLEAST32): Likewise.
54484         [C99-based-standards] (SCNxLEAST32): Likewise.
54485         [C99-based-standards] (PRIdFAST32): Likewise.
54486         [C99-based-standards] (PRIiFAST32): Likewise.
54487         [C99-based-standards] (PRIoFAST32): Likewise.
54488         [C99-based-standards] (PRIuFAST32): Likewise.
54489         [C99-based-standards] (PRIxFAST32): Likewise.
54490         [C99-based-standards] (PRIXFAST32): Likewise.
54491         [C99-based-standards] (SCNdFAST32): Likewise.
54492         [C99-based-standards] (SCNiFAST32): Likewise.
54493         [C99-based-standards] (SCNoFAST32): Likewise.
54494         [C99-based-standards] (SCNuFAST32): Likewise.
54495         [C99-based-standards] (SCNxFAST32): Likewise.
54496         [C99-based-standards] (PRId64): Likewise.
54497         [C99-based-standards] (PRIi64): Likewise.
54498         [C99-based-standards] (PRIo64): Likewise.
54499         [C99-based-standards] (PRIu64): Likewise.
54500         [C99-based-standards] (PRIx64): Likewise.
54501         [C99-based-standards] (PRIX64): Likewise.
54502         [C99-based-standards] (SCNd64): Likewise.
54503         [C99-based-standards] (SCNi64): Likewise.
54504         [C99-based-standards] (SCNo64): Likewise.
54505         [C99-based-standards] (SCNu64): Likewise.
54506         [C99-based-standards] (SCNx64): Likewise.
54507         [C99-based-standards] (PRIdLEAST64): Likewise.
54508         [C99-based-standards] (PRIiLEAST64): Likewise.
54509         [C99-based-standards] (PRIoLEAST64): Likewise.
54510         [C99-based-standards] (PRIuLEAST64): Likewise.
54511         [C99-based-standards] (PRIxLEAST64): Likewise.
54512         [C99-based-standards] (PRIXLEAST64): Likewise.
54513         [C99-based-standards] (SCNdLEAST64): Likewise.
54514         [C99-based-standards] (SCNiLEAST64): Likewise.
54515         [C99-based-standards] (SCNoLEAST64): Likewise.
54516         [C99-based-standards] (SCNuLEAST64): Likewise.
54517         [C99-based-standards] (SCNxLEAST64): Likewise.
54518         [C99-based-standards] (PRIdFAST64): Likewise.
54519         [C99-based-standards] (PRIiFAST64): Likewise.
54520         [C99-based-standards] (PRIoFAST64): Likewise.
54521         [C99-based-standards] (PRIuFAST64): Likewise.
54522         [C99-based-standards] (PRIxFAST64): Likewise.
54523         [C99-based-standards] (PRIXFAST64): Likewise.
54524         [C99-based-standards] (SCNdFAST64): Likewise.
54525         [C99-based-standards] (SCNiFAST64): Likewise.
54526         [C99-based-standards] (SCNoFAST64): Likewise.
54527         [C99-based-standards] (SCNuFAST64): Likewise.
54528         [C99-based-standards] (SCNxFAST64): Likewise.
54529         [C99-based-standards] (PRIdMAX): Likewise.
54530         [C99-based-standards] (PRIiMAX): Likewise.
54531         [C99-based-standards] (PRIoMAX): Likewise.
54532         [C99-based-standards] (PRIuMAX): Likewise.
54533         [C99-based-standards] (PRIxMAX): Likewise.
54534         [C99-based-standards] (PRIXMAX): Likewise.
54535         [C99-based-standards] (SCNdMAX): Likewise.
54536         [C99-based-standards] (SCNiMAX): Likewise.
54537         [C99-based-standards] (SCNoMAX): Likewise.
54538         [C99-based-standards] (SCNuMAX): Likewise.
54539         [C99-based-standards] (SCNxMAX): Likewise.
54540         [C99-based-standards] (PRIdPTR): Likewise.
54541         [C99-based-standards] (PRIiPTR): Likewise.
54542         [C99-based-standards] (PRIoPTR): Likewise.
54543         [C99-based-standards] (PRIuPTR): Likewise.
54544         [C99-based-standards] (PRIxPTR): Likewise.
54545         [C99-based-standards] (PRIXPTR): Likewise.
54546         [C99-based-standards] (SCNdPTR): Likewise.
54547         [C99-based-standards] (SCNiPTR): Likewise.
54548         [C99-based-standards] (SCNoPTR): Likewise.
54549         [C99-based-standards] (SCNuPTR): Likewise.
54550         [C99-based-standards] (SCNxPTR): Likewise.
54551         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
54552         allow.
54553         * conform/data/stdint.h-data: Update comments to clarify
54554         requirements.
54555         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
54556         type.
54557         [C99-based standards] (INT8_MAX): Likewise.
54558         [C99-based standards] (INT16_MIN): Likewise.
54559         [C99-based standards] (INT16_MAX): Likewise.
54560         [C99-based standards] (INT32_MIN): Likewise.
54561         [C99-based standards] (INT32_MAX): Likewise.
54562         [C99-based standards] (INT64_MIN): Likewise.
54563         [C99-based standards] (INT64_MAX): Likewise.
54564         [C99-based standards] (UINT8_MAX): Likewise.
54565         [C99-based standards] (UINT16_MAX): Likewise.
54566         [C99-based standards] (UINT32_MAX): Likewise.
54567         [C99-based standards] (UINT64_MAX): Likewise.
54568         [C99-based standards] (INT_LEAST8_MIN): Likewise.
54569         [C99-based standards] (INT_LEAST8_MAX): Likewise.
54570         [C99-based standards] (INT_LEAST16_MIN): Likewise.
54571         [C99-based standards] (INT_LEAST16_MAX): Likewise.
54572         [C99-based standards] (INT_LEAST32_MIN): Likewise.
54573         [C99-based standards] (INT_LEAST32_MAX): Likewise.
54574         [C99-based standards] (INT_LEAST64_MIN): Likewise.
54575         [C99-based standards] (INT_LEAST64_MAX): Likewise.
54576         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
54577         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
54578         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
54579         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
54580         [C99-based standards] (INT_FAST8_MIN): Likewise.
54581         [C99-based standards] (INT_FAST8_MAX): Likewise.
54582         [C99-based standards] (INT_FAST16_MIN): Likewise.
54583         [C99-based standards] (INT_FAST16_MAX): Likewise.
54584         [C99-based standards] (INT_FAST32_MIN): Likewise.
54585         [C99-based standards] (INT_FAST32_MAX): Likewise.
54586         [C99-based standards] (INT_FAST64_MIN): Likewise.
54587         [C99-based standards] (INT_FAST64_MAX): Likewise.
54588         [C99-based standards] (UINT_FAST8_MAX): Likewise.
54589         [C99-based standards] (UINT_FAST16_MAX): Likewise.
54590         [C99-based standards] (UINT_FAST32_MAX): Likewise.
54591         [C99-based standards] (UINT_FAST64_MAX): Likewise.
54592         [C99-based standards] (INTPTR_MIN): Likewise.
54593         [C99-based standards] (INTPTR_MAX): Likewise.
54594         [C99-based standards] (UINTPTR_MAX): Likewise.
54595         [C99-based standards] (INTMAX_MIN): Likewise.
54596         [C99-based standards] (INTMAX_MAX): Likewise.
54597         [C99-based standards] (UINTMAX_MAX): Likewise.
54598         [C99-based standards] (PTRDIFF_MIN): Likewise.
54599         [C99-based standards] (PTRDIFF_MAX): Likewise.
54600         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
54601         [C99-based standards] (SIZE_MAX): Likewise.
54602         [C99-based standards] (WCHAR_MAX): Likewise.
54603         [C99-based standards] (WINT_MAX): Likewise.
54604         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
54605         constraint on value.
54606         [C99-based standards] (WCHAR_MIN): Likewise.
54607         [C99-based standards] (WINT_MIN): Likewise.
54608         [C99-based standards] (*_t): Allow.
54609         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
54610         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
54611         Include math.h-data and complex.h-data.  Remove all expectations
54612         of math.h and complex.h contents.
54613         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
54614         at end of line.
54615         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
54616         (struct tm): Expect tag.
54617         [C99-based-standards] (wcstof): Expect function.
54618         [C99-based-standards] (wcstold): Likewise.
54619         [C99-based-standards] (wcstoll): Likewise.
54620         [C99-based-standards] (wcstoull): Likewise.
54621         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
54622         macro-int-constant.  Specify type.
54623         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
54624         constraint on value.
54625         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
54626         Specify type.
54627         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
54628         Specify value.
54629         [ISO C standards]: Do not allow headers.
54630         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
54631         wcs[abcdefghijklmnopqrstuvwxyz]*.
54632         [ISO C standards] (*_t): Do not allow.
54633         * conform/data/wctype.h-data [C99-based standards] (iswblank):
54634         Expect function.
54635         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
54636         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
54637         Specify type.
54638         [ISO C standards]: Do not allow headers.
54639         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
54640         is[abcdefghijklmnopqrstuvwxyz]*.
54641         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
54642         to[abcdefghijklmnopqrstuvwxyz]*.
54643         [ISO C standards] (*_t): Do not allow.
54644         * conform/data/stdalign.h-data: New file.
54645         * conform/data/stdbool.h-data: Likewise.
54646         * conform/data/stdnoreturn.h-data: Likewise.
54648 2012-11-07  Roland McGrath  <roland@hack.frob.com>
54650         [BZ #14815]
54651         * manual/filesys.texi (Directory Entries): Typo fix.
54652         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
54654 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54656         * elf/elf.h (EM_AARCH64): New macro.
54657         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
54658         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
54659         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
54660         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
54661         (R_AARCH64_TLSDESC): Likewise.
54662         (NT_ARM_TLS): Likewise.
54663         (NT_ARM_HW_BREAK): Likewise.
54664         (NT_ARM_HW_WATCH): Likewise.
54666 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54668         [BZ #14811]
54669         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
54670         (__ieee754_powl): Saturate nonzero exponents with absolute value
54671         below 0x1p-79 to +/- 0x1p-79.
54672         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
54673         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
54674         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
54675         nonzero exponents with absolute value below 0x1p-32 to +/-
54676         0x1p-32.
54677         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
54678         (__ieee754_powl): Saturate nonzero exponents with absolute value
54679         below 0x1p-79 to +/- 0x1p-79.
54680         * math/libm-test.inc (pow_test): Add more tests.
54682 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54684         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
54685         _dl_s390_cap_flags with kernel. Increase string length.
54686         (_dl_s390_platforms): Add z196 and zEC12.
54688 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54690         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
54691         Change XOPEN21K to XOPEN2K.
54693 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
54695         * string/memmove.c: Use memcpy when possible.
54697 2012-11-06  Andreas Jaeger  <aj@suse.de>
54699         * po/eo.po: Update from translation team.
54701 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
54703         [BZ #14793]
54704         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
54705         exponent and small x and y exponents, scale x or y up.  Increase
54706         by 2 the exponent used in scaling up.
54707         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54708         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54709         * math/libm-test.inc (fma_test): Add more tests.
54710         (fma_test_towardzero): Likewise.
54711         (fma_test_downward): Likewise.
54712         (fma_test_upward): Likewise.
54714 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
54716         [BZ #14805]
54717         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
54718         fenv_t *.
54720         [BZ #14801]
54721         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
54722         namespace for names of struct fields.
54723         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
54724         fenv_t fields.
54725         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
54726         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
54728 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54730         [BZ #3665]
54731         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
54733 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
54735         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
54736         PTR_DEMANGLE.
54738         [BZ #5246]
54739         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
54740         PTR_DEMANGLE.
54742 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
54744         [BZ #14797]
54745         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
54746         definitely overflow as x * y not x * y + z.
54747         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54748         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54749         * math/libm-test.inc (fma_test): Add more tests.
54750         (fma_test_towardzero): Likewise.
54751         (fma_test_downward): Likewise.
54752         (fma_test_upward): Likewise.
54754 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
54756         [BZ #157]
54758         * include/stub-tag.h: Remove file.
54759         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
54760         '#include' of it.
54761         * manual/maint.texi (Porting): Don't reference it.
54762         * Makerules ($(objpfx)stubs): Likewise.
54763         * dirent/closedir.c: Don't include <stub-tag.h>.
54764         * dirent/dirfd.c: Likewise.
54765         * dirent/fdopendir.c: Likewise.
54766         * dirent/getdents.c: Likewise.
54767         * dirent/getdents64.c: Likewise.
54768         * dirent/opendir.c: Likewise.
54769         * dirent/readdir.c: Likewise.
54770         * dirent/readdir64.c: Likewise.
54771         * dirent/readdir64_r.c: Likewise.
54772         * dirent/readdir_r.c: Likewise.
54773         * dirent/rewinddir.c: Likewise.
54774         * dirent/seekdir.c: Likewise.
54775         * dirent/telldir.c: Likewise.
54776         * gmon/profil.c: Likewise.
54777         * grp/setgroups.c: Likewise.
54778         * inet/if_index.c: Likewise.
54779         * io/access.c: Likewise.
54780         * io/chdir.c: Likewise.
54781         * io/chmod.c: Likewise.
54782         * io/chown.c: Likewise.
54783         * io/close.c: Likewise.
54784         * io/dup.c: Likewise.
54785         * io/dup2.c: Likewise.
54786         * io/dup3.c: Likewise.
54787         * io/euidaccess.c: Likewise.
54788         * io/faccessat.c: Likewise.
54789         * io/fchdir.c: Likewise.
54790         * io/fchmod.c: Likewise.
54791         * io/fchmodat.c: Likewise.
54792         * io/fchown.c: Likewise.
54793         * io/fchownat.c: Likewise.
54794         * io/fcntl.c: Likewise.
54795         * io/flock.c: Likewise.
54796         * io/fstatfs.c: Likewise.
54797         * io/fstatfs64.c: Likewise.
54798         * io/fstatvfs.c: Likewise.
54799         * io/fstatvfs64.c: Likewise.
54800         * io/futimens.c: Likewise.
54801         * io/fxstat.c: Likewise.
54802         * io/fxstat64.c: Likewise.
54803         * io/fxstatat.c: Likewise.
54804         * io/fxstatat64.c: Likewise.
54805         * io/getcwd.c: Likewise.
54806         * io/isatty.c: Likewise.
54807         * io/lchmod.c: Likewise.
54808         * io/lchown.c: Likewise.
54809         * io/link.c: Likewise.
54810         * io/linkat.c: Likewise.
54811         * io/lseek.c: Likewise.
54812         * io/lseek64.c: Likewise.
54813         * io/lxstat64.c: Likewise.
54814         * io/mkdir.c: Likewise.
54815         * io/mkdirat.c: Likewise.
54816         * io/mkfifo.c: Likewise.
54817         * io/mkfifoat.c: Likewise.
54818         * io/open.c: Likewise.
54819         * io/open64.c: Likewise.
54820         * io/openat.c: Likewise.
54821         * io/openat64.c: Likewise.
54822         * io/pipe.c: Likewise.
54823         * io/pipe2.c: Likewise.
54824         * io/poll.c: Likewise.
54825         * io/posix_fadvise.c: Likewise.
54826         * io/posix_fadvise64.c: Likewise.
54827         * io/posix_fallocate.c: Likewise.
54828         * io/posix_fallocate64.c: Likewise.
54829         * io/read.c: Likewise.
54830         * io/readlink.c: Likewise.
54831         * io/readlinkat.c: Likewise.
54832         * io/rmdir.c: Likewise.
54833         * io/sendfile.c: Likewise.
54834         * io/sendfile64.c: Likewise.
54835         * io/statfs.c: Likewise.
54836         * io/statfs64.c: Likewise.
54837         * io/statvfs.c: Likewise.
54838         * io/statvfs64.c: Likewise.
54839         * io/symlink.c: Likewise.
54840         * io/symlinkat.c: Likewise.
54841         * io/ttyname.c: Likewise.
54842         * io/ttyname_r.c: Likewise.
54843         * io/umask.c: Likewise.
54844         * io/unlink.c: Likewise.
54845         * io/unlinkat.c: Likewise.
54846         * io/utime.c: Likewise.
54847         * io/utimensat.c: Likewise.
54848         * io/write.c: Likewise.
54849         * io/xmknod.c: Likewise.
54850         * io/xmknodat.c: Likewise.
54851         * io/xstat.c: Likewise.
54852         * io/xstat64.c: Likewise.
54853         * login/getpt.c: Likewise.
54854         * login/grantpt.c: Likewise.
54855         * login/unlockpt.c: Likewise.
54856         * math/e_acoshl.c: Likewise.
54857         * math/e_acosl.c: Likewise.
54858         * math/e_asinl.c: Likewise.
54859         * math/e_atan2l.c: Likewise.
54860         * math/e_atanhl.c: Likewise.
54861         * math/e_coshl.c: Likewise.
54862         * math/e_expl.c: Likewise.
54863         * math/e_fmodl.c: Likewise.
54864         * math/e_gammal_r.c: Likewise.
54865         * math/e_hypotl.c: Likewise.
54866         * math/e_j0l.c: Likewise.
54867         * math/e_j1l.c: Likewise.
54868         * math/e_jnl.c: Likewise.
54869         * math/e_lgammal_r.c: Likewise.
54870         * math/e_log10l.c: Likewise.
54871         * math/e_log2l.c: Likewise.
54872         * math/e_logl.c: Likewise.
54873         * math/e_powl.c: Likewise.
54874         * math/e_rem_pio2l.c: Likewise.
54875         * math/e_sinhl.c: Likewise.
54876         * math/e_sqrtl.c: Likewise.
54877         * math/fclrexcpt.c: Likewise.
54878         * math/fedisblxcpt.c: Likewise.
54879         * math/feenablxcpt.c: Likewise.
54880         * math/fegetenv.c: Likewise.
54881         * math/fegetexcept.c: Likewise.
54882         * math/fegetround.c: Likewise.
54883         * math/feholdexcpt.c: Likewise.
54884         * math/fesetenv.c: Likewise.
54885         * math/fesetround.c: Likewise.
54886         * math/feupdateenv.c: Likewise.
54887         * math/fgetexcptflg.c: Likewise.
54888         * math/fraiseexcpt.c: Likewise.
54889         * math/fsetexcptflg.c: Likewise.
54890         * math/ftestexcept.c: Likewise.
54891         * math/k_cosl.c: Likewise.
54892         * math/k_rem_pio2l.c: Likewise.
54893         * math/k_sinl.c: Likewise.
54894         * math/k_tanl.c: Likewise.
54895         * math/s_asinhl.c: Likewise.
54896         * math/s_atanl.c: Likewise.
54897         * math/s_cbrtl.c: Likewise.
54898         * math/s_erfl.c: Likewise.
54899         * math/s_expm1l.c: Likewise.
54900         * math/s_log1pl.c: Likewise.
54901         * math/s_tanhl.c: Likewise.
54902         * misc/acct.c: Likewise.
54903         * misc/brk.c: Likewise.
54904         * misc/chflags.c: Likewise.
54905         * misc/chroot.c: Likewise.
54906         * misc/fchflags.c: Likewise.
54907         * misc/fgetxattr.c: Likewise.
54908         * misc/flistxattr.c: Likewise.
54909         * misc/fremovexattr.c: Likewise.
54910         * misc/fsetxattr.c: Likewise.
54911         * misc/fsync.c: Likewise.
54912         * misc/ftruncate.c: Likewise.
54913         * misc/futimes.c: Likewise.
54914         * misc/futimesat.c: Likewise.
54915         * misc/getdomain.c: Likewise.
54916         * misc/getdtsz.c: Likewise.
54917         * misc/gethostid.c: Likewise.
54918         * misc/gethostname.c: Likewise.
54919         * misc/getloadavg.c: Likewise.
54920         * misc/getpagesize.c: Likewise.
54921         * misc/getsysstats.c: Likewise.
54922         * misc/getxattr.c: Likewise.
54923         * misc/gtty.c: Likewise.
54924         * misc/ioctl.c: Likewise.
54925         * misc/lgetxattr.c: Likewise.
54926         * misc/listxattr.c: Likewise.
54927         * misc/llistxattr.c: Likewise.
54928         * misc/lremovexattr.c: Likewise.
54929         * misc/lsetxattr.c: Likewise.
54930         * misc/lutimes.c: Likewise.
54931         * misc/madvise.c: Likewise.
54932         * misc/mincore.c: Likewise.
54933         * misc/mlock.c: Likewise.
54934         * misc/mlockall.c: Likewise.
54935         * misc/mmap.c: Likewise.
54936         * misc/mprotect.c: Likewise.
54937         * misc/msync.c: Likewise.
54938         * misc/munlock.c: Likewise.
54939         * misc/munlockall.c: Likewise.
54940         * misc/munmap.c: Likewise.
54941         * misc/preadv.c: Likewise.
54942         * misc/preadv64.c: Likewise.
54943         * misc/ptrace.c: Likewise.
54944         * misc/pwritev.c: Likewise.
54945         * misc/pwritev64.c: Likewise.
54946         * misc/readv.c: Likewise.
54947         * misc/reboot.c: Likewise.
54948         * misc/remap_file_pages.c: Likewise.
54949         * misc/removexattr.c: Likewise.
54950         * misc/revoke.c: Likewise.
54951         * misc/select.c: Likewise.
54952         * misc/setdomain.c: Likewise.
54953         * misc/setegid.c: Likewise.
54954         * misc/seteuid.c: Likewise.
54955         * misc/sethostid.c: Likewise.
54956         * misc/sethostname.c: Likewise.
54957         * misc/setregid.c: Likewise.
54958         * misc/setreuid.c: Likewise.
54959         * misc/setxattr.c: Likewise.
54960         * misc/sstk.c: Likewise.
54961         * misc/stty.c: Likewise.
54962         * misc/swapoff.c: Likewise.
54963         * misc/swapon.c: Likewise.
54964         * misc/sync.c: Likewise.
54965         * misc/syncfs.c: Likewise.
54966         * misc/syscall.c: Likewise.
54967         * misc/truncate.c: Likewise.
54968         * misc/ualarm.c: Likewise.
54969         * misc/usleep.c: Likewise.
54970         * misc/ustat.c: Likewise.
54971         * misc/utimes.c: Likewise.
54972         * misc/vhangup.c: Likewise.
54973         * misc/writev.c: Likewise.
54974         * posix/_exit.c: Likewise.
54975         * posix/alarm.c: Likewise.
54976         * posix/execve.c: Likewise.
54977         * posix/fexecve.c: Likewise.
54978         * posix/fork.c: Likewise.
54979         * posix/fpathconf.c: Likewise.
54980         * posix/getaddrinfo.c: Likewise.
54981         * posix/getegid.c: Likewise.
54982         * posix/geteuid.c: Likewise.
54983         * posix/getgid.c: Likewise.
54984         * posix/getgroups.c: Likewise.
54985         * posix/getlogin.c: Likewise.
54986         * posix/getlogin_r.c: Likewise.
54987         * posix/getpgid.c: Likewise.
54988         * posix/getpid.c: Likewise.
54989         * posix/getppid.c: Likewise.
54990         * posix/getresgid.c: Likewise.
54991         * posix/getresuid.c: Likewise.
54992         * posix/getsid.c: Likewise.
54993         * posix/getuid.c: Likewise.
54994         * posix/glob64.c: Likewise.
54995         * posix/nanosleep.c: Likewise.
54996         * posix/pathconf.c: Likewise.
54997         * posix/pause.c: Likewise.
54998         * posix/posix_madvise.c: Likewise.
54999         * posix/pread.c: Likewise.
55000         * posix/pread64.c: Likewise.
55001         * posix/pwrite.c: Likewise.
55002         * posix/pwrite64.c: Likewise.
55003         * posix/sched_getaffinity.c: Likewise.
55004         * posix/sched_getp.c: Likewise.
55005         * posix/sched_gets.c: Likewise.
55006         * posix/sched_primax.c: Likewise.
55007         * posix/sched_primin.c: Likewise.
55008         * posix/sched_rr_gi.c: Likewise.
55009         * posix/sched_setaffinity.c: Likewise.
55010         * posix/sched_setp.c: Likewise.
55011         * posix/sched_sets.c: Likewise.
55012         * posix/sched_yield.c: Likewise.
55013         * posix/setgid.c: Likewise.
55014         * posix/setlogin.c: Likewise.
55015         * posix/setpgid.c: Likewise.
55016         * posix/setresgid.c: Likewise.
55017         * posix/setresuid.c: Likewise.
55018         * posix/setsid.c: Likewise.
55019         * posix/setuid.c: Likewise.
55020         * posix/sleep.c: Likewise.
55021         * posix/spawni.c: Likewise.
55022         * posix/sysconf.c: Likewise.
55023         * posix/times.c: Likewise.
55024         * posix/wait.c: Likewise.
55025         * posix/wait3.c: Likewise.
55026         * posix/wait4.c: Likewise.
55027         * posix/waitpid.c: Likewise.
55028         * resolv/gai_sigqueue.c: Likewise.
55029         * resource/getpriority.c: Likewise.
55030         * resource/getrlimit.c: Likewise.
55031         * resource/getrusage.c: Likewise.
55032         * resource/nice.c: Likewise.
55033         * resource/setpriority.c: Likewise.
55034         * resource/setrlimit.c: Likewise.
55035         * resource/ulimit.c: Likewise.
55036         * rt/aio_cancel.c: Likewise.
55037         * rt/aio_fsync.c: Likewise.
55038         * rt/aio_read.c: Likewise.
55039         * rt/aio_sigqueue.c: Likewise.
55040         * rt/aio_suspend.c: Likewise.
55041         * rt/aio_write.c: Likewise.
55042         * rt/clock_getres.c: Likewise.
55043         * rt/clock_gettime.c: Likewise.
55044         * rt/clock_nanosleep.c: Likewise.
55045         * rt/clock_settime.c: Likewise.
55046         * rt/lio_listio.c: Likewise.
55047         * rt/mq_close.c: Likewise.
55048         * rt/mq_getattr.c: Likewise.
55049         * rt/mq_notify.c: Likewise.
55050         * rt/mq_open.c: Likewise.
55051         * rt/mq_receive.c: Likewise.
55052         * rt/mq_send.c: Likewise.
55053         * rt/mq_setattr.c: Likewise.
55054         * rt/mq_timedreceive.c: Likewise.
55055         * rt/mq_timedsend.c: Likewise.
55056         * rt/mq_unlink.c: Likewise.
55057         * rt/shm_open.c: Likewise.
55058         * rt/shm_unlink.c: Likewise.
55059         * rt/timer_create.c: Likewise.
55060         * rt/timer_delete.c: Likewise.
55061         * rt/timer_getoverr.c: Likewise.
55062         * rt/timer_gettime.c: Likewise.
55063         * rt/timer_settime.c: Likewise.
55064         * setjmp/__longjmp.c: Likewise.
55065         * setjmp/setjmp.c: Likewise.
55066         * signal/kill.c: Likewise.
55067         * signal/killpg.c: Likewise.
55068         * signal/raise.c: Likewise.
55069         * signal/sigaction.c: Likewise.
55070         * signal/sigaltstack.c: Likewise.
55071         * signal/sigblock.c: Likewise.
55072         * signal/sigignore.c: Likewise.
55073         * signal/sigintr.c: Likewise.
55074         * signal/signal.c: Likewise.
55075         * signal/sigpause.c: Likewise.
55076         * signal/sigpending.c: Likewise.
55077         * signal/sigqueue.c: Likewise.
55078         * signal/sigreturn.c: Likewise.
55079         * signal/sigset.c: Likewise.
55080         * signal/sigsetmask.c: Likewise.
55081         * signal/sigstack.c: Likewise.
55082         * signal/sigsuspend.c: Likewise.
55083         * signal/sigtimedwait.c: Likewise.
55084         * signal/sigvec.c: Likewise.
55085         * signal/sigwait.c: Likewise.
55086         * signal/sigwaitinfo.c: Likewise.
55087         * signal/sysv_signal.c: Likewise.
55088         * socket/accept.c: Likewise.
55089         * socket/accept4.c: Likewise.
55090         * socket/bind.c: Likewise.
55091         * socket/connect.c: Likewise.
55092         * socket/getpeername.c: Likewise.
55093         * socket/getsockname.c: Likewise.
55094         * socket/getsockopt.c: Likewise.
55095         * socket/isfdtype.c: Likewise.
55096         * socket/listen.c: Likewise.
55097         * socket/recv.c: Likewise.
55098         * socket/recvfrom.c: Likewise.
55099         * socket/recvmsg.c: Likewise.
55100         * socket/send.c: Likewise.
55101         * socket/sendmsg.c: Likewise.
55102         * socket/sendto.c: Likewise.
55103         * socket/setsockopt.c: Likewise.
55104         * socket/shutdown.c: Likewise.
55105         * socket/sockatmark.c: Likewise.
55106         * socket/socket.c: Likewise.
55107         * socket/socketpair.c: Likewise.
55108         * stdio-common/ctermid.c: Likewise.
55109         * stdio-common/cuserid.c: Likewise.
55110         * stdio-common/remove.c: Likewise.
55111         * stdio-common/rename.c: Likewise.
55112         * stdio-common/renameat.c: Likewise.
55113         * stdio-common/tempname.c: Likewise.
55114         * stdlib/getcontext.c: Likewise.
55115         * stdlib/makecontext.c: Likewise.
55116         * stdlib/setcontext.c: Likewise.
55117         * stdlib/swapcontext.c: Likewise.
55118         * stdlib/system.c: Likewise.
55119         * streams/fattach.c: Likewise.
55120         * streams/fdetach.c: Likewise.
55121         * streams/getmsg.c: Likewise.
55122         * streams/getpmsg.c: Likewise.
55123         * streams/putmsg.c: Likewise.
55124         * streams/putpmsg.c: Likewise.
55125         * sysdeps/unix/bsd/getpt.c: Likewise.
55126         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
55127         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
55128         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
55129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55130         Likewise.
55131         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
55132         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55133         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
55134         * sysvipc/msgctl.c: Likewise.
55135         * sysvipc/msgget.c: Likewise.
55136         * sysvipc/msgrcv.c: Likewise.
55137         * sysvipc/msgsnd.c: Likewise.
55138         * sysvipc/semctl.c: Likewise.
55139         * sysvipc/semget.c: Likewise.
55140         * sysvipc/semop.c: Likewise.
55141         * sysvipc/semtimedop.c: Likewise.
55142         * sysvipc/shmat.c: Likewise.
55143         * sysvipc/shmctl.c: Likewise.
55144         * sysvipc/shmdt.c: Likewise.
55145         * sysvipc/shmget.c: Likewise.
55146         * termios/tcdrain.c: Likewise.
55147         * termios/tcflow.c: Likewise.
55148         * termios/tcflush.c: Likewise.
55149         * termios/tcgetattr.c: Likewise.
55150         * termios/tcgetpgrp.c: Likewise.
55151         * termios/tcsendbrk.c: Likewise.
55152         * termios/tcsetattr.c: Likewise.
55153         * termios/tcsetpgrp.c: Likewise.
55154         * time/adjtime.c: Likewise.
55155         * time/clock.c: Likewise.
55156         * time/getitimer.c: Likewise.
55157         * time/gettimeofday.c: Likewise.
55158         * time/setitimer.c: Likewise.
55159         * time/settimeofday.c: Likewise.
55160         * time/stime.c: Likewise.
55161         * time/time.c: Likewise.
55163 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
55165         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
55166         /usr/old/bin.
55168         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
55169         instead of spaces.
55170         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
55172 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
55174         [BZ #14796]
55175         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
55176         FE_TONEAREST before applying Dekker multiplication and Knuth
55177         addition.  Clear inexact exceptions and check for exact zero
55178         results afterwards.
55179         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55180         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55181         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55182         * math/libm-test.inc (fma_test): Add more tests.
55183         (fma_test_towardzero): Likewise.
55184         (fma_test_downward): Likewise.
55185         (fma_test_upward): Likewise.
55186         * sysdeps/generic/math_private.h (default_libc_fesetround): New
55187         function.
55188         (libc_fesetround): New macro.
55189         (libc_fesetroundf): Likewise.
55190         (libc_fesetroundl): Likewise.
55191         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
55192         function.
55193         (libc_fesetround_387): Likewise.
55194         (libc_fesetroundf): New macro.
55195         (libc_fesetround): Likewise.
55196         (libc_fesetroundl): Likewise.
55197         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
55198         function.
55199         (libc_fesetroundf): New macro.
55200         (libc_fesetround): Likewise.
55201         (libc_fesetroundl): Likewise.
55202         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
55203         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
55204         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
55205         libm_hidden_ver.
55206         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
55207         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
55208         libm_hidden_def.
55209         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
55210         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
55211         libm_hidden_ver.
55212         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
55213         libm_hidden_def.
55215         [BZ #3439]
55216         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
55217         integer constant usable in #if and use that to give value to enum
55218         constant.
55219         (FE_DIVBYZERO): Likewise.
55220         (FE_UNDERFLOW): Likewise.
55221         (FE_OVERFLOW): Likewise.
55222         (FE_INVALID): Likewise.
55223         (FE_INVALID_SNAN): Likewise.
55224         (FE_INVALID_ISI): Likewise.
55225         (FE_INVALID_IDI): Likewise.
55226         (FE_INVALID_ZDZ): Likewise.
55227         (FE_INVALID_IMZ): Likewise.
55228         (FE_INVALID_COMPARE): Likewise.
55229         (FE_INVALID_SOFTWARE): Likewise.
55230         (FE_INVALID_SQRT): Likewise.
55231         (FE_INVALID_INTEGER_CONVERSION): Likewise.
55232         (FE_TONEAREST): Likewise.
55233         (FE_TOWARDZERO): Likewise.
55234         (FE_UPWARD): Likewise.
55235         (FE_DOWNWARD): Likewise.
55236         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
55237         (FE_DIVBYZERO): Likewise.
55238         (FE_OVERFLOW): Likewise.
55239         (FE_UNDERFLOW): Likewise.
55240         (FE_INEXACT): Likewise.
55241         (FE_TONEAREST): Likewise.
55242         (FE_DOWNWARD): Likewise.
55243         (FE_UPWARD): Likewise.
55244         (FE_TOWARDZERO): Likewise.
55245         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
55246         (FE_UNDERFLOW): Likewise.
55247         (FE_OVERFLOW): Likewise.
55248         (FE_DIVBYZERO): Likewise.
55249         (FE_INVALID): Likewise.
55250         (FE_TONEAREST): Likewise.
55251         (FE_TOWARDZERO): Likewise.
55252         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
55253         (FE_OVERFLOW): Likewise.
55254         (FE_UNDERFLOW): Likewise.
55255         (FE_DIVBYZERO): Likewise.
55256         (FE_INEXACT): Likewise.
55257         (FE_TONEAREST): Likewise.
55258         (FE_TOWARDZERO): Likewise.
55259         (FE_UPWARD): Likewise.
55260         (FE_DOWNWARD): Likewise.
55261         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
55262         (FE_DIVBYZERO): Likewise.
55263         (FE_OVERFLOW): Likewise.
55264         (FE_UNDERFLOW): Likewise.
55265         (FE_INEXACT): Likewise.
55266         (FE_TONEAREST): Likewise.
55267         (FE_DOWNWARD): Likewise.
55268         (FE_UPWARD): Likewise.
55269         (FE_TOWARDZERO): Likewise.
55271 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
55273         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
55275 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
55277         * scripts/cross-test-ssh.sh (command): Use newlines to separate
55278         commands.  Quote $PWD.
55279         (blacklist_exports): Don't use remove_newlines.  Replace "declare
55280         -x" by "export".
55281         (remove_newlines): Remove.
55283 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
55285         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
55286         * stdlib/stdlib.h (atof): Moved to ...
55287         * include/bits/stdlib-float.h: Here.  New file.
55288         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
55289         * stdlib/bits/stdlib-float.h: New file.
55290         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
55291         -mno-sse -mno-mmx.
55292         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
55293         <xmmintrin.h>.
55295 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
55297         * conform/conformtest.pl (@headers): Add fenv.h.
55298         * conform/data/fenv.h-data: New file.
55299         * include/fenv.h [_ISOMAC]: Disable all contents of file except
55300         include of <math/fenv.h>.
55302         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
55303         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
55304         && !UNIX98].  Enables tests for XOPEN2K8.
55305         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
55306         POSIX2008]: Likewise.
55308         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
55309         (struct rusage): Do not expect type or its members.
55311         [BZ #3439]
55312         * math/math.h (FP_NAN): Define macro to integer constant usable in
55313         #if and use that to give value to enum constant.
55314         (FP_INFINITE): Likewise.
55315         (FP_ZERO): Likewise.
55316         (FP_SUBNORMAL): Likewise.
55317         (FP_NORMAL): Likewise.
55319 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
55321         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
55322         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
55323         arguments.
55325 2012-11-02  Roland McGrath  <roland@hack.frob.com>
55327         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
55328         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
55329         autoconf-time if not.
55330         * configure.in: Remove AC_PREREQ.
55332 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55334         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
55335         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
55336         of the internal implementation.
55338 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
55340         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
55341         except include of <misc/sys/syslog.h>.
55343 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
55346         function returns with a NULL context exit with zero.
55348 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55350         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
55352 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
55354         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
55355         (run_program_cmd): This.
55356         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
55357         (tst_langinfo): New variable.  Use it.
55359 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
55361         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
55362         floating point opcodes.
55364 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55366         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
55367         variable.
55369         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
55371         * sysdeps/mach/hurd/powerpc: Remove directory.
55372         * sysdeps/mach/powerpc: Likewise.
55374 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55376         * scripts/check-local-headers.sh: Ignore c++ headers.
55378 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55380         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
55381         __libc_cleanup_region_start argument.
55383 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
55385         [BZ #14784]
55386         [BZ #14785]
55387         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
55388         x * y using scaling, not as x * y + z.
55389         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55390         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55391         * math/libm-test.inc (fma_test): Add more tests.
55392         (fma_test_towardzero): Likewise.
55393         (fma_test_downward): Likewise.
55394         (fma_test_upward): Likewise.
55396 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55398         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
55400 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
55402         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
55403         New variable.
55405 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
55407         * rt/tst-shm.c (worker): Correct checking for mmap failure.
55409 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
55411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55412         Fix sort order.
55413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55414         Likewise.
55416 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55419         Fix the order of the list for glibc 2.17.
55420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55421         Likewise.
55423 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
55425         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55427 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
55429         [BZ #14610]
55430         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
55431         for low part of x being zero before using __atanl (y).
55432         * math/libm-test.inc (atan2_test): Add another test.
55434         * manual/install.texi (Configuring and compiling): Document
55435         general use of test-wrapper and test-wrapper-env.
55436         * INSTALL: Regenerated.
55438         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
55439         (__fma): Do not extract and scale down low bits on after-rounding
55440         systems when result rounded to normal precision would have normal
55441         exponent.
55442         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
55443         (__fmal): Do not extract and scale down low bits on after-rounding
55444         systems when result rounded to normal precision would have normal
55445         exponent.
55446         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
55447         (__fmal): Do not extract and scale down low bits on after-rounding
55448         systems when result rounded to normal precision would have normal
55449         exponent.
55450         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
55451         macro.
55452         (fma_test): Add more tests.
55453         (fma_test_towardzero): Likewise.
55454         (fma_test_downward): Likewise.
55455         (fma_test_upward): Likewise.
55457 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
55459         * sysdeps/i386/tininess.h: Renamed to ...
55460         * sysdeps/x86/tininess.h: This.
55461         * sysdeps/x86_64/tininess.h: Removed.
55463 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
55465         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
55466         input.  Use $(build-program-cmd).
55467         ($(objpfx)tst-array1-static.out): Likewise.
55468         ($(objpfx)tst-array2.out): Likewise.
55469         ($(objpfx)tst-array3.out): Likewise.
55470         ($(objpfx)tst-array4.out): Likewise.
55471         ($(objpfx)tst-array5.out): Likewise.
55472         ($(objpfx)tst-array5-static.out): Likewise.
55474 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
55476         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
55477         if defined.
55479         * nss/nsswitch.h (nss_interface_function): Provide new
55480         macro for use with NSS functions.
55481         * grp/initgroups.c: Use new macro.
55482         * nss/getXXbyYY.c: Likewise.
55483         * nss/getXXbyYY_r.c: Likewise.
55484         * nss/getXXent.c: Likewise.
55485         * nss/getXXent_r.c: Likewise.
55486         * sysdeps/posix/getaddrinfo.c: Likewise.
55488 2012-10-30  Andreas Jaeger  <aj@suse.de>
55490         * po/ru.po: Update Russion translation from translation project.
55492 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
55494         [BZ #14152]
55495         [BZ #14783]
55496         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
55497         result and shift together with sticky bit instead of replicating
55498         round-to-nearest rounding.
55499         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55500         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55501         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
55502         missing underflow exceptions.
55503         (fma_test_towardzero): Add more tests.
55504         (fma_test_downward): Likewise.
55505         (fma_test_upward): Likewise.
55507         [BZ #14047]
55508         * sysdeps/generic/tininess.h: New file.
55509         * sysdeps/i386/tininess.h: Likewise.
55510         * sysdeps/sh/tininess.h: Likewise.
55511         * sysdeps/x86_64/tininess.h: Likewise.
55512         * stdlib/tst-strtod-underflow.c: Likewise.
55513         * stdlib/tst-tininess.c: Likewise.
55514         * stdlib/strtod_l.c: Include <tininess.h>.
55515         (round_and_return): Do not set errno for exact underflow cases.
55516         Force an underflow exception when setting errno for underflow.
55517         Determine underflow based on rounding to normal precision if
55518         TININESS_AFTER_ROUNDING.
55519         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
55520         ERANGE for exact underflow cases.
55521         * stdlib/Makefile (tests): Add tst-tininess and
55522         tst-strtod-underflow.
55523         ($(objpfx)tst-tininess): Use $(link-libm).
55524         ($(objpfx)tst-strtod-underflow): Likewise.
55526 2012-10-30  Andreas Jaeger  <aj@suse.de>
55528         [BZ#14767]
55529         * elf/Makefile (tests): Remove conditional for have-initfini-array
55530         since this is now always required and the variable does not exist
55531         anymore.
55532         (tests-static): Likewise.
55533         (modules-names): Likewise.
55535         * po/eo.po: Add Esperanto translation from translation project.
55537         * elf/tst-array1.c (fini_array): Make writeable so that it can be
55538         merged with constructor/destructor.
55539         (init_array): Likewise.
55540         * elf/tst-array2dep.c (fini_array): Likewise.
55541         (init_array): Likewise.
55543 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
55545         * manual/message.texi: Delete @cartouche tags.
55547 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
55549         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
55550         EOPNOTSUPP.
55551         * sysdeps/mach/hurd/fsync.c: Likewise.
55553         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
55554         [_POSIX_REALTIME_SIGNALS]: Change condition to
55555         [_POSIX_REALTIME_SIGNALS > 0].
55557 2012-10-27  Andreas Jaeger  <aj@suse.de>
55559         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
55560         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
55561         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
55562         [__WORDSIZE != 64]: Likewise.
55564 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
55566         *  iconvdata/tst-table.sh: Remove ${SHELL}.
55567         *  iconvdata/tst-tables.sh: Likewise.
55569 2012-10-25  David S. Miller  <davem@davemloft.net>
55571         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55572         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
55573         of strtoull.
55575         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
55576         ifunc-impl-list.c
55577         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55578         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
55579         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
55580         file.
55582 2012-10-25  Roland McGrath  <roland@hack.frob.com>
55584         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55585         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
55586         __getdirentries.
55588 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
55589             Jim Blandy  <jimb@codesourcery.com>
55591         * scripts/cross-test-ssh.sh: New file.
55592         * manual/install.texi (Configuring and compiling): Document use of
55593         cross-test-ssh.sh.
55594         * INSTALL: Regenerated.
55596 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
55598         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
55599         EOPNOTSUPP.
55601 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
55603         * Makeconfig (run-program-prefix): Fix comment.
55605 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
55606             Jim Blandy  <jimb@codesourcery.com>
55608         * Makeconfig (test-wrapper): New variable,
55609         (test-wrapper-env): Likewise.
55610         [$(cross-compiling) = yes && $(test-wrapper) != ""]
55611         (run-built-tests): Define to yes.
55612         (run-program-prefix): Use $(test-wrapper).
55613         (built-program-cmd): Likewise.
55614         * Rules (make-test-out): Use $(test-wrapper-env) and
55615         $(host-built-program-cmd).
55616         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
55617         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
55618         tst-pathopt.sh.
55619         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
55620         $(test-wrapper-env) to tst-rtld-load-self.sh.
55621         ($(objpfx)order2.out): Use $(test-wrapper).
55622         ($(objpfx)tst-initorder.out): Likewise.
55623         ($(objpfx)tst-initorder2.out): Likewise.
55624         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
55625         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
55626         (test_wrapper_env): New variable.  Use it to run ld.so.
55627         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
55628         Use it to run ld.so.
55629         (test_wrapper_env): Likewise.
55630         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
55631         $(test-wrapper) to run-iconv-test.sh.
55632         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
55633         (ICONV): Use $test_wrapper.
55634         * posix/Makefile ($(objpfx)globtest.out): Pass
55635         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
55636         globtest.sh, not $(run-program-prefix).
55637         * posix/globtest.sh (run_via_rtld_prefix): New variable.
55638         (test_wrapper): Likewise.
55639         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
55640         set together with run_via_rtld_prefix.
55641         (run_program_prefix): Define in terms of test_wrapper and
55642         run_via_rtld_prefix.
55644 2012-10-24  Roland McGrath  <roland@hack.frob.com>
55646         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
55647         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
55648         Targets removed.
55650         [BZ #14743]
55651         * include/time.h: Remove librt_hidden_proto (clock_gettime).
55652         Declare __clock_getres, __clock_gettime, __clock_settime,
55653         __clock_nanosleep, and __clock_getcpuclockid.
55654         * rt/clock_gettime.c: Define __clock_gettime as an alias.
55655         Remove librt_hidden_def (clock_gettime).
55656         * sysdeps/unix/clock_gettime.c: Likewise.
55657         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
55658         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
55659         * rt/clock_getres.c: Define __clock_getres as an alias.
55660         * sysdeps/posix/clock_getres.c: Likewise.
55661         * rt/clock_settime.c: Define __clock_settime as an alias.
55662         * sysdeps/unix/clock_settime.c: Likewise.
55663         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
55664         * sysdeps/unix/clock_nanosleep.c: Likewise.
55665         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
55666         * rt/clock-compat.c: New file.
55667         * rt/Makefile (librt-routines): Add clock-compat and move
55668         $(clock-routines) to ...
55669         (routines): ... here, new variable.
55670         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
55671         Don't add get_clockfreq here.
55672         * rt/Versions (libc: GLIBC_2.17): New version set.
55673         Add clock_* symbols here.
55674         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
55675         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
55676         (GLIBC_2.17): Add clock_* symbols.
55677         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
55678         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
55679         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55681         Likewise.
55682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55683         Likewise.
55684         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55685         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
55686         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
55687         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
55688         * NEWS: Mention the move.
55690         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
55691         Use __open, __read, __close rather than their public counterparts.
55692         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55693         (__get_clockfreq_via_cpuinfo): Likewise.
55694         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
55695         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
55697         * config.h.in (HAVE_IFUNC): New #undef.
55698         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
55699         was successful.
55700         * configure: Regenerated.
55702 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
55704         * configure.in: Move READELF check to start of file.
55705         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
55706         libc_cv_asm_gnu_indirect_function in the process.
55707         * configure: Regenerated.
55709 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
55711         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
55712         send the output to /dev/null.
55713         (libc_cv_cc_with_libunwind): Likewise.
55714         (libc_cv_as_noexecstack): Likewise.
55715         * configure: Regenerate.
55717 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
55719         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
55721         * posix/globtest.sh (TMPDIR): Do not set.
55722         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
55723         (testout): Likewise.
55725 2012-10-24  Andreas Jaeger  <aj@suse.de>
55727         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
55728         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
55729         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
55730         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
55731         posix_fadvise64, posix_fallocate64.
55733         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
55734         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
55735         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
55736         Likewise.
55737         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
55738         Likewise.
55739         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
55741         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
55742         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
55743         <bits/fcntl-linux.h>.
55744         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
55746         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
55747         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
55748         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
55749         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
55750         [__WORDSIZE != 64]: Likewise.
55752 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
55754         * Makeconfig (run-built-tests): New variable.
55755         * Rules [$(cross-compiling) = yes]: Change condition to
55756         [$(run-built-tests) = no].
55757         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
55758         to [$(run-built-tests) = yes].
55759         * elf/Makefile [$(cross-compiling) = no]: Likewise.
55760         * grp/Makefile [$(cross-compiling) = no]: Likewise.
55761         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
55762         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
55763         * intl/Makefile [$(cross-compiling) = no]: Likewise.
55764         * io/Makefile [$(cross-compiling) = no]: Likewise.
55765         * libio/Makefile [$(cross-compiling) = no]: Likewise.
55766         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
55767         * misc/Makefile [$(cross-compiling) = no]: Likewise.
55768         * posix/Makefile [$(cross-compiling) = no]: Likewise.
55769         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
55770         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
55771         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
55772         * string/Makefile [$(cross-compiling) = no]: Likewise.
55774         * posix/Makefile ($(objpfx)globtest.out): Pass
55775         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
55776         $(rtld-installed-name).
55777         * posix/globtest.sh (elf_objpfx): Remove variable.
55778         (rtld_installed_name): Likewise.
55779         (library_path): Likewise.
55780         (run_program_prefix): New variable.  Use for running globtest
55781         binary.
55783 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
55784             Joseph Myers  <joseph@codesourcery.com>
55786         * Makeconfig (host-built-program-cmd): New variable.
55787         * elf/Makefile (tst-stackguard1-ARGS): Use
55788         $(host-built-program-cmd).
55789         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
55790         (tst-spawn-ARGS): Likewise.
55791         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
55793 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
55794             Jim Blandy  <jimb@codesourcery.com>
55796         * Makeconfig (run-via-rtld-prefix): New variable.
55797         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
55798         (built-program-cmd): Likewise.
55800 2012-10-22  Andreas Jaeger  <aj@suse.de>
55802         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
55803         __O_RSYNC if it exists, otherwise to O_SYNC.
55805 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
55806             Joseph Myers  <joseph@codesourcery.com>
55808         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
55809         /dev/null.
55810         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
55811         from /dev/null
55812         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
55813         /dev/null.
55815 2012-10-22  Andreas Jaeger  <aj@suse.de>
55817         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
55818         Define always.
55819         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
55821         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55822         bits/fcntl-linux.h.
55824         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
55825         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
55827         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
55828         to __O_LARGEFILE.
55829         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
55830         to __O_LARGEFILE.
55832 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
55833             Joseph Myers  <joseph@codesourcery.com>
55835         * config.make.in (NM): New variable.
55837 2012-10-21  Andreas Jaeger  <aj@suse.de>
55839         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
55840         definitions and declarations that are provided by
55841         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55843 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
55845         [BZ #14683]
55846         * elf/Makefile (tests-static): Add tst-leaks1-static.
55847         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
55848         ($(objpfx)tst-leaks1-static): New rule.
55849         ($(objpfx)tst-leaks1-static-mem): Likewise.
55850         (tst-leaks1-static-ENV): New macro.
55851         * elf/dl-open.c (dl_open_worker): Check the main application
55852         only if SHARED is defined.
55853         * elf/tst-leaks1-static.c: New file.
55855 2012-10-20  Andreas Jaeger  <aj@suse.de>
55857         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
55858         generic values for Linux.
55859         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
55860         and declarations that are provided by <bits/fcntl-linux.h> and
55861         include <bits/fcntl-linux.h>.
55862         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55863         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55865 2012-10-20  Roland McGrath  <roland@hack.frob.com>
55867         * io/fcntl.h: Move include of <bits/types.h> to the top and
55868         include it unconditionally.
55870 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
55872         * wcsmbs/Makefile (tests-ifunc): New variable.
55873         (tests): Add $(tests-ifunc).
55874         * wcsmbs/test-wcschr-ifunc.c: New file.
55875         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
55876         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
55877         * wcsmbs/test-wcslen-ifunc.c: Likewise.
55878         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
55879         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
55881         * string/Makefile (tests-ifunc): New variable.
55882         (tests): Add $(tests-ifunc).
55883         * string/test-memccpy.c (TEST_NAME): New macro.
55884         * string/test-memchr.c (TEST_NAME): Likewise.
55885         * string/test-memcmp.c (TEST_NAME): Likewise.
55886         * string/test-memcpy.c (TEST_NAME): Likewise.
55887         * string/test-memmem.c (TEST_NAME): Likewise.
55888         * string/test-memmove.c (TEST_NAME): Likewise.
55889         * string/test-memset.c (TEST_NAME): Likewise.
55890         * string/test-rawmemchr.c (TEST_NAME): Likewise.
55891         * string/test-stpcpy.c (TEST_NAME): Likewise.
55892         * string/test-stpncpy.c (TEST_NAME): Likewise.
55893         * string/test-strcasecmp.c (TEST_NAME): Likewise.
55894         * string/test-strcasestr.c (TEST_NAME): Likewise.
55895         * string/test-strcat.c (TEST_NAME): Likewise.
55896         * string/test-strchr.c (TEST_NAME): Likewise.
55897         * string/test-strcmp.c(TEST_NAME): Likewise.
55898         * string/test-strcpy.c (TEST_NAME): Likewise.
55899         * string/test-strcspn.c (TEST_NAME): Likewise.
55900         * string/test-strlen.c (TEST_NAME): Likewise.
55901         * string/test-strncasecmp.c (TEST_NAME): Likewise.
55902         * string/test-strncmp.c (TEST_NAME): Likewise.
55903         * string/test-strncpy.c (TEST_NAME): Likewise.
55904         * string/test-strnlen.c (TEST_NAME): Likewise.
55905         * string/test-strpbrk.c (TEST_NAME): Likewise.
55906         * string/test-strrchr.c (TEST_NAME): Likewise.
55907         * string/test-strspn.c (TEST_NAME): Likewise.
55908         * string/test-strstr.c (TEST_NAME): Likewise.
55909         * string/test-bcopy-ifunc.c: New file.
55910         * string/test-bzero-ifunc.c: Likewise.
55911         * string/test-memccpy-ifunc.c: Likewise.
55912         * string/test-memchr-ifunc.c: Likewise.
55913         * string/test-memcmp-ifunc.c: Likewise.
55914         * string/test-memcpy-ifunc.c: Likewise.
55915         * string/test-memmem-ifunc.c: Likewise.
55916         * string/test-memmove-ifunc.c: Likewise.
55917         * string/test-mempcpy-ifunc.c: Likewise.
55918         * string/test-memset-ifunc.c: Likewise.
55919         * string/test-rawmemchr-ifunc.c: Likewise.
55920         * string/test-stpcpy-ifunc.c: Likewise.
55921         * string/test-stpncpy-ifunc.c: Likewise.
55922         * string/test-strcasecmp-ifunc.c: Likewise.
55923         * string/test-strcasestr-ifunc.c: Likewise.
55924         * string/test-strcat-ifunc.c: Likewise.
55925         * string/test-strchr-ifunc.c: Likewise.
55926         * string/test-strchrnul-ifunc.c: Likewise.
55927         * string/test-strcmp-ifunc.c: Likewise.
55928         * string/test-strcpy-ifunc.c: Likewise.
55929         * string/test-strcspn-ifunc.c: Likewise.
55930         * string/test-strlen-ifunc.c: Likewise.
55931         * string/test-strncasecmp-ifunc.c: Likewise.
55932         * string/test-strncat-ifunc.c: Likewise.
55933         * string/test-strncmp-ifunc.c: Likewise.
55934         * string/test-strncpy-ifunc.c: Likewise.
55935         * string/test-strnlen-ifunc.c: Likewise.
55936         * string/test-strpbrk-ifunc.c: Likewise.
55937         * string/test-strrchr-ifunc.c: Likewise.
55938         * string/test-strspn-ifunc.c: Likewise.
55939         * string/test-strstr-ifunc.c: Likewise.
55941         * debug/Makefile (tests-ifunc): New variable.
55942         (tests): Add $(tests-ifunc).
55943         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
55944         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
55945         * debug/test-stpcpy_chk-ifunc.c: New file.
55946         * debug/test-strcpy_chk-ifunc.c: Likewise.
55948 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55950         [BZ #13601]
55951         * elf/dl-load.c (open_verify): Retry read if the entire ELF
55952         header is not read in.
55954 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
55956         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
55957         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
55958         directly.  Pass built executable to script as
55959         $(built-program-cmd).
55960         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
55961         $testprogram without using LD_LIBRARY_PATH and $ldso.
55963         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
55964         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
55965         $(rtld-installed-name).
55966         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
55967         (rtld_installed_name): Likewise.
55968         (library_path): Likewise.
55969         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
55970         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
55971         $(run-program-prefix) to tst-tables.sh.
55972         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
55973         it to run tst-table-from and tst-table-to.
55974         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
55975         Pass it to tst-table.sh.
55976         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
55977         $(run-program-prefix) to tst-gettext.sh.
55978         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
55979         tst-translit.sh.
55980         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
55981         tst-gettext2.sh.
55982         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
55983         to run tst-gettext.
55984         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
55985         to run tst-gettext2.
55986         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
55987         to run tst-translit.
55988         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
55989         $(run-program-prefix) to tst-mtrace.sh.
55990         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
55991         to run tst-mtrace.
55992         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
55993         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
55994         $(rtld-installed-name).
55995         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
55996         (rtld_installed_name): Likewise.
55997         (run_program_prefix): New variable.  Use it to run wordexp-test.
55999         * Makeconfig (ARCH): Remove all definitions.
56000         (machine): Likewise.
56001         [ARCH]: Remove conditional code.
56002         [!objdir]: Give error.
56003         [!objdir] (objpfx): Remove.
56004         [!objdir] (common-objpfx): Likewise.
56005         [!objdir] (common-objdir): Likewise.
56006         * configure.in (config_makefile): Remove.  Hardcode Makefile in
56007         AC_CONFIG_FILES call.
56008         * configure: Regenerated.
56010         [BZ #13888]
56011         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
56012         or TMPDIR.
56013         (testout): Likewise.
56015         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
56016         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
56017         $(rtld-installed-name).
56018         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
56019         (rtld_installed_name): Likwise.
56020         (runit): Remove function.
56021         (run_getconf): New variable,  Use it for running getconf binary.
56023 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
56025         [BZ #14716]
56026         * string/test-memmem.c (check_result): New function.
56027         (do_one_test): Use it.
56028         (check1): New function.
56029         (test_main): Use it.
56031 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
56033         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
56035 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
56037         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
56038         (_G_LSEEK64): Likewise.
56039         (_G_MMAP64): Likewise.
56040         (_G_FSTAT64): Likewise.
56041         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
56042         (_G_LSEEK64): Likewise.
56043         (_G_MMAP64): Likewise.
56044         (_G_FSTAT64): Likewise.
56045         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
56046         unconditional.  Call __mmap64 directly.
56047         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
56048         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
56049         __lseek64 directly.
56050         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
56051         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
56052         __mmap64 directly.
56053         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
56054         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
56055         __lseek64 directly.
56056         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
56057         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
56058         __lseek64 directly.
56059         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
56060         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
56061         __lseek64 directly.
56062         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
56063         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
56064         __fxstat64 directly.
56065         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
56066         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
56067         unconditional.
56068         (freopen64) [!_G_OPEN64]: Remove conditional code.
56069         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
56070         unconditional.
56071         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
56072         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
56073         unconditional.
56074         (ftello64) [!_G_LSEEK64]: Remove conditional code.
56075         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
56076         unconditional.
56077         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
56078         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
56079         unconditional.
56080         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
56081         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
56082         unconditional.
56083         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
56084         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
56085         unconditional.
56086         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
56087         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
56088         unconditional.
56089         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
56091 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56093         [BZ #12140]
56094         * manual/memory.texi (Malloc Tunable Parameters): Add note
56095         about free list pointers overwriting some perturb bytes.
56096         Wording suggested by Roland McGrath.
56098 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
56100         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
56101         (lgamma_test): Likewise.
56102         (tgamma_test): Likewise.
56104 2012-10-16  Florian Weimer  <fweimer@redhat.com>
56106         [BZ #14700]
56107         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
56108         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
56110 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
56112         * NEWS: Mention BZ #14716.
56113         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
56114         when removing AVAILABLE1_USES_J macro.
56116 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
56118         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
56119         (__bswap_64): __uint64_t for unsigned 64-bit int.
56121 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
56123         * include/string.h (memmem): Declare libc hidden alias.
56124         * string/memmem.c (memmem): Define libc hidden alias.
56125         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
56126         __read, __close instead of open, read, close.
56128 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
56130         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
56131         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
56132         global and hidden.
56133         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
56134         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
56135         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
56136         Likewise.
56137         (__rawmemchr_sse2): Likewise.
56138         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
56139         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
56140         (__strchr_sse2): Likewise.
56141         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
56142         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
56143         (__strcasecmp_sse2): Likewise.
56144         (__strncasecmp_sse2): Likewise.
56145         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
56146         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
56147         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
56148         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
56149         (__strrchr_sse2): Likewise.
56150         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
56151         ifunc-impl-list.c.
56152         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
56153         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
56154         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
56155         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56156         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
56157         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
56158         * sysdeps/x86_64/multiarch/memset.S: Likewise.
56159         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
56160         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
56161         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
56162         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
56163         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
56164         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
56165         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
56166         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
56167         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
56168         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
56169         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
56170         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
56171         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
56172         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
56173         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
56174         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
56175         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
56176         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
56177         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56178         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
56179         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
56180         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
56181         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
56183         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
56184         global and hidden.
56185         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
56186         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
56187         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
56188         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
56189         Likewise.
56190         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
56191         Likewise.
56192         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
56193         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
56194         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
56195         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
56196         ifunc-impl-list.c.
56197         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56198         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56199         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56200         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56201         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56202         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56203         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56204         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56205         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56206         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56207         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56208         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56209         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56210         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
56211         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
56212         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56213         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
56214         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
56215         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56216         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56217         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56218         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56219         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56220         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56221         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56222         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
56223         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
56224         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
56225         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
56226         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56227         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
56228         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56229         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56230         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
56231         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56232         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56233         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56234         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56235         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56236         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56237         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
56239         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
56240         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
56241         * include/ifunc-impl-list.h: New file.
56242         * misc/ifunc-impl-list.c: Likewise.
56243         * misc/Makefile (routines): Add ifunc-impl-list.
56244         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
56245         * string/test-string.h: Include <ifunc-impl-list.h>.
56246         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
56247         TEST_NAME]: New variables.
56248         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
56249         are defined.
56250         (test_init): Call __libc_ifunc_impl_list to initialize
56251         func_list if TEST_IFUNC and TEST_NAME are defined.
56253         * string/Makefile (strop-tests): Add bcopy and bzero.
56254         * string/test-bcopy.c: New file.
56255         * string/test-bzero.c: Likewise.
56256         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
56257         defined.
56258         * string/test-memset.c: Support bzero test if TEST_BZERO is
56259         defined.
56260         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
56261         __libc_memmove.
56262         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
56263         __libc_memset.
56264         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
56265         of memset.
56267 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
56269         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
56270         * configure: Regenerated.
56272         * Makeconfig (+link-static-before-libc): Don't include
56273         $(link-static-libc).
56275         * libio/libio.h (_IO_pos_t): Remove.
56277 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56279         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
56280         McGrath.
56282 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56284         * crypt/crypt-entry.c: Include fips-private.h.
56285         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
56286         * crypt/md5c-test.c (main): Tolerate disabled MD5.
56287         * sysdeps/unix/sysv/linux/fips-private.h: New file.
56288         * sysdeps/generic/fips-private.h: New file, dummy fallback.
56290 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56292         * crypt/crypt-private.h: Include stdbool.h.
56293         (_ufc_setup_salt_r): Return bool.
56294         * crypt/crypt-entry.c: Include errno.h.
56295         (__crypt_r): Return NULL with EINVAL for bad salt.
56296         * crypt/crypt_util.c (bad_for_salt): New.
56297         (_ufc_setup_salt_r): Check that salt is long enough and within
56298         the specified alphabet.
56299         * crypt/badsalttest.c: New file.
56300         * crypt/Makefile (tests): Add it.
56301         ($(objpfx)badsalttest): New.
56303 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
56305         * NEWS: Add entry for BZ #14602.
56307 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
56309         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
56310         type-generic.
56311         * math/libm-test.inc: Update comment listing what functions and
56312         macros are tested.
56313         (isgreater_test): New function.
56314         (isgreaterequal_test): Likewise.
56315         (isless_test): Likewise.
56316         (islessequal_test): Likewise.
56317         (islessgreater_test): Likewise.
56318         (isunordered_test): Likewise.
56319         (main): Call the new functions.
56321 2012-10-09  Roland McGrath  <roland@hack.frob.com>
56323         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
56324         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
56325         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
56326         * sysdeps/i386/configure: Regenerated.
56327         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
56328         * sysdeps/mach/configure: Regenerated.
56329         * sysdeps/mach/hurd/configure: Regenerated.
56330         * sysdeps/powerpc/configure: Regenerated.
56331         * sysdeps/powerpc/powerpc32/configure: Regenerated.
56332         * sysdeps/powerpc/powerpc64/configure: Regenerated.
56333         * sysdeps/s390/s390-32/configure: Regenerated.
56334         * sysdeps/s390/s390-64/configure: Regenerated.
56335         * sysdeps/sh/configure: Regenerated.
56336         * sysdeps/sparc/configure: Regenerated.
56337         * sysdeps/unix/sysv/linux/configure: Regenerated.
56338         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
56339         * sysdeps/x86_64/configure: Regenerated.
56341         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
56342         defined.  Don't check if MAP is NULL.
56344 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
56346         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
56347         (_G_stat64): Likewise.
56348         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
56349         (_G_stat64): Likewise.
56350         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
56351         instead of struct _G_stat64.
56352         * libio/fileops.c (mmap_remap_check): Likewise.
56353         (decide_maybe_mmap): Likewise.
56354         (_IO_new_file_seekoff): Likewise.
56355         (_IO_file_stat): Likewise.
56356         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
56357         _G_off64_t.
56358         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
56359         instead of struct _G_stat64.
56360         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
56362 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
56364         [BZ #14602]
56365         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56366         Replace with ...
56367         (CHECK_EOL): New macro.
56368         (two_way_short_needle): Check beginning of haystack for EOL.  Use
56369         CHECK_EOL.
56370         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56371         Replace with CHECK_EOL.
56372         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56373         Replace with CHECK_EOL.
56375 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
56377         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
56378         type-generic.
56379         * math/libm-test.inc: Update comment listing what functions and
56380         macros are tested.
56381         (finite_test): New function.
56382         (isinf_test): Likewise.
56383         (isnan_test): Likewise.
56384         (fpclassify_test): Test subnormal input.
56385         (isfinite_test): Likewise.
56386         (isnormal_test): Likewise.
56387         (main): Call the new functions.
56389 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
56391         [BZ #14660]
56392         * Makerules (%.dynsym): Force C locale when running
56393         $(OBJDUMP) --dynamic-syms.
56395 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
56397         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
56398         <stdint.h>.
56400 2012-10-06  David S. Miller  <davem@davemloft.net>
56402         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
56403         upper 32-bits of the length value in %o2 since we use branch-on-register
56404         tests which consider the entire 64-bit register.
56406 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
56408         * string/test-strstr.c (check2): Add a test for page boundary.
56410 2012-10-05  David S. Miller  <davem@davemloft.net>
56412         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
56413         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
56414         file.
56415         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
56416         sysdep_routines.
56417         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
56418         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
56419         and bzero when HWCAP_SPARC_CRYPTO is present.
56421 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
56423         [BZ #14602]
56424         * string/test-strstr.c (check2): New function.
56425         (test_main): Call check2.
56427         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
56428         and bug-strchr1.
56429         * string/bug-strcasestr1.c (do_test): Moved to ...
56430         * string/test-strcasestr.c (check1): Here.  New function.
56431         (do_one_test): Break out result checking code into ...
56432         (check_result): This.  New function.
56433         (do_one_test): Call check_result.
56434         (test_main): Call check1.
56435         * string/bug-strchr1.c (do_test): Moved to ...
56436         * string/test-strchr.c (check1): Here.  New function.
56437         (do_one_test): Break out result checking code into ...
56438         (check_result): This.  New function.
56439         (do_one_test): Call check_result.
56440         (test_main): Call check1.
56441         * string/bug-strstr1.c (main): Moved to ...
56442         * string/test-strstr.c (check1): Here.  New function.
56443         (do_one_test): Break out result checking code into ...
56444         (check_result): This.  New function.
56445         (do_one_test): Call check_result.
56446         (test_main): Call check1.
56447         * string/bug-strcasestr1.c: Removed.
56448         * string/bug-strchr1.c: Likewise.
56449         * string/bug-strstr1.c: Likewise.
56451         * elf/Makefile (dl-routines): Add hwcaps.
56452         * elf/dl-support.c (_dl_important_hwcaps): Removed.
56453         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
56454         (_dl_important_hwcaps): Moved to ...
56455         * elf/dl-hwcaps.c: Here.  New file.
56456         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
56458         [BZ #14557]
56459         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
56460         if IS_IN_rtld isn't defined.
56462         * elf/dl-support.c (_dl_sysinfo_map): New.
56463         Include "get-dynamic-info.h" and "setup-vdso.h".
56464         (_dl_non_dynamic_init): Call setup_vdso.
56465         * elf/dynamic-link.h: Don't include <assert.h>.
56466         (elf_get_dynamic_info): Moved to ...
56467         * elf/get-dynamic-info.h: Here.  New file.
56468         * elf/dynamic-link.h: Include "get-dynamic-info.h".
56469         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
56470         * elf/setup-vdso.h: Here.  New file.
56471         * elf/rtld.c: Include "setup-vdso.h".
56472         (dl_main): Call setup_vdso.
56474 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
56476         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
56477         creal in comment listing functions tested.  List finite, isinf,
56478         isnan, isless, islessequal, isgreater, isgreaterequal,
56479         islessgreater, isunordered, lgamma_r and pow10 as functions and
56480         macros not tested.  Mention which functions not tested are aliases
56481         for other functions.  Fix typo.  Note that signs of NaNs are not
56482         tested.
56484         * scripts/config.guess: Update from config.git.
56485         * scripts/config.sub: Likewise.
56487 2012-10-04  Roland McGrath  <roland@hack.frob.com>
56489         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
56490         * misc/madvise.c (madvise): Renamed to __madvise.
56491         Make madvise a weak alias.
56492         * include/sys/mman.h: Declare __madvise.
56493         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
56494         * sysdeps/unix/syscalls.list
56495         (madvise): Make __madvise the strong name, and madvise a weak alias.
56496         * sysdeps/unix/sysv/linux/syscalls.list
56497         (madvise, mmap): Remove redundant entries.
56498         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
56499         * malloc/malloc.c (mtrim): Likewise.
56500         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
56502 2012-10-03  Roland McGrath  <roland@hack.frob.com>
56504         * sysdeps/mach/hurd/dl-cache.c: File removed.
56505         * config.h.in (USE_LDCONFIG): New #undef.
56506         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
56507         * configure: Regenerated.
56508         * elf/Makefile (dl-routines): Add dl-cache only under
56509         [$(use-ldconfig) = yes].
56510         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
56511         cache on [USE_LDCONFIG].
56512         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
56513         [USE_LDCONFIG].
56514         * elf/rtld.c (dl_main): Likewise.
56516 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
56518         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
56519         _SC_LEVEL4_CACHE_LINESIZE.
56521 2012-10-03  Roland McGrath  <roland@hack.frob.com>
56523         * sysdeps/unix/bsd/confstr.h: File removed.
56525 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
56527         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
56528         sys/sdt-config.h.
56530 2012-10-02  Roland McGrath  <roland@hack.frob.com>
56532         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
56533         Make 'mapoff' field ElfW(Off) rather than off_t.
56535 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
56537         * nscd/Makefile: Remove nscd-cflags and all its users.
56538         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
56539         (CFLAGS-nonlib): Add compiler flags for nscd modules.
56541         [BZ #10631]
56542         * malloc.c (malloc_printerr): Clarify error message.
56544 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
56546         [BZ #14648]
56547         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56548         Set bit_FMA_Usable if FMA is supported.
56549         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
56550         macro.
56551         (bit_FMA4_Usable): Updated.
56552         (index_FMA_Usable): New macro.
56553         (CPUID_FMA): Likewise.
56554         (HAS_FMA): Defined with bit_FMA_Usable.
56556 2012-10-01  Roland McGrath  <roland@hack.frob.com>
56558         * bits/types.h (__swblk_t): Type removed.
56559         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
56560         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
56561         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56562         (__SWBLK_T_TYPE): Likewise.
56563         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
56564         (__SWBLK_T_TYPE): Likewise.
56565         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56566         (__SWBLK_T_TYPE): Likewise.
56567         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56568         (__SWBLK_T_TYPE): Likewise.
56570 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
56571             Honza Horak <hhorak@redhat.com>
56573         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
56574         (xdr_mapname): Use YPMAXMAP as maxsize.
56575         (xdr_peername): Use YPMAXPEER as maxsize.
56576         (xdr_keydat): Use YPAXRECORD as maxsize.
56577         (xdr_valdat): Use YPMAXRECORD as maxsize.
56579 2012-10-01  Roland McGrath  <roland@hack.frob.com>
56581         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
56583         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
56584         * csu/init-first.c: ... here.
56585         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
56586         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
56587         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
56588         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
56589         * sysdeps/i386/init-first.c: File removed.
56590         * sysdeps/sh/init-first.c: File removed.
56592 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
56594         [BZ #14645]
56595         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
56596         if x * y might underflow to zero and z is zero.
56597         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56598         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56599         * math/libm-test.inc (min_subnorm_value): New variable.
56600         (fma_test): Add more tests.
56601         (fma_test_towardzero): Likewise.
56602         (fma_test_downward): Likewise.
56603         (fma_test_upward): Likewise.
56604         (initialize): Set min_subnorm_value.
56606 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
56608         [BZ #14638]
56609         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
56610         0 + 0.
56611         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
56612         mode for addition resulting in exact zero.
56613         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
56614         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
56615         exact 0 + 0.
56616         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56617         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56618         * math/libm-test.inc (fma_test): Add more tests.
56619         (fma_test_towardzero): New function.
56620         (fma_test_downward): Likewise.
56621         (fma_test_upward): Likewise.
56622         (main): Call the new functions.
56624 2012-09-28  David S. Miller  <davem@davemloft.net>
56626         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
56628 2012-09-28  Roland McGrath  <roland@hack.frob.com>
56630         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
56631         instead of SIGALRM.
56633         * sysdeps/gnu/_G_config.h: Moved to ...
56634         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
56635         * sysdeps/mach/hurd/_G_config.h: Moved to ...
56636         * sysdeps/generic/_G_config.h: ... here.
56638         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
56640         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
56642         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
56643         Conditionalize target on [libnss_test1.so-version].
56645         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
56647         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
56648         (elfobjdir): Move out of conditionals.
56650         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
56651         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
56652         (__nss_lookup_function): Conditionalize label remove_from_tree on
56653         [!DO_STATIC_NSS || SHARED], matching its only use.
56655 2012-09-28  David S. Miller  <davem@davemloft.net>
56657         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
56658         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
56659         file.
56660         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
56661         sysdep_routines.
56662         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
56663         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
56664         when HWCAP_SPARC_CRYPTO is present.
56666 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56668         * io/tst-mknodat.c: Create a FIFO instead of a socket.
56670 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
56672         [BZ #6530]
56673         * stdio-common/vfprintf.c (process_string_arg): Revert
56674         2000-07-22 change.
56676 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
56678         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
56679         for testcase.
56680         * stdio-common/tst-sprintf.c: Include <locale.h>
56681         (main): Test sprintf's handling of incomplete multibyte
56682         characters.
56684 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
56686         * elf/dl-runtime.c (VERSYMIDX): Removed.
56687         * elf/dl-version.c (VERSYMIDX): Likewise.
56688         * elf/do-rel.h (VERSYMIDX): Likewise.
56689         (VALIDX): Likewise.
56690         * elf/dynamic-link.h (VERSYMIDX): Likewise.
56691         * elf/rtld.c (VALIDX): Likewise.
56692         (ADDRIDX): Likewise.
56693         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
56694         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
56695         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
56696         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
56697         (VALIDX): Likewise.
56698         (ADDRIDX): Likewise.
56700 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56702         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
56704 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
56706         [BZ #11438]
56707         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
56708         to global scope.
56709         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
56710         addresses are in the same scope as 192.0.2/24.
56711         * posix/gai.conf: Document new scope table defaults.
56713 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56715         [BZ #5298]
56716         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
56717         for ftell.  Compute offsets from write pointers instead.
56718         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
56720 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56722         [BZ #14543]
56723         * libio/Makefile (tests): New test case tst-fseek.
56724         * libio/tst-fseek.c: New test case to verify that fseek/ftell
56725         combination works in wide mode.
56726         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
56727         state when the external buffer state changes.
56729 2012-09-27  David S. Miller  <davem@davemloft.net>
56731         [BZ #14376]
56732         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
56733         pass reloc->r_addend in as the 'high' argument to
56734         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
56736         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56738 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56740         * rt/tst-aio2.c: Include <pthread.h>.
56741         * rt/tst-aio3.c: Likewise.
56743 2012-09-27  Steve Ellcey  <sellcey@mips.com>
56745         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
56747 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
56749         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
56750         contents on [SHARED].
56752 2012-09-26  Marek Polacek  <polacek@redhat.com>
56754         [BZ #14530]
56755         [BZ #13741]
56756         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
56757         for C++ and GCC <4.3 as well as for non GCC compilers.
56759 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
56761         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56763 2012-09-25  Roland McGrath  <roland@hack.frob.com>
56765         * Makefile.in (all, install): Declare with .PHONY.
56766         Reported by Michael Hope <michael.hope@linaro.org>.
56768 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56770         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
56771         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
56772         system header.
56773         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
56774         Likewise.
56775         (sydep_routines): Add the new and the internal functions.
56776         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
56777         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
56778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
56779         (GLIBC_2.17): Add the new function.
56780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
56781         (GLIBC_2.17): Likewise.
56782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
56783         (GLIBC_2.17): Likewise.
56784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
56785         (GLIBC_2.17): Likewise.
56786         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
56788 2012-09-25  Alan Modra  <amodra@gmail.com>
56790         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
56791         Add release barrier before setting once_control to say
56792         initialisation is done.  Add hints on lwarx.  Use macro in
56793         place of isync.
56794         (clear_once_control): Add release barrier.
56796 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56798         [BZ #13629]
56799         * math/s_clog.c (__clog): Handle more values close to |z| = 1
56800         specially.
56801         * math/s_clog10.c (__clog10): Likewise.
56802         * math/s_clog10f.c (__clog10f): Likewise.
56803         * math/s_clog10l.c (__clog10l): Likewise.
56804         * math/s_clogf.c (__clogf): Likewise.
56805         * math/s_clogl.c (__clogl): Likewise.
56806         * math/Makefile (libm-calls): Add x2y2m1.
56807         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
56808         (__x2y2m1): Likewise.
56809         (__x2y2m1l): Likewise.
56810         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
56811         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
56812         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
56813         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
56814         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
56815         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
56816         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
56817         * sysdeps/i386/fpu/libm-test-ulps: Update.
56818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56820         [BZ #14621]
56821         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
56822         int as type of variable DEPTH.
56823         (glob): Use size_t instead of int as type of variables NEWCOUNT
56824         and OLD_PATHC.
56826 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56828         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
56829         Add s_sincosf-sse2.
56830         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
56831         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
56832         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
56833         macros for using routine as __sincosf_ia32.
56834         Use macro for function declaration and weak_alias.
56835         * sysdeps/i386/fpu/libm-test-ulps: Update.
56837         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
56838         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56840         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
56841         subnormal argument.
56842         * math/s_cexpf.c (__cexpf): Likewise.
56843         * math/s_csinf.c (__csinf): Likewise.
56844         * math/s_csinhf.c (__csinhf): Likewise.
56845         * math/s_ctanf.c (__ctanf): Likewise.
56846         * math/s_ctanhf.c (__ctanhf): Likewise.
56847         * math/s_ccosh.c (__ccoshf): Likewise.
56848         * math/s_cexp.c (__cexpl): Likewise.
56849         * math/s_csin.c (__csin): Likewise.
56850         * math/s_csinh.c (__csinh): Likewise.
56851         * math/s_ctan.c (__ctan): Likewise.
56852         * math/s_ctanh.c (ctanh): Likewise.
56853         * math/s_ccoshl.c (__ccoshl): Likewise.
56854         * math/s_cexpl.c (__cexpl): Likewise.
56855         * math/s_csinl.c (__csinl): Likewise.
56856         * math/s_csinhl.c (__csinhl): Likewise.
56857         * math/s_ctanl.c (__ctanl): Likewise.
56858         * math/s_ctanhl.c (__ctanhl): Likewise.
56860 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56862         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
56863         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
56864         (_IO_off_t): Define to __off_t, not _G_off_t.
56865         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
56866         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
56867         (_IO_wint_t): Define to wint_t, not _G_wint_t.
56868         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
56869         type of __dummy and __dummy2 fields.
56870         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
56871         (_G_ssize_t): Likewise.
56872         (_G_off_t): Likewise.
56873         (_G_pid_t): Likewise.
56874         (_G_uid_t): Likewise.
56875         (_G_wchar_t): Likewise.
56876         (_G_wint_t): Likewise.
56877         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
56878         (_G_ssize_t): Likewise.
56879         (_G_off_t): Likewise.
56880         (_G_pid_t): Likewise.
56881         (_G_uid_t): Likewise.
56882         (_G_wchar_t): Likewise.
56883         (_G_wint_t): Likewise.
56884         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
56885         (_G_ssize_t): Likewise.
56886         (_G_off_t): Likewise.
56887         (_G_pid_t): Likewise.
56888         (_G_uid_t): Likewise.
56889         (_G_wchar_t): Likewise.
56890         (_G_wint_t): Likewise.
56892 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56894         * malloc/arena.c: Include malloc-sysdep.h.
56895         (shrink_heap): Use check_may_shrink_heap to decide if madvise
56896         is sufficient to shrink the heap or an unmap is needed.
56897         * sysdeps/generic/malloc-sysdep.h: New file.  Define
56898         new function check_may_shrink_heap.
56899         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
56900         new function check_may_shrink_heap.
56902 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56904         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
56905         comments.
56907 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
56909         * catgets/test-gencat.sh: Add "set -e".
56910         * elf/tst-pathopt.sh: Likewise.
56911         * grp/tst_fgetgrent.sh: Likewise.
56912         * iconvdata/run-iconv-test.sh: Likewise.
56913         * intl/tst-gettext.sh: Likewise.
56914         * intl/tst-gettext2.sh: Likewise.
56915         * intl/tst-gettext4.sh: Likewise.
56916         * intl/tst-gettext6.sh: Likewise.
56917         * intl/tst-translit.sh: Likewise.
56918         * io/ftwtest-sh: Likewise.
56919         * libio/test-freopen.sh: Likewise.
56920         * malloc/tst-mtrace.sh: Likewise.
56921         * posix/globtest.sh: Likewise.
56922         * posix/tst-getconf.sh: Likewise.
56923         * posix/wordexp-tst.sh: Likewise.
56924         * stdio-common/tst-printf.sh: Likewise.
56925         * stdio-common/tst-unbputc.sh: Likewise.
56926         * stdlib/tst-fmtmsg.sh: Likewise.
56927         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
56928         * catgets/Makefile: Do not specify -e option when running
56929         testsuite shell scripts.
56930         * elf/Makefile: Likewise.
56931         * grp/Makefile: Likewise.
56932         * iconvdata/Makefile: Likewise.
56933         * intl/Makefile: Likewise.
56934         * io/Makefile: Likewise.
56935         * libio/Makefile: Likewise.
56936         * malloc/Makefile: Likewise.
56937         * posix/Makefile: Likewise.
56938         * stdio-common/Makefile: Likewise.
56939         * stdlib/Makefile: Likewise.
56940         * sysdeps/x86_64/Makefile: Likewise.
56942         * io/ftwtest-sh: Add copyright header.
56943         * posix/globtest.sh: Likewise.
56944         * posix/tst-getconf.sh: Likewise.
56945         * posix/wordexp-tst.sh: Likewise.
56946         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
56948 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
56950         [BZ #13679]
56951         * Makeconfig (+link): Defined as $(+link-static) if
56952         $(build-shared) isn't yes.
56953         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
56954         isn't yes.
56955         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
56957         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
56959         [BZ #14562]
56960         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
56961         new chunk size with MALLOC_ALIGN_MASK.
56963 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
56965         [BZ #5044]
56966         * stdio-common/printf_fphex.c: Include <stdbool.h> and
56967         <rounding-mode.h>.
56968         (__printf_fphex): Determine rounding using get_rounding_mode and
56969         round_away.
56970         * stdio-common/tst-printf-round.c (struct hex_test): New
56971         structure.
56972         (hex_tests): New variable.
56973         (test_hex_in_one_mode): New function.
56974         (do_test): Also run tests for hex float output.
56976 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
56978         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
56979         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
56980         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
56981         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
56982         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
56983         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
56984         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
56985         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
56987 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
56989         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
56990         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
56991         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
56992         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
56994 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
56996         [BZ #14579]
56997         * elf/rtld.c (dl_main): Limit the check for self loading to normal
56998         mode only.
56999         * elf/tst-rtld-load-self.sh: New test.
57000         * elf/Makefile: Run it.
57002 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
57004         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
57005         (tst-writev-ENV): Remove.
57006         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
57008 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
57010         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
57012 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
57014         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
57015         unconditional.
57016         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
57017         Likewise.
57018         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
57019         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
57020         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
57021         Likewise.
57023 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
57025         [BZ #14587]
57026         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
57027         * config.make.in (have-cpp-asm-debuginfo): Removed.
57028         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
57029         * configure: Regenerated.
57031 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
57033         [BZ #5044]
57034         * stdio-common/printf_fp.c: Include <stdbool.h> and
57035         <rounding-mode.h>.
57036         (___printf_fp): Determine rounding using get_rounding_mode and
57037         round_away.
57038         * stdio-common/tst-printf-round.c: New file.
57039         * stdio-common/Makefile (tests): Add tst-printf-round.
57040         (link-libm): New variable.
57041         ($(objpfx)tst-printf-round): Depend in $(link-libm).
57043 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
57045         [BZ #14576]
57046         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
57047         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
57048         Likewise.
57049         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
57050         Likewise.
57052 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
57054         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
57055         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57056         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57057         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57059 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
57061         [BZ #14518]
57062         * include/rounding-mode.h: New file.
57063         * sysdeps/generic/get-rounding-mode.h: Likewise.
57064         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
57065         * stdlib/strtod_l.c: Include <rounding-mode.h>.
57066         (MAX_VALUE): New macro.
57067         (MIN_VALUE): Likewise.
57068         (overflow_value): New function.
57069         (underflow_value): Likewise.
57070         (round_and_return): Use overflow_value and underflow_value to
57071         determine return values in overflow and underflow cases.  Use
57072         round_away to determine rounding depending on rounding mode.
57073         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
57074         determine return values in overflow and underflow cases.
57075         * stdlib/tst-strtod-round.c: Include <fenv.h>.
57076         (struct test_results): New structure.
57077         (struct test): Use struct test_results to store expected results
57078         for all rounding modes.
57079         (TEST): Include expected results for all rounding modes.
57080         (test_in_one_mode): New function.
57081         (do_test): Use test_in_one_mode to compute and check results.
57082         Check results for all rounding modes.
57083         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
57084         $(link-libm).
57086 2012-12-09  Allan McRae  <allan@archlinux.org>
57088         * sysdeps/i386/fpu/libm-test-ulps: Update
57090 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
57092         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
57093         (_G_int32_t): Likewise.
57094         (_G_uint16_t): Likewise.
57095         (_G_uint32_t): Likewise.
57096         (_G_HAVE_BOOL): Likewise.
57097         (_G_HAVE_ATEXIT): Likewise.
57098         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57099         (_G_HAVE_IO_FILE_OPEN): Likewise.
57100         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
57101         (_G_int32_t): Likewise.
57102         (_G_uint16_t): Likewise.
57103         (_G_uint32_t): Likewise.
57104         (_G_HAVE_BOOL): Likewise.
57105         (_G_HAVE_ATEXIT): Likewise.
57106         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57107         (_G_HAVE_IO_FILE_OPEN): Likewise.
57108         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
57109         (_G_int32_t): Likewise.
57110         (_G_uint16_t): Likewise.
57111         (_G_uint32_t): Likewise.
57112         (_G_HAVE_BOOL): Likewise.
57113         (_G_HAVE_ATEXIT): Likewise.
57114         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57115         (_G_HAVE_IO_FILE_OPEN): Likewise.
57117 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
57119         * csu/libc-tls.c: Update copyright years.
57121 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
57123         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
57124         [!_G_USING_THUNKS]: Remove conditional code.
57125         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
57126         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
57128         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
57129         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
57130         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57131         (_G_VTABLE_LABEL_PREFIX): Likewise.
57132         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57133         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57134         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57135         (_G_VTABLE_LABEL_PREFIX): Likewise.
57136         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
57137         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57138         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57139         (_G_VTABLE_LABEL_PREFIX): Likewise.
57140         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
57142 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
57144         * libio/Makefile: Include ../Makeconfig before tests.
57145         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
57146         only if $(build-shared) is yes.
57148         * iconv/gconv_db.c: Update copyright years.
57150 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57152         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
57153         unwind info if defined PIC. Fix special cases description.
57154         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
57156         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
57157         DP_HI_MASK entry.
57158         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
57160 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
57162         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
57164         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
57165         is NULL.
57167         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
57168         (LDLIBS-tst-chk4): This.
57169         (LDFLAGS-tst-chk5): Renamed to ...
57170         (LDLIBS-tst-chk5): This.
57171         (LDFLAGS-tst-chk6): Renamed to ...
57172         (LDLIBS-tst-chk6): This.
57173         (LDFLAGS-tst-lfschk4): Renamed to ...
57174         (LDLIBS-tst-lfschk4): This.
57175         (LDFLAGS-tst-lfschk5): Renamed to ...
57176         (LDLIBS-tst-lfschk5): This.
57177         (LDFLAGS-tst-lfschk6): Renamed to ...
57178         (LDLIBS-tst-lfschk6): This.
57180         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
57181         on $(common-objpfx)soversions.mk.
57183 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
57185         [BZ #10014]
57186         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
57187         example host name.
57189 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
57191         * malloc/arena.c (arena_get_retry): New function that gets
57192         another arena for the caller to try its request on.
57193         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
57194         current arena cannot fulfill the request.
57195         (__libc_memalign): Likewise.
57196         (__libc_memalign): Likewise.
57197         (__libc_pvalloc): Likewise.
57198         (__libc_calloc): Likewise.
57200 2012-09-05  John Tobey  <john.tobey@gmail.com>
57202         [BZ #13542]
57203         * manual/arith.texi (Operations on Complex): Fix description
57204         of carg branch cut.
57206 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
57208         [BZ #10014]
57209         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
57210         host name.
57212         [BZ #10038]
57213         * manual/memory.texi (Memory): Make order of menu items match
57214         order of sections.
57216 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57218         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
57219         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
57220         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
57222 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57224         * csu/libc-tls.c (static_dtv): Renamed to ...
57225         (_dl_static_dtv): This.  Make it global.
57226         (_dl_initial_dtv): Removed.
57227         (__libc_setup_tls): Updated.
57228         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
57229         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
57230         DL_INITIAL_DTV.
57232 2012-09-06  Petr Machata  <pmachata@redhat.com>
57234         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
57235         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
57236         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
57237         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
57239 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57241         [BZ #14545]
57242         * csu/libc-tls.c (_dl_initial_dtv): New variable.
57243         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
57244         freeing dtv[-1].
57246 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57248         [BZ #14544]
57249         * Makeconfig (link-static-before-libc): Replace $(+prector)
57250         with $(+prectorT).
57251         (link-static-after-libc): Replace $(+postctor) with
57252         $(+postctorT).
57253         (link-bounded): Replace $(+prector)/$(+postctor) with
57254         $(+prectorT)/$(+postctorT).
57255         (+prectorT): New macro.
57256         (+postctorT): Likewise.
57258 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
57260         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
57261         (round_str): Handle values above the maximum for IBM long double
57262         as inexact.
57263         * stdlib/tst-strtod-round.c (tests): Regenerated.
57265 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57267         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
57268         assembler flag.
57269         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
57270         zarch_nohighgprs around the zarch optimized routines.
57271         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
57272         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
57273         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
57274         for zarch.
57276 2012-09-05  David S. Miller  <davem@davemloft.net>
57278         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57280         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
57281         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
57282         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
57283         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57284         entries.
57286 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57288         * malloc/arena.c: Fold copyright years.
57289         * malloc/mcheck.c, malloc/memusage.c: Likewise.
57291 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57293         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
57295 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57297         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
57299 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57301         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
57302         change internal state upon failure.
57304 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57306         * malloc/mcheck.c (mcheck_check_all): Fix typo.
57307         * malloc/memusage.c (mmap): Likewise.
57308         (mmap64, mremap): Likewise.  Adjust name in comment.
57310 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57312         * libio/fileops.c: Fix typos in comments.
57313         * libio/oldfileops.c: Likewise.
57314         * libio/wfileops.c: Likewise.
57316 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57318         [BZ #1349]
57319         * malloc/Makefile (tests): Add tst-malloc-usable test case.
57320         (tst-malloc-usable-ENV): Set environment for test case.
57321         * malloc/hooks.c (malloc_check_get_size): New function to get
57322         requested size.
57323         * malloc/malloc.c (musable): Use malloc_check_get_size.
57324         * malloc/tst-malloc-usable.c: New test case.
57326 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57328         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
57330 2012-09-05  Allan McRae  <allan@archlinux.org>
57332         [BZ #13966]
57333         * configure.in (CXX_SYSINCLUDES): Use compiler output to
57334         determine header location.
57335         * configure: Regenerated.
57337 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57339         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
57340         float format.
57341         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
57342         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
57343         format.
57344         (test): Regenerate.
57346 2012-09-04  David S. Miller  <davem@davemloft.net>
57348         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
57349         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
57350         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
57352 2012-09-04  Florian Weimer  <fweimer@redhat.com>
57354         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
57355         failures.
57357         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
57359 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
57361         [BZ #9914]
57362         * libio/iogetdelim.c: Include <limits.h>.
57363         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
57364         + len + 1 would overflow.
57366 2012-09-03  Andreas Jaeger  <aj@suse.de>
57368         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57369         * sysdeps/i386/fpu/libm-test-ulps: Update.
57371 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57373         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
57374         Add s_sinf-sse2, s_conf-sse2.
57376         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
57377         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
57378         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
57379         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
57381         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
57382         for using routine as __sinf_ia32.
57383         Use macro for function declaration and weak_alias.
57384         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
57385         for using routine as __cosf_ia32.
57386         Use macro for function declaration and weak_alias.
57388         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
57389         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
57391         * sysdeps/x86_64/fpu/s_sinf.S: New file.
57392         * sysdeps/x86_64/fpu/s_cosf.S: New file.
57393         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57395         * math/libm-test.inc (cos_test): Add more test cases.
57396         (sin_test): Likewise.
57397         (sincos_test): Likewise.
57399 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57401         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
57402         (IFUNC_RESOLVE): Make pointers to the specialized implementations
57403         hidden.
57404         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
57406 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
57408         [BZ #14538]
57409         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
57410         first element of the GOT.
57411         (elf_machine_load_address): Return the difference between
57412         the runtime address of _DYNAMIC and elf_machine_dynamic ().
57414 2012-09-01  Allan McRae  <allan@archlinux.org>
57416         [BZ #13412]
57417         * configure.in (AWK): Require gawk version 3.0 or later.
57418         * configure: Regenerated.
57420 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
57422         * sysdeps/unix/sysv/linux/kernel-features.h
57423         (__ASSUME_POSIX_CPU_TIMERS): Remove.
57424         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57425         [__NR_clock_getres]: Make code unconditional.
57426         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
57427         (clock_getcpuclockid): Remove code left unreachable by removal of
57428         conditionals.
57429         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
57430         code unconditional.
57431         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
57432         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57433         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
57434         Make code unconditional.
57435         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
57436         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57437         * sysdeps/unix/sysv/linux/clock_settime.c
57438         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
57439         conditional code.
57440         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
57441         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57443 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
57445         [BZ #14476]
57446         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
57447         scripts/test-installation.pl.
57449         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
57450         and $ld_so_version if it is set.
57452 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57454         [BZ #14516]
57455         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
57456         failure if reading from procfs failed.
57457         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
57459 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
57461         * sysdeps/unix/sysv/linux/kernel-features.h
57462         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
57463         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
57464         Remove conditional code.
57465         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57466         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
57467         Remove conditional code.
57468         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57469         * sysdeps/unix/sysv/linux/i386/fxstat.c
57470         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57471         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57472         * sysdeps/unix/sysv/linux/i386/fxstatat.c
57473         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57474         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57475         * sysdeps/unix/sysv/linux/i386/lxstat.c
57476         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57477         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57478         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
57479         Remove conditional code.
57480         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57481         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
57482         Remove conditional code.
57483         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57484         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
57485         <kernel-features.h>.
57486         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
57487         Remove.
57488         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
57489         Remove conditional code.
57490         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57491         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
57492         Remove conditional.
57494 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
57496         [BZ #5400]
57497         * NEWS: Add fixed bug number.
57499 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
57501         [BZ #14519]
57502         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
57503         underflowing exponent in case of negative sign.
57504         * stdlib/tst-strtod-round-data: Add more tests.
57505         * stdlib/tst-strtod-round.c (tests): Regenerated.
57507         [BZ #3479]
57508         * stdlib/strtod_l.c (NDIG): Remove.
57509         (HEXNDIG): Likewise.
57510         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
57511         smallest representable value.
57512         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
57513         lie within an exact representation of 1/2 ulp of the result.
57514         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
57515         unconditionally.
57516         (TENS_P9_IDX): Define unconditionally.
57517         (TENS_P9_SIZE): Likewise.
57518         (TENS_P10_IDX): Likewise.
57519         (TENS_P10_SIZE): Likewise.
57520         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
57521         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
57522         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
57523         entries for 10^2^13 and 10^2^14.
57524         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
57525         (TENS_P13_IDX): Define.
57526         (TENS_P13_SIZE): Likewise.
57527         (TENS_P14_IDX): Likewise.
57528         (TENS_P14_SIZE): Likewise.
57529         (_fpioconst_pow10): Change array size to
57530         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
57531         unconditional.
57532         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
57533         1024]: Add entries for 10^2^13 and 10^2^14.
57534         [LAST_POW10 > _LAST_POW10]: Remove #error.
57535         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
57536         (_fpioconst_pow10): Change array size to
57537         FPIOCONST_POW10_ARRAY_SIZE.
57538         * stdlib/gen-fpioconst.c: New file.
57539         * stdlib/gen-tst-strtod-round.c: Likewise.
57540         * stdlib/tst-strtod-round-data: Likewise.
57541         * stdlib/tst-strtod-round.c: Likewise.
57542         * stdlib/Makefile (tests): Add tst-strtod-round.
57544         [BZ #14459]
57545         * stdlib/strtod_l.c: Include <stdint.h>.
57546         (NDEBUG): Do not define.
57547         (round_and_return): Change EXPONENT parameter to type intmax_t.
57548         Rearrange calculations to avoid internal overflow possibilities.
57549         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
57550         Rearrange calculations to avoid internal overflow possibilities.
57551         Assert that number fits inside MPNSIZE limbs.
57552         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
57553         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
57554         calculations and add assertions to avoid internal overflow
57555         possibilities.  Add casts to avoid signed/unsigned operations.
57556         * stdlib/tst-strtod-overflow.c: New file.
57557         * stdlib/Makefile (tests): Add tst-strtod-overflow.
57559 2012-08-25  Marek Polacek  <polacek@redhat.com>
57561         * time/time.h: Fix some typos in comments.
57563 2012-08-23  Roland McGrath  <roland@hack.frob.com>
57565         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
57566         * posix/tst-rfc3484-2.c: Likewise.
57567         * posix/tst-rfc3484-3.c: Likewise.
57569 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
57571         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
57572         (EF_ARM_ABI_FLOAT_HARD): Likewise.
57574 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
57576         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
57577         #include of fxstatat64.c.
57579 2012-08-22  Roland McGrath  <roland@hack.frob.com>
57581         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
57582         * shadow/getspent_r.c: Likewise.
57583         * shadow/getspnam.c: Likewise.
57584         * shadow/getspnam_r.c: Likewise.
57585         * gshadow/getsgent.c: Likewise.
57586         * gshadow/getsgent_r.c: Likewise.
57587         * gshadow/getsgnam.c: Likewise.
57588         * gshadow/getsgnam_r.c: Likewise.
57589         * inet/getnetbyad.c: Likewise.
57590         * inet/getnetbyad_r.c: Likewise.
57591         * inet/getnetbynm.c: Likewise.
57592         * inet/getnetbynm_r.c: Likewise.
57593         * inet/getnetent.c: Likewise.
57594         * inet/getnetent_r.c: Likewise.
57595         * inet/getproto.c: Likewise.
57596         * inet/getproto_r.c: Likewise.
57597         * inet/getprtent.c: Likewise.
57598         * inet/getprtent_r.c: Likewise.
57599         * inet/getprtname.c: Likewise.
57600         * inet/getprtname_r.c: Likewise.
57601         * inet/getrpcbyname.c: Likewise.
57602         * inet/getrpcbyname_r.c: Likewise.
57603         * inet/getrpcbynumber.c: Likewise.
57604         * inet/getrpcbynumber_r.c: Likewise.
57605         * inet/getrpcent.c: Likewise.
57606         * inet/getrpcent_r.c: Likewise.
57607         * inet/getaliasent.c: Likewise.
57608         * inet/getaliasent_r.c: Likewise.
57609         * inet/getaliasname.c: Likewise.
57610         * inet/getaliasname_r.c: Likewise.
57611         * nscd/getgrgid_r.c: Likewise.
57612         * nscd/getgrnam_r.c: Likewise.
57613         * nscd/gethstbyad_r.c: Likewise.
57614         * nscd/gethstbynm3_r.c: Likewise.
57615         * nscd/getpwnam_r.c: Likewise.
57616         * nscd/getpwuid_r.c: Likewise.
57617         * nscd/getsrvbynm_r.c: Likewise.
57618         * nscd/getsrvbypt_r.c: Likewise.
57619         * nscd/gai.c: Likewise.
57621         * configure.in (build_nscd): New substituted variable, set
57622         by --disable-build-nscd and defaults to $use_nscd.
57623         * configure: Regenerated.
57624         * config.make.in (build-nscd): New substituted variable.
57625         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
57626         Change conditional to require [$(build-nscd) = yes] as well.
57627         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
57629         [BZ# 13696]
57630         * configure.in (use_nscd): New substituted variable, set by
57631         --disable-nscd.  If enabled, define USE_NSCD.
57632         * configure: Regenerated.
57633         * config.h.in: Add USE_NSCD.
57634         * config.make.in (use-nscd): New substituted variable.
57635         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
57636         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
57637         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
57638         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
57639         (CFLAGS-getgrnam_r.c): Likewise.
57640         (CFLAGS-initgroups.c): Likewise.
57641         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
57642         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
57643         Variables removed.
57644         * inet/getnetgrent_r.c
57645         (nscd_setnetgrent): New function, broken out of ...
57646         (setnetgrent): ... here.  Call it.
57647         (innetgr): Conditionalize nscd bits on [USE_NSCD].
57648         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
57649         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
57650         * nscd/Makefile (routines, aux): Move definitions after include of
57651         Makeconfig.  Conditionalize on [$(use-nscd) != no].
57652         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
57653         Conditionalize on [USE_NSCD].
57654         (is_nscd, nscd_init_cb): Likewise.
57655         (nss_load_library): Conditionalize init callback on [USE_NSCD].
57656         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
57657         * nss/nss_db/db-init.c: Likewise.
57658         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
57659         [USE_NSCD].
57660         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
57661         (make_request): Use it.
57662         (cache_valid_p): New function.
57663         (__check_pf): Use it.
57664         * NEWS: Add item for --disable-nscd.
57666 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
57668         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
57669         to support sed >= 4.2.1-20-ga9bf076.
57670         * configure: Regenerated.
57672 2012-08-22  Roland McGrath  <roland@hack.frob.com>
57674         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
57675         Conditionalize whole body on [IREL].
57677 2012-08-22  Jeff Law <law@redhat.com>
57679         [BZ #14505]
57680         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
57681         if the family is PF_UNSPEC.
57683 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
57685         * Makerules (lib-version): Rename from V.
57686         (install-lib-nosubdir): Change V to lib-version.
57688 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
57690         [BZ #14252]
57691         * powerpc32/power6/wcschr.c: New file.
57692         * powerpc32/power6/wcscpy.c: New file.
57693         * powerpc32/power6/wcsrchr.c: New file.
57694         * powerpc64/power6/wcschr.c: New file.
57695         * powerpc64/power6/wcscpy.c: New file.
57696         * powerpc64/power6/wcsrchr.c: New file.
57698 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
57700         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
57701         (two_way_short_needle): Use it.
57702         * string/strstr.c (AVAILABLE1_USES_J): Define.
57703         * string/strcasestr.c: Likewise.
57705         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
57706         array references.
57707         * string/strcasestr.c (TOLOWER): Make side-effect safe.
57709         [BZ #11607]
57710         * NEWS: Add an entry.
57711         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
57712         define their defaults.
57713         (two_way_short_needle): Detect end-of-string on-the-fly.
57714         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
57715         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
57716         * string/bug-strcasestr1.c: New test.
57717         * string/Makefile: Run it.
57719 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
57721         [BZ #11607]
57722         * string/str-two-way.h (two_way_short_needle): Optimize matching of
57723         the first character.
57725 2012-08-21  Roland McGrath  <roland@hack.frob.com>
57727         * csu/elf-init.c (__libc_csu_irel): Function removed.
57728         * csu/libc-start.c (apply_irel): New function.
57729         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
57731 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
57733         * sysdeps/unix/sysv/linux/kernel-features.h
57734         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
57735         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
57736         <kernel-features.h>.
57737         [__NR_fadvise64_64]: Make code unconditional.
57738         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
57739         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
57740         !__NR_fadvise64_64)]: Likewise.
57741         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
57742         !__NR_fadvise64_64))]: Likewise.
57743         [__NR_fadvise64]: Make code unconditional.
57744         [!__NR_fadvise64]: Remove conditional code.
57745         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
57746         <kernel-features.h>.
57747         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57748         unconditional.
57749         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57750         conditional code.
57751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
57752         not include <kernel-features.h>.
57753         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57754         unconditional.
57755         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57756         conditional code.
57757         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
57758         include <kernel-features.h>.
57759         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57760         unconditional.
57761         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57762         conditional code.
57764 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57766         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
57767         slight instruction rearrangements per scrollpipe analysis.
57768         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
57770 2012-08-20  Roland McGrath  <roland@hack.frob.com>
57772         * manual/syslog.texi (syslog; vsyslog, closelog):
57773         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
57774         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
57776         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
57777         DSOCAPS to match condition on defining it.
57779 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
57781         * sysdeps/unix/sysv/linux/kernel-features.h
57782         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
57783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
57784         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57785         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
57787         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57788         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
57790         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57791         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57793         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
57794         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
57796         * sysdeps/unix/sysv/linux/kernel-features.h
57797         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
57798         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
57799         unconditional.
57800         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57801         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
57802         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57803         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57804         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
57805         Make code unconditional.
57806         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57807         (__mmap64) [!__NR_mmap2]: Likewise.
57808         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
57809         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57810         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57811         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
57812         [__NR_mmap2]: Make code unconditional.
57813         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57814         (__mmap64) [!__NR_mmap2]: Likewise.
57816 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57818         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
57820 2012-08-18  Andreas Jaeger  <aj@suse.de>
57822         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
57824 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57826         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
57827         * include/unistd.h (__have_sock_cloexec): Likewise.
57828         (__have_pipe2): Likewise.
57829         (__have_dup3): Likewise.
57831 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57833         [BZ #9685]
57834         * include/unistd.h (__have_pipe2): Change define into an extern int.
57835         (__have_dup3): Likewise.
57836         * socket/have_sock_cloexec.c: Include fcntl.h.
57837         (__have_pipe2): New variable.
57838         (__have_dup3): Likewise.
57840 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
57842         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
57844 2012-08-17  Marek Polacek  <polacek@redhat.com>
57846         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
57847         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
57849 2012-08-17  Roland McGrath  <roland@hack.frob.com>
57851         * configure.in: Add AC_SUBST for sysheaders.
57852         * configure: Regenerated.
57853         * config.make.in (sysheaders): New substituted variable.
57855         * sysdeps/unix/mkfifo.c: Moved ...
57856         * sysdeps/posix/mkfifo.c: ... here.
57857         * sysdeps/unix/mkfifoat.c: Moved ...
57858         * sysdeps/posix/mkfifoat.c: ... here.
57860         * sysdeps/unix/utime.c: Moved ...
57861         * sysdeps/posix/utime.c: ... here.
57863         * sysdeps/unix/time.c: Moved ...
57864         * sysdeps/posix/time.c: ... here.
57865         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
57866         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
57868         * sysdeps/unix/nice.c: Moved ...
57869         * sysdeps/posix/nice.c: ... here.
57871         * sysdeps/unix/alarm.c: Moved ...
57872         * sysdeps/posix/alarm.c: ... here.
57874         * intl/Makefile ($(codeset_mo)): Depend on the input file.
57876 2012-08-17  Jeff Law <law@redhat.com>
57878         * intl/Makefile (codeset_mo): New variable.
57879         ($(codeset_mo)): New target.
57880         (tst-codeset.out): Depend on that.  Remove explicit rule.
57881         (tst-gettext3.out, tst-gettext5.out): Likewise.
57882         (LOCPATH-ENV, tst-codeset-ENV): New variables.
57883         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
57884         * intl/tst-codeset.sh: Remove.
57885         * intl/tst-gettext3.sh: Likewise.
57886         * intl/tst-gettext5.sh: Likewise.
57888 2012-08-17  Roland McGrath  <roland@hack.frob.com>
57890         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
57891         * sysdeps/unix/syscalls.list: ... here.
57893         * sysdeps/posix/getaddrinfo.c
57894         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
57895         (gaiconf_init, gaiconf_reload): Use them.
57896         [!_STATBUF_ST_NSEC]
57897         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
57898         Define using time_t rather than struct timespec.
57900         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
57901         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
57902         Macros removed.
57903         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
57904         [!NO_THREADS].
57905         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
57906         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
57907         Likewise.
57909         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
57910         __libc_cleanup_push argument.
57912         * bits/param.h: New file.
57913         * misc/sys/param.h: New file.
57914         * include/sys/param.h: New file.
57915         * misc/Makefile (headers): Add bits/param.h.
57916         * sysdeps/generic/sys/param.h: File removed.
57917         * sysdeps/unix/sysv/linux/bits/param.h: New file.
57918         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
57919         * sysdeps/mach/hurd/bits/param.h: New file.
57920         * sysdeps/mach/hurd/sys/param.h: File removed.
57922         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
57923         last change.
57925         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
57926         [_IO_MTSAFE_IO].
57927         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
57928         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
57929         New macros.
57931         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
57932         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
57933         rather than -D_IO_MTSAFE_IO conditionally.
57934         * stdio-common/Makefile (CPPFLAGS): Likewise.
57935         * wcsmbs/Makefile (CPPFLAGS): Likewise.
57936         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
57937         Use $(libio-mtsafe).
57938         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
57939         of -D_IO_MTSAFE_IO.
57940         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
57941         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
57942         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
57943         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
57944         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
57945         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
57946         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
57947         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
57948         (CFLAGS-fread_u_chk.c): Likewise.
57949         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
57950         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
57951         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
57952         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
57953         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
57954         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
57955         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
57956         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
57957         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
57959         * libio/Makefile: Test [$(libc-reentrant) = yes]
57960         instead of [$(filter %REENTRANT, $(defines)) nonempty].
57962         * Makeconfig
57963         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
57964         * sysdeps/pthread/configure: File removed.
57965         * sysdeps/pthread/Makeconfig: New file.
57966         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
57967         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
57969 2012-08-16  Gary Benson  <gbenson@redhat.com>
57971         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
57972         unmapping the first object in a namespace.
57974 2012-08-16  Roland McGrath  <roland@hack.frob.com>
57976         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
57977         (__internal_setnetgrent): ... this.  Add internal_function to
57978         definition.  Add libc_hidden_def.
57979         (setnetgrent): Update caller.
57980         (internal_endnetgrent): Renamed to ...
57981         (__internal_endnetgrent): ... this.  Add internal_function to
57982         definition.  Add libc_hidden_def.
57983         (endnetgrent): Update caller.
57984         (internal_getnetgrent_r): Renamed to ...
57985         (__internal_getnetgrent_r): ... this.  Add internal_function to
57986         definition.  Add libc_hidden_def.
57987         (__getnetgrent_r): Update caller.
57988         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
57990 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
57992         * stdlib/longlong.h: Update from GCC.
57994 2012-08-16  Roland McGrath  <roland@hack.frob.com>
57996         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
57997         on _QL, which is set by umul_ppmm but never used.
57998         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
57999         variables, which are set by GMP macros but never used.
58000         * stdio-common/_itowa.c (_itowa): Likewise.
58001         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
58002         * stdlib/mod_1.c (mpn_mod_1): Likewise.
58004 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
58006         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
58007         struct La_sh_regs is not constant.
58008         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
58009         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
58010         and struct La_sparc64_regs are not constant.
58012 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
58014         * sysdeps/unix/sysv/linux/kernel-features.h
58015         (__ASSUME_POSIX_TIMERS): Remove.
58016         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58017         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58018         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
58019         Make code unconditional.
58020         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58021         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
58022         Make code unconditional.
58023         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58024         * sysdeps/unix/sysv/linux/clock_nanosleep.c
58025         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
58026         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58027         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
58028         Make code unconditional.
58029         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58030         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
58031         (__libc_missing_posix_timers): Remove.
58033 2012-08-15  Roland McGrath  <roland@hack.frob.com>
58035         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
58036         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
58038         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
58040         * elf/dl-sym.c: Include <stdlib.h>.
58042         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
58043         constants, which avoids warnings in 32-bit builds.
58045         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
58046         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
58048         * misc/lseek.c: File moved to ...
58049         * io/lseek.c: ... here.
58051         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
58053         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
58054         shifting LEN more than 31 bits at once.
58056 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58058         [BZ #14195]
58059         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
58060         segmentation fault for a case of two empty input strings.
58061         * string/test-strncasecmp.c (check1): Renamed to...
58062         (bz12205): ...this.
58063         (bz14195): Add new testcase for two empty input strings and N > 0.
58064         (test_main): Call new testcase, adapt for renamed function.
58066 2012-08-15  Andreas Jaeger  <aj@suse.de>
58068         [BZ #14090]
58069         * crypt/md5test2.c: New test, based on test supplied by Serge
58070         Belyshev <belyshev@depni.sinp.msu.ru>.
58071         * crypt/Makefile (xtests): Add md5test-giant..
58072         * crypt/Makefile ($(objpfx)md5test-giant): Add.
58074 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
58076         [BZ #14090]
58077         * crypt/md5.c (md5_process_block): Don't assume the buffer
58078         length is less than 2**32.
58079         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
58080         length is less than 2**64.
58082 2012-08-15  Roland McGrath  <roland@hack.frob.com>
58084         * string/str-two-way.h: Include <sys/param.h>.
58085         (MAX): Macro removed.
58087         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
58088         Move #define and #undef of memmove to just before and after
58089         including <string.h>.
58091         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
58092         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
58093         and after including <string.h>.  Move declarations of
58094         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
58095         to before #include "string/memmove.c".
58097         * include/dirent.h: Declare __getdirentries.
58099         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
58100         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
58102 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
58104         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
58105         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
58106         * sysdeps/i386/configure: Regenerated.
58107         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
58108         STABS_CURRENT_FILE, and STABS_FUN.
58109         (END): Remove call to STABS_FUN_END.
58110         (STABS_CURRENT_FILE1): Delete.
58111         (STABS_CURRENT_FILE): Likewise.
58112         (STABS_FUN): Likewise.
58113         (STABS_FUN_END): Likewise.
58114         (STABS_FUN2): Likewise.
58115         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
58116         * sysdeps/x86_64/configure: Regenerated.
58118 2012-08-14  Roland McGrath  <roland@hack.frob.com>
58120         * elf/dl-open.c: Include <atomic.h>.
58121         * elf/dl-lookup.c: Likewise.
58123 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
58125         * sysdeps/unix/sysv/linux/kernel-features.h
58126         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
58127         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
58128         unconditionally.
58129         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
58130         unconditionally.
58131         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
58132         condition on __ASSUME_CLONE_THREAD_FLAGS.
58134 2012-08-14  Andreas Jaeger  <aj@suse.de>
58136         * sysdeps/i386/fpu/libm-test-ulps: Update.
58138 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
58140         * include/atomic.h (atomic_exchange_and_add): Split into ...
58141         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
58142         New atomic macros.
58144 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
58146         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58148 2012-08-13  Jeff Law <law@redhat.com>
58150         * manual/stdio.texi (snprintf): Clarify handling of the trailing
58151         null byte in the output string.
58153 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
58155         * sysdeps/unix/sysv/linux/kernel-features.h
58156         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
58157         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
58158         (__ASSUME_ARG_MAX_STACK_BASED): Define.
58159         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
58160         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
58161         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
58162         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
58164 2012-08-09  Jeff Law <law@redhat.com>
58166         [BZ #13939]
58167         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
58168         When avoid_arena is set, don't retry in the that arena.  Pick the
58169         next one, whatever it might be.
58170         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
58171         (arena_lock): Pass in new parameter to arena_get2.
58172         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
58173         arena_get2.
58174         (__libc_malloc): Unify retrying after main arena failure with
58175         __libc_memalign version.
58176         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
58178 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
58180         [BZ #14166]
58181         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
58182         to __redirect_strstr.
58183         (__strstr_sse42): Use typeof __redirect_strstr.
58184         (__strstr_ia32): Likewise.
58185         (__libc_strstr): New prototype.
58186         (strstr): Renamed to ...
58187         (__libc_strstr): This.
58188         (strstr): New strong alias of __libc_strstr.
58189         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
58190         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
58191         __redirect_time.
58192         Include <time.h>.
58193         (__libc_time): New prototype.
58194         (time_ifunc): Replace time with __libc_time.
58195         (time): New strong alias and hidden definition of __libc_time.
58196         (__GI_time): Remove strong alias.
58197         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
58198         Include <stddef.h>.
58199         (memmove): Redefined to __redirect_memmove.
58200         (__memmove_sse2): Use typeof __redirect_memmove.
58201         (__memmove_ssse3): Likewise.
58202         (__memmove_ssse3_back): Likewise.
58203         (__libc_memmove): New prototype.
58204         (memmove): Renamed to ...
58205         (__libc_memmove): This.
58206         (memmove): New strong alias of __libc_memmove.
58208 2012-08-08  Mark Salter  <msalter@redhat.com>
58210         * elf/elf.h
58211         (R_MN10300_TLS_GD): Define.
58212         (R_MN10300_TLS_LD): Likewise.
58213         (R_MN10300_TLS_LDO): Likewise.
58214         (R_MN10300_TLS_GOTIE): Likewise.
58215         (R_MN10300_TLS_IE): Likewise.
58216         (R_MN10300_TLS_LE): Likewise.
58217         (R_MN10300_TLS_DTPMOD): Likewise.
58218         (R_MN10300_TLS_DTPOFF): Likewise.
58219         (R_MN10300_TLS_TPOFF): Likewise.
58220         (R_MN10300_SYM_DIFF): Likewise.
58221         (R_MN10300_ALIGN): Likewise.
58222         (R_MN10300_NUM): Update.
58224 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
58226         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
58227         Remove.
58229 2012-08-08  Roland McGrath  <roland@hack.frob.com>
58231         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
58233         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
58234         sysdeps/unix -> sysdeps/posix move.
58235         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
58237 2012-08-07      Allan McRae     <allan@archlinux.org>
58239         [BZ #14303]
58240         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
58241         (SUNOS_CPP): Likewise.
58242         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
58243         not found.
58244         (open_input): Call CPP using execvp.
58246 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
58248         * sysdeps/unix/sysv/linux/kernel-features.h
58249         (__ASSUME_PROT_GROWSUPDOWN): Remove.
58250         (__ASSUME_NO_CLONE_DETACHED): Likewise.
58251         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
58252         (__ASSUME_WAITID_SYSCALL): Likewise.
58253         * sysdeps/unix/sysv/linux/dl-execstack.c
58254         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
58255         code unconditional.
58256         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
58257         conditional code.
58258         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
58259         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
58260         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
58261         code.
58262         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
58263         unconditional.
58264         [__ASSUME_WAITID_SYSCALL]: Likewise.
58265         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
58267 2012-08-07  Roland McGrath  <roland@hack.frob.com>
58269         * sysdeps/unix/closedir.c: Renamed to ...
58270         * sysdeps/posix/closedir.c: ... here.
58271         * sysdeps/unix/dirfd.c: Renamed to ...
58272         * sysdeps/posix/dirfd.c: ... here.
58273         * sysdeps/unix/dirstream.h: Renamed to ...
58274         * sysdeps/posix/dirstream.h: ... here.
58275         * sysdeps/unix/fdopendir.c: Renamed to ...
58276         * sysdeps/posix/fdopendir.c: ... here.
58277         * sysdeps/unix/opendir.c: Renamed to ...
58278         * sysdeps/posix/opendir.c: ... here.
58279         * sysdeps/unix/readdir.c: Renamed to ...
58280         * sysdeps/posix/readdir.c: ... here.
58281         * sysdeps/unix/readdir_r.c: Renamed to ...
58282         * sysdeps/posix/readdir_r.c: ... here.
58283         * sysdeps/unix/rewinddir.c: Renamed to ...
58284         * sysdeps/posix/rewinddir.c: ... here.
58285         * sysdeps/unix/seekdir.c: Renamed to ...
58286         * sysdeps/posix/seekdir.c: ... here.
58287         * sysdeps/unix/telldir.c: Renamed to ...
58288         * sysdeps/posix/telldir.c: ... here.
58289         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
58290         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
58291         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
58292         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
58294         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
58295         * bits/fcntl.h: ... here.
58297         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
58298         not 0.
58299         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
58300         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
58301         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
58302         (struct flock): Move l_start, l_len to the beginning.
58303         Use __pid_t for l_pid.
58304         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
58305         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
58306         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
58307         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
58308         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
58309         [__USE_LARGEFILE64] (struct flock64): New type.
58310         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
58312         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
58313         * bits/dirent.h: ... here.
58315         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
58316         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
58318 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
58320         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58321         Change from 2.6.0 to 2.6.16.
58322         * sysdeps/unix/sysv/linux/configure: Regenerated.
58323         * sysdeps/unix/sysv/linux/kernel-features.h
58324         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
58325         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
58326         version.
58327         (__ASSUME_UTIMES): Likewise.
58328         (__ASSUME_CLONE_STOPPED): Remove.
58329         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
58330         architectures, not kernel version.
58331         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
58332         (__ASSUME_NO_CLONE_DETACHED): Likewise.
58333         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
58334         (__ASSUME_WAITID_SYSCALL): Likewise.
58335         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
58336         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
58337         * README: State 2.6.16 as minimum Linux kernel version.  Do not
58338         refer to older versions.
58340 2012-08-06  Roland McGrath  <roland@hack.frob.com>
58342         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
58343         Define alphasort64 as an alias.
58344         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
58345         Define versionsort64 as an alias.
58346         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
58347         Define scandir64 as an alias.
58348         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
58349         Define scandirat64 as an alias.
58350         * dirent/alphasort64.c (alphasort64):
58351         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
58352         * dirent/versionsort64.c: Likewise.
58353         * dirent/scandir64.c: Likewise.
58354         * dirent/scandirat64.c: Likewise.
58355         * sysdeps/wordsize-64/alphasort.c: File removed.
58356         * sysdeps/wordsize-64/alphasort64.c: File removed.
58357         * sysdeps/wordsize-64/scandir.c: File removed.
58358         * sysdeps/wordsize-64/scandir64.c: File removed.
58359         * sysdeps/wordsize-64/scandirat.c: File removed.
58360         * sysdeps/wordsize-64/scandirat64.c: File removed.
58361         * sysdeps/wordsize-64/versionsort.c: File removed.
58362         * sysdeps/wordsize-64/versionsort64.c: File removed.
58363         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
58364         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
58365         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
58366         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
58367         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
58368         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
58369         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
58370         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
58372         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
58373         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
58374         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
58375         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58376         [defined __arch64__ || defined __sparcv9]
58377         (__INO_T_MATCHES_INO64_T): New macro.
58378         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58379         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
58380         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
58381         * sysdeps/unix/sysv/linux/bits/dirent.h
58382         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
58383         (_DIRENT_MATCHES_DIRENT64): New macro.
58385         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
58386         Define lockf64 as an alias.
58387         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
58388         Define fseeko64 as an alias.
58389         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
58390         Define ftello64 as an alias.
58391         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
58392         Define _IO_fgetpos64 and fgetpos64 as aliases.
58393         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
58394         Define _IO_fsetpos64 and fsetpos64 as aliases.
58395         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
58396         Conditionalize body on this.
58397         * libio/fseeko64.c: Likewise.
58398         * libio/ftello64.c: Likewise.
58399         * libio/iofgetpos64.c: Likewise.
58400         * libio/iofsetpos64.c: Likewise.
58401         * sysdeps/wordsize-64/lockf.c: File removed.
58402         * sysdeps/wordsize-64/lockf64.c: File removed.
58403         * sysdeps/wordsize-64/fseeko.c: File removed.
58404         * sysdeps/wordsize-64/fseeko64.c: File removed.
58405         * sysdeps/wordsize-64/ftello.c: File removed.
58406         * sysdeps/wordsize-64/ftello64.c: File removed.
58407         * sysdeps/wordsize-64/iofgetpos.c: File removed.
58408         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
58409         * sysdeps/wordsize-64/iofsetpos.c: File removed.
58410         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
58411         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
58412         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
58413         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
58414         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
58415         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
58416         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
58417         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
58418         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
58419         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
58420         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
58422         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
58423         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
58424         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
58425         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58426         [defined __arch64__ || defined __sparcv9]
58427         (__OFF_T_MATCHES_OFF64_T): New macro.
58428         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58429         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
58430         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58431         (__OFF_T_MATCHES_OFF64_T): New macro.
58433 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
58435         * stdlib/secure-getenv.c (__secure_getenv): Replace
58436         GLIBC_2_16 with GLIBC_2_17.
58438 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
58440         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
58441         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
58443 2012-08-03  David S. Miller  <davem@davemloft.net>
58445         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58447 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
58449         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
58450         Remove.
58451         (__ASSUME_CORRECT_SI_PID): Likewise.
58452         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
58453         (__ASSUME_TMPFS_NAME): Likewise.
58454         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
58455         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
58456         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
58457         (HAVE_AUX_SECURE): Make definition unconditional.
58458         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
58459         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
58461 2012-08-03  Roland McGrath  <roland@hack.frob.com>
58463         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
58464         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
58465         * sysdeps/mach/hurd/eloop-threshold.h: New file.
58466         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
58467         __eloop_threshold instead of SYMLOOP_MAX.
58469         * sysdeps/generic/eloop-threshold.h: New file.
58470         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
58471         of MAXSYMLINKS.
58472         * elf/chroot_canon.c (chroot_canon): Likewise.
58474 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
58476         [BZ #13717]
58477         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58478         Change to 2.6.0 everywhere.
58479         * sysdeps/unix/sysv/linux/configure: Regenerated.
58480         * sysdeps/unix/sysv/linux/kernel-features.h
58481         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
58482         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
58483         kernel versions.
58484         (__ASSUME_POSIX_TIMERS): Define unconditionally.
58485         (__ASSUME_FUTEX_REQUEUE): Remove.
58486         (__ASSUME_STATFS64): Define unconditionally.
58487         (__ASSUME_AT_SECURE): Likewise.
58488         (__ASSUME_CORRECT_SI_PID): Likewise.
58489         (__ASSUME_TGKILL): Define without depending on kernel version for
58490         i386.
58491         (__ASSUME_UTIMES): Likewise.
58492         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
58493         kernel version.
58494         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
58495         (__ASSUME_TMPFS_NAME): Likewise.
58496         * README: Update reference to Linux kernel versions.
58498 2012-08-02  Marek Polacek  <polacek@redhat.com>
58500         [BZ# 14150]
58501         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
58502         libc_cv_asm_type_prefix with %.
58503         * configure: Regenerated.
58504         * include/libc-symbols.h: Remove comment about
58505         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
58506         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
58507         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
58508         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
58509         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
58510         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
58511         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
58512         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
58513         * elf/tst-unique2mod1.c: Likewise.
58514         * elf/tst-unique1mod2.c: Likewise.
58515         * elf/tst-unique1mod1.c: Likewise.
58516         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
58517         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
58518         Replace ASM_TYPE_DIRECTIVE with .type.
58519         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58520         * sysdeps/i386/sysdep.h: Likewise.
58521         * sysdeps/x86_64/sysdep.h: Likewise.
58522         * sysdeps/sh/sysdep.h: Likewise.
58523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
58524         Do not define ASM_TYPE_DIRECTIVE.
58525         * sysdeps/powerpc/sysdep.h: Likewise.
58526         * sysdeps/powerpc/powerpc32/sysdep.h:
58527         Replace ASM_TYPE_DIRECTIVE with .type.
58528         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
58529         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58530         * sysdeps/i386/fpu/e_powf.S: Likewise.
58531         * sysdeps/i386/fpu/e_expl.S: Likewise.
58532         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58533         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58534         * sysdeps/i386/fpu/e_pow.S: Likewise.
58535         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
58536         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58537         * sysdeps/i386/fpu/s_expm1.S: Likewise.
58538         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
58539         * sysdeps/i386/fpu/e_log2.S: Likewise.
58540         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58541         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58542         * sysdeps/i386/fpu/e_powl.S: Likewise.
58543         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58544         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
58545         * sysdeps/i386/fpu/e_logl.S: Likewise.
58546         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
58547         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
58548         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
58549         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58550         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58551         * sysdeps/i386/fpu/e_log.S: Likewise.
58552         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58553         * sysdeps/i386/fpu/e_logf.S: Likewise.
58554         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58555         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58556         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
58557         * sysdeps/i386/fpu/e_log10.S: Likewise.
58558         * sysdeps/i386/fpu/s_frexp.S: Likewise.
58559         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58560         * sysdeps/i386/fpu/s_asinh.S: Likewise.
58561         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
58562         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58563         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
58564         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
58565         * sysdeps/i386/i686/strtok.S: Likewise.
58566         * sysdeps/i386/i386-mcount.S: Likewise.
58567         * sysdeps/i386/strtok.S: Likewise.
58568         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
58569         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58570         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58571         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58572         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
58573         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58574         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
58575         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
58576         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58577         * sysdeps/x86_64/_mcount.S: Likewise.
58578         * sysdeps/x86_64/strtok.S: Likewise.
58579         * sysdeps/sh/_mcount.S: Likewise.
58581 2012-08-01  Roland McGrath  <roland@hack.frob.com>
58583         * libio/iofopen.c: Include <fcntl.h>.
58584         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
58585         (_IO_fopen64, fopen64): Define as aliases.
58586         * libio/iofopen64.c: Include <fcntl.h>.
58587         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
58588         Conditionalize body on this.
58589         * sysdeps/wordsize-64/iofopen.c: File removed.
58590         * sysdeps/wordsize-64/iofopen64.c: File removed.
58592 2012-08-01  Marek Polacek  <polacek@redhat.com>
58594         * libc/Makeconfig: Use elf in place of binfmt-subdir.
58595         Use dlfcn directly instead of a variable.
58596         (binfmt-subdir): Do not define.
58597         (dlfcn): Likewise.
58599 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
58601         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
58602         Remove all definitions.
58603         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
58604         <kernel-features.h>.
58605         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
58606         (miss_F_GETOWN_EX): Remove all definitions.
58607         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
58608         macro definition.
58609         [!__ASSUME_FCNTL64]: Remove conditional code.
58610         [__ASSUME_FCNTL64]: Make code unconditional.
58611         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
58612         <kernel-features.h>.
58613         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
58614         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
58615         (lockf64) [__NR_fcntl64]: Make code unconditional.
58616         (lockf64) [__ASSUME_FCNTL64]: Likewise.
58618         * sysdeps/unix/sysv/linux/kernel-features.h
58619         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
58620         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
58621         Make code unconditional.
58622         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58623         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
58625         [__NR_vfork]: Make code unconditional.
58626         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58627         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
58629         [__NR_vfork]: Make code unconditional.
58630         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58631         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58633 2012-08-01  Roland McGrath  <roland@hack.frob.com>
58635         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
58636         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
58638         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58639         Define mkstemp64 as an alias.
58640         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58641         Define mkstemps64 as an alias.
58642         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58643         Define mkostemp64 as an alias.
58644         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58645         Define mkostemps64 as an alias.
58646         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
58647         Conditionalize body on this.
58648         * misc/mkostemp64.c: Likewise.
58649         * misc/mkostemps64.c: Likewise.
58650         * misc/mkstemps64.c: Likewise.
58651         * sysdeps/wordsize-64/mkstemp64.c: File removed.
58652         * sysdeps/wordsize-64/mkostemp64.c: File removed.
58653         * sysdeps/wordsize-64/mkostemp.c: File removed.
58654         * sysdeps/wordsize-64/mkstemp.c: File removed.
58655         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
58656         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
58657         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
58658         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
58660         [BZ #14138]
58661         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
58662         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
58663         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
58664         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
58666         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
58667         compat_symbol macros from <shlib-compat.h> rather than the underlying
58668         default_symbol_version and symbol_version macros, so that DEFAULT
58669         lines in shlib-versions are respected.
58670         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
58672 2012-08-01  Florian Weimer  <fweimer@redhat.com>
58674         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
58675         Declare with warn_unused_result.
58676         (setgid, setregid, setegid, setresgid): Likewise.
58677         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
58678         Likewise.
58679         * WUR-REPORT: Remove set*id functions.
58681 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
58683         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
58685 2012-07-31  Roland McGrath  <roland@hack.frob.com>
58687         [BZ #10191]
58688         * include/sys/socket.h (__libc_accept, __libc_accept4):
58689         Add attribute_hidden.
58690         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
58692         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
58693         use of PTR_MANGLE.
58694         * inet/getnetgrent_r.c (setup): Likewise.
58696         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
58698 2012-07-31  David S. Miller  <davem@davemloft.net>
58700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58702 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
58704         [BZ #13629]
58705         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
58706         value between 1.0 and 2.0 and smaller part has absolute value less
58707         than 1.0.
58708         * math/s_clog10.c (__clog10): Likewise.
58709         * math/s_clog10f.c (__clog10f): Likewise.
58710         * math/s_clog10l.c (__clog10l): Likewise.
58711         * math/s_clogf.c (__clogf): Likewise.
58712         * math/s_clogl.c (__clogl): Likewise.
58713         * math/libm-test.inc (clog_test): Add more tests.
58714         (clog10_test): Likewise.
58715         * sysdeps/i386/fpu/libm-test-ulps: Update.
58716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58718 2012-07-31  Florian Weimer  <fweimer@redhat.com>
58720         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
58721         Exit with zero in case no suitable GID is found, and write a
58722         message to standard error.
58724 2012-07-30  Roland McGrath  <roland@hack.frob.com>
58726         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
58727         rather than to 1.
58728         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
58729         (MAXPATHLEN): Removed.
58730         (NOGROUP, NODEV): New macros.
58731         (setbit, clrbit, isset, isclr): New macros.
58732         (howmany, roundup, powerof2): New macros.
58733         (DEV_BSIZE): New macro.
58735         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
58736         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
58738         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
58739         definition on [!__NO_LONG_DOUBLE_MATH].
58741         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
58742         PTR_MANGLE and PTR_DEMANGLE.
58744         * socket/accept4.c (accept4): Rename to __libc_accept4.
58745         Define accept4 as a weak alias.
58747         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
58748         on [_DIRENT_HAVE_D_TYPE].
58749         * io/ftw.c (ftw_dir): Likewise.
58751         * io/xmknod.c (__xmknod): Don't check PATH for being null.
58753         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
58755         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
58756         Use the BSD numbers rather than the arbitrary ones we had.
58757         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
58758         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
58759         (SIGXCPU, SIGXFSZ): New macros.
58760         (_NSIG): Now 32.
58762         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
58763         initializer on [_LIBC_REENTRANT].
58765         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
58766         definitions inside [_POSIX_MAPPED_FILES].
58768         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
58770         * dirent/opendir.c: Include <fcntl.h>.
58772         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
58773         (__libc_getspecific): Likewise.
58774         (__libc_key_create): Likewise.
58776         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
58777         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
58778         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
58779         (tmpfile64): Define as alias.
58780         * sysdeps/wordsize-64/tmpfile.c: File removed.
58781         * sysdeps/wordsize-64/tmpfile64.c: File removed.
58782         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
58783         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
58785         * stdio-common/vfscanf.c: Include <stdbool.h>.
58786         * nss/makedb.c: Likewise.
58787         * stdio-common/_i18n_number.h: Likewise.
58788         * argp/argp-help.c: Likewise.
58789         * posix/wordexp.c: Likewise.
58790         * sysdeps/posix/spawni.c: Likewise.
58791         * nss/nss_files/files-initgroups.c: Likewise.
58792         * stdio-common/reg-modifier.c: Include <stdlib.h>.
58793         * nss/nss_files/files-initgroups.c: Likewise.
58794         * nss/nss_db/db-netgrp.c: Likewise.
58795         * nss/nss_db/db-initgroups.c: Likewise.
58796         * io/fchmodat.c: Include <sys/stat.h>.
58798         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
58799         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
58801         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
58802         [HAVE_MMAP].
58804         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
58805         Add multiple inclusion protection.
58807 2012-07-27  David S. Miller  <davem@davemloft.net>
58809         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58811 2012-07-27  Gary Benson  <gbenson@redhat.com>
58813         [BZ #14298]
58814         * elf/rtld.c: Include <stap-probe.h>.
58815         (dl_main): Added static probes "init_start" and "init_complete".
58816         * elf/dl-load.c: Include <stap-probe.h>.
58817         (lose): Take new parameter "nsid".
58818         Added static probe "map_failed".
58819         (_dl_map_object_from_fd): Pass namespace id to lose.
58820         Added static probe "map_start".
58821         (open_verify): Pass namespace id to lose.
58822         * elf/dl-open.c: Include <stap-probe.h>.
58823         (dl_open_worker) Added static probes "map_complete", "reloc_start"
58824         and "reloc_complete".
58825         * elf/dl-close.c: Include <stap-probe.h>.
58826         (_dl_close_worker): Added static probes "unmap_start" and
58827         "unmap_complete".
58828         * elf/rtld-debugger-interface.txt: New file documenting the above.
58830 2012-07-26  Roland McGrath  <roland@hack.frob.com>
58832         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
58833         rather than a string variable.
58834         * sunrpc/rpc_main.c (h_output): Likewise.
58835         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
58837 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
58839         * inet/check_native.c: New file.
58841 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
58843         [BZ #13629]
58844         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
58845         if larger part has absolute value 1.0.
58846         * math/s_clog10.c (__clog10): Likewise.
58847         * math/s_clog10f.c (__clog10f): Likewise.
58848         * math/s_clog10l.c (__clog10l): Likewise.
58849         * math/s_clogf.c (__clogf): Likewise.
58850         * math/s_clogl.c (__clogl): Likewise.
58851         * math/libm-test.inc (clog_test): Add more tests.
58852         (clog10_test): Likewise.
58853         * sysdeps/i386/fpu/libm-test-ulps: Update.
58854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58856         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
58857         (pltexit): Likewise.
58858         (La_regs): Likewise.
58859         (La_retval): Likewise.
58860         (int_retval): Likewise.
58861         Update #error for removed macros to refer only to definitions in
58862         tst-audit.h.
58863         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
58864         macro.
58865         (pltexit): Likewise.
58866         (La_regs): Likewise.
58867         (La_retval): Likewise.
58868         (int_retval): Likewise.
58869         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
58870         macro.
58871         (pltexit): Likewise.
58872         (La_regs): Likewise.
58873         (La_retval): Likewise.
58874         (int_retval): Likewise.
58875         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
58876         macro.
58877         (pltexit): Likewise.
58878         (La_regs): Likewise.
58879         (La_retval): Likewise.
58880         (int_retval): Likewise.
58881         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
58882         macro.
58883         (pltexit): Likewise.
58884         (La_regs): Likewise.
58885         (La_retval): Likewise.
58886         (int_retval): Likewise.
58887         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
58888         macro.
58889         (pltexit): Likewise.
58890         (La_regs): Likewise.
58891         (La_retval): Likewise.
58892         (int_retval): Likewise.
58893         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
58894         macro.
58895         (pltexit): Likewise.
58896         (La_regs): Likewise.
58897         (La_retval): Likewise.
58898         (int_retval): Likewise.
58899         * sysdeps/generic/tst-audit.h: Update comment to refer only to
58900         macro definitions in tst-audit.h.
58901         * sysdeps/i386/tst-audit.h: New file.
58902         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
58903         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
58904         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
58905         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
58906         * sysdeps/sh/tst-audit.h: Likewise.
58907         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
58908         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
58909         * sysdeps/x86_64/tst-audit.h: Likewise.
58911 2012-07-26  Andreas Jaeger  <aj@suse.de>
58913         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
58914         ptrace.
58916         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
58917         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
58918         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
58919         PTRACE_O_MASK.
58920         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
58921         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
58922         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
58924         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
58925         value.
58927         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
58928         _sigsys.
58929         (si_call_addr, si_syscall, si_arch): Define new macro.
58930         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
58931         _sigsys.
58932         (si_call_addr, si_syscall, si_arch): Define new marcro.
58933         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
58934         _sigsys.
58935         (si_call_addr, si_syscall, si_arch): Define new macro.
58936         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
58937         _sigsys.
58938         (si_call_addr, si_syscall, si_arch): Define new macro.
58940 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
58942         [BZ #13717]
58943         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58944         Change to 2.4.21 where previously 2.4.1.
58945         * sysdeps/unix/sysv/linux/configure: Regenerated.
58946         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
58947         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
58948         Linux kernel version.
58949         (__ASSUME_STD_AUXV): Remove.
58950         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
58951         kernel version.
58952         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
58953         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
58954         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
58955         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
58956         (__ASSUME_NETLINK_SUPPORT): Likewise.
58957         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
58958         (__no_netlink_support): Remove conditional definition.
58959         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
58960         Remove.
58961         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
58962         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
58963         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
58964         (if_nameindex_ioctl): Remove.
58965         (if_nameindex_netlink): Do not handle __no_netlink_support.
58966         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
58967         code.
58968         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
58969         Remove conditional code.
58970         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
58971         code.
58972         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
58973         unconditional.
58974         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
58975         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
58976         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
58977         Remove.
58978         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
58979         [!__ASSUME_STD_AUXV]: Remove conditional code.
58980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
58981         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
58982         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
58983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
58984         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
58985         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
58986         code.
58987         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
58988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58989         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
58990         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
58991         conditional code.
58992         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
58993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
58994         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
58995         code.
58996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58997         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
58998         conditional code.
58999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
59000         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59001         code unconditional.
59002         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59003         conditional code.
59004         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59005         unconditional.
59006         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59007         conditional code.
59008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59009         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59010         unconditional.
59011         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59012         conditional code.
59013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
59014         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59015         code unconditional.
59016         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59017         conditional code.
59018         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59019         unconditional.
59020         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59021         conditional code.
59022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
59023         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59024         code unconditional.
59025         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59026         conditional code.
59027         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59028         unconditional.
59029         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59030         conditional code.
59032 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
59034         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
59035         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
59036         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
59037         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
59038         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
59039         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
59040         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
59041         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
59042         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
59043         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
59044         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
59045         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
59046         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
59047         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
59048         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
59049         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
59050         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
59051         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
59052         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
59053         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
59054         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
59055         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
59056         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
59058 2012-07-25  Florian Weimer  <fweimer@redhat.com>
59060         * Versions.def: Add GLIBC_2.17.
59061         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
59062         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
59063         Introduce __libc_secure_getenv.
59064         * stdlib/Versions (2.17): Add secure_getenv
59065         (GLIBC_PRIVATE): Add __libc_secure_getenv.
59066         * stdlib/secure-getenv.c: Rename __secure_getenv to
59067         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
59068         symbol __secure_getenv for GLIBC_2.0.
59069         * stdlib/tst-secure-getenv.c: New.
59070         * stdlib/Makefile (tests): Add testcase.
59071         * manual/startup.texi (Environment Access): Document
59072         secure_getenv.
59073         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
59074         __libc_secure_getenv.
59075         * inet/ruserpass.c (ruserpass): Likewise.
59076         * malloc/mtrace.c (mtrace): Likewise.
59077         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
59078         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
59079         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
59080         * sysdeps/posix/tempname.c: Likewise.  Evaluate
59081         HAVE_SECURE_GETENV.
59082         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
59083         __secure_getenv to __libc_secure_getenv.
59084         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
59085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59086         Likewise.
59087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59088         Likewise.
59089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59090         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
59091         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59092         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
59093         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
59094         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59095         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
59097 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
59099         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
59100         (struct La_i86_retval): Likewise.
59101         (struct La_x86_64_regs): Likewise.
59102         (struct La_x86_64_retval): Likewise.
59103         (struct La_x32_regs): Likewise.
59104         (struct La_x32_retval): Likewise.
59105         (struct La_ppc32_regs): Likewise.
59106         (struct La_ppc32_retval): Likewise.
59107         (struct La_ppc64_regs): Likewise.
59108         (struct La_ppc64_retval): Likewise.
59109         (struct La_sh_regs): Likewise.
59110         (struct La_sh_retval): Likewise.
59111         (struct La_s390_32_regs): Likewise.
59112         (struct La_s390_32_retval): Likewise.
59113         (struct La_s390_64_regs): Likewise.
59114         (struct La_s390_64_retval): Likewise.
59115         (struct La_sparc32_regs): Likewise.
59116         (struct La_sparc32_retval): Likewise.
59117         (struct La_sparc64_regs): Likewise.
59118         (struct La_sparc64_retval): Likewise.
59119         (struct audit_ifaces): Remove architecture-specific pltenter and
59120         pltexit members.
59121         * sysdeps/i386/ldsodefs.h: New file.
59122         * sysdeps/powerpc/ldsodefs.h: Likewise.
59123         * sysdeps/s390/ldsodefs.h: Likewise.
59124         * sysdeps/sh/ldsodefs.h: Likewise.
59125         * sysdeps/sparc/ldsodefs.h: Likewise.
59126         * sysdeps/x86_64/ldsodefs.h: Likewise.
59128 2012-07-25  Marek Polacek  <polacek@redhat.com>
59130         [BZ #6808]
59131         * math/libm-test.inc (yn_test): Add another test.
59132         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
59133         to ERANGE when the result is +-Inf.
59134         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
59135         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
59136         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
59137         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
59139 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
59141         * conform/data/time.h-data (NULL): Use macro-constant.  Require
59142         equal to 0.
59143         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
59144         clock_t.
59145         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
59147 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
59149         * configure.in <sysdeps resolving>: Correct printing
59150         Implies_before.
59151         * configure: Regenerate.
59153 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
59155         * math/w_ilogb.c: Include <limits.h>.
59156         * math/w_ilogbl.c: Likewise.
59158 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
59160         * manual/lang.texi (__va_copy): Document primarily as ISO C99
59161         va_copy.  Document allowing for unavailable va_copy only as
59162         pre-C99 compatibility.
59163         * manual/string.texi (Copying and Concatenation): Use va_copy
59164         instead of __va_copy in concat example.
59166 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
59168         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
59169         (__sendto): Use create_address_port.  Initialize APORT and deallocate
59170         it if not null.
59172         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
59173         with O_NOLINK passed to __file_name_lookup.
59175         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
59176         with O_NOLINK passed to __file_name_lookup.
59178         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
59179         negative N or less than NGIDS.
59181         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
59182         type to string_t.  Set ERANGE as errno and return it if NAME is not big
59183         enough.  Use memcpy instead of strncpy.
59185 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
59187         * elf/Makefile (check-data): Remove.
59188         (localplt.data): New vpath directive.
59189         ($(objpfx)check-localplt.out): Use localplt.data from vpath
59190         instead of $(check-data).
59191         * scripts/data/localplt-generic.data: Move to ...
59192         * sysdeps/generic/localplt.data: ... here.
59193         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
59194         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
59195         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
59196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
59197         ... here.
59198         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
59199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
59200         ... here.
59201         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
59202         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
59203         ... here.
59204         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
59205         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
59206         ... here.
59207         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
59208         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
59209         ... here.
59210         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
59211         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
59212         ... here.
59214 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59216         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
59217         PPC32 and PPC64 files.
59218         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
59219         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
59221 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59223         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
59224         __makecontext_ret to ...
59225         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
59226         ... here and call exit if uc_link is NULL.  New file.
59227         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
59228         __makecontext_ret.S.
59229         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
59230         __makecontext_ret to ...
59231         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
59232         ... here and call exit if uc_link is NULL.  New file.
59233         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
59234         __makecontext_ret.S.
59236 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59238         * elf/elf.h (R_390_IRELATIVE): New definition.
59239         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
59240         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
59241         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
59242         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
59243         (elf_machine_lazy_rel): Likewise.
59244         * sysdeps/s390/dl-irel.h: New file.
59245         * sysdeps/s390/s390-64/memcpy.S: New asm code.
59246         * sysdeps/s390/s390-64/memset.S: New asm code.
59247         * sysdeps/s390/s390-64/memcmp.S: New asm code.
59248         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
59249         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
59250         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
59251         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
59252         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
59253         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
59254         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
59255         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
59256         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
59257         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
59258         * sysdeps/s390/s390-32/memcpy.S: New asm code.
59259         * sysdeps/s390/s390-32/memset.S: New asm code.
59260         * sysdeps/s390/s390-32/memcmp.S: New asm code.
59262 2012-07-17  Marek Polacek  <polacek@redhat.com>
59264         [BZ #14349]
59265         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
59266         * sysdeps/s390/s390-64/configure.in: Likewise.
59267         * sysdeps/sparc/configure.in: Likewise.
59268         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
59269         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
59270         * sysdeps/i386/configure.in: Likewise.
59271         * sysdeps/x86_64/configure.in: Likewise.
59272         * sysdeps/sh/configure.in: Likewise.
59273         * sysdeps/s390/s390-32/configure: Regenerated.
59274         * sysdeps/s390/s390-64/configure: Likewise.
59275         * sysdeps/x86_64/configure: Likewise.
59276         * sysdeps/sh/configure: Likewise.
59277         * sysdeps/powerpc/powerpc64/configure: Likewise.
59278         * sysdeps/powerpc/powerpc32/configure: Likewise.
59279         * sysdeps/sparc/configure: Likwise.
59280         * sysdeps/i386/configure: Likewise.
59282         * elf/dl-open.c: Comment fixes.
59284 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
59286         * Makefile [CXX] (check-data): Remove.
59287         [CXX] (c++-types.data): New vpath directive.
59288         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
59289         vpath.  Do not allow for C++ type data being missing.
59290         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
59291         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
59292         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
59293         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
59294         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
59295         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
59296         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
59297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
59298         ... here.
59299         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
59300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
59301         ... here.
59302         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
59303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
59304         ... here.
59305         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
59306         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
59307         ... here.
59308         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
59309         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
59310         ... here.
59311         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
59312         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
59313         ... here.
59314         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
59315         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
59316         ... here.
59317         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
59318         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
59320         * elf/tls-macros.h (TLS_LE): Move architecture-specific
59321         definitions to architecture-specific files.
59322         (TLS_IE): Likewise.
59323         (TLS_LD): Likewise.
59324         (TLS_GD): Likewise.
59325         * sysdeps/i386/tls-macros.h: New file.
59326         * sysdeps/powerpc/tls-macros.h: Likewise.
59327         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
59328         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
59329         * sysdeps/sh/tls-macros.h: Likewise.
59330         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
59331         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
59332         * sysdeps/x86_64/tls-macros.h: Likewise.
59334 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
59336         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
59337         zero value for regular exit case.
59339         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
59340         (__start_context): Preserve zero value for regular exit case.
59342 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
59343             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59345         * manual/setjmp.texi (setcontext): Clarify normal process
59346         termination when uc_link is the null pointer.
59347         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
59348         exit call.
59350 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
59352         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
59353         preprocessor.  Test for each exception mask separately.
59355 2012-07-16  Andreas Jaeger  <aj@suse.de>
59357         * po/ru.po: Update from translation team.
59359 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
59361         * conform/data/string.h-data (NULL): Use macro-constant.  Require
59362         equal to 0.
59363         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
59364         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
59365         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
59366         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
59367         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59369 2012-07-13  Andreas Jaeger  <aj@suse.de>
59371         * po/fr.po: Update from translation team.
59373 2012-07-12  Marek Polacek  <polacek@redhat.com>
59375         [BZ #14173]
59376         * math/libm-test.inc (yn_test): Add test for BZ #14173.
59377         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
59378         loop condition.
59380 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
59382         [BZ #13717]
59383         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59384         Change to 2.4.1 where previously 2.4.0.
59385         * sysdeps/unix/sysv/linux/configure: Regenerated.
59386         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
59387         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
59388         version.
59389         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
59390         (__ASSUME_AT_CLKTCK): Remove.
59391         (__ASSUME_AT_PAGESIZE): Likewise.
59392         (__ASSUME_AT_XID): Likewise.
59393         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
59394         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
59395         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
59396         unconditionally.
59397         (HAVE_AUX_PAGESIZE): Likewise.
59398         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
59399         [__ASSUME_AT_CLKTCK]: Make code unconditional.
59400         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
59402 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
59404         [BZ #14307]
59405         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
59406         the temporary buffer used to invoke __gethostbyname2_r,
59407         __gethostbyaddr_r and gethostbyname4_r to make room for struct
59408         host_data / struct gaih_addrtuple.
59409         * resolv/nss_dns/dns-host.c (global scope): Move definition of
59410         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
59411         header file nss/nsswitch.h.
59412         * nss/nsswitch.h (global scope): Add definition of implementation
59413         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
59414         resolv/nss_dns/dns-host.c).
59416 2012-07-11  Andreas Jaeger  <aj@suse.de>
59418         * po/fr.po: Update from translation team.
59420         * po/sv.po: Update from translation team
59421         * po/fr.po: Another update from translation team.
59423 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59425         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
59426         for subnormals or multiply small sinh result by itself.
59427         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
59428         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59430 2012-07-11  David S. Miller  <davem@davemloft.net>
59432         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59434 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
59436         [BZ #14347]
59437         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
59438         (INTERNAL_MARK): Shift it here.
59440 2012-07-10  Marek Polacek  <polacek@redhat.com>
59442         [BZ #14151]
59443         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
59444         libc_cv_asm_global_directive with .globl.
59445         * configure: Regenerated.
59446         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
59447         with .globl.
59448         * sysdeps/i386/configure: Regenerated.
59449         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
59450         with .globl.
59451         * sysdeps/x86_64/configure: Regenerated.
59452         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
59453         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
59454         * elf/tst-unique2mod2.c: Likewise.
59455         * elf/tst-unique2mod1.c: Likewise.
59456         * elf/tst-unique1mod2.c: Likewise.
59457         * elf/tst-unique1mod1.c: Likewise.
59458         * sysdeps/s390/s390-32/sysdep.h: Likewise.
59459         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
59460         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59461         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59462         * sysdeps/mach/sysdep.h: Likewise.
59463         * sysdeps/i386/sysdep.h: Likewise.
59464         * sysdeps/i386/i386-mcount.S: Likewise.
59465         * sysdeps/x86_64/_mcount.S: Likewise.
59466         * sysdeps/x86_64/sysdep.h: Likewise.
59467         * sysdeps/sh/_mcount.S: Likewise.
59468         * sysdeps/sh/sysdep.h: Likewise.
59469         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
59470         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
59471         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
59472         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
59473         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
59474         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
59475         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
59476         * locale/localeinfo.h: Likewise.
59477         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
59478         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
59480 2012-07-09  Roland McGrath  <roland@hack.frob.com>
59482         [BZ #14336]
59483         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
59484         system".
59485         * manual/message.texi (The Uniforum approach): Likewise.
59486         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
59487         (glibc iconv Implementation): Likewise.
59489 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
59491         [BZ #14337]
59492         * math/s_clog.c (__clog): Avoid scaling a value down where that
59493         could result in underflow.
59494         * math/s_clog10.c (__clog10): Likewise.
59495         * math/s_clog10f.c (__clog10f): Likewise.
59496         * math/s_clog10l.c (__clog10l): Likewise.
59497         * math/s_clogf.c (__clogf): Likewise.
59498         * math/s_clogl.c (__clogl): Likewise.
59499         * math/libm-test.inc (clog_test): Add more tests.
59500         (clog10_test): Likewise.
59501         * sysdeps/i386/fpu/libm-test-ulps: Update.
59502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59504 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
59506         [BZ #14283]
59507         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
59508         by 7 not 8 to examine high bit of fractional part.
59510         [BZ #14042]
59511         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
59512         for call to __mcount_internal.
59513         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
59514         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
59515         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
59517 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
59519         [BZ #14154]
59520         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
59521         approximation for values within 0x1p-13f of an odd multiple of
59522         pi/4.
59523         * math/libm-test.inc (tan_test): Do not allow spurious underflow
59524         exception.  Add more tests.
59525         * sysdeps/i386/fpu/libm-test-ulps: Update.
59527         [BZ #6778]
59528         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
59529         inputs and return -1 for them.  Do not check for +Inf in case not
59530         reachable for +Inf.
59531         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
59532         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
59533         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
59534         and return -1 for them.  Do not check for +Inf in case not
59535         reachable for +Inf.
59536         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
59537         define.
59538         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
59539         and return -1 for them.  Do not check for +Inf in case not
59540         reachable for +Inf.
59541         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
59542         spurious underflow.
59543         * sysdeps/i386/fpu/libm-test-ulps: Update.
59544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59546 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
59548         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
59550 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
59552         [BZ #14157]
59553         [BZ #14331]
59554         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
59555         could result in spurious underflow.  Scale down values above
59556         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
59557         * math/s_csqrtf.c (__csqrtf): Likewise.
59558         * math/s_csqrtl.c (__csqrtl): Likewise.
59559         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
59560         spurious underflow.
59561         * sysdeps/i386/fpu/libm-test-ulps: Update.
59562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59564 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
59566         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
59567         xopen-msg.sed.
59568         * catgets/xopen-msg.awk: New file.
59569         * catgets/xopen-msg.sed: Removed.
59571         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
59572         po2text.sed.
59573         * intl/po2test.awk: New file.
59574         * intl/po2test.sed: Removed.
59576 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
59578         [BZ #14328]
59579         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
59580         or multiply small sinh result by itself.
59581         * math/s_ctanf.c (__ctanf): Likewise.
59582         * math/s_ctanh.c (__ctanh): Likewise.
59583         * math/s_ctanhf.c (__ctanhf): Likewise.
59584         * math/s_ctanhl.c (__ctanhl): Likewise.
59585         * math/s_ctanl.c (__ctanl): Likewise.
59586         * math/libm-test.inc (ctan_test_tonearest): New function.
59587         (ctan_test_towardzero): Likewise.
59588         (ctan_test_downward): Likewise.
59589         (ctan_test_upward): Likewise.
59590         (ctanh_test_tonearest): Likewise.
59591         (ctanh_test_towardzero): Likewise.
59592         (ctanh_test_downward): Likewise.
59593         (ctanh_test_upward): Likewise.
59594         (main): Call these new functions.
59595         * sysdeps/i386/fpu/libm-test-ulps: Update.
59596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59598 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
59600         * .gitignore: Delete /ports entry.
59602 2012-07-03  Andreas Jaeger  <aj@suse.de>
59604         * po/bg.po: Update from translation team.
59605         * po/cs.po: Likewise.
59606         * po/de.po: Likewise.
59607         * po/hr.po: Likewise.
59608         * po/nl.pl: Likewise.
59609         * po/pl.po: Likewise.
59610         * po/vi.po: Likewise.
59612 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
59614         * Makeconfig [!+link] (+link-before-libc): New variable.
59615         [!+link] (+link-after-libc): Likewise.
59616         [!+link] (+link-tests): Likewise.
59617         [!+link] (+link): Define in terms of $(+link-before-libc) and
59618         $(+link-after-libc).
59619         [!+link-static] (+link-static-before-libc): New variable.
59620         [!+link-static] (+link-static-after-libc): Likewise.
59621         [!+link-static] (+link-static-tests): Likewise.
59622         [!+link-static] (+link-static): Define in terms of
59623         $(+link-static-before-libc) and $(+link-static-after-libc).
59624         [build-shared] (link-libc-before-gnulib): New variable.
59625         [build-shared] (link-libc-tests): Likewise.
59626         [build-shared] (link-libc): Define in terms of
59627         $(link-libc-before-gnulib).
59628         [!build-shared] (link-libc-tests): New variable.
59629         (link-libc-static-tests): New variable.
59630         [!gnulib] (gnulib-arch): New variable.
59631         [!gnulib] (gnulib-tests): Likewise.
59632         [!gnulib] (static-gnulib-arch): Likewise.
59633         [!gnulib] (static-gnulib-tests): Likewise.
59634         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
59635         Define with "=" instead of ":=".
59636         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
59637         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
59638         * Rules (binaries-all-notests): New variable.
59639         (binaries-all-tests): Likewise.
59640         (binaries-static-notests): Likewise.
59641         (binaries-static-tests): Likewise.
59642         (binaries-all): Define using $(binaries-all-notests) and
59643         $(binaries-all-tests).
59644         (binaries-static): Define using $(binaries-static-notests) and
59645         $(binaries-static-tests).
59646         (binaries-shared-tests): New variable.
59647         (binaries-shared-notests): Likewise.
59648         (binaries-shared): Remove variable.
59649         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
59650         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
59651         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
59652         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
59653         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
59654         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
59655         * elf/Makefile (sln-modules): New variable.
59656         (extra-objs): Add $(sln-modules:=.o).
59657         (ldconfig-modules): Add static-stubs.
59658         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
59659         * elf/static-stubs.c: New file.
59661         [BZ #14283]
59662         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
59663         by 7 not 8 to examine high bit of fractional part.  Use volatile
59664         variables when splitting into final array of floats if
59665         __FLT_EVAL_METHOD__ != 0.
59666         * math/libm-test.inc (cos_test): Add another test.
59667         (sin_test): Likewise.
59668         * sysdeps/i386/fpu/libm-test-ulps: Update.
59670         [BZ #14273]
59671         * math/libm-test.inc (cosh_test): Add more tests.
59673         * version.h (RELEASE): Set to "development".
59674         (VERSION): Set to "2.16.90".
59676 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
59678         * NEWS: Update copyright. Remove last-updated date.
59679         Mention math library bug fixes and timezone data changes.
59680         * README: Mention GNU/Hurd, x32, and HPPA support status.
59682 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
59684         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
59686 2012-06-27  Andreas Jaeger  <aj@suse.de>
59688         * manual/contrib.texi (Contributors): Add Samuel Thibault.
59690 2012-06-25  Andreas Jaeger  <aj@suse.de>
59692         * sysdeps/s390/fpu/libm-test-ulps: Update.
59694 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
59695             Thomas Schwinge  <thomas@codesourcery.com>
59697         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
59698         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
59699         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
59700         fanotify_mark.
59702 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
59704         * sysdeps/mach/start.c: Remove file.
59705         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
59706         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
59707         * sysdeps/sh/init-first.c: Likewise.
59709         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
59710         registers for frame unwinding purposes, add CFI directives.
59711         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
59712         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
59713         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
59714         Likewise.
59716         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
59717         __fortify_fail returning.
59718         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
59720         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
59721         sysdeps/sh/____longjmp_chk.S.
59722         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
59723         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
59724         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
59725         (gen-as-const-headers): Append sigaltstack-offsets.sym.
59727         * sysdeps/sh/abort-instr.h: New file.
59728         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
59729         process in case exit returns.
59731         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
59732         initialize the GOT register before use.
59734         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
59735         calculation of ARGC > 4.
59737         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
59738         meaningful names to some local labels.
59740 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59741             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59743         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
59744         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
59745         (__arch_compare_and_exchange_val_16_acq): Likewise.
59746         (__arch_compare_and_exchange_val_32_acq): Likewise.
59747         (atomic_exchange_and_add): Fix gUSA sequence.
59748         (atomic_add): Likewise.
59749         (atomic_add_negative): Likewise.
59750         (atomic_add_zero): Likewise.
59751         (atomic_bit_test_set): Likewise.
59753 2012-06-22  Andreas Schwab  <schwab@redhat.com>
59755         [BZ #13579]
59756         * include/link.h (struct link_map): Add l_free_initfini.
59757         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
59758         l_initfini.
59759         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
59760         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
59761         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
59762         set.
59764 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
59766         * configure.in: Use AC_LANG_SOURCE.
59767         * configure: Regenerate.
59769 2012-06-22  Roland McGrath  <roland@hack.frob.com>
59771         * configure.in (libc_cv_localstatedir): New substituted variable.
59772         * configure: Regenerated.
59773         * config.make.in (localstatedir): New variable, substituted from
59774         libc_cv_localstatedir.
59775         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
59776         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
59777         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
59778         * sysdeps/gnu/configure: Regenerated.
59780 2012-06-21  Jeff Law  <law@redhat.com>
59782         [BZ #14277]
59783         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
59784         free.  Simplify list management for _LIBC case.
59786 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
59788         [BZ #14273]
59789         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
59790         Clear sign bit of 64-bit integer value before comparing against
59791         overflow value.
59793         * sysdeps/mach/configure: Regenerated.
59795 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
59797         [BZ #14278]
59798         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
59800 2012-06-21  Jeff Law  <law@redhat.com>
59802         [BZ #13882]
59803         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
59804         uint16_t for elements in the "seen" array to avoid char overflows.
59805         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59806         * elf/dl-open.c (dl_open_worker): Likewise.
59808 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
59810         * scripts/list-sources.sh: Scan PORTS for translations.
59811         * po/libc.pot: Regenerated.
59813 2012-06-21  Andreas Jaeger  <aj@suse.de>
59815         [BZ #12194]
59816         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
59817         warning.
59818         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
59819         * bits/byteswap-16.h (__bswap_16): Likewise.
59820         * bits/byteswap.h (__bswap_constant_16): Likewise.
59822 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
59824         [BZ #14117]
59825         * sysdeps/i386/fpu_control.h: Removed.
59826         * sysdeps/x86_64/fpu_control.h: Moved to ...
59827         * sysdeps/x86/fpu_control.h: Here.
59829         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
59830         (_FPU_SETCW): Likewise.
59832 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
59834         [BZ #14117]
59835         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
59836         * sysdeps/x86/fpu/bits/mathinline.h: This.
59837         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
59839         [BZ #14050]
59840         [BZ #14117]
59841         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
59842         functions if __x86_64__ is defined.
59844 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
59846         * string/endian.h: Add !__ASSEMBLER__ condition for including
59847         conversion interfaces.
59849 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
59851         [BZ #14241]
59852         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
59853         of ABS(x) in calculating zero to negative powers other than odd
59854         integers.
59855         * math/libm-test.inc (pow_test): Add more tests.
59857 2012-06-15  Andreas Jaeger  <aj@suse.de>
59859         * manual/contrib.texi (Contributors): Update entry of Liubov
59860         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
59861         Machado Filho.
59863 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
59865         * string/string.h: Add __wur to GNU version of strerror_r.
59867 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
59869         [BZ #14229]
59870         * string/Makefile (tests): Add tst-strtok_r.
59871         * string/tst-strtok_r.c: New file.
59872         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
59873         RAX_LP/RDX_LP on SAVE_PTR.
59875 2012-06-14  Roland McGrath  <roland@hack.frob.com>
59877         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
59879 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
59881         * libm_test.inc (csqrt_test): Allow more spurious underflow
59882         exceptions.
59883         (j0_test): Likewise.
59884         (j1_test): Likewise.
59885         (y0_test): Likewise.
59886         (y1_test): Likewise.
59888 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
59890         * po/Makefile (libc.pot): Use UTF-8 charset.
59892 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
59894         [BZ #14210]
59895         Suppress sign-conversion warning from FD_SET.
59896         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
59897         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
59898         not unsigned long int.
59899         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
59901 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
59903         [BZ #14050]
59904         [BZ #14117]
59905         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
59906         __extern_always_inline instead of __extern_inline.
59907         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
59908         (__signbit): Likewise.
59909         (__signbitl): Support C++ namespace.
59910         (lrintf): New inline function.
59911         (lrint): Likewise.
59912         (llrintf): Likewise.
59913         (llrint): Likewise.
59914         (fmaxf): Likewise.
59915         (fmax): Likewise.
59916         (fminf): Likewise.
59917         (fmin): Likewise.
59918         (rint): Likewise.
59919         (rintf): Likewise.
59920         (ceil): Likewise.
59921         (ceilf): Likewise.
59922         (floor): Likewise.
59923         (floorf): Likewise.
59924         (nearbyint): Likewise.
59925         (nearbyintf): Likewise.
59927 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
59929         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
59930         non-default versions.
59932 2012-06-11  Roland McGrath  <roland@hack.frob.com>
59934         [BZ #14218]
59935         * manual/argp.texi (Argp): Reword argp_parse description slightly.
59937 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
59939         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
59940         (FE_UPWARD, FE_DOWNWARD): Don't define.
59941         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
59942         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
59944         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
59945         reading it.
59946         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
59947         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59949 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59951         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
59952         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
59953         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
59954         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
59956 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
59958         [BZ #14117]
59959         * sysdeps/i386/fpu/bits/fenv.h: Removed.
59960         * sysdeps/i386/fpu/Implies: New file.
59961         * sysdeps/x86_64/fpu/Implies: Likewise.
59962         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
59963         * sysdeps/x86/fpu/bits/fenv.h: This.
59965         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
59966         __SSE_MATH__.
59968 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
59970         [BZ #14134]
59971         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
59972         character 0xffff that matches the last element of the
59973         conversion table.
59975 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59977         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
59978         fmodl commit.
59980 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59982         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
59983         values higher than 25.6283.
59985 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59987         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
59988         subnormal exponent extraction and add some __builtin_expect.
59989         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
59990         Fix for subnormal mantissa calculation.
59992 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
59994         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
59995         cpu2 is -1 and errno is not ENOSYS.
59997 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
59999         [BZ #14117]
60000         * sysdeps/i386/i486/bits/string.h: Renamed to ...
60001         * sysdeps/x86/bits/string.h: This.
60002         * sysdeps/x86_64/bits/string.h: Removed.
60004         * sysdeps/i386/i486/bits/string.h: Define inline functions only
60005         if not compiling for x86-64, but compiling for >= i486.
60007         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
60008         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
60010         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
60011         New macro from Linux kernel 3.4.0.
60012         (FP_XSTATE_MAGIC2): Likewise.
60013         (FP_XSTATE_MAGIC2_SIZE): Likewise.
60014         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
60015         (struct _fpx_sw_bytes): New struct.
60016         (struct _xsave_hdr): Likewise.
60017         (struct _ymmh_state): Likewise.
60018         (struct _xstate): Likewise.
60020         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
60021         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
60022         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
60023         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
60024         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
60025         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
60027         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
60028         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
60029         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
60030         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
60031         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
60032         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
60034 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60036         [BZ #13743]
60037         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
60038         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
60039         (sysdep_headers): Include sys/platform/ppc.h.
60040         * sysdeps/powerpc/test-gettimebase.c: Test for
60041         __ppc_get_timebase() to catch future ISA opcode/insn changes.
60042         * manual/Makefile (appendices): Include platform.texi.
60043         * manual/contrib.texi (Contributors): Update @node pointers.
60044         * manual/maint.texi (Maintenance): Likewise.
60045         (Platform): New node.
60046         * manual/platform.texi: New file.  Document the new features.
60048 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60049             Jakub Jelinek  <jakub@redhat.com>
60051         [BZ #14188]
60052         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
60053         where __builtin_expect is unavailable.
60055 2012-06-03  David S. Miller  <davem@davemloft.net>
60057         * stdlib/longlong.h: Updated from GCC.
60059 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
60061         [BZ #14042]
60062         * sysdeps/powerpc/powerpc32/mcount.c: New file.
60063         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
60064         __mcount_internal.
60065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
60066         (GLIBC_2.16): Likewise.
60068 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60070         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
60072 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
60074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
60075         (default-abi): New variable.
60076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
60077         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
60078         variable.
60079         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
60080         Likewise.
60081         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
60082         Likewise.
60083         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
60084         Likewise.
60086         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
60087         definition.  Document in comment.
60089 2012-06-01  David S. Miller  <davem@davemloft.net>
60091         * stdlib/longlong.h: Updated from GCC.
60093 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60095         [BZ #14117]
60096         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
60097         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
60098         sys/debugreg.h sys/io.h here.
60099         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
60100         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
60101         sys/io.h.
60102         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
60103         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
60104         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
60105         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
60106         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
60107         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
60109         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
60110         Define only if __x86_64__ is defined.
60112 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
60114         [BZ #14048]
60115         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
60116         Use int64_t for variable i.
60117         * math/libm-test.inc (fmod_test): Add more tests.
60119         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
60120         z computation is not scheduled after fetestexcept.
60121         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
60122         Use math_force_eval instead of asm to ensure calculation scheduled
60123         before exception test.
60124         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
60125         Ensure a1 + u.d computation is not scheduled after fetestexcept.
60127 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
60129         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
60130         computation is not scheduled after fetestexcept.
60132 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60134         [BZ #14117]
60135         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
60136         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
60138 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60140         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
60141         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
60143 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
60145         [BZ #14117]
60146         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
60147         <bits/wordsize.h>.
60148         (__WCHAR_MIN): Support __WORDSIZE == 64.
60149         (__WCHAR_MAX): Likewise.
60151         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
60152         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
60154         [BZ #14183]
60155         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
60156         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
60158         [BZ #14117]
60159         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
60160         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
60162         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
60163         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
60165         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
60166         Defined to 1 if __x86_64__ isn't defined.
60167         (_STAT_VER_LINUX_OLD): New.
60168         (st_atime): Remove duplicate.
60169         (st_mtime): Likewise.
60170         (st_ctime): Likewise.
60172 2012-05-31  David S. Miller  <davem@davemloft.net>
60174         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
60175         entries.
60177 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
60179         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
60180         gen-libm-test.pl.
60182         [BZ #14132]
60183         * elf/dl-reloc.c: Include <_itoa.h>.
60184         (_dl_reloc_bad_type): Remove use of INTUSE.
60185         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
60186         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
60187         * stdio-common/psiginfo.c (psiginfo): Likewise.
60188         * stdio-common/psignal.c (psignal): Likewise.
60189         * string/strsignal.c (strsignal): Likewise.
60190         * include/signal.h (_sys_siglist): Declare hidden proto.
60191         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
60192         INTVARDEF with libc_hidden_data_def.
60193         * stdio-common/itoa-udigits.c: Likewise.
60194         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
60195         (_itoa_lower_digits_internal): Remove declaration.
60196         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
60197         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
60198         (_sys_sigabbrev_internal): Remove aliases.
60199         (_sys_siglist): Define hidden alias.
60201 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
60203         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60204         bits/sysctl.h.
60206 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
60208         [BZ #14117]
60209         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
60210         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
60212         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
60213         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
60214         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
60215         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
60216         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
60217         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
60219         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
60220         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
60221         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
60223         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
60224         with __addr.
60225         (insw): Likewise.
60226         (insl): Likewise.
60227         (outsb): Likewise.
60228         (outsw): Likewise.
60229         (outsl): Likewise.
60231         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
60232         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
60233         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
60235         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
60236         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
60237         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
60238         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
60239         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
60240         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
60242         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
60243         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
60245         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
60246         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
60248         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
60249         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
60250         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
60252         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
60253         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
60254         to ...
60255         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
60257         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
60258         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
60259         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
60261         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
60262         for x86-64.
60263         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
60265 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
60267         * math/math.h (M_El): Use two more decimal places.
60268         (M_LOG2El): Likewise.
60269         (M_LOG10El): Likewise.
60270         (M_LN2l): Likewise.
60271         (M_LN10l): Likewise.
60272         (M_PIl): Likewise.
60273         (M_PI_2l): Likewise.
60274         (M_PI_4l): Likewise.
60275         (M_1_PIl): Likewise.
60276         (M_2_PIl): Likewise.
60277         (M_2_SQRTPIl): Likewise.
60278         (M_SQRT2l): Likewise.
60279         (M_SQRT1_2l): Likewise.
60281 2012-05-31  David S. Miller  <davem@davemloft.net>
60283         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
60284         values between float registers.
60285         * sysdeps/sparc/sparc64/memset.S: Likewise.
60286         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
60288 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
60290         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
60291         -D_FORTIFY_SOURCE=1.
60292         (CPPFLAGS-tst-longjmp_chk.c): Define.
60293         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
60294         (CPPFLAGS-tst-longjmp_chk2.c): Define.
60295         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
60296         CFLAGS-tst-wchar-h.c.
60298 2012-05-31  Marek Polacek  <polacek@redhat.com>
60300         [BZ #14132]
60301         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
60302         __endmntent_internal): Remove declaration.
60303         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
60304         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
60305         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
60307 2012-05-30  David S. Miller  <davem@davemloft.net>
60309         * sysdeps/sparc/sparc32/soft-fp/q_util.c
60310         (___Q_simulate_exceptions): Use real FP ops rather than writing
60311         into the %fsr.
60312         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
60313         Likewise.
60315 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60317         [BZ #14117]
60318         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
60319         * sysdeps/x86/bits/xtitypes.h: This.
60321         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
60322         * sysdeps/x86/bits/wordsize.h: This.
60324         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
60325         * sysdeps/x86/bits/huge_vall.h: This.
60327         * sysdeps/i386/bits/select.h: Removed.
60328         * sysdeps/x86_64/bits/select.h: Renamed to ...
60329         * sysdeps/x86/bits/select.h: This.
60331         * sysdeps/i386/bits/setjmp.h: Removed.
60332         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
60333         * sysdeps/x86/bits/setjmp.h: This.
60335         * sysdeps/i386/bits/mathdef.h: Removed.
60336         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
60337         * sysdeps/x86/bits/mathdef.h: This.
60339 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
60341         [BZ #14132]
60342         * include/sys/socket.h (__connect_internal)
60343         (__libc_sa_len_internal): Remove declaration.
60344         (__connect, __libc_sa_len): Declare hidden_proto.
60345         (SA_LEN): Remove use of INTUSE.
60346         * socket/connect.c: Add libc_hidden_def.
60347         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
60348         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
60349         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
60350         alias.
60351         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
60352         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
60353         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
60354         of adding _internal alias.
60356 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60358         [BZ #14117]
60359         * sysdeps/i386/bits/link.h: Removed.
60360         * sysdeps/i386/bits/linkmap.h: Likewise.
60361         * sysdeps/x86_64/bits/link.h: Renamed to ...
60362         * sysdeps/x86/bits/link.h: This.
60363         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
60364         * sysdeps/x86/bits/linkmap.h: This.
60366         * sysdeps/i386/bits/endian.h: Removed.
60367         * sysdeps/x86_64/bits/endian.h: Renamed to ...
60368         * sysdeps/x86/bits/endian.h: This.
60370         * sysdeps/i386/bits/byteswap.h: Removed.
60371         * sysdeps/i386/bits/byteswap-16.h: Likewise.
60372         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
60373         * sysdeps/x86/bits/byteswap.h: This.
60374         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
60375         * sysdeps/x86/bits/byteswap-16.h: This.
60376         * sysdeps/i386/Implies: Add x86.
60377         * sysdeps/x86_64/Implies: Likewise.
60379 2012-05-30  David S. Miller  <davem@davemloft.net>
60381         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
60382         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
60383         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
60384         (FP_TRAPPING_EXCEPTIONS): Define.
60385         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
60386         (FP_TRAPPING_EXCEPTIONS): Define.
60387         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
60388         subnormals only when inexact has been signalled or underflow
60389         exceptions are enabled.
60390         (_FP_PACK_CANONICAL): Likewise.
60392 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60394         [BZ #14183]
60395         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
60396         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
60398 2012-05-30  Richard Henderson  <rth@twiddle.net>
60400         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
60401         with #ifndef NOT_IN_libc.
60403         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
60404         marked to avoid plt entry.
60406 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60408         [BZ #14112]
60409         * Makeconfig (default-abi): New macro.
60410         (abi-includes): Likewise.
60411         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
60412         $(abi-$(default-abi)-lib-soname) for soname if defined.
60413         ($(common-objpfx)gnu/lib-names.stmp): Generate from
60414         abi-variants.
60415         * Makefile (installed-stubs): Likewise.
60416         * include/stubs-biarch.h: Removed.
60417         * scripts/lib-names.awk: Only handle one library at a time.
60418         * scripts/soversions.awk: Remove WORDSIZE support.
60419         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
60420         entries.
60421         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
60422         Removed.
60423         (syscall-list-default-condition): Likewise.
60424         (syscall-list-default-condition): Likewise.
60425         (syscall-list-includes): Likewise.
60426         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
60427         syscall-list-* with abi-*.  Handle undefined abi-variants.
60428         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
60429         * sysdeps/unix/sysv/linux/i386/Implies: New file.
60430         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
60431         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
60432         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
60433         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
60434         Removed.
60435         (syscall-list-32-options): Likewise.
60436         (syscall-list-32-condition): Likewise.
60437         (syscall-list-64-options): Likewise.
60438         (syscall-list-64-condition): Likewise.
60439         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
60440         macro.
60441         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
60442         Renamed to ...
60443         (abi-*): This.
60444         (abi-64-ld-soname): New macro.
60445         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
60446         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
60447         Renamed to ...
60448         (abi-*): This.
60449         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
60450         * sysdeps/x86_64/x32/shlib-versions: Likewise.
60452 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
60454         * sysdeps/unix/sysv/linux/kernel-features.h
60455         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
60456         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
60457         include <kernel-features.h>.
60458         [!__NR_ftruncate64]: Remove conditional code.
60459         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60460         [__NR_ftruncate64]: Make code unconditional.
60461         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60462         * sysdeps/unix/sysv/linux/truncate64.c: Do not
60463         include <kernel-features.h>.
60464         [!__NR_ftruncate64]: Remove conditional code.
60465         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60466         [__NR_ftruncate64]: Make code unconditional.
60467         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
60469         include <kernel-features.h>.
60470         [!__NR_ftruncate64]: Remove conditional code.
60471         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60472         [__NR_ftruncate64]: Make code unconditional.
60473         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
60475         include <kernel-features.h>.
60476         [!__NR_ftruncate64]: Remove conditional code.
60477         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60478         [__NR_ftruncate64]: Make code unconditional.
60479         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60481         * configure.in (libc_cv_fpie): Weaken to a compile test using
60482         LIBC_TRY_CC_OPTION.
60483         * configure: Regenerated.
60485 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60487         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
60488         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
60489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
60490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
60491         Refreshed.
60492         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
60493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
60494         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
60495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
60496         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
60497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
60498         Refreshed.
60500 2012-05-27  David S. Miller  <davem@davemloft.net>
60502         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
60503         (___Q_zero): New.
60504         (__Q_simulate_exceptions): Return void.  Change to simulate
60505         exceptions by writing into the %fsr.
60506         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
60507         (__Qp_handle_exceptions): Likewise.
60508         (numbers): Delete.
60509         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
60510         __Qp_handle_exceptions.
60511         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
60512         __Qp_handle_exceptions.
60513         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
60514         as unused and give dummy FP_RND_NEAREST initializer.
60515         (FP_INHIBIT_RESULTS): Define.
60516         (___Q_simulate_exceptions): Update declaration.
60517         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
60518         formatting.
60519         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
60520         as unused and give dummy FP_RND_NEAREST initializer.
60521         (__Qp_handle_exceptions): Update declaration.
60522         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
60523         formatting.
60525 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
60527         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
60528         the temporary FPU control word.
60529         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
60530         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
60531         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
60532         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
60533         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
60534         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
60535         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
60536         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
60537         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
60538         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
60539         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60541 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60543         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
60544         fields.
60546 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
60548         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
60549         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
60550         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
60551         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
60552         Likewise.
60553         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
60554         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
60555         Likewise.
60557 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
60559         * po/h.po: Update from translation team.
60561 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
60563         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
60565         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
60566         handling of denormals.
60567         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
60568         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
60569         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
60570         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
60571         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60572         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
60573         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
60574         Likewise.
60576 2012-05-26  Marek Polacek  <polacek@redhat.com>
60578         [BZ #14152]
60579         * math/libm-test.inc (fma_test): Don't always expect underflow
60580         exception.
60582 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60584         [BZ #12416]
60585         * elf/tst-execstack.c: Include stackinfo.h.
60586         (do_test): Adjust test case to ensure that pthread_getattr_np
60587         behaviour remains the same after marking stack executable.
60589 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
60591         * sysdeps/unix/sysv/linux/kernel-features.h
60592         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
60593         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
60594         kernel-features.h.
60595         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
60596         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
60597         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
60598         kernel-features.h.
60599         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
60600         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
60602 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
60604         * configure.in: Define the default includes to being none.
60605         * configure: Regenerated.
60607 2012-05-25  Roland McGrath  <roland@hack.frob.com>
60609         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
60610         * sysdeps/x86_64/setjmp.S: Likewise.
60611         * sysdeps/i386/bsd-setjmp.S: Likewise.
60612         * sysdeps/i386/bsd-_setjmp.S: Likewise.
60613         * sysdeps/i386/setjmp.S: Likewise.
60614         * sysdeps/i386/__longjmp.S: Likewise.
60615         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
60616         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
60618         * include/stap-probe.h: New file.
60619         * configure.in: Handle --enable-systemtap.
60620         * configure: Regenerated.
60621         * config.h.in (USE_STAP_PROBE): New #undef.
60622         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
60623         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
60624         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
60626 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
60628         [BZ #13717]
60629         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
60630         to 2.4.0 where earlier.
60631         * sysdeps/unix/sysv/linux/configure: Regenerated.
60632         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
60633         <kernel-features.h>.
60634         [__ASSUME_32BITUIDS]: Make code unconditional.
60635         [!__ASSUME_32BITUIDS]: Remove conditional code.
60636         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
60637         <kernel-features.h>.
60638         [__ASSUME_32BITUIDS]: Make code unconditional.
60639         [!__ASSUME_32BITUIDS]: Remove conditional code.
60640         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
60641         [__ASSUME_32BITUIDS]: Make code unconditional.
60642         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
60643         * sysdeps/unix/sysv/linux/i386/getegid.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/i386/geteuid.c: Do not include
60648         <kernel-features.h>.
60649         [__ASSUME_32BITUIDS]: Make code unconditional.
60650         [!__ASSUME_32BITUIDS]: Remove conditional code.
60651         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
60652         <kernel-features.h>.
60653         [__ASSUME_32BITUIDS]: Make code unconditional.
60654         [!__ASSUME_32BITUIDS]: Remove conditional code.
60655         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
60656         <kernel-features.h>.
60657         [__ASSUME_32BITUIDS]: Make code unconditional.
60658         [!__ASSUME_32BITUIDS]: Remove conditional code.
60659         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
60660         <kernel-features.h>.
60661         [__ASSUME_32BITUIDS]: Make code unconditional.
60662         [!__ASSUME_32BITUIDS]: Remove conditional code.
60663         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
60664         <kernel-features.h>.
60665         [__ASSUME_32BITUIDS]: Make code unconditional.
60666         [!__ASSUME_32BITUIDS]: Remove conditional code.
60667         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
60668         <kernel-features.h>.
60669         [__ASSUME_32BITUIDS]: Make code unconditional.
60670         [!__ASSUME_32BITUIDS]: Remove conditional code.
60671         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
60672         <kernel-features.h>.
60673         [__ASSUME_32BITUIDS]: Make code unconditional.
60674         [!__ASSUME_32BITUIDS]: Remove conditional code.
60675         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
60676         <kernel-features.h>.
60677         [__ASSUME_32BITUIDS]: Make code unconditional.
60678         [!__ASSUME_32BITUIDS]: Remove conditional code.
60679         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
60680         <kernel-features.h>.
60681         [__ASSUME_32BITUIDS]: Make code unconditional.
60682         [!__ASSUME_32BITUIDS]: Remove conditional code.
60683         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
60684         <kernel-features.h>.
60685         [__NR_setresgid] (__setresgid): Do not declare.
60686         [__ASSUME_32BITUIDS]: Make code unconditional.
60687         [!__ASSUME_32BITUIDS]: Remove conditional code.
60688         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
60689         <kernel-features.h>.
60690         [__NR_setresuid] (__setresuid): Do not declare.
60691         [__ASSUME_32BITUIDS]: Make code unconditional.
60692         [!__ASSUME_32BITUIDS]: Remove conditional code.
60693         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
60694         <kernel-features.h>.
60695         [__ASSUME_32BITUIDS]: Make code unconditional.
60696         [!__ASSUME_32BITUIDS]: Remove conditional code.
60697         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
60698         <kernel-features.h>.
60699         [__ASSUME_32BITUIDS]: Make code unconditional.
60700         [!__ASSUME_32BITUIDS]: Remove conditional code.
60701         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
60702         <kernel-features.h>.
60703         [__ASSUME_32BITUIDS]: Make code unconditional.
60704         [!__ASSUME_32BITUIDS]: Remove conditional code.
60705         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
60706         <kernel-features.h>.
60707         [__ASSUME_32BITUIDS]: Make code unconditional.
60708         [!__ASSUME_32BITUIDS]: Remove conditional code.
60709         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
60710         <kernel-features.h>.
60711         [__ASSUME_32BITUIDS]: Make code unconditional.
60712         [!__ASSUME_32BITUIDS]: Remove conditional code.
60713         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
60714         <kernel-features.h>.
60715         [__ASSUME_32BITUIDS]: Make code unconditional.
60716         [!__ASSUME_32BITUIDS]: Remove conditional code.
60717         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
60718         <kernel-features.h>.
60719         [__ASSUME_32BITUIDS]: Make code unconditional.
60720         [!__ASSUME_32BITUIDS]: Remove conditional code.
60721         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
60722         <kernel-features.h>.
60723         [__ASSUME_32BITUIDS]: Make code unconditional.
60724         [!__ASSUME_32BITUIDS]: Remove conditional code.
60725         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
60726         <kernel-features.h>.
60727         [__ASSUME_32BITUIDS]: Make code unconditional.
60728         [!__ASSUME_32BITUIDS]: Remove conditional code.
60729         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
60730         <kernel-features.h>.
60731         [__ASSUME_32BITUIDS]: Make code unconditional.
60732         [!__ASSUME_32BITUIDS]: Remove conditional code.
60733         * sysdeps/unix/sysv/linux/kernel-features.h
60734         (__ASSUME_SETRESUID_SYSCALL): Remove.
60735         (__ASSUME_SETRESGID_SYSCALL): Likewise.
60736         (__ASSUME_32BITUIDS): Likewise.
60737         (__ASSUME_LDT_WORKS): Likewise.
60738         (__ASSUME_O_DIRECTORY): Likewise.
60739         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
60740         architecture but not kernel version.
60741         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
60742         (__ASSUME_MMAP2_SYSCALL): Likewise.
60743         (__ASSUME_STAT64_SYSCALL): Likewise.
60744         (__ASSUME_IPC64): Likewise.
60745         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
60746         <kernel-features.h>.
60747         [__ASSUME_32BITUIDS]: Make code unconditional.
60748         [!__ASSUME_32BITUIDS]: Remove conditional code.
60749         * sysdeps/unix/sysv/linux/opendir.c: Do not include
60750         <kernel-features.h>.
60751         [__ASSUME_O_DIRECTORY]: Make code unconditional.
60752         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
60753         132096]: Remove conditional code.
60754         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
60755         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
60756         <kernel-features.h>.
60757         [__ASSUME_32BITUIDS]: Make code unconditional.
60758         [!__ASSUME_32BITUIDS]: Remove conditional code.
60759         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
60760         <kernel-features.h>.
60761         [__ASSUME_32BITUIDS]: Make code unconditional.
60762         [!__ASSUME_32BITUIDS]: Remove conditional code.
60763         * sysdeps/unix/sysv/linux/setegid.c: Do not include
60764         <kernel-features.h>.
60765         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
60766         unconditional.
60767         (__setresgid): Do not declare.
60768         [__ASSUME_32BITUIDS]: Make code unconditional.
60769         [!__ASSUME_32BITUIDS]: Remove conditional code.
60770         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
60771         <kernel-features.h>.
60772         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
60773         unconditional.
60774         (__setresuid): Do not declare.
60775         [__ASSUME_32BITUIDS]: Make code unconditional.
60776         [!__ASSUME_32BITUIDS]: Remove conditional code.
60777         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
60778         <kernel-features.h>.
60779         [__ASSUME_32BITUIDS]: Make code unconditional.
60780         [!__ASSUME_32BITUIDS]: Remove conditional code.
60781         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
60782         <kernel-features.h>.
60783         [__ASSUME_32BITUIDS]: Make code unconditional.
60784         [!__ASSUME_32BITUIDS]: Remove conditional code.
60786 2012-05-25  Richard Henderson  <rth@twiddle.net>
60788         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
60789         dl_hwcap to ifunc resolver.
60790         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
60791         elf_ifunc_invoke.
60792         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
60793         dl_hwcap to ifunc resolver.
60794         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
60796 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60798         [BZ #14153]
60799         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
60800         for |x| <= 2**-26, not 2**-57.
60801         * math/libm-test.inc (acos_test): Do not allow spurious underflow
60802         exception.
60804 2012-05-24  Jeff Law  <law@redhat.com>
60806         * stdio-common/Makefile (tests): Add bug25.
60807         * stdio-common/bug25.c: New test.
60809 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
60811         [BZ #13576]
60812         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
60813         multiple of MALLOC_ALIGNMENT in size.
60814         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
60816 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60818         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
60819         Require >= 256.
60820         (FILENAME_MAX): Use macro-int-constant.
60821         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
60822         (_IOFBF): Use macro-int-constant.
60823         (_IOLBF): Likewise.
60824         (_IONBF): Likewise.
60825         (SEEK_CUR): Likewise.
60826         (SEEK_END): Likewise.
60827         (SEEK_SET): Likewise.
60828         (TMP_MAX): Likewise.
60829         (EOF): Use macro-int-constant.  Require < 0.
60830         (NULL): Use macro-constant.  Require == 0.
60831         (stdin): Require type to be FILE *.
60832         (stdout): Likewise.
60833         (stderr): Likewise.
60834         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
60835         macro-int-constant.
60836         (EXIT_SUCCESS): Likewise.
60837         (NULL): Use macro-constant.  Require == 0.
60838         (RAND_MAX): Use macro-int-constant.
60839         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
60840         [C99-based standards] (strtof): Require function.
60841         [C99-based standards] (strtold): Likewise.
60842         [C99-based standards] (strtoll): Likewise.
60843         [C99-based standards] (strtoull): Likewise.
60844         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60845         [ISO || ISO99 || ISO11] (limits.h): Likewise.
60846         [ISO || ISO99 || ISO11] (math.h): Likewise.
60847         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
60848         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60849         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60851 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
60853         [BZ #14132]
60854         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
60855         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
60856         * intl/dgettext.c (DCGETTEXT): Likewise.
60857         * intl/gettext.c (DCGETTEXT): Likewise.
60858         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
60859         * posix/regex_internal.h (gettext): Likewise.
60860         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
60861         Remove declaration.
60862         * include/argz.h (__argz_count_internal)
60863         (__argz_stringify_internal): Remove declaration.
60864         (__argz_count, __argz_stringify): Declare hidden proto.
60865         * intl/dcgettext.c: Remove use of INTDEF.
60866         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
60867         * string/argz-stringify.c: Likewise.
60868         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
60869         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
60870         Declare hidden proto.
60871         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
60872         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
60873         Declare hidden proto.
60874         * include/stdio.h (__asprintf_internal): Don't declare.
60875         (__asprintf): Don't define as macro.  Declare hidden proto.
60876         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
60877         (__fsetlocking): Declare hidden proto.
60878         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
60879         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
60880         hidden proto.
60881         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
60882         (_IO_setlinebuf): Remove use of INTUSE.
60883         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
60884         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
60885         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
60886         Remove declaration.
60887         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
60888         (_IO_do_flush): Remove use of INTUSE.
60889         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
60890         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
60891         (_IO_adjust_column, _IO_least_wmarker)
60892         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
60893         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
60894         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
60895         (_IO_default_doallocate, _IO_wdefault_doallocate)
60896         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
60897         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
60898         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
60899         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
60900         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
60901         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
60902         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
60903         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
60904         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
60905         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
60906         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
60907         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
60908         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
60909         proto.
60910         (_IO_flush_all_internal, _IO_adjust_column_internal)
60911         (_IO_default_uflow_internal, _IO_default_finish_internal)
60912         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
60913         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
60914         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
60915         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
60916         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
60917         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
60918         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
60919         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
60920         (_IO_file_close_internal, _IO_file_close_it_internal)
60921         (_IO_file_underflow_internal, _IO_file_overflow_internal)
60922         (_IO_file_init_internal, _IO_file_attach_internal)
60923         (_IO_file_fopen_internal, _IO_file_read_internal)
60924         (_IO_file_sync_internal, _IO_file_seek_internal)
60925         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
60926         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
60927         (_IO_str_underflow_internal, _IO_str_overflow_internal)
60928         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
60929         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
60930         (_IO_list_all_internal, _IO_link_in_internal)
60931         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
60932         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
60933         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
60934         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
60935         (_IO_do_write_internal, _IO_padn_internal)
60936         (_IO_getline_info_internal, _IO_getline_internal)
60937         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
60938         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
60939         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
60940         (_IO_vfscanf_internal, _IO_vfprintf_internal)
60941         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
60942         (_IO_init_internal, _IO_un_link_internal): Don't declare.
60943         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
60944         with libc_hidden_ver, remove use of INTUSE.
60945         * libio/genops.c: Likewise.
60946         * libio/freopen.c: Likewise.
60947         * libio/freopen64.c: Likewise.
60948         * libio/iofclose.c: Likewise.
60949         * libio/iofdopen.c: Likewise.
60950         * libio/iofflush.c: Likewise.
60951         * libio/iofflush_u.c: Likewise.
60952         * libio/iofgets.c: Likewise.
60953         * libio/iofgets_u.c: Likewise.
60954         * libio/iofopen.c: Likewise.
60955         * libio/iofopncook.c: Likewise.
60956         * libio/iofread.c: Likewise.
60957         * libio/iofread_u.c: Likewise.
60958         * libio/ioftell.c: Likewise.
60959         * libio/iofwrite.c: Likewise.
60960         * libio/iogetline.c: Likewise.
60961         * libio/iogets.c: Likewise.
60962         * libio/iogetwline.c: Likewise.
60963         * libio/iopadn.c: Likewise.
60964         * libio/iopopen.c: Likewise.
60965         * libio/ioseekoff.c: Likewise.
60966         * libio/ioseekpos.c: Likewise.
60967         * libio/iosetbuffer.c: Likewise.
60968         * libio/iosetvbuf.c: Likewise.
60969         * libio/ioungetc.c: Likewise.
60970         * libio/ioungetwc.c: Likewise.
60971         * libio/iovdprintf.c: Likewise.
60972         * libio/iovsprintf.c: Likewise.
60973         * libio/iovsscanf.c: Likewise.
60974         * libio/memstream.c: Likewise.
60975         * libio/obprintf.c: Likewise.
60976         * libio/oldfileops.c: Likewise.
60977         * libio/oldiofclose.c: Likewise.
60978         * libio/oldiofdopen.c: Likewise.
60979         * libio/oldiofopen.c: Likewise.
60980         * libio/oldiopopen.c: Likewise.
60981         * libio/oldstdfiles.c: Likewise.
60982         * libio/putc.c: Likewise.
60983         * libio/setbuf.c: Likewise.
60984         * libio/setlinebuf.c: Likewise.
60985         * libio/stdfiles.c: Likewise.
60986         * libio/strops.c: Likewise.
60987         * libio/vasprintf.c: Likewise.
60988         * libio/vscanf.c: Likewise.
60989         * libio/vsnprintf.c: Likewise.
60990         * libio/vswprintf.c: Likewise.
60991         * libio/wfiledoalloc.c: Likewise.
60992         * libio/wfileops.c: Likewise.
60993         * libio/wgenops.c: Likewise.
60994         * libio/wmemstream.c: Likewise.
60995         * libio/wstrops.c: Likewise.
60996         * libio/__fpurge.c: Likewise.
60997         * libio/__fsetlocking.c: Likewise.
60998         * assert/assert.c: Likewise.
60999         * debug/fgets_chk.c: Likewise.
61000         * debug/fgets_u_chk.c: Likewise.
61001         * debug/fread_chk.c: Likewise.
61002         * debug/fread_u_chk.c: Likewise.
61003         * debug/gets_chk.c: Likewise.
61004         * debug/obprintf_chk.c: Likewise.
61005         * debug/vasprintf_chk.c: Likewise.
61006         * debug/vdprintf_chk.c: Likewise.
61007         * debug/vsnprintf_chk.c: Likewise.
61008         * debug/vsprintf_chk.c: Likewise.
61009         * malloc/mtrace.c: Likewise.
61010         * misc/error.c: Likewise.
61011         * misc/syslog.c: Likewise.
61012         * stdio-common/asprintf.c: Likewise.
61013         * stdio-common/fxprintf.c: Likewise.
61014         * stdio-common/getw.c: Likewise.
61015         * stdio-common/isoc99_fscanf.c: Likewise.
61016         * stdio-common/isoc99_scanf.c: Likewise.
61017         * stdio-common/isoc99_vfscanf.c: Likewise.
61018         * stdio-common/isoc99_vscanf.c: Likewise.
61019         * stdio-common/isoc99_vsscanf.c: Likewise.
61020         * stdio-common/printf-prs.c: Likewise.
61021         * stdio-common/printf_fp.c: Likewise.
61022         * stdio-common/printf_fphex.c: Likewise.
61023         * stdio-common/printf_size.c: Likewise.
61024         * stdio-common/putw.c: Likewise.
61025         * stdio-common/scanf.c: Likewise.
61026         * stdio-common/sprintf.c: Likewise.
61027         * stdio-common/tmpfile.c: Likewise.
61028         * stdio-common/vfprintf.c: Likewise.
61029         * stdio-common/vfscanf.c: Likewise.
61030         * stdlib/strfmon_l.c: Likewise.
61031         * sunrpc/openchild.c: Likewise.
61032         * sunrpc/xdr_stdio.c: Likewise.
61033         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
61034         * sysdeps/mach/hurd/tmpfile.c: Likewise.
61036 2012-05-24  Roland McGrath  <roland@hack.frob.com>
61038         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
61040         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
61041         in the third column, to generate for the shared library an IFUNC
61042         that uses _dl_vdso_vsym.
61043         * Makerules (COMPILE.c, compile-stdin.c): New variables.
61044         * Makeconfig (object-suffixes-noshared): New variable.
61046         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
61047         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
61048         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
61049         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
61051         [BZ #14132]
61052         * include/sys/time.h (__gettimeofday): Remove macro.
61053         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
61054         * time/gettimeofday.c (__gettimeofday): Remove #undef.
61055         Remove INTDEF.
61056         (__gettimeofday): Add libc_hidden_def.
61057         (gettimeofday): Add libc_hidden_weak.
61058         * sysdeps/mach/gettimeofday.c: Likewise.
61059         * sysdeps/posix/gettimeofday.c: Likewise.
61060         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
61061         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
61062         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
61063         (__gettimeofday_internal): Remove strong_alias.
61064         (__gettimeofday): Add libc_hidden_def.
61065         (gettimeofday): Add libc_hidden_weak.
61066         * sysdeps/unix/syscalls.list (gettimeofday):
61067         Remove __gettimeofday_internal alias.
61069 2012-05-24  Daniel Jacobowitz  <drow@false.org>
61070             H.J. Lu  <hongjiu.lu@intel.com>
61072         [BZ #12495]
61073         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
61074         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
61075         (largebin_index_32_big): New.
61076         (largebin_index): Use it for 16-byte alignment.
61077         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
61078         correction with front_misalign.
61080 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
61082         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
61083         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
61084         Likewise.
61085         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
61086         Likewise.
61087         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
61088         Likewise.
61089         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
61090         Likewise.
61091         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
61092         Likewise.
61093         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
61094         Likewise.
61095         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
61096         Likewise.
61097         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
61098         Likewise.
61099         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
61100         Likewise.
61101         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
61102         Likewise.
61103         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
61104         Likewise.
61105         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
61106         Likewise.
61108         * scripts/data/c++-types-x32-linux-gnu.data: New file.
61109         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
61111 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61113         [BZ #10846]
61114         [BZ #14036]
61115         * math/libm-test.inc (exp_test): Add test from bug 14036.
61116         (pow_test): Add test from bug 10846.
61118         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
61119         and other flags.
61120         (special_function): Do not include flags in test name.
61121         (parse_args): Likewise.
61122         * sysdeps/i386/fpu/libm-test-ulps: Update.
61123         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61124         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
61125         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
61126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61128         * math/gen-libm-test.pl (%beautify): Add entries for underflow
61129         exceptions.
61130         * math/libm-test.inc ("Philosophy"): Update comment about
61131         exception testing.
61132         (UNDERFLOW_EXCEPTION): New macro.
61133         (UNDERFLOW_EXCEPTION_OK): Likewise.
61134         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
61135         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
61136         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
61137         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
61138         (INVALID_EXCEPTION_OK): Update value.
61139         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61140         (OVERFLOW_EXCEPTION_OK): Likewise.
61141         (IGNORE_ZERO_INF_SIGN): Likewise.
61142         (test_exceptions): Handle underflow exceptions.
61143         (acos_test): Update for underflow exception expectations.
61144         (cexp_test): Likewise.
61145         (clog_test): Likewise.
61146         (clog10_test): Likewise.
61147         (csqrt_test): Likewise.
61148         (ctan_test): Likewise.
61149         (ctanh_test): Likewise.
61150         (exp_test): Likewise.
61151         (exp10_test): Likewise.
61152         (exp2_test): Likewise.
61153         (expm1_test): Likewise.
61154         (fma_test): Likewise.
61155         (j0_test): Likewise.
61156         (jn_test): Likewise.
61157         (nexttoward_test): Likewise.
61158         (pow_test): Likewise.
61159         (scalbn_test): Likewise.
61160         (scalbln_test): Likewise.
61161         (tan_test): Likewise.
61162         (y1_test): Likewise.
61163         * sysdeps/i386/fpu/libm-test-ulps: Update.
61164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61166 2012-05-23  David S. Miller  <davem@davemloft.net>
61168         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
61169         (__libc_sigaction): Remove unused local variables.
61171 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61173         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
61175 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
61177         mktime: avoid signed integer overflow
61178         * time/mktime.c (__mktime_internal): Do not mishandle the case
61179         where diff == INT_MIN.
61181         mktime: simplify computation of average
61182         * time/mktime.c (ranged_convert): Use new time_t_avg function
61183         instead of rolling our own (probably-slower) code.
61185         mktime: do not assume signed right shift propagates sign bit
61186         * time/mktime.c (isdst_differ): New static function.
61187         (__mktime_internal): No need to normalize tm_isdst now.
61188         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
61189         tm_isdst values.
61191         mktime: merge another wrapv change from gnulib
61192         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
61193         from some compilers.
61195         mktime: remove incorrect attempt at unusual arithmetics
61196         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
61197         The code didn't really work on such machines anyway.
61198         (TYPE_MINIMUM): Assume two's complement.
61199         (twos_complement_arithmetic): Verify that long_int and time_t
61200         are two's complement (or unsigned, in the latter case).
61202         mktime: check signed shifts on long_int and time_t, too
61203         * time/mktime.c (SHR): Check that shifts work as desired
61204         on the types long_int and time_t too, as SHR is used on
61205         such types.
61207         mktime: do not assume 'long' is wide enough
61208         * time/mktime.c (verify): Move decl up.
61209         (long_int): New type.
61210         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
61211         to remove assumption in the code that 'long' is wide enough to
61212         store year values.  This assumption is not true on x32 and on
61213         some non-glibc platforms.
61215         mktime: merge wrapv change from gnulib
61216         * time/mktime.c (WRAPV): New macro.
61217         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
61218         (guess_time_tm, __mktime_internal): Do not assume that signed
61219         integer overflow wraps around; modern compilers generate code
61220         where this assumption is no longer valid.
61222 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61224         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
61225         Replace "jmp L(pseudo_end)" with "ret".
61226         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
61227         Likewise.
61229 2012-05-23  Andreas Jaeger  <aj@suse.de>
61231         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
61232         * sysdeps/unix/sysv/linux/poll.c: Remove file.
61234 2012-05-23  Andreas Jaeger  <aj@suse.de>
61235             Maximilian Attems  <max@stro.at>
61237         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
61238         New macros.
61240 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61242         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
61243         code so that pseudo_end is just ret and the stack pointer is
61244         correct also for static library in error case.
61246 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
61248         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
61249         move to syscalls.list.
61250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
61251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
61252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
61253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
61255         * manual/install.texi (Running make install): Do not mention Linux
61256         kernel version for which pt_chown is not needed.
61257         (Linux): Do not mention problems with nscd with 2.0 kernels.
61258         * INSTALL: Regenerated.
61260 2012-05-23  Andreas Jaeger  <aj@suse.de>
61262         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
61263         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
61264         macro.
61265         * sysdeps/unix/sysv/linux/s390/bits/mman.h
61266         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61267         * sysdeps/unix/sysv/linux/sh/bits/mman.h
61268         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61269         * sysdeps/unix/sysv/linux/i386/bits/mman.h
61270         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61271         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
61272         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61273         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
61274         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61275         * sysdeps/unix/sysv/linux/bits/in.h
61276         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
61278 2012-05-22  Roland McGrath  <roland@hack.frob.com>
61280         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
61281         (PREPARE_VERSION): Just use assert instead, it will be elided
61282         under [NDEBUG] anyway.
61284 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61286         * sysdeps/unix/sysv/linux/Makefile: Include
61287         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
61288         (sysdep_routines): Remove sysctl.
61289         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
61290         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
61291         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
61292         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
61293         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
61295 2012-05-22  Andreas Jaeger  <aj@suse.de>
61297         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
61298         that pseudo_end is just ret and the stack pointer is correct also
61299         for static library in error case.
61301 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
61303         [BZ #14122]
61304         * nss/nsswitch.c (defconfig_entries): New variable.
61305         (__nss_database_lookup): Don't leak defconfig entries.
61306         (nss_parse_service_list): Don't leak on error paths.
61307         (free_database_entries): New function.
61308         (free_defconfig): New function.
61309         (free_mem): Move common code to free_database_entries.
61311 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61313         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
61314         Add arch_prctl.
61315         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
61317         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
61318         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
61319         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
61320         New macro.
61321         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
61322         (INTERNAL_SYSCALL_TYPES): Likewise.
61323         (LOAD_ARGS_TYPES_[1-6]): Likewise.
61324         (LOAD_REGS_TYPES_[1-6]): Likewise.
61325         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
61326         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
61328 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61330         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
61331         copysignl for GLIBC_2_0.
61332         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
61333         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
61334         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
61335         logbl for GLIBC_2_0.
61336         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
61337         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
61339 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61341         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
61342         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61344         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
61345         Use "neg %eax".
61347         * time/mktime.c: Update copyright years.
61349 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
61351         mktime: merge comment-quoting-style change from gnulib
61352         * time/mktime.c: Quote 'like this' in comments.
61353         The GNU coding standards suggest that we no longer quote `like this',
61354         as "`" and "'" are typically rendered asymmetrically nowadays.
61355         The typical gnulib style is to quote 'like this' when quoting
61356         code, and "like this" when quoting English.
61358         * time/mktime.c (compile-command): Add "-I.".
61360         mktime: merge mktime-internal.h change from gnulib
61361         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
61363         mktime: merge time_r change from gnulib
61364         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
61366         mktime: merge DEBUG change from gnulib
61367         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
61368         case system <time.h> has a #define.
61370         mktime: merge <sys/types.h> change from gnulib
61371         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
61372         since <time.t> is now guaranteed to define time_t.
61374         mktime: merge HAVE_CONFIG_H change from gnulib
61375         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
61377 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61379         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
61380         Use "neg %eax".
61382         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
61383         __rlim_t cast.
61384         (struct rusage): Use anonymous union to pad each field to
61385         __syscall_slong_t.
61387 2012-05-21  David S. Miller  <davem@davemloft.net>
61389         * Makefules (o-iterator): Remove .s cases.
61390         (compile-command.s): Delete.
61391         (COMPILE.s): Delete.
61392         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
61394 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
61396         * configure.in (libc_cv_predef_stack_protector): Only consider
61397         "foobar" and "__stack_chk_fail" lines in libc_undefs.
61398         * configure: Regenerated.
61400 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61402         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
61403         New macro.  Use R*LP on int and pointer.
61404         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
61405         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
61406         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
61407         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
61409         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
61410         [__WORDSIZE_TIME64_COMPAT32] instead of
61411         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
61412         (struct utmp): Likewise.
61413         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
61414         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
61415         Renamed to ...
61416         (__WORDSIZE_TIME64_COMPAT32): This.
61417         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
61418         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
61419         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
61420         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
61421         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
61422         (__WORDSIZE_TIME64_COMPAT32): New macro.
61424 2012-05-21  Andreas Jaeger  <aj@suse.de>
61426         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
61427         only if [SHARED]. Add prototype for __wcschr_ia32.
61429 2012-05-21  Roland McGrath  <roland@hack.frob.com>
61431         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
61432         of %rbp unmolested in the jmp_buf while mangling the low bits.
61433         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
61434         unmolested high bits of %rbp while demangling the low bits.
61435         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
61437 2012-05-21  Andreas Jaeger  <aj@suse.de>
61439         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
61440         * sunrpc/svc_simple.c: Use it for registerrpc.
61441         * sunrpc/xcrypt.c: Use it for passwd2des.
61443         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
61445 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61447         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
61448         Don't define if [__SYSCALL_WORDSIZE != 32].
61449         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
61450         New macro.
61452 2012-05-21  Bruno Haible  <bruno@clisp.org>
61453             Andreas Jaeger  <aj@suse.de>
61455         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
61456         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
61457         inptr and inend for must_buffer_ch.
61458         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
61459         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
61460         * stdio-common/Makefile (tests): Remove bug15.
61461         (bug15-ENV): Remove macro.
61462         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
61463         anymore.
61465 2012-05-19  Andreas Jaeger  <aj@suse.de>
61466             Roland McGrath  <roland@hack.frob.com>
61468         * manual/contrib.texi: Completely rewritten. It contains now an
61469         alphabetical list of contributors and their contributions.
61471 2012-05-21  Richard Henderson  <rth@twiddle.net>
61473         * misc/getauxval.c (__getauxval): Use unsigned long int.
61474         * misc/sys/auxv.h: Include <sys/cdefs.h>.
61475         (getauxval): Use unsigned long int.
61477 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61479         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
61481 2012-05-21  Roland McGrath  <roland@hack.frob.com>
61483         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
61484         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
61485         __alignof__ (long double).
61487 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61491 2012-05-20  Richard Henderson  <rth@twiddle.net>
61493         * misc/getauxval.c: New file.
61494         * misc/sys/auxv.h: New file.
61495         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
61496         (routines): Add getauxval.
61497         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
61498         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
61499         * elf/dl-sysdep.c (_dl_auxv): Remove.
61500         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
61501         * elf/dl-support.c (_dl_auxv): New variable.
61502         (_dl_aux_init): Initialize it.
61503         * manual/startup.texi (Auxiliary Vector): New node.
61504         * sysdeps/generic/bits/hwcap.h: New file.
61505         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
61506         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
61507         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
61508         * sysdeps/sparc/sysdep.h: ... here.  Include it.
61509         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
61510         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
61511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61512         Update.
61513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
61514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
61515         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
61516         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
61517         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
61518         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
61519         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
61520         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
61522 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61524         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61526 2012-05-19  David S. Miller  <davem@davemloft.net>
61528         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61530 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
61532         [BZ #14123]
61533         * math/s_ccosh.c: Include <float.h>
61534         (__ccosh): Avoid internal overflow calculating sinh and cosh
61535         values before multiplying by sin and cos values.
61536         * math/s_ccoshf.c: Likewise.
61537         * math/s_ccoshl.c: Likewise.
61538         * math/s_csin.c: Likewise.
61539         * math/s_csinf.c: Likewise.
61540         * math/s_csinl.c: Likewise.
61541         * math/s_csinh.c: Likewise.
61542         * math/s_csinhf.c: Likewise.
61543         * math/s_csinhl.c: Likewise.
61544         * math/libm-test.inc (ccos_test): Add more tests.
61545         (ccosh_test): Likewise.
61546         (csin_test): Likewise.
61547         (csinh_test): Likewise.
61548         * sysdeps/i386/fpu/libm-test-ulps: Update.
61549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61551 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
61553         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
61554         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
61556         * sysdeps/x86_64/x32/_itoa.h: Add comment.
61558 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
61560         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
61561         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
61562         * sysdeps/powerpc/soft-fp/Versions: Likewise.
61563         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
61564         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
61565         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
61566         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
61567         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
61568         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
61569         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
61570         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
61571         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
61572         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
61573         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
61574         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
61575         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
61576         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
61577         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
61578         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
61579         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
61580         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
61581         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
61582         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
61583         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
61584         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
61585         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
61586         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
61587         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
61588         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
61589         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
61590         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
61592 2012-05-18  Andreas Jaeger  <aj@suse.de>
61594         * csu/.gitignore: Delete.
61596 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61598         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
61599         (timex): Use __syscall_slong_t.
61601 2012-05-18  Andreas Jaeger  <aj@suse.de>
61602             Carlos O'Donell  <carlos_odonell@mentor.com>
61604         * manual/install.texi (Configuring and compiling): Update
61605         description about files modified in the source directory.
61606         * INSTALL: Regenerated.
61608 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61610         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
61611         value.  Use "or" to set return value to -1.
61612         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
61613         negate return value.
61615 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61617         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
61618         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
61619         failure if the compiler has Graphite support disabled.
61620         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
61621         Likewise.
61622         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
61623         (CFLAGS-memmove.c): Likewise.
61624         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
61625         Likewise.
61627 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61629         * sysdeps/x86_64/x32/_itoa.h: New file.
61631         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
61632         getdents system call only if kernel and user dirents have the
61633         same d_ino and d_off.
61635         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
61636         LLONG_MAX != LONG_MAX.
61637         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61638         (_fitoa_word): Likewise.
61640         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
61641         years.
61642         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
61643         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
61644         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
61646         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
61647         include <bits/wordsize.h>.  Check __x86_64__ instead of
61648         __WORDSIZE.
61649         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
61650         if __x86_64__ is defined.  Use anonymous union on fpstate.
61652         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
61653         anonymous union.
61655 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
61657         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
61658         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
61659         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
61660         Refer to _rtld_local_ro instead of _rtld_global_ro.
61661         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
61662         Likewise.
61663         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
61664         Likewise.
61665         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
61666         Likewise.
61667         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
61668         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
61669         of _rtld_global, and rtld_progname instead of _dl_argv[0].
61671         [BZ #10882]
61672         * sysdeps/powerpc/powerpc32/dl-machine.c
61673         (__elf_machine_runtime_setup) [PROF]: Don't reference
61674         _dl_prof_resolve.
61676 2012-05-18  Andreas Jaeger  <aj@suse.de>
61678         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
61679         function only available for GCCs before 3.4 since GCC 3.4
61680         introduced a builtin.
61681         (lrint): Likewise.
61682         (llrintf): Likewise.
61683         (llrint): Likewise.
61684         (fmaxf): Likewise.
61685         (fmax): Likewise.
61686         (fminf): Likewise.
61687         (fmin): Likewise.
61688         (rint): Likewise.
61689         (rintf): Likewise.
61690         (nearbyint): Likewise.
61691         (nearbyintf): Likewise.
61692         (ceil): Likewise.
61693         (ceilf): Likewise.
61694         (floor): Likewise.
61695         (floorf): Likewise.
61697 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61699         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
61700         on both fields and cast pointer to __syscall_ulong_t.
61702         * bits/types.h (__fsword_t): New type.
61703         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
61704         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
61705         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61706         (__FSWORD_T_TYPE): Likewise.
61707         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61708         (__FSWORD_T_TYPE): Likewise.
61709         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61710         (__FSWORD_T_TYPE): Likewise.
61711         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
61712         (__FSWORD_T_TYPE): Likewise.
61713         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
61714         __SWORD_TYPE with __fsword_t.
61715         (statfs64): Likewise.
61717 2012-05-17  David S. Miller  <davem@davemloft.net>
61719         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
61721 2012-05-17  Andreas Jaeger  <aj@suse.de>
61723         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
61724         warning.
61726 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61728         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
61730 2012-05-17  Andreas Jaeger  <aj@suse.de>
61732         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
61733         when it is used.
61735 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
61737         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
61739 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61741         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
61742         * sysdeps/x86_64/tst-mallocalign1.c: New file.
61744 2012-05-17  Andreas Jaeger  <aj@suse.de>
61745             Carlos O'Donell  <carlos_odonell@mentor.com>
61747         [BZ #14059]
61748         * sysdeps/x86_64/multiarch/init-arch.h
61749         (bit_YMM_Usable): Rename to...
61750         (bit_AVX_Usable): ... this.
61751         (bit_FMA4_Usable): New macro.
61752         (bit_XMM_state): New macro.
61753         (bit_YMM_state): New macro.
61754         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
61755         [__ASSEMBLER__] (index_AVX_Usable): ... this.
61756         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
61757         (CPUID_OSXSAVE): New macro.
61758         (CPUID_AVX): New macro.
61759         (CPUID_FMA4): New macro.
61760         (index_YMM_Usable): Rename to...
61761         (index_AVX_Usable): ... this.
61762         (HAS_AVX): Use HAS_ARCH_FEATURE.
61763         (HAS_FMA4): Likewise.
61764         (HAS_YMM_USABLE): Remove.
61765         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61766         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
61767         are present.
61768         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
61769         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
61770         * sysdeps/x86_64/multiarch/Makefile: Likewise.
61771         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
61772         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
61774 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
61776         * math/libm-test.c: Support platforms without multiple rounding modes.
61777         * math/bug-nextafter.c: Support platforms without FP exceptions.
61778         * math/bug-nexttoward.c: Likewise.
61779         * math/test-fenv.c: Likewise.
61780         * math/test-misc.c: Likewise.
61781         * stdlib/bug-getcontext.c: Likewise.
61783 2012-05-17  Andreas Jaeger  <aj@suse.de>
61785         * manual/examples/search.c (critter_cmp): Change signature to
61786         avoid warnings.
61787         * manual/string.texi (Collation Functions): Likewise.
61789 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61791         * bits/types.h: Fold copyright years.
61792         * bits/typesizes.h: Likewise.
61793         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
61794         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
61795         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
61796         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
61797         * time/time.h: Likewise.
61799 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
61801         [BZ #208]
61802         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
61803         in instead of returning them.  Return void.
61804         (__libc_mallinfo): Accumulate over all arenas.
61805         (__malloc_stats): Adjust for change in int_mallinfo interface.
61807 2012-05-16  Roland McGrath  <roland@hack.frob.com>
61809         [BZ #10375]
61810         * configure.in (NM): Add AC_CHECK_TOOL for it.
61811         (libc_extra_cflags): New substituted variable.
61812         Check for -fstack-protector being used implicitly.
61813         * configure: Regenerated.
61814         * config.make.in (config-extra-cflags): New variable,
61815         gets @libc_extra_cflags@.
61816         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
61818         [BZ #10375]
61819         * configure.in: Check for _FORTIFY_SOURCE being predefined.
61820         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
61821         * configure: Regenerated.
61822         * config.make.in (CPPUNDEFS): New substituted variable.
61823         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
61824         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
61825         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
61827 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61829         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
61830         (mq_attr): Use __syscall_slong_t.
61832 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61834         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
61835         Check __x86_64__ instead of __WORDSIZE.
61836         (_STAT_VER_LINUX): Likewise.
61837         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
61838         __syscall_ulong_t and __syscall_slong_t.
61839         (stat64): Likewise.
61841 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61843         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
61845 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61847         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
61849 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61851         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
61852         __syscall_ulong_t.
61854         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
61855         include <bits/wordsize.h>.  Check __x86_64__ instead of
61856         __WORDSIZE.
61857         (greg_t): Use "__extension__ long long int" if __x86_64__ is
61858         defined.
61859         (mcontext_t): Replace "unsigned long" with "unsigned long long".
61861         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
61862         include <bits/wordsize.h>.  Check __x86_64__ instead of
61863         __WORDSIZE.
61864         (user_regs_struct): Use "__extension__ unsigned long long"
61865         instead of "unsigned long" if __x86_64__ is defined.
61866         (user): Likewise.  Pad after pointer field if __ILP32__ is
61867         defined.
61869 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
61871         * configure.in (makeinfo): Require version 4.5 or later.  Allow
61872         versions 5 to 9.
61873         * configure: Regenerated.
61874         * manual/install.texi (texinfo): Increase version requirement to
61875         4.5 or later.
61876         * INSTALL: Regenerated.
61878         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
61880 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61882         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
61884         * sysdeps/x86_64/x32/ffs.c: New file.
61886         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
61887         __syscall_ulong_t.
61888         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
61889         defined.  Use __syscall_ulong_t.
61890         (shminfo): Use __syscall_ulong_t.
61891         (shm_info): Likewise.
61893         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
61894         __syscall_ulong_t.
61896         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
61897         <bits/wordsize.h>.
61898         (msgqnum_t): Use __syscall_ulong_t.
61899         (msglen_t): Likewise.
61900         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
61901         __syscall_ulong_t.
61903         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
61904         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61906         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
61908         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
61909         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
61911         * sysvipc/sys/msg.h (msgbuf): Replace long int with
61912         __syscall_slong_t.
61914         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
61915         include <bits/wordsize.h>.  Check __x86_64__ instead of
61916         __WORDSIZE.
61918         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
61919         "unsigned long long int" if __x86_64__ is defined.
61920         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
61922         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
61923         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61924         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
61926         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
61927         <stdint.h>.
61928         (GET_PC): Cast to uintptr_t first.
61929         (GET_FRAME): Likewise.
61930         (GET_STACK): Likewise.
61932         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
61933         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
61934         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
61935         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
61936         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
61937         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
61938         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
61939         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
61940         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
61941         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
61942         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
61943         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
61944         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
61945         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
61946         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
61947         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
61948         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
61949         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
61950         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
61951         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
61952         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
61953         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
61954         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
61955         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
61956         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
61957         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
61958         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
61959         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
61960         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
61962 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
61964         * Makerules (+depfiles): Also collect depfiles from .oS in
61965         $(extra-objs).
61966         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
61967         .oS, $(libnldbl-routines)).
61969         * Makerules (native-compile-mkdep-flags): Define.
61970         * sunrpc/Makefile (extra-objs): Add $(addprefix
61971         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
61972         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
61973         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
61974         calling $(make-target-directory).
61976 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61978         * bits/types.h (__snseconds_t): Removed.
61979         * time/time.h (struct timespec): Replace __snseconds_t with
61980         __syscall_slong_t.
61981         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
61982         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
61983         Likewise.
61984         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61985         (__SNSECONDS_T_TYPE): Likewise.
61986         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61987         (__SNSECONDS_T_TYPE): Likewise.
61988         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61989         (__SNSECONDS_T_TYPE): Likewise.
61991 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61993         * sysdeps/mach/hurd/bits/typesizes.h
61994         (__SYSCALL_SLONG_TYPE): New macro.
61995         (__SYSCALL_ULONG_TYPE): Likewise.
61997 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61999         * bits/types.h (__syscall_slong_t): New type.
62000         (__syscall_ulong_t): Likewise.
62002         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
62003         (__SYSCALL_ULONG_TYPE): Likewise.
62004         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62005         (__SYSCALL_SLONG_TYPE): Likewise.
62006         (__SYSCALL_ULONG_TYPE): Likewise.
62007         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62008         (__SYSCALL_SLONG_TYPE): Likewise.
62009         (__SYSCALL_ULONG_TYPE): Likewise.
62010         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62011         (__SYSCALL_SLONG_TYPE): Likewise.
62012         (__SYSCALL_ULONG_TYPE): Likewise.
62014 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62016         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
62017         Add sigaltstack-offsets.sym.
62018         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
62019         <sigaltstack-offsets.h>.
62020         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
62021         longjmp_msg pointer.
62022         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
62023         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
62024         signal stack.
62025         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
62027 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
62029         * elf/stackguard-macros.h: Remove file.
62030         * sysdeps/generic/stackguard-macros.h: New file.
62031         * sysdeps/i386/stackguard-macros.h: Likewise.
62032         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
62033         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
62034         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
62035         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
62036         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
62037         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
62038         * sysdeps/x86_64/stackguard-macros.h: Likewise.
62039         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
62040         <elf/stackguard-macros.h>.
62042         [BZ #14109]
62043         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
62044         __aligned__ in attribute.
62045         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
62046         (gregset_t): Likewise.
62048 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62050         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
62051         * sysdeps/x86_64/64/Implies-after: Here.  New file.
62052         * sysdeps/x86_64/x32/Implies-after: New file.
62054 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62056         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
62057         and access return value for _dl_profile_fixup.  Use R10_LP to
62058         load frame size.
62060 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62062         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
62064 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62066         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
62067         * sysdeps/x86_64/x32/sysdep.h: New file.
62069 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62071         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
62072         * sysdeps/x86_64/setjmp.S: Likewise.
62074 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62076         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
62077         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
62078         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
62079         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
62080         remove unused global constant.
62082 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
62084         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
62085         include of <not-cancel.h>.
62087 2012-05-15  Roland McGrath  <roland@hack.frob.com>
62089         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
62091 2012-05-15  Jeff Law  <law@redhat.com>
62092             Andreas Jaeger  <aj@suse.de>
62094         [BZ #13594]
62095         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
62096         out from...
62097         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
62098         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
62099         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
62100         code changing __hst_map_handle.map.
62102 2012-05-15  Roland McGrath  <roland@hack.frob.com>
62104         * configure.in (sysnames): Look for Implies-before and Implies-after
62105         files.
62106         * configure: Regenerated.
62108 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62110         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
62111         8-byte data alignment with LP_SIZE alignment.
62113 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62115         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
62116         into R10_LP.
62118 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62120         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
62122 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62124         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
62125         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
62126         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
62127         Likewise.
62128         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62130 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62132         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
62133         (stackinfo_sub_sp): Likewise.
62135 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62137         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
62138         RAX_LP.
62140 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62142         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
62143         into R*_LP.
62145 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62147         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
62148         sizes into R*_LP.
62150 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62152         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
62154 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62156         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
62157         into R11_LP and load __x86_64_shared_cache_size_half into
62158         R8_LP.
62160 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62162         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
62163         R8_LP.
62165 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62167         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
62168         logb for POWER7.
62169         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
62170         logbf for POWER7.
62171         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
62172         logbl for POWER7.
62173         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
62174         powerpc32/power7/fpu/s_logb.c via #include.
62175         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
62176         powerpc32/power7/fpu/s_logbf.c via #include.
62177         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
62178         powerpc32/power7/fpu/s_logbl.c via #include.
62180 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
62182         * README.libm: Remove file.
62184 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62186         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
62187         count for x32.  Use R*_LP and omit operand-size suffix.
62189 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62191         * shlib-versions: Move x86_64-.*-linux.* entries to ...
62192         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
62193         * sysdeps/x86_64/x32/shlib-versions: New file.
62195 2012-05-14  Roland McGrath  <roland@hack.frob.com>
62197         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
62198         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
62199         Use _dl_fatal_printf instead.
62201 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
62203         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
62204         set if not set by the user.  Do not allow for being unset.
62205         * sysdeps/unix/sysv/linux/configure: Regenerated.
62207 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62209         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
62210         the `q' suffix from lea and replace .quad with ASM_ADDR.
62212 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62214         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
62215         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
62216         instead of $17.
62217         (PTR_DEMANGLE): Likewise.
62219 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62221         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
62222         (LP_OP): Likewise.
62223         (ASM_ADDR): Likewise.
62224         (RAX_LP): Likewise.
62225         (RBP_LP): Likewise.
62226         (RBX_LP): Likewise.
62227         (RCX_LP): Likewise.
62228         (RDI_LP): Likewise.
62229         (RSI_LP): Likewise.
62230         (RSP_LP): Likewise.
62231         (R8_LP): Likewise.
62232         (R9_LP): Likewise.
62233         (R10_LP): Likewise.
62234         (R10_LP): Likewise.
62235         (R11_LP): Likewise.
62236         (R12_LP): Likewise.
62237         (R13_LP): Likewise.
62238         (R14_LP): Likewise.
62239         (R15_LP): Likewise.
62241 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62243         * sysdeps/x86_64/x32/dl-machine.h: New file.
62245 2012-05-14  Andreas Jaeger  <aj@suse.de>
62247         * manual/Makefile (subdir): Remove export of subdir.
62248         (all): Remove target.
62249         (.PHONY): Remove all from list.
62250         (mkinstalldirs): Remove.
62251         (.PHONY): Remove installdirs from list.
62252         ($(inst_infodir)/libc.info): Use make-target-directory.
62253         (installdirs): Remove.
62254         (subdir_%): Remove.
62255         (glibc-targets): Remove.
62256         (lib): Remove.
62257         (stubs): Remove.
62258         ($(objpfx)stubs ../po/manual.pot): Remove.
62259         ($(objpfx)stamp%): Remove.
62260         (make-target-directory): Remove.
62261         (subdir_install): Remove.
62262         (routines): Remove.
62263         (aux): Remove.
62264         (sources): Remove.
62265         (objects): Remove.
62266         (headers): Remove.
62268         [BZ #13750]
62269         * manual/.gitignore: Remove, it's not needed anymore.
62270         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
62271         all files in it.
62272         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
62273         directory.
62274         (texis): Renamed to $(objpfx)texis.
62275         (texis-path): New, contains path to generated files.
62276         (chapters.%): Use texis-path for complete path, add extra argument
62277         libc-texinfo.sh.
62278         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
62279         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
62280         (summary,texi, stamp-summary): Use complete path of
62281         files. Generate files in build dir.
62282         (dir-add.texi): Build in build dir.
62283         (libm-err.texi,stamp-libm-err): Likewise.
62284         (version.texi, stamp-version): Likewise.
62285         (.%c.texi): Likewise.
62286         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
62287         (mostlyclean): Remove target.
62288         (realclean): Remove target.
62289         (generated): Add new variable with contents from mostlyclean and
62290         realclean, remove entries duplicated in common-mostlyclean, add
62291         stamp-libm-err and stamp-version.
62292         (generated-dirs): Add libc directory.
62293         ($(inst_infodir)/libc.info): Install files from build dir.
62295         * manual/install.texi (Configuring and compiling): Adjust since
62296         the info files are not part of the tar ball anymore.
62298 2012-05-14  Andreas Jaeger  <aj@suse.de>
62300         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
62301         variable.
62303 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
62305         [BZ #13717]
62306         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
62307         to 2.2.0 where earlier.
62308         * sysdeps/unix/sysv/linux/configure: Regenerated.
62309         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
62310         Remove conditional code.
62311         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
62312         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
62313         Remove conditional code.
62314         [!__NR_lchown]: Likewise.
62315         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62316         [__NR_lchown]: Likewise.
62317         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
62318         comment referencing __ASSUME_LCHOWN_SYSCALL.
62319         * sysdeps/unix/sysv/linux/i386/sigaction.c
62320         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62321         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62322         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
62323         Remove conditional code.
62324         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
62325         (__protocol_available): Remove #if 0 code.
62326         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
62327         conditional code.
62328         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
62329         * sysdeps/unix/sysv/linux/kernel-features.h
62330         (__ASSUME_GETCWD_SYSCALL): Don't define.
62331         (__ASSUME_REALTIME_SIGNALS): Likewise.
62332         (__ASSUME_PREAD_SYSCALL): Likewise.
62333         (__ASSUME_PWRITE_SYSCALL): Likewise.
62334         (__ASSUME_POLL_SYSCALL): Likewise.
62335         (__ASSUME_LCHOWN_SYSCALL): Likewise.
62336         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
62337         non-SPARC.
62338         (__ASSUME_SIOCGIFNAME): Don't define.
62339         (__ASSUME_MSG_NOSIGNAL): Likewise.
62340         (__ASSUME_SENDFILE): Define unconditionally.
62341         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
62342         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
62343         conditional code.
62344         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
62345         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
62346         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
62347         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62348         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
62349         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
62350         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
62352         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62353         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
62355         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62356         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
62358         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62359         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
62361         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62362         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
62364         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62365         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
62367         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62368         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
62370         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62371         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
62373         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62374         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62375         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
62376         Remove conditional code.
62377         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62378         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
62379         Remove conditional code.
62380         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62381         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
62382         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
62383         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
62384         Remove conditional code.
62385         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62386         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
62387         Remove conditional code.
62388         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62389         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
62390         Remove conditional code.
62391         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62392         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
62393         Remove conditional code.
62394         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62395         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
62396         Remove conditional code.
62397         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62398         * sysdeps/unix/sysv/linux/sh/pwrite64.c
62399         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62400         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62401         * sysdeps/unix/sysv/linux/sigaction.c
62402         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62403         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62404         * sysdeps/unix/sysv/linux/sigpending.c
62405         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62406         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62407         * sysdeps/unix/sysv/linux/sigprocmask.c
62408         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62409         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62410         * sysdeps/unix/sysv/linux/sigsuspend.c
62411         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62412         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62413         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
62414         (__libc_missing_rt_sigs): Remove.
62415         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
62416         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
62417         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
62418         Remove conditional code.
62419         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
62420         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
62421         return 1.
62422         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
62423         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
62424         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
62425         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
62427 2012-05-14  Andreas Jaeger  <aj@suse.de>
62429         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
62430         it's not used in glibc.
62431         (__coshm1): Likewise.
62432         (__acosh1p): Likewise.
62433         (__sgn): Likewise.
62435         * manual/string.texi (Copying and Concatenation): Add missing
62436         variable in concat example.
62437         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
62439 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62441         [BZ #14103]
62442         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
62443         __builtin_clzl with __builtin_clzll.
62445 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62447         [BZ #14104]
62448         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
62449         libc_freeres_ptr.
62451 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62453         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
62454         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
62455         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
62456         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
62458 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
62460         * NEWS: Update ia64 info.
62462 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
62464         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
62465         used as bcopy.
62467 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
62469         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
62470         * sysdeps/unix/syscalls.list (dup3): Likewise.
62471         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
62472         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
62474 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
62476         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
62477         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
62479 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
62481         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
62482         thread pointer.
62483         (TLS_IE): Use mov/add instead of movq/addq to load thread
62484         pointer.
62485         (TLS_GD_PREFIX): New.
62486         (TLS_GD): Use it.
62488 2012-05-11  David S. Miller  <davem@davemloft.net>
62490         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
62491         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
62492         (_FPU_SETCW): Likewise.
62494 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62496         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
62497         is 32-byte aligned.
62499 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
62501         [BZ #11837]
62502         * iconvdata/gb18030.c: Update tables.
62503         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
62504         characters specially.
62505         (BODY for TO_LOOP): Add encoding of missing ranges.
62507 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
62509         [BZ #13673]
62510         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
62511         * sysdeps/mach/hurd/dup3.c: Likewise.
62512         * sysdeps/mach/hurd/readlinkat.c: Likewise.
62513         * sysdeps/powerpc/memmove.c:: Likewise.
62515 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62517         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
62518         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
62520 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62522         * elf/elf.h (R_X86_64_RELATIVE64): New.
62523         (R_X86_64_NUM): Updated.
62524         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
62525         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
62526         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
62527         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
62528         tst-quad1pie tst-quad2pie
62529         (modules-names): Add tst-quadmod1 tst-quadmod2.
62530         ($(objpfx)tst-quad1): New dependency.
62531         ($(objpfx)tst-quad2): Likewise.
62532         ($(objpfx)tst-quad1pie): Likewise.
62533         ($(objpfx)tst-quad2pie): Likewise.
62534         * sysdeps/x86_64/tst-quad1.c: New file.
62535         * sysdeps/x86_64/tst-quad1pie.c: New file.
62536         * sysdeps/x86_64/tst-quad2.c: Likewise.
62537         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
62538         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
62539         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
62540         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
62541         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
62543 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62545         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
62546         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
62547         * streams/stropts.h (t_scalar_t): Define type.
62549         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
62550         (_PATH_PRESERVE): Set to "/var/lib".
62551         (_PATH_RWHODIR): Set to "/var/spool/rwho".
62553         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
62554         instead of int.
62556         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
62557         if __dir_mkfile succeeded.
62559         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
62560         checking for _hurd_dtablesize.  Unlock it right after having
62561         finished _hurd_dtable allocation.
62563 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62565         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
62566         * sysdeps/mach/hurd/configure: Regenerated.
62567         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
62568         special-casing to...
62569         * sysdeps/gnu/configure.in: ... this new file.
62570         * sysdeps/unix/sysv/linux/configure: Regenerated.
62571         * sysdeps/gnu/configure: New generated file.
62573         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
62574         for Linux: use nsec instead of usec, as well as:
62575         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
62576         members of type struct timespec.
62577         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
62578         New macros.
62579         (struct stat64): Likewise.
62580         (_STATBUF_ST_NSEC): New macro.
62581         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
62583         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62584         __strtoul_internal rather than strtoul.
62586 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62588         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
62589         and reject them.
62591 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62593         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
62594         which preserves existing values.
62595         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
62597 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62599         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
62600         TIMEOUT values.  Return EINVAL for NFDS values either negative or
62601         greater than FD_SETSIZE.
62603 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62605         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
62606         allocated, call __vm_protect to finish enabling the existing space, and
62607         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
62608         allocate the remainder.
62610 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62612         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
62613         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
62615 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62617         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
62618         sysdeps/mach/hurd/readlink.c.
62620         * posix/tst-sysconf.c (posix_options): Only use
62621         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
62622         _POSIX_SYNCHRONIZED_IO when they are defined
62623         * sysdeps/mach/hurd/bits/posix_opt.h:
62624         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
62625         (_XOPEN_REALTIME): Undefine macro.
62626         (_XOPEN_REALTIME_THREADS): Undefine macro.
62627         (_XOPEN_SHM): Undefine macro.
62628         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
62629         macro to -1.
62630         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
62631         macro to -1.
62632         (_POSIX_ASYNC_IO): Undefine macro.
62633         (_POSIX_PRIORITIZED_IO): Undefine macro.
62634         (_POSIX_SPIN_LOCKS): Define macro to -1.
62636         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
62637         SA_NODEFER, SA_RESETHAND.
62638         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
62639         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
62640         F_DUPFD_CLOEXEC.
62642 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62644         * elf/Makefile (pldd-modules): Define unconditionally.
62646 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62648         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
62650 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62652         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
62653         Return ENOENT when name is empty.
62654         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
62656 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62658         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
62660         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
62662 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62664         Fix mlock in all cases except non-readable pages.
62665         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
62666         instead of VM_PROT_ALL as parameter to __vm_wire function.
62668         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
62669         (__mkdir): When path is `/', just fail with EEXIST.
62670         * sysdeps/mach/hurd/mkdirat.c: Likewise.
62672 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62674         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
62675         <sys/uio.h> (for writev).
62676         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
62677         and <sys/param.h> (for MIN).
62679 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62681         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
62682         REQUESTED_TIME.  Properly set the remaining time and return EINTR
62683         if interrupted.
62685 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62687         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
62688         Depend on against $(link-rpcuserlibs).
62690 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62692         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
62693         (__libc_stack_end): Do not use attribute_relro.
62694         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
62695         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
62696         to libthread-provided value.
62697         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
62698         attribute_relro.
62700 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62702         [BZ #3748]
62703         * bits/libc-lock.h (__libc_once_get): New macro.
62704         * sysdeps/mach/bits/libc-lock.h: Likewise.
62705         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
62706         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
62707         instead of using implementation details.
62709         * libio/fileops.c: Unconditionally include <kernel-features.h>.
62710         * libio/freopen.c: Likewise.
62711         * libio/freopen64.c: Likewise.
62712         * misc/syslog.c: Likewise.
62713         * nscd/connections.c: Likewise.
62714         * nscd/netgroupcache.c: Likewise.
62715         * sysdeps/posix/getcwd.c: Likewise.
62717 2012-05-10  Roland McGrath  <roland@hack.frob.com>
62719         * math/w_ilogbf.c: Add #include <limits.h>.
62721 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62723         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
62724         path instead of returning without unlocking.
62726         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
62727         immediate-write ioctls.
62728         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
62730 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62732         * sysdeps/mach/hurd/i386/init-first.c (init): Use
62733         __builtin_frame_address instead of making assumptions about the
62734         location of the return address relative to DATA.  Force early load of
62735         the return address.
62736         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
62737         __builtin_frame_address.
62739         dup3 for GNU Hurd.
62740         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
62741         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
62742         implement dup3 and do some further code clean-ups.
62743         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
62744         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
62746 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62748         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
62750         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
62751         HURD_CRITICAL_END around holding _hurd_dtable_lock.
62752         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
62753         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
62754         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
62755         d->port.lock.
62757         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
62758         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
62759         when handler == SIG_ERR, not when handler != SIG_ERR.
62761 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62763         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
62764         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
62765         definitions.
62767         accept4 for GNU Hurd.
62768         * include/sys/socket.h (__libc_accept4): New prototype.
62769         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
62770         to implement __libc_accept4.
62771         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
62772         __libc_accept4.
62773         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
62775         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
62776         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
62777         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
62778         signal-defines.sym.
62780 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62782         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
62784 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62786         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
62787         assertion on O_CLOEXEC flag.
62788         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
62789         * hurd/intern-fd.c: Likewise.
62790         * hurd/port2fd.c: Likewise.
62792 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62794         [BZ #3906]
62795         * bits/in.h (IPV6_PKTINFO): Define new macro.
62796         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
62798 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62800         [BZ #13954]
62801         [BZ #13955]
62802         [BZ #13956]
62803         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
62804         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
62805         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
62806         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
62807         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62808         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
62809         * math/libm-test.inc (logb_test) : Additional logb tests.
62811 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
62812             Andreas Jaeger  <aj@suse.de>
62814         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
62815         * configure: Regenerated.
62816         * config.h.in (LINK_OBSOLETE_RPC): New macro.
62817         * config.make.in (link-obsolete-rpc): New substituted variable.
62818         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
62819         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
62820         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62821         (shared-only-routines): Don't set it under [link-obsolete-rpc],
62822         so that libc.a contains the symbols.
62823         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62824         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
62825         * sunrpc/auth_none.c: Likewise.
62826         * sunrpc/auth_unix.c: Likewise.
62827         * sunrpc/authdes_prot.c: Likewise.
62828         * sunrpc/authuxprot.c: Likewise.
62829         * sunrpc/clnt_gen.c: Likewise.
62830         * sunrpc/clnt_perr.c: Likewise.
62831         * sunrpc/clnt_raw.c: Likewise.
62832         * sunrpc/clnt_simp.c: Likewise.
62833         * sunrpc/clnt_tcp.c: Likewise.
62834         * sunrpc/clnt_udp.c: Likewise.
62835         * sunrpc/clnt_unix.c: Likewise.
62836         * sunrpc/des_crypt.c: Likewise.
62837         * sunrpc/des_soft.c: Likewise.
62838         * sunrpc/get_myaddr.c: Likewise.
62839         * sunrpc/key_call.c: Likewise.
62840         * sunrpc/key_prot.c: Likewise.
62841         * sunrpc/netname.c: Likewise.
62842         * sunrpc/pm_getmaps.c: Likewise.
62843         * sunrpc/pm_getport.c: Likewise.
62844         * sunrpc/pmap_clnt.c: Likewise.
62845         * sunrpc/pmap_prot.c: Likewise.
62846         * sunrpc/pmap_prot2.c: Likewise.
62847         * sunrpc/pmap_rmt.c: Likewise.
62848         * sunrpc/publickey.c: Likewise.
62849         * sunrpc/rpc_cmsg.c: Likewise.
62850         * sunrpc/rpc_common.c: Likewise.
62851         * sunrpc/rpc_dtable.c: Likewise.
62852         * sunrpc/rpc_prot.c: Likewise.
62853         * sunrpc/rpc_thread.c: Likewise.
62854         * sunrpc/rtime.c: Likewise.
62855         * sunrpc/svc.c: Likewise.
62856         * sunrpc/svc_auth.c: Likewise.
62857         * sunrpc/svc_raw.c: Likewise.
62858         * sunrpc/svc_run.c: Likewise.
62859         * sunrpc/svc_tcp.c: Likewise.
62860         * sunrpc/svc_udp.c: Likewise.
62861         * sunrpc/svc_unix.c: Likewise.
62862         * sunrpc/svcauth_des.c: Likewise.
62863         * sunrpc/xcrypt.c: Likewise.
62864         * sunrpc/xdr.c: Likewise.
62865         * sunrpc/xdr_array.c: Likewise.
62866         * sunrpc/xdr_float.c: Likewise.
62867         * sunrpc/xdr_intXX_t.c: Likewise.
62868         * sunrpc/xdr_mem.c: Likewise.
62869         * sunrpc/xdr_rec.c: Likewise.
62870         * sunrpc/xdr_ref.c: Likewise.
62871         * sunrpc/xdr_sizeof.c: Likewise.
62872         * sunrpc/xdr_stdio.c: Likewise.
62874 2012-05-10  Roland McGrath  <roland@hack.frob.com>
62876         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
62877         change.  Update copyright years.
62879 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
62881         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
62883 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
62884             Joseph Myers  <joseph@codesourcery.com>
62885             Paul Pluzhnikov  <ppluzhnikov@google.com>
62887         [BZ #14012]
62888         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
62889         requiring rpcgen.
62890         [cross-compiling] (extra-libs): Likewise.
62891         [cross-compiling] (extra-libs-others): Likewise.
62892         [cross-compiling] (librpcsvc-routines): Likewise.
62893         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
62894         [cross-compiling] (omit-deps): Likewise.
62895         (sunrpc-CPPFLAGS): New variable.
62896         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
62897         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
62898         (cross-rpcgen-objs): New variable.
62899         (extra-objs): Append $(cross-rpcgen-objs).
62900         ($(cross-rpcgen-objs)): New rule.
62901         ($(objpfx)cross-rpcgen): Likewise.
62902         (rpcgen-cmd): Define to use $(built-program-file).  Expand
62903         comment.
62904         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
62905         ($(objpfx)x%.stmp): Likewise.
62906         * sunrpc/proto.h [IS_IN_build] (_): Define.
62907         [IS_IN_build] (_libc_intl_domainname): Likewise.
62909 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62911         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
62912         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
62913         and R_X86_64_TPOFF64.
62915 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
62917         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
62918         sysdeps/unix/sysv/syscalls.list.
62919         (stime): Likewise.
62920         (utime): Likewise.
62921         * sysdeps/unix/sysv/syscalls.list: Remove file.
62923 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
62925         [BZ #3440]
62926         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
62927         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
62928         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
62929         (__LC_IDENTIFICATION): Make these macros useful in #if
62930         expressions, as required by C99.
62932 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
62934         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
62935         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
62936         after this.
62938 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
62940         * stdlib/longlong.h: Updated from GCC.
62942 2012-05-09  Andreas Jaeger  <aj@suse.de>
62944         * nscd/nscd.c (run_modes): Make named enum, reorder so that
62945         default is first entry.
62946         (run_mode): Set type.
62947         (main): Remove informal message about syslog.
62948         (options): Fix typo.
62950         [BZ #14053]
62951         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
62952         to asm.
62953         (lrint): Likewise.
62954         (llrintf): Likewise.
62955         (llrint): Likewise.
62956         (rint): Likewise.
62957         (rintf): Likewise.
62958         (nearbyint): Likewise.
62959         (nearbyintf): Likewise.
62961 2012-05-09  Andreas Jaeger  <aj@suse.de>
62962             Pedro Alves  <palves@redhat.com>
62964         * nscd/nscd.c (run_mode): Use enum.
62965         (main): Cleanup coding style issue.
62967 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
62968             Andreas Jaeger  <aj@suse.de>
62970         * nscd/nscd.c (go_background): Replaced with...
62971         (run_mode): ... this.
62972         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
62973         (options): Add -F --foreground.
62974         (main): Implement it.
62975         (parse_opt): Parse it.
62977 2012-05-09  Andreas Jaeger  <aj@suse.de>
62979         [BZ #14083]
62980         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
62981         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
62982         -Wconversion warning.
62983         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
62984         Likewise.
62986 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
62988         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
62989         == 0.
62990         (LC_ALL): Use macro-int-constant.
62991         (LC_COLLATE): Likewise.
62992         (LC_CTYPE): Likewise.
62993         (LC_MESSAGES): Likewise.
62994         (LC_MONETARY): Likewise.
62995         (LC_NUMERIC): Likewise.
62996         (LC_TIME): Likewise.
62997         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
62998         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
62999         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63000         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
63001         Specify type.
63002         [C99-based standards] (float_t): Expect type.
63003         [C99-based standards] (double_t): Expect type.
63004         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
63005         type.
63006         [C99-based standards] (HUGE_VALL): Likewise.
63007         [C99-based standards] (INFINITY): Likewise.
63008         [C99-based standards] (NAN): Likewise.
63009         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
63010         [C99-based standards] (FP_NAN): Likewise.
63011         [C99-based standards] (FP_NORMAL): Likewise.
63012         [C99-based standards] (FP_SUBNORMAL): Likewise.
63013         [C99-based standards] (FP_ZERO): Likewise.
63014         [C99-based standards] (FP_FAST_FMA): Use
63015         optional-macro-int-constant.  Specify type.  Require == 1.
63016         [C99-based standards] (FP_FAST_FMAF): Likewise.
63017         [C99-based standards] (FP_FAST_FMAL): Likewise.
63018         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
63019         [C99-based standards] (FP_ILOGBNAN): Likewise.
63020         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
63021         Specify type.
63022         [C99-based standards] (MATH_ERREXCEPT): Likewise.
63023         [C99-based standards] (math_errhandling): Specify type.
63024         [ISO99 || ISO11] (signgam): Do not allow.
63025         [non-C99-based standards] (copysignf): Do not allow.
63026         [non-C99-based standards] (exp2f): Likewise.
63027         [non-C99-based standards] (log2f): Likewise.
63028         [non-C99-based standards] (modff): Allow.
63029         [non-C99-based standards] (erff): Do not allow.
63030         [non-C99-based standards] (erfcf): Likewise.
63031         [non-C99-based standards] (gammaf): Likewise.
63032         [non-C99-based standards] (hypotf): Likewise.
63033         [non-C99-based standards] (j0f): Likewise.
63034         [non-C99-based standards] (j1f): Likewise.
63035         [non-C99-based standards] (jnf): Likewise.
63036         [non-C99-based standards] (lgammaf): Likewise.
63037         [non-C99-based standards] (tgammaf): Likewise.
63038         [non-C99-based standards] (y0f): Likewise.
63039         [non-C99-based standards] (y1f): Likewise.
63040         [non-C99-based standards] (ynf): Likewise.
63041         [non-C99-based standards] (isnanf): Likewise.
63042         [non-C99-based standards] (acoshf): Likewise.
63043         [non-C99-based standards] (asinhf): Likewise.
63044         [non-C99-based standards] (atanhf): Likewise.
63045         [non-C99-based standards] (cbrtf): Likewise.
63046         [non-C99-based standards] (expm1f): Likewise.
63047         [non-C99-based standards] (ilogbf): Likewise.
63048         [non-C99-based standards] (log1pf): Likewise.
63049         [non-C99-based standards] (logbf): Likewise.
63050         [non-C99-based standards] (nextafterf): Likewise.
63051         [non-C99-based standards] (remainderf): Likewise.
63052         [non-C99-based standards] (rintf): Likewise.
63053         [non-C99-based standards] (scalbf): Likewise.
63054         [non-C99-based standards] (copysignl): Likewise.
63055         [non-C99-based standards] (exp2l): Likewise.
63056         [non-C99-based standards] (log2l): Likewise.
63057         [non-C99-based standards] (modfl): Allow.
63058         [non-C99-based standards] (erfl): Do not allow.
63059         [non-C99-based standards] (erfcl): Likewise.
63060         [non-C99-based standards] (gammal): Likewise.
63061         [non-C99-based standards] (hypotl): Likewise.
63062         [non-C99-based standards] (j0l): Likewise.
63063         [non-C99-based standards] (j1l): Likewise.
63064         [non-C99-based standards] (jnl): Likewise.
63065         [non-C99-based standards] (lgammal): Likewise.
63066         [non-C99-based standards] (tgammal): Likewise.
63067         [non-C99-based standards] (y0l): Likewise.
63068         [non-C99-based standards] (y1l): Likewise.
63069         [non-C99-based standards] (ynl): Likewise.
63070         [non-C99-based standards] (isnanl): Likewise.
63071         [non-C99-based standards] (acoshl): Likewise.
63072         [non-C99-based standards] (asinhl): Likewise.
63073         [non-C99-based standards] (atanhl): Likewise.
63074         [non-C99-based standards] (cbrtl): Likewise.
63075         [non-C99-based standards] (expm1l): Likewise.
63076         [non-C99-based standards] (ilogbl): Likewise.
63077         [non-C99-based standards] (log1pl): Likewise.
63078         [non-C99-based standards] (logbl): Likewise.
63079         [non-C99-based standards] (nextafterl): Likewise.
63080         [non-C99-based standards] (remainderl): Likewise.
63081         [non-C99-based standards] (rintl): Likewise.
63082         [non-C99-based standards] (scalbl): Likewise.
63083         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63084         [non-C99-based standards] (FP_*): Do not allow.
63085         [C99-based standards] (FP_*): Change to
63086         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
63087         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63088         allow.
63089         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
63090         (SIG_ERR): Likewise.
63091         [X/Open-based standards] (SIG_HOLD): Likewise.
63092         (SIG_IGN): Likewise.
63093         (SIGABRT): Use macro-int-constant.  Specify type.  Require
63094         positive value.
63095         (SIGFPE): Likewise.
63096         (SIGILL): Likewise.
63097         (SIGINT): Likewise.
63098         (SIGSEGV): Likewise.
63099         (SIGTER): Likewise.
63100         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
63101         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
63102         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
63103         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
63104         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
63105         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
63106         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
63107         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
63108         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
63109         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
63110         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
63111         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
63112         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
63113         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
63114         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
63115         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
63116         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
63117         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
63118         [X/Open-based standards] (SIGTRAP): Likewise.
63119         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
63120         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
63121         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
63122         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
63123         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63124         allow.
63126 2012-05-08  Ian Wienand  <ianw@vmware.com>
63128         [BZ #14080]
63129         * time/tzset.c (__tzset_parse_tz): Update default rules for
63130         daylight time changes in the Energy Policy Act of 2005.
63132 2012-05-09  Andreas Jaeger  <aj@suse.de>
63134         [BZ #13983]
63135         * elf/ldconfig.c (parse_conf): Change string to make clear that
63136         ldconfig only issued a warning if ld.so.conf does not exist.
63138 2012-05-08  David S. Miller  <davem@davemloft.net>
63140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
63141         movxtod instead of popping the value on the stack.
63143         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63145 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
63147         * config.h.in: Add HAVE_ARM_PCS_VFP.
63149 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
63151         [BZ #13979]
63152         * include/features.h: Warn if user requests __FORTIFY_SOURCE
63153         checking but the checks are disabled for any reason.
63155 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
63157         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
63158         and ELF64_R_TYPE with ELFW(R_TYPE).
63160 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
63162         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
63163         (ulimit): Likewise.
63165         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
63166         (settimeofday): Likewise.
63168 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
63170         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
63171         a struct th_u2 inside the union, and move tu_block/tu_code into
63172         a new th_u3 union of tu_block/tu_code inside of that.  Move
63173         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
63174         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
63175         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
63176         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
63177         (th_stuff): Change to th_u1.tu_stuff.
63178         (th_data): Define.
63179         (th_msg): Change to th_u1.th_u2.tu_data.
63181 2012-05-07  David S. Miller  <davem@davemloft.net>
63183         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63185         [BZ #14074]
63186         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
63187         (SETUP_PIC_REG): Use it.
63188         (SETUP_PIC_REG_LEAF): Use it.
63190 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
63192         [BZ #13885]
63193         [BZ #13923]
63194         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63195         USE_AS_EXPM1L.
63196         (EXPL_FINITE): Likewise.
63197         (FLDLOG): Likewise.
63198         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
63199         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
63200         e_expl.S.
63201         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63202         USE_AS_EXPM1L.
63203         (EXPL_FINITE): Likewise.
63204         (FLDLOG): Likewise.
63205         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
63206         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
63207         e_expl.S.
63208         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
63209         test of -max_value argument for long double.
63210         * sysdeps/i386/fpu/libm-test-ulps: Update.
63211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63213 2012-05-06  David S. Miller  <davem@davemloft.net>
63215         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
63216         quad soft-float symbols whose references which are compiler
63217         generated.
63218         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
63220 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
63222         [BZ #13884]
63223         [BZ #13914]
63224         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63225         USE_AS_EXP10L.
63226         (EXPL_FINITE): Likewise.
63227         (FLDLOG): Likewise.
63228         (c0): Likewise.
63229         (c1): Likewise.
63230         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
63231         Adjust comments for base varying.
63232         (__expl_finite): Change alias to EXPL_FINITE.
63233         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
63234         e_expl.S.
63235         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
63236         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
63237         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
63238         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
63239         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63240         USE_AS_EXP10L.
63241         (EXPL_FINITE): Likewise.
63242         (FLDLOG): Likewise.
63243         (c0): Likewise.
63244         (c1): Likewise.
63245         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
63246         Adjust comments for base varying.
63247         (__expl_finite): Change alias to EXPL_FINITE.
63248         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
63249         tests for bugs.
63250         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63252         [BZ #14064]
63253         * math/libm-test.inc (check_float_internal): Correct ulp
63254         calculation for subnormal expected results.
63256 2012-05-06  Andreas Jaeger  <aj@suse.de>
63258         * Makeconfig (+math-flags): New, set to -frounding-math.
63259         (+cflags): Add +math-flags so that all of glibc gets compiled with
63260         it.
63262         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
63264 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
63266         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
63267         Disable one test.
63269         [BZ #13787]
63270         [BZ #13922]
63271         [BZ #14036]
63272         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
63273         (__ieee754_expl): Allow for and saturate large arguments.
63274         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
63275         (u_threshold): Likewise.
63276         (__exp): Call __ieee754_exp before checking for overflow and
63277         underflow.
63278         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
63279         (u_threshold): Likewise.
63280         (__expf): Call __ieee754_expf before checking for overflow and
63281         underflow.
63282         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
63283         (u_threshold): Likewise.
63284         (__expl): Call __ieee754_expl before checking for overflow and
63285         underflow.
63286         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
63287         (__ieee754_expl): Allow for and saturate large arguments.
63288         * math/libm-test.inc (exp_test): Add another test.  Do not allow
63289         missing overflow exception on overflow.
63290         (expm1_test): Do not allow missing overflow exception on overflow.
63292         * sysdeps/i386/fpu/e_expl.c: Move to ...
63293         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
63294         rather than using inline asm.
63295         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
63296         * sysdeps/x86_64/fpu/e_expl.S: Copy from
63297         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
63299         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
63300         (nice): Likewise.
63301         (poll): Likewise.
63302         (signal): Likewise.
63303         (time): Likewise.
63304         (times): Likewise.
63306 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63308         * sysdeps/unix/syscalls.list (adjtime): Add entry from
63309         sysdeps/unix/common/syscalls.list.
63310         (fchmod): Likewise.
63311         (fchown): Likewise.
63312         (ftruncate): Likewise.
63313         (getrusage): Likewise.
63314         (gettimeofday): Likewise.
63315         (setpgid): Likewise.
63316         (setregid): Likewise.
63317         (setreuid): Likewise.
63318         (sigaction): Likewise.
63319         (truncate): Likewise.
63320         (vhangup): Likewise.
63321         * sysdeps/unix/common/syscalls.list: Remove file.
63322         * sysdeps/unix/bsd/Implies: Don't include unix/common.
63323         * sysdeps/unix/sysv/linux/Implies: Likewise.
63325 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
63327         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
63328         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
63329         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
63330         Moved to ...
63331         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
63332         Here.
63333         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
63334         to ...
63335         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
63336         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
63337         to ...
63338         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
63339         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
63340         to ...
63341         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
63342         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
63343         to ...
63344         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
63345         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
63346         to ...
63347         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
63348         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
63349         to ...
63350         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
63351         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
63352         to ...
63353         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
63354         Here.
63355         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
63356         to ...
63357         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
63358         Here.
63359         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
63360         to ...
63361         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
63362         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
63363         Moved to ...
63364         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
63365         Here.
63366         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
63367         to ...
63368         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
63370 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63372         * sysdeps/unix/common/bits/dirent.h: Remove file.
63373         * sysdeps/unix/common/bits/fcntl.h: Likewise.
63375         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
63376         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
63377         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
63378         * sysdeps/unix/bsd/isatty.c: Likewise.
63379         * sysdeps/unix/bsd/tcdrain.c: Likewise.
63380         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
63381         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
63383 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63385         [BZ #13563]
63386         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
63387         long double comparison inaccuracies.
63388         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
63389         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63391 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
63393         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
63394         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
63396 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63398         [BZ #14049]
63399         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
63400         nonzero digits before rounding a hex value.
63401         * stdlib/tst-strtod.c (tests): Add another test.
63403 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63405         * sysdeps/s390/fpu/libm-test-ulps: Update.
63407 2012-05-03  Andreas Jaeger  <aj@suse.de>
63409         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
63410         does not get optimized out.
63411         (malloc_opt_barrier): New.
63413 2012-05-03  Andreas Jaeger  <aj@suse.de>
63414             Roland McGrath  <roland@hack.frob.com>
63416         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
63417         intermediate file deletion.
63418         (generated): Add .symlist files.
63420 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
63422         [BZ #13775]
63423         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
63424         Redirect under this condition.
63425         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
63426         [__USE_GNU] (__dprintf_chk): Not under this condition.
63427         [__USE_GNU] (__vdprintf_chk): Likewise.
63428         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
63429         under this condition.
63430         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
63431         [__USE_XOPEN2K8] (dprintf): Define under this condition.
63432         [__USE_XOPEN2K8] (vdprintf): Likewise.
63433         [__USE_GNU] (__dprintf_chk): Not under this condition.
63434         [__USE_GNU] (__vdprintf_chk): Likewise.
63435         [__USE_GNU] (dprintf): Likewise.
63436         [__USE_GNU] (vdprintf): Likewise.
63438 2012-05-03  Roland McGrath  <roland@hack.frob.com>
63440         * elf/Makefile (common-generated): Set this instead of generated for
63441         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
63442         $(all-built-dso)-derived lists.
63444 2012-05-03  Andreas Jaeger  <aj@suse.de>
63446         * sysdeps/i386/fpu/libm-test-ulps: Update.
63448         * FAQ: Removed.
63449         * FAQ.in: Likewise.
63450         * scripts/gen-FAQ.pl: Likewise.
63451         * manual/install.texi (Installation): Point to online location of
63452         FAQ.
63453         * Makefile (files-for-dist): Remove FAQ.
63454         (FAQ): Remove.
63456 2012-05-02  Allan McRae  <allan@archlinux.org>
63458         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
63459         (LDFLAGS-reldepmod5.so): Likewise.
63460         (LDFLAGS-reldep6mod1.so): Likewise.
63461         (LDFLAGS-reldep6mod4.so): Likewise.
63462         (LDFLAGS-reldep8mod3.so): Likewise.
63463         (LDFLAGS-unload4mod1.so): Likewise.
63464         (LDFLAGS-unload4mod2.so): Likewise.
63465         (LDFLAGS-tst-initorder): Likewise.
63466         (LDFLAGS-tst-initordera2.so): Likewise.
63467         (LDFLAGS-tst-initordera3.so): Likewise.
63468         (LDFLAGS-tst-initordera4.so): Likewise.
63469         (LDFLAGS-tst-initorderb2.so): Likewise.
63470         (LDFLAGS-noload): Likewise.
63471         (LDFLAGS-next): Likewise.
63472         (LDFLAGS-order2mod1.so): Likewise.
63473         (LDFLAGS-order2mod2.so): Likewise.
63474         (LDFLAGS-tst-initorder2): Likewise.
63475         (LDFLAGS-tst-initorder2a.so): Likewise.
63476         (LDFLAGS-tst-initorder2b.so): Likewise.
63477         (LDFLAGS-tst-initorder2c.so): Likewise.
63478         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
63480 2012-05-02  David S. Miller  <davem@davemloft.net>
63482         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63484 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
63486         [BZ #14055]
63487         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
63489 2012-05-02  Andreas Jaeger  <aj@suse.de>
63491         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
63492         since we manipulate rounding mode.
63493         (CPPFLAGS-test-idouble.c): Likewise.
63494         (CPPFLAGS-test-ifloat.c): Likewise.
63495         (CFLAGS-test-ldouble.c): Likewise.
63496         (CFLAGS-test-double.c): Likewise.
63497         (CFLAGS-test-float.c): Likewise.
63498         (CFLAGS-test-misc.c): Likewise.
63499         (CFLAGS-test-test-fenv.c): Likewise.
63501 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63503         [BZ #2550]
63504         [BZ #2570]
63505         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
63506         comparisons to determine direction to adjust input.
63508 2012-05-01  Roland McGrath  <roland@hack.frob.com>
63510         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
63511         output to the target.
63513         * scripts/localplt.awk: New file.
63514         * elf/Makefile ($(objpfx)check-localplt): Target removed.
63515         (check-localplt-CFLAGS): Variable removed.
63516         ($(all-built-dso:=.jmprel)): New static pattern rule.
63517         (generated): Add those targets.
63518         (localplt-built-dso): New variable.
63519         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
63521         * elf/check-localplt.c: File removed.
63523         * scripts/check-execstack.awk: New file.
63524         * elf/Makefile ($(objpfx)check-execstack): Target removed.
63525         (check-execstack-CFLAGS): Variable removed.
63526         ($(objpfx)check-execstack.h): Target removed.
63527         ($(objpfx)execstack-default): New target.
63528         (generated): Add that instead of check-execstack.h.
63529         ($(all-built-dso:=.phdr)): New static pattern rule.
63530         (generated): Add those targets.
63531         * elf/check-execstack.c: File removed.
63533         * scripts/check-textrel.awk: New file.
63534         * elf/Makefile ($(objpfx)check-textrel): Target removed.
63535         (check-textrel-CFLAGS): Variable removed.
63536         (all-built-dso): Use := to define.o
63537         ($(all-built-dso:=.dyn)): New static pattern rule.
63538         (generated): Add those targets.
63539         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
63540         * config.make.in (READELF): New substituted variable.
63541         * elf/check-textrel.c: File removed.
63543 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
63545         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63546         allow.
63547         * conform/data/ctype.h-data [C99-based standards] (isblank):
63548         Expect function.
63549         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
63550         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
63551         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63552         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
63553         Specify type.  Require positive value.
63554         (EILSEQ): Likewise.
63555         (ERANGE): Likewise.
63556         [ISO || POSIX] (EILSEQ): Do not expect.
63557         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
63558         Specify type.  Require positive value.
63559         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
63560         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
63561         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
63562         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
63563         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
63564         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
63565         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
63566         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
63567         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
63568         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
63569         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
63570         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
63571         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
63572         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
63573         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
63574         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
63575         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
63576         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
63577         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
63578         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
63579         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
63580         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
63581         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
63582         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
63583         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
63584         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
63585         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
63586         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
63587         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
63588         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
63589         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
63590         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
63591         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
63592         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
63593         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
63594         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
63595         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
63596         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
63597         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
63598         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
63599         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
63600         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
63601         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
63602         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
63603         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
63604         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
63605         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
63606         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
63607         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
63608         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
63609         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
63610         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
63611         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
63612         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
63613         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
63614         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
63615         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
63616         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
63617         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
63618         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
63619         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
63620         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
63621         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
63622         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
63623         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
63624         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
63625         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
63626         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
63627         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
63628         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
63629         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
63630         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
63631         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
63632         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
63633         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
63634         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
63635         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
63636         Require >= 2.
63637         (FLT_ROUNDS): Expect as macro, not constant.
63638         (FLT_MANT_DIG): Use macro-int-constant.
63639         (DBL_MANT_DIG): Likewise.
63640         (LDBL_MANT_DIG): Likewise.
63641         (FLT_DIG): Likewise.
63642         (DBL_DIG): Likewise.
63643         (LDBL_DIG): Likewise.
63644         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
63645         (DBL_MIN_EXP): Likewise.
63646         (LDBL_MIN_EXP): Likewise.
63647         (FLT_MAX_EXP): Use macro-int-constant.
63648         (DBL_MAX_EXP): Likewise.
63649         (LDBL_MAX_EXP): Likewise.
63650         (FLT_MAX_10_EXP): Likewise.
63651         (DBL_MAX_10_EXP): Likewise.
63652         (LDBL_MAX_10_EXP): Likewise.
63653         (FLT_MAX): Use macro-constant.
63654         (DBL_MAX): Likewise.
63655         (LDBL_MAX): Likewise.
63656         (FLT_EPSILON): Use macro-constant.  Give upper bound.
63657         (DBL_EPSILON): Likewise.
63658         (LDBL_EPSILON): Likewise.
63659         (FLT_MIN): Likewise.
63660         (DBL_MIN): Likewise.
63661         (LDBL_MIN): Likewise.
63662         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
63663         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
63664         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
63665         [ISO11] (FLT_HAS_SUBNORM): Likewise.
63666         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
63667         [ISO11] (DBL_DECIMAL_DIG): Likewise.
63668         [ISO11] (FLT_DECIMAL_DIG): Likewise.
63669         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
63670         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
63671         [ISO11] (FLT_TRUE_MIN): Likewise.
63672         [ISO11] (LDBL_TRUE_MIN): Likewise.
63673         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63674         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
63675         (SCHAR_MIN): Use macro-int-constant.  Specify type.
63676         (SCHAR_MAX): Likewise.
63677         (UCHAR_MAX): Likewise.
63678         (CHAR_MIN): Likewise.
63679         (CHAR_MAX): Likewise.
63680         (MB_LEN_MAX): Use macro-int-constant.
63681         (SHRT_MIN): Use macro-int-constant.  Specify type.
63682         (SHRT_MAX): Likewise.
63683         (USHRT_MAX): Likewise.
63684         (INT_MAX): Likewise.
63685         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
63686         bound negative.
63687         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63688         bound with "U".
63689         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63690         bound with "L".
63691         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
63692         bound negative.  Suffix upper bound with "L".
63693         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63694         bound with "UL".
63695         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
63696         Specify type.
63697         [C99-based standards] (LLONG_MAX): Likewise.
63698         [C99-based standards] (ULLONG_MAX): Likewise.
63699         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
63700         == 0.
63701         [ISO11] (max_align_t): Require type.
63702         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63704         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
63705         from $CFLAGS, without defining away __attribute__ calls.
63706         (checknamespace): Use $CFLAGS_namespace.
63708         * conform/conformtest.pl (@keywords): Only include C99 keywords
63709         for standards based on C99 or C11.
63711         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
63712         Disable tests.
63713         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
63714         UNIX98]: Likewise.
63716         * conform/conformtest.pl: Handle "macro-int-constant" and test for
63717         usability of symbols in #if.
63719         * conform/conformtest.pl: If macro or constant types start
63720         "promoted:", expect the symbol to be of the following type
63721         promoted by the integer promotions.
63723         * conform/conformtest.pl: Parse all "constant" and "macro" lines
63724         in one place.  Also handle "macro-constant".
63726         * conform/conformtest.pl: Only accept expected macro values with
63727         "==".  Parse all "macro" lines in one place.
63728         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
63730         * conform/conformtest.pl: Handle braced types on "constant" lines
63731         instead of handling "typed-constant".
63732         * conform/data/signal.h-data: Use "constant" instead of
63733         "typed-constant".
63735         * conform/conformtest.pl: Handle "optional-" at start of lines in
63736         one place rather than duplicating several cases.  Handle each
63737         format of "macro" line with initial "optional-".
63739         * conform/conformtest.pl: Only accept expected constant or
63740         optional-constant values with "==".  Parse all "constant" lines in
63741         one place.  Parse all "optional-constant" lines in one place.
63742         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
63743         * conform/data/fmtmsg.h-data: Likewise.
63744         * conform/data/netinet/in.h-data: Likewise.
63745         * conform/data/tar.h-data: Likewise.
63746         * conform/data/limits.h-data: Use "==" form on "constant" and
63747         "optional-constant" lines.
63749         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
63750         Use -std=c99 for XOPEN2K.
63751         (@knownproblems): Remove.
63752         (newtoken): Don't check %isknown.
63754         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
63755         Do not expect macro.
63756         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
63757         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
63758         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
63759         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
63760         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
63761         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
63762         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
63763         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
63764         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
63765         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
63766         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
63767         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
63768         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
63769         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
63770         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
63771         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
63772         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
63773         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
63774         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
63775         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
63776         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
63777         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
63778         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
63779         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
63780         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
63781         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
63782         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
63783         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
63784         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
63785         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
63786         [XPG3] (acosh): Likewise.
63787         [XPG3] (asinh): Likewise.
63788         [XPG3] (atanh): Likewise.
63789         [XPG3] (cbrt): Likewise.
63790         [XPG3] (expm1): Likewise.
63791         [XPG3] (ilogb): Likewise.
63792         [XPG3] (log1p): Likewise.
63793         [XPG3] (logb): Likewise.
63794         [XPG3] (nextafter): Likewise.
63795         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
63796         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
63797         [XPG3] (remainder): Likewise.
63798         [XPG3] (rint): Likewise.
63799         [XPG3 || XPG4 || UNIX98] (round): Likewise.
63800         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
63801         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
63802         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
63803         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
63804         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
63805         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
63806         [UNIX98 || XOPEN2K] (scalb): Expect.
63807         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
63808         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
63809         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
63810         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
63811         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
63812         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
63813         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
63814         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
63815         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
63816         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
63817         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
63818         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
63819         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
63820         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
63821         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
63822         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
63823         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
63824         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
63825         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
63826         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
63827         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
63828         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
63829         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
63830         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
63831         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
63832         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
63833         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
63834         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
63835         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
63836         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
63837         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
63838         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
63839         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
63840         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
63841         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
63842         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
63843         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
63844         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
63845         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
63846         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
63847         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
63848         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
63849         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
63850         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
63851         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
63852         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
63853         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
63854         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
63855         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
63856         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
63857         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
63858         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
63859         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
63860         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
63861         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
63862         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
63863         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
63864         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
63865         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
63866         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
63867         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
63868         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
63869         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
63870         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
63871         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
63872         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
63873         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
63874         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
63875         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
63876         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
63877         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
63878         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
63879         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
63880         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
63881         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
63882         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
63883         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
63884         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
63885         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
63886         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
63887         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
63888         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
63889         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
63890         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
63891         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
63892         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
63893         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
63894         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
63895         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
63896         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
63897         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
63898         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
63899         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
63900         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
63901         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
63902         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
63903         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
63904         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
63905         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
63906         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
63907         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
63908         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
63909         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
63910         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
63911         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
63912         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
63913         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
63914         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
63915         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
63916         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
63917         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
63918         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
63919         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
63920         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
63921         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
63922         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
63923         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
63924         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
63925         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
63926         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
63927         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
63928         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
63929         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
63930         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
63931         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
63932         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
63933         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
63934         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
63935         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
63936         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
63937         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
63938         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
63939         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
63940         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
63941         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
63942         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
63943         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
63945         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
63946         _XOPEN_SOURCE_EXTENDED for XPG4.
63948         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
63950         * Makeconfig (localtime): Remove variable.
63951         (inst_localtime-file): Likewise.
63953 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
63955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
63956         Update.
63957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63958         Update.
63959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
63960         Update.
63961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
63962         Update.
63963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
63964         Update.
63965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
63966         Update.
63967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63968         Update.
63969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
63970         Update.
63971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63972         Update.
63974 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
63976         [BZ #2550]
63977         [BZ #2570]
63978         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
63979         comparisons to determine direction to adjust input.
63980         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
63981         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
63982         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
63983         Likewise.
63984         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
63985         Likewise.
63986         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
63987         Likewise.
63988         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
63989         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
63990         Likewise.
63991         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
63992         Likewise.
63993         * math/libm-test.inc (nexttoward_test): Add more tests.
63995 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
63997         [BZ #14040]
63998         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
63999         in version GLIBC_2.1, not GLIBC_2.0.
64000         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
64001         Likewise.
64003 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
64005         [BZ #13942]
64006         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
64007         (1 - x) * (1 + x).
64008         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
64009         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
64010         * math/libm-test.inc (acos_test): Add more tests.
64011         (asin_test): Likewise.
64012         * sysdeps/i386/fpu/libm-test-ulps: Update.
64013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64015         [BZ #14034]
64016         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
64017         of square root.
64018         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
64019         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
64020         * math/libm-test.inc (acos_test_tonearest): New function.
64021         (acos_test_towardzero): Likewise.
64022         (acos_test_downward): Likewise.
64023         (acos_test_upward): Likewise.
64024         (asin_test_tonearest): Likewise.
64025         (asin_test_towardzero): Likewise.
64026         (asin_test_downward): Likewise.
64027         (asin_test_upward): Likewise.
64028         (main): Call the new functions.
64029         * sysdeps/i386/fpu/libm-test-ulps: Update.
64030         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64032         [BZ #13884]
64033         [BZ #13924]
64034         * math/e_exp10.c: Include <float.h>.
64035         (__ieee754_exp10): Handle underflow here rather than multiplying
64036         large negative argument by M_LN10.
64037         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
64038         of __ieee754_expf.
64039         * math/e_exp10l.c: Include <float.h>.
64040         (__ieee754_exp10l): Handle underflow here rather than multiplying
64041         large negative argument by M_LN10l.
64042         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
64043         spurious overflow exception on underflow.
64045 2012-04-29  Marek Polacek  <polacek@redhat.com>
64047         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
64048         (__fortify_function): New macro.
64049         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
64050         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
64051         __extern_always_inline.
64052         * libio/bits/stdio2.h: Likewise.
64053         * libio/bits/stdio.h: Likewise.
64054         * string/string.h: Likewise.
64055         * string/bits/string3.h: Likewise.
64056         * include/stdio.h: Likewise.
64057         * stdlib/bits/stdlib.h: Likewise.
64058         * stdlib/stdlib.h: Likewise.
64059         * rt/bits/mqueue2.h: Likewise.
64060         * rt/mqueue.h: Likewise.
64061         * posix/bits/unistd.h: Likewise.
64062         * posix/unistd.h: Likewise.
64063         * io/bits/poll2.h: Likewise.
64064         * io/bits/fcntl2.h: Likewise.
64065         * io/fcntl.h: Likewise.
64066         * io/sys/poll.h: Likewise.
64067         * misc/bits/syslog.h: Likewise.
64068         * misc/bits/syslog-ldbl.h: Likewise.
64069         * misc/sys/syslog.h: Likewise.
64070         * socket/bits/socket2.h: Likewise.
64071         * socket/sys/socket.h: Likewise.
64072         * debug/tst-chk1.c: Likewise.
64073         * wcsmbs/bits/wchar2.h: Likewise.
64074         * wcsmbs/bits/wchar-ldbl.h: Likewise.
64075         * wcsmbs/wchar.h: Likewise.
64077 2012-04-29  Andreas Jaeger  <aj@suse.de>
64079         * Makerules (tests): Remove enable-check-abi protection.
64080         (check-abi-warn): Remove.
64081         (check-abi-%): Remove check-abi-warn usage.
64083         * configure.in: Remove check-abi configure option.
64084         * configure: Regenerated.
64085         * config.make.in (enable-check-abi): Remove.
64087 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
64089         [BZ #14033]
64090         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
64091         double functions to double *_finite functions.
64093         [BZ #13941]
64094         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
64095         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
64096         LDBL_MIN_EXP.
64097         * stdio-common/Makefile (tests): Add tst-sprintf3.
64098         * stdio-common/tst-sprintf3.c: New file.
64100         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
64101         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
64103 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
64105         * conform/conformtest.pl: Remove duplicate typed-constant
64106         handling.
64108 2012-04-28  David S. Miller  <davem@davemloft.net>
64110         * Makerules (%.abilist): Add vpath on sysdep_dirs.
64111         (check-abi-%): Remove AWK script prerequisite and explicit
64112         abilist directory.
64113         (check-abi): Rewrite to just diff the symlist with the abilist.
64114         (config-tls, config-abi-config): Delete, no longer used.
64115         (update-abi-%): Remove AWK script and explicit abilist directory.
64116         (update-abi): Rewrite to simply compare and conditionally copy the
64117         symlist and the sysdep abilist file.  Remove update-abi-config
64118         checks.
64119         * abilist/ld.abilist: Remove.
64120         * abilist/libBrokenLocale.abilist: Remove.
64121         * abilist/libanl.abilist: Remove.
64122         * abilist/libcrypt.abilist: Remove.
64123         * abilist/libdl.abilist: Remove.
64124         * abilist/librt.abilist: Remove.
64125         * abilist/libthread_db.abilist: Remove.
64126         * abilist/libutil.abilist: Remove.
64127         * scripts/extract-abilist.awk: Remove.
64128         * scripts/merge-abilist.awk: Remove.
64129         * sysdeps/generic/libcidn.abilist: New file.
64130         * sysdeps/generic/libnss_compat.abilist: New file.
64131         * sysdeps/generic/libnss_db.abilist: New file.
64132         * sysdeps/generic/libnss_dns.abilist: New file.
64133         * sysdeps/generic/libnss_files.abilist: New file.
64134         * sysdeps/generic/libnss_hesiod.abilist: New file.
64135         * sysdeps/generic/libnss_nis.abilist: New file.
64136         * sysdeps/generic/libnss_nisplus.abilist: New file.
64137         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
64138         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
64139         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
64140         file.
64141         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
64142         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
64143         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
64144         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
64145         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
64146         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
64147         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
64148         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
64149         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
64150         file.
64151         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
64152         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
64153         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
64154         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
64155         file.
64156         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
64157         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
64158         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
64159         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
64160         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
64161         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
64162         file.
64163         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
64164         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
64165         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
64166         file.
64167         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
64168         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
64169         New file.
64170         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
64171         New file.
64172         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
64173         New file.
64174         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
64175         New file.
64176         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
64177         New file.
64178         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
64179         New file.
64180         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
64181         New file.
64182         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
64183         New file.
64184         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
64185         New file.
64186         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
64187         New file.
64188         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
64189         New file.
64190         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
64191         New file.
64192         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
64193         New file.
64194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
64195         file.
64196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
64197         New file.
64198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
64199         New file.
64200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
64201         file.
64202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
64203         New file.
64204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
64205         New file.
64206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
64207         file.
64208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
64209         New file.
64210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64211         New file.
64212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
64213         New file.
64214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
64215         New file.
64216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
64217         New file.
64218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
64219         New file.
64220         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
64221         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
64222         file.
64223         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
64224         New file.
64225         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
64226         file.
64227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
64228         file.
64229         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
64230         file.
64231         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
64232         file.
64233         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
64234         file.
64235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64236         New file.
64237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
64238         file.
64239         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
64240         file.
64241         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
64242         New file.
64243         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
64244         file.
64245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
64246         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
64247         file.
64248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
64249         New file.
64250         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
64251         file.
64252         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
64253         file.
64254         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
64255         file.
64256         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
64257         file.
64258         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
64259         file.
64260         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64261         New file.
64262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
64263         file.
64264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
64265         file.
64266         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
64267         New file.
64268         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
64269         file.
64270         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64271         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
64272         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
64273         file.
64274         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
64275         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
64276         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
64277         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
64278         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
64279         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
64280         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
64281         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
64282         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
64283         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
64284         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
64285         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
64286         file.
64287         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
64288         New file.
64289         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
64290         file.
64291         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
64292         file.
64293         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
64294         file.
64295         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
64296         file.
64297         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
64298         file.
64299         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
64300         New file.
64301         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
64302         New file.
64303         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
64304         file.
64305         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
64306         New file.
64307         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
64308         file.
64309         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
64310         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
64311         file.
64312         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
64313         New file.
64314         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
64315         file.
64316         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
64317         file.
64318         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
64319         file.
64320         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
64321         file.
64322         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
64323         file.
64324         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
64325         New file.
64326         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
64327         New file.
64328         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
64329         file.
64330         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
64331         New file.
64332         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
64333         file.
64335 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
64337         * conform/conformtest.pl: Fix typo in handling typed-constant from
64338         allow-header.
64340 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
64342         * README: Cut down references to pre-2.6 Linux kernels and
64343         Linuxthreads.  Update lists of configurations in libc and ports
64344         and sort alphabetically.  Say "or newer" with Linux kernel version
64345         requirements.
64347         * config.h.in [IS_IN_build]: Allow compiling without optimization.
64349 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64351         [BZ #887]
64352         * math/libm-test.inc (logb_test_downward): New test to expose
64353         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
64354         rounding mode.
64356 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
64358         [BZ #14027]
64359         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
64360         to be done.
64361         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
64362         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
64364 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
64366         * sysdeps/unix/i386/brk.S: Remove file.
64367         * sysdeps/unix/i386/dl-brk.S: Likewise.
64368         * sysdeps/unix/i386/pipe.S: Likewise.
64369         * sysdeps/unix/i386/sigreturn.S: Likewise.
64370         * sysdeps/unix/i386/syscall.S: Likewise.
64371         * sysdeps/unix/i386/vfork.S: Likewise.
64372         * sysdeps/unix/i386/wait.S: Likewise.
64374         * sysdeps/unix/common/tcsendbrk.c: Move to ...
64375         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
64377         * configure.in (arm*-none*): Do not allow without
64378         --enable-hacker-mode.
64379         (netbsd*): Remove case setting base_os.
64380         (386bsd*): Likewise.
64381         (freebsd*): Likewise.
64382         (bsdi*): Likewise.
64383         (osf*): Likewise.
64384         (sunos*): Likewise.
64385         (ultrix*): Likewise.
64386         (newsos*): Likewise.
64387         (dynix*): Likewise.
64388         (*bsd*): Likewise.
64389         (sysv*): Likewise.
64390         (isc*): Likewise.
64391         (esix*): Likewise.
64392         (sco*): Likewise.
64393         (minix*): Likewise.
64394         (irix4*): Likewise.
64395         (irix6*): Likewise.
64396         (solaris[2-9]*): Likewise.
64397         (none): Likewise.
64398         * configure: Regenerated.
64400 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64402         [BZ #11521]
64403         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
64404         overflow or cancellation in calculating denominator.
64405         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
64406         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
64407         down expression to avoid unexpected rounding in newer GCCs.
64408         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
64410 2012-04-26  David S. Miller  <davem@davemloft.net>
64412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
64413         long-double compat symbols.
64414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
64415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
64416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
64417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
64418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
64419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
64420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
64421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
64422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
64423         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
64424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
64425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
64426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
64428 2012-04-25  David S. Miller  <davem@davemloft.net>
64430         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
64431         HWCAP_* values only after the memory barriers have been defined.
64432         (atomic_full_barrier): Define.
64433         (atomic_read_barrier): Define.
64434         (atomic_write_barrier): Define.
64436 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64438         * shlib-versions: Add libgcc_s version information.
64439         * sysdeps/generic/libgcc_s.h: Remove.
64440         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
64441         libgcc_s.h.
64442         * sysdeps/gnu/unwind-resume.c: Likewise.
64443         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
64445 2012-04-25  David S. Miller  <davem@davemloft.net>
64447         * sysdeps/unix/sparc/brk.S: Delete.
64448         * sysdeps/unix/sparc/dl-brk.S: Delete.
64449         * sysdeps/unix/sparc/pipe.S: Delete.
64450         * sysdeps/unix/sparc/sysdep.S: Delete.
64451         * sysdeps/unix/sparc/sysdep.h: Delete.
64452         * sysdeps/unix/sparc/vfork.S: Delete.
64453         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
64454         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
64455         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
64456         (ret_ERRVAL, r0, r1, MOVE): Define.
64457         (JUMPTARGET): Remove.
64458         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
64459         sysdeps/unix/sparc/sysdep.h
64460         (ENTRY, END): Remove.
64461         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64463 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
64465         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
64466         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
64467         -DIS_IN_build.
64469         * timezone/README: Update upstream location and email address for
64470         tzcode and tzdata.
64471         * timezone/zdump.c: Update from tzcode 2012b.
64472         * timezone/zic.c: Likewise.
64474         * configure.in (libc_cv_as_needed): Remove test.
64475         * configure: Regenerated.
64476         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
64477         conditional definition.
64478         [$(have-as-needed) != yes] (no-as-needed): Likewise.
64479         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
64480         * config.make.in (have-as-needed): Remove variable.
64482 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64483             Paul Pluzhnikov  <ppluzhnikov@google.com>
64485         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
64486         strings correctly.
64488 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
64490         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
64491         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
64492         * sysdeps/sh/strlen.S: Likewise.
64494 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64496         * sysdeps/unix/fork.S: Remove file.
64497         * sysdeps/unix/i386/fork.S: Likewise.
64498         * sysdeps/unix/sparc/fork.S: Likewise.
64500         * sysdeps/unix/system.c: Remove file.
64501         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
64503         * sysdeps/unix/getegid.S: Remove file.
64504         * sysdeps/unix/geteuid.S: Likewise.
64506 2012-04-24  Roland McGrath  <roland@hack.frob.com>
64508         * scripts/check-localplt.awk: New file.
64509         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
64510         of diff.
64511         * scripts/data/localplt-generic.data: Add a comment.
64513         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
64514         NODE when __dir_mkfile failed.
64515         * sysdeps/mach/hurd/symlinkat.c: Likewise.
64516         Reported by Ludovic Courtès <ludo@gnu.org>.
64518 2012-04-24  Andreas Jaeger  <aj@suse.de>
64520         * Makerules (common-clean): Also remove gen-as-const-headers
64521         files.
64523 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64525         * Makerules (native-compile): Do not change working directory for
64526         build.  Use $(OUTPUT_OPTION) in command.
64527         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
64529 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64531         [BZ #13886]
64532         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
64533         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
64534         * math/libm-test.inc (floor_test): Add more tests.
64535         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
64537 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64539         * sysdeps/unix/getdents.c: Remove file.
64540         * sysdeps/unix/sysv/getdents.c: Likewise.
64541         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
64543         * sysdeps/unix/syscalls.list (madvise): Add syscall from
64544         sysdeps/unix/mman/syscalls.list.
64545         (mmap): Likewise.
64546         (mprotect): Likewise.
64547         (msync): Likewise.
64548         (munmap): Likewise.
64549         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
64550         * sysdeps/unix/mman/syscalls.list: Remove.
64551         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
64553         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
64554         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
64555         * configure: Regenerated.
64556         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
64557         $(libgcc_s_suffix).
64558         * config.make.in (libgcc_s_suffix): Remove variable.
64560 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
64562         * sysdeps/unix/sysv/gethostname.c: Move to ...
64563         * sysdeps/posix/gethostname.c: ... here.
64565         * sysdeps/unix/execve.S: Remove file.
64567         * sysdeps/unix/_exit.S: Remove file.
64569 2012-04-23  Andreas Jaeger  <aj@suse.de>
64571         [BZ #13739]
64572         * manual/Makefile: Remove make dist support, there's no
64573         need for a stand-alone documentation tar ball.
64574         (TEXI2DVI): Define always, it's not in Makeconfig.
64575         (dist): Removed.
64576         (tar-it): Removed.
64577         (edition): Removed.
64578         (glibc-doc-$(edition).tar): Removed
64579         (%.Z): Removed.
64580         (%.gz): Removed.
64581         (%.uu): Removed.
64582         (ETAGS): Remove, it's in Makeconfig.
64583         (move-if-change): Remove, it's in Makeconfig.
64585 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
64587         [BZ #13970]
64588         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
64589         (strtod, strtof, strtold, strtol, strtoul, strtoq)
64590         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
64591         (strtod_l, strtof_l, strtold_l): Remove __wur.
64592         It is not necessarily an error to ignore strtol's return value.
64593         One can reliably look at the stored endptr to decide whether
64594         the number had valid syntax.
64596 2012-04-21  Andreas Jaeger  <aj@suse.de>
64598         [BZ #13739]
64599         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
64601 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
64603         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
64604         * sysdeps/unix/sysv/Versions: Remove file.
64606 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
64608         [BZ #13927]
64609         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64611 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
64613         [BZ #7064]
64614         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
64615         version from __vm86.
64617 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
64619         * sysdeps/unix/common/lxstat.c: Remove file.
64620         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
64622         * sysdeps/unix/sysv/Makefile: Remove file.
64624         * sysdeps/unix/sysv/direct.h: Remove file.
64626         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
64627         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
64628         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
64629         * sysdeps/unix/sysv/bits/signum.h: Likewise.
64630         * sysdeps/unix/sysv/bits/stat.h: Likewise.
64631         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
64632         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
64634         * sysdeps/unix/sysv/setrlimit.c: Remove file.
64636         * sysdeps/unix/xmknod.c: Remove file.
64637         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
64639         * sysdeps/unix/sysv/settimeofday.c: Remove file.
64641         * sysdeps/unix/sysv/i386/time.S: Remove file.
64643         * sysdeps/unix/fxstat.c: Remove file.
64644         * sysdeps/unix/xstat.c: Likewise.
64645         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
64647         * sysdeps/unix/sysv/sigaction.c: Remove file.
64649         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
64650         (sysdep_headers): Remove variable.
64651         [termio.h not in sysdep_headers] (generated): Likewise.
64652         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
64653         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
64654         * sysdeps/unix/sysv/tcdrain.c: Likewise.
64655         * sysdeps/unix/sysv/tcflow.c: Likewise.
64656         * sysdeps/unix/sysv/tcflush.c: Likewise.
64657         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
64658         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
64659         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
64660         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
64661         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
64663         * sysdeps/unix/siglist.c: Remove file.
64665         * sysdeps/unix/getppid.S: Remove file.
64667         * sysdeps/unix/mkdir.c: Remove file.
64668         * sysdeps/unix/rmdir.c: Likewise.
64670 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
64672         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
64673         ERR_MAX value.
64674         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
64675         errlist-compat value.
64677 2012-04-18  David S. Miller  <davem@davemloft.net>
64679         * sysdeps/generic/memcopy.h (reg_char): Delete.
64680         * debug/strcat_chk.c: Use char, not reg_char.
64681         * debug/strcpy_chk.c: Likewise.
64682         * debug/strncat_chk.c: Likewise.
64683         * debug/strncpy_chk.c: Likewise.
64684         * string/memchr.c: Likewise.
64685         * string/memrchr.c: Likewise.
64686         * string/rawmemchr.c: Likewise.
64687         * string/strcat.c: Likewise.
64688         * string/strchr.c: Likewise.
64689         * string/strchrnul.c: Likewise.
64690         * string/strcmp.c: Likewise.
64691         * string/strcpy.c: Likewise.
64692         * string/strncat.c: Likewise.
64693         * string/strncmp.c: Likewise.
64694         * string/strncpy.c: Likewise.
64696 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64698         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
64699         __builtin_memcopy is called when src and dest ranges are known to not
64700         overlap.
64702 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64704         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
64705         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
64706         fwd_align_merge macro call.
64707         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
64708         bwd_align_merge macro call.
64709         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
64711 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64713         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
64714         bwd_align_merge macros.
64715         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
64716         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
64717         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
64719 2012-04-18  David S. Miller  <davem@davemloft.net>
64721         * sysdeps/sparc/sparc64/memcopy.h: Delete.
64723 2012-04-18  Andreas Jaeger  <aj@suse.de>
64725         [BZ# 6794]
64726         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
64727         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
64728         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64730         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
64731         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
64732         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64734         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
64735         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
64736         Adjust for changed ldbl-128 files.
64738         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
64739         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
64740         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64742 2012-04-17  David S. Miller  <davem@davemloft.net>
64744         * sysdeps/sparc/sparc32/memcopy.h: Delete.
64746 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
64748         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
64749         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
64750         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
64751         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
64752         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
64753         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
64755 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64757         [BZ #6794]
64758         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
64759         * math/libm-test.inc: Add ilogb errno and exception tests.
64760         * math/w_ilogb.c: New file: ilogb wrapper.
64761         * math/w_ilogbf.c: New file: ilogbf wrapper.
64762         * math/w_ilogbl.c: New file: ilogbl wrapper.
64763         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
64764         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
64765         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
64766         exception being thrown with 0.0 as argument.
64767         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
64768         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
64769         exception being thrown with 0.0 as argument.
64770         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
64771         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
64772         exception being thrown with 0.0 as argument.
64773         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
64774         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
64775         exception being thrown with 0.0 as argument.
64776         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
64777         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
64778         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
64779         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
64780         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
64781         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
64782         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
64783         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
64784         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
64786 2012-04-17  Petr Baudis  <pasky@ucw.cz>
64788         * include/sys/uio.h: Change __vector to __iovec to avoid clash
64789         with altivec.
64791 2012-04-16  Marek Polacek  <polacek@redhat.com>
64793         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
64795 2012-04-16  Marek Polacek  <polacek@redhat.com>
64797         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
64798         operands of fdivp instruction.
64800 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64802         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
64803         * elf/tst-auditmod3b.c: Likewise.
64804         * elf/tst-auditmod4b.c: Likewise.
64805         * elf/tst-auditmod5b.c: Likewise.
64806         * elf/tst-auditmod6b.c: Likewise.
64807         * elf/tst-auditmod6c.c: Likewise.
64808         * elf/tst-auditmod7b.c: Likewise.
64809         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
64810         * sysdeps/x86_64/preconfigure.in: Likewise.
64811         * sysdeps/x86_64/preconfigure: Regenerated.
64813 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64815         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
64816         __ILP32__.
64818 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
64820         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64821         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
64823 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
64825         [BZ #13973]
64826         * locale/iso-639.def: Fix gl language name. Spotted by
64827         Yaron Shahrabani.
64829 2012-04-12  Roland McGrath  <roland@hack.frob.com>
64831         [BZ #2074]
64832         * libio/libio.h (__io_write_fn): Update comment.
64834 2012-04-12  Petr Baudis  <pasky@ucw.cz>
64836         [BZ #2074]
64837         * stdio.texi (Hook Functions): The user provided writer function
64838         is not allowed to return -1.
64840 2012-04-11  David S. Miller  <davem@davemloft.net>
64842         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64844 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
64846         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
64847         Add a leading slash to rtkaio.
64849 2012-04-11  Jim Meyering  <meyering@redhat.com>
64851         [BZ #11959]
64852         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
64853         It is not necessarily an error to ignore fwrite's return
64854         value.  One can reliably use ferror to test for errors after
64855         the fact.
64857 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64859         * bits/types.h (__snseconds_t): New type.
64860         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
64862         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
64863         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64864         (__SNSECONDS_T_TYPE): Likewise.
64865         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64866         (__SNSECONDS_T_TYPE): Likewise.
64867         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64868         (__SNSECONDS_T_TYPE): Likewise.
64870 2012-04-10  Andreas Jaeger  <aj@suse.de>
64872         [BZ #2636]
64873         * manual/time.texi (Processor Time): Return type of times is
64874         elapsed real time since an arbitrary point in the past.
64875         (CPU Time): Move CLK_TCK from here...
64876         (Processor Time): ...to here.  Correct description.
64877         * manual/conf.texi (Constants for Sysconf): Correct description of
64878         _SC_CLK_TCK.
64880 2012-04-10  David S. Miller  <davem@davemloft.net>
64882         [BZ #13967]
64883         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
64884         where the is a gap between DT_REL(A) and DT_JMPREL.
64886 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64888         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
64889         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
64890         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
64892 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64894         * elf/dl-support.c (_dl_inhibit_cache): New variable.
64895         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
64896         (dl_main): Handle --inhibit-cache.
64897         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
64898         _dl_inhibit_cache.
64899         * elf/dl-load.c (_dl_map_object): Use it.
64900         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
64902 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
64904         [BZ #13872]
64905         * sysdeps/i386/fpu/e_powl.S (p78): New object.
64906         (__ieee754_powl): Saturate large exponents rather than testing for
64907         overflow of y*log2(x).
64908         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64909         * math/libm-test.inc (pow_test): Do not permit spurious overflow
64910         exceptions.
64912         [BZ #11521]
64913         * math/s_ctan.c: Include <float.h>.
64914         (__ctan): Avoid internal overflow or cancellation in calculating
64915         denominator.
64916         * math/s_ctanf.c: Likewise.
64917         * math/s_ctanl.c: Likewise.
64918         * math/s_ctanh.c: Likewise.
64919         * math/s_ctanhf.c: Likewise.
64920         * math/s_ctanhl.c: Likewise.
64921         * math/libm-test.inc (ctan_test): Add more tests.
64922         (ctanh_test): Likewise.
64923         * sysdeps/i386/fpu/libm-test-ulps: Update.
64924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64926 2012-04-09  Andreas Jaeger  <aj@suse.de>
64928         [BZ #6894]
64929         * manual/filesys.texi (Directory Entries): Mention that d_namlen
64930         is an optional BSD extension.
64932         [BZ #10254]
64933         * manual/stdio.texi (Opening Streams): Document additional fopen
64934         parameters.
64936 2012-04-09  Roland McGrath  <roland@hack.frob.com>
64938         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
64939         %eax without telling the compiler.
64941 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
64943         [BZ # 13963]
64944         * manual/install.texi: Use sourceware.org.
64946 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
64948         [BZ #13873]
64949         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
64950         (__ieee754_pow): Generate overflow and underflow using huge*huge
64951         and tiny*tiny rather than just returning constant infinity or zero
64952         for large exponents.
64953         * math/libm-test.inc (pow_test): Require overflow exceptions for
64954         applicable cases of large exponents.
64956         [BZ #706]
64957         * sysdeps/i386/fpu/e_pow.S (p10): New object.
64958         (__ieee754_pow): Use iterative multiplication algorithm only for
64959         integer exponents with absolute value below 1024.  Check for odd
64960         integer exponents when using algorithm for real exponents.
64961         * math/libm-test.inc (pow_test): Add more tests.
64962         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64964 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
64966         [BZ #13705]
64967         * math/libm-test.inc (exp_test): Do not allow overflow exception
64968         on underflow test.
64970 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
64972         [BZ #13705]
64973         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
64974         instead of __kernel_standard_f.
64976 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
64978         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
64979         * sysdeps/x86_64/memset_chk.S: Likewise.
64981 2012-04-08  Andreas Jaeger  <aj@suse.de>
64983         [BZ #10153]
64984         * manual/startup.texi (Environment Access): Describe return value
64985         for putenv and setenv.
64987         [BZ #6895]
64988         * manual/filesys.texi (Directory Entries): Add description for
64989         DT_LNK.
64991         [BZ #6890]
64992         * manual/filesys.texi (Directory Entries): Clarify that it's file
64993         system not operating system in the description of DT_UNKNOWN.
64995         [BZ #6578]
64996         * manual/syslog.texi (closelog): Fix reference, it's openlog.
64998 2012-04-08  Stephen Compall  <s11@member.fsf.org>
65000         [BZ #6649]
65001         * manual/llio.texi (Opening and Closing Files): Add cross
65002         reference to explain mode argument.
65004 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
65006         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
65007         * sysdeps/x86_64/memset_chk.S: Likewise.
65009 2012-04-07  David S. Miller  <davem@davemloft.net>
65011         * elf/elf.h (R_SPARC_WDISP10): Define.
65012         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
65013         R_SPARC_SIZE32.
65014         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
65015         R_SPARC_SIZE64 and R_SPARC_H34.
65017 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
65019         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
65020         conditions and remove no longer applicable assertion.
65022 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
65024         * bits/byteswap.h: Include <features.h>.
65025         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
65026         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
65028 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
65030         * bits/byteswap.h (__bswap_16): Removed.
65031         Include <bits/byteswap-16.h> to get __bswap_16.
65032         * sysdeps/i386/bits/byteswap.h: Likewise.
65033         * sysdeps/s390/bits/byteswap.h: Likewise.
65034         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65035         * bits/byteswap-16.h: New file.
65036         * sysdeps/i386/bits/byteswap-16.h: Likewise.
65037         * sysdeps/s390/bits/byteswap-16.h: Likewise.
65038         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
65039         * string/Makefile (headers): Add bits/byteswap-16.h.
65041 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
65043         [BZ #13895]
65044         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
65045         extra indirection.
65046         * nss/Makefile (tests-static, tests): Add tst-nss-static.
65047         * nss/tst-nss-static.c: New.
65049 2012-04-06  Robert Millan  <rmh@gnu.org>
65051         [BZ #6486]
65052         * manual/llio.texi (File Position Primitive): lseek
65053         refers to WHENCE when it really means OFFSET.
65055 2012-04-06  Andreas Jaeger  <aj@suse.de>
65057         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
65058         strncmp declarations.
65060         * abilist/libc.abilist: Add __poll and __ppoll.
65062 2012-04-05  David S. Miller  <davem@davemloft.net>
65064         * scripts/check-local-headers.sh: Accept a host triplet in the
65065         path matched by the exclude regexp.
65067         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
65068         definition.
65069         * sysdeps/powerpc/powerpc32/dl-machine.h
65070         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
65071         * sysdeps/s390/s390-32/dl-machine.h
65072         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65073         * sysdeps/sparc/sparc32/dl-machine.h
65074         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65075         * sysdeps/sparc/sparc64/dl-machine.h
65076         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65078         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
65079         lazy binding.
65080         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
65081         undefined symbol errors.
65083         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
65084         DT_NEEDED entries.
65086 2012-04-05  Michael Matz  <matz@suse.de>
65088         [BZ #13592]
65089         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
65091 2012-04-05  Andreas Jaeger  <aj@suse.de>
65093         [BZ #13908]
65094         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
65095         comment.
65097 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65099         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
65100         which ROUND is no valid rounding mode.
65102 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65104         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
65105         read again.
65106         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
65108 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65110         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
65111         an exception using FPU order intentionally.
65113 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65115         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
65116         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
65117         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
65118         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
65120 2012-04-05  Simon Josefsson  <simon@josefsson.org>
65122         [BZ #12340]
65123         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
65124         EINVAL when BUFLEN is too smal.
65126 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
65128         [BZ #13553]
65129         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
65130         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
65132 2012-04-03  Andreas Jaeger  <aj@suse.de>
65134         [BZ #13938]
65135         * manual/setjmp.texi (System V contexts): Fix sentence.
65137         [BZ #13926]
65138         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
65139         New macro for this case.
65140         [!__GNUC__] (__bswap_64): New inline function for this case.
65141         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65142         * bits/byteswap.h: Likewise.
65143         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
65144         ull, guard with __GLIBC_HAVE_LONG_LONG.
65146         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
65147         __GLIBC_HAVE_LONG_LONG.
65149         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
65150         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
65152 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65154         [BZ #13691]
65155         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
65156         inptr and inend, rather than using last_ch.
65158 2012-04-02  David S. Miller  <davem@davemloft.net>
65160         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
65161         * stdio-common/printf-parse.h (read_int): Change return type to
65162         'int', return -1 on INT_MAX overflow.
65163         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
65164         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
65165         overflows INT_MAX.  Check for overflow of in-format-string precision
65166         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
65167         SIZE_MAX not INT_MAX for integer overflow test.
65168         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
65169         skip the construct in the format string but do not record anything.
65170         * stdio-common/bug22.c: Adjust to test both width/prevision
65171         INT_MAX overflow as well as total length INT_MAX overflow.  Check
65172         explicitly for proper errno values.
65174 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
65176         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
65177         CHAR_MAX.
65178         * string/test-strcmp.c [! WIDE]: Likewise.
65179         * time/tst-mktime2.c: Likewise for INT_MAX.
65180         * string/test-string.h: #include <sys/param.h> for MIN.
65182         * csu/init-first.c (__libc_init_first): Call __ctype_init.
65183         * sysdeps/i386/init-first.c (init): Likewise.
65184         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
65185         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
65186         * sysdeps/sh/init-first.c (init): Likewise.
65188 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
65190         * po/ru.po: Update from translation team.
65191         * po/vi.po: Likewise.
65193 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
65195         * resolv/nss_dns/dns-host.c: Merge copyright years.
65197 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65199         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
65200         Optimize memcpy with prefetch if
65201         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
65202         src, dst pointers have unequal 16 byte alignments.
65204 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
65206         [BZ #13928]
65207         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
65208         from a CNAME entry and return the minimum ttl for the query.
65209         (gaih_getanswer_slice): Likewise.
65211 2012-03-30  Jeff Law  <law@redhat.com>
65213         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
65214         due to long keys.
65215         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
65216         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
65218         * resolv/nss_dns/dns-host.c: Update copyright year.
65220 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
65222         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
65223         requests to save a system call.  Fix check that all bytes are sent.
65225         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
65226         comments for sendmmsg.
65228 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65230         [BZ #13691]
65231         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
65232         with only 1 character between 0x0041 and 0x01b0.
65233         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
65234         * wcsmbs/tst-mbsnrtowcs.c: New file.
65236 2012-03-29  David S. Miller  <davem@davemloft.net>
65238         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
65239         small copies by hand.
65241 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65243         [BZ #13761]
65244         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
65245         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
65246         group memberships.
65248 2012-03-28  David S. Miller  <davem@davemloft.net>
65250         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
65251         that branches into memcpy.
65252         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65253         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
65254         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
65255         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
65256         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
65257         bits.
65258         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
65259         implementation too.
65260         * sysdeps/sparc/mempcpy.S: New file.
65262         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
65263         the IFUNC routine in the libc case.
65264         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
65266         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
65267         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
65268         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
65269         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
65270         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
65271         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
65272         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
65273         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
65275         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
65276         loop to 256 bytes instead of 64 bytes and fix test signedness.
65278         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
65279         * sysdeps/sparc/sparc32/Makefile: rather than here...
65280         * sysdeps/sparc/sparc64/Makefile: and here.
65282 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
65284         * malloc/mallocbug.c: Avoid warnings about unused variables.
65286 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
65288         [BZ #13760]
65289         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
65290         in the right place. Discard and retry query if response is
65291         larger than input buffer size.
65293 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
65295         [BZ #369]
65296         [BZ #2678]
65297         [BZ #3866]
65298         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
65299         x for large integer exponent.
65300         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
65301         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
65302         sign of result as needed afterwards.
65303         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
65304         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
65305         result for underflowing pow the same as for overflow.
65306         (__kernel_standard_l): Handle powl overflow and underflow here
65307         rather than calling __kernel_standard.
65308         * math/libm-test.inc (pow_test): Add more tests.
65310         [BZ #3868]
65311         [BZ #13879]
65312         [BZ #13910]
65313         [BZ #13911]
65314         [BZ #13912]
65315         [BZ #13913]
65316         [BZ #13915]
65317         [BZ #13916]
65318         [BZ #13917]
65319         [BZ #13918]
65320         [BZ #13919]
65321         [BZ #13920]
65322         [BZ #13921]
65323         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
65324         * sysdeps/ieee754/k_standard.c: Include <float.h>.
65325         (__kernel_standard_l): New function.
65326         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
65327         __kernel_standard.
65328         * math/w_acosl.c (__acosl): Likewise.
65329         * math/w_asinl.c (__asinl): Likewise.
65330         * math/w_atan2l.c (__atan2l): Likewise.
65331         * math/w_atanhl.c (__atanhl): Likewise.
65332         * math/w_coshl.c (__coshl): Likewise.
65333         * math/w_exp10l.c (__exp10l): Likewise.
65334         * math/w_exp2l.c (__exp2l): Likewise.
65335         * math/w_fmodl.c (__fmodl): Likewise.
65336         * math/w_hypotl.c (__hypotl): Likewise.
65337         * math/w_j0l.c (__j0l, __y0l): Likewise.
65338         * math/w_j1l.c (__j1l, __y1l): Likewise.
65339         * math/w_jnl.c (__jnl, __ynl): Likewise.
65340         * math/w_lgammal.c (__lgammal): Likewise.
65341         * math/w_log10l.c (__log10l): Likewise.
65342         * math/w_log2l.c (__log2l): Likewise.
65343         * math/w_logl.c (__logl): Likewise.
65344         * math/w_powl.c (__powl): Likewise.
65345         * math/w_remainderl.c (__remainderl): Likewise.
65346         * math/w_scalbl.c (sysv_scalbl): Likewise.
65347         * math/w_sinhl.c (__sinhl): Likewise.
65348         * math/w_sqrtl.c (__sqrtl): Likewise.
65349         * math/w_tgammal.c (__tgammal): Likewise.
65350         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
65351         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
65352         * math/libm-test.inc (acos_test): Add more tests.
65353         (acosh_test): Likewise.
65354         (asin_test): Likewise.
65355         (atanh_test): Likewise.
65356         (exp_test): Likewise.
65357         (exp10_test): Likewise.
65358         (exp2_test): Likewise.
65359         (expm1_test): Likewise.
65360         (lgamma_test): Likewise.
65361         (log_test): Likewise.
65362         (log10_test): Likewise.
65363         (log1p_test): Likewise.
65364         (log2_test): Likewise.
65365         (pow_test): Do not allow some spurious overflow exceptions.
65366         (sqrt_test): Add more tests.
65367         (tgamma_test): Likewise.
65368         (y0_test): Likewise.
65369         (y1_test): Likewise.
65370         (yn_test): Likewise.
65372 2012-03-27  Anton Blanchard  <anton@samba.org>
65374         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
65375         MAP_HUGETLB.
65376         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
65377         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
65378         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
65380 2012-03-27  David S. Miller  <davem@davemloft.net>
65382         * conform/Makefile: Run run-conformtest.sh using $(BASH).
65384         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
65385         have-as-vis3 check.
65387 2012-03-27  Andreas Jaeger  <aj@suse.de>
65389         * sysdeps/x86_64/elf/configure.in: Moved to ...
65390         * sysdeps/x86_64/configure.in: ... here.
65391         * sysdeps/x86_64/elf/start.S: Moved to ...
65392         * sysdeps/x86_64/start.S: ... here.
65393         * sysdeps/x86_64/elf/configure: Delete.
65395         * sysdeps/x86_64/configure.in: Merge contents from
65396         sysdeps/i386/configure.in (without i686 check).
65398         * sysdeps/i386/elf/Versions: Merge into ...
65399         * sysdeps/i386/Versions: ... this.
65400         * sysdeps/i386/elf/Versions: Delete file.
65401         * sysdeps/i386/elf/start.S: Moved to ...
65402         * sysdeps/i386/start.S: ...here.
65403         * sysdeps/i386/elf/configure.in: Merge into...
65404         * sysdeps/i386/configure.in: ...here.
65405         * sysdeps/i386/elf/configure.in: Delete file.
65406         * sysdeps/i386/elf/configure: Delete file.
65408         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
65409         * debug/backtracesyms.c: ... here.
65410         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
65411         * debug/backtracesymsfd.c: ... here.
65412         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
65413         * sysdeps/generic/ifunc-sel.h: ... here.
65415         * sysdeps/unix/i386/start.c: Delete file.
65416         * sysdeps/unix/sparc/start.c: Delete file.
65417         * sysdeps/unix/start.c: Delete file.
65419         * sysdeps/sh/elf/configure.in: Moved to ...
65420         * sysdeps/sh/configure.in: ... here.
65421         * sysdeps/sh/elf/start.S: Moved to ...
65422         * sysdeps/sh/start.S: ... here.
65423         * sysdeps/sh/elf/configure: Delete file.
65425         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
65426         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
65427         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
65428         * sysdeps/powerpc/powerpc64/entry.h: ... here.
65429         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
65430         * sysdeps/powerpc/powerpc64/start.S: here.
65431         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
65432         * sysdeps/powerpc/powerpc64/Makefile: ... this.
65433         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
65434         * sysdeps/powerpc/powerpc64/configure.in: ... this.
65435         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
65437         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
65438         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
65439         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
65440         * sysdeps/powerpc/powerpc32/start.S: ... here.
65441         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
65442         * sysdeps/powerpc/powerpc32/configure.in: ... this.
65443         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
65445         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
65446         * sysdeps/powerpc/ifunc-sel.h: ... here.
65447         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
65448         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
65450         * sysdeps/sparc/elf/configure.in: Moved to ...
65451         * sysdeps/sparc/configure.in: ... here.
65452         * sysdeps/sparc/elf/configure: Delete file.
65453         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
65454         * sysdeps/sparc/sparc32/start.S: ... here.
65455         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
65456         * sysdeps/sparc/sparc64/start.S: ... here.
65457         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
65458         * sysdeps/sparc/sparc32/Makefile: ... this.
65459         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
65460         * sysdeps/sparc/sparc64/Makefile: ... this.
65462         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
65463         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
65464         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
65465         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
65466         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
65467         * sysdeps/s390/s390-32/setjmp.S: ... here.
65468         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
65469         * sysdeps/s390/s390-32/configure.in: ... here.
65470         * sysdeps/s390/s390-32/elf/configure: Delete file.
65471         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
65472         * sysdeps/s390/s390-32/start.S: ... here.
65474         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
65475         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
65476         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
65477         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
65478         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
65479         * sysdeps/s390/s390-64/setjmp.S: ... here.
65480         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
65481         * sysdeps/s390/s390-64/configure.in: ... here
65482         * sysdeps/s390/s390-64/elf/configure: Delete file.
65483         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
65484         * sysdeps/s390/s390-64/start.S: ... here.
65485         * sysdeps/s390/s390-64/elf/configure: Delete.
65487         * configure.in: Remove support for elf directories in sysdeps.
65489         * configure: Regenerated.
65490         * sysdeps/i386/configure: Regenerated.
65491         * sysdeps/powerpc/powerpc32/configure: Regenerated.
65492         * sysdeps/powerpc/powerpc64/configure: Regenerated.
65493         * sysdeps/s390/s390-32/configure: Regenerated.
65494         * sysdeps/s390/s390-64/configure: Regenerated.
65495         * sysdeps/sh/configure: Regenerated.
65496         * sysdeps/sparc/configure: Regenerated.
65497         * sysdeps/x86_64/configure: Regenerated.
65499 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
65501         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65503         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
65504         denormal result into account.
65506 2012-03-25  Roland McGrath  <roland@hack.frob.com>
65508         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
65509         Reported by Allan McRae <allan@archlinux.org>.
65511 2012-03-23  Jeff Law  <law@redhat.com>
65513         * nss/getnssent.c (__nss_getent): Fix typo.
65515 2012-03-23  David S. Miller  <davem@davemloft.net>
65517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65519 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
65521         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
65522         to pad to uint64_t for each field.
65523         (dl_tls_index): Replace unsigned long with uint64_t.
65525 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
65526         Paul Pluzhnikov  <ppluzhnikov@google.com>
65528         [BZ #6528]
65529         * grp/Makefile (otherlibs): Don't set it.
65530         * inet/Makefile (otherlibs): Likewise.
65531         * login/Makefile (otherlibs): Likewise.
65532         * nscd/Makefile (otherlibs): Likewise.
65533         * posix/Makefile (otherlibs): Likewise.
65534         * pwd/Makefile (otherlibs): Likewise.
65535         * rt/Makefile (otherlibs): Likewise.
65536         * sunrpc/Makefile (otherlibs): Likewise.
65537         * nss/Makefile (otherlibs): Likewise.
65538         Add libnss_files to routines and static-only-routines.
65539         ($(objpfx)getent): Remove rule.
65540         * resolv/Makefile: Add libnss_dns and libresolv to routines and
65541         static-only-routines.
65543 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
65545         [BZ #13892]
65546         * math/s_cexp.c: Include <float.h>.
65547         (__cexp): Handle exp result overflowing not necessarily
65548         overflowing both real and imaginary parts of result.
65549         * math/s_cexpf.c: Likewise.
65550         * math/s_cexpl.c: Likewise.
65551         * math/libm-test.inc (cexp_test): Add more tests.
65552         * sysdeps/i386/fpu/libm-test-ulps: Update.
65553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65555 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65557         * include/link.h (ELFW): New macro.
65558         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
65559         Replace ELF64_R_TYPE with ELFW(R_TYPE).
65561 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65563         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
65564         with uint64_t.
65566 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65568         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
65569         declaration.
65570         (struct La_x32_retval): Likewise.
65572 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65574         * sysdeps/x86_64/preconfigure.in: New file.
65575         * sysdeps/x86_64/preconfigure: New generated file.
65577 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
65579         [BZ #13824]
65580         * math/e_exp2l.c: Include <float.h>.
65581         (__ieee754_exp2l): Handle overflow and underflow cases
65582         separately.  Only pass fractional part of argument to
65583         __ieee754_expl.
65584         * math/libm-test.inc (exp2_test): Add more tests.
65586         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
65587         negating x to take absolute value.
65588         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
65589         Likewise.
65590         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
65591         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
65592         Likewise.
65593         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
65594         computing low part if x was negated.
65595         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
65597 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65599         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
65600         la_x32_gnu_pltexit.
65601         (pltexit): Cast int_retval to ptrdiff_t.
65602         * elf/tst-auditmod3b.c: Likewise.
65603         * elf/tst-auditmod4b.c: Likewise.
65604         * elf/tst-auditmod5b.c: Likewise.
65605         * elf/tst-auditmod6b.c: Likewise.
65606         * elf/tst-auditmod6c.c: Likewise.
65607         * elf/tst-auditmod7b.c: Likewise.
65609         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
65610         and x32_gnu_pltexit.
65612         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
65613         __ELF_NATIVE_CLASS.
65614         (La_x32_regs): New macro.
65615         (La_x32_retval): Likewise.
65616         (la_x32_gnu_pltenter): New function prototype.
65617         (la_x32_gnu_pltexit): Likewise.
65619 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
65621         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
65622         exponent.
65624         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65626         * configure.in (libc_cv_cc_nofma): Check for option to disable
65627         generation of FMA instructions.
65628         * configure: Regenerate.
65629         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
65630         * sysdeps/ieee754/dbl-64/Makefile: New file.
65631         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
65632         Remove brandred-fma4.
65633         (CFLAGS-brandred-fma4.c): Remove.
65634         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
65635         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
65636         define.
65637         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
65638         define.
65640 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65642         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
65643         LLONG_MAX != LONG_MAX.
65644         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65645         (_fitoa_word): Likewise.
65646         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
65647         LLONG_MAX != LONG_MAX.
65648         * stdio-common/_itowa.h: Include <_itoa.h>.
65649         (_itowa_word): Use _ITOA_WORD_TYPE on value.
65650         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
65651         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
65652         only if not defined.
65653         (_ITOA_WORD_TYPE): Likewise.
65654         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65655         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
65657 2012-03-21  David S. Miller  <davem@davemloft.net>
65659         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65661 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65663         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
65664         of x86_64 when setting libc_cv_slibdir, libdir and
65665         libc_cv_localedir.
65666         * sysdeps/unix/sysv/linux/configure: Regenerated.
65668 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65670         * manual/lang.texi (Old Varargs): Remove section.
65671         (How Variadic): Update menu.
65672         (va_start): Do not mention varargs.h.
65674 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
65675             Joseph Myers  <joseph@codesourcery.com>
65677         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
65678         link test.
65679         * configure: Regenerated.
65681 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
65683         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
65684         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
65685         conformtest.pl
65687 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65689         * NOTES: Remove.
65690         * Makefile (files-for-dist): Remove NOTES.
65691         (NOTES): Remove rule.
65692         * README: Don't refer to NOTES.
65693         * manual/creature.texi: Don't include macros.texi.
65694         * manual/intro.texi (creature.texi): Remove comment referring to
65695         NOTES.
65697         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
65698         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
65699         * configure: Regenerated.
65700         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
65701         LIBC_TRY_CC_OPTION.
65702         (libc_cv_as_i686): Likewise.
65703         (libc_cv_cc_avx): Likewise.
65704         (libc_cv_cc_sse2avx): Likewise.
65705         (libc_cv_cc_fma4): Likewise.
65706         (libc_cv_cc_novzeroupper): Likewise.
65707         * sysdeps/i386/configure: Regenerated.
65709         [BZ #13883]
65710         * sysdeps/i386/fpu/s_cexp.S: Remove.
65711         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
65712         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
65713         * math/libm-test.inc (cexp_test): Add more tests.
65714         * sysdeps/i386/fpu/libm-test-ulps: Update.
65715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65717 2012-03-21  Allan McRae  <allan@archlinux.org>
65719         * timezone/Makefile: Do not install iso3166.tab and zone.tab
65721 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65723         [BZ #13871]
65724         * math/w_exp2.c: Do not include <float.h>.
65725         (o_threshold, u_threshold): Remove.
65726         (__exp2): Calculate result before checking finiteness and calling
65727         __kernel_standard.
65728         * math/w_exp2f.c: Likewise.
65729         * math/w_exp2l.c: Likewise.
65730         * math/libm-test.inc (exp2_test): Require overflow exception for
65731         1e6 input.
65733         [BZ #3866]
65734         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
65735         range of signed 64-bit integers before using fistpll.  Remove
65736         checks for whether integers fit in mantissa bits.
65737         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
65738         the range of signed 32-bit integers before using fistpl.  Remove
65739         checks for whether integers fit in mantissa bits.
65740         * sysdeps/i386/fpu/e_powl.S (p64): New object.
65741         (__ieee754_powl): Test for y outside the range of signed 64-bit
65742         integers before using fistpll.  Reduce 64-bit values to 63-bit
65743         ones as needed.
65744         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
65745         divide-by-zero is raised for zero to large negative powers.
65746         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
65747         (__ieee754_powl): Test for y outside the range of signed 64-bit
65748         integers before using fistpll.  Reduce 64-bit values to 63-bit
65749         ones as needed.
65750         * math/libm-test.inc (pow_test): Add more tests.
65752 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65754         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
65755         <stdio-common/_itoa.h>.
65756         * debug/segfault.c: Likewise.
65757         * elf/dl-cache.c: Likewise.
65758         * elf/dl-minimal.c: Likewise.
65759         * elf/dl-misc.c: Likewise.
65760         * elf/dl-sysdep.c: Likewise.
65761         * elf/dl-version.c: Likewise.
65762         * elf/rtld.c: Likewise.
65763         * hurd/hurdsock.c: Likewise.
65764         * hurd/lookup-retry.c: Likewise.
65765         * malloc/malloc.c: Likewise.
65766         * malloc/mtrace.c: Likewise.
65767         * nscd/nscd_getgr_r.c: Likewise.
65768         * nscd/nscd_getpw_r.c: Likewise.
65769         * nscd/nscd_getserv_r.c: Likewise.
65770         * posix/getopt_init.c: Likewise.
65771         * posix/wordexp.c: Likewise.
65772         * stdio-common/_itoa.c: Likewise.
65773         * stdio-common/printf_fphex.c: Likewise.
65774         * stdio-common/vfprintf.c: Likewise.
65775         * string/_strerror.c: Likewise.
65776         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
65777         * sysdeps/i386/i686/hp-timing.h: Likewise.
65778         * sysdeps/mach/_strerror.c: Likewise.
65779         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
65780         * sysdeps/mach/hurd/sethostid.c: Likewise.
65781         * sysdeps/mach/hurd/xmknodat.c: Likewise.
65782         * sysdeps/mach/xpg-strerror.c: Likewise.
65783         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65784         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
65785         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
65786         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
65787         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
65788         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
65789         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
65790         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
65791         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
65792         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
65793         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
65794         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
65795         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
65796         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65797         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65798         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
65799         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
65800         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
65801         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
65802         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
65803         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
65805         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
65807         * stdio-common/_itoa.h: Moved to ...
65808         * sysdeps/generic/_itoa.h: Here.
65810         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
65812         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
65813         instead of "_itoa.h" and "_itowa.h".
65814         * stdio-common/vfprintf.: Likewise.
65816 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65818         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
65819         <bits/wordsize.h>.
65820         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
65821         (__signbit): Likwise.
65822         (llrintf): Likwise.
65823         (llrint): Likwise.
65825 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65827         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
65828         __WORDSIZE != 64.
65830 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
65832         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
65833         OVERFLOW_EXCEPTION_OK.
65834         * math/libm-test.inc ("Philosophy"): Update comment about
65835         exception testing.
65836         (OVERFLOW_EXCEPTION): Define.
65837         (OVERFLOW_EXCEPTION_OK): Likewise.
65838         (INVALID_EXCEPTION_OK): Renumber.
65839         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65840         (IGNORE_ZERO_INF_SIGN): Likewise.
65841         (test_exceptions): Handle FE_OVERFLOW.
65842         (exp10_test): Expect overflow exceptions.
65843         (exp2_test): Likewise.
65844         (expm1_test): Likewise.
65845         (nextafter_test): Likewise.
65846         (pow_test): Likewise.
65847         (scalbn_test): Likewise.
65848         (scalbln_test): Likewise.
65850 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65852         * sysdeps/x86_64/bits/atomic.h
65853         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
65854         64bit integer.
65855         (atomic_exchange_acq): Likewise.
65856         (__arch_exchange_and_add_body): Likewise.
65857         (__arch_add_body): Likewise.
65858         (atomic_add_negative): Likewise.
65859         (atomic_add_zero): Likewise.
65861 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65863         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
65864         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
65866 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65868         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
65869         Check __x86_64__ instead of __WORDSIZE.
65871 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65873         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
65875 2012-03-19  David S. Miller  <davem@davemloft.net>
65877         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65879         * sysdeps/sparc/fpu/fenv_private.h: New file.
65880         * sysdeps/sparc/fpu/math_private.h: Use it.
65881         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
65882         Remove.
65883         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
65884         (libc_feholdexcept_setroundl): Remove.
65885         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
65886         Remove.
65887         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
65888         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
65890 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65892         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
65893         int64_t instead of long int.
65894         (INSERT_WORDS64): Likwise.
65896 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65898         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
65899         _Unwind_GetCFA return to _Unwind_Ptr first.
65901 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
65903         [BZ #13629]
65904         * math/s_clog.c: Include <float.h>.
65905         (__clog): Scale large or subnormal inputs.
65906         * math/s_clogf.c: Likewise.
65907         * math/s_clogl.c: Likewise.
65908         * math/s_clog10.c: Include <float.h>.
65909         (M_LOG10_2): Define.
65910         (__clog10): Scale large or subnormal inputs.
65911         * math/s_clog10f.c: Likewise.
65912         * math/s_clog10l.c: Likewise.
65913         * math/libm-test.inc (clog_test): Add more tests.
65914         (clog10_test): Likewise.
65915         * sysdeps/i386/fpu/libm-test-ulps: Update.
65916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65918         [BZ #11451]
65919         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
65920         x and y.
65921         * math/libm-test.inc (atan2_test): Add another test.
65923         * Makerules (common-objdir-compile): Remove.
65924         * sysdeps/unix/Makefile (config-generated): Do not add
65925         $(unix-generated) to variable.
65926         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
65927         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
65928         Remove rule.
65929         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
65930         Likewise.
65931         [generic bits/local_lim.h] (before-compile): Do not append to
65932         variable.
65933         [generic bits/local_lim.h] (common-generated): Likewise.
65934         [generic sys/param.h] (before-compile): Do not append to variable.
65935         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
65936         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
65937         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
65938         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
65939         include.
65940         [generic sys/param.h] (sys/param.h-includes): Remove variable.
65941         [generic sys/param.h] (sys/param.h-includes): Remove rule.
65942         [generic sys/param.h] ($(addprefix
65943         $(common-objpfx),$(sys/param.h-includes))): Likewise.
65944         [generic sys/param.h] (common-generated): Do not append to
65945         variable.
65946         [generic sys/param.h] (sysdep_headers): Likewise.
65947         [generic bits/errno.h] (before-compile): Do not append to
65948         variable.
65949         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
65950         rule.
65951         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
65952         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
65953         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
65954         [generic bits/errno.h] (common-generated): Do not append to
65955         variable.
65956         [generic bits/ioctls.h] (before-compile): Do not append to
65957         variable.
65958         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
65959         rule.
65960         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
65961         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
65962         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
65963         rule.
65964         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
65965         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
65966         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
65967         [generic bits/ioctls.h] (common-generated): Do not append to
65968         variable.
65969         [generic sys/syscall.h] (syscall.h): Remove variable.
65970         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
65971         rule.
65972         [generic sys/syscall.h] (before-compile): Do not append to
65973         variable.
65974         [generic sys/syscall.h] (common-generated): Likewise.
65975         * sysdeps/unix/errnos-tmpl.c: Remove file.
65976         * sysdeps/unix/errnos.awk: Likewise.
65977         * sysdeps/unix/ioctls-tmpl.c: Likewise.
65978         * sysdeps/unix/ioctls.awk: Likewise.
65979         * sysdeps/unix/mk-local_lim.c: Likewise.
65980         * sysdeps/unix/snarf-ioctls: Likewise.
65982 2012-03-19  Richard Henderson  <rth@twiddle.net>
65984         * sysdeps/i386/fpu/fenv_private.h: New file.
65985         * sysdeps/i386/fpu/math_private.h: Use it.
65986         (math_opt_barrier, math_force_eval): Remove.
65987         (libc_feholdexcept_setround_53bit): Remove.
65988         (libc_feupdateenv_53bit): Remove.
65989         * sysdeps/x86_64/fpu/math_private.h: Likewise.
65990         (math_opt_barrier, math_force_eval): Remove.
65991         (libc_feholdexcept): Remove.
65992         (libc_feholdexcept_setround): Remove.
65993         (libc_fetestexcept, libc_fesetenv): Remove.
65994         (libc_feupdateenv_test): Remove.
65995         (libc_feupdateenv, libc_feholdsetround): Remove.
65996         (libc_feresetround): Remove.
65998         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
65999         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
66001         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
66002         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
66003         (libc_feupdateenv_testl): New.
66004         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
66005         (libc_feupdateenv_testf): New.
66006         (libc_feupdateenv): Use libc_feupdateenv_test.
66007         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
66008         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
66010         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
66011         (libc_feholdsetroundf, libc_feholdsetroundl): New.
66012         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
66013         (libc_feresetround_noex): New.
66014         (libc_feresetround_noexf): New.
66015         (libc_feresetround_noexl): New.
66016         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
66017         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
66018         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
66019         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
66020         SET_RESTORE_ROUND.
66021         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
66022         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
66023         (__cos): Likewise.
66024         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
66025         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
66026         SET_RESTORE_ROUND_NOEX.
66027         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
66028         SET_RESTORE_ROUND_NOEXF.
66029         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
66030         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
66031         (libc_feholdsetroundf): New.
66032         (libc_feresetround, libc_feresetroundf): New.
66034         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
66035         (libc_feholdexcept_setround_53bit): Convert from macro to function.
66036         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
66038         * sysdeps/generic/math_private.h: Include <fenv.h>.
66039         (default_libc_feholdexcept): New.
66040         (default_libc_feholdexcept_setround): New.
66041         (default_libc_fesetenv, default_libc_feupdateenv): New.
66042         (libc_feholdexcept): Only define if undefined.
66043         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
66044         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
66045         (libc_feholdexcept_setroundl): Likewise.
66046         (libc_feholdexcept_setround_53bit): Likewise.
66047         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
66048         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
66049         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
66050         (libc_feupdateenv_53bit): Likewise.
66051         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
66052         (libc_feholdexcept): Convert from macro to inline function.
66053         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
66054         (libc_fesetenv, libc_feupdateenv): Likewise.
66056         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
66057         not previously defined.
66058         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
66059         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
66060         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
66061         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
66062         * sysdeps/ieee754/flt-32/math_private.h: New file.
66063         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
66064         math_private.h below SET_FLOAT_WORD.
66065         (__isnan, __isinf_ns, __finite): Remove.
66066         (__isnanf, __isinf_nsf, __finitef): Remove.
66068 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
66070         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66072 2012-03-17  David S. Miller  <davem@davemloft.net>
66074         [BZ #6471]
66075         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
66076         for 2.16.
66078 2012-03-16  David S. Miller  <davem@davemloft.net>
66080         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
66081         warnings.
66083         [BZ #6471]
66084         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
66085         properly.
66086         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
66087         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
66088         sysdep_routines when subdir is sysvipc.
66089         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
66090         __getshmlba helper.
66092         * sysdeps/sparc/fpu/libm-test/ulps: Update.
66094 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66096         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
66097         [__LP64__].
66099 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66101         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
66102         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
66103         (__lround): Renamed to ...
66104         (__llround): This.  Replace long int with long long int.
66105         Define lround functions as aliases of llround functions.
66106         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
66108 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66110         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
66111         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
66112         adresses to uintptr_t.  Replace "long int" and "unsigned long
66113         int" with "greg_t" on va_arg.
66115 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66117         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
66118         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
66120         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
66121         Move e_machine check before EI_CLASS check.  Handle x32
66122         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
66123         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
66124         SKIP_EM_IA_64 and include
66125         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
66127         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
66128         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
66129         (add_system_dir): New macro.
66131         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
66132         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
66134 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
66136         [BZ #2551]
66137         [BZ #2552]
66138         [BZ #2553]
66139         [BZ #2554]
66140         [BZ #2562]
66141         [BZ #2563]
66142         [BZ #2565]
66143         [BZ #2566]
66144         [BZ #2576]
66145         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
66146         (y0): Likewise.
66147         * math/w_j0f.c (j0f): Likewise.
66148         (y0f): Likewise.
66149         * math/w_j0l.c (__j0l): Likewise.
66150         (__y0l): Likewise.
66151         * math/w_j1.c (j1): Likewise.
66152         (y1): Likewise.
66153         * math/w_j1f.c (j1f): Likewise.
66154         (y1f): Likewise.
66155         * math/w_j1l.c (__j1l): Likewise.
66156         (__y1l): Likewise.
66157         * math/w_jn.c (jn): Likewise.
66158         (yn): Likewise.
66159         * math/w_jnf.c (jnf): Likewise.
66160         (ynf): Likewise.
66161         * math/w_jnl.c (__jnl): Likewise.
66162         (__ynl): Likewise.
66163         * math/libm-test.inc (j0_test): Add more tests.
66164         (j1_test): Likewise.
66165         (jn_test): Likewise.  Add trailing semicolon to existing test.
66166         (y0_test): Likewise.
66167         (y1_test): Likewise.
66168         * sysdeps/i386/fpu/libm-test-ulps: Update.
66169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66171         [BZ #13851]
66172         [BZ #13854]
66173         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
66174         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
66175         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
66176         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
66177         (__tanl): Set errno for infinite argument.
66178         * sysdeps/i386/fpu/mptan.c: Remove.
66179         * sysdeps/i386/fpu/s_tan.S: Likewise.
66180         * sysdeps/i386/fpu/s_tanl.S: Likewise.
66181         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
66182         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
66183         * math/libm-test.inc (tan_test): Add more tests and enable more
66184         tests for double and long double.
66185         * sysdeps/i386/fpu/libm-test-ulps: Update.
66186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66188 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
66190         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
66191         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
66193 2012-03-16  Roland McGrath  <roland@hack.frob.com>
66195         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
66196         * configure.in: Use it for both main tree and add-ons.
66197         * configure: Regenerated.
66199 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66201         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
66203 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
66205         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
66206         in comment.
66208         [BZ #13851]
66209         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
66210         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
66211         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
66212         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
66213         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
66214         infinite argument.
66215         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
66216         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
66217         != 0 for prec == 2.
66218         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
66219         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
66220         * sysdeps/i386/fpu/s_cosl.S: Likewise.
66221         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
66222         * sysdeps/i386/fpu/s_sinl.S: Likewise.
66223         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
66224         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
66225         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
66226         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
66227         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
66228         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
66229         * math/libm-test.inc (cos_test): Add more tests and enable more
66230         tests for long double.
66231         (sin_test): Likewise.
66232         (sincos_test): Likewise.
66233         * sysdeps/i386/fpu/libm-test-ulps: Update.
66234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66236 2012-03-16  David S. Miller  <davem@davemloft.net>
66238         * sysdeps/sparc/fpu/math_private.h: New file.
66240 2012-03-15  David S. Miller  <davem@davemloft.net>
66242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
66243         file.
66244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
66245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
66246         file.
66247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
66248         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
66249         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
66250         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
66251         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
66252         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
66253         sysdep routines.
66254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
66256         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
66257         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
66259         * sysdeps/sparc/sparc-ifunc.h: New file.
66260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
66261         sparc-ifunc.h
66262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
66263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
66264         Likewise.
66265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
66266         Likewise.
66267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
66268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
66269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
66271         Likewise.
66272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
66273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
66274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
66275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
66276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
66277         Likewise.
66278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
66279         Likewise.
66280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
66281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
66282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
66283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
66284         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
66285         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
66286         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
66287         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
66288         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
66289         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
66290         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
66291         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
66292         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
66293         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
66294         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
66295         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
66296         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
66297         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
66298         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
66299         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
66300         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
66301         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
66302         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
66303         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
66305 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
66307         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
66308         scaling.
66309         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66311 2012-03-15  Andreas Jaeger  <aj@suse.de>
66313         [BZ #13852]
66314         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
66315         ieee754/flt-32 implementation for sin, cos and sincos.
66316         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
66317         * sysdeps/i386/fpu/s_cosf.S: Likewise.
66318         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
66319         * sysdeps/i386/fpu/s_sinf.S: Likewise.
66320         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
66321         ieee754/flt-32 implementation for tan.
66323         * math/libm-test.inc (cos_test): Enable some large input tests for
66324         float as well
66325         (sin_test): Likewise.
66326         (sincos_test): Likewise.
66327         (tan_test): Add tests for large input.
66329         * sysdeps/i386/fpu/libm-test-ulps: Update.
66331 2012-03-15  Andreas Jaeger  <aj@suse.de>
66333         [BZ #13658]
66334         * math/libm-test.inc (cos_test): Add more test cases.
66335         (sin_test): Likewise.
66336         (sincos_test): Likewise.
66338 2012-03-15  Andreas Jaeger  <aj@suse.de>
66340         [BZ #13837]
66341         * math/libm-test.inc (cos_test): Add a test case for large input
66342         value.
66343         (sin_test): Likewise.
66344         (sincos_test): Likewise.
66346 2012-03-15  Andreas Jaeger  <aj@suse.de>
66347             Joseph Myers  <joseph@codesourcery.com>
66349         [BZ #13658]
66350         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
66351         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
66352         * sysdeps/i386/fpu/branred.c: Likewise.
66353         * sysdeps/i386/fpu/dosincos.c: Likewise.
66354         * sysdeps/i386/fpu/mpa.c: Likewise.
66355         * sysdeps/i386/fpu/s_cos.S: Likewise.
66356         * sysdeps/i386/fpu/s_sin.S: Likewise.
66357         * sysdeps/i386/fpu/s_sincos.S: Likewise.
66358         * sysdeps/i386/fpu/sincos32.c: Likewise.
66360         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
66361         Define.
66362         (libc_feupdateenv_53bit): Define.
66363         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
66364         Define.
66365         (libc_feupdateenv_53bit): Define.
66367         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
66368         53 bit (without extend i386 double precision).
66370         * math/libm-test.inc (sincos_test): Add tests for large input.
66371         (sin): Likewise.
66372         (cos): Likewise.
66374         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
66376 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
66378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66380 2012-03-15  David S. Miller  <davem@davemloft.net>
66382         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
66383         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
66384         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
66385         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
66386         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
66387         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
66388         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
66389         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
66390         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
66391         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
66392         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
66393         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
66394         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
66395         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
66396         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
66397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
66398         file.
66399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
66400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
66401         file.
66402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
66403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
66404         file.
66405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
66406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
66407         file.
66408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
66409         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
66410         fmin/fmax sysdep routines.
66411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
66413 2012-03-14  David S. Miller  <davem@davemloft.net>
66415         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
66416         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
66417         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
66418         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
66419         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
66420         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
66421         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
66422         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
66423         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
66424         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
66425         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
66426         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
66427         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
66428         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
66429         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
66430         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
66431         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
66432         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
66433         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
66434         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
66435         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
66436         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
66437         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
66438         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
66439         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
66440         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
66441         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
66442         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
66443         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
66444         routines.
66445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
66446         file.
66447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
66448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
66449         file.
66450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
66451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
66452         file.
66453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
66454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
66455         file.
66456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
66457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
66458         file.
66459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
66460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
66461         file.
66462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
66463         file.
66464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
66465         file.
66466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
66467         file.
66468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
66469         New file.
66470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
66471         file.
66472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
66473         file.
66474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
66475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
66476         file.
66477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
66478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
66479         file.
66480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
66481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
66482         file.
66483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
66484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
66485         VIS3 routines.
66487         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
66488         New file.
66490         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66492         * sysdeps/sparc/configure.in: New file.
66493         * sysdeps/sparc/configure: Generate.
66494         * configure.in (libc_cv_sparc_as_vis3): Substitute.
66495         * configure: Regenerate.
66496         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
66497         * config.make.in (have-as-vis3): New.
66498         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
66499         available use -Av9d instead of -Av9a.
66500         * sysdeps/sparc/sparc64/Makefile: Likewise.
66501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
66502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
66503         New file.
66504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
66505         file.
66506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
66507         New file.
66508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
66509         file.
66510         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
66511         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
66512         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
66513         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
66514         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
66516         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
66517         fzeros/fnegs to load 0x80000000 into a float register instead of
66518         using the stack.
66519         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
66521 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
66523         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66524         bits/syscall.h.
66525         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
66526         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
66527         ($(inst_includedir)/bits/syscall.h): Remove rule.
66528         ($(objpfx)bits/syscall.d): Include instead of
66529         $(objpfx)syscall-list.d.
66530         (generated): Change syscall-list.h and syscall-list.d to
66531         bits/syscall.h and bits/syscall.d.
66533 2012-03-14  Roland McGrath  <roland@hack.frob.com>
66535         [BZ #13846]
66536         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
66538 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
66540         [BZ #13841]
66541         * math/s_csqrt.c: Include <float.h>.
66542         (__csqrt): Scale large or subnormal inputs.
66543         * math/s_csqrtf.c: Likewise.
66544         * math/s_csqrtl.c: Likewise.
66545         * math/libm-test.inc (csqrt_test): Add more tests.
66546         * sysdeps/i386/fpu/libm-test-ulps: Update.
66547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66549         [BZ #13840]
66550         * math/libm-test.inc (hypot_test): Add more tests.
66552 2012-03-13  David S. Miller  <davem@davemloft.net>
66554         [BZ #13840]
66555         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
66556         double-precision for the calculation instead of scaling.
66558 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
66560         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
66561         manipulate bits before adding and subtracting TWO52[sx].
66562         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
66563         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
66564         Likewise.
66565         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
66567 2012-03-13  David S. Miller  <davem@davemloft.net>
66569         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
66570         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
66571         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
66572         rtld-global-offsets.h
66573         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66575         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
66576         large parameters.
66578         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
66580         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
66581         'err' in the ifdef scope in which it is actually used.
66583         * nss/nss_db/db-init.c: Include string.h
66585 2012-03-12  David S. Miller  <davem@davemloft.net>
66587         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
66588         masking out of the most significant byte of random value used.
66589         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66590         Fix coding style in previous change.
66592         * sysdeps/unix/sysv/linux/kernel-features.h
66593         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
66594         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
66595         expression.
66596         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
66597         later.
66599 2012-03-11  David S. Miller  <davem@davemloft.net>
66601         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
66602         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
66603         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
66604         for 'resultvar' otherwise things get truncated on 64-bit.
66606         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66607         Fix masking out of the most significant byte of random value used.
66609         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66611 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
66613         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66615 2012-03-09  David S. Miller  <davem@davemloft.net>
66617         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
66618         variables with appropriate CPP guards.
66619         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
66620         from the frame pointer, not the stack pointer.  Correct layout
66621         comments.  Fix test on resulting framesize and the management of
66622         the outregs buffer for pltexit.  Preserve floating point return
66623         values across _dl_call_pltexit call.
66624         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
66625         framesize and the management of the outregs buffer for pltexit.
66626         Preserve floating point return values across _dl_call_pltexit
66627         call.
66628         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
66629         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
66630         (la_sparc64_gnu_pltexit): New functions.
66631         (print_exit): Fix format string for return register value.
66633 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
66635         * sunrpc/Makefile (others): Add rpcgen.
66636         ($(objpfx)rpcgen): Remove special build rule and dependency on
66637         libc.
66638         * sunrpc/rpcgen.c: New file.
66640 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
66642         [BZ #13673]
66643         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
66644         * stdio-common/bug-vfprintf-nargs.c: Likewise.
66645         * sysdeps/i386/crti.S: Likewise.
66646         * sysdeps/i386/crtn.S: Likewise.
66647         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
66648         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
66649         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
66650         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
66651         * sysdeps/sh/crti.S: Likewise.
66652         * sysdeps/sh/crtn.S: Likewise.
66653         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
66655         [BZ #13673]
66656         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
66657         with URL.
66658         * locale/programs/locfile-kw.gperf: Likewise.
66659         * locale/programs/charmap-kw.h: Regenerated.
66660         * locale/programs/locfile-kw.h: Likewise.
66662         [BZ #13673]
66663         * intl/plural.y: Replace FSF snail mail address with URL.
66664         * intl/plural.c: Regenerated.
66666 2012-03-09  Richard Henderson  <rth@twiddle.net>
66668         * include/math_private.h: Remove file.
66669         * math/math_private.h: Move file ...
66670         * sysdeps/generic/math_private.h: ... here.
66672         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
66673         * sysdeps/powerpc/fpu/math_private.h: Likewise.
66674         * sysdeps/x86_64/fpu/math_private.h: Likewise.
66676         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
66677         and <math_private.h>.
66678         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
66679         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
66680         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
66681         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
66682         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
66683         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
66684         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66685         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66686         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
66687         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66688         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66689         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66690         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
66691         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66692         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
66693         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
66694         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66695         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
66696         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
66697         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
66698         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66699         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
66700         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
66701         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66702         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
66703         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66704         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
66705         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66706         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66707         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
66708         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
66709         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66710         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
66711         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
66712         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
66713         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
66714         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
66715         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
66716         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
66717         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66718         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
66719         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
66720         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
66721         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
66722         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
66723         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
66724         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
66725         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
66726         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
66727         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
66728         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
66729         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
66730         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
66731         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
66732         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
66733         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
66734         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66735         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
66736         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
66737         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
66738         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66739         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
66740         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66741         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
66742         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
66743         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66744         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66745         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66746         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
66747         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
66748         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
66749         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66750         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
66751         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66752         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
66753         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
66754         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
66755         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
66756         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
66757         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
66758         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
66759         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
66760         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
66761         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
66762         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66763         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
66764         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
66765         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
66766         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
66767         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66768         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66769         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
66770         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66771         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
66772         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
66773         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
66774         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66775         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
66776         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66777         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
66778         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
66779         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
66780         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
66781         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
66782         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
66783         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
66784         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
66785         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
66786         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
66787         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
66788         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
66789         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
66790         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
66791         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
66792         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
66793         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66794         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
66795         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
66796         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
66797         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
66798         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
66799         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
66800         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66801         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
66802         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
66803         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
66804         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
66805         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
66806         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
66807         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
66808         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
66809         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
66810         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
66811         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
66812         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
66813         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
66814         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
66815         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
66816         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
66817         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
66818         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66819         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
66820         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
66821         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
66822         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
66823         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
66824         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
66825         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
66826         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
66827         * sysdeps/ieee754/k_standard.c: Likewise.
66828         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
66829         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
66830         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66831         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
66832         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
66833         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
66834         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
66835         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
66836         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
66837         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
66838         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66839         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
66840         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
66841         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
66842         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
66843         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
66844         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
66845         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
66846         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
66847         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
66848         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
66849         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
66850         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
66851         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
66852         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
66853         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
66854         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
66855         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
66856         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
66857         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
66858         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
66859         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
66860         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
66861         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
66862         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
66863         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
66864         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
66865         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
66866         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
66867         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
66868         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
66869         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
66870         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
66871         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
66872         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
66873         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
66874         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
66875         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
66876         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
66877         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
66878         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
66879         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
66880         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
66881         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
66882         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
66883         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
66884         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
66885         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
66886         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
66887         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
66888         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
66889         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
66890         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
66891         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
66892         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66893         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66894         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
66895         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
66896         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
66897         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
66898         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
66899         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66900         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
66901         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
66902         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
66903         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
66904         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
66905         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
66906         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66907         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
66908         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
66909         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
66910         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
66911         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
66912         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
66913         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
66914         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
66915         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
66916         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
66917         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
66918         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
66919         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
66920         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
66921         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
66922         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
66923         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
66924         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
66925         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
66926         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
66927         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
66928         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
66929         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
66930         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
66931         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
66932         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
66933         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
66934         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
66935         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
66936         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
66937         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
66938         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
66939         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
66940         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
66941         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66942         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
66943         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66944         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
66945         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66946         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66947         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
66948         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66949         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
66950         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
66951         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
66952         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66953         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
66954         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
66955         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
66956         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
66957         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
66958         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
66959         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
66960         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
66961         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
66962         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
66963         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
66964         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
66965         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
66966         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
66967         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
66968         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
66969         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
66970         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
66971         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
66972         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
66973         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
66974         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
66975         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
66976         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
66977         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
66978         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
66979         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
66980         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
66981         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
66982         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
66983         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
66984         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
66985         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
66986         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
66987         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
66988         * sysdeps/ieee754/s_lib_version.c: Likewise.
66989         * sysdeps/ieee754/s_matherr.c: Likewise.
66990         * sysdeps/ieee754/s_signgam.c: Likewise.
66991         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66992         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66993         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
66994         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
66995         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
66996         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
66997         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
66998         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
66999         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
67000         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
67001         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
67002         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
67003         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
67004         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
67005         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
67006         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
67007         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
67008         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
67009         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
67010         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
67011         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
67013 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
67015         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
67016         * sunrpc/rpc_main.c: Likewise.
67017         * sunrpc/rpc_svcout.c: Likewise.
67019 2012-03-09  David S. Miller  <davem@davemloft.net>
67021         * include/math_private.h: New file.
67023 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
67025         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
67026         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
67027         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
67028         from <bits/socket_type.h>.
67029         (enum __socket_type): Don't define here.
67030         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
67031         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67032         bits/socket_type.h.
67034         [BZ #13566]
67035         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
67036         checking __USE_GNU.
67038         * Makerules ($(inst_includedir)/%.h): New rule.
67039         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
67040         (install-others): Remove variable setting.
67041         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
67043 2012-03-08  Richard Henderson  <rth@twiddle.net>
67045         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
67046         from macro to inline function; merge with the
67047         !__LIBC_INTERNAL_MATH_INLINES version.
67048         (__ieee754_sqrtf): Likewise.
67050         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
67051         to inline function.
67052         (__rintf, __floor, __floorf): Likewise.
67054         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
67055         macro to inline function.
67056         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
67058         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
67059         not <math/math_private.h>.
67061 2012-03-08  David S. Miller  <davem@davemloft.net>
67063         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
67064         copyright year.
67065         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
67067 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
67069         * resolv/gai_misc.c (handle_requests): Fix struct timespec
67070         normalization.
67071         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
67072         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
67074 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
67076         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
67077         be defined individually, they must be defined as a block.  Define
67078         S for printing a string instead of hidint the different by using a
67079         macro for adding the 'l'.
67080         * stdio-common/tst-fphex-wide.c: Adjust.
67082 2012-03-07  Marek Polacek  <polacek@redhat.com>
67084         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
67086 2012-03-08  Marek Polacek  <polacek@redhat.com>
67088         [BZ #13806]
67089         * stdio-common/Makefile (tests): Add tst-fphex-wide.
67090         * stdio-common/tst-fphex.c: Define a few macros to make the
67091         test reusable.  Use them.
67092         * stdio-common/tst-fphex-wide.c: New file.
67094 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
67096         [BZ #6911]
67097         * manual/macros.texi (gnusystems): New macro.
67098         (nongnusystems): Likewise.
67099         (gnulinuxhurdsystems): Likewise.
67100         (gnuhurdsystems): Likewise..
67101         (gnulinuxsystems): Likewise.
67102         * manual/charset.texi: Use new macros or @theglibc{} to refer to
67103         variants of the GNU system, not "GNU system".
67104         * manual/conf.texi: Likewise.
67105         * manual/errno.texi: Likewise.  Update example of errno macro
67106         expansion.
67107         * manual/filesys.texi: Likewise.
67108         (getumask): Document as specific to GNU/Hurd.
67109         * manual/install.texi: Likewise.  Reword some references to
67110         GNU/Linux.
67111         * manual/intro.texi: Likewise.
67112         * manual/io.texi: Likewise.
67113         (File Name Portability): Detail which constraints are inapplicable
67114         to all GNU systems and which are only inapplicable to GNU/Hurd.
67115         * manual/job.texi: Likewise.
67116         * manual/llio.texi: Likewise.
67117         (O_NOCTTY): Document as present on GNU/Linux.
67118         * manual/maint.texi: Likewise.
67119         * manual/memory.texi: Likewise.
67120         * manual/pattern.texi: Likewise.
67121         * manual/pipe.texi: Likewise.
67122         * manual/process.texi: Likewise.
67123         * manual/resource.texi: Likewise.
67124         (RUSAGE_CHILDREN): Remove statement about specifying a particular
67125         child on GNU/Hurd.
67126         * manual/setjmp.texi: Likewise.
67127         * manual/signal.texi: Likewise.
67128         * manual/startup.texi: Likewise.
67129         * manual/stdio.texi: Likewise.
67130         * manual/terminal.texi: Likewise.
67131         (ONLCR): Document as POSIX.
67132         (OXTABS): Document availability on GNU/Linux as XTABS.
67133         (ONOEOT): Document availability separately from other bits.
67134         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
67135         * manual/time.texi: Likewise.
67136         * manual/users.texi: Likewise.
67137         * INSTALL: Regenerated.
67138         * sysdeps/gnu/errlist.c: Regenerated.
67140         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
67141         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
67142         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
67143         puts.
67144         * configure: Regenerated.
67146 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
67148         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
67149         default includes instead of AC_HEADER_CHECK.
67150         * sysdeps/i386/configure: Regenerated.
67152         [BZ #10716]
67153         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
67154         * math/s_cacoshf.c (__cacoshf): Likewise.
67155         * math/s_cacoshl.c (__cacoshl): Likewise.
67156         * math/s_casinh.c (__casinh): Set signs of result from argument.
67157         * math/s_casinhf.c (__casinhf): Likewise.
67158         * math/s_casinhl.c (__casinhl): Likewise.
67159         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
67160         (casinh_test): Add more tests.
67161         * sysdeps/i386/fpu/libm-test-ulps: Update.
67162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67164 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
67166         * po/zh_TW.po: Update from translation team.
67168         * login/Makefile (distribute): Remove variable.
67169         * catgets/Makefile: Likewise.
67170         * mach/Makefile: Likewise.
67171         * malloc/Makefile: Likewise.
67172         * misc/Makefile: Likewise.
67173         * iconv/Makefile: Likewise.
67174         * nscd/Makefile: Likewise.
67175         * hurd/Makefile: Likewise.
67176         * manual/Makefile: Likewise.
67177         * locale/Makefile: Likewise.
67178         * intl/Makefile: Likewise.
67179         * conform/Makefile: Likewise.
67180         * nss/Makefile: Likewise.
67181         * time/Makefile: Likewise.
67182         * soft-fp/Makefile: Likewise.
67183         * dirent/Makefile: Likewise.
67184         * gmon/Makefile: Likewise.
67185         * po/Makefile: Likewise.
67186         * rt/Makefile: Likewise.
67187         * socket/Makefile: Likewise.
67188         * math/Makefile: Likewise.
67189         * signal/Makefile: Likewise.
67190         * debug/Makefile: Likewise.
67191         * elf/Makefile: Likewise.
67192         * timezone/Makefile: Likewise.
67193         * stdlib/Makefile: Likewise.
67194         * iconvdata/Makefile: Likewise.
67195         * sunrpc/Makefile: Likewise.
67196         * io/Makefile: Likewise.
67197         * argp/Makefile: Likewise.
67198         * inet/Makefile: Likewise.
67199         * hesiod/Makefile: Likewise.
67200         * grp/Makefile: Likewise.
67201         * csu/Makefile: Likewise.
67202         * wctype/Makefile: Likewise.
67203         * crypt/Makefile: Likewise.
67204         * libio/Makefile: Likewise.
67205         * string/Makefile: Likewise.
67206         * nis/Makefile: Likewise.
67207         * resolv/Makefile: Likewise.
67208         * stdio-common/Makefile: Likewise.
67209         * wcsmbs/Makefile: Likewise.
67210         * dlfcn/Makefile: Likewise.
67211         * posix/Makefile: Likewise.
67213         [BZ #6959]
67214         * timezone/Makefile: Don't install timezone files, just the programs
67215         and scripts.
67217 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
67219         * nss/databases.def: Add missing gshadow entry.
67221         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
67223 2012-03-06  Marek Polacek  <polacek@redhat.com>
67225         [BZ #13726]
67226         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
67227         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
67228         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
67229         * stdio-common/tst-long-dbl-fphex.c: New file.
67231 2012-03-06  David S. Miller  <davem@davemloft.net>
67233         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67234         (set_obp_int): New function.
67235         (get_obp_int): New function.
67236         (__get_clockfreq_via_dev_openprom): Likewise.
67237         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
67238         Avoid unused variable warnings on 'val' and use builtin_expect.
67239         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
67240         __builtin_expect.
67241         (INLINE_CLONE_SYSCALL): Likewise.
67243 2012-03-05  David S. Miller  <davem@davemloft.net>
67245         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67247 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
67249         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67251         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
67252         only for |x| >= 40.
67253         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67255 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
67257         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
67258         Replace gettimeofday with __vdso_gettimeofday.
67260         * sysdeps/unix/sysv/linux/x86_64/init-first.c
67261         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
67262         __vdso_clock_gettime and __vdso_getcpu.
67264         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
67265         time with __vdso_time.
67267 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
67269         * manual/lang.texi (size_t): Note types to which size_t may be
67270         equivalent with the GNU C Library, but do not describe when
67271         differences between them are significant.
67273 2012-03-05  Andreas Jaeger  <aj@suse.de>
67275         * sysdeps/i386/fpu/libm-test-ulps: Update.
67277 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
67279         [BZ #3976]
67280         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
67281         (__ieee754_pow): Save and restore rounding mode and use
67282         round-to-nearest for main computations.
67283         * math/libm-test.inc (pow_test_tonearest): New function.
67284         (pow_test_towardzero): Likewise.
67285         (pow_test_downward): Likewise.
67286         (pow_test_upward): Likewise.
67287         (main): Call the new functions.
67288         * sysdeps/i386/fpu/libm-test-ulps: Update.
67289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67291         [BZ #3976]
67292         * math/libm-test.inc (cosh_test_tonearest): New function.
67293         (cosh_test_towardzero): Likewise.
67294         (cosh_test_downward): Likewise.
67295         (cosh_test_upward): Likewise.
67296         (sinh_test_tonearest): Likewise.
67297         (sinh_test_towardzero): Likewise.
67298         (sinh_test_downward): Likewise.
67299         (sinh_test_upward): Likewise.
67300         (main): Call the new functions.
67301         * sysdeps/i386/fpu/libm-test-ulps: Update.
67302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67304 2012-03-05  Tom de Vries  <tom@codesourcery.com>
67306         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
67307         default stack guard is set in last bytes.
67308         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
67310 2012-03-05  Kees Cook  <keescook@chromium.org>
67312         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
67314         [BZ #13656]
67315         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
67316         possibly allocate from heap instead of stack.
67317         * stdio-common/bug-vfprintf-nargs.c: New file.
67318         * stdio-common/Makefile (tests): Add nargs overflow test.
67320 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
67322         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67324 2012-03-03  Marek Polacek  <polacek@redhat.com>
67326         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
67327         * math/math_private.h: Likewise.
67328         * stdlib/tst-strtod.c: Likewise.
67329         * sysdeps/i386/i486/bits/atomic.h: Likewise.
67330         * sysdeps/x86_64/bits/atomic.h: Likewise.
67332 2012-03-02  David S. Miller  <davem@davemloft.net>
67334         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
67335         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
67336         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
67337         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
67338         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
67339         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
67340         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
67341         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
67343 2012-03-02  Roland McGrath  <roland@hack.frob.com>
67345         [BZ #13792]
67346         * manual/examples/README: New file, says the example source files
67347         can be used under GPL>=2.
67348         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
67349         line containing just "*/".
67350         * manual/examples/add.c: Add copyright header (GPL>=2).
67351         * manual/examples/argp-ex1.c: Likewise.
67352         * manual/examples/argp-ex2.c: Likewise.
67353         * manual/examples/argp-ex3.c: Likewise.
67354         * manual/examples/argp-ex4.c: Likewise.
67355         * manual/examples/atexit.c: Likewise.
67356         * manual/examples/db.c: Likewise.
67357         * manual/examples/dir.c: Likewise.
67358         * manual/examples/dir2.c: Likewise.
67359         * manual/examples/execinfo.c: Likewise.
67360         * manual/examples/filecli.c: Likewise.
67361         * manual/examples/filesrv.c: Likewise.
67362         * manual/examples/fmtmsgexpl.c: Likewise.
67363         * manual/examples/genpass.c: Likewise.
67364         * manual/examples/inetcli.c: Likewise.
67365         * manual/examples/inetsrv.c: Likewise.
67366         * manual/examples/isockad.c: Likewise.
67367         * manual/examples/longopt.c: Likewise.
67368         * manual/examples/memopen.c: Likewise.
67369         * manual/examples/memstrm.c: Likewise.
67370         * manual/examples/mkfsock.c: Likewise.
67371         * manual/examples/mkisock.c: Likewise.
67372         * manual/examples/mygetpass.c: Likewise.
67373         * manual/examples/pipe.c: Likewise.
67374         * manual/examples/popen.c: Likewise.
67375         * manual/examples/rprintf.c: Likewise.
67376         * manual/examples/search.c: Likewise.
67377         * manual/examples/select.c: Likewise.
67378         * manual/examples/setjmp.c: Likewise.
67379         * manual/examples/sigh1.c: Likewise.
67380         * manual/examples/sigusr.c: Likewise.
67381         * manual/examples/stpcpy.c: Likewise.
67382         * manual/examples/strdupa.c: Likewise.
67383         * manual/examples/strftim.c: Likewise.
67384         * manual/examples/strncat.c: Likewise.
67385         * manual/examples/subopt.c: Likewise.
67386         * manual/examples/swapcontext.c: Likewise.
67387         * manual/examples/termios.c: Likewise.
67388         * manual/examples/testopt.c: Likewise.
67389         * manual/examples/testpass.c: Likewise.
67390         * manual/examples/timeval_subtract.c: Likewise.
67392         [BZ #13792]
67393         * manual/time.texi (Elapsed Time): Move timeval_subtract example
67394         function to ...
67395         * manual/timeval_subtract.c.texi: ... here, new file.
67397 2012-03-02  David S. Miller  <davem@davemloft.net>
67399         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
67401 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
67403         [BZ #3976]
67404         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
67405         (__sin): Save and restore rounding mode and use round-to-nearest
67406         for all computations.
67407         (__cos): Save and restore rounding mode and use round-to-nearest
67408         for all computations.
67409         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
67410         <fenv.h>.
67411         (tan): Save and restore rounding mode and use round-to-nearest for
67412         all computations.
67413         * math/libm-test.inc (cos_test_tonearest): New function.
67414         (cos_test_towardzero): Likewise.
67415         (cos_test_downward): Likewise.
67416         (cos_test_upward): Likewise.
67417         (sin_test_tonearest): Likewise.
67418         (sin_test_towardzero): Likewise.
67419         (sin_test_downward): Likewise.
67420         (sin_test_upward): Likewise.
67421         (tan_test_tonearest): Likewise.
67422         (tan_test_towardzero): Likewise.
67423         (tan_test_downward): Likewise.
67424         (tan_test_upward): Likewise.
67425         (main): Call the new functions.
67426         * sysdeps/i386/fpu/libm-test-ulps: Update.
67427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67429         [BZ #10135]
67430         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
67431         small n, then large n, before computing and testing k+n.
67432         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
67433         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
67434         Likewise.
67435         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
67436         Likewise.
67437         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
67438         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
67439         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
67440         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
67441         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
67442         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
67443         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
67444         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
67445         * math/libm-test.inc (scalbn_test): Add more tests.
67446         (scalbln_test): Likewise.
67448         * manual/filesys.texi (mode_t): Describe constraints on size and
67449         signedness, not exact equivalence to a particular type.
67450         (ino_t): Likewise.
67451         (ino64_t): Likewise.
67452         (dev_t): Likewise.
67453         (nlink_t): Likewise.
67454         (blkcnt_t): Likewise.
67455         (blkcnt64_t): Likewise.
67456         * manual/llio.texi (off_t): Likewise.
67458         [BZ #3976]
67459         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
67460         (__ieee754_exp): Save and restore rounding mode and use
67461         round-to-nearest for all computations.
67462         * math/libm-test.inc (exp_test_tonearest): New function.
67463         (exp_test_towardzero): Likewise.
67464         (exp_test_downward): Likewise.
67465         (exp_test_upward): Likewise.
67466         (main): Call the new functions.
67467         * sysdeps/i386/fpu/libm-test-ulps: Update.
67468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67470 2012-03-01  Chris Demetriou  <cgd@google.com>
67472         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
67473         have predictable order.
67475 2012-03-01  David S. Miller  <davem@davemloft.net>
67477         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
67479         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
67480         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
67481         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
67482         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
67484         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
67485         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
67486         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
67487         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
67488         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
67489         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
67490         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
67491         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
67492         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
67494         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67496         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
67497         * sysdeps/sparc/fpu/libm-test-ulps: to here.
67498         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
67500         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
67501         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
67502         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
67503         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
67504         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
67505         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
67506         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
67507         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
67508         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
67509         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
67510         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
67511         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67512         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
67513         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
67514         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
67515         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67516         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
67517         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
67518         * sysdeps/sparc/elf/configure: Regenerated.
67520 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
67522         * configure.in (AS, LD): Require binutils 2.20 or later.
67523         * configure: Regenerated.
67524         * manual/install.texi (Tools for Compilation): Give binutils 2.20
67525         as required minimum version.
67526         * INSTALL: Regenerated.
67528         [BZ #2541]
67529         [BZ #4108]
67530         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
67531         before squaring exponent.
67532         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
67533         bottom long double and 27 bits of top long double before squaring
67534         exponent.
67535         * math/libm-test.inc (erfc_test): Add more tests.
67536         * sysdeps/i386/fpu/libm-test-ulps: Update.
67537         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
67538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67540 2012-03-01  Kai Tietz  <ktietz@redhat.com>
67542         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
67543         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
67544         containing bit-fields.
67545         * soft-fp/extended.h (_FP_UNION_E): Likewise.
67546         * soft-fp/single.h (_FP_UNION_S): Likewise.
67547         * soft-fp/double.h (_FP_UNION_D): Likewise.
67549 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
67551         [BZ #13786]
67552         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
67553         not include ../strcmp.S.
67554         [USE_AS_STRNCASECMP_L]: Likewise.
67555         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
67556         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
67557         * sysdeps/i386/i686/multiarch/strncase_l-c.c
67558         (__strncasecmp_l_ia32): Define as alias to
67559         __strncasecmp_l_nonascii.
67561         [BZ #5794]
67562         * math/libm-test.inc (expm1_test): Add test for bug 5794.
67563         * sysdeps/i386/fpu/libm-test-ulps: Update.
67564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67566         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
67567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67569 2012-02-29  Jeff Law  <law@redhat.com>
67571         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
67572         out of bounds read.
67574 2012-02-29  Marek Polacek  <polacek@redhat.com>
67576         [BZ #13706]
67577         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
67578         * elf/Makefile: Add rules to run tst-unused-dep.out.
67580 2012-02-28  David S. Miller  <davem@davemloft.net>
67582         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
67583         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
67584         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
67585         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
67586         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
67587         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
67589 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
67591         * math/libm-test.inc (llround_test): Move one test from
67592         lround_test.  Use TEST_f_L in moved test.
67593         (lround_test): Move misplaced test to llround_test.  Add testcase
67594         from bug 2561.
67596 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
67598         * sysdeps/x86_64/fpu/e_expf.S: New file.
67599         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
67601 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
67603         [BZ #13637]
67604         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
67605         of remain_len that may cause incomplete multi-byte character and
67606         false match.
67607         * posix/bug-regex33.c: New file.
67608         * posix/Makefile (tests): Add bug-regex33.
67610 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
67612         * manual/macros.texi: New file.
67613         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
67614         * manual/libc.texinfo: Include macros.texi.
67615         * manual/creatute.texi: Likewise.
67616         * manual/install.texi: Likewise.
67617         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
67618         @glibcadj{} in references to the GNU C Library.
67619         * manual/charset.texi: Likewise.
67620         * manual/conf.texi: Likewise.
67621         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
67622         when not using those macros.
67623         * manual/creature.texi: Likewise.
67624         * manual/crypt.texi: Likewise.
67625         * manual/errno.texi: Likewise.
67626         * manual/filesys.texi: Likewise.
67627         * manual/header.texi: Likewise.
67628         * manual/install.texi: Likewise.
67629         * manual/intro.texi: Likewise.
67630         * manual/io.texi: Likewise.
67631         * manual/job.texi: Likewise.
67632         * manual/lang.texi: Likewise.
67633         * manual/libc.texiinfo: Likewise.
67634         * manual/llio.texi: Likewise.
67635         * manual/locale.texi: Likewise.
67636         * manual/maint.texi: Likewise.
67637         * manual/math.texi: Likewise.
67638         * manual/memory.texi: Likewise.
67639         * manual/message.texi: Likewise.
67640         * manual/nss.texi: Likewise.
67641         * manual/pattern.texi: Likewise.
67642         * manual/process.texi: Likewise.
67643         * manual/resource.texi: Likewise.
67644         * manual/search.texi: Likewise.
67645         * manual/setjmp.texi: Likewise.
67646         * manual/signal.texi: Likewise.
67647         * manual/socket.texi: Likewise.
67648         * manual/startup.texi: Likewise.
67649         * manual/stdio.texi: Likewise.
67650         * manual/string.texi: Likewise.
67651         * manual/sysinfo.texi: Likewise.
67652         * manual/syslog.texi: Likewise.
67653         * manual/terminal.texi: Likewise.
67654         * manual/time.texi: Likewise.
67655         * manual/users.texi: Likewise.
67656         * INSTALL: Regenerated.
67657         * NOTES: Regenerated.
67658         * sysdeps/gnu/errlist.c: Regenerated.
67660 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
67662         * include/dirent.h: Include <dirstream.h> before
67663         <dirent/dirent.h>.
67665 2012-02-28  David S. Miller  <davem@davemloft.net>
67667         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
67668         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
67669         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
67670         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
67672 2012-02-27  David S. Miller  <davem@davemloft.net>
67674         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
67675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
67676         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
67677         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
67679         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
67680         frame pointer instead of stack pointer relative arg slot.
67681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
67682         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
67683         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
67685 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
67687         [BZ #3992]
67688         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
67690 2012-02-27  David S. Miller  <davem@davemloft.net>
67692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
67693         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
67694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
67695         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
67696         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
67697         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
67698         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
67699         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
67701 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
67703         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
67704         later.  Allow versions 5-9.
67705         * configure: Regenerated.
67706         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
67707         required minimum version and 4.6 as recommended version.  Do not
67708         mention bugs in GCC 2.7 and 2.8.
67709         * INSTALL: Regenerated.
67711 2012-02-27  David S. Miller  <davem@davemloft.net>
67713         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
67714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
67715         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
67716         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
67717         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
67718         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
67719         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
67720         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
67722         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
67723         manipulate bits before adding and subtracting TWO112[sx].
67724         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
67726 2012-02-27  Roland McGrath  <roland@hack.frob.com>
67728         [BZ #13775]
67729         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
67730         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
67731         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
67732         being in POSIX, because they are in 1003.1-2008.
67734         * rt/tst-aio.c: Include <fcntl.h>.
67735         * rt/tst-aio7.c: Likewise.
67736         * rt/tst-aio64.c: Likewise.
67738         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
67740 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
67742         * manual/install.texi (--with-headers): Describe headers as
67743         interface headers, not private headers.
67744         (Specific advice for GNU/Linux systems): Describe use of headers
67745         from "make headers_install", not private headers from older
67746         kernels.
67747         * INSTALL: Regenerated.
67748         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
67749         Change to 2.6.19.
67750         * sysdeps/unix/sysv/linux/configure: Regenerated.
67752         * manual/llio.texi (fclean): Remove documentation.
67754         * manual/Makefile (libc-texi-generated): New variable.  Include
67755         version.texi.
67756         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
67757         $(libc-texi-generated), not duplicated list of files.
67758         (version.texi, stamp-version): New rules.
67759         (realclean): Remove $(libc-texi-generated), not individual files
67760         from that list.  Do not remove dir-add.texinfo.
67761         * manual/libc.texinfo: Comment out uses of edition numbers and
67762         references to printed manual.  Remove last-updated dates.
67763         (EDITION): Comment out.
67764         (ISBN): Likewise.
67765         (VERSION, UPDATED): Remove.
67766         (version.texi): Include.
67768 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
67770         * sysdeps/posix/spawni.c: Include <signal.h>.
67771         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
67772         * sysdeps/pthread/aio_fsync.c: Likewise.
67774 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
67776         * conform/Makefile (tests): Run only when not cross-compiling and
67777         when fast-check is not defined.
67779         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
67780         * conform/data/limits.h-data: Fixes for POSIX2008.
67781         * conform/run-conformtest.sh: Run all tests.
67782         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
67783         headers.
67784         * include/bits/dlfcn.h: Likewise.
67785         * include/langinfo.h: Likewise.
67786         * include/monetary.h: Likewise.
67787         * include/sys/poll.h: Likewise.
67789         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
67790         for __USE_GNU.
67791         * posix/spawn.h: Define __need_sigset_t.
67792         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
67793         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
67794         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
67795         to get sigevent_t only.
67796         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
67797         only for __USE_GNU.
67798         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67799         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
67800         process_vm_writev only for __USE_GNU.
67801         * termios/termios.h: Declare tcgetsid also for POSIX2008.
67803         * conform/Makefile: For now ignore errors from run-conformtest.
67804         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
67805         POSIX to avoid namespace pollution.  Don't prepend headers.
67806         * conform/data/aio.h-data: Fixes for POSIX testing.
67807         * conform/data/fcntl.h-data: Likewise.
67808         * conform/data/glob.h-data: Likewise.
67809         * conform/data/grp.h-data: Likewise.
67810         * conform/data/pthread.h-data: Likewise.
67811         * conform/data/pwd.h-data: Likewise.
67812         * conform/data/signal.h-data: Likewise.
67813         * conform/data/spawn.h-data: Likewise.
67814         * conform/data/stdio.h-data: Likewise.
67815         * conform/data/stdlib.h-data: Likewise.
67816         * conform/data/stropts.h-data: Likewise.
67817         * conform/data/sys/mman.h-data: Likewise.
67818         * conform/data/sys/stat.h-data: Likewise.
67819         * conform/data/sys/types.h-data: Likewise.
67820         * conform/data/sys/wait.h-data: Likewise.
67821         * conform/data/time.h-data: Likewise.
67822         * conform/data/unistd.h-data: Likewise.
67823         * conform/data/utime.h-data: Likewise.
67825         * io/sys/stat.h: fchmod was always in POSIX.
67826         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
67827         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
67828         * rt/aio.h: Define __need_timespec before including <time.h>.
67829         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
67830         struct.  Add forward declaration of pthread_attr_t and use it in
67831         sigevent.
67832         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
67833         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
67834         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
67835         always remove CLK_TCK definition.
67837 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
67839         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
67841 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
67843         * conform/run-conformtest.sh: New file.
67844         * conform/Makefile: Run run-conformtest for tests.
67845         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
67846         support.
67848         * conform/data/uchar.h-data: New file.
67849         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
67850         * conform/data/arpa/inet.h-data: Likewise.
67851         * conform/data/assert.h-data: Likewise.
67852         * conform/data/complex.h-data: Likewise.
67853         * conform/data/cpio.h-data: Likewise.
67854         * conform/data/ctype.h-data: Likewise.
67855         * conform/data/dirent.h-data: Likewise.
67856         * conform/data/dlfcn.h-data: Likewise.
67857         * conform/data/errno.h-data: Likewise.
67858         * conform/data/fcntl.h-data: Likewise.
67859         * conform/data/float.h-data: Likewise.
67860         * conform/data/fmtmsg.h-data: Likewise.
67861         * conform/data/fnmatch.h-data: Likewise.
67862         * conform/data/ftw.h-data: Likewise.
67863         * conform/data/glob.h-data: Likewise.
67864         * conform/data/grp.h-data: Likewise.
67865         * conform/data/iconv.h-data: Likewise.
67866         * conform/data/inttypes.h-data: Likewise.
67867         * conform/data/langinfo.h-data: Likewise.
67868         * conform/data/libgen.h-data: Likewise.
67869         * conform/data/limits.h-data: Likewise.
67870         * conform/data/locale.h-data: Likewise.
67871         * conform/data/math.h-data: Likewise.
67872         * conform/data/monetary.h-data: Likewise.
67873         * conform/data/mqueue.h-data: Likewise.
67874         * conform/data/ndbm.h-data: Likewise.
67875         * conform/data/net/if.h-data: Likewise.
67876         * conform/data/netdb.h-data: Likewise.
67877         * conform/data/netinet/in.h-data: Likewise.
67878         * conform/data/nl_types.h-data: Likewise.
67879         * conform/data/poll.h-data: Likewise.
67880         * conform/data/pthread.h-data: Likewise.
67881         * conform/data/pwd.h-data: Likewise.
67882         * conform/data/regex.h-data: Likewise.
67883         * conform/data/sched.h-data: Likewise.
67884         * conform/data/search.h-data: Likewise.
67885         * conform/data/semaphore.h-data: Likewise.
67886         * conform/data/setjmp.h-data: Likewise.
67887         * conform/data/signal.h-data: Likewise.
67888         * conform/data/spawn.h-data: Likewise.
67889         * conform/data/stdarg.h-data: Likewise.
67890         * conform/data/stdio.h-data: Likewise.
67891         * conform/data/stdlib.h-data: Likewise.
67892         * conform/data/string.h-data: Likewise.
67893         * conform/data/strings.h-data: Likewise.
67894         * conform/data/stropts.h-data: Likewise.
67895         * conform/data/sys/ipc.h-data: Likewise.
67896         * conform/data/sys/mman.h-data: Likewise.
67897         * conform/data/sys/msg.h-data: Likewise.
67898         * conform/data/sys/resource.h-data: Likewise.
67899         * conform/data/sys/select.h-data: Likewise.
67900         * conform/data/sys/sem.h-data: Likewise.
67901         * conform/data/sys/shm.h-data: Likewise.
67902         * conform/data/sys/socket.h-data: Likewise.
67903         * conform/data/sys/stat.h-data: Likewise.
67904         * conform/data/sys/statvfs.h-data: Likewise.
67905         * conform/data/sys/time.h-data: Likewise.
67906         * conform/data/sys/timeb.h-data: Likewise.
67907         * conform/data/sys/times.h-data: Likewise.
67908         * conform/data/sys/types.h-data: Likewise.
67909         * conform/data/sys/uio.h-data: Likewise.
67910         * conform/data/sys/un.h-data: Likewise.
67911         * conform/data/sys/utsname.h-data: Likewise.
67912         * conform/data/sys/wait.h-data: Likewise.
67913         * conform/data/syslog.h-data: Likewise.
67914         * conform/data/tar.h-data: Likewise.
67915         * conform/data/termios.h-data: Likewise.
67916         * conform/data/utime.h-data: Likewise.
67917         * conform/data/utmpx.h-data: Likewise.
67918         * conform/data/varargs.h-data: Likewise.
67919         * conform/data/wchar.h-data: Likewise.
67920         * conform/data/wctype.h-data: Likewise.
67921         * conform/data/wordexp.h-data: Likewise.
67923         * include/stropts.h: New file.
67924         * include/uchar.h: New file.
67925         * include/aio.h: Changes to allow conformtest.pl to use the headers.
67926         * include/assert.h: Likewise.
67927         * include/ctype.h: Likewise.
67928         * include/dirent.h: Likewise.
67929         * include/dlfcn.h: Likewise.
67930         * include/fcntl.h: Likewise.
67931         * include/fnmatch.h: Likewise.
67932         * include/glob.h: Likewise.
67933         * include/grp.h: Likewise.
67934         * include/libio.h: Likewise.
67935         * include/locale.h: Likewise.
67936         * include/math.h: Likewise.
67937         * include/net/if.h: Likewise.
67938         * include/netdb.h: Likewise.
67939         * include/netinet/in.h: Likewise.
67940         * include/pthread.h: Likewise.
67941         * include/pwd.h: Likewise.
67942         * include/regex.h: Likewise.
67943         * include/sched.h: Likewise.
67944         * include/search.h: Likewise.
67945         * include/setjmp.h: Likewise.
67946         * include/signal.h: Likewise.
67947         * include/stdio.h: Likewise.
67948         * include/stdlib.h: Likewise.
67949         * include/string.h: Likewise.
67950         * include/sys/cdefs.h: Likewise.
67951         * include/sys/mman.h: Likewise.
67952         * include/sys/msg.h: Likewise.
67953         * include/sys/resource.h: Likewise.
67954         * include/sys/select.h: Likewise.
67955         * include/sys/socket.h: Likewise.
67956         * include/sys/stat.h: Likewise.
67957         * include/sys/statvfs.h: Likewise.
67958         * include/sys/time.h: Likewise.
67959         * include/sys/times.h: Likewise.
67960         * include/sys/uio.h: Likewise.
67961         * include/sys/utsname.h: Likewise.
67962         * include/sys/wait.h: Likewise.
67963         * include/termios.h: Likewise.
67964         * include/time.h: Likewise.
67965         * include/ulimit.h: Likewise.
67966         * include/unistd.h: Likewise.
67967         * include/utime.h: Likewise.
67968         * include/wchar.h: Likewise.
67969         * include/wctype.h: Likewise.
67970         * include/wordexp.h: Likewise.
67972         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
67974         * time/time.h: TIME_UTC must be a macro.
67975         Make timespec_get available for ISO C11 only as well.
67977 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
67979         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
67980         Reported by Peng Haitao <penght@cn.fujitsu.com>.
67982 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67984         * configure.in: Use -o not -a in test for unsupported multi-arch.
67986 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67988         * manual/texinfo.tex: Update to version 2012-01-19.16.
67990 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67992         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
67994 2012-02-24  Roland McGrath  <roland@hack.frob.com>
67996         [BZ #13738]
67997         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
67998         * manual/fdl-1.3.texi: New file.
67999         * manual/fdl-1.1.texi: File removed.
68001         [BZ #13738]
68002         * manual/libc.texinfo (FDL_VERSION): New @set.
68003         Use it for mention of FDL in cover text.
68004         (Documentation License): Use it in @include file name.
68006 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68007             Roland McGrath  <roland@hack.frob.com>
68009         [BZ #5461]
68010         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
68011         (not LONG_LONG_MAX and LONG_LONG_MIN.
68012         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
68013         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
68014         name.
68015         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
68017 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68019         [BZ #2547]
68020         [BZ #11365]
68021         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
68022         manipulate bits before adding and subtracting TWO23[sx].
68023         * math/libm-test.inc (nearbyint_test): Add more tests.
68025 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68027         [BZ #2548]
68028         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
68029         bits before adding and subtracting TWO23[sx].
68030         * math/libm-test.inc (rint_test): Add more tests.
68031         (rint_test_tonearest): Likewise.
68032         (rint_test_towardzero): Likewise.
68033         (rint_test_downward): Likewise.
68034         (rint_test_upward: Likewise.
68036 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68038         [BZ #10110]
68039         * include/stdc-predef.h: New file.  Extracted from features.h.
68040         * include/features.h: Include stdc-predef.h.
68041         * Makefile (headers): Add stdc-predef.h.
68042         * CONFORMANCE (Compiler limitations): Update.
68044 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68046         * manual/libc.texinfo (VERSION, UPDATED): Revert.
68048 2012-02-21  David S. Miller  <davem@davemloft.net>
68050         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
68051         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
68053 2012-02-20  David S. Miller  <davem@davemloft.net>
68055         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
68056         using a normal save/restore sequence, rather than allocating a
68057         dummy stack frame just to store a frame pointer and restore.
68058         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68060 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68062         * manual/install.texi: Fix stray word in line-wrapped comment.
68064 2012-02-20  David S. Miller  <davem@davemloft.net>
68066         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
68067         both binutils and gcc support GOTDATA.
68069         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
68070         "rd %pc" in the PIC register setup sequences.
68072         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
68073         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
68074         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
68075         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
68076         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
68077         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
68078         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68079         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68080         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
68081         (SYSCALL_ERROR_HANDLER): Likewise.
68082         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
68083         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
68084         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
68085         (SYSCALL_ERROR_HANDLER): Likewise.
68087         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
68088         (HAVE_GCC_GOTDATA): New.
68089         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
68090         relocation support in both binutils and gcc.
68091         * sysdeps/sparc/elf/configure: Regenerate.
68093         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
68094         * sysdeps/sparc/sparc32/elf/configure: Delete.
68095         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
68096         * sysdeps/sparc/sparc64/elf/configure: Delete.
68097         * sysdeps/sparc/elf/configure.in: New file.
68098         * sysdeps/sparc/elf/configure: Generate.
68100         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
68101         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
68102         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
68103         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
68104         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
68106 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68108         * manual/install.texi: Do not mention specific glibc version
68109         numbers.
68110         * manual/libc.texinfo (VERSION, UPDATED): Update.
68111         (@copying): Use @copyright{} and range of years.
68113 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68115         [BZ #13695]
68116         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
68117         [crti.S not in sysdirs] (generated): Do not append.
68118         [crti.S not in sysdirs] (omit-deps): Likewise.
68119         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
68120         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
68121         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
68122         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
68123         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
68124         Likewise.
68125         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
68126         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
68127         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
68128         * csu/defs.awk: Remove file.
68129         * sysdeps/generic/initfini.c: Likewise.
68130         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
68131         variable.
68132         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
68133         Likewise.
68135 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68137         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
68138         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
68139         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
68140         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
68141         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68142         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
68143         <bits/epoll.h>.
68144         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
68145         (__EPOLL_PACKED): Define to empty if not defined by
68146         <bits/epoll.h>.
68147         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
68148         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68149         bits/epoll.h.
68151 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68153         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
68154         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
68155         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
68156         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
68157         <bits/timerfd.h>.
68158         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
68159         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68160         bits/timerfd.h.
68162 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68164         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
68165         in C locale.
68166         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68167         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
68168         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
68169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68171 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
68173         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68174         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
68176 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
68178         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
68179         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
68180         defined.
68181         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
68182         Likewise.
68183         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
68184         entry for 2.16.
68186 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
68188         * math/w_acos.c: Use non-signaling floating-point comparisons.
68189         * math/w_acosf.c: Likewise.
68190         * math/w_acosh.c: Likewise.
68191         * math/w_acoshf.c: Likewise.
68192         * math/w_acoshl.c: Likewise.
68193         * math/w_acosl.c: Likewise.
68194         * math/w_asin.c: Likewise.
68195         * math/w_asinf.c: Likewise.
68196         * math/w_asinl.c: Likewise.
68197         * math/w_atanh.c: Likewise.
68198         * math/w_atanhf.c: Likewise.
68199         * math/w_atanhl.c: Likewise.
68200         * math/w_exp2.c: Likewise.
68201         * math/w_exp2f.c: Likewise.
68202         * math/w_exp2l.c: Likewise.
68203         * math/w_j0.c: Likewise.
68204         * math/w_j0f.c: Likewise.
68205         * math/w_j0l.c: Likewise.
68206         * math/w_j1.c: Likewise.
68207         * math/w_j1f.c: Likewise.
68208         * math/w_j1l.c: Likewise.
68209         * math/w_jn.c: Likewise.
68210         * math/w_jnf.c: Likewise.
68211         * math/w_log.c: Likewise.
68212         * math/w_log10.c: Likewise.
68213         * math/w_log10f.c: Likewise.
68214         * math/w_log10l.c: Likewise.
68215         * math/w_log2.c: Likewise.
68216         * math/w_log2f.c: Likewise.
68217         * math/w_log2l.c: Likewise.
68218         * math/w_logf.c: Likewise.
68219         * math/w_logl.c: Likewise.
68220         * math/w_sqrt.c: Likewise.
68221         * math/w_sqrtf.c: Likewise.
68222         * math/w_sqrtl.c: Likewise.
68223         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68224         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
68225         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68226         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
68227         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
68229 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68231         [BZ #9739]
68232         * manual/string.texi (strnlen): Use correct parameter name in
68233         equivalent expression.
68235 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68237         [BZ #11174]
68238         * manual/users.texi (seteuid): Consistently use neweuid for
68239         argument name.
68241 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68243         [BZ #13704]
68244         * manual/nss.texi (Services in the NSS configuration): Correct
68245         list of services in example configuration file.
68247 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
68249         [BZ #11322]
68250         * manual/arith.texi: Remove statements about negative zero
68251         behaving identically to zero.
68253 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
68255         [BZ #5993]
68256         * manual/install.texi: Do not document upgrading from libc5.
68258 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
68260         [BZ #4596]
68261         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
68263 2012-02-18  David S. Miller  <davem@davemloft.net>
68265         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
68266         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
68267         %o7 across the call.
68268         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
68269         instead.
68270         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
68271         SETUP_PIC_REG_LEAF.
68272         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68273         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
68274         * sysdeps/sparc/crtn.S: Likewise.
68276 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
68278         * aout/Makefile: Remove.
68280 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
68282         [BZ #13058]
68283         * manual/examples/argp-ex1.c (main): Format definition in GNU
68284         style.
68285         * manual/examples/argp-ex2.c (main): Likewise.
68286         * manual/examples/argp-ex3.c (main): Likewise.
68287         * manual/examples/argp-ex4.c (main): Likewise.
68288         * manual/examples/longopt.c (main): Use new-style prototype
68289         definition.
68290         * manual/examples/strncat.c (main): Specify return type and use
68291         (void) for arguments.
68292         * manual/examples/subopt.c (main): Use char **argv argument.
68294 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68296         [BZ #5077]
68297         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
68298         rounding modes.
68300 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
68302         [BZ #6907]
68303         * manual/string.texi (strchr): Change when strchrnul is
68304         recommended.
68306 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
68308         [BZ #174]
68309         * manual/locale.texi (setlocale): Document LOCPATH.
68311 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68313         [BZ #10210]
68314         * manual/process.texi (execle): Move @dots{} before last argument.
68316 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
68318         [BZ #12047]
68319         * manual/charset.texi (Generic Charset Conversion): Fix typo
68320         (LC_TYPE -> LC_CTYPE).
68322 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
68324         [BZ #5805]
68325         * manual/arith.texi (scalbn): Use @var{} on parameter names.
68326         (scalbnf): Likewise.
68327         (scalbnl): Likewise.
68328         (scalbln): Likewise.
68329         (scalblnf): Likewise.
68330         (scalblnl): Likewise.
68331         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
68332         (vwarnx): Likewise.
68333         (verr): Likewise.
68334         (verrx): Likewise.
68335         * manual/filesys.texi (telldir): Use braces around return type.
68336         * manual/llio.texi (mmap): Add space after comma.
68337         (mmap64): Likewise.
68338         * manual/math.texi (jn): Use @var{} on parameter names.
68339         (jnf): Likewise.
68340         (jnl): Likewise.
68341         (yn): Likewise.
68342         (ynf): Likewise.
68343         (ynl): Likewise.
68344         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
68345         line.
68346         * manual/resource.texi (ulimit): Use @dots{} instead of literal
68347         "...".
68348         (sched_get_priority_min): Remove semicolon on @deftypefun line.
68349         (sched_get_priority_max): Likewise.
68350         * manual/signal.texi (sigvec): Add space after comma.
68351         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
68352         names.
68353         (if_indextoname): Likewise.
68354         (if_freenameindex): Likewise.
68355         (sendto): Use ',' instead of '.' in prototype.
68356         * manual/startup.texi (syscall): Use @dots{} instead of literal
68357         "...".
68358         * manual/stdio.texi (__fpending): Separate initial words of
68359         paragraph from @deftypefun line.
68360         * manual/syslog.texi (syslog): Use @dots{} instead of literal
68361         "...".
68362         (vsyslog): Use @var{} on parameter names.
68363         * manual/terminal.texi (stty): Use @var{} on parameter names.
68364         * manual/users.texi (getutmp): Use @var{} on parameter names.
68365         (getutmpx): Likewise.
68367 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68369         [BZ #6884]
68370         * manual/stdio.texi (fopen): Fix typos in description of
68371         ",ccs=STRING".
68373 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
68375         [BZ #4026]
68376         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
68377         get clock_id definition.
68379 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
68381         [BZ #4822]
68382         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
68383         (madvise): Cast every argument to void on its own.
68385 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68387         [BZ #9902]
68388         * manual/startup.texi (Exit Status): Fix typo.
68390 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68392         [BZ #10140]
68393         * manual/examples/argp-ex1.c: Include <stdlib.h>.
68394         * manual/examples/argp-ex2.c: Likewise.
68395         * manual/examples/argp-ex3.c: Likewise.
68397 2012-02-16  Richard Henderson  <rth@redhat.com>
68399         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
68400         * sysdeps/s390/s390-32/initfini.c: Remove.
68401         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
68402         * sysdeps/s390/s390-64/initfini.c: Remove.
68404 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
68406         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
68407         compiler output for sysdeps/generic/initfini.c.
68408         * sysdeps/sh/elf/initfini.c: Remove file.
68410 2012-02-16  David S. Miller  <davem@davemloft.net>
68412         [BZ #11494]
68413         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
68415         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
68416         * sysdeps/sparc/crti.S: New file.
68417         * sysdeps/sparc/crtn.S: New file.
68418         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
68419         * sysdeps/sparc/sparc64/Makefile: Likewise.
68421 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
68423         [BZ #3335]
68424         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
68426 2012-02-15  Roland McGrath  <roland@hack.frob.com>
68428         [BZ #4822]
68429         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
68431         * mach/devstream.c (cookie_io_functions_t): Macro removed.
68432         (write, read, close): Likewise.
68433         Patch by Aurelien Jarno <aurelien@aurel32.net>.
68435 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
68437         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
68438         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
68439         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
68440         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
68441         <bits/signalfd.h>.
68442         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
68443         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68444         bits/signalfd.h.
68446 2012-02-14  Marek Polacek  <polacek@redhat.com>
68448         * sysdeps/x86_64/crti.S: New file.
68449         * sysdeps/x86_64/crtn.S: New file.
68450         * sysdeps/x86_64/elf/initfini.c: Remove file.
68452 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
68454         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
68455         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
68456         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
68457         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
68458         <bits/inotify.h>.
68459         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
68460         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68461         bits/inotify.h.
68463 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
68465         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
68466         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
68467         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
68468         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
68469         <bits/eventfd.h>.
68470         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
68471         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68472         bits/eventfd.h.
68474 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
68476         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
68477         __feraiseexcept instead of feraiseexcept.
68479         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
68480         nanosleep invocations.
68481         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
68482         strings, and add error checking for a nanosleep invocations.
68484 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
68486         Replace FSF snail mail address with URLs, as per GNU coding standards.
68487         Most of the snail mail addresses were wrong anyway, and omitting
68488         them makes the source code easier to maintain.  Almost all of the
68489         changes are to license notices and to locale LC_IDENTIFICATION
68490         addresses, except for this one:
68491         * manual/libc.texinfo: In "Published by", give the FSF's URL,
68492         not its snail mail address.
68494 2012-02-09  Richard Henderson  <rth@twiddle.net>
68496         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
68497         of kernel-features.h.
68499         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
68501 2012-02-08  Marek Polacek  <polacek@redhat.com>
68503         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
68504         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
68505         * sysdeps/gnu/_G_config.h: Likewise.
68506         * sysdeps/generic/_G_config.h: Likewise.
68508 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
68510         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
68511         tests.
68512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68514         * sysdeps/powerpc/powerpc32/crti.S: New file.
68515         * sysdeps/powerpc/powerpc32/crtn.S: New file.
68516         * sysdeps/powerpc/powerpc64/crti.S: New file.
68517         * sysdeps/powerpc/powerpc64/crtn.S: New file.
68519         * Makeconfig (have-initfini): Don't set.
68520         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
68521         * configure.in (nopic_initfini): Don't substitute.
68522         * config.h.in (HAVE_INITFINI): Don't #undef.
68523         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
68524         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
68526 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
68528         Support crti.S and crtn.S provided directly by architectures.
68529         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
68530         [crti.S in sysdirs] (omit-deps): Likewise.
68531         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
68532         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
68533         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
68534         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
68535         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
68536         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
68537         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
68538         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
68539         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
68540         compiler output for sysdeps/generic/initfini.c.
68541         * sysdeps/i386/elf/Makefile: Remove file.
68542         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
68544 2012-02-07  Marek Polacek  <polacek@redhat.com>
68546         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
68547         * sysdeps/gnu/_G_config.h: Likewise.
68548         * sysdeps/mach/hurd/_G_config.h: Likewise.
68550 2012-02-07  Marek Polacek  <polacek@redhat.com>
68552         * math/Makefile (tests): Add tst-CMPLX2.
68553         * math/tst-CMPLX2.c: New file.
68555 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
68557         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68559         * math/libm-test.inc (jn_test): Add missing L suffix.
68561 2012-02-06  Marek Polacek  <polacek@redhat.com>
68563         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
68564         * sysdeps/i386/fpu/e_powf.S: Likewise.
68565         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68566         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
68567         * sysdeps/i386/fpu/e_acosh.S: Likewise.
68568         * sysdeps/i386/fpu/e_pow.S: Likewise.
68569         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
68570         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68571         * sysdeps/i386/fpu/s_expm1.S: Likewise.
68572         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
68573         * sysdeps/i386/fpu/e_log2.S: Likewise.
68574         * sysdeps/i386/fpu/e_log2l.S: Likewise.
68575         * sysdeps/i386/fpu/e_scalb.S: Likewise.
68576         * sysdeps/i386/fpu/e_powl.S: Likewise.
68577         * sysdeps/i386/fpu/s_log1p.S: Likewise.
68578         * sysdeps/i386/fpu/e_log10f.S: Likewise.
68579         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
68580         * sysdeps/i386/fpu/e_logl.S: Likewise.
68581         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
68582         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
68583         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
68584         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
68585         * sysdeps/i386/fpu/e_log2f.S: Likewise.
68586         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68587         * sysdeps/i386/fpu/e_log.S: Likewise.
68588         * sysdeps/i386/fpu/s_cexp.S: Likewise.
68589         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68590         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
68591         * sysdeps/i386/fpu/e_logf.S: Likewise.
68592         * sysdeps/i386/fpu/e_log10l.S: Likewise.
68593         * sysdeps/i386/fpu/e_atanh.S: Likewise.
68594         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
68595         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
68596         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
68597         * sysdeps/i386/fpu/e_log10.S: Likewise.
68598         * sysdeps/i386/fpu/s_frexp.S: Likewise.
68599         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68600         * sysdeps/i386/fpu/s_asinh.S: Likewise.
68601         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
68602         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68603         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
68604         * sysdeps/i386/asm-syntax.h: Likewise.
68605         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68606         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68607         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68608         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
68609         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
68610         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68611         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
68612         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
68613         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68614         * sysdeps/powerpc/sysdep.h: Likewise.
68615         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
68616         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68618 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
68620         [BZ #411]
68621         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
68623 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
68625         * sysdeps/i386/sysdep.h: Include <features.h>.
68626         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
68627         version.
68629 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
68631         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
68632         Define.
68633         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
68634         LOAD_PIC_REG_STR.
68636 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68638         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
68639         (SETUP_PIC_REG): Use GET_PC_THUNK.
68640         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
68641         macro.
68643 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68645         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
68646         for non-PIC compilation.
68647         (SETUP_PIC_REG): Add .p2align directive.
68648         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
68649         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
68650         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
68651         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
68652         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
68653         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
68654         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
68655         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
68656         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
68657         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
68658         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
68659         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
68660         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
68661         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
68662         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
68663         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
68664         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
68665         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
68666         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
68667         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
68668         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
68669         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
68670         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
68671         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
68672         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
68673         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
68674         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
68675         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
68676         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
68677         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
68678         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
68679         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
68680         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
68681         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
68682         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
68683         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
68684         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
68685         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
68686         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
68687         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
68688         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
68690 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68692         * math/tst-CMPLX.c: Include <stdio.h>.
68694 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
68696         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
68697         float.
68698         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
68699         * sysdeps/sparc/bits/mathdef.h: Likewise.
68701 2012-01-31  Marek Polacek  <polacek@redhat.com>
68703         * libio/libio.h: Don't define _PARAMS.
68704         * locale/programs/config.h: Don't define PARAMS.
68705         * stdlib/strtol_l.c: Likewise.
68706         (__strtol_l): Remove PARAMS from the prototype.
68708 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
68710         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
68711         names.  Just use the correct names.  Remove unnecessary wrapper
68712         functions.
68713         * malloc/arena.c: Likewise.
68714         * malloc/hooks.c: Likewise.
68716         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
68717         ARENA_TEST says not to.  Simplify test for creation of a new arena.
68718         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
68720 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
68722         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
68723         into tail calls.
68724         (update_get_addr): New function.
68725         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
68726         GET_ADDR_MODULE parameter.
68728 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
68730         * crypt/cert.c: Remove __STDC__ conditionals.
68731         * crypt/crypt-entry.c: Likewise.
68732         * crypt/crypt_util.c: Likewise.
68733         * libio/filedoalloc.c: Likewise.
68734         * libio/fileops.c: Likewise.
68735         * libio/genops.c: Likewise.
68736         * libio/iofclose.c: Likewise.
68737         * libio/iofdopen.c: Likewise.
68738         * libio/iofopen.c: Likewise.
68739         * libio/iofopen64.c: Likewise.
68740         * libio/iogetdelim.c: Likewise.
68741         * libio/iopopen.c: Likewise.
68742         * libio/obprintf.c: Likewise.
68743         * libio/oldfileops.c: Likewise.
68744         * libio/oldiofclose.c: Likewise.
68745         * libio/oldiofdopen.c: Likewise.
68746         * libio/oldiofopen.c: Likewise.
68747         * libio/oldiopopen.c: Likewise.
68748         * libio/wfiledoalloc.c: Likewise.
68749         * libio/wgenops.c: Likewise.
68750         * locale/programs/xmalloc.c: Likewise.
68751         * misc/syslog.c: Likewise.
68752         * stdio-common/xbug.c: Likewise.
68753         * string/memchr.c: Likewise.
68754         * string/memcmp.c: Likewise.
68755         * string/memrchr.c: Likewise.
68756         * string/rawmemchr.c: Likewise.
68757         * sysdeps/posix/getcwd.c: Likewise.
68758         * time/strftime_l.c: Likewise.
68760 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
68762         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
68763         * config.make.in (config-cflags-sse2avx): Define.
68764         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
68765         Fix typo.
68767 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
68769         * scripts/config.guess: Update from upstream config git repository.
68770         * scripts/config.sub: Likewise.
68772 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
68774         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
68775         (EM_NUM): Update.
68776         (R_TILEPRO_*, R_TILEGX_*): New macros.
68778         * scripts/firstversions.awk: Fix bug in version range handling.
68780         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
68782         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
68784         * include/sys/epoll.h: New file.
68785         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
68786         libc_hidden_def.
68788 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
68790         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
68791         Avoid unnecessary __WORDSIZE == 64 test.
68792         (fmaxf): Use VEX format if possible.
68793         (fmax): Likewise.
68794         (fminf): Likewise.
68795         (fmin): Likewise.
68797         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
68798         * math/math_private.h: Remove libc_fegetround* and
68799         libc_fesetround*.
68800         * sysdeps/i386/configure.in: Check for -msse2avx.
68801         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
68802         also if SSE2AVX is defined.
68803         Remove libc_fegetround* and libc_fesetround*.
68804         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
68805         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
68806         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
68807         of HAS_YMM_USABLE.
68808         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68809         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68810         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68811         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68812         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68814         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
68816 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68818         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
68819         size is not set.
68820         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
68822 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
68824         [BZ #13618]
68825         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
68826         relocation.
68827         * Makeconfig (libm): Define.
68828         * elf/Makefile: Add rules to build and run tst-relsort1.
68829         * elf/tst-relsort1.c: New file.
68830         * elf/tst-relsort1mod1.c: New file.
68831         * elf/tst-relsort1mod2.c: New file.
68833 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
68835         * math/s_ldexp.c: Remove __STDC__ conditionals.
68836         * math/s_ldexpf.c: Likewise.
68837         * math/s_ldexpl.c: Likewise.
68838         * math/s_nextafter.c: Likewise.
68839         * math/s_nexttowardf.c: Likewise.
68840         * math/s_significand.c: Likewise.
68841         * math/s_significandf.c: Likewise.
68842         * math/s_significandl.c: Likewise.
68843         * math/w_jnl.c: Likewise.
68844         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
68845         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68846         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
68847         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
68848         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
68849         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
68850         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
68851         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
68852         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
68853         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
68854         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
68855         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68856         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68857         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
68858         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
68859         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
68860         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
68861         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
68862         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
68863         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68864         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68865         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68866         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68867         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68868         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68869         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68870         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68871         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68872         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68873         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68874         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68875         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68876         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68877         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68878         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68879         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68880         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68881         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68882         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68883         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68884         * sysdeps/ieee754/k_standard.c: Likewise.
68885         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68886         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68887         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68888         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68889         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68890         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68891         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68892         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
68893         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
68894         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
68895         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
68896         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
68897         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
68898         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
68899         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
68900         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
68901         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
68902         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
68903         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
68904         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
68905         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
68906         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
68907         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
68908         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
68909         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
68910         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
68911         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68912         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68913         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68914         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
68915         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
68916         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
68917         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
68918         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
68919         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
68920         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
68921         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
68922         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
68923         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
68924         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
68925         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
68926         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
68927         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
68928         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
68929         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
68930         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
68931         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
68932         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
68933         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
68934         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
68935         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
68936         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
68937         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
68938         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
68939         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
68940         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
68941         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
68942         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68943         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68944         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68945         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
68946         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
68947         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
68948         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
68949         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
68950         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
68951         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
68952         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
68953         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
68954         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
68955         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
68956         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
68957         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
68958         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
68959         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
68960         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
68961         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
68962         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
68963         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
68964         * sysdeps/ieee754/s_matherr.c: Likewise.
68965         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
68966         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
68967         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
68968         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
68970 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
68972         * crypt/md5.h: Remove __STDC__ conditionals.
68973         * libio/libioP.h: Likewise.
68974         * locale/programs/config.h: Likewise.
68975         * sysdeps/generic/sysdep.h: Likewise.
68976         * sysdeps/i386/asm-syntax.h: Likewise.
68977         * sysdeps/s390/asm-syntax.h: Likewise.
68978         * sysdeps/unix/sysdep.h: Likewise.
68979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
68980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
68982 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
68984         * libio/libio.h: Remove __STDC__ conditionals.
68985         * malloc/obstack.h: Likewise.
68986         * math/complex.h: Likewise.
68987         * math/math.h: Likewise.
68988         * sysdeps/generic/_G_config.h: Likewise.
68989         * sysdeps/gnu/_G_config.h: Likewise.
68990         * sysdeps/mach/hurd/_G_config.h: Likewise.
68991         * sysdeps/powerpc/bits/mathdef.h: Likewise.
68992         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
68993         * sysdeps/sparc/bits/mathdef.h: Likewise.
68995 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
68997         [BZ #13583]
68998         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
68999         Clean up HAS_* macros.
69000         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
69001         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
69002         possible.
69003         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
69004         HAS_AVX.
69005         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69006         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69007         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69008         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69009         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69011 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
69013         * elf/tst-unique3.cc (gets): Remove declaration.
69014         * elf/tst-unique3lib.cc (gets): Likewise.
69015         * elf/tst-unique3lib2.cc (gets): Likewise.
69016         * elf/tst-unique4.cc (gets): Likewise.
69018 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
69020         * include/stdio.h: Add C++ protection.  Add gets declarations and
69021         definitions.
69022         * debug/tst-chk1.c: Don't declare gets here.
69023         * stdio-common/tst-gets.c: Likewise.
69025 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
69027         * posix/glob: Remove directory.
69029 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
69031         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
69033 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
69035         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
69036         of the non-standard EPFNOSUPPORT.
69038 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69040         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
69041         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
69042         ANYWHERE set to 1 only on KERN_NO_SPACE error.
69044 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
69046         * wcsmbs/uchar.h: Test __STDC_VERSION__.
69048 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
69050         * nscd/aicache.c (addhstaiX): Do not cache negative results of
69051         transient errors.
69052         * nscd/grpcache.c (cache_addgr): Likewise.
69053         * nscd/hstcache.c (cache_addhst): Likewise.
69054         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69055         * nscd/pwdcache.c (cache_addpw): Likewise.
69056         * nscd/servicescache.c (cache_addserv): Likewise.
69058 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
69060         * malloc/malloc.c: Various cleanups.
69061         * malloc/hooks.c: Likewise.
69063         * stdlib/Makefile (tests): Add bug-fmtmsg1.
69064         * stdlib/bug-fmtmsg1.c: New file.
69066         * stdlib/fmtmsg.c (init): Add missing unlock.
69067         Patch by Peng Haitao <penght@cn.fujitsu.com>.
69069 2012-01-12  Marek Polacek  <polacek@redhat.com>
69071         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
69072         and _GNU_SOURCE.
69074 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
69076         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
69077         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
69078         macro to ensure uniqueness of label name.
69079         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
69080         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
69082 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
69084         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
69086         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
69087         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
69088         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
69089         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
69091 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
69093         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
69095         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
69096         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
69097         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
69099         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
69101         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
69102         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
69103         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
69104         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
69106         * math/bits/math-finite.h: Add ldexp support.
69108 2012-01-10  Marek Polacek  <polacek@redhat.com>
69110         * locale/programs/localedef.h (show_archive_content): Add noreturn
69111         attribute.
69113 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
69115         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
69117 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69119         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
69121         * io/Makefile (headers): Add bits/poll2.h.
69123 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
69125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
69126         typo #include statement.
69128 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69130         * include/sys/cdefs.h: Define __attribute_alloc_size.
69131         * catgets/gencat.c: Add alloc_size attribute and apply consistently
69132         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
69133         * elf/pldd.c: Likewise.
69134         * iconv/iconv_charmap.c: Likewise.
69135         * iconv/iconvconfig.c: Likewise.
69136         * iconv/strtab.c: Likewise.
69137         * locale/programs/locale.c: Likewise.
69138         * locale/programs/localedef.h: Likewise.
69139         * locale/programs/simple-hash.c: Likewise.
69140         * nscd/nscd.h: Likewise.
69141         * nss/makedb.c: Likewise.
69142         * sysdeps/generic/ldconfig.h: Likewise.
69143         * locale/programs/localedef.c: Remove xmalloc prototype.
69144         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
69146 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69148         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
69149         appropriate.
69151 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69153         * math/Makefile (tests): Add tst-CMPLX.
69154         * math/tst-CMPLX.c: New file.
69156         * math/complex.h (CMPLXL): Fix typo.
69158         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
69159         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
69160         GLIBC_2.16.
69161         * debug/tst-chk1.c: Add poll and ppoll tests.
69162         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
69163         * include/sys/poll.h: Add hidden proto for ppoll.
69164         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
69165         * sysdeps/mach/hurd/ppoll.c: Likewise.
69166         * io/ppoll.c: Likewise.
69167         * debug/poll_chk.c: New file.
69168         * debug/ppoll_chk.c: New file.
69169         * include/bits/poll2.h: New file.
69170         * io/bits/poll2.h: New file.
69172         [BZ #1350]
69173         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
69175         * configure.in: static is always set to yes.  Remove.
69176         * config.make.in: Don't set build-static.
69177         * Makeconfig: Remove use of build-static.
69178         * dlfcn/Makefile: Likewise.
69179         * elf/Makefile: Likewise.
69180         * math/Makefile: Likewise.
69181         * misc/Makefile: Likewise.
69182         * nptl/Makefile: Likewise.
69183         * sysdeps/mach/hurd/Makefile: Likewise.
69185         * configure.in: PWD_P is not used anymore.
69186         * config.make.in: Remove PWD_P entry.
69188         * configure.in: Remove last remnants of RANLIB.
69189         No need to check for signed size_t anymore.
69190         Don't set libc_commonpagesize and libc_relro_required here for Alpha
69191         and IA-64.
69192         Remove __builtin_expect test because we require at least gcc 3.4.
69193         * aclocal.m4: Likewise.
69195         * wcsmbs/mbrtoc16.c: Implement using towc function.
69196         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
69197         * wcsmbs/wcsmbsload.c: Likewise.
69198         * iconv/gconv_simple.c: Likewise.
69199         * iconv/gconv_int.h: Likewise.
69200         * iconv/gconv_builtin.h: Likewise.
69201         * iconv/iconv_prog.c: Remove CHAR16 handling.
69203         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
69205         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
69207         * configure.in: Remove --with-elf and --enable-bounded options.
69208         Dont set base_machine for ia64.  More non-ELF conditions removed.
69209         Remove testing and setting of leading underscore information.
69210         * config.make.in (build-bounded): Set to no.
69211         * config.h.in: Remove NO_UNDERSCORES entry.
69212         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
69213         them.
69214         * csu/start.c: Remove !NO_UNDERSCORE code.
69215         * locale/localeinfo.h: Likewise.
69216         * sysdeps/generic/machine-gmon.h: Likewise.
69217         * sysdeps/generic/sysdep.h: Likewise.
69218         * sysdeps/i386/sysdep.h: Likewise.
69219         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
69220         * sysdeps/mach/sysdep.h: Likewise.
69221         * sysdeps/s390/s390-32/sysdep.h: Likewise.
69222         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69223         * sysdeps/sh/sysdep.h: Likewise.
69224         * sysdeps/sparc/sparc32/alloca.S: Likewise.
69225         * sysdeps/unix/i386/sysdep.S: Likewise.
69226         * sysdeps/unix/sparc/start.c: Likewise.
69227         * sysdeps/unix/sparc/sysdep.S: Likewise.
69228         * sysdeps/unix/sparc/sysdep.h: Likewise.
69229         * sysdeps/unix/start.c: Likewise.
69230         * sysdeps/unix/x86_64/sysdep.S: Likewise.
69231         * sysdeps/x86_64/sysdep.h: Likewise.
69233 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
69235         [BZ #13553]
69236         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
69237         for non-gcc.
69238         * argp/argp-fmtstream.h: Use const instead __const.
69239         * argp/argp.h: Likewise.
69240         * assert/assert.h: Likewise.
69241         * bits/fenv.h: Likewise.
69242         * bits/sched.h: Likewise.
69243         * bits/sigset.h: Likewise.
69244         * bits/sigthread.h: Likewise.
69245         * catgets/nl_types.h: Likewise.
69246         * conform/data/pthread.h-data: Likewise.
69247         * crypt/crypt-private.h: Likewise.
69248         * crypt/crypt.h: Likewise.
69249         * crypt/crypt_util.c: Likewise.
69250         * ctype/ctype.h: Likewise.
69251         * debug/execinfo.h: Likewise.
69252         * debug/mbsnrtowcs_chk.c: Likewise.
69253         * debug/mbsrtowcs_chk.c: Likewise.
69254         * debug/wcsnrtombs_chk.c: Likewise.
69255         * debug/wcsrtombs_chk.c: Likewise.
69256         * debug/wcstombs_chk.c: Likewise.
69257         * dirent/dirent.h: Likewise.
69258         * dlfcn/dlfcn.h: Likewise.
69259         * elf/neededtest4.c: Likewise.
69260         * grp/grp.h: Likewise.
69261         * gshadow/gshadow.h: Likewise.
69262         * iconv/gconv.h: Likewise.
69263         * iconv/gconv_int.h: Likewise.
69264         * iconv/gconv_simple.c: Likewise.
69265         * iconv/iconv.h: Likewise.
69266         * iconv/loop.c: Likewise.
69267         * iconv/skeleton.c: Likewise.
69268         * include/aio.h: Likewise.
69269         * include/aliases.h: Likewise.
69270         * include/argz.h: Likewise.
69271         * include/arpa/inet.h: Likewise.
69272         * include/assert.h: Likewise.
69273         * include/dirent.h: Likewise.
69274         * include/dlfcn.h: Likewise.
69275         * include/execinfo.h: Likewise.
69276         * include/fcntl.h: Likewise.
69277         * include/fenv.h: Likewise.
69278         * include/glob.h: Likewise.
69279         * include/grp.h: Likewise.
69280         * include/libintl.h: Likewise.
69281         * include/mntent.h: Likewise.
69282         * include/netdb.h: Likewise.
69283         * include/pwd.h: Likewise.
69284         * include/rpc/netdb.h: Likewise.
69285         * include/sched.h: Likewise.
69286         * include/search.h: Likewise.
69287         * include/shadow.h: Likewise.
69288         * include/signal.h: Likewise.
69289         * include/stdio.h: Likewise.
69290         * include/stdlib.h: Likewise.
69291         * include/string.h: Likewise.
69292         * include/sys/socket.h: Likewise.
69293         * include/sys/stat.h: Likewise.
69294         * include/sys/statfs.h: Likewise.
69295         * include/sys/statvfs.h: Likewise.
69296         * include/sys/syslog.h: Likewise.
69297         * include/sys/time.h: Likewise.
69298         * include/sys/uio.h: Likewise.
69299         * include/time.h: Likewise.
69300         * include/unistd.h: Likewise.
69301         * include/utmp.h: Likewise.
69302         * include/wchar.h: Likewise.
69303         * include/wctype.h: Likewise.
69304         * inet/aliases.h: Likewise.
69305         * inet/arpa/inet.h: Likewise.
69306         * inet/netinet/ether.h: Likewise.
69307         * inet/netinet/in.h: Likewise.
69308         * intl/libintl.h: Likewise.
69309         * io/bits/fcntl2.h: Likewise.
69310         * io/fcntl.h: Likewise.
69311         * io/ftw.h: Likewise.
69312         * io/sys/poll.h: Likewise.
69313         * io/sys/stat.h: Likewise.
69314         * io/sys/statfs.h: Likewise.
69315         * io/sys/statvfs.h: Likewise.
69316         * io/utime.h: Likewise.
69317         * libio/bits/stdio.h: Likewise.
69318         * libio/bits/stdio2.h: Likewise.
69319         * libio/libio.h: Likewise.
69320         * libio/libioP.h: Likewise.
69321         * libio/stdio.h: Likewise.
69322         * locale/lc-ctype.c: Likewise.
69323         * locale/locale.h: Likewise.
69324         * login/utmp.h: Likewise.
69325         * malloc/arena.c: Likewise.
69326         * malloc/malloc.c: Likewise.
69327         * malloc/malloc.h: Likewise.
69328         * malloc/mcheck.c: Likewise.
69329         * malloc/mtrace.c: Likewise.
69330         * math/bits/mathcalls.h: Likewise.
69331         * math/fenv.h: Likewise.
69332         * math/math_private.h: Likewise.
69333         * misc/bits/error.h: Likewise.
69334         * misc/bits/syslog.h: Likewise.
69335         * misc/err.h: Likewise.
69336         * misc/error.h: Likewise.
69337         * misc/fstab.h: Likewise.
69338         * misc/mntent.h: Likewise.
69339         * misc/regexp.h: Likewise.
69340         * misc/search.h: Likewise.
69341         * misc/sgtty.h: Likewise.
69342         * misc/sys/mman.h: Likewise.
69343         * misc/sys/syslog.h: Likewise.
69344         * misc/sys/uio.h: Likewise.
69345         * misc/sys/xattr.h: Likewise.
69346         * misc/ttyent.h: Likewise.
69347         * nis/rpcsvc/ypclnt.h: Likewise.
69348         * nss/nss.h: Likewise.
69349         * posix/bits/unistd.h: Likewise.
69350         * posix/fnmatch.h: Likewise.
69351         * posix/glob.h: Likewise.
69352         * posix/sched.h: Likewise.
69353         * posix/spawn.h: Likewise.
69354         * posix/sys/wait.h: Likewise.
69355         * posix/unistd.h: Likewise.
69356         * posix/wordexp.h: Likewise.
69357         * pwd/pwd.h: Likewise.
69358         * resolv/netdb.h: Likewise.
69359         * resource/sys/resource.h: Likewise.
69360         * rt/aio.h: Likewise.
69361         * rt/bits/mqueue2.h: Likewise.
69362         * rt/mqueue.h: Likewise.
69363         * shadow/shadow.h: Likewise.
69364         * signal/signal.h: Likewise.
69365         * socket/send.c: Likewise.
69366         * socket/sendto.c: Likewise.
69367         * socket/sys/socket.h: Likewise.
69368         * stdio-common/printf.h: Likewise.
69369         * stdlib/bits/stdlib.h: Likewise.
69370         * stdlib/fmtmsg.h: Likewise.
69371         * stdlib/monetary.h: Likewise.
69372         * stdlib/stdlib.h: Likewise.
69373         * stdlib/ucontext.h: Likewise.
69374         * streams/stropts.h: Likewise.
69375         * string/argz.h: Likewise.
69376         * string/bits/string2.h: Likewise.
69377         * string/string.h: Likewise.
69378         * string/strings.h: Likewise.
69379         * sunrpc/rpc/auth.h: Likewise.
69380         * sunrpc/rpc/auth_des.h: Likewise.
69381         * sunrpc/rpc/clnt.h: Likewise.
69382         * sunrpc/rpc/netdb.h: Likewise.
69383         * sunrpc/rpc/pmap_clnt.h: Likewise.
69384         * sunrpc/rpc/xdr.h: Likewise.
69385         * sysdeps/generic/inttypes.h: Likewise.
69386         * sysdeps/generic/net/if.h: Likewise.
69387         * sysdeps/generic/sys/swap.h: Likewise.
69388         * sysdeps/gnu/net/if.h: Likewise.
69389         * sysdeps/gnu/utmpx.h: Likewise.
69390         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
69391         * sysdeps/i386/i486/bits/string.h: Likewise.
69392         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
69393         * sysdeps/s390/bits/string.h: Likewise.
69394         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
69395         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
69396         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
69397         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
69398         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
69399         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
69400         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
69401         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
69402         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
69403         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
69404         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
69405         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
69406         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
69407         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
69408         * sysdeps/unix/sysv/linux/readv.c: Likewise.
69409         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
69410         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
69411         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69412         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
69413         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
69414         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
69415         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
69416         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
69417         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
69418         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
69419         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
69420         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
69421         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69422         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
69423         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
69424         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
69425         * sysvipc/sys/ipc.h: Likewise.
69426         * sysvipc/sys/msg.h: Likewise.
69427         * sysvipc/sys/sem.h: Likewise.
69428         * sysvipc/sys/shm.h: Likewise.
69429         * termios/termios.h: Likewise.
69430         * time/sys/time.h: Likewise.
69431         * time/time.h: Likewise.
69432         * wcsmbs/bits/wchar2.h: Likewise.
69433         * wcsmbs/uchar.h: Likewise.
69434         * wcsmbs/wchar.h: Likewise.
69435         * wctype/wctype.h: Likewise.
69437         [BZ #13551]
69438         * Makeconfig: Remove all but ELF support including AIX support.
69439         * Makerules: Likewise.
69440         * config.h.in: Likewise.
69441         * config.make.in: Likewise.
69442         * configure: Likewise.
69443         * configure.in: Likewise.
69444         * csu/Makefile: Likewise.
69445         * csu/version.c: Likewise.
69446         * debug/Makefile: Likewise.
69447         * dlfcn/Makefile: Likewise.
69448         * elf/Makefile: Likewise.
69449         * extra-lib.mk: Likewise.
69450         * iconv/Makefile: Likewise.
69451         * include/libc-symbols.h: Likewise.
69452         * include/shlib-compat.h: Likewise.
69453         * resolv/Makefile: Likewise.
69454         * resolv/res_libc.c: Likewise.
69455         * rt/Makefile: Likewise.
69456         * sysdeps/i386/asm-syntax.h: Likewise.
69457         * sysdeps/i386/sysdep.h: Likewise.
69458         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
69459         * sysdeps/mach/sysdep.h: Likewise.
69460         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
69461         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
69462         * sysdeps/s390/asm-syntax.h: Likewise.
69463         * sysdeps/s390/s390-32/sysdep.h: Likewise.
69464         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69465         * sysdeps/sh/sysdep.h: Likewise.
69466         * sysdeps/unix/sparc/sysdep.h: Likewise.
69467         * sysdeps/wordsize-32/divdi3.c: Likewise.
69468         * sysdeps/x86_64/sysdep.h: Likewise.
69470         * argp/Versions: Remove _argp_unlock_xxx.
69472         [BZ #13559]
69473         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
69474         * abilist/libBrokenLocale.abilist: Likewise.
69475         * abilist/libanl.abilist: Likewise.
69476         * abilist/libc.abilist: Likewise.
69477         * abilist/libcrypt.abilist: Likewise.
69478         * abilist/libdl.abilist: Likewise.
69479         * abilist/libm.abilist: Likewise.
69480         * abilist/libnsl.abilist: Likewise.
69481         * abilist/libpthread.abilist: Likewise.
69482         * abilist/libresolv.abilist: Likewise.
69483         * abilist/librt.abilist: Likewise.
69484         * abilist/libthread_db.abilist: Likewise.
69485         * abilist/libutil.abilist: Likewise.
69486         * abilist/libnss_db.abilist: New file.
69488         * scripts/abilist.awk: Add support for indirect functions.
69490         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
69492         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
69494         * shlib-versions: Remove entries for ports architectures.
69496         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
69497         files in ports.
69498         * elf/stackguard-macros.h: Remove support for IA-64.
69499         * elf/tst-auditmod1.c: Likewise.
69500         * sysdeps/generic/ldsodefs.h: Likewise.
69502         * sysdeps/unix/sysv/linux/configure.in: Ports should define
69503         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
69504         configure files.
69506         [BZ #13552]
69507         * configure.in: Remove --enable-omitfp support.
69508         * FAQ.in: Adjust.
69509         * config.make.in: Likewise.
69510         * Makeconfig: Likewise.
69511         * manual/install.texi: Likewise.
69513         In case anyone cares, the IA-64 architecture could move to ports.
69514         * sysdeps/ia64/*: Removed.
69515         * sysdeps/unix/sysv/linux/ia64/*: Removed.
69516         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
69518         [BZ #13555]
69519         * configure.in: Remove entries for unsupported architectures.
69521         [BZ #13533]
69522         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
69523         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
69524         routines.
69525         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
69526         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
69527         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
69528         fall back to using wcrtomb.
69529         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
69530         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
69531         renaming.
69532         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
69533         * wcsmbs/tst-c16c32-1.c: New file.
69535         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
69536         local variable.
69538         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
69540         * elf/tst-unique3.cc: Add explicit declaration of gets.
69541         * elf/tst-unique3lib.cc: Likewise.
69542         * elf/tst-unique3lib2.cc: Likewise.
69543         * elf/tst-unique4.cc: Likewise.
69545         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
69547 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
69549         [BZ #13566]
69550         * assert/assert.h (static_assert): Don't define for C++.
69551         * libio/stdio.h (gets): Do declare for C++ <= C++11.
69552         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
69554 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
69556         * iconv/loop.c (single loop): Fix assertion in storing of
69557         remaining bytes.
69559         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
69561 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
69563         * posix/getconf.c: Update copyright year.
69564         * nss/getent.c: Likewise.
69565         * nss/makedb.c: Likewise.
69566         * iconv/iconvconfig.c: Likewise.
69567         * iconv/iconv_prog.c: Likewise.
69568         * elf/ldconfig.c: Likewise.
69569         * elf/pldd.c: Likewise.
69570         * elf/sotruss.ksh: Likewise.
69571         * catgets/gencat.c: Likewise.
69572         * csu/version.c: Likewise.
69573         * elf/ldd.bash.in: Likewise.
69574         * elf/sprof.c (print_version): Likewise.
69575         * locale/programs/locale.c: Likewise.
69576         * locale/programs/localedef.c: Likewise.
69577         * login/programs/pt_chown.c: Likewise.
69578         * nscd/nscd.c (print_version): Likewise.
69579         * debug/xtrace.sh: Likewise.
69580         * malloc/memusage.sh: Likewise.
69581         * malloc/mtrace.pl: Likewise.
69582         * debug/catchsegv.sh: Likewise.
69584 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
69586         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
69587         pure attribute.
69589 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
69591         [BZ #13533]
69592         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
69593         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
69594         transformations.
69595         * iconv/gconv_int.h: Likewise.
69596         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
69597         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
69598         from libc for GLIBC_2.16.
69599         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
69600         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
69601         * wcsmbs/uchar.h: Really define mbstate_t.
69602         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
69603         * wcsmbs/c16rtomb.c: New file.
69604         * wcsmbs/mbrtoc16.c: New file.
69605         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
69606         for C/POSIX locale.
69607         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
69608         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
69610         * wcsmbs/wchar.h: Add missing __restrict.
69612 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
69614         [BZ #13532]
69615         * time/Makefile (routines): Add timespec_get.
69616         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
69617         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
69618         timespec for ISO C11.
69619         * time/timespec_get.c: New file.
69620         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
69621         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
69623         [BZ #13531]
69624         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
69625         * stdlib/stdlib.h: Declare aligned_alloc.
69626         * Versions.def: Add GLIBC_2.16 for libc.
69627         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
69629         [BZ 13527]
69630         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
69631         ISO C11.
69633         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
69634         code.
69636         [BZ #13528]
69637         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
69639         [BZ #13529]
69640         * assert/assert.h (static_assert): Define.
69642         * version.h: Update for 2.16 development version.
69644         [BZ #13526]
69645         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
69646         _ISOC11_SOURCE.
69648         * version.h (RELEASE): Bump for 2.15 release.
69649         * include/features.h (__GLIBC_MINOR__): Bump to 15.
69651         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
69652         Patch by Marek Polacek <mpolacek@redhat.com>.
69654         * bits/byteswap.h: Protect long long constants with __extension__.
69655         * sysdeps/i386/bits/byteswap.h: Likewise.
69656         * sysdeps/ia64/bits/byteswap.h: Likewise.
69657         * sysdeps/s390/bits/byteswap.h: Likewise.
69658         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69660 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69662         [BZ #13540]
69663         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
69664         destination buffer.
69665         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
69667 2011-12-23  Marek Polacek  <polacek@redhat.com>
69669         * elf/dl-addr.c (determine_info): Add inline keyword.
69670         * elf/tst-auditmod4b.c (check_avx): Likewise.
69671         * elf/tst-auditmod6b.c (check_avx): Likewise.
69672         * elf/tst-auditmod6c.c (check_avx): Likewise.
69673         * elf/tst-auditmod7b.c (check_avx): Likewise.
69675 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
69677         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
69678         !__SSE_MATH__.
69680 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69682         [BZ #13540]
69683         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
69684         processing for last bytes.
69686 2011-08-06  Bruno Haible  <bruno@clisp.org>
69688         [BZ #13061]
69689         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
69690         U+0385, not to U+1FEE.
69692         [BZ #13062]
69693         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
69694         entry for U+00A5 U+0301.
69696 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
69698         [BZ #13166]
69699         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
69700         buffer for the output is too small.
69702         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
69703         optimization.
69705         [BZ #13185]
69706         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
69707         SSE flags if possible.
69709 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69711         [BZ #13540]
69712         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
69713         processing for last bytes.
69715 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
69717         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
69718         (syscall-list-default-options, syscall-list-default-condition)
69719         (syscall-list-includes): Define.
69720         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
69721         list of ABIs and options and #if conditions for each ABI.  Do not
69722         handle common syscalls between ABIs specially.
69723         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
69724         Remove.
69725         (syscall-list-variants, syscall-list-32bit-options)
69726         (syscall-list-32bit-condition, syscall-list-64bit-options)
69727         (syscall-list-64bit-condition): Define.
69728         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
69729         (syscall-list-variants, syscall-list-32bit-options)
69730         (syscall-list-32bit-condition, syscall-list-64bit-options)
69731         (syscall-list-64bit-condition): Define.
69732         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
69733         Remove.
69734         (syscall-list-variants, syscall-list-32bit-options)
69735         (syscall-list-32bit-condition, syscall-list-64bit-options)
69736         (syscall-list-64bit-condition): Define.
69737         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
69738         Remove.
69739         (syscall-list-variants, syscall-list-32bit-options)
69740         (syscall-list-32bit-condition, syscall-list-64bit-options)
69741         (syscall-list-64bit-condition): Define.
69743 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
69745         * locale/iso-639.def: Add brx entry.
69747         [BZ #13328]
69748         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
69749         Proposed by Mariusz_Cukr <marcukr@op.pl>.
69751         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
69752         __feraiseexcept_renamed.
69754 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
69756         [BZ #13538]
69757         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
69758         EPOLLET with unsigned values.
69759         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69760         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
69762         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
69763         to large cancellation.
69764         * math/s_cacoshf.c: Likewise.
69765         * math/s_cacoshl.c: Likewise.
69767 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
69769         [BZ #13305]
69770         [BZ #12786]
69771         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
69772         * math/s_cacoshf.c: Likewise.
69773         * math/s_cacoshl.c: Likewise.
69775 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
69777         [BZ #13439]
69778         * iconv/gconv.h: Define __GCONV_SWAP.
69779         * iconvdata/unicode.c: The swap bit must be stored in __flags.
69780         * iconvdata/utf-16.c: Likewise.
69781         * iconvdata/utf-32.c: Likewise.
69783 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
69785         [BZ #13524]
69786         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
69787         numerator after shifting it by one limb.
69789 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
69791         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
69792         under [__USE_EXTERN_INLINES].
69794 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69796         [BZ #13446]
69797         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
69799 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69801         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
69802         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
69803         optimized code.
69804         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
69805         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
69806         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
69807         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
69808         for strncasecmp/strncasecmp_l compilation.
69809         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
69810         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
69812 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
69814         [BZ #13484]
69815         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
69816         of __asm__.
69818 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69820         [BZ #13506]
69821         * time/tzfile.c (__tzfile_read): Check values from file header.
69823 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
69825         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
69826         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
69827         * powerpc/powerpc32/dl-start.S: Likewise.
69828         * powerpc/powerpc32/elf/start.S: Likewise.
69829         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
69830         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
69831         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
69832         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
69833         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
69834         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
69835         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
69836         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
69837         * powerpc/powerpc32/fpu/s_round.S: Likewise.
69838         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
69839         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
69840         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
69841         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
69842         * powerpc/powerpc32/memset.S: Likewise.
69843         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
69844         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
69845         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
69846         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
69847         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
69848         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
69849         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
69850         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
69851         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
69852         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
69853         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
69854         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
69855         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
69857 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69859         * math/libm-test.inc: Added more nearbyint tests.
69860         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
69861         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
69862         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
69863         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
69865 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
69867         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
69868         FD_CLOEXEC.
69870 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69872         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
69873         Add wcscpy-ssse3 wcscpy-c.
69874         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
69875         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
69876         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
69877         * sysdeps/x86_64/wcschr.S: New file.
69878         * sysdeps/x86_64/wcsrchr.S: New file.
69879         * string/test-strcmp.c: Remove checking of wcscmp function for
69880         wrong alignments.
69881         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
69882         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
69883         wcsrchr-sse2 wcsrchr-c.
69884         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
69885         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
69886         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
69887         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
69888         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
69889         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
69890         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
69891         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
69892         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
69893         * wcsmbc/wcschr.c (WCSCHR): New macro.
69895 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69897         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
69898         * wcsmbs/test-wcsrchr.c: New file.
69899         * string/test-strrchr.c: Add wcsrchr support.
69900         (WIDE): New macro.
69901         * wcsmbs/test-wcscpy.c: New file.
69902         * string/test-strcpy.c: Add wcscpy support.
69903         (WIDE): New macro.
69905 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
69907         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
69908         the inner loop.
69910 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
69912         [BZ #13472]
69913         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
69915 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
69917         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
69918         Minor optimizations.
69920         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
69921         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
69922         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
69924 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
69926         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
69927         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
69928         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
69929         for gcc to avoid warnings.
69930         * inet/Makefile (tests): Add tst-checks.
69931         * inet/tst-checks.c: New file.
69933         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
69934         warning.
69936         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
69937         __wmemcmp_sse2.
69939         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
69940         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
69942         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
69944 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
69946         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
69947         problem.
69949         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
69951 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
69953         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
69954         conditional on GCC version.
69955         (__arch_compare_and_exchange_val_8_acq)
69956         (__arch_compare_and_exchange_val_16_acq)
69957         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
69958         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
69959         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
69961 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
69963         * sysdeps/sh/backtrace.c: New file.
69965 2011-12-02  Andreas Schwab  <schwab@redhat.com>
69967         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
69968         parenthesis.
69970 2011-12-01  Andreas Schwab  <schwab@redhat.com>
69972         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
69973         falling back to utime.
69975 2011-11-30  Andreas Schwab  <schwab@redhat.com>
69977         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
69978         expectations for float.
69980 2011-11-29  Andreas Schwab  <schwab@redhat.com>
69982         * locale/weight.h (findidx): Add parameter len.
69983         * locale/weightwc.h (findidx): Likewise.
69984         * posix/fnmatch_loop.c (FCT): Adjust caller.
69985         * posix/regcomp.c (build_equiv_class): Likewise.
69986         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
69987         * posix/regexec.c (check_node_accept_bytes): Likewise.
69988         * string/strcoll_l.c (STRCOLL): Likewise.
69989         * string/strxfrm_l.c (STRXFRM): Likewise.
69991 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
69993         * Makefile.in: Remove CVSOPT handling.
69994         * configure.in: Remove use of AC_REVISION.
69995         * iconvdata/Makefile (distribute): No need to filter out CVS.
69996         * scripts/list-sources.sh: Remove CVS, subversion and monotone
69997         handling.
69999 2011-11-16  Andreas Schwab  <schwab@redhat.com>
70001         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
70002         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
70003         [USE_AS_STRNCASECMP_L]: Likewise.
70004         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
70005         NO_TLS_DIRECT_SEG_REFS.
70006         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
70007         Fix argument offsets for non-PIC.
70008         [USE_AS_STRNCASECMP_L]: Likewise.
70009         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
70010         NO_TLS_DIRECT_SEG_REFS.
70012 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
70014         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
70015         O_CLOEXEC.
70016         * locale/loadlocale.c (_nl_load_locale): Likewise.
70018 2011-11-15  Andreas Schwab  <schwab@redhat.com>
70020         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
70021         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
70022         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
70023         (SYSCALL_GETTIME): Set errno on error.
70025         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
70026         count references to noai6ai_cached.
70028 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
70030         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
70032         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
70033         FD_CLOEXEC for /proc/self/maps.
70035         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
70036         FD_CLOEXEC for /proc/meminfo.
70038         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
70039         gai.conf.
70041         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
70042         FD_CLOEXEC for given file.
70044         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
70046         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
70047         FD_CLOEXEC for /etc/hosts.
70048         (_gethtent): Likewise.
70050         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
70052         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
70053         cancellation and set FD_CLOEXEC for /etc/netgroup.
70055         * nss/nss_files/files-key.c (search): Don't allow cancellation when
70056         reading /etc/publickey.
70058         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
70059         allow cancellation when reading /etc/group.
70061         * nss/nss_files/files-alias.c (internal_setent): Don't allow
70062         cancellation.
70063         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
70065         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
70066         when using data file.
70068         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
70070         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
70071         (write_nis_obj): Use "c" and "e" in fopen.
70073         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
70075         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
70077         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
70079         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
70081         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
70082         locale.alias.
70084         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
70086         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
70088         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
70090         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
70091         file parsing and set FD_CLOEXEC.
70093 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
70095         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
70097 2011-11-14  Andreas Schwab  <schwab@redhat.com>
70099         * malloc/arena.c (arena_get2): Don't call reused_arena when
70100         _int_new_arena failed.
70102 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
70104         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
70105         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
70106         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
70107         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70108         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70109         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
70110         to compile strcasecmp and strncasecmp.
70111         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
70112         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
70114         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
70116 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
70118         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
70119         locale-defines.sym to gen-as-const-headers.
70120         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
70121         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
70122         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
70123         to compile strcasecmp and strncasecmp.
70124         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
70125         strcasecmp_l and strncasecmp_l.
70126         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
70127         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
70128         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
70129         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
70130         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
70131         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
70132         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
70133         * sysdeps/i386/i686/multiarch/strncase.S: New file.
70134         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
70135         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
70136         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
70138 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
70140         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
70141         result of SYSDEP_GETTIME_CPU to retval.
70142         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
70143         parameter list to macro.  Remove trailing semicolon.  Adjust users.
70145         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
70146         variable.
70148         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
70149         mantissa words.
70150         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
70152         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
70153         from unused variable.
70155         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
70156         DWARF definitions.
70157         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
70158         for assembling.
70160         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
70161         over namespaces.
70163         * sunrpc/rpc_prot.c (rejected): Fix case value.
70165         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
70166         unsigned long long int to avoid warnings in shift.
70168         * posix/regex_internal.c (re_string_reconstruct): Actually use result
70169         of use of trans.
70170         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
70171         variable tmp.
70173         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
70174         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
70175         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
70177         * nis/nis_table.c (nis_list): Use variable of correct type for
70178         result of __follow_path call.
70180 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70182         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
70183         of math functions ceil, trunc, floor, round, and sqrt, when
70184         avaliable on the platform.
70185         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
70186         name clash.
70187         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
70188         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
70189         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
70191 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
70193         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
70194         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
70196 2011-11-11  Roland McGrath  <roland@hack.frob.com>
70198         * include/unistd.h: Fix __readlink return type.
70199         Reported by Chris Metcalf <cmetcalf@tilera.com>.
70201 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
70203         * stdlib/ucontext.h: Undo last change for makecontext.
70205 2011-11-11  Andreas Schwab  <schwab@redhat.com>
70207         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
70209         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
70210         * setjmp/setjmp.h: Mark functions as non-leaf.
70211         * setjmp/bits/setjmp2.h: Likewise.
70212         * stdlib/ucontext.h: Likewise.
70214 2011-11-10  Andreas Schwab  <schwab@redhat.com>
70216         * malloc/arena.c (_int_new_arena): Don't increment narenas.
70217         (reused_arena): Don't check arena limit.
70218         (arena_get2): Atomically check arena limit.
70220 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
70222         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
70223         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
70225         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
70226         instructions.
70228 2011-11-07  Andreas Schwab  <schwab@redhat.com>
70230         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
70231         handler when locking.
70233         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
70234         Fix size of allocated buffer.
70236 2011-11-04  Andreas Schwab  <schwab@redhat.com>
70238         [BZ #10103]
70239         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
70240         declarations for long double functions.
70241         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
70243         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
70245 2011-11-03  Andreas Schwab  <schwab@redhat.com>
70247         * nscd/nscd.c (main): Don't start AVC thread until credentials are
70248         installed.
70250         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
70251         is disabled.
70253 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70255         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
70257 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
70259         * include/alloca.h (stackinfo_alloca_round): Define.
70260         (extend_alloca): Use it.
70261         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
70262         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
70263         here.
70265         * scripts/check-local-headers.sh: Ignore libaudit.h.
70267         * nscd/Makefile (extra-objs): Make recursively expanded.
70269 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
70271         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
70272         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
70274         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
70275         * posix/tst-rfc3484-2.c: Likewise.
70276         * posix/tst-rfc3484-3.c: Likewise.
70278         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
70279         process_vm_writev.
70280         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
70281         process_vm_writev.
70282         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
70283         process_vm_writev from libc using GLIBC_2.15 version.
70285         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
70287 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
70289         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
70290         stack usage.
70292 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
70294         [BZ #13367]
70295         * nss/getent.c (initgroups_keys): Show error message in case no group
70296         names are given.
70298         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
70299         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
70300         __bump_nl_timestamp.
70301         * nscd/connections (nscd_init): When host database is served open
70302         netlink socket and request notification about configuration changes.
70303         (main_loop_poll): Track netlink file descriptor and bump timestamp
70304         in case data becomes available.
70305         (main_loop_epoll): Likewise.
70306         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
70307         (database_pers_head): Add extra_data fileds.
70308         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
70309         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
70310         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
70311         Adjust caller.
70312         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
70313         in6ai data, call __free_in6ai.
70314         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
70315         Add -DHAVE_NETLINK.
70316         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
70317         interface information.  Reuse previous data if netlink timestamp
70318         is not changed.
70319         (__bump_nl_timestamp): New function.
70320         (__free_in6ai): New function.
70322 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
70324         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
70325         close_not_cancel_no_status here.
70326         (__check_pf): Reorganize code a bit to not call close twice if OOM.
70328 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
70330         [BZ #13276]
70331         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
70332         return value.
70334         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
70335         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
70336         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
70338 2011-07-03  Andreas Jaeger  <aj@suse.de>
70340         [BZ #10709]
70341         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
70342         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
70343         * math/libm-test.inc (sin_test): Add test case.
70345 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
70347         [BZ #13337]
70348         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
70349         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
70351         * elf/chroot_canon.c (chroot_canon): Cleanups.
70353         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
70355         [BZ #13335]
70356         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
70357         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
70359         * string/test-strchr.c: Make usable for strchrnul testing.
70360         * string/test-strchrnul.c: New file.
70361         * string/Makefile (strop-tests): Add strchrnul.
70363         * po/it.po: Update from translation team.
70364         * po/es.po: Likewise.
70366 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
70368         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
70369         the three constants needed as parameters.  Drop the others.
70370         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
70371         __m128i_strloadu_tolower.
70372         Create and initialize variable zero and use it in all the places
70373         where _mm_setzero_si128 was used.
70375         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
70376         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
70377         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
70378         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
70379         anymore.
70380         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
70381         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
70382         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
70383         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
70384         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
70385         __mpranred, __mptan.
70386         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
70387         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
70388         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
70389         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
70390         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
70391         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
70392         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
70393         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
70394         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
70396 2011-10-28  Andreas Schwab  <schwab@redhat.com>
70398         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
70399         redefine if SHARED.
70400         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
70402         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
70403         wide char related routines to wcsmbs subdir.
70405 2011-10-27  Andreas Schwab  <schwab@redhat.com>
70407         [BZ #13344]
70408         * misc/sys/cdefs.h (__THROWNL): Define.
70409         * posix/unistd.h: Use __THREADNL instead of __THREAD
70410         for memory synchronization functions.
70412 2011-10-26  Roland McGrath  <roland@hack.frob.com>
70414         [BZ #13349]
70415         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
70416         doesn't exist.
70417         * manual/stdio.texi (Obstack Streams): Node removed.
70419 2011-10-26  Andreas Schwab  <schwab@redhat.com>
70421         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
70422         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70423         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70425         * math/math_private.h (math_force_eval): Allow non-addressable
70426         arguments.
70427         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
70429 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70431         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
70432         file is not needed.
70434         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
70435         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
70436         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70437         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70438         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70439         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70440         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70441         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
70442         Add AVX variants.
70443         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
70444         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
70445         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
70446         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
70447         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
70448         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
70449         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
70450         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
70451         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
70452         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
70453         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
70454         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
70455         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
70456         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
70457         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
70458         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
70459         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
70460         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
70461         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
70463         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
70464         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
70466         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
70467         place.  Use VEX encoding when compiling for AVX.
70469 2011-10-25  Andreas Schwab  <schwab@redhat.com>
70471         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
70472         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
70474         * string/test-strchr.c (do_test): Don't generate NUL bytes.
70476 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70478         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
70479         useless if() expression.
70480         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70481         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
70482         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
70483         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70484         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
70485         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70486         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70487         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70488         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
70489         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70490         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70491         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70492         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
70493         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70494         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
70495         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70496         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70497         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70498         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
70500         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
70502 2011-10-25  Andreas Schwab  <schwab@redhat.com>
70504         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
70505         condition.
70506         * elf/dl-fini.c (_dl_sort_fini): Likewise.
70508 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70510         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
70511         .text section.  Avoid duplicate constants.
70512         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70513         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70514         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70515         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70516         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70517         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70518         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70519         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70520         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
70521         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
70522         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
70523         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
70524         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
70525         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
70526         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
70527         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
70528         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
70529         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
70530         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70531         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70532         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70533         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70534         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70535         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
70536         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
70537         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
70538         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
70539         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
70540         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
70541         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
70542         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
70543         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
70544         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
70545         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
70546         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
70547         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
70548         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
70549         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
70550         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
70551         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
70552         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
70553         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
70554         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
70555         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
70556         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
70558 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
70560         * sysdeps/x86_64/dla.h: Move to ...
70561         * sysdeps/x86_64/fpu/dla.h: ...here.
70562         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
70563         situations.  Use __builtin_fma only for gcc 4.6 and up.
70565         * config.make.in: Add have-mfma4 entry.
70566         * configure.in: Substitute libc_cv_cc_fma4.
70567         * math/Makefile (dbl-only-routines): Add sincostab.
70568         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
70569         Use __sincostab not sincos.
70570         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
70571         name is a macro.
70572         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70573         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70574         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70575         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
70576         using __copysign.
70577         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
70578         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
70579         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
70580         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
70581         and __inv.
70582         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
70583         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
70584         __copysign.
70585         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
70586         define aliases when function name is a macro.
70587         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
70588         sysdeps/ieee754/dbl-64/sincos.tbl.
70589         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
70590         fma4-enabled routines.
70591         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
70592         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
70593         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
70594         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
70595         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
70596         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
70597         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
70598         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
70599         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
70600         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
70601         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
70602         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
70603         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
70604         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
70605         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
70606         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
70607         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
70608         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
70609         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
70610         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
70611         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
70612         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
70613         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
70614         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
70615         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
70616         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
70617         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
70618         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
70619         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
70620         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
70622         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
70623         rename.
70624         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
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-24  Andreas Schwab  <schwab@redhat.com>
70635         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
70637 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70639         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
70641         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
70642         prediction.
70643         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
70645         * string/strnlen.c: Don't define STRNLEN, reverse logic.
70646         Remove unused variable magic_bits.
70647         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
70649         * string/strnlen.c: Define and use STRNLEN macro.
70650         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
70651         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
70652         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
70653         * wcsmbs/wcslen.c: Define and use WCSLEN.
70654         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
70655         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
70656         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
70657         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
70658         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
70659         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
70660         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
70662 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70664         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70665         strnlen-sse2-no-bsf.
70666         Rename strlen-no-bsf to strlen-sse2-no-bsf.
70667         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
70668         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
70669         Add strnlen support.
70670         (USE_AS_STRNLEN): New macro.
70671         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
70672         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
70673         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
70674         * sysdeps/x86_64/wcslen.S: New file.
70676 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
70678         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
70679         XMM-moves are used for copying on small sizes.
70681 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70683         * wcsmbs/Makefile (strop-tests): Add wcschr.
70684         * wcsmbs/test-wcschr.c: New file.
70685         * string/test-strchr.c: Update.
70686         Add wcschr support.
70687         (WIDE): New macro.
70689 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70691         * wcsmbs/Makefile (strop-tests): Add wcslen.
70692         * wcsmbs/test-wcslen.c: New file.
70693         * string/test-strlen.c: Update.
70694         Add wcslen support.
70695         (WIDE): New macro.
70697 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70699         * po/it.po: Update from translation team.
70701 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70703         * sysdeps/x86_64/wcscmp.S: Update.
70704         Fix wrong comparison semantics.
70705         wcscmp shall use signed comparison not unsigned.
70706         Don't use substraction to avoid overflow bug.
70707         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
70708         * wcsmbc/wcscmp.c: Likewise.
70709         * string/test-strcmp.c: Likewise.
70710         Add new tests to check cases with negative values.
70712 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70714         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
70715         * sysdeps/x86_64/dla.h: ...here.  New file.
70716         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
70717         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70718         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70719         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70720         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70721         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70722         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70723         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70724         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70726 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
70728         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
70729         __ynl_finite aliases.
70731 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
70733         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70735         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
70736         define DLA_FMA.
70737         [DLA_FMA] (EMULV): Use DLA_FMA.
70738         [DLA_FMA] (MUL12): Use EMULV.
70739         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
70740         that are not needed.
70741         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70742         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70743         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70744         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70745         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70746         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70747         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70749 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
70751         * math/s_nan.c: Undef __nan.
70752         * math/s_nanf.c: Undef __nanf.
70753         * math/s_nanl.c: Undef __nanl.
70754         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
70755         "math_private.h".
70757 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
70759         * math/s_catan.c: Add branch predictions.
70760         * math/s_catanf.c: Likewise.
70761         * math/s_catanh.c: Likewise.
70762         * math/s_catanhf.c: Likewise.
70763         * math/s_catanhl.c: Likewise.
70764         * math/s_catanl.c: Likewise.
70765         * math/s_cexp.c: Likewise.
70766         * math/s_cexpf.c: Likewise.
70767         * math/s_cexpl.c: Likewise.
70768         * math/s_clog.c: Likewise.
70769         * math/s_clog10.c: Likewise.
70770         * math/s_clog10f.c: Likewise.
70771         * math/s_clog10l.c: Likewise.
70772         * math/s_clogf.c: Likewise.
70773         * math/s_clogl.c: Likewise.
70774         * math/s_csqrt.c: Likewise.
70775         * math/s_csqrtf.c: Likewise.
70776         * math/s_csqrtl.c: Likewise.
70777         * math/s_ctanf.c: Likewise.
70778         * math/s_ctanh.c: Likewise.
70779         * math/s_ctanhf.c: Likewise.
70780         * math/s_ctanhl.c: Likewise.
70781         * math/s_ctanl.c: Likewise.
70783         * math/math_private.h: Define __nan, __nanf, __nanl.
70784         * math/s_cacosh.c: Include <math_private.h>.
70785         * math/s_cacoshl.c: Likewise.
70786         * math/s_casinh.c: Likewise.
70787         * math/s_casinhf.c: Likewise.
70788         * math/s_casinhl.c: Likewise.
70789         * math/s_ccos.c: Rely entire on ccosh.
70790         * math/s_ccosf.c: Rely entire on ccoshf.
70791         * math/s_ccosl.c: Rely entirely on ccoshl.
70792         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
70793         Remove tests for FE_INVALID.
70794         * math/s_ccoshf.c: Likewise.
70795         * math/s_ccoshl.c: Likewise.
70796         * math/s_csin.c: Likewise.
70797         * math/s_csinf.c: Likewise.
70798         * math/s_csinh.c Likewise.
70799         * math/s_csinhf.c: Likewise.
70800         * math/s_csinhl.c: Likewise.
70801         * math/s_csinl.c: Likewise.
70802         * math/s_ctan.c: Likewise.
70803         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
70804         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
70805         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
70807 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
70809         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
70810         compilation problems.
70812         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
70813         __builtin_expect.
70815 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
70817         * sysdeps/i386/configure.in: Test for -mfma4 option.
70818         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
70819         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
70820         COMMON_CPUID_INDEX_80000001.
70821         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
70822         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
70823         use it if FMA3 is not supported.
70824         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
70826         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
70827         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
70829 2011-10-20  Andreas Schwab  <schwab@redhat.com>
70831         [BZ #12892]
70832         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
70833         it would create a cycle with a link time dependency.
70835 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
70837         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
70838         instruction.
70839         * string/Makefile (strop-tests): Add rawmemchr.
70840         * string/test-rawmemchr.c: New file.
70842         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
70843         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
70844         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
70845         when compiling str{,n}casecmp and when AVX is available.  Hook up
70846         new optimized code in initializers.
70848 2011-10-19  Andreas Schwab  <schwab@redhat.com>
70850         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
70851         __feraiseexcept instead of feraiseexcept.
70853 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
70855         * math/math_private.h: Define defaults for libc_fetestexcept and
70856         libc_feupdateenv.
70857         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
70858         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
70859         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
70860         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
70861         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70862         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
70863         libc_fetestexcept and libc_feupdateenv.
70865         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
70866         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
70867         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
70868         * sysdeps/x86_64/fpu/math_private.h: Define special version of
70869         libc_feholdexcept_setround.
70871         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
70872         Add s_nearbyint-c and s_nearbyintf-c.
70873         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
70874         nearbyintf inlines.
70875         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
70876         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
70877         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
70878         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
70880         * math/math_private.h: Define defaults for libc_fegetround,
70881         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
70882         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
70883         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
70884         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
70885         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
70886         standard functions.
70887         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
70888         Remove comments and hacks for old compiler versions.
70889         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
70890         libc_fegetround, libc_fesetround, libc_feholdexcept, and
70891         libc_feholdexceptl.
70893 2011-10-18  Andreas Schwab  <schwab@redhat.com>
70895         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
70896         (__feraiseexcept_renamed): Add __NTH.
70897         (feraiseexcept): Add __NTH.  Rename local variables to fix
70898         namespace violations.
70900 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
70902         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
70904         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
70906         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
70907         recently added interfaces.
70908         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
70910         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
70911         about macro parameter expansion.
70913         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
70914         __NO_MATH_INLINES is defined.  Cleanups.
70916         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
70917         and __floorf is target has SSE4.1.
70918         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
70919         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
70920         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
70921         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
70923         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
70924         name.
70925         (floorf): Likewise.
70927         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
70929 2011-10-17  Andreas Schwab  <schwab@redhat.com>
70931         * misc/sys/cdefs.h: Fix last change.
70933         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
70934         database lookup.
70936 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
70938         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
70940         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
70941         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70942         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
70943         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70944         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70945         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
70946         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70947         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70948         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70949         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
70950         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
70951         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
70952         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
70953         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
70954         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
70955         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
70956         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
70957         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
70958         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
70959         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
70960         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
70961         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
70963         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
70964         ceil, ceilf, floor, floorf.
70966         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
70967         Perform IRELATIVE relocations last.
70969         * elf/do-rel.h: Add another parameter nrelative, replacing the
70970         local variable with the same name.  Change name of the function
70971         to end in Rel or Rela (uppercase).
70972         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
70973         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
70974         elf_dynamic_do_##reloc function.
70976 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
70978         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
70979         is sufficient, at least on modern CPUs.
70981         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
70983         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
70984         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
70986         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
70987         __expl_finite.
70988         * math/bits/math-finite.h: Add entries for exp.
70989         * math/e_expl.c: Add __*_finite alias.
70990         * sysdeps/i386/fpu/e_exp.S: Likewise.
70991         * sysdeps/i386/fpu/e_expf.S: Likewise.
70992         * sysdeps/i386/fpu/e_expl.c: Likewise.
70993         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70994         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
70995         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
70996         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
70997         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
70998         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
70999         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71001         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
71002         is sufficient, at least on modern CPUs.
71004         * ctype/ctype-info.c (__ctype_init): Define.
71005         * include/ctype.h (__ctype_init): Declare.
71006         (__ctype_b_loc): The variable is always initialized.
71007         (__ctype_toupper_loc): Likewise.
71008         (__ctype_tolower_loc): Likewise.
71009         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
71010         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
71012 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
71014         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
71016         * configure.in: Also look in $cxxmachine/include for C++ system
71017         headers.
71019 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71021         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
71022         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
71023         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
71024         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
71025         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
71026         (USE_AS_WMEMCMP): New macro.
71027         Fixing indents.
71028         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
71029         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
71030         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
71031         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
71032         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71033         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
71034         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
71035         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
71036         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
71037         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
71038         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
71039         (USE_AS_WMEMCMP): New macro.
71040         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
71041         * sysdeps/string/test-memcmp.c: Update.
71042         Fix simple_wmemcmp.
71043         Add new tests.
71044         * wcsmbs/wmemcmp.c: Update.
71045         (WMEMCMP): New macro.
71046         Fix overflow bug.
71048 2011-10-12  Andreas Jaeger  <aj@suse.de>
71050         [BZ #13268]
71051         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
71053 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
71055         * libio/iofwide.c (do_length): Avoid warning.
71057         * ctype/ctype.h (__isctype_f): Add missing __THROW.
71059 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
71061         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
71063         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
71064         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
71065         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
71066         * sysdeps/i386/i686/fpu/e_log.S: New file.
71067         * sysdeps/i386/i686/fpu/e_logf.S: New file.
71068         * sysdeps/i386/i686/fpu/e_logl.S: New file.
71070         * ctype/ctype.h: Add support for inlined isXXX functions when
71071         compiling C++ code.
71073 2011-10-14  Andreas Schwab  <schwab@redhat.com>
71075         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71077         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
71079 2011-10-13  Roland McGrath  <roland@hack.frob.com>
71081         [BZ #13291]
71082         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
71084 2011-10-13  Andreas Schwab  <schwab@redhat.com>
71086         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
71087         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
71088         feraiseexcept.
71090         * sysdeps/x86_64/memrchr.S: Check for zero size.
71092         * string/stratcliff.c: Add memrchr tests.
71094 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71096         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71097         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
71098         rawmemchr-sse2 rawmemchr-sse2-bsf.
71099         * sysdeps/i386/i686/multiarch/memchr.S: New file.
71100         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
71101         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
71102         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
71103         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
71104         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
71105         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
71106         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
71107         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
71108         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
71109         * string/memrchr.c (MEMRCHR): New macro.
71111 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
71113         Add integration with gcc's -ffinite-math-only and optimize wrapper
71114         functions in libm.
71115         * Versions.def: Define GLIBC_2.15 version for libm.
71116         * math/Makefile (headers): Add bits/math-finite.h.
71117         * math/bits/math-finite.h: New file.
71118         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
71119         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
71120         * math/e_acoshl.c: Add __*_finite alias.
71121         * math/e_acosl.c: Likewise.
71122         * math/e_asinl.c: Likewise.
71123         * math/e_atan2l.c: Likewise.
71124         * math/e_atanhl.c: Likewise.
71125         * math/e_coshl.c: Likewise.
71126         * math/e_exp10.c: Likewise.
71127         * math/e_exp10f.c: Likewise.
71128         * math/e_exp10l.c: Likewise.
71129         * math/e_exp2l.c: Likewise.
71130         * math/e_fmodl.c: Likewise.
71131         * math/e_gammal_r.c: Likewise.
71132         * math/e_hypotl.c: Likewise.
71133         * math/e_j0l.c: Likewise.
71134         * math/e_j1l.c: Likewise.
71135         * math/e_jnl.c: Likewise.
71136         * math/e_lgammal_r.c: Likewise.
71137         * math/e_log10l.c: Likewise.
71138         * math/e_log2l.c: Likewise.
71139         * math/e_logl.c: Likewise.
71140         * math/e_powl.c: Likewise.
71141         * math/e_sinhl.c: Likewise.
71142         * math/e_sqrtl.c: Likewise.
71143         * math/e_scalb.c: Completely rewritten and optimized.
71144         * math/e_scalbf.c: Likewise.
71145         * math/e_scalbl.c: Likewise.
71146         * math/w_acos.c: Likewise.
71147         * math/w_acosf.c: Likewise.
71148         * math/w_acosl.c: Likewise.
71149         * math/w_acosh.c: Likewise.
71150         * math/w_acoshf.c: Likewise.
71151         * math/w_acoshl.c: Likewise.
71152         * math/w_asin.c: Likewise.
71153         * math/w_asinf.c: Likewise.
71154         * math/w_asinl.c: Likewise.
71155         * math/w_atan2.c: Likewise.
71156         * math/w_atan2f.c: Likewise.
71157         * math/w_atan2l.c: Likewise.
71158         * math/w_atanh.c: Likewise.
71159         * math/w_atanhf.c: Likewise.
71160         * math/w_atanhl.c: Likewise.
71161         * math/w_exp10.c: Likewise.
71162         * math/w_exp10f.c: Likewise.
71163         * math/w_exp10l.c: Likewise.
71164         * math/w_fmod.c: Likewise.
71165         * math/w_fmodf.c: Likewise.
71166         * math/w_fmodl.c: Likewise.
71167         * math/w_j0.c: Likewise.
71168         * math/w_j0f.c: Likewise.
71169         * math/w_j0l.c: Likewise.
71170         * math/w_j1.c: Likewise.
71171         * math/w_j1f.c: Likewise.
71172         * math/w_j1l.c: Likewise.
71173         * math/w_jn.c: Likewise.
71174         * math/w_jnf.c: Likewise.
71175         * math/w_log.c: Likewise.
71176         * math/w_logf.c: Likewise.
71177         * math/w_logl.c: Likewise.
71178         * math/w_log10.c: Likewise.
71179         * math/w_log10f.c: Likewise.
71180         * math/w_log10l.c: Likewise.
71181         * math/w_log2.c: Likewise.
71182         * math/w_log2f.c: Likewise.
71183         * math/w_log2l.c: Likewise.
71184         * math/w_pow.c: Likewise.
71185         * math/w_powf.c: Likewise.
71186         * math/w_powl.c: Likewise.
71187         * math/w_remainder.c: Likewise.
71188         * math/w_remainderf.c: Likewise.
71189         * math/w_remainderl.c: Likewise.
71190         * math/w_scalb.c: Likewise.
71191         * math/w_scalbf.c: Likewise.
71192         * math/w_scalbl.c: Likewise.
71193         * math/w_sqrt.c: Likewise.
71194         * math/w_sqrtf.c: Likewise.
71195         * math/w_sqrtl.c: Likewise.
71196         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
71197         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
71198         used.
71199         * math/math_private.h: Declare __kernel_standard_f.
71200         * math/w_cosh.c: Remove cruft and optimize a bit.
71201         * math/w_coshf.c: Likewise.
71202         * math/w_coshl.c: Likewise.
71203         * math/w_exp2.c: Likewise.
71204         * math/w_exp2f.c: Likewise.
71205         * math/w_exp2l.c: Likewise.
71206         * math/w_hypot.c: Likewise.
71207         * math/w_hypotf.c: Likewise.
71208         * math/w_hypotl.c: Likewise.
71209         * math/w_lgamma.c: Likewise.
71210         * math/w_lgamma_r.c: Likewise.
71211         * math/w_lgammaf.c: Likewise.
71212         * math/w_lgammaf_r.c: Likewise.
71213         * math/w_lgammal.c: Likewise.
71214         * math/w_lgammal_r.c: Likewise.
71215         * math/w_sinh.c: Likewise.
71216         * math/w_sinhf.c: Likewise.
71217         * math/w_sinhl.c: Likewise.
71218         * math/w_tgamma.c: Likewise.
71219         * math/w_tgammaf.c: Likewise.
71220         * math/w_tgammal.c: Likewise.
71221         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71222         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71223         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
71224         Minor optimizations.  Pretty printing.  Remove cruft.
71225         * sysdeps/i386/fpu/e_acosf.S: Likewise.
71226         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71227         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71228         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71229         * sysdeps/i386/fpu/e_acosl.c: Likewise.
71230         * sysdeps/i386/fpu/e_asin.S: Likewise.
71231         * sysdeps/i386/fpu/e_asinf.S: Likewise.
71232         * sysdeps/i386/fpu/e_atan2.S: Likewise.
71233         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
71234         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
71235         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71236         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71237         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71238         * sysdeps/i386/fpu/e_exp10.S: Likewise.
71239         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
71240         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
71241         * sysdeps/i386/fpu/e_exp2.S: Likewise.
71242         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
71243         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
71244         * sysdeps/i386/fpu/e_fmod.S: Likewise.
71245         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
71246         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
71247         * sysdeps/i386/fpu/e_hypot.S: Likewise.
71248         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
71249         * sysdeps/i386/fpu/e_log.S: Likewise.
71250         * sysdeps/i386/fpu/e_log10.S: Likewise.
71251         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71252         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71253         * sysdeps/i386/fpu/e_log2.S: Likewise.
71254         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71255         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71256         * sysdeps/i386/fpu/e_logf.S: Likewise.
71257         * sysdeps/i386/fpu/e_logl.S: Likewise.
71258         * sysdeps/i386/fpu/e_pow.S: Likewise.
71259         * sysdeps/i386/fpu/e_powf.S: Likewise.
71260         * sysdeps/i386/fpu/e_powl.S: Likewise.
71261         * sysdeps/i386/fpu/e_remainder.S: Likewise.
71262         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
71263         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
71264         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71265         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71266         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71267         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
71268         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
71269         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
71270         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
71271         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71272         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71273         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
71274         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
71275         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
71276         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
71277         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
71278         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71279         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
71280         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
71281         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
71282         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71283         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
71284         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
71285         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71286         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71287         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
71288         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71289         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71290         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
71291         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
71292         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71293         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71294         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
71295         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
71296         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
71297         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
71298         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
71299         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
71300         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71301         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
71302         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71303         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
71304         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
71305         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
71306         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
71307         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
71308         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
71309         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
71310         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
71311         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
71312         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
71313         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
71314         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71315         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
71316         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
71317         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
71318         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
71319         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
71320         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
71321         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
71322         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
71323         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71324         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
71325         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
71326         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
71327         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
71328         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
71329         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
71330         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
71331         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
71332         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71333         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71334         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
71335         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
71336         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
71337         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
71338         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
71339         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
71340         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
71341         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
71342         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
71343         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
71344         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
71345         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71346         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
71347         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
71348         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71349         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
71350         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71351         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
71352         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
71353         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71354         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71355         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
71356         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71357         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
71358         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
71359         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
71360         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71361         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
71362         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
71363         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
71364         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
71365         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
71366         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
71367         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
71368         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
71369         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
71370         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
71371         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
71372         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
71373         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
71374         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71375         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71376         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71377         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71378         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
71379         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71380         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
71381         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
71382         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
71383         (__isnanf): Likewise.
71384         (__isinf_ns): Likewise.
71385         (__isinf_nsf): Likewise.
71386         (__finite): Likewise.
71387         (__finitef): Likewise.
71388         (__ieee754_sqrt): Define as macro.
71389         (__ieee754_sqrtf): Define as macro.
71390         (__ieee754_sqrtl): Define as macro.
71391         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
71392         inlined copy.
71393         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
71394         __FINITE_MATH_ONLY__ consistent.
71395         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
71397 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
71399         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
71400         of rawmemchr.
71402         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
71404 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
71406         * po/ja.po: Update from translation team.
71408 2011-10-08  Roland McGrath  <roland@hack.frob.com>
71410         * locale/programs/locarchive.c (prepare_address_space): New function.
71411         (create_archive, enlarge_archive, open_archive): Use it.
71413         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
71414         inside [SHARED], where it is used.
71416         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
71418         * nss/getent.c (netgroup_keys): Remove unused variable.
71419         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
71421 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
71423         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
71424         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
71425         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
71426         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
71427         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
71428         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
71429         * math/Makefile (libm-calls): Add s_isinf_ns.
71430         * math/divtc3.c: Use __isinf_nsl instead of isinf.
71431         * math/multc3.c: Likewise.
71432         * math/s_casin.c: Likewise.
71433         * math/s_casinf.c: Likewise.
71434         * math/s_casinl.c: Likewise.
71435         * math/s_ccos.c: Likewise.
71436         * math/s_ccosf.c: Likewise.
71437         * math/s_ccosl.c: Likewise.
71438         * math/s_ctan.c: Likewise.
71439         * math/s_ctanf.c: Likewise.
71440         * math/s_ctanh.c: Likewise.
71441         * math/s_ctanhf.c: Likewise.
71442         * math/s_ctanhl.c: Likewise.
71443         * math/s_ctanl.c: Likewise.
71444         * math/w_fmod.c: Likewise.
71445         * math/w_fmodf.c: Likewise.
71446         * math/w_fmodl.c: Likewise.
71447         * math/w_remainder.c: Likewise.
71448         * math/w_remainderf.c: Likewise.
71449         * math/w_remainderl.c: Likewise.
71450         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
71451         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
71452         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
71453         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
71454         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
71455         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
71456         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
71457         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
71459         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
71460         of the number.
71461         * stdio-common/printf_fphex.c: Likewise.
71462         * stdio-common/printf_size.c: Likewise.
71464         * math/e_exp10.c: Include math_private.h using <...> not "...".
71465         * math/e_exp10f.c: Likewise.
71466         * math/e_exp10l.c: Likewise.
71467         * math/e_exp2l.c: Likewise.
71468         * math/e_j0l.c: Likewise.
71469         * math/e_j1l.c: Likewise.
71470         * math/e_jnl.c: Likewise.
71471         * math/e_lgammal_r.c: Likewise.
71472         * math/e_rem_pio2l.c: Likewise.
71473         * math/e_scalb.c: Likewise.
71474         * math/e_scalbf.c: Likewise.
71475         * math/e_scalbl.c: Likewise.
71476         * math/k_cosl.c: Likewise.
71477         * math/k_sinl.c: Likewise.
71478         * math/k_tanl.c: Likewise.
71479         * math/s_cacoshf.c: Likewise.
71480         * math/s_catan.c: Likewise.
71481         * math/s_catanf.c: Likewise.
71482         * math/s_catanh.c: Likewise.
71483         * math/s_catanhf.c: Likewise.
71484         * math/s_catanhl.c: Likewise.
71485         * math/s_catanl.c: Likewise.
71486         * math/s_ccosh.c: Likewise.
71487         * math/s_ccoshf.c: Likewise.
71488         * math/s_ccoshl.c: Likewise.
71489         * math/s_cexp.c: Likewise.
71490         * math/s_cexpf.c: Likewise.
71491         * math/s_cexpl.c: Likewise.
71492         * math/s_clog.c: Likewise.
71493         * math/s_clog10.c: Likewise.
71494         * math/s_clog10f.c: Likewise.
71495         * math/s_clog10l.c: Likewise.
71496         * math/s_clogf.c: Likewise.
71497         * math/s_clogl.c: Likewise.
71498         * math/s_csin.c: Likewise.
71499         * math/s_csinf.c: Likewise.
71500         * math/s_csinh.c: Likewise.
71501         * math/s_csinhf.c: Likewise.
71502         * math/s_csinhl.c: Likewise.
71503         * math/s_csinl.c: Likewise.
71504         * math/s_csqrt.c: Likewise.
71505         * math/s_csqrtf.c: Likewise.
71506         * math/s_csqrtl.c: Likewise.
71507         * math/s_ctan.c: Likewise.
71508         * math/s_ctanf.c: Likewise.
71509         * math/s_ctanh.c: Likewise.
71510         * math/s_ctanhf.c: Likewise.
71511         * math/s_ctanhl.c: Likewise.
71512         * math/s_ctanl.c: Likewise.
71513         * math/s_ldexp.c: Likewise.
71514         * math/s_ldexpf.c: Likewise.
71515         * math/s_ldexpl.c: Likewise.
71516         * math/s_significand.c: Likewise.
71517         * math/s_significandf.c: Likewise.
71518         * math/s_significandl.c: Likewise.
71519         * math/w_acos.c: Likewise.
71520         * math/w_acosf.c: Likewise.
71521         * math/w_acosh.c: Likewise.
71522         * math/w_acoshf.c: Likewise.
71523         * math/w_acoshl.c: Likewise.
71524         * math/w_acosl.c: Likewise.
71525         * math/w_asin.c: Likewise.
71526         * math/w_asinf.c: Likewise.
71527         * math/w_asinl.c: Likewise.
71528         * math/w_atan2.c: Likewise.
71529         * math/w_atan2f.c: Likewise.
71530         * math/w_atan2l.c: Likewise.
71531         * math/w_atanh.c: Likewise.
71532         * math/w_atanhf.c: Likewise.
71533         * math/w_atanhl.c: Likewise.
71534         * math/w_cosh.c: Likewise.
71535         * math/w_coshf.c: Likewise.
71536         * math/w_coshl.c: Likewise.
71537         * math/w_dremf.c: Likewise.
71538         * math/w_exp10.c: Likewise.
71539         * math/w_exp10f.c: Likewise.
71540         * math/w_exp10l.c: Likewise.
71541         * math/w_exp2.c: Likewise.
71542         * math/w_exp2f.c: Likewise.
71543         * math/w_fmod.c: Likewise.
71544         * math/w_fmodf.c: Likewise.
71545         * math/w_fmodl.c: Likewise.
71546         * math/w_hypot.c: Likewise.
71547         * math/w_hypotf.c: Likewise.
71548         * math/w_hypotl.c: Likewise.
71549         * math/w_j0.c: Likewise.
71550         * math/w_j0f.c: Likewise.
71551         * math/w_j0l.c: Likewise.
71552         * math/w_j1.c: Likewise.
71553         * math/w_j1f.c: Likewise.
71554         * math/w_j1l.c: Likewise.
71555         * math/w_jn.c: Likewise.
71556         * math/w_jnf.c: Likewise.
71557         * math/w_jnl.c: Likewise.
71558         * math/w_lgamma.c: Likewise.
71559         * math/w_lgamma_r.c: Likewise.
71560         * math/w_lgammaf.c: Likewise.
71561         * math/w_lgammaf_r.c: Likewise.
71562         * math/w_lgammal.c: Likewise.
71563         * math/w_lgammal_r.c: Likewise.
71564         * math/w_log.c: Likewise.
71565         * math/w_log10.c: Likewise.
71566         * math/w_log10f.c: Likewise.
71567         * math/w_log10l.c: Likewise.
71568         * math/w_log2.c: Likewise.
71569         * math/w_log2f.c: Likewise.
71570         * math/w_log2l.c: Likewise.
71571         * math/w_logf.c: Likewise.
71572         * math/w_logl.c: Likewise.
71573         * math/w_pow.c: Likewise.
71574         * math/w_powf.c: Likewise.
71575         * math/w_powl.c: Likewise.
71576         * math/w_remainder.c: Likewise.
71577         * math/w_remainderf.c: Likewise.
71578         * math/w_remainderl.c: Likewise.
71579         * math/w_scalb.c: Likewise.
71580         * math/w_scalbf.c: Likewise.
71581         * math/w_scalbl.c: Likewise.
71582         * math/w_sinh.c: Likewise.
71583         * math/w_sinhf.c: Likewise.
71584         * math/w_sinhl.c: Likewise.
71585         * math/w_sqrt.c: Likewise.
71586         * math/w_sqrtf.c: Likewise.
71587         * math/w_sqrtl.c: Likewise.
71588         * math/w_tgamma.c: Likewise.
71589         * math/w_tgammaf.c: Likewise.
71590         * math/w_tgammal.c: Likewise.
71592         * po/ja.po: Update from translation team.
71594 2011-09-29  Andreas Jaeger  <aj@suse.de>
71596         [BZ #13179]
71597         * sunrpc/netname.c (netname2host): Fix logic.
71599         [BZ #6779]
71600         [BZ #6783]
71601         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
71602         correctly.
71603         * math/w_remainder.c (__remainder): Likewise.
71604         * math/w_remainderf.c (__remainderf): Likewise.
71605         * math/libm-test.inc (remainder_test): Add test cases.
71607 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71609         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
71610         sdiv_qrnnd.
71612 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
71614         * string/test-memcmp.c: Avoid unncessary #defines.
71615         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
71617 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71619         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
71620         Use new sse2 version for core i3 - i7 as it's faster
71621         than sse42 version.
71622         (bit_Prefer_PMINUB_for_stringop): New.
71623         * sysdeps/x86_64/rawmemchr.S: Update.
71624         Replace with faster SSE2 version.
71625         * sysdeps/x86_64/memrchr.S: New file.
71626         * sysdeps/x86_64/memchr.S: Update.
71627         Replace with faster SSE2 version.
71629 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
71631         * elf/dl-load.c (lose): Add cast to avoid warning.
71633 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
71635         * po/ca.po: Update from translation team.
71637         * inet/getnetgrent_r.c: Hook up nscd.
71638         * nscd/Makefile (routines): Add nscd_netgroup.
71639         (nscd-modules): Add netgroupcache.
71640         (CFLAGS-netgroupcache.c): Define.
71641         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
71642         (cache_search): Add const to second parameter.
71643         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
71644         INNETGR.
71645         (dbs): Add netgrdb entry.
71646         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
71647         (verify_persistent_db): Handle netgrdb.
71648         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
71649         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
71650         GETFDNETGR.
71651         (netgroup_response_header): Define.
71652         (innetgroup_response_header): Define.
71653         (datahead): Add netgroup_response_header and innetgroup_response_header
71654         elements.
71655         * nscd/nscd.conf: Add entries for netgroup cache.
71656         * nscd/nscd.h (dbtype): Add netgrdb.
71657         (_PATH_NSCD_NETGROUP_DB): Define.
71658         (netgroup_iov_disabled): Declare.
71659         (xmalloc, xcalloc, xrealloc): Move declarations here.
71660         (cache_search): Adjust prototype.
71661         Add netgroup-related prototypes.
71662         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
71663         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
71664         (__nscd_innetgr): Declare.
71665         * nscd/selinux.c (perms): Use access_vector_t as element type and
71666         add netgroup-related initializers.
71667         * nscd/netgroupcache.c: New file.
71668         * nscd/nscd_netgroup.c: New file.
71669         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
71670         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
71671         For four parameters use innetgr.
71672         * nss/nss_files/files-init.c: Add definition and callback for netgr.
71673         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
71674         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
71675         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
71677         * nscd/connections.c (register_traced_file): Don't register file
71678         for disabled databases.
71680 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
71682         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
71684         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
71685         from tree and freeing node.
71687 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
71689         * nss/nsswitch.c (__nss_database_lookup): Handle
71690         nss_parse_service_list out of memory case.
71692 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
71694         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
71695         out of memory case.
71697 2011-10-04  Andreas Schwab  <schwab@redhat.com>
71699         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
71700         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
71701         pass it down.
71702         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
71703         elf_machine_rela, elf_machine_lazy_rel.
71704         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
71705         (ELF_DYNAMIC_DO_REL): Likewise.
71706         (ELF_DYNAMIC_DO_RELA): Likewise.
71707         (ELF_DYNAMIC_RELOCATE): Likewise.
71708         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
71709         to ELF_DYNAMIC_DO_REL.
71710         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
71711         (dl_main): In trace mode always set __RTLD_NOIFUNC.
71712         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
71713         elf_machine_rela.
71714         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
71715         skip_ifunc, don't call ifunc function if non-zero.
71716         (elf_machine_rela): Likewise.
71717         (elf_machine_lazy_rel): Likewise.
71718         (elf_machine_lazy_rela): Likewise.
71719         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
71720         (elf_machine_lazy_rel): Likewise.
71721         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
71722         Likewise.
71723         (elf_machine_lazy_rel): Likewise.
71724         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71725         Likewise.
71726         (elf_machine_lazy_rel): Likewise.
71727         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
71728         (elf_machine_lazy_rel): Likewise.
71729         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
71730         (elf_machine_lazy_rel): Likewise.
71731         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
71732         (elf_machine_lazy_rel): Likewise.
71733         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
71734         (elf_machine_lazy_rel): Likewise.
71735         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
71736         (elf_machine_lazy_rel): Likewise.
71737         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
71738         (elf_machine_lazy_rel): Likewise.
71740 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
71742         * nss/nss_files/files-init.c (_nss_files_init): Use static
71743         initialization for all the *_traced_file variables.
71745 2011-09-28  Andreas Schwab  <schwab@redhat.com>
71747         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71749 2011-09-27  Roland McGrath  <roland@hack.frob.com>
71751         [BZ #13226]
71752         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
71754 2011-09-27  Andreas Schwab  <schwab@redhat.com>
71756         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71757         Reread the line before reparsing it.
71759 2011-09-26  Andreas Schwab  <schwab@redhat.com>
71761         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
71763 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
71764             Maxim Kuvyrkov  <maxim@codesourcery.com>
71765             Joseph Myers  <joseph@codesourcery.com>
71767         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
71768         if needed for __stack_chk_guard.
71770 2011-09-19  Roland McGrath  <roland@hack.frob.com>
71772         * sysdeps/posix/spawni.c (script_execute): Always define it.
71773         It will be optimized away if unused.
71774         (maybe_script_execute): New function.
71775         (__spawni): Call it.
71777         * Makerules: Don't include tls.make.
71778         (config-tls): Always set to thread.
71779         * tls.make.c: File removed.
71781 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
71783         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
71784         * config.make.in (CPPFLAGS-config): New substituted variable.
71786 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71788         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
71790         [BZ #13192]
71791         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
71792         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
71794 2011-09-15  Roland McGrath  <roland@hack.frob.com>
71796         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
71797         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
71798         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
71799         (CALL_FAIL): Likewise.
71800         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
71801         (CALL_FAIL): Macro removed.
71802         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
71804 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71806         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
71807         for __FINITE_MATH_ONLY__ == 1.
71809 2011-09-15  Andreas Schwab  <schwab@redhat.com>
71811         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
71812         __ieee754_sqrt instead of sqrt.
71813         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
71814         __ieee754_sqrtf instead of sqrtf.
71815         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
71816         __floorf instead of floorf.
71817         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
71818         __floorf, __truncf instead of floorf, truncf.
71820 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
71822         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
71824         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
71825         __extern_always_inline.
71826         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
71827         32-bit.
71829 2011-09-14  Andreas Schwab  <schwab@redhat.com>
71831         * elf/rtld.c (dl_main): Also relocate in dependency order when
71832         doing symbol dependency testing.
71834 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
71836         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71837         Always define `refsym'.
71839 2011-09-13  Andreas Schwab  <schwab@redhat.com>
71841         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
71842         (__FD_ELT): Renamed from __FDELT.
71843         * misc/bits/select2.h (__FD_ELT): Likewise.
71844         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
71845         __FD_MASK instead of __FDELT, __FDMASK.
71846         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
71847         Likewise.
71848         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
71849         Likewise.
71851         * elf/Makefile (gen-ldd): Fix pattern.
71853         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
71854         (init_tls): Likewise.
71856 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
71858         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
71860 2011-09-12  Andreas Schwab  <schwab@redhat.com>
71862         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
71863         `struct cmsghdr *' instead of `void *'.
71864         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
71865         Likewise.
71867 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
71869         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
71870         if non-absolute.
71871         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
71872         ldd_rewrite_script.
71874 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
71876         * configure.in: Remove --with-tls option.
71877         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
71878         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
71879         out in case it is missing.
71880         * sysdeps/ia64/elf/configure.in: Likewise.
71881         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
71882         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
71883         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
71884         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
71885         * sysdeps/sh/elf/configure.in: Likewise.
71886         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
71887         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71888         * sysdeps/x86_64/elf/configure.in: Likewise.
71889         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
71890         * sysdeps/mach/hurd/tls.h: Likewise.
71892         [BZ #13067]
71893         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
71895         [BZ #13090]
71896         * configure.in: Fix use of AC_INIT.
71898         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
71900 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
71902         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
71903         __set_errno.
71904         * malloc/hooks.c: Likewise.
71906         [BZ #11929]
71907         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
71908         variables statically.
71909         (narenas): Initialize.
71910         (list_lock): Initialize.
71911         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
71912         initializtion of main_arena and list_lock.  Small cleanups.
71913         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
71914         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
71915         Add initializers to main_arena and mp_.
71916         (malloc_state): Remove pagesize member.  Change all users to use
71917         GLRO(dl_pagesize).
71919         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
71920         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
71921         is always initialized.
71923         * malloc/malloc.c: Removed unused configurations and dead code.
71924         * malloc/arena.c: Likewise.
71925         * malloc/hooks.c: Likewise.
71926         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
71928         * include/tls.h: Removed.  USE___THREAD must always be defined.
71929         * bits/libc-tsd.h: Don't handle !USE___THREAD.
71930         * elf/dl-libc.c: Likewise.
71931         * elf/dl-tsd.c: Likewise.
71932         * include/errno.h: Likewise.
71933         * include/netdb.h: Likewise.
71934         * include/resolv.h: Likewise.
71935         * inet/herrno-loc.c: Likewise.
71936         * inet/herrno.c: Likewise.
71937         * malloc/arena.c: Likewise.
71938         * malloc/hooks.c: Likewise.
71939         * malloc/malloc.c: Likewise.
71940         * resolv/res-state.c: Likewise.
71941         * resolv/res_libc.c: Likewise.
71942         * sysdeps/i386/dl-machine.h: Likewise.
71943         * sysdeps/ia64/dl-machine.h: Likewise.
71944         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
71945         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
71946         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
71947         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
71948         * sysdeps/sh/dl-machine.h: Likewise.
71949         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71950         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71951         * sysdeps/unix/i386/sysdep.S: Likewise.
71952         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
71953         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
71954         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
71955         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
71956         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
71957         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
71958         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
71959         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71960         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71961         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
71962         * sysdeps/unix/x86_64/sysdep.S: Likewise.
71963         * sysdeps/x86_64/dl-machine.h: Likewise.
71964         * tls.make.c: Likewise.
71966         * configure.in: Remove --with-__thread option.  Make tests for
71967         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
71968         tls_model attribute fail if no support is available.  Remove
71969         USE_IN_LIBIO.
71970         * Makeconfig: Adjust for dropped configure option.  All features are
71971         now mandatory.
71972         * Makerules: Likewise.
71973         * Versions.def: Likewise.
71974         * argp/argp-fmtstream.c: Likewise.
71975         * argp/argp-fmtstream.h: Likewise.
71976         * argp/argp-help.c: Likewise.
71977         * assert/assert.c: Likewise.
71978         * config.h.in: Likewise.
71979         * config.make.in: Likewise.
71980         * configure: Likewise.
71981         * configure.in: Likewise.
71982         * csu/Versions: Likewise.
71983         * csu/init.c: Likewise.
71984         * elf/tst-audit2.c: Likewise.
71985         * elf/tst-tls10.c: Likewise.
71986         * elf/tst-tls10.h: Likewise.
71987         * elf/tst-tls11.c: Likewise.
71988         * elf/tst-tls12.c: Likewise.
71989         * elf/tst-tls14.c: Likewise.
71990         * elf/tst-tlsmod11.c: Likewise.
71991         * elf/tst-tlsmod12.c: Likewise.
71992         * elf/tst-tlsmod13.c: Likewise.
71993         * elf/tst-tlsmod13a.c: Likewise.
71994         * elf/tst-tlsmod14a.c: Likewise.
71995         * elf/tst-tlsmod15b.c: Likewise.
71996         * elf/tst-tlsmod16a.c: Likewise.
71997         * elf/tst-tlsmod16b.c: Likewise.
71998         * elf/tst-tlsmod7.c: Likewise.
71999         * elf/tst-tlsmod8.c: Likewise.
72000         * elf/tst-tlsmod9.c: Likewise.
72001         * gmon/gmon.c: Likewise.
72002         * grp/fgetgrent_r.c: Likewise.
72003         * grp/putgrent.c: Likewise.
72004         * hurd/fopenport.c: Likewise.
72005         * include/libc-symbols.h: Likewise.
72006         * include/tls.h: Likewise.
72007         * intl/gettextP.h: Likewise.
72008         * intl/loadinfo.h: Likewise.
72009         * locale/global-locale.c: Likewise.
72010         * locale/localeinfo.h: Likewise.
72011         * mach/devstream.c: Likewise.
72012         * malloc/arena.c: Likewise.
72013         * malloc/set-freeres.c: Likewise.
72014         * misc/err.c: Likewise.
72015         * misc/getttyent.c: Likewise.
72016         * misc/mntent_r.c: Likewise.
72017         * posix/getopt.c: Likewise.
72018         * posix/wordexp.c: Likewise.
72019         * pwd/fgetpwent_r.c: Likewise.
72020         * resolv/Versions: Likewise.
72021         * resolv/res_hconf.c: Likewise.
72022         * shadow/fgetspent_r.c: Likewise.
72023         * shadow/putspent.c: Likewise.
72024         * stdio-common/printf_fphex.c: Likewise.
72025         * stdio-common/tmpfile.c: Likewise.
72026         * stdlib/abort.c: Likewise.
72027         * stdlib/fmtmsg.c: Likewise.
72028         * sunrpc/auth_unix.c: Likewise.
72029         * sunrpc/clnt_perr.c: Likewise.
72030         * sunrpc/clnt_tcp.c: Likewise.
72031         * sunrpc/clnt_udp.c: Likewise.
72032         * sunrpc/clnt_unix.c: Likewise.
72033         * sunrpc/openchild.c: Likewise.
72034         * sunrpc/svc_simple.c: Likewise.
72035         * sunrpc/svc_tcp.c: Likewise.
72036         * sunrpc/svc_udp.c: Likewise.
72037         * sunrpc/svc_unix.c: Likewise.
72038         * sunrpc/xdr.c: Likewise.
72039         * sunrpc/xdr_array.c: Likewise.
72040         * sunrpc/xdr_rec.c: Likewise.
72041         * sunrpc/xdr_ref.c: Likewise.
72042         * sunrpc/xdr_stdio.c: Likewise.
72044 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72046         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72048 2011-07-03  Andreas Jaeger  <aj@suse.de>
72050         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
72051         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
72052         regenerate with gen-libm-tests.pl.
72054 2010-05-12  Petr Baudis  <pasky@suse.cz>
72056         [BZ #11589]
72057         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
72058         around j0() zero points by switching to j1().
72059         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72060         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72061         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72062         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72064 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72066         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
72067         instead of 0.
72068         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
72069         instead of 0.
72070         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72071         Patch in part by Pavel Roskin <proski@gnu.org>.
72073         [BZ #13138]
72074         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
72075         realloc.
72076         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
72077         Free memory block if necessary.
72079         [BZ #12847]
72080         * libio/genops.c (INTDEF): For string streams the _lock pointer can
72081         be NULL.  Don't lock in this case.
72083 2011-09-09  Roland McGrath  <roland@hack.frob.com>
72085         * elf/elf.h (ELFOSABI_GNU): New macro.
72086         (ELFOSABI_LINUX): Define to that.
72088 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
72090         * string/strncat.c (strncat): Undef the symbol in case it has been
72091         defined in bits/string.h.
72093 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72095         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
72097         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
72098         link map.
72100 2011-08-17  Andreas Jaeger  <aj@suse.de>
72102         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
72104 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
72105             Ian Lance Taylor  <iant@google.com>
72107         * math/libm-test.inc (lround_test): New testcase.
72108         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
72110 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
72112         * Makefile: Remove support for automatic cvs check-ins.
72113         * Makerules: Likewise.
72114         * config.make.in: Likewise.
72115         * configure.in: Likewise.
72116         * intl/Makefile: Likewise.
72117         * locale/Makefile: Likewise.
72118         * po/Makefile: Likewise.
72119         * posix/Makefile: Likewise.
72120         * sysdeps/gnu/Makefile: Likewise.
72121         * sysdeps/mach/hurd/Makefile: Likewise.
72122         * sysdeps/sparc/sparc32/Makefile: Likewise.
72124         [BZ #13118]
72125         * posix/Makefile (bug-regex32-ENV): Define.
72126         Patch by John Stanley <jpsinthemix@verizon.net>.
72128         * misc/Makefile (headers): Add bits/select2.h.
72129         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
72130         * misc/bits/select2.h: New file.
72131         * include/bits/select2.h: New file.
72132         * debug/Makefile (routines): Add fdelt_chk.
72133         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
72134         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
72135         FD_ISSET.
72136         * debug/fdelt_chk.c: New file.
72138         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
72139         * wcsmbs/test-wmemcmp.c: Likewise.
72140         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
72141         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
72143 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72145         * string/Makefile (strop-tests): Add memcmp.
72146         * string/test-wmemcmp.c: New file.
72147         * string/test-memcmp.c: Add wmemcmp support.
72149 2011-09-08  Roland McGrath  <roland@hack.frob.com>
72151         [BZ #13153]
72152         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
72153         2011-07-19 change.
72155         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
72156         garbage value in a __mach_port_mod_refs call in the cases of the
72157         task-self and thread-self ports.
72159 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72161         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
72163 2011-09-08  Andreas Schwab  <schwab@redhat.com>
72165         * elf/dl-load.c (lose): Check for non-null L.
72167 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
72169         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
72171         * elf/dl-libc.c (dlerror_run): Pass back error code from
72172         dl_catch_error.
72174         [BZ #13123]
72175         * elf/dl-load.c (lose): Free l_origin if it is valid.
72177         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
72178         names.
72179         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
72180         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
72181         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
72182         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
72183         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
72184         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
72186 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72188         * sysdeps/powerpc/fpu/e_hypot.c: New file.
72189         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
72190         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
72191         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
72192         * sysdeps/powerpc/fpu/k_cosf.c: New file.
72193         * sysdeps/powerpc/fpu/k_sinf.c: New file.
72194         * sysdeps/powerpc/fpu/s_cosf.c: New file.
72195         * sysdeps/powerpc/fpu/s_sinf.c: New file.
72196         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
72197         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
72199 2011-08-15  Alan Modra  <amodra@gmail.com>
72201         [BZ #13092]
72202         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
72203         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
72204         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
72205         ppc_mcount to static-only-routines.
72206         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
72207         __mcount_internal.
72208         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
72209         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
72211 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
72213         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
72214         for finite and infinity parameters.
72216 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72218         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
72219         and add nop instructions for throughput optimization.
72220         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72222 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
72224         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
72225         aligned copy for power7 with vector-scalar instructions.
72226         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
72228 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
72230         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
72231         AVX check.
72233 2011-09-07  Andreas Schwab  <schwab@redhat.com>
72235         [BZ #13144]
72236         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
72237         last change.
72239 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
72241         * sysdeps/unix/sysv/linux/x86_64/init-first.c
72242         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
72243         syscall wrapper around clock_gettime in __vdso_clock_gettime.
72244         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
72245         clock_gettime.
72247 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
72249         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
72250         Forgot to demangle the pointer.
72252         * sysdeps/i386/sysdep.h: Define atom_text_section.
72253         * sysdeps/x86_64/sysdep.h: Likewise.
72254         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
72255         section with atom_text_section.
72256         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
72257         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
72258         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
72259         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
72260         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
72262         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
72263         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
72264         already be defined.  Change to take two parameters and don't assign
72265         result to variable.  Adjust all users.
72266         Define INTERNAL_GETTIME if not already defined.
72267         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
72268         call.
72269         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
72270         HAVE_CLOCK_GETTIME_VSYSCALL.
72271         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
72273         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
72274         gettimeofday vsyscall, just use time.
72276 2011-09-06  Andreas Schwab  <schwab@redhat.com>
72278         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
72279         <errno.h>.
72281 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
72283         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
72284         syscall on x86-64.
72285         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
72286         syscall.
72287         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
72288         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
72289         syscall if possible.
72291 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72293         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
72294         e_ident.  Don't pass to find_mapsXX.
72295         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
72297 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72299         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72300         strchr-sse2-no-bsf strrchr-sse2-no-bsf
72301         * sysdeps/x86_64/multiarch/strchr.S: Update.
72302         Check bit_slow_BSF bit.
72303         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
72304         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
72305         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
72307 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72309         [BZ #13134]
72310         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
72311         before glibc 2.15.
72312         (tryshell): Define.
72313         (__spawni): Change last parameter to be flag.  Test
72314         SPAWN_XFLAGS_USE_PATH flag to use path or not.
72315         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
72316         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
72317         * posix/spawni.c: Likewise.
72318         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
72319         * posix/spawnp.c: Likewise.  Change normal version to use
72320         SPAWN_XFLAGS_USE_PATH.
72321         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
72322         SPAWN_XFLAGS_TRY_SHELL.
72324         [BZ #13150]
72325         * posix/glob.h: Remove gcc 1.x support.
72327         [BZ #13068]
72328         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
72330 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72332         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72333         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
72334         strrchr-sse2-bsf
72335         * sysdeps/i386/i686/multiarch/strchr.S: New file.
72336         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
72337         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
72338         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
72339         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
72340         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
72342 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72344         * sysdeps/x86_64/wcscmp.S: New file.
72346         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
72347         wcscmp-c wcscmp-sse2
72348         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
72349         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
72350         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
72351         * wcsmbs/wcscmp.c: Allow renaming.
72353 2011-09-05  David S. Miller  <davem@davemloft.net>
72355         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
72356         stack slot, rather than the struct return pointer slot.
72357         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
72358         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
72359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
72360         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
72362 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72364         * po/ja.po: Update from translation team.
72366         [BZ #13144]
72367         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
72368         kernel in 64-bit binaries.
72370 2011-09-01  David S. Miller  <davem@davemloft.net>
72372         * elf/elf.h (HWCAP_SPARC_*): Move to..
72373         * sysdeps/sparc/sysdep.h: this new file and add new values.
72374         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
72375         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
72376         _DL_HWCAP_COUNT to 24.
72377         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
72378         entries.
72379         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
72380         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
72381         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
72382         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
72383         instead of magic constants.
72384         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72386 2011-08-31  David S. Miller  <davem@davemloft.net>
72388         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
72389         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
72390         Reimplement to do errno handling inline.
72391         (SYSCALL_ERROR_HANDLER): New macro.
72392         (__SYSCALL_STRING): Do not do errno handling in asm.
72393         (__CLONE_SYSCALL_STRING): Delete.
72394         (__INTERNAL_SYSCALL_STRING): Delete.
72395         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
72396         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
72397         (PSEUDO): Reimplement to do errno handling inline.
72398         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
72399         (SYSCALL_ERROR_HANDLER): New macro.
72400         (__SYSCALL_STRING): Do not do errno handling in asm.
72401         (__CLONE_SYSCALL_STRING): Delete.
72402         (__INTERNAL_SYSCALL_STRING): Delete.
72403         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
72404         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
72405         i386.
72406         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
72407         (inline_syscall*): Add 'err' argument.
72408         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
72409         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
72410         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
72411         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
72413         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
72414         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
72416 2011-08-30  Andreas Schwab  <schwab@redhat.com>
72418         * elf/rtld.c (dl_main): Relocate objects in dependency order.
72420 2011-08-29  Jiri Olsa <jolsa@redhat.com>
72422         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
72423         directive.
72425 2011-08-24  David S. Miller  <davem@davemloft.net>
72427         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
72429 2011-08-24  Andreas Schwab  <schwab@redhat.com>
72431         * elf/Makefile: Add rules to build and run unload8 test.
72432         * elf/unload8.c: New file.
72433         * elf/unload8mod1.c: New file.
72434         * elf/unload8mod1x.c: New file.
72435         * elf/unload8mod2.c: New file.
72436         * elf/unload8mod3.c: New file.
72438         * elf/dl-close.c (_dl_close_worker): Reset private search list if
72439         it wasn't used.
72441 2011-08-23  David S. Miller  <davem@davemloft.net>
72443         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
72444         subtract stack bias.
72445         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
72446         %sp not %fp in calculations.
72447         (_JMPBUF_UNWINDS_ADJ): Likewise.
72449         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
72450         (aio_suspend): Call it to force an exception region around the
72451         AIO_MISC_WAIT() invocation.
72453 2011-08-23  Andreas Schwab  <schwab@redhat.com>
72455         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
72456         backslash.
72458 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
72460         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
72461         protection macro.
72462         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
72463         and <dl-machine.h>.
72464         (Elf64_FuncDesc): Remove.
72466 2011-08-22  David S. Miller  <davem@davemloft.net>
72468         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
72469         sigaltstack check, add missing cfi directives.
72470         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
72471         missing cfi directives, and sigaltstack handling.
72473 2011-08-16  Andreas Schwab  <schwab@redhat.com>
72475         [BZ #11724]
72476         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
72477         object is seen twice.
72478         * elf/dl-fini.c (_dl_sort_fini): Likewise.
72480         * elf/Makefile (distribute): Add tst-initorder2.c.
72481         (tests): Add tst-initorder2.
72482         (modules-names): Add tst-initorder2a tst-initorder2b
72483         tst-initorder2c tst-initorder2d.  Add rules to build them.
72484         ($(objpfx)tst-initorder2.out): New rule.
72485         * elf/tst-initorder2.c: New file.
72486         * elf/tst-initorder2.exp: New file.
72488 2011-08-22  Andreas Schwab  <schwab@redhat.com>
72490         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
72492         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
72493         dependencies back to end of function.
72495         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
72496         $(elfobjdir)/ld.so.
72498 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
72500         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
72501         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
72502         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
72503         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
72504         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
72505         of __vdso_gettimeofday.
72506         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
72507         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
72508         attribute_hidden.
72509         (_libc_vdso_platform_setup): Remove initialization of
72510         __vdso_gettimeofday and __vdso_time.
72512 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
72514         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
72515         and fgetc_unlocked.
72516         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
72517         getc_unlocked.
72519         * elf/dl-open.c (add_to_global): Report additions to the global scope
72520         for LD_DEBUG=scopes.
72521         (dl_open_worker): Also print scope of newly loaded dependencies.
72522         (_dl_show_scope): Indicate if there is no scope.
72524         [BZ #13114]
72525         * stdio-common/Makefile (tests): Add bug24.
72526         * stdio-common/bug24.c: New file.
72528 2011-08-19  Andreas Jaeger  <aj@suse.de>
72530         [BZ #13114]
72531         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
72532         non-existant file when using close-on-exec mode.
72534 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
72536         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
72537         the very first instruction.
72539         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
72540         the CFI state in the end.
72541         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
72542         inclusion of dl-trampoline.h.
72543         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
72545 2011-08-19  Andreas Schwab  <schwab@redhat.com>
72547         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
72548         expectations for long double.
72550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
72551         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
72553 2011-08-14  David S. Miller  <davem@davemloft.net>
72555         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
72556         artificual limit depends upon the system page size.
72558 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
72560         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
72561         * resolv/Makefile: Define CFLAGS-libresolv.
72563 2011-08-17  Andreas Schwab  <schwab@redhat.com>
72565         * nss/makedb.c (compute_tables): Make variables used in nested
72566         function static.
72568 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
72570         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
72571         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
72572         if buffer was too small.
72574         * elf/pldd.c (main): Attach to all threads in the process.
72575         Rewrite /proc handling to use *at functions.
72577 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
72579         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
72580         specifies first scope to show.
72581         (dl_open_worker): Update callers.  Move printing scope of new
72582         object to before the relocation.
72583         * elf/rtld.c (dl_main): Update _dl_show_scope call.
72584         * sysdeps/generic/ldsodefs.h: Update declaration.
72586         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
72587         string for the scope number.
72589 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
72591         * nscd/servicescache.c (cache_addserv): Make sure written is always
72592         initialized.
72594 2011-08-14  Roland McGrath  <roland@hack.frob.com>
72596         * sysdeps/i386/i486/bits/atomic.h
72597         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
72598         statement expression, so as to suppress "set but not used" warning.
72599         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
72601         * string/strncat.c (STRNCAT): Use prototype definition.
72603         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
72604         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
72605         -Iprograms here.
72606         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
72607         (localedef-modules): Add localedef.
72608         (locale-modules): Add locale.
72610         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
72611         * elf/rtld.c (dl_main): Invert order of assignment in last change,
72612         to avoid a warning.
72614 2011-08-14  David S. Miller  <davem@davemloft.net>
72616         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
72617         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
72619 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
72621         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
72622         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
72623         * elf/rtld.c (dl_main): Set l_name of vDSO.
72624         Call _dl_show_scope when DL_DEBUG_SCOPES.
72625         (process_dl_debug): Recognize scopes flag and also set it for all.
72626         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
72627         Declare _dl_show_scope.
72629         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
72630         (do_dlopen): Pass caller_dlopen to dl_open.
72631         (__libc_dlopen_mode): Initialize caller_dlopen.
72633         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
72634         of libc.  Make tolower call locale-independent.  Optimize a bit by
72635         using isdigit instead of isalnum.
72636         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
72638 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
72640         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
72641         was a dependency or dynamically loaded.
72643 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
72645         * intl/l10nflist.c: Allow architecture-specific pop function.
72646         * sysdeps/x86_64/l10nflist.c: New file.
72648         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
72649         classification.
72651 2011-08-10  Andreas Schwab  <schwab@redhat.com>
72653         * include/dirent.h: Add libc_hidden_proto for scandirat and
72654         scandirat64.  Don't declare __scandirat64.
72655         * dirent/scandirat.c: Add libc_hidden_def.
72656         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
72657         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
72659 2011-08-10  David S. Miller  <davem@davemloft.net>
72661         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
72662         enum.
72663         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
72664         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
72665         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
72667 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
72669         * Versions.def [libc]: Add GLIBC_2.15.
72670         * dirent/Makefile (routines): Add scandirat and scandirat64.
72671         * dirent/Versions [libc]: Export scandirat and scandirat64 for
72672         GLIBC_2.15.
72673         * dirent/dirent.h: Declare scandirat and scandirat64.
72674         * dirent/scandirat.c: New file.
72675         * dirent/scandirat64.c: New file.
72676         * sysdeps/wordsize-64/scandirat.c: New file.
72677         * sysdeps/wordsize-64/scandirat64.c: New file.
72678         * dirent/opendir.c: Define opendirat.
72679         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
72680         using scandirat.
72681         * dirent/scandir64.c: Adjust for scandir.c change.
72682         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
72683         __scandirat64, and __scandir_cancel_handler.
72684         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
72685         additional parameter and use openat instead of open (outside of ld.so).
72686         Add new __opendir as wrapper around __opendirat.
72687         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
72688         here without requiring old scandirat implementation.
72690 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
72692         * dirent/scandir.c (cancel_handler): Renamed to
72693         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
72694         defined.  Adjust users.
72695         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
72696         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
72698 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
72700         * string/test-string.h (IMPL): Use __STRING to expand name and then
72701         stringify it.
72703         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
72704         of cleanups.
72706 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72708         * string/Makefile: Update.
72709         (strop-tests): Append strncat.
72710         * string/test-wcscmp.c: New file.
72711         New comprehensive test for wcscmp.
72712         * string/test-strcmp.c: Update.
72713         (WIDE): New define.
72715 2011-07-22  Andreas Schwab  <schwab@redhat.com>
72717         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
72718         line.
72720 2011-07-26  Andreas Schwab  <schwab@redhat.com>
72722         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
72723         encoding to ACE if AI_IDN.
72725 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
72727         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
72728         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
72730 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72732         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
72733         Fix overflow bug in strncat.
72734         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
72736         * string/test-strncat.c: Update.
72737         Add new tests for checking overflow bugs.
72739 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72741         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72742         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
72743         * sysdeps/i386/i686/multiarch/strcat.S: New file.
72744         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
72745         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
72746         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
72747         * sysdeps/i386/i686/multiarch/strncat.S: New file.
72748         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
72749         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
72751         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
72752         (USE_AS_STRCAT): Define.
72753         Add strcat and strncat support.
72754         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
72756 2011-07-25  Andreas Schwab  <schwab@redhat.com>
72758         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
72759         __n bigger than INT_MAX+1.
72760         (__strncmp_g): Likewise.
72762 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
72764         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
72765         * libio/stido.h: Likewise.
72767         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
72768         (AF_NFC): Define.
72769         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
72770         (AF_NFC): Define.
72772         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
72773         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
72774         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
72775         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
72776         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
72778         [BZ #13021]
72779         * scripts/test-installation.pl: Don't expect libnss_test1 to be
72780         installed.
72782         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
72783         typo.
72784         (_dl_x86_64_save_sse): Likewise.
72786 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
72788         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
72789         OSXSAVE.
72790         (_dl_x86_64_save_sse): Likewise.
72792         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
72794         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
72796 2011-07-21  Andreas Schwab  <schwab@redhat.com>
72798         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
72799         change.
72800         (_dl_x86_64_save_sse): Use correct AVX check.
72802 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72804         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
72805         bug in strncpy/strncat.
72806         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
72808 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
72810         * string/tester.c (test_strcat): Add tests for different alignments
72811         of source and destination.
72812         (test_strncat): Likewise.
72814 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72816         [BZ #12852]
72817         * posix/glob.c (glob): Check passed in values before using them in
72818         expressions to avoid some overflows.
72819         (glob_in_dir): Likewise.
72821         [BZ #13007]
72822         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
72823         check for AVX enablement so that we don't crash with old kernels and
72824         new hardware.
72825         * elf/tst-audit4.c: Add same checks here.
72826         * elf/tst-audit6.c: Likewise.
72828         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
72830 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
72832         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
72834 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72836         * po/cs.po: Update from translation team.
72837         * po/bg.po: Likewise.
72839 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
72841         * misc/sys/cdefs.h: Add support for const attribute.
72842         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
72843         to gnu_dev_{major,minor,makedev} functions.
72845 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
72847         * intl/dcigettext.c (get_output_charset): Add missing bracket.
72849 2011-07-20  Andreas Schwab  <schwab@redhat.com>
72851         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
72852         strlen results.
72854 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72856         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
72857         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
72858         register in order to avoid conflicts with the soft frame pointer
72859         being held in r11 when necessary.
72860         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
72861         (INTERNAL_VSYSCALL_NCS): Likewise.
72863 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
72865         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
72866         * elf/dl-fini.c (_dl_fini): Adjust caller.
72867         * elf/dl-close.c (_dl_close_worker): Likewise.
72868         * sysdeps/generic/ldsodefs.h: Adjust declaration.
72870 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
72872         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
72873         "aux_cache->nlibs < 0".
72875         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
72876         in the reload-count case.
72878 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72880         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72881         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
72882         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
72883         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
72884         * sysdeps/x86_64/multiarch/strcat.S: New file.
72885         * sysdeps/x86_64/multiarch/strncat.S: New file.
72886         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
72887         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
72888         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
72889         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
72890         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
72891         (USE_AS_STRCAT): Define.
72892         Add strcat and strncat support.
72893         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
72894         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
72895         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
72896         * string/strncat.c: Update.
72897         (USE_AS_STRNCAT): Define.
72898         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72899         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
72900         and i7.
72901         * sysdeps/x86_64/multiarch/init-arch.h
72902         (bit_Prefer_PMINUB_for_stringop): New.
72903         (index_Prefer_PMINUB_for_stringop): Likewise.
72904         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
72905         bit_Prefer_PMINUB_for_stringop.
72907 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
72909         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
72910         buffer64.
72911         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
72912         of casting of buffer.
72913         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
72914         buffer32 and buffer64.
72915         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
72916         writes instead of casting of buffer.
72917         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
72918         buffer32.
72919         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
72920         casting of buffer.
72922 2011-07-19  Andreas Schwab  <schwab@redhat.com>
72924         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
72926 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
72928         * nscd/nscd.c (termination_handler): Don't do anything for a database
72929         if it has not yet been initialized.
72931 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
72933         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
72935 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
72937         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
72939 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
72941         * po/nl.po: Update from translation team.
72942         * po/sv.po: Likewise.
72944 2011-07-16  Roland McGrath  <roland@hack.frob.com>
72946         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
72947         now disallowed by GCC.
72949         * configure.in (use-default-link): Default to yes if a test -shared
72950         link meets our qualifications.
72951         * configure: Regenerated.
72953         * config.make.in (output-format): New variable.
72954         * configure.in: Check for ld --print-output-format support.
72955         * configure: Regenerated.
72956         * Makerules ($(common-objpfx)format.lds)
72957         [$(output-format) != unknown]: Just use $(output-format),
72958         instead of the linker-script munging.
72960 2011-07-14  Roland McGrath  <roland@hack.frob.com>
72962         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
72963         of $(common-objpfx)shlib.lds.
72964         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
72966         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
72967         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
72969         * configure.in (-z relro check): Adjust test code to add a large
72970         writable data section after it.
72971         * configure: Regenerated.
72973 2011-07-11  Roland McGrath  <roland@hack.frob.com>
72975         * configure.in (-z relro check): Fix test code to make the variable
72976         truly const.
72977         * configure: Regenerated.
72979 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
72981         * nscd/nscd.h (struct traced_file): Define.
72982         (struct database_dyn): Remove inotify_descr, reset_res, and filename
72983         elements.  Add traced_files.
72984         (inotify_fd): Declare.
72985         (register_traced_file): Declare.
72986         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
72987         (inotify_fd): Export.
72988         (resolv_conf_descr): Remove.
72989         (nscd_init): Move inotify descriptor creation to main.
72990         Don't register files for notification here.
72991         (register_traced_file): New function.
72992         (invalidate_cache): Don't use reset_res to determine whether to call
72993         res_init, go through the list of registered files.
72994         (main_loop_poll): The inotify descriptors are now stored in the
72995         structures for the traced files.
72996         (main_loop_epoll): Likewise.
72997         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
72998         to __nss_disable_nscd.
72999         * nscd/cache.c (prune_cache): There is no single inotify descriptor
73000         for a database anymore.  Check the records for all the registered
73001         files instead.
73002         * nss/Makefile (libnss_files-routines): Add files-init.
73003         (libnss_db-routines): Add db-init.
73004         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
73005         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
73006         * nss/nss_db/db-init.c: New file.
73007         * nss/nss_files/files-init.c: New file.
73008         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
73009         __nss_lookup_function.
73010         (__nss_lookup_function): Call nss_load_library.
73011         (nss_load_all_libraries): New function.
73012         (__nss_disable_nscd): Take parameter with callback function for files
73013         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
73014         used for the cached services.
73015         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
73016         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
73017         options for features to all the files in nscd.
73019         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
73021 2011-07-10  Roland McGrath  <roland@hack.frob.com>
73023         * csu/elf-init.c (__libc_csu_init): Comment typo.
73025 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
73027         * po/pl.po: Update from translation team.
73028         * po/ja.po: Likewise.
73029         * po/ru.po: Likewise.
73030         * po/ko.po: Likewise.
73031         * po/fr.po: Likewise.
73033 2011-07-09  Roland McGrath  <roland@hack.frob.com>
73035         * configure.in (.ctors/.dtors header and trailer check):
73036         Use an empirical test on a built program.
73037         * configure: Regenerated.
73039         * configure.in (-z relro check): Use an empirical test on a built DSO.
73040         Detect, but do not require, on ia64.
73041         * configure: Regenerated.
73043         * configure.in (READELF): Find it with AC_CHECK_TOOL.
73044         Update tests that use readelf to use $READELF instead.
73045         * configure: Regenerated.
73047 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
73049         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
73050         if the result is not used.
73052 2011-07-05  Andreas Jaeger  <aj@suse.de>
73054         [BZ#9696]
73055         * stdlib/tst-strtod.c: Add testcase.
73057 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
73059         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
73060         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
73061         The latter has a higher limit.  Take additional parameter to pass to
73062         the new function.
73063         (__pathconf): Pass file to __statfs_link_max.
73064         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
73065         __statfs_link_max.
73066         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
73067         __statfs_link_max.
73069         [BZ #12868]
73070         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
73071         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
73072         Handle Lustre.
73073         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
73074         (__statfs_filesize_max): Likewise.
73075         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
73077 2011-07-05  Andreas Jaeger  <aj@suse.de>
73079         * resolv/res_comp.c (dn_skipname): Remove unused variable.
73081 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
73083         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
73084         `status' variable.
73085         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
73086         Likewise.
73088 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
73090         * Makefile (strop-tests): Add strncat.
73091         * string/test-strncat.c: New file.
73093 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
73095         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
73097 2011-06-21  Andreas Jaeger  <aj@suse.de>
73099         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
73100         Copy rule from iconvdata/Makefile.
73102 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
73104         [BZ #12922]
73105         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
73106         but no long options are defined, just return 'W'.
73108 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
73110         [BZ #9696]
73111         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
73113 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
73115         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
73116         netgroups to read.
73117         (innetgr): Likewise.
73119 2011-07-05  Roland McGrath  <roland@hack.frob.com>
73121         * config.make.in (install_root): Default to $(DESTDIR).
73123 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
73125         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
73127 2011-07-02  Roland McGrath  <roland@hack.frob.com>
73129         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
73131         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
73132         containing directory rather than embedding absolute directory names.
73134         * scripts/check-local-headers.sh: Rewritten using awk.
73135         Match by word, not by line.  Print error messages for matches.
73136         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
73138         * Makerules [shlib-lds-flags empty]:
73139         ($(common-objpfx)libc_pic.opts): New target.
73140         ($(common-objpfx)libc_pic.os.clean): New target.
73141         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
73143         * config.make.in (OBJCOPY): New variable.
73144         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
73145         * configure: Regenerated.
73147         * config.make.in (use-default-link): New variable.
73148         * configure.in (use_default_link): Grok --with-default-link to set it.
73149         * configure: Regenerated.
73150         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
73151         (shlib-lds, shlib-lds-flags): Define to empty.
73153         * Makerules (shlib-lds): New variable.
73154         (shlib-lds-flags): New variable.
73155         (build-shlib, build-moduile, build-module-asneeded): Use it.
73156         ($(common-objpfx)libc.so): Use $(shlib-lds).
73157         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
73158         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
73160         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
73161         DT_FLAGS/DT_FLAGS_1 with zero flags.
73163         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
73164         linker script munging.
73166 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
73168         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
73169         as 128-bit value.
73170         * crypt/sha512.c (sha512_process_block): Perform total addition using
73171         128-bit if possible.
73172         (__sha512_finish_ctx): Likewise.
73173         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
73174         as 64-bit value.
73175         * crypt/sha256.c (SWAP64): Define.
73176         (sha256_process_block): Perform total addition using 64-bit if
73177         possible.
73178         (__sha256_finish_ctx): Likewise.
73180 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
73182         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
73183         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73184         * nscd/hstcache.c (cache_addhst): Likewise.
73185         * nscd/grpcache.c (cache_addgr): Likewise.
73186         * nscd/aicache.c (addhstaiX): Likewise.
73187         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
73189 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
73191         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
73192         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73193         * nscd/hstcache.c (cache_addhst): Likewise.
73194         * nscd/grpcache.c (cache_addgr): Likewise.
73195         * nscd/aicache.c (addhstaiX): Likewise.
73197 2011-07-01  Andreas Schwab  <schwab@redhat.com>
73199         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
73200         domain only when needed.
73202 2011-06-30  Andreas Schwab  <schwab@redhat.com>
73204         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
73205         is always restored.
73207 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
73209         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
73210         are re-adding the entry.
73211         * nscd/servicescache.c (cache_addserv): Likewise.
73213 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
73215         * sysdeps/generic/dl-irel.h: fix protection against multiple
73216         inclusions.
73217         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
73219 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
73221         [BZ #12935]
73222         * malloc/memusage.sh: Fix quoting in message.
73223         * debug/xtrace.sh: Likewise.
73225         * configure.in: Remove support for --experimental-malloc option, make
73226         it the default.
73227         * config.make.in: Likewise.
73228         * malloc/Makefile: Likewise.
73230 2011-06-27  Andreas Schwab  <schwab@redhat.com>
73232         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
73233         two-byte characters.
73235 2011-06-27  Roland McGrath  <roland@hack.frob.com>
73237         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
73238         AC_CACHE_CHECK invocation.
73239         * configure: Regenerated.
73241         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
73243 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
73245         [BZ #12350]
73246         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
73247         bit from old_res_options.
73249         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
73251         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
73252         value type for setfct.
73254 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
73256         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
73257         __gettimeofday instead of gettimeofday.
73259 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
73261         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
73263 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
73265         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
73267         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
73268         info.
73270 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
73272         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73273         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
73274         strcpy-sse2-unaligned strncpy-sse2-unaligned
73275         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
73276         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
73277         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
73278         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
73279         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
73280         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
73281         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
73282         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
73283         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
73284         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
73285         (STRCPY): Support SSE2 and SSSE3 versions.
73287 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
73289         [BZ #12874]
73290         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
73291         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
73292         kernels which artificially limit size of requests.
73294 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
73296         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73297         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
73298         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
73299         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
73300         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
73301         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
73302         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
73303         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
73304         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
73305         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
73306         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
73307         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
73308         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
73309         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
73310         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
73311         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73312         Enable unaligned load optimization for Intel Core i3, i5 and i7
73313         processors.
73314         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
73315         Define.
73316         (index_Fast_Unaligned_Load): Define.
73317         (HAS_FAST_UNALIGNED_LOAD): Define.
73319 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
73321         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
73323 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
73325         [BZ #12907]
73326         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
73327         until it is clear that the information is realy needed.
73328         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
73330 2011-06-22  Andreas Schwab  <schwab@redhat.com>
73332         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
73334 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
73336         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
73337         /sys/devices/system/cpu/online if it is usable.
73339         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
73340         reading the information from the /proc filesystem to once a second.
73342 2011-06-21  Andreas Jaeger  <aj@suse.de>
73344         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
73345         NULL after inclusion of kernel headers.
73347 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
73349         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
73350         calls to internal_setent.
73352         [BZ #12885]
73353         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
73354         addresses using gethostbyname4_r ignore IPv4 addresses.
73356         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
73357         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
73359         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
73361 2011-06-20  David S. Miller  <davem@davemloft.net>
73363         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
73364         inclusions.
73365         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
73367         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
73368         (elf_irel): Use it.
73369         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
73370         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
73371         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
73372         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
73373         * sysdeps/x86_64/dl-irel.h: Likewise.
73375         * elf/dl-runtime.c: Use elf_ifunc_invoke.
73376         * elf/dl-sym.c: Likewise.
73378 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
73380         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
73381         need to dereference resplen2.
73383 2011-06-14  Andreas Schwab  <schwab@redhat.com>
73385         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
73387 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
73389         * Makeconfig: Define vardbdir and inst_vardbdir.
73390         * nss/Makefile: Add rules to install db-Makefile.
73392         * nss/nss_db/db-XXX.c: Cleanup.
73394         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
73395         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
73396         GLIBC_PRIVATE.
73397         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
73398         * nss/makedb.c: Implement -g option to specify that value strings
73399         are generated and should not be added to table iterated over for
73400         get*ent calls.
73401         * nss/nss_db/db-initgroups.c: New file.
73403         * nss/getent.c: Add support for initgroups lookups through getgrouplist
73404         interface.
73406         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
73407         (internal_getgrouplist): Adjust to name change.
73408         Update use_initgroups_entry if this is not the first call.
73409         * nss/databases.def: Add initgroups entry.
73411         * nss/makedb.c (compute_tables): Check result of multiple hash table
73412         sizes to minimize maximum chain length.
73414 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
73416         * Versions.def: Add entry for libnss_db.
73417         * shlib-versions: Likewise.
73418         * nss/Makefile: Add rules to build libnss_db.
73419         * nss/Versions: Add libnss_db information.  Organize libnss_files
73420         entries better.
73421         * nss/db-Makefile: Add gshadow support.  Change rules for the new
73422         makedb progra.  Some minor improvements to generate smaller files.
73423         * nss/nss_db/nss_db.h: Move NSS database header data structures to
73424         here from...
73425         * nss/makedb.c: ...here.
73426         Improve database format to be smaller and require less memory at
73427         runtime.
73428         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
73429         db anymore.
73430         * nss/nss_db/db-netgrp.c: Likewise.
73431         * nss/nss_db/db-open.c: Likewise.
73432         * nss/nss_files/flies-XXX.x: Adjust comments.
73433         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
73434         * nss/nss_files/files-grp.c: Likewise.
73435         * nss/nss_files/files-hosts.c: Likewise.
73436         * nss/nss_files/files-network.c: Likewise.
73437         * nss/nss_files/files-proto.c: Likewise.
73438         * nss/nss_files/files-pwd.c: Likewise.
73439         * nss/nss_files/files-rpc.c: Likewise.
73440         * nss/nss_files/files-service.c: Likewise.
73441         * nss/nss_files/files-sgrp.c: Likewise.
73442         * nss/nss_files/files-spwd.c: Likewise.
73443         * nss/nss_db/db-alias.c: Removed.
73444         * nss/nss_db/dummy-db.h: Removed.
73446 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
73448         * nss/makedb.c: Rewritten to not use database library.
73449         * nss/Makefile: Update to build new makedb program.
73451 2011-06-14  Andreas Jaeger  <aj@suse.de>
73453         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
73454         memset declaration.
73456 2011-06-10  Andreas Schwab  <schwab@redhat.com>
73458         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
73459         tmpbuf.
73461 2011-06-10  Roland McGrath  <roland@hack.frob.com>
73463         * Makerules (shlib.lds): Fail if the linker script comes out empty.
73464         * elf/Makefile ($(objpfx)ld.so): Likewise.
73466         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
73467         Don't list ld.so twice in dependencies.
73469         * posix/bug-regex31.c: Include <stdlib.h>.
73471         * nscd/hstcache.c (cache_addhst): Remove unused variable.
73473         * nis/nss_compat/compat-spwd.c
73474         (getspent_next_nss_netgr): Remove unused variable.
73475         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
73477         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
73478         nonmembers" output to use the right array.
73480         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
73482         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
73484         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
73485         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
73486         * catgets/gencat.c (read_input_file): Likewise.
73487         * locale/programs/locarchive.c (enlarge_archive): Likewise.
73489         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
73490         variable definition inside #if's controlling its use.
73492         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
73494         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
73496         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
73498         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
73499         unreachable code.
73501         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
73503         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
73504         * configure: Regenerated.
73506         * Makerules: Revert last change.
73507         * elf/Makefile: Likewise.
73509 2011-06-09  Roland McGrath  <roland@hack.frob.com>
73511         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
73512         * elf/Makefile ($(objpfx)librtld.os): Likewise.
73513         (reloc-link): Likewise.
73515 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
73517         * elf/Makefile: Add rules to build pldd.
73518         * elf/pldd.c: New file.
73519         * elf/pldd-xx.c: New file.
73521 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
73523         * version.h: Update for 2.15 development version.
73525 2011-06-07  David S. Miller  <davem@davemloft.net>
73527         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
73528         ifuncs.
73529         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
73530         elf_machine_lazy_rel): Likewise.
73531         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
73532         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
73533         elf_machine_lazy_rel): Likewise.
73534         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
73535         dl_hwcap via passed in argument.
73536         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
73537         Likewise.
73539 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73541         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
73543 2011-06-06  Roland McGrath  <roland@hack.frob.com>
73545         [BZ #12849]
73546         * manual/fdl-1.1.texi: New file, verbatim from:
73547         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
73548         * manual/lgpl-2.1.texi: New file, verbatim from:
73549         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
73550         * manual/Makefile (licenses): New variable, list those new file names.
73551         (texis): Use it.
73552         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
73554         * manual/fdl.texi: File removed.
73555         * manual/lesser.texi: File removed.
73556         * manual/libc.texinfo (Copying, Documentation License):
73557         Use new @include file names, put @appendix directive before @include.
73559 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
73561         [BZ #12841]
73562         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
73563         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
73564         (mq_open): Add __NTH.
73566 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
73568         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73569         Assume Intel Core i3/i5/i7 processor if AVX is available.
73571 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
73573         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
73574         typo.
73576 2011-05-31  Andreas Schwab  <schwab@redhat.com>
73578         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
73579         memory.  Use alloca_account.  Fix memory leak when retrying.
73581 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
73583         * version.h (RELEASE): Bump for 2.14 release.
73584         * include/features.h (__GLIBC_MINOR__): Bump to 14.
73586         * config.make.in (RANLIB): Remove entry.
73588 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
73590         * po/Makefile (po-sed-cmd): Add ksh to extensions.
73591         (libc.pot): Work around missing support for .ksh extension in xgettext.
73593         [BZ #12684]
73594         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
73595         if both request failed.
73596         (send_dg): In case of server errors clear resplen or *resplen2.
73598         [BZ #12454]
73599         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
73600         when there are multiple maps.
73601         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
73602         (_dl_fini): Remove test here.
73604         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
73606 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
73608         [BZ #12350]
73609         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
73610         bit from old_res_options.
73611         (gaih_inet): Likewise.
73613         [BZ #11099]
73614         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
73615         as signed.
73617         * resolv/res_init.c (res_setoptions): Make the code more compact.
73619         [BZ #11558]
73620         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
73621         set RES_USEVC.
73623         [BZ #11634]
73624         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
73626         * malloc/malloc.h: Mark malloc hook variables as deprecated.
73628         [BZ #11781]
73629         * malloc/malloc.h: Declare malloc hook variables as volatile.
73631         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
73632         in last patch.
73634         [BZ #11799]
73635         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
73636         raise in the comment.
73637         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
73638         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
73639         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
73641 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
73643         [BZ #12811]
73644         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
73645         grow the buffers more if it already has to be sufficient.
73646         (build_wcs_upper_buffer): Likewise.
73647         * posix/regexec.c (check_matching): Likewise.
73648         (clean_state_log_if_needed): Likewise.
73649         (extend_buffers): Don't enlarge buffers beyond size of the input
73650         buffer.
73651         Patches mostly by Emil Wojak <emil@wojak.eu>.
73652         * posix/bug-regex32.c: New file.
73653         * posix/Makefile (tests): Add bug-regex32.
73655         * locale/findlocale.c (_nl_find_locale): Return right away if
73656         _nl_explode_name failed.
73657         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
73659         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
73661         * debug/xtrace.sh: Unify messages.
73662         * malloc/memusage.sh: Likewise.
73664         [BZ #12813]
73665         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
73666         time symbol from vDSO.  Substitute with vsyscall if not available.
73667         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
73668         __vdso_time.
73670         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
73671         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
73672         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
73673         Add sendmmsg and internal_sendmmsg.
73674         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
73675         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
73676         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
73678         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
73679         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
73680         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
73682 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
73684         [BZ #12813]
73685         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
73686         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
73687         available.
73688         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
73689         __vdso_getcpu.
73691         [BZ #12814]
73692         * iconvdata/Makefile (tests): Add bug-iconv9.
73693         * iconvdata/bug-iconv9.c: New file.
73695 2011-05-27  Andreas Schwab  <schwab@redhat.com>
73697         [BZ #12814]
73698         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
73700 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
73702         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
73703         (struct user_regs_struct): Change intcs field back to cs.
73705 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
73707         * po/ja.po: Update from translation team.
73709 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
73711         [BZ #12795]
73712         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
73713         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
73715 2011-05-20  Andreas Schwab  <schwab@redhat.com>
73717         * stdlib/longlong.h: Update from GCC.
73719 2011-05-23  Andreas Schwab  <schwab@redhat.com>
73721         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
73722         parameter name.
73723         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
73724         Add parameter name.
73725         (__sysconf): Pass it down.
73727 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
73729         [BZ #12671]
73730         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
73731         some situations.
73732         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
73733         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
73734         add in in __libc_use_alloca calls.  Adjust callers.
73735         (glob): Use malloc in some situations.
73737         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
73738         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
73739         pltexit.
73741 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
73743         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
73744         and CLOCK_BOOTTIME_ALARM.
73746         [BZ #12782]
73747         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
73748         is returned.
73750         * string/_strerror.c (__strerror_r): Print negative errors as signed
73751         numbers.
73753         [BZ #12777]
73754         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
73755         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
73756         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
73758         * configure.in: Fix typo in redirection and correct removal of test
73759         files in two cases.
73761         [BZ #12788]
73762         * locale/setlocale.c (new_composite_name): Fix test to check for
73763         identical name of all categories.
73765         [BZ #12792]
73766         * libio/filedoalloc.c (local_isatty): New function.
73767         (_IO_file_doallocate): Use local_isatty.
73768         * stdio-common/perror.c (perror): In case a new stream is used
73769         forward the stream error.
73770         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
73771         error flag.
73773 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
73775         [BZ #11884]
73776         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
73777         alloca.
73778         * include/alloca.h (extend_alloca_account): Define.
73780         [BZ #11857]
73781         * posix/regex.h: Fix comments with documentation of user-accessible
73782         fields after compilation and describe correct free'ing of pattern
73783         after re_compile_pattern.
73784         Patch by Reuben Thomas <rrt@sc3d.org>.
73786 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
73788         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
73789         and -mno-altivec to prevent the compiler from using Altivec and/or
73790         VSX instructions when the corresponding registers are not available.
73792 2011-05-19  Andreas Schwab  <schwab@redhat.com>
73794         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
73796 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
73798         * libio/freopen.c (freopen): Use __dup2, not dup2.
73799         * libio/freopen64.c (freopen64): Likewise.
73801 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73803         [BZ #12775]
73804         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
73805         * math/Makefile (tests): Add test-powl.
73806         (CFLAGS-test-powl.c): Define.
73807         * math/test-powl.c: New file.
73809 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73811         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
73813 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
73815         [BZ #11837]
73816         * iconvdata/gb18030.c: Update to GB18020-2005.
73818 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
73820         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
73821         RE_SYNTAX_POSIX_AWK): Update to match recent development.
73822         Patch by Aharon Robbins <arnold@skeeve.com>.
73824         [BZ #11892]
73825         * stdlib/putenv.c (putenv): Don't always create copy of the variable
73826         on the stack.
73828         [BZ #11895]
73829         * misc/pselect.c (__pselect): Handle timeout value errors hidden
73830         through underflows.
73832         [BZ #12766]
73833         * misc/error.c (error_at_line): Ensure file_name and old_file_name
73834         point to strings before performing equality test for error_one_per_line
73835         mode.
73837         [BZ #11697]
73838         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
73840         [BZ #11820]
73841         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
73842         (struct user_fpregs_struct): Avoid __uint*_t types.
73844         [BZ #6420]
73845         * malloc/mtrace.c (tr_where): Add additional parameter to point to
73846         symbol info.  Use it instead of calling _dl_addr locally.
73847         (lock_and_info): New function.
73848         (tr_freehook): Call lock_and_info and pass symbol info as additional
73849         parameter to tr_where.
73850         (tr_mallochook): Likewise.
73851         (tr_reallochook): Likewise.
73852         (tr_memalignhook): Likewise.
73854         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
73855         used and couldn't be at all thread-safe.
73857 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
73859         * libio/freopen.c (freopen): Don't close old file descriptor
73860         before the new one is opened.  Instead dup the new file descriptor
73861         to the old one after the new stream is created.
73862         * libio/freopen64.c (freopen64): Likewise.
73863         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
73864         * libio/fileops.c (_IO_new_file_close_it): Handle new
73865         _IO_FLAGS2_NOCLOSE flag.
73866         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
73867         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
73868         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
73869         _IO_FLAGS2_NOCLOSE flag.
73870         * include/unistd.h: Add hidden_proto for dup3.
73871         Define __have_dup3.
73872         * io/dup3.c: Define hidden symbol.
73873         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
73875         [BZ #7101]
73876         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
73877         when an incomplete long option is used.
73878         * posix/tst-getopt_long1.c: New file.
73879         * posix/Makefile (tests): Add tst-getopt_long1.
73881         [BZ #10138]
73882         * scripts/config.guess: Update from autoconf-2.68.
73883         * scripts/config.sub: Likewise.
73885         [BZ #10157]
73886         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
73887         tests into ...
73888         (has_cpuclock): ...this.  New function.
73889         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
73890         macro here based on has_cpuclock code.
73892         [BZ #10149]
73893         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73894         First byte (not low byte) is now always NUL.
73895         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
73897         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73898         Use non-cancelable interfaces.
73900         [BZ #9809]
73901         * locale/iso-639.def: Add entry for Sorani.
73903         [BZ #11901]
73904         * include/stdlib.h: Move include protection to the right place.
73905         Define abort_msg_s.  Declare __abort_msg with it.
73906         * stdlib/abort.c (__abort_msg): Adjust type.
73907         * assert/assert.c (__assert_fail_base): New function.  Majority
73908         of code from __assert_fail.  Allocate memory for __abort_msg with
73909         mmap.
73910         (__assert_fail): Now call __assert_fail_base.
73911         * assert/assert-perr.c: Remove bulk of implementation.  Use
73912         __assert_fail_base.
73913         * include/assert.hL Declare __assert_fail_base.
73914         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
73915         mmap.
73916         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
73918 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
73920         [BZ #11952]
73921         [BZ #12453]
73922         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
73923         until all modules are registered in the DTV.
73924         * elf/Makefile: Add rules to build and run tst-tls19.
73925         * elf/tst-tls19.c: New file.
73926         * elf/tst-tls19mod1.c: New file.
73927         * elf/tst-tls19mod2.c: New file.
73928         * elf/tst-tls19mod3.c: New file.
73929         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
73931         [BZ #12083]
73932         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
73933         correctly.
73935         [BZ #12601]
73936         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
73937         two-byte sequence errors.
73938         * iconvdata/Makefile (tests): Add bug-iconv8.
73939         * iconvdata/bug-iconv8.c: New file.
73941         [BZ #12626]
73942         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
73943         buf2 definition.
73945         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
73947         [BZ #12432]
73948         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
73949         (dummy_getcfa): New function.
73950         (init): Get _Unwind_GetCFA address, use dummy if not found.
73951         (backtrace_helper): In recursion check, also check whether CFA changes.
73952         (__backtrace): Completely initialize arg.
73954         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
73955         storing incomplete byte sequence in state object.  Avoid testing for
73956         guaranteed too small input if we know there is enough data available.
73958 2011-05-11  Andreas Schwab  <schwab@redhat.com>
73960         * Makeconfig (+link-pie): Indent.
73961         * Rules (binaries-pie): Define if $(have-fpie) and
73962         $(build-shared).
73963         (binaries-shared): Also filter out $(binaries-pie).
73964         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
73965         * nscd/Makefile (others-pie): Add nscd.
73966         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
73967         ($(objpfx)nscd): Remove command override.
73968         * login/Makefile (others-pie): Add pt_chown.
73969         ($(objpfx)pt_chown): Remove command override.
73970         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
73971         remove command overrides.
73973 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
73975         * libio/tst_putwc.c: Fix error messages.
73977         [BZ #12724]
73978         * libio/fileops.c (_IO_new_file_close_it): Always flush when
73979         currently writing and seek to current position when not.
73980         * libio/Makefile (tests): Add bug-fclose1.
73981         * libio/bug-fclose1.c: New file.
73983 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
73985         [BZ #12511]
73986         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
73987         don't set DF_1_NODELETE here.
73988         (do_lookup_x): When entering new entry test for copy relocation
73989         and if necessary set DF_1_NODELETE flag.
73990         * elf/tst-unique4.cc: New file.
73991         * elf/tst-unique4.h: New file.
73992         * elf/tst-unique4lib.cc: New file.
73993         * elf/Makefile: Add rules to build and run tst-unique4.
73994         Patch by Piotr Bury <pbury@goahead.com>.
73996 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
73998         [BZ #12052]
73999         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
74001         [BZ #12625]
74002         * misc/mntent_r.c (addmntent): Flush the stream after the output
74004         [BZ #12393]
74005         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
74006         (is_trusted_path_normalize): Skip initial colon.  Append slash
74007         to empty buffer.  Duplicate is_trusted_path code but allow
74008         constructed patch to be prefix.
74009         (is_dst): Allow $ORIGIN followed by /.
74010         (_dl_dst_substitute): Correct clearing of check_for_trusted.
74011         Correct testing of result of is_trusted_path_normalize
74012         (decompose_rpath): Fix warning.
74014 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
74016         [BZ #11257]
74017         * grp/initgroups.c (internal_getgrouplist): When we found the service
74018         list through the initgroups entry in nsswitch.conf do not always
74019         continue on a successful lookup.  Don't always use the
74020         __nss_group_database value if it is set.
74021         * nss/nsswitch.conf (initgroups): Change action for successful db
74022         lookup to continue for compatibility.
74024 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
74026         [BZ #11532]
74027         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
74028         and CP774 modules.
74029         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
74030         and CP774 modules.
74031         * iconvdata/tst-tables.sh: Likewise.
74032         * iconvdata/cp770.c: New file.
74033         * iconvdata/cp771.c: New file.
74034         * iconvdata/cp772.c: New file.
74035         * iconvdata/cp773.c: New file.
74036         * iconvdata/cp774.c: New file.
74037         * iconvdata/testdata/CP770: New file.
74038         * iconvdata/testdata/CP770..UTF8: New file.
74039         * iconvdata/testdata/CP771: New file.
74040         * iconvdata/testdata/CP771..UTF8: New file.
74041         * iconvdata/testdata/CP772: New file.
74042         * iconvdata/testdata/CP772..UTF8: New file.
74043         * iconvdata/testdata/CP773: New file.
74044         * iconvdata/testdata/CP773..UTF8: New file.
74045         * iconvdata/testdata/CP774: New file.
74046         * iconvdata/testdata/CP774..UTF8: New file.
74048         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
74049         END CHARMAP line.
74050         * iconvdata/gen-8bit-gap.sh: Likewise.
74051         * iconvdata/gen-8bit.sh: Likewise.
74053         * locale/iso-639.def: Add ary entry.
74055         [BZ #11258]
74056         * locale/C-translit.h.in: Add U20A1 transliteration.
74058         [BZ #12178]
74059         * locale/iso-639.def: Add wae entry.
74060         Patch by Kevin Bortis <bortis@translate-wae.ch>.
74062         [BZ #12545]
74063         * locale/programs/localedef.c (construct_output_path): Use ssize_t
74064         for n.
74066         [BZ #12711]
74067         * locale/C-translit.h.in: Add entry for U20B9.
74068         Patch by pravin.d.s@gmail.com.
74070 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
74072         [BZ #12713]
74073         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
74074         ENAMETOOLONG use generic getcwd.
74075         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
74076         in rtld.  Use *stat64.
74077         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
74078         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
74079         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
74080         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
74081         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
74082         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
74083         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
74084         __fstatat64 macros.
74085         * include/dirent.h: Add libc_hidden_proto for rewinddir.
74086         * dirent/rewinddir.c: Add libc_hidden_def.
74087         * sysdeps/mach/hurd/rewinddir.c: Likewise.
74088         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
74090         * include/dirent.h (__alloc_dir): Add flags parameter.
74091         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
74092         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
74093         __alloc_dir.
74094         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
74095         from fdopendir if O_CLOEXEC is already set.
74097 2011-03-15  Alan Modra  <amodra@gmail.com>
74099         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
74100         l_tls_firstbyte_offset non-zero.  Save padding offset in
74101         l_tls_firstbyte_offset for later use.
74102         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
74103         freeing static tls block.
74105 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
74107         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
74108         where #ifdef was intended.  The intent is to prevent ARG_MAX from
74109         being defined by the kernel headers.
74111 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
74113         [BZ #12734]
74114         * resolv/resolv.h: Define RES_NOTLDQUERY.
74115         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
74116         no-tld-query and set RES_NOTLDQUERY.
74117         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
74118         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
74119         modern BIND to search name as TLD unless forbidden.
74121 2011-05-07  Petr Baudis  <pasky@suse.cz>
74122             Ulrich Drepper  <drepper@gmail.com>
74124         [BZ #12393]
74125         * elf/dl-load.c (fillin_rpath): Move trusted path check...
74126         (is_trusted_path): ...to here.
74127         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
74128         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
74129         using is_trusted_path_normalize() in setuid scripts.
74131 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
74133         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
74134         __BEGIN/__END_DECLS.
74136 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
74138         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
74139         NSS_STATUS_NOTFOUND if no record was found.
74141 2011-05-05  Andreas Schwab  <schwab@redhat.com>
74143         * sunrpc/Makefile (headers): Add rpc/netdb.h.
74144         (headers-not-in-tirpc): Remove rpc/netdb.h
74145         * resolv/netdb.h: Revert last change.
74147 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
74149         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
74150         circular dependency between libgcc.a and libc.a.
74152 2011-05-05  Andreas Schwab  <schwab@redhat.com>
74154         * resolv/netdb.h: Don't include <rpc/netdb.h>.
74155         * nis/Makefile: Don't install rpcsvc/*.
74156         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
74157         instead of <rpc/types.h>.
74158         (MAXHOSTNAMELEN): Define.
74160 2011-05-03  Andreas Schwab  <schwab@redhat.com>
74162         * elf/ldconfig.c (add_dir): Don't crash on empty path.
74164 2011-04-28  Maciej Babinski  <mbabinski@google.com>
74166         [BZ #12714]
74167         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
74168         gethostbyname4_r when IPv6 results are possible.
74170 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
74172         [BZ #12723]
74173         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
74174         _PC_PIPE_BUF handling.
74176 2011-04-30  Bruno Haible  <bruno@clisp.org>
74178         [BZ #12717]
74179         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
74180         * resolv/netdb.h (getnameinfo): Change type of flags parameter
74181         to 'int'.
74182         * inet/getnameinfo.c (getnameinfo): Likewise.
74184 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
74186         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
74187         to groups setting in database lookup.
74188         * nss/nsswitch.conf: Add initgroups entry.
74190 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
74192         [BZ #12685]
74193         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
74194         mode string.
74195         Patch by Eric Blake <eblake@redhat.com>.
74197 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
74199         * sunrpc/Makefile (need-export-routines): Add svc_run.
74200         (routines): Remove svc_run.
74201         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
74202         * sunrpc/clnt_perr.c (clnt_perrno): Export.
74203         * sunrpc/svc_run.c (svc_run): Likewise.
74204         * sunrpc/svc_udp.c (svcudp_create): Likewise.
74206 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
74208         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
74209         problem in reallocation in last patch.
74211 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
74213         * sunrpc/Makefile: Move inclusion of Rules.
74215 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
74217         * nss/nss_files/files-initgroups.c: New file.
74218         * nss/Makefile (libnss_files-routines): Add files-initgroups.
74219         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
74220         _nss_files_initgroups_dyn.
74222 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
74224         * elf/elf.h (R_ARM_IRELATIVE): Define.
74226 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
74228         * po/ru.po: Update from translation team.
74230 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
74232         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
74233         dependencies.
74235 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
74237         [BZ #12653]
74238         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
74239         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
74240         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
74241         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
74242         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
74244 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
74246         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
74247         differing bytes.
74248         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
74249         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
74250         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
74252 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
74254         [BZ #12420]
74255         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
74256         storing it.
74257         * stdlib/bug-getcontext.c: New file.
74258         * stdlib/Makefile: Add rules to build and run bug-getcontext.
74260 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74262         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
74263         instructions into .machine "z9-109".
74264         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
74265         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
74267 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74269         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
74270         between environment variables and auxiliary vector.
74272 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
74274         * Makefile: Add rules to build linkobj/libc.so.
74275         * include/libc-symbols.h: Define libc_hidden_nolink.
74276         * include/rpc/auth.h: Mark functions which are to be hidden.
74277         * include/rpc/auth_des.h: Likewise.
74278         * include/rpc/auth_unix.h: Likewise.
74279         * include/rpc/clnt.h: Likewise.
74280         * include/rpc/des_crypt.h: Likewise.
74281         * include/rpc/key_prot.h: Likewise.
74282         * include/rpc/pmap_clnt.h: Likewise.
74283         * include/rpc/pmap_prot.h: Likewise.
74284         * include/rpc/pmap_rmt.h: Likewise.
74285         * include/rpc/rpc_msg.h: Likewise.
74286         * include/rpc/svc.h: Likewise.
74287         * include/rpc/svc_auth.h: Likewise.
74288         * include/rpc/xdr.h: Likewise.
74289         * nis/Makefile: Link all DSOs against linkobj/libc.so.
74290         * nss/Makefile: Likewise.
74291         * sunrpc/Makefile: Don't install headers.  Build library with normal
74292         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
74293         * sunrpc/auth_des.c: Hide exported symbols by default, export some
74294         for the compat linking library.  Remove use of INTDEF/INTUSE.
74295         * sunrpc/auth_none.c: Likewise.
74296         * sunrpc/auth_unix.c: Likewise.
74297         * sunrpc/authdes_prot.c: Likewise.
74298         * sunrpc/authuxprot.c: Likewise.
74299         * sunrpc/clnt_gen.c: Likewise.
74300         * sunrpc/clnt_perr.c: Likewise.
74301         * sunrpc/clnt_raw.c: Likewise.
74302         * sunrpc/clnt_simp.c: Likewise.
74303         * sunrpc/clnt_tcp.c: Likewise.
74304         * sunrpc/clnt_udp.c: Likewise.
74305         * sunrpc/clnt_unix.c: Likewise.
74306         * sunrpc/des_crypt.c: Likewise.
74307         * sunrpc/des_soft.c: Likewise.
74308         * sunrpc/get_myaddr.c: Likewise.
74309         * sunrpc/key_call.c: Likewise.
74310         * sunrpc/key_prot.c: Likewise.
74311         * sunrpc/netname.c: Likewise.
74312         * sunrpc/pm_getmaps.c: Likewise.
74313         * sunrpc/pm_getport.c: Likewise.
74314         * sunrpc/pmap_clnt.c: Likewise.
74315         * sunrpc/pmap_prot.c: Likewise.
74316         * sunrpc/pmap_prot2.c: Likewise.
74317         * sunrpc/pmap_rmt.c: Likewise.
74318         * sunrpc/publickey.c: Likewise.
74319         * sunrpc/rpc_cmsg.c: Likewise.
74320         * sunrpc/rpc_common.c: Likewise.
74321         * sunrpc/rpc_dtable.c: Likewise.
74322         * sunrpc/rpc_prot.c: Likewise.
74323         * sunrpc/rpc_thread.c: Likewise.
74324         * sunrpc/rtime.c: Likewise.
74325         * sunrpc/svc.c: Likewise.
74326         * sunrpc/svc_auth.c: Likewise.
74327         * sunrpc/svc_authux.c: Likewise.
74328         * sunrpc/svc_raw.c: Likewise.
74329         * sunrpc/svc_run.c: Likewise.
74330         * sunrpc/svc_simple.c: Likewise.
74331         * sunrpc/svc_tcp.c: Likewise.
74332         * sunrpc/svc_udp.c: Likewise.
74333         * sunrpc/svc_unix.c: Likewise.
74334         * sunrpc/svcauth_des.c: Likewise.
74335         * sunrpc/xcrypt.c: Likewise.
74336         * sunrpc/xdr.c: Likewise.
74337         * sunrpc/xdr_array.c: Likewise.
74338         * sunrpc/xdr_float.c: Likewise.
74339         * sunrpc/xdr_intXX_t.c: Likewise.
74340         * sunrpc/xdr_mem.c: Likewise.
74341         * sunrpc/xdr_rec.c: Likewise.
74342         * sunrpc/xdr_ref.c: Likewise.
74343         * sunrpc/xdr_sizeof.c: Likewise.
74344         * sunrpc/xdr_stdio.c: Likewise.
74346 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
74348         [BZ #12650]
74349         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
74350         * sysdeps/ia64/dl-tls.h: Likewise.
74351         * sysdeps/powerpc/dl-tls.h: Likewise.
74352         * sysdeps/s390/dl-tls.h: Likewise.
74353         * sysdeps/sh/dl-tls.h: Likewise.
74354         * sysdeps/sparc/dl-tls.h: Likewise.
74355         * sysdeps/x86_64/dl-tls.h: Likewise.
74356         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
74358 2011-03-14  Andreas Schwab  <schwab@redhat.com>
74360         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
74361         rpath element also skip the following colon.
74362         (expand_dynamic_string_token): Add is_path parameter and pass
74363         down to DL_DST_REQUIRED and _dl_dst_substitute.
74364         (decompose_rpath): Call expand_dynamic_string_token with
74365         non-zero is_path.  Ignore empty rpaths.
74366         (_dl_map_object_from_fd): Call expand_dynamic_string_token
74367         with zero is_path.
74369 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
74371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
74372         Make cancelable.
74374 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
74376         [BZ #12655]
74377         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
74378         Patch by Filipe David Manana <fdmanana@apache.org>.
74380 2011-04-07  Andreas Schwab  <schwab@redhat.com>
74382         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
74383         Maintain aligned stack.
74384         (CHECK_RSP): Remove unused macro.
74386 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
74388         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
74389         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
74391 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
74393         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
74395         * include/features.h: Mention __USE_XOPEN2K8 in comment.
74397 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
74399         [BZ #12518]
74400         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
74401         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
74402         * sysdeps/x86_64/memmove.c: New file.
74403         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
74404         (memcpy): Renamed to ...
74405         (__new_memcpy): This.
74406         (memcpy): Provide GLIBC_2_14 memcpy.
74407         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
74408         (memcpy): Provide GLIBC_2_2_5 memcpy.
74410 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74412         [BZ #12631]
74413         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
74415 2011-03-30  Andreas Schwab  <schwab@redhat.com>
74417         * misc/syncfs.c: New file.
74418         * misc/Makefile (routines): Add syncfs.
74419         * posix/unistd.h: Declare syncfs.
74420         * sysdeps/unix/syscalls.list: Add syncfs.
74422 2011-04-01  Andreas Schwab  <schwab@redhat.com>
74424         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
74425         open_by_handle_at.
74426         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
74427         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74428         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74429         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74430         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74431         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
74432         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74434 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74436         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
74437         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74438         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
74439         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74440         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74441         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74442         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74444         * io/Makefile: Compile fallocate.c, fallocate64.c, and
74445         sync_file_range.c with -fexceptions.
74446         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
74447         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
74448         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
74449         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
74450         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
74451         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
74452         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
74453         sync_file_range as cancellation point
74454         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
74455         now a wrapper around __call_sync_file_range with cancellation handling.
74456         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
74457         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
74458         function name to __call_sync_file_range.
74459         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
74460         Add call_sync_file_range.
74462 2011-04-01  Andreas Schwab  <schwab@redhat.com>
74464         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74465         bits/timex.h.
74467 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74469         * iconv/iconv.h: Fix typo in comment.
74470         * io/fcntl.h: Likewise.
74471         * libio/stdio.h: Likewise.
74472         * posix/spawn.h: Likewise.
74473         * posix/unistd.h: Likewise.
74474         * stdlib/stdlib.h: Likewise.
74475         * time/time.h: Likewise.
74476         * wcsmbs/wchar.h: Likewise.
74478         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
74479         open_by_handle): Add.
74480         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
74481         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
74482         Augment a few comments.
74483         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74484         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74485         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74486         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74487         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74488         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
74489         open_by_handle.
74491         * io/fcntl.h (AT_EMPTY_PATH): Define.
74493 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
74495         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
74496         * sysdeps/unix/sysv/linux/bits/time.h: New file.
74497         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
74498         to...
74499         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
74500         * Versions.def: Add GLIBC_2.14.
74501         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
74502         Export.
74504 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
74506         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
74507         round counter.
74508         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
74510 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
74512         [BZ #12597]
74513         * string/test-strncmp.c (do_page_test): New function.
74514         (check2): Likewise.
74515         (test_main): Call check2.
74516         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
74518 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
74520         [BZ #12587]
74521         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
74522         Handle cache information in CPU leaf 4.
74523         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
74525 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
74527         [BZ #12583]
74528         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
74529         character representation.
74530         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
74532 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
74534         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
74535         END(__isnan) to END(__isnanf) to match function entry point/label
74536         EALIGN(__isnanf,...).
74538 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
74540         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
74542 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
74544         [BZ #12510]
74545         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
74546         copy from the symbol referenced in the relocation to initialize the
74547         used variable.
74548         Patch by Piotr Bury <pbury@goahead.com>.
74549         * elf/Makefile: Add rules to build and tst-unique3.
74550         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
74551         * elf/tst-unique3.cc: New file.
74552         * elf/tst-unique3.h: New file.
74553         * elf/tst-unique3lib.cc: New file.
74554         * elf/tst-unique3lib2.cc: New file.
74556         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
74558 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
74560         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
74561         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
74562         to _start.
74564 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
74566         * elf/dl-load.c (_dl_map_object): If we are looking for the first
74567         to-be-loaded object along a path to loader is ld.so.
74569 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
74570             Ulrich Drepper  <drepper@gmail.com>
74572         * sysdeps/x86_64/memset.S: After aligning destination, code
74573         branches to different locations depending on the value of
74574         misalignment, when multiarch is enabled. Fix this.
74576 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
74578         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
74579         Set _x86_64_preferred_memory_instruction for AMD processsors.
74580         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74581         Set bit_Prefer_SSE_for_memop for AMD processors.
74583 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
74585         * libio/fmemopen.c (fmemopen): Optimize a bit.
74587 2011-03-03  Andreas Schwab  <schwab@redhat.com>
74589         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
74591 2011-03-03  Roland McGrath  <roland@redhat.com>
74593         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
74595 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
74597         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
74598         __bzero_ultra1 instead of __memset_ultra1.
74600 2011-02-23  Andreas Schwab  <schwab@redhat.com>
74601             Ulrich Drepper  <drepper@gmail.com>
74603         [BZ #12509]
74604         * include/link.h (struct link_map): Add l_orig_initfini.
74605         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
74606         returning unsuccessfully.
74607         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
74608         close of a file loaded at startup, restore the original l_initfini
74609         list.
74610         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
74611         list, store the pointer.
74612         * elf/Makefile ($(objpfx)noload-mem): New rule.
74613         (noload-ENV): Define.
74614         (tests): Add $(objpfx)noload-mem.
74615         * elf/noload.c: Include <memcheck.h>.
74616         (main): Call mtrace.  Close all opened handles.
74618 2011-02-17  Andreas Schwab  <schwab@redhat.com>
74620         [BZ #12454]
74621         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
74622         dependencies are missing.
74624 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74626         Fix __if_freereq crash: Unlike the generic version which uses free,
74627         Hurd needs munmap.
74628         * sysdeps/mach/hurd/ifreq.h: New file.
74630 2011-01-27  Petr Baudis  <pasky@suse.cz>
74631             Ulrich Drepper  <drepper@gmail.com>
74633         [BZ 12445]#
74634         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
74635         to extend_alloca().
74636         * stdio-common/bug23.c: New file.
74637         * stdio-common/Makefile (tests): Add bug23.
74639 2010-09-28  Andreas Schwab  <schwab@redhat.com>
74640             Ulrich Drepper  <drepper@gmail.com>
74642         [BZ #12489]
74643         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
74644         before performing relro protection.  At old place add assertion
74645         to make sure nothing changed.
74647 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
74648             Glauber de Oliveira Costa  <glommer@gmail.com>
74650         * elf/elf.h: Add new ARM TLS relocs.
74652 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
74654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
74655         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
74656         cast from r3.
74657         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
74658         'tests' variable.
74659         * sysdeps/wordsize-64/tst-writev.c: New file.
74661 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
74663         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
74664         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
74665         insns in _dl_start to prevent a TOC reference before relocs are
74666         resolved.
74668 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
74670         [BZ #12469]
74671         * Makeconfig: Remove RANLIB definition.
74672         * Makerules: Don't use RANLIB.
74673         * aclocal.m4: Remove ranlib test.
74674         * configure.in: No need to check for ranlib.
74675         * elf/rtld-Rules: Don't use RANLIB.
74677 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74679         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
74680         protection macro.
74681         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
74682         inclusion protection macro.
74684         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
74685         SIGRTMIN and SIGRTMAX and print information in that case only when
74686         SIGRTMIN is defined.
74688 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
74690         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
74691         arginfo fn returning -1.
74693         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
74694         and thousands string is zero terminated.
74696 2011-02-03  Andreas Schwab  <schwab@redhat.com>
74698         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
74699         sysdeps/unix/sysv/linux/bits/socket.h.
74701 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74703         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
74704         (__CPU_COUNT): Remove old macros.
74705         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
74706         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
74707         (__CPU_ALLOC, __CPU_FREE): Add macros.
74708         (__sched_cpualloc, __sched_cpufree): Add declarations.
74710 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
74712         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
74713         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
74714         * nscd/aicache.c (addhstaiX): Return timeout of added value.
74715         (readdhstai): Return value of addhstaiX call.
74716         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
74717         (addgrbyX): Return value returned by cache_addgr.
74718         (readdgrbyname): Return value returned by addgrbyX.
74719         (readdgrbygid): Likewise.
74720         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
74721         (addpwbyX): Return value returned by cache_addpw.
74722         (readdpwbyname): Return value returned by addhstbyX.
74723         (readdpwbyuid): Likewise.
74724         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
74725         (addservbyX): Return value returned by cache_addserv.
74726         (readdservbyname): Return value returned by addservbyX:
74727         (readdservbyport): Likewise.
74728         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
74729         (addhstbyX): Return value returned by cache_addhst.
74730         (readdhstbyname): Return value returned by addhstbyX.
74731         (readdhstbyaddr): Likewise.
74732         (readdhstbynamev6): Likewise.
74733         (readdhstbyaddrv6): Likewise.
74734         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
74735         (readdinitgroups): Return value returned by addinitgroupsX.
74736         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
74737         (prune_cache): Keep track of timeout value of re-added entries.
74738         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
74739         * nscd/nscd.h: Adjust prototypes of readd* functions.
74741 2011-02-04  Roland McGrath  <roland@redhat.com>
74743         * nis/nis_server.c (nis_servstate): Use the right name for 0.
74744         (nis_stats): Likewise.
74745         * nis/nis_modify.c (nis_modify): Likewise.
74746         * nis/nis_remove.c (nis_remove): Likewise.
74747         * nis/nis_add.c (nis_add): Likewise.
74749         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
74751         * posix/fnmatch_loop.c: Add some consts.
74753         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
74755 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
74757         [BZ #12460]
74758         * config.make.in (config-cflags-novzeroupper): Define.
74759         * configure.in: Substitute libc_cv_cc_novzeroupper.
74760         * elf/Makefile (AVX-CFLAGS): Define.
74761         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
74762         (CFLAGS-tst-auditmod4a.c): Likewise.
74763         (CFLAGS-tst-auditmod4b.c): Likewise.
74764         (CFLAGS-tst-auditmod6b.c): Likewise.
74765         (CFLAGS-tst-auditmod6c.c): Likewise.
74766         (CFLAGS-tst-auditmod7b.c): Likewise.
74767         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
74769 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
74771         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
74772         function to the callback.
74773         Patch partly by Jiri Olsa <jolsa@redhat.com>.
74775 2011-02-02  Andreas Schwab  <schwab@redhat.com>
74777         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
74778         of errno.
74780 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
74782         [BZ #11724]
74783         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
74784         of constructors.
74785         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
74786         of destructors.
74787         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
74789         [BZ #11724]
74790         * elf/Makefile: Add rules to build and run new test.
74791         * elf/tst-initorder.c: New file.
74792         * elf/tst-initorder.exp: New file.
74793         * elf/tst-initordera1.c: New file.
74794         * elf/tst-initordera2.c: New file.
74795         * elf/tst-initordera3.c: New file.
74796         * elf/tst-initordera4.c: New file.
74797         * elf/tst-initorderb1.c: New file.
74798         * elf/tst-initorderb2.c: New file.
74799         * elf/tst-order-a1.c: New file.
74800         * elf/tst-order-a2.c: New file.
74801         * elf/tst-order-a3.c: New file.
74802         * elf/tst-order-a4.c: New file.
74803         * elf/tst-order-b1.c: New file.
74804         * elf/tst-order-b2.c: New file.
74805         * elf/tst-order-main.c: New file.
74806         New test case by George Gensure <werkt0@gmail.com>.
74808 2010-10-01  Andreas Schwab  <schwab@redhat.com>
74810         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74811         decoding ACE if AI_CANONIDN.
74813 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
74815         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
74817 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
74819         * version.h (RELEASE): Bump for 2.13 release.
74820         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
74822         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
74824         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
74825         MADV_NOHUGEPAGE.
74826         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
74827         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
74828         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74829         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74830         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74831         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
74833         * posix/getconf.c: Update copyright year.
74834         * catgets/gencat.c: Likewise.
74835         * csu/version.c: Likewise.
74836         * debug/catchsegv.sh: Likewise.
74837         * debug/xtrace.sh: Likewise.
74838         * elf/ldconfig.c: Likewise.
74839         * elf/ldd.bash.in: Likewise.
74840         * elf/sprof.c (print_version): Likewise.
74841         * iconv/iconv_prog.c: Likewise.
74842         * iconv/iconvconfig.c: Likewise.
74843         * locale/programs/locale.c: Likewise.
74844         * locale/programs/localedef.c: Likewise.
74845         * malloc/memusage.sh: Likewise.
74846         * malloc/mtrace.pl: Likewise.
74847         * nscd/nscd.c (print_version): Likewise.
74848         * nss/getent.c: Likewise.
74850         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
74851         PF_CAIF, and PF_ALG.
74852         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74854 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
74856         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
74857         (modules-names): Use them.
74858         (ifunc-test-modules, ifunc-pie-tests): Define.
74859         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
74860         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
74861         (test-extras): Likewise.
74862         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
74863         $(compile-command.c).
74864         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
74865         (all-built-dso): Define.
74866         (check-textrel.out, check-execstack.out): Depend on it.
74868         * configure.in: Don't override --enable-multi-arch.
74870 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
74872         [BZ #6812]
74873         * nscd/hstcache.c (tryagain): Define.
74874         (cache_addhst): Return tryagain not notfound for temporary errors.
74875         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
74876         failed.
74878 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
74880         [BZ #10563]
74881         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
74882         to make the syscall.
74883         * sysdeps/unix/sysv/linux/setgroups.c: New file.
74885         [BZ #12378]
74886         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
74887         and fall back to matching as normal character if the string ends before
74888         the matching ']' is found.  This is what POSIX requires.
74889         * posix/testfnm.c: Adjust test result.
74890         * posix/globtest.sh: Adjust test result.  Add new test.
74891         * posix/tst-fnmatch.input: Likewise.
74892         * posix/tst-fnmatch2.c: Add new test.
74894 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
74896         * elf/Makefile (check-execstack): Revert last change.  Depend on
74897         check-execstack.h.
74898         (check-execstack.h): New target.
74899         (generated): Add check-execstack.h.
74900         * elf/check-execstack.c: Include "check-execstack.h".
74901         (main): Revert last change.
74902         (handle_file): Return zero if GNU_STACK is absent and
74903         DEFAULT_STACK_PERMS doesn't include PF_X.
74905 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
74907         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
74908         in child fails because the descriptor is already closed.
74909         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
74910         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
74911         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
74913         [BZ #12397]
74914         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
74915         syscall.
74917         [BZ #10484]
74918         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
74919         temporary buffer used to handle multi lookups locally.
74920         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
74922 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
74924         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
74925         loader is ld.so.
74927 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
74929         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
74930         alignment for SSE2.
74932 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
74934         [BZ #12394]
74935         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
74936         characters.  When rounding increased number of integer digits recompute
74937         number of groups.
74938         * stdio-common/tst-grouping.c: New file.
74939         * stdio-common/Makefile: Add rules to build and run tst-grouping.
74941 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
74943         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
74944         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
74946         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
74947         void.
74948         * bits/select.h: Likewise.
74950 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
74952         * po/ja.po: Update from translation team.
74954 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
74956         [BZ #11155]
74957         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
74958         implementation just like for lxstat, fxstatat, et al.
74960 2010-12-27  Jim Meyering  <meyering@redhat.com>
74962         [BZ #12348]
74963         * posix/regexec.c (build_trtable): Return failure indication upon
74964         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
74966 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
74968         [BZ #12201]
74969         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
74970         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
74971         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
74972         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
74974         [BZ #12207]
74975         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
74977         [BZ #12204]
74978         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
74979         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
74981 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
74983         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
74984         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
74985         script has SORT_BY_INIT_PRIORITY.
74986         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
74987         NO_CTORS_DTORS_SECTIONS is defined.
74988         * elf/soinit.c: Likewise.
74989         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
74990         NO_CTORS_DTORS_SECTIONS is defined.
74991         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
74992         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
74993         * sysdeps/sh/init-first.c: Likewise.
74994         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
74996 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
74998         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
74999         always use the slow path.
75001 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
75003         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
75004         similar rule which adds the sysdep directories to the header search in
75005         order to pick up the correct platform stackinfo.h.
75006         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
75007         perform test if it is, otherwise return successfully without testing.
75008         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
75009         DEFAULT_STACK_PERMS define in stackinfo.h.
75010         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
75011         defined in stackinfo.h.
75012         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
75013         DEFAULT_STACK_PERMS defined in stackinfo.h.
75014         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
75015         * sysdeps/ia64/stackinfo.h: Likewise.
75016         * sysdeps/s390/stackinfo.h: Likewise.
75017         * sysdeps/sh/stackinfo.h: Likewise.
75018         * sysdeps/sparc/stackinfo.h: Likewise.
75019         * sysdeps/x86_64/stackinfo.h: Likewise.
75020         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
75021         PF_X for powerpc64.  Retain PF_X for powerpc32.
75023 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
75025         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
75026         accurately.
75027         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
75028         GETDENTS_64BIT_ALIGNED.
75030 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
75032         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
75034 2010-12-10  Andreas Schwab  <schwab@redhat.com>
75036         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
75037         _GNU_SOURCE.
75039         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
75040         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
75041         Remove __restrict.
75042         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
75043         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
75045 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
75047         [BZ #11655]
75048         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
75049         are initialized.
75051 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
75053         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
75055 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
75057         * po/it.po: Update from translation team.
75059 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
75061         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
75062         unused codes.
75064 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
75066         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
75068 2010-11-24  Andreas Schwab  <schwab@redhat.com>
75070         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
75071         specially.
75072         (gaih_getanswer_slice): Likewise.
75074 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
75076         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
75078 2010-05-31  Petr Baudis  <pasky@suse.cz>
75080         [BZ #11149]
75081         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
75082         silently even in the chroot mode.
75084 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
75086         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
75087         last patch a bit.  Pretty printing
75089 2010-05-31  Petr Baudis <pasky@suse.cz>
75091         [BZ #10085]
75092         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
75093         initialization of skip_initgroups_dyn.
75095 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
75097         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
75098         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
75100 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
75102         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
75104 2010-11-11  Andreas Schwab  <schwab@redhat.com>
75106         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
75107         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
75108         (tst-fnmatch-ENV): Set MALLOC_TRACE.
75109         ($(objpfx)tst-fnmatch-mem): New rule.
75110         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
75111         * posix/tst-fnmatch.c (main): Call mtrace.
75113 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
75115         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75116         Support Intel processor model 6 and model 0x2c.
75118 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
75120         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
75121           signed comparison.
75123 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
75125         [BZ #12205]
75126         * string/test-strncasecmp.c (check_result): New function.
75127         (do_one_test): Use it.
75128         (check1): New function.
75129         (test_main): Use it.
75130         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
75131         Support strcasecmp and strncasecmp.
75133 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
75135         [BZ #12194]
75136         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
75137         * sysdeps/x86_64/bits/byteswap.h: Likewise.
75139 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
75141         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
75142         IFUNC support.
75143         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75144         memset-x86-64.
75145         * sysdeps/x86_64/multiarch/bzero.S: New file.
75146         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
75147         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
75148         * sysdeps/x86_64/multiarch/memset.S: New file.
75149         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
75150         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75151         Set bit_Prefer_SSE_for_memop for Intel processors.
75152         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
75153         Define.
75154         (index_Prefer_SSE_for_memop): Define.
75155         (HAS_PREFER_SSE_FOR_MEMOP): Define.
75157 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
75159         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
75160         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
75162 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
75164         [BZ #12191]
75165         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
75166         (__x86_64_raw_data_cache_size_half): Likewise.
75167         (__x86_64_raw_shared_cache_size): Likewise.
75168         (__x86_64_raw_shared_cache_size_half): Likewise.
75170         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
75171         (__x86_64_raw_data_cache_size_half): Likewise.
75172         (__x86_64_raw_shared_cache_size): Likewise.
75173         (__x86_64_raw_shared_cache_size_half): Likewise.
75174         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
75175         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
75176         and __x86_64_raw_shared_cache_size_half.  Round
75177         __x86_64_data_cache_size_half, __x86_64_data_cache_size
75178         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
75179         to multiple of 256 bytes.
75181 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
75183         [BZ #12167]
75184         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
75185         of inacessible symlinks.  Verify result of symlink before returning it.
75186         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
75187         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
75189 2010-10-28  Erich Ritz  <erichritz@gmail.com>
75191         * math/math.h (isinf): Fix typo in comment.
75193 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
75195         * po/da.po: Update from translation team.
75197 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
75199         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
75200         is added to the list.
75202 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75203             Ulrich Drepper  <drepper@gmail.com>
75205         * elf/dl-object.c (_dl_new_object): Don't append the new object to
75206         the global list here.  Move code to...
75207         (_dl_add_to_namespace_list): ...here.  New function.
75208         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
75209         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
75210         * elf/dl-load.c (lose): Don't remove the element from the list.
75211         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
75212         (_dl_map_object): Likewise.
75214 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
75216         [BZ #12159]
75217         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
75218         into all bytes of SSE register.
75219         Patch by Richard Li <richardpku@gmail.com>.
75221 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
75223         [BZ #12140]
75224         * malloc/malloc.c (_int_free): Fill correct number of bytes when
75225         perturbing.
75227 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
75229         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
75230         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
75231         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
75232         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
75233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
75234         submachine.
75235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
75237 2010-10-22  Andreas Schwab  <schwab@redhat.com>
75239         * include/dlfcn.h (__RTLD_SECURE): Define.
75240         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
75241         mode & __RTLD_SECURE instead.
75242         (open_path): Rename preloaded parameter to secure.
75243         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
75244         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
75245         * elf/dl-deps.c (openaux): Likewise.
75246         * elf/rtld.c (struct map_args): Remove is_preloaded.
75247         (map_doit): Don't use it.
75248         (dl_main): Likewise.
75249         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
75250         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
75252 2010-09-09  Andreas Schwab  <schwab@redhat.com>
75254         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
75255         (sysd-rules-targets): Remove duplicates.
75256         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
75257         rtld-%.$o dependency.
75259 2010-10-18  Andreas Schwab  <schwab@redhat.com>
75261         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
75262         _dl_map_object do it.
75264 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
75266         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
75267         fast fma builtins, define the macros in the C99 standard.
75268         (FP_FAST_FMAF): Likewise.
75269         (FP_FAST_FMAL): Likewise.
75270         * sysdeps/x86_64/bits/mathdef.h: Likewise.
75272         * bits/mathdef.h: Update copyright year.
75273         * sysdeps/powerpc/bits/mathdef.h: Likewise.
75275 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
75277         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
75278         builtins, define the macros in the C99 standard.
75279         (FP_FAST_FMAF): Likewise.
75280         (FP_FAST_FMAL): Likewise.
75281         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
75282         multiply/add.
75283         (FP_FAST_FMAF): Likewise.
75285 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
75287         [BZ #3268]
75288         * math/libm-test.inc (fma_test): Some new testcases.
75289         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
75290         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
75291         y and infinite z.  Do multiplication by C already in long double.
75292         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
75293         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
75294         y and infinite z.  Do bitwise or of inexact bit into u.d.
75295         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
75296         * sysdeps/i386/fpu/s_fmaf.S: Removed.
75297         * sysdeps/i386/fpu/s_fma.S: Removed.
75298         * sysdeps/i386/fpu/s_fmal.S: Removed.
75300 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
75302         [BZ #3268]
75303         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
75304         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
75305         computation is not scheduled after fetestexcept.  Fix value
75306         of minimum denormal long double.
75308 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
75310         [BZ #3268]
75311         * math/libm-test.inc (fma_test): Add some more tests.
75312         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
75313         correctly.
75315 2010-10-15  Andreas Schwab  <schwab@redhat.com>
75317         * scripts/data/localplt-s390-linux-gnu.data: New file.
75318         * scripts/data/localplt-s390x-linux-gnu.data: New file.
75320 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
75322         [BZ #3268]
75323         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
75324         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
75325         instead of dbl-64.
75326         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
75327         inlines.
75328         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
75329         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
75330         if one of x and y is very large and the other is subnormal.
75331         * sysdeps/s390/fpu/s_fmaf.c: New file.
75332         * sysdeps/s390/fpu/s_fma.c: New file.
75333         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
75334         * sysdeps/powerpc/fpu/s_fma.S: New file.
75335         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
75336         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
75337         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
75339 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
75341         [BZ #3268]
75342         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
75343         fma tests.
75344         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
75345         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
75346         * sysdeps/i386/i686/multiarch/s_fma.c: Include
75347         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
75348         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
75349         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
75350         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
75352 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
75354         [BZ #12078]
75355         * posix/regcomp.c (parse_branch): One more memory leak plugged.
75356         * posix/bug-regex31.input: Add test case.
75358 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
75360         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
75361         * posix/bug-regex31.input: New file.
75363         [BZ #12078]
75364         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
75365         (parse_sub_exp): Fix last change, use postorder.
75367         * posix/bug-regex31.c: New file.
75368         * posix/Makefile: Add rules to build and run bug-regex31.
75370         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
75372         [BZ #12078]
75373         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
75375         [BZ #12108]
75376         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
75377         to have entries in sys_siglist.
75379         [BZ #12093]
75380         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
75381         be NULL.
75383 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
75385         [BZ #3268]
75386         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
75387         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
75388         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
75389         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
75390         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
75391         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
75392         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
75393         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
75394         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
75395         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
75396         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
75397         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
75398         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
75399         * math/ftestexcept.c (fetestexcept): Likewise.
75400         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
75401         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
75402         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
75403         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
75404         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
75405         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
75406         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
75408 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
75410         [BZ #12107]
75411         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
75412         newline.
75414 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
75416         * string/bug-strstr1.c: New file.
75417         * string/Makefile: Add rules to build and run bug-strstr1.
75419 2010-10-05  Eric Blake  <eblake@redhat.com>
75421         [BZ #12092]
75422         * string/str-two-way.h (two_way_long_needle): Always clear memory
75423         when skipping input due to the shift table.
75425 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
75427         [BZ #12005]
75428         * malloc/mcheck.c: Handle large requests.
75430         [BZ #12077]
75431         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
75432         for strncmp and strncasecmp.
75433         * string/stratcliff.c: Add tests for strcmp and strncmp.
75434         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
75436 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
75438         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
75439         __set_fpscr.
75441 2010-09-30  Andreas Jaeger  <aj@suse.de>
75443         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
75444         (CGROUP_SUPER_MAGIC): Define.
75445         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75446         Handle btrfs and cgroup file systems.
75447         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
75448         Likewise.
75450 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
75452         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
75453         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
75455 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75457         [BZ #12067]
75458         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
75459         trying to locate the ELF header.
75461 2010-09-27  Andreas Schwab  <schwab@redhat.com>
75463         [BZ #11611]
75464         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
75465         Mask out sign-bit copies when constructing f_fsid.
75467 2010-09-24  Petr Baudis <pasky@suse.cz>
75469         * debug/stack_chk_fail_local.c: Add missing licence exception.
75470         * debug/warning-nop.c: Likewise.
75472 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
75474         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
75475         implementing getdents64 using getdents syscall, set d_type if
75476         __ASSUME_GETDENTS32_D_TYPE.
75478 2010-09-16  Andreas Schwab  <schwab@redhat.com>
75480         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
75481         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
75483 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
75485         [BZ #12037]
75486         * posix/unistd.h: Undo change of feature selection for ftruncate from
75487         2010-01-11.
75489 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
75491         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
75492         detection.
75494 2010-09-20  Andreas Schwab  <schwab@redhat.com>
75496         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
75497         fanotify_mark.
75498         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
75500 2010-09-14  Andreas Schwab  <schwab@redhat.com>
75502         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
75503         variables after CHECK_SP call.
75504         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
75506 2010-09-13  Andreas Schwab  <schwab@redhat.com>
75507             Ulrich Drepper  <drepper@redhat.com>
75509         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
75510         re-relocationg ld.so.
75511         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
75512         _dl_init_paths call.
75513         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
75514         here anymore.
75516 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
75518         * resolv/res_init.c (__res_vinit): Count the default server we added.
75520 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
75521             Ulrich Drepper  <drepper@redhat.com>
75523         [BZ #11968]
75524         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
75525         (____longjmp_chk): Use %ebx for saving value across system call.
75526         Add unwind info.
75528 2010-09-06  Andreas Schwab  <schwab@redhat.com>
75530         * manual/Makefile: Don't mix pattern rules with normal rules.
75532 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
75534         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
75535         operation.
75536         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
75537         * libio/iofopncook.c (_IO_cookie_init): Likewise.
75538         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
75539         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
75540         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75541         Likewise.
75543 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
75545         [BZ #11979]
75546         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
75547         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
75549 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
75551         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
75552         * sysdeps/x86_64/addmul_1.S: Likewise.
75553         * sysdeps/x86_64/lshift.S: Likewise.
75554         * sysdeps/x86_64/mul_1.S: Likewise.
75555         * sysdeps/x86_64/rshift.S: Likewise.
75556         * sysdeps/x86_64/sub_n.S: Likewise.
75557         * sysdeps/x86_64/submul_1.S: Likewise.
75559 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75561         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
75562         Define __sched_param instead of SCHED_* and sched_param when
75563         <bits/sched.h> is included with __need_schedparam defined.
75564         * bits/sched.h [__need_schedparam]
75565         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
75566         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
75567         (__defined_schedparam): Define to 1.
75568         (__sched_param): New structure, identical to sched_param.
75569         (__need_schedparam): Undefine.
75571 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
75573         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
75574         (epoll_create1): Declare.
75576         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
75578 2010-08-31  Andreas Schwab  <schwab@redhat.com>
75580         [BZ #7066]
75581         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
75582         shifting retval into place.
75584 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
75586         * nis/rpcsvc/nis.h: Update copyright notice.
75587         * nis/rpcsvc/nis.x: Likewise.
75588         * nis/rpcsvc/nis_callback.h: Likewise.
75589         * nis/rpcsvc/nis_callback.x: Likewise.
75590         * nis/rpcsvc/nis_object.x: Likewise.
75591         * nis/rpcsvc/nis_tags.h: Likewise.
75592         * nis/rpcsvc/yp.h: Likewise.
75593         * nis/rpcsvc/yp.x: Likewise.
75594         * nis/rpcsvc/ypupd.h: Likewise.
75595         * nis/yp_xdr.c: Likewise.
75596         * nis/ypupdate_xdr.c: Likewise.
75598         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
75599         mainly the body of pmap_getport.  Add parameters to specify timeouts.
75600         (pmap_getport): Use __libc_rpc_getport.
75601         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
75602         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
75603         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
75605 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
75607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
75608         fanotify_mark.
75610 2010-08-27  Roland McGrath  <roland@redhat.com>
75612         * sysdeps/i386/i686/multiarch/Makefile
75613         (CFLAGS-varshift.c): New variable.
75615 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
75617         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
75618         * sysdeps/i386/i686/multiarch/varshift.c: New file.
75620         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
75622         * sysdeps/x86_64/strlen.S: Minimal code improvement.
75624 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
75626         * sysdeps/x86_64/strlen.S: Unroll the loop.
75627         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75628         strlen-sse2 strlen-sse2-bsf.
75629         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
75630         __strlen_no_bsf if bit_Slow_BSF is set.
75631         (__strlen_sse42): Removed.
75632         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
75633         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
75635 2010-08-25  Roland McGrath  <roland@redhat.com>
75637         * sysdeps/x86_64/multiarch/varshift.S: File removed.
75638         * sysdeps/x86_64/multiarch/varshift.c: New file.
75639         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
75640         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
75641         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
75642         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
75644 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
75646         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75647         strlen-sse2 strlen-sse2-bsf.
75648         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
75649         __strlen_sse2_bsf if bit_Slow_BSF is unset.
75650         (__strlen_sse2): Removed.
75651         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
75652         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
75653         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
75654         bit_Slow_BSF for Atom.
75655         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
75656         (index_Slow_BSF): Define.
75657         (HAS_SLOW_BSF): Define.
75659 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
75661         [BZ #10851]
75662         * resolv/res_init.c (__res_vinit): When no server address at all
75663         is given default to loopback.
75665 2010-08-24  Roland McGrath  <roland@redhat.com>
75667         * configure.in: Remove config-name.h generation.
75668         * configure: Regenerated.
75669         * config-name.in: File removed.
75670         * scripts/config-uname.sh: New file.
75671         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
75672         ($(objdir)config-name.h): New target.
75674         * sunrpc/rpc_parse.h: Avoid nested comment.
75676 2010-08-24  Richard Henderson  <rth@redhat.com>
75677             Ulrich Drepper  <drepper@redhat.com>
75678             H.J. Lu  <hongjiu.lu@intel.com>
75680         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
75681         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
75682         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
75683         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
75684         _mm_alignr_epi8 with _mm_loadu_si128.
75685         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
75686         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
75687         (__m128i_shift_right): Removed.
75688         * sysdeps/i386/i686/multiarch/varshift.h: New file.
75689         * sysdeps/i386/i686/multiarch/varshift.S: New file.
75690         * sysdeps/x86_64/multiarch/varshift.h: New file.
75691         * sysdeps/x86_64/multiarch/varshift.S: New file.
75693 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
75695         * configure.in: Move assembler checks to before sysdep dir checking.
75697 2010-08-20  Petr Baudis  <pasky@suse.cz>
75699         * LICENSES: Sync the sunrpc license.
75701 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
75703         * sunrpc/auth_des.c: Update copyright notice once again.
75704         * sunrpc/auth_none.c: Likewise.
75705         * sunrpc/auth_unix.c: Likewise.
75706         * sunrpc/authdes_prot.c: Likewise.
75707         * sunrpc/authuxprot.c: Likewise.
75708         * sunrpc/bindrsvprt.c: Likewise.
75709         * sunrpc/clnt_gen.c: Likewise.
75710         * sunrpc/clnt_perr.c: Likewise.
75711         * sunrpc/clnt_raw.c: Likewise.
75712         * sunrpc/clnt_simp.c: Likewise.
75713         * sunrpc/clnt_tcp.c: Likewise.
75714         * sunrpc/clnt_udp.c: Likewise.
75715         * sunrpc/clnt_unix.c: Likewise.
75716         * sunrpc/des_crypt.c: Likewise.
75717         * sunrpc/des_soft.c: Likewise.
75718         * sunrpc/get_myaddr.c: Likewise.
75719         * sunrpc/getrpcport.c: Likewise.
75720         * sunrpc/key_call.c: Likewise.
75721         * sunrpc/key_prot.c: Likewise.
75722         * sunrpc/openchild.c: Likewise.
75723         * sunrpc/pm_getmaps.c: Likewise.
75724         * sunrpc/pm_getport.c: Likewise.
75725         * sunrpc/pmap_clnt.c: Likewise.
75726         * sunrpc/pmap_prot.c: Likewise.
75727         * sunrpc/pmap_prot2.c: Likewise.
75728         * sunrpc/pmap_rmt.c: Likewise.
75729         * sunrpc/rpc/auth.h: Likewise.
75730         * sunrpc/rpc/auth_unix.h: Likewise.
75731         * sunrpc/rpc/clnt.h: Likewise.
75732         * sunrpc/rpc/des_crypt.h: Likewise.
75733         * sunrpc/rpc/key_prot.h: Likewise.
75734         * sunrpc/rpc/netdb.h: Likewise.
75735         * sunrpc/rpc/pmap_clnt.h: Likewise.
75736         * sunrpc/rpc/pmap_prot.h: Likewise.
75737         * sunrpc/rpc/pmap_rmt.h: Likewise.
75738         * sunrpc/rpc/rpc.h: Likewise.
75739         * sunrpc/rpc/rpc_des.h: Likewise.
75740         * sunrpc/rpc/rpc_msg.h: Likewise.
75741         * sunrpc/rpc/svc.h: Likewise.
75742         * sunrpc/rpc/svc_auth.h: Likewise.
75743         * sunrpc/rpc/types.h: Likewise.
75744         * sunrpc/rpc/xdr.h: Likewise.
75745         * sunrpc/rpc_clntout.c: Likewise.
75746         * sunrpc/rpc_cmsg.c: Likewise.
75747         * sunrpc/rpc_common.c: Likewise.
75748         * sunrpc/rpc_cout.c: Likewise.
75749         * sunrpc/rpc_dtable.c: Likewise.
75750         * sunrpc/rpc_hout.c: Likewise.
75751         * sunrpc/rpc_main.c: Likewise.
75752         * sunrpc/rpc_parse.c: Likewise.
75753         * sunrpc/rpc_parse.h: Likewise.
75754         * sunrpc/rpc_prot.c: Likewise.
75755         * sunrpc/rpc_sample.c: Likewise.
75756         * sunrpc/rpc_scan.c: Likewise.
75757         * sunrpc/rpc_scan.h: Likewise.
75758         * sunrpc/rpc_svcout.c: Likewise.
75759         * sunrpc/rpc_tblout.c: Likewise.
75760         * sunrpc/rpc_util.c: Likewise.
75761         * sunrpc/rpc_util.h: Likewise.
75762         * sunrpc/rpcinfo.c: Likewise.
75763         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
75764         * sunrpc/rpcsvc/key_prot.x: Likewise.
75765         * sunrpc/rpcsvc/klm_prot.x: Likewise.
75766         * sunrpc/rpcsvc/mount.x: Likewise.
75767         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
75768         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
75769         * sunrpc/rpcsvc/rex.x: Likewise.
75770         * sunrpc/rpcsvc/rstat.x: Likewise.
75771         * sunrpc/rpcsvc/rusers.x: Likewise.
75772         * sunrpc/rpcsvc/sm_inter.x: Likewise.
75773         * sunrpc/rpcsvc/spray.x: Likewise.
75774         * sunrpc/rpcsvc/yppasswd.x: Likewise.
75775         * sunrpc/rtime.c: Likewise.
75776         * sunrpc/svc.c: Likewise.
75777         * sunrpc/svc_auth.c: Likewise.
75778         * sunrpc/svc_authux.c: Likewise.
75779         * sunrpc/svc_raw.c: Likewise.
75780         * sunrpc/svc_run.c: Likewise.
75781         * sunrpc/svc_simple.c: Likewise.
75782         * sunrpc/svc_tcp.c: Likewise.
75783         * sunrpc/svc_udp.c: Likewise.
75784         * sunrpc/svc_unix.c: Likewise.
75785         * sunrpc/svcauth_des.c: Likewise.
75786         * sunrpc/xcrypt.c: Likewise.
75787         * sunrpc/xdr.c: Likewise.
75788         * sunrpc/xdr_array.c: Likewise.
75789         * sunrpc/xdr_float.c: Likewise.
75790         * sunrpc/xdr_mem.c: Likewise.
75791         * sunrpc/xdr_rec.c: Likewise.
75792         * sunrpc/xdr_ref.c: Likewise.
75793         * sunrpc/xdr_sizeof.c: Likewise.
75794         * sunrpc/xdr_stdio.c: Likewise.
75796         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
75797         handling.
75799 2010-08-19  Andreas Schwab  <schwab@redhat.com>
75801         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
75803 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
75805         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
75806         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
75807         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
75808         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
75809         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
75810         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
75811         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
75812         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
75813         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
75814         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
75815         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
75816         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
75817         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
75818         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
75820 2010-07-26  Anton Blanchard  <anton@samba.org>
75822         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
75823         * malloc/arena.c (heap_trim): Likewise.
75825 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
75827         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
75828         here.  Not...
75829         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
75830         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
75832 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
75834         * sysdeps/i386/elf/Makefile: New file.
75836 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75838         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
75839         from fanotify_init.
75840         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
75841         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
75843 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
75845         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
75846         of strncasecmp_l.
75847         * sysdeps/multiarch/strcmp.S: Likewise.
75849 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
75851         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
75852         strncase_l-nonascii.
75853         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
75854         Add strncase_l-ssse3.
75855         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
75856         * sysdeps/x86_64/strcmp.S: Likewise.
75857         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
75858         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
75859         * sysdeps/x86_64/strncase.S: New file.
75860         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
75861         * sysdeps/x86_64/strncase_l.S: New file.
75862         * string/Makefile (strop-tests): Add strncasecmp.
75863         * string/test-strncasecmp.c: New file.
75865         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
75866         warning.
75868         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
75869         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
75871 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75873         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
75875 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
75877         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
75878         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
75879         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
75881 2010-05-01  Alan Modra  <amodra@gmail.com>
75883         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
75884         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
75885         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
75886         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
75887         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
75888         tidying.  Don't tail-call __sigjmp_save for static lib.
75889         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
75890         save location.
75891         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
75892         (CALL_MCOUNT): Add eh info, and nop after bl.
75893         (TAIL_CALL_SYSCALL_ERROR): New macro.
75894         (PSEUDO_RET): Use it.
75895         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
75896         Correct save location of integer regs and cr.
75897         (_dl_profile_resolve): Correct cr save location.  Delete nops
75898         after bl when SHARED.  Reduce cfi size a little by better
75899         placement of cfi directives.
75900         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
75901         make a stack frame.  Instead use parm save area as a temp.
75902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
75903         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
75904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
75905         Don't make a stack frame for parent, use parm save area.
75906         Increase child stack frame to 112 bytes.  Don't save unused reg,
75907         and adjust reg usage.  Set up cfi on error recovery and
75908         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
75909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
75910         (__makecontext): Add dummy nop after jump to exit.
75911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
75912         Use correct parm save area and cr save, reduce stack frame.
75913         Correct cfi for possible PSEUDO_RET frame setup.
75914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
75915         Branch to local label emitted by PSEUDO_RET rather than
75916         __syscall_error.
75918 2010-08-12  Andreas Schwab  <schwab@redhat.com>
75920         [BZ #11904]
75921         * locale/programs/locale.c (print_assignment): New function.
75922         (show_locale_vars): Use it.
75924 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
75926         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
75927         field.
75928         (struct statfs64): Likewise.
75929         (_STATFS_F_FLAGS): Define.
75930         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
75931         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75932         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
75933         (ST_VALID): Define locally.
75934         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
75935         __statvfs_getflags, use the provided value.
75936         * sysdeps/unix/sysv/linux/kernel-features.h: Define
75937         __ASSUME_STATFS_F_FLAGS.
75939         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
75941         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
75942         Add sys/fanotify.h.
75943         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
75944         fanotify_mask for GLIBC_2.13.
75945         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
75946         fanotify_init and fanotify_mark.
75947         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
75948         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
75950         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
75951         Add prlimit.
75952         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
75953         prlimit64 for GLIBC_2.13.
75954         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
75955         prlimit64.
75956         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
75957         syscall.
75958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
75959         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
75960         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
75961         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
75962         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
75963         add prlimit alias.
75964         * sysdeps/unix/sysv/linux/prlimit.c: New file.
75966         [BZ #11903]
75967         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
75968         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
75970         * nss/Makefile: Add rules to build and run tst-nss-test1.
75971         * shlib-versions: Add entry for libnss_test1.
75972         * nss/nss_test1.c: New file.
75973         * nss/tst-nss-test1.c: New file.
75975         * nss/nsswitch.c (__nss_database_custom): Define new variable.
75976         (__nss_configure_lookup): Set appropriate entry in
75977         __nss_configure_lookup to true.
75978         * nss/nsswitch.h: Define enum with indeces of databases in
75979         databases and __nss_database_custom arrays.  Declare
75980         __nss_database_custom.
75981         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
75982         to avoid using nscd when custom rules are installed.
75983         * nss/getXXbyYY_r.c: Likewise.
75984         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
75986         * nss/nss_files/files-parse.c: Whitespace fixes.
75988 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
75990         [BZ #11883]
75991         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
75992         * posix/fnmatch_loop.c: Likewise.
75994 2010-07-17  Andi Kleen  <ak@linux.intel.com>
75996         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
75997         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
75998         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
75999         * Versions.def [GLIBC_2.13]: Add.
76001 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
76003         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
76004         Also fail if tpwd after pwuid call is NULL.
76006 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76008         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
76009         when converting to ms.
76011 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76013         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
76014         EOPNOTSUPP errors with ENOTTY.
76015         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
76016         EOPNOTSUPP errors with ENOTTY.
76018 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
76020         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
76021         Add strcasecmp_l-ssse3.
76022         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
76023         strcasecmp.
76024         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
76025         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
76026         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
76028 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
76030         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
76032         * string/Makefile (strop-tests): Add strcasecmp.
76033         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
76034         strcasecmp_l-nonascii.
76035         (gen-as-const-headers): Add locale-defines.sym.
76036         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
76037         * sysdeps/x86_64/strcasecmp.S: New file.
76038         * sysdeps/x86_64/strcasecmp_l.S: New file.
76039         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
76040         * sysdeps/x86_64/locale-defines.sym: New file.
76041         * string/test-strcasecmp.c: New file.
76043         * string/test-strcasestr.c: Test both ends of the range of characters.
76044         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
76046 2010-07-29  Roland McGrath  <roland@redhat.com>
76048         [BZ #11856]
76049         * manual/locale.texi (Yes-or-No Questions): Fix example code.
76051 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
76053         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
76054         for ld.so.
76056 2010-07-27  Andreas Schwab  <schwab@redhat.com>
76058         * manual/memory.texi (Malloc Tunable Parameters): Document
76059         M_PERTURB.
76061 2010-07-26  Roland McGrath  <roland@redhat.com>
76063         [BZ #11840]
76064         * configure.in (-fgnu89-inline check): Set and substitute
76065         gnu89_inline, not libc_cv_gnu89_inline.
76066         * configure: Regenerated.
76067         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
76069 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
76071         * string/test-strnlen.c: New file.
76072         * string/Makefile (strop-tests): Add strnlen.
76073         * string/tester.c (test_strnlen): Add a few more test cases.
76074         * string/tst-strlen.c: Better error reporting.
76076         * sysdeps/x86_64/strnlen.S: New file.
76078 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
76080         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
76081         lower-latency instructions.
76083 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
76085         * string/test-strcasestr.c: New file.
76086         * string/test-strstr.c: New file.
76087         * string/Makefile (strop-tests): Add strstr and strcasestr.
76088         * string/str-two-way.h: Don't undefine MAX.
76089         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
76091 2010-07-21  Andreas Schwab  <schwab@redhat.com>
76093         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76094         strcasestr-nonascii.
76095         (CFLAGS-strcasestr-nonascii.c): Define.
76096         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
76097         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
76098         Remove unused attribute.
76100 2010-07-20  Roland McGrath  <roland@redhat.com>
76102         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
76103         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
76104         ld.so.cache was broken.  With it, there is no way to disable dsocaps
76105         like LD_HWCAP_MASK can disable hwcaps.
76107 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
76109         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
76111 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
76113         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
76114         call in strcasestr.
76115         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
76116         __strcasestr_sse42_nonascii.
76117         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
76118         strcasestr-nonascii.c.
76119         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
76121 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
76123         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
76124         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
76125         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
76126         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
76128 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
76130         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
76131         fcntl.
76133 2010-07-06  Andreas Schwab  <schwab@redhat.com>
76135         [BZ #11577]
76136         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
76137         dl_signal_cerror.
76139 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
76141         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
76142         _PC_PIPE_BUF using F_GETPIPE_SZ.
76144 2010-07-05  Roland McGrath  <roland@redhat.com>
76146         * manual/arith.texi (Rounding Functions): Fix rint description
76147         implicit in round description.
76149 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
76151         * elf/Makefile: Fix linking for a few tests to make recent linker
76152         happy.
76154 2010-06-30  Andreas Schwab  <schwab@redhat.com>
76156         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76157         $(common-objpfx)libc_nonshared.a.
76159 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
76161         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
76162         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
76163         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
76164         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
76165         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
76166         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
76167         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
76168         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
76169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
76170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
76171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
76172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
76173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
76174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
76175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
76176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
76177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
76178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
76179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
76180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
76181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
76182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
76183         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
76184         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
76185         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
76186         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
76187         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
76188         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
76189         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
76190         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
76191         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
76192         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
76193         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
76194         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
76195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
76196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
76197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
76198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
76199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
76200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
76201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
76202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
76203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
76204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
76205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
76206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
76207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
76208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
76210 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
76212         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
76213         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
76214         * string/memmove.c (memmove): Renamed to ...
76215         (MEMMOVE): ...this.  Default to memmove.
76216         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
76217         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
76218         (END_CHK): Define.
76219         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76220         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
76221         mempcpy-ssse3-back memmove-ssse3-back.
76222         * sysdeps/x86_64/multiarch/bcopy.S: New file .
76223         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
76224         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
76225         * sysdeps/x86_64/multiarch/memcpy.S: New file.
76226         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
76227         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
76228         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
76229         * sysdeps/x86_64/multiarch/memmove.c: New file.
76230         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
76231         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
76232         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
76233         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
76234         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
76235         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
76236         Define.
76237         (index_Fast_Copy_Backward): Define.
76238         (HAS_ARCH_FEATURE): Define.
76239         (HAS_FAST_REP_STRING): Define.
76240         (HAS_FAST_COPY_BACKWARD): Define.
76242 2010-06-21  Andreas Schwab  <schwab@redhat.com>
76244         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
76245         Restore proper fallback handling.
76247 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
76249         [BZ #11701]
76250         * posix/group_member.c (__group_member): Correct checking loop.
76252         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
76253         OOM in getpwuid_r correctly.  Return error number when the caller
76254         should return, otherwise -1.
76255         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
76256         call returning > 0 value.
76257         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
76259 2010-06-07  Andreas Schwab  <schwab@redhat.com>
76261         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
76262         libc_nonshared.a from targets in modules-names.
76264 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
76266         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
76267         requires it.
76269 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
76271         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
76272         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
76273         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
76274         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
76276 2010-06-02  Andreas Schwab  <schwab@redhat.com>
76278         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
76280 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
76282         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
76283         and F_GETPIPE_SZ.
76284         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
76285         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76286         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76287         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76288         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76289         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76291 2010-06-14  Roland McGrath  <roland@redhat.com>
76293         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
76295 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
76297         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
76298         __REDIRECT followed by __THROW.
76299         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
76300         * posix/getopt.h (getopt): Likewise.
76302 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
76304         * hurd/lookup-at.c (__file_name_lookup_at): Accept
76305         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
76306         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
76307         in AT_FLAGS.
76308         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
76309         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
76311 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
76313         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
76315 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
76317         [BZ #11640]
76318         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76319         Properly check family and model.
76321 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
76323         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
76325 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
76327         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
76329 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
76331         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
76332         symbol reference.
76334 2010-05-19  Andreas Schwab  <schwab@redhat.com>
76336         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
76337         symbol reference.
76339 2010-05-21  Andreas Schwab  <schwab@redhat.com>
76341         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
76342         and internal_recvmmsg.
76343         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
76344         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
76345         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
76346         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
76348         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
76349         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
76350         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
76352 2010-05-20  Andreas Schwab  <schwab@redhat.com>
76354         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
76356 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
76358         POWER7 optimizations.
76359         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
76360         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
76362 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
76364         * version.h: Update for 2.13 development version.
76366 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
76368         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
76369         exceptions.  Return 0.
76371 2010-05-07  Roland McGrath  <roland@redhat.com>
76373         * elf/ldconfig.c (main): Add a const.
76375 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
76377         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
76378         (args_options): Add no-idn option.
76379         (ahosts_keys_int): Add idn_flags to ai_flags.
76380         (parse_option): Handle 'i' option to clear idn_flags.
76382         * malloc/malloc.c (_int_free): Possible race in the most recently
76383         added check.  Only act on the data if no current modification
76384         happened.
76386 See ChangeLog.17 for earlier changes.