conformtest: Make more tests into compilation tests.
[glibc.git] / ChangeLog
blobbcfa26e2bb8634e2dca9ca2cf3349cc040762f67
1 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
3         * conform/conformtest.pl: Use compilation instead of execution
4         tests for testing values of constants and usability in #if.
6 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8         * math/auto-libm-test-in: Mark some catan and catanh as
9         xfail-rounding:ibm128-libgcc.
10         * math/auto-libm-test-out-catan: Regenerate.
11         * math/auto-libm-test-out-catanh: Likewise.
13 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
15         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
16         (__END_NAMESPACE_STD): Likewise.
17         (__USING_NAMESPACE_STD): Likewise.
18         (__BEGIN_NAMESPACE_C99): Likewise.
19         (__END_NAMESPACE_C99): Likewise.
20         (__USING_NAMESPACE_C99): Likewise.
21         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
22         undefine macro.
23         (_Mdouble_END_NAMESPACE): Likewise.
24         * ctype/ctype.h: Do not handle C++ namespaces.
25         * libio/bits/stdio-ldbl.h: Likewise.
26         * libio/stdio.h: Likewise.
27         * locale/locale.h: Likewise.
28         * math/bits/mathcalls.h: Likewise.
29         * setjmp/setjmp.h: Likewise.
30         * signal/signal.h: Likewise.
31         * stdlib/bits/stdlib-float.h: Likewise.
32         * stdlib/bits/stdlib-ldbl.h: Likewise.
33         * stdlib/stdlib.h: Likewise.
34         * string/string.h: Likewise.
35         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
36         * time/bits/types/clock_t.h: Likewise.
37         * time/bits/types/struct_tm.h: Likewise.
38         * time/bits/types/time_t.h: Likewise.
39         * time/time.h: Likewise.
40         * wcsmbs/bits/wchar-ldbl.h: Likewise.
41         * wcsmbs/uchar.h: Likewise.
42         * wcsmbs/wchar.h: Likewise.
43         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
44         * wctype/wctype.h: Do not handle C++ namespaces.
45         * scripts/begin-end-check.pl: Remove.
46         * Makefile (installed-headers): Likewise.
47         (tests-special): Do not add $(objpfx)begin-end-check.out.
48         ($(objpfx)begin-end-check.out): Remove.
50 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
51             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
53         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
54         (DL_PLATFORM_INIT): New define.
55         (dl_platform_init): New function.
56         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
57         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
58         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
59         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
60         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
62 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
64         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
65         instead of PIC.
67 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
69         [BZ #21094]
70         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
71         24+24+24-bit pi for wider range of values around pi/2.
72         * math/auto-libm-test-in: Add more tests of cos and tan.
73         * math/auto-libm-test-out-cos: Regenerated.
74         * math/auto-libm-test-out-tan: Likewise.
76 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
78         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
79         (RTLD_START): Don't record stack end address in _dl_start_user.
81 2017-03-15  Alexey Neyman  <stilor@att.net>
83         [BZ #21088]
84         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
85         around definitions match those around use.
87 2017-03-15  Alexey Neyman  <stilor@att.net>
89         * configure.ac: Avoid empty subexpression in grep.
90         * configure: Regenerate.
92 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
94         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
95         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
96         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
97         (test_wrp_rv): Fix format.
98         (test_wrp_rv2): New macro.
99         (do_test): Handle mlock return on 64 bits kernels with 32 bits
100         binaries.
102 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
104         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
105         Use a union when storing pointers.
106         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
107         cast result when passing to INIT_VEC_PTRS_LOOP.
108         (VECTOR_WRAPPER_fFF_3): Likewise.
109         (VECTOR_WRAPPER_fFF_4): Likewise.
111 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
113         * include/bits/mathcalls-helper-functions.h: New file.
114         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
115         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
116         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
117         math/bits/mathcalls-helper-functions.h.
118         * math/bits/mathcalls-helper-functions.h: New file.
119         * math/math.h: Include bits/mathcalls-helper-functions.h for
120         float, double, and long double.
122 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
124         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
125         instead of feraiseexcept.
127 2017-03-15  Florian Weimer  <fweimer@redhat.com>
129         [BZ #21243]
130         * support/temp_file.c (support_delete_temp_files): Add comment
131         about ignored errors.
133 2017-03-15  Florian Weimer  <fweimer@redhat.com>
135         [BZ #21244]
136         * support/xclose.c: New file.
137         * support/Makefile (libsupport-routines): Add xclose.
138         * support/xunistd.h (xclose): Declare.
139         * support/resolv_test.c (server_thread_tcp_client)
140         (server_thread_tcp, make_server_sockets, resolv_test_start)
141         (resolv_test_end): Call xclose instead of close.
142         * support/support_enter_network_namespace.c
143         (support_enter_network_namespace): Likewise.
144         * support/support_run_diff.c (write_to_temp_file): Likewise.
146 2017-03-15  Florian Weimer  <fweimer@redhat.com>
148         * support/support_format_dns_packet.c (support_format_dns_packet):
149         Handle CNAME records in the response.  Extract RDATA names from
150         rdata, not the whole packet.  Check AAAA record length.
151         * support/tst-support_format_dns_packet.c: New file.
152         * support/Makefile (tests): Add tst-support_format_dns_packet.
153         (tst-support_format_dns_packet): Link against libresolv.
155 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
157         [BZ #21232]
158         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
159         posix_fadvise64 weak_alias for static build.
161 2017-03-14  Andreas Schwab  <schwab@suse.de>
163         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
164         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
165         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
166         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
167         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
168         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
169         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
170         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
172 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
174         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
175         posix error code.
176         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
178 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
180         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
181         no_isolate usage for SH.
183 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
185         [BZ #15105]
186         [BZ #19463]
187         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
188         * inet/rcmd.c (rcmd_af): Likewise.
189         * inet/rexec.c   (rexec_af): Likewise.
190         * intl/dcigettext.c (_LIBC): Likewise.
191         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
192         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
193         * locale/setlocale.c (setlocale): Likewise.
194         * posix/spawn_faction_addopen.c
195         (posix_spawn_file_actions_addopen): Likewise.
196         * stdlib/putenv.c (putenv): Use __strndup.
197         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
198         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
199         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
200         (__Need_M_And_C) Remove define/undef.
201         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
202         (__malloc_and_calloc_defined): Remove define.
203         * string/bits/string2.h (__strdup): Remove define.
204         (strdup): Likewise.
205         (__strndup): Likewise.
206         (strndup): Likewise.
208 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
210         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
211         macro.
212         (IPV6_ADDR_PREFERENCES): Likewise.
213         (IPV6_MINHOPCOUNT): Likewise.
214         (IPV6_ORIGDSTADDR): Likewise.
215         (IPV6_RECVORIGDSTADDR): Likewise.
216         (IPV6_TRANSPARENT): Likewise.
217         (IPV6_UNICAST_IF): Likewise.
218         (IPV6_RECVFRAGSIZE): Likewise.
220 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
222         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
224 2017-03-12  Alexey Neyman <stilor@att.net>
226         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
227         in R_SH_DIR32 case is always false when inlined from
228         dl-conflict.c. Ifdef out to prevent GCC from insertin an
230 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
232         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
233         (__ASSUME_RECV_SYSCALL): Replace duplicate by
234         __ASSUME_SEND_SYSCALL.
236 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
238         * sunrpc/Makefile: don't build and install rpcsvc header
239         files, rpcgen and librpcsvc.a by default.
241 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
243         * math/auto-libm-test-out-catan: Regenerated.
244         * math/auto-libm-test-out-catanh: Likewise.
245         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
247 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
249         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
250         for long double with corrected test expectations.
252 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
254         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
255         Define.
256         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
257         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
258         * sysdeps/unix/sysv/linux/nios2/sysdep.h
259         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
260         * sysdeps/unix/sysv/linux/tile/sysdep.h
261         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
262         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
263         (__ASSUME_RECV_SYSCALL): Define.
264         * sysdeps/unix/sysv/linux/arm/kernel-features.h
265         (__ASSUME_RECV_SYSCALL): Likewise.
266         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
267         (__ASSUME_RECV_SYSCALL): Likewise.
268         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
269         (__ASSUME_RECV_SYSCALL): Likewise.
270         * sysdeps/unix/sysv/linux/mips/kernel-features.h
271         (__ASSUME_RECV_SYSCALL): Likewise.
272         * sysdeps/unix/sysv/linux/i386/kernel-features.h
273         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
274         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
275         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
276         * sysdeps/unix/sysv/linux/s390/kernel-features.h
277         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
278         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
279         auto-generation list.
280         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
281         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
282         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
283         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
284         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
285         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
286         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
287         __ASSUME_SENDTO_SYSCALL.
288         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
289         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
290         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
292         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
293         auto-generation list.
294         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
295         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
296         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
297         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
298         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
299         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
300         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
301         * sysdeps/unix/sysv/linux/kernel-features.h
302         (__ASSUME_SENDTO_SYSCALL): Define by default.
303         * sysdeps/unix/sysv/linux/i386/kernel-features.h
304         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
305         __NR_sendto.
306         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
307         (__ASSUME_SENDTO_SYSCALL): Likewise.
308         * sysdeps/unix/sysv/linux/s390/kernel-features.h
309         (__ASSUME_SENDTO_SYSCALL): Likewise.
310         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
311         (__ASSUME_SENDTO_SYSCALL): Remove definition.
312         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
313         (__ASSUME_SENDTO_SYSCALL): Likewise.
314         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
315         (__ASSUME_SENDTO_SYSCALL): Likewise.
316         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
318         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
319         auto-generation list.
320         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
321         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
322         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
323         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
324         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
325         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
326         (__ASSUME_RECV_SYSCALL): New define.
327         * sysdeps/unix/sysv/linux/arm/kernel-features.h
328         (__ASSUME_RECV_SYSCALL): Likewise.
329         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
330         (__ASSUME_RECV_SYSCALL): Likewise.
331         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
332         (__ASSUME_RECV_SYSCALL): Likewise.
333         * sysdeps/unix/sysv/linux/mips/kernel-features.h
334         (__ASSUME_RECV_SYSCALL): Likewise.
335         * sysdeps/unix/sysv/linux/i386/kernel-features.h
336         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
337         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
338         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
339         * sysdeps/unix/sysv/linux/s390/kernel-features.h
340         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
341         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
342         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
343         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
344         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
345         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
346         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
348         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
349         auto-generation list.
350         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
351         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
352         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
353         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
354         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
355         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
356         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
357         * sysdeps/unix/sysv/linux/i386/kernel-features.h
358         (__ASSUME_RECVFROM_SYSCALL): Define by default.
359         * sysdeps/unix/sysv/linux/kernel-features.h
360         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
361         __NR_recvfrom.
362         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
363         (__ASSUME_RECVFROM_SYSCALL): Likewise.
364         * sysdeps/unix/sysv/linux/s390/kernel-features.h
365         (__ASSUME_RECVFROM_SYSCALL): Likewise.
366         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
367         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
368         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
369         (__ASSUME_RECVFROM_SYSCALL): Likewise.
370         * sysdeps/unix/sysv/linux/sh/kernel-features.h
371         (__ASSUME_RECVFROM_SYSCALL): Likewise.
372         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
373         (__ASSUME_RECVFROM_SYSCALL): Likewise.
374         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
376         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
377         auto-generation list.
378         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
379         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
380         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
381         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
382         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
383         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
384         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
385         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
386         * sysdeps/unix/sysv/linux/kernel-features.h
387         (__ASSUME_CONNECT_SYSCALL): Define.
388         * sysdeps/unix/sysv/linux/i386/kernel-features.h
389         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
390         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
391         (__ASSUME_CONNECT_SYSCALL): Likewise.
392         * sysdeps/unix/sysv/linux/s390/kernel-features.h
393         (__ASSUME_CONNECT_SYSCALL): Likewise.
394         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
395         (__ASSUME_CONNECT_SYSCALL): Likewise.
397         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
398         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
399         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
400         auto-generation list.
401         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
402         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
403         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
404         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
405         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
406         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
407         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
408         * sysdeps/unix/sysv/linux/i386/kernel-features.h
409         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
410         (__ASSUME_ACCEPT_SYSCALL): Undefine.
411         * sysdeps/unix/sysv/linux/kernel-features.h
412         (__ASSUME_ACCEPT_SYSCALL): New define.
413         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
414         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
415         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
416         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
417         (__ASSUME_ACCEPT_SYSCALL): Define.
418         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
419         (__ASSUME_ACCEPT_SYSCALL): Undefine.
420         * sysdeps/unix/sysv/linux/s390/kernel-features.h
421         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
422         (__ASSUME_ACCEPT_SYSCALL): Undefine.
423         * sysdeps/unix/sysv/linux/sh/kernel-features.h
424         (__ASSUME_ACCEPT_SYSCALL): Undefine.
425         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
426         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
428 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
429             Zack Weinberg  <zackw@panix.com>
431         * posix/test-errno.c: New file.
432         * posix/Makefile (tests): Add test-errno.
433         * sysdeps/unix/sysv/linux/test-errno.c: New file.
434         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
436 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
438         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
440 2017-03-07  Florian Weimer  <fweimer@redhat.com>
442         * time/tzset.c (compute_offset): Open-code min macro.
443         (min, max, sign): Remove.
445 2017-03-07  Florian Weimer  <fweimer@redhat.com>
447         [BZ #15576]
448         Remove TZNAME_MAX limit from sysconf.
449         * include/time.h (__tzname_cur_max, __tzname_max): Remove
450         declaration.
451         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
452         compute_tzname_max.
453         (compute_tzname_max): Remove.
454         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
455         (update_vars): Do not update __tzname_cur_max.
456         (tzset_internal): Remove argument.
457         (__tzset): Adjust call to tzset_internal.
458         (__tz_convert): Likewise.
460         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
461         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
462         * manual/conf.texi (Sysconf Definition): Update comment.
464 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
466         [BZ #21209]
467         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
468         AT_SECURE processes.
469         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
470         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
471         (test_child): Likewise.
472         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
474 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
476         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
478 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
480         * sysdeps/s390/atomic-machine.h
481         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
482         (__arch_compare_and_exchange_val_8_acq,
483         __arch_compare_and_exchange_val_16_acq,
484         __arch_compare_and_exchange_val_32_acq,
485         __arch_compare_and_exchange_val_64_acq):
486         Delete macro.
487         (atomic_compare_and_exchange_val_acq,
488         atomic_compare_and_exchange_val_rel,
489         atomic_compare_and_exchange_bool_acq,
490         catomic_compare_and_exchange_bool_acq,
491         atomic_exchange_acq, atomic_exchange_rel,
492         atomic_exchange_and_add_acq,
493         atomic_exchange_and_add_rel,
494         catomic_exchange_and_add, atomic_or_val,
495         atomic_or, catomic_or, atomic_bit_test_set,
496         atomic_and_val, atomic_and, catomic_and):
497         Define macros with help of C11 atomic builtins.
499 2017-03-03  Justus Winter <justus@gnupg.org>
501         * sysdeps/mach/hurd/ftruncate64.c: New file.
502         * sysdeps/mach/hurd/truncate64.c: Likewise.
504 2017-03-03  Florian Weimer  <fweimer@redhat.com>
506         * time/tzfile.c (NOID): Do not define.
507         * time/tzset.c (NOID): Likewise.
509 2017-03-03  Florian Weimer  <fweimer@redhat.com>
511         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
513 2017-03-02  Florian Weimer  <fweimer@redhat.com>
515         * elf/get-dynamic-info.h: Remove header file inclusion guard.
517 2017-03-02  Florian Weimer  <fweimer@redhat.com>
519         [BZ #21015]
520         * manual/install.texi (Configuring and compiling): Document
521         --enable-bind-now.
522         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
523         (build-shlib-helper): Use $(LDFLAGS-lib.so).
524         (format.lds): Likewise.
525         [bind-now] (LDFLAGS-c.so): Remove.
526         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
527         be R_X86_64_GLOB_DAT.
528         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
529         relocation can be R_386_GLOB_DAT.
530         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
531         relocaiton can be R_ALPHA_GLOB_DAT.
532         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
534 2017-03-01  Zack Weinberg  <zackw@panix.com>
536         * include/libc-pointer-arith.h: New file.  Define
537         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
538         PTR_ALIGN_DOWN here.
539         * include/libc-internal.h: Definitions of above macros
540         moved from here.  Don't include libc-diag.h anymore either.
541         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
542         Don't include libc-internal.h.
544         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
545         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
546         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
547         * string/strcoll_l.c, sysdeps/nacl/brk.c
548         * sysdeps/unix/clock_settime.c
549         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
550         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
551         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
552         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
553         Don't include libc-internal.h.
555         * elf/get-dynamic-info.h, iconv/loop.c
556         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
557         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
558         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
559         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
560         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
561         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
562         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
563         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
564         * sysdeps/ieee754/ldbl-128/k_tanl.c
565         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
566         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
567         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
568         Include libc-diag.h instead of libc-internal.h.
570         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
571         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
572         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
573         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
574         * sysdeps/unix/sysv/linux/spawni.c
575         * sysdeps/x86_64/nptl/tls.h:
576         Include libc-pointer-arith.h instead of libc-internal.h.
578         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
579         * sysdeps/x86_64/atomic-machine.h:
580         Add multiple include guard.
582         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
583         * string/strcasestr.c: No need to include config.h.
584         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
585         sys/auxv.h. Don't include sysdep.h.
586         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
588         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
589         DL_LOOKUP_ADDRESS.
590         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
591         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
592         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
593         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
594         of ARTIFICIAL_LIMIT.
595         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
596         declaration of __clone2.
598 2017-02-28  Florian Weimer  <fweimer@redhat.com>
600         * scripts/backport-support.sh (latest_commit): New file.
602 2017-02-28  Florian Weimer  <fweimer@redhat.com>
604         [BZ #20257]
605         * inet/Makefile (routines): Add deadline.
606         (tests-static): Add tst-deadline.
607         * inet/net-internal.h (struct deadline_current_time)
608         (__deadline_current_time, struct deadline, __deadline_is_infinite)
609         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
610         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
611         * inet/deadline.c: New file.
612         * inet/tst-deadline.c: Likewise.
613         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
614         tst-udp-timeout, tst-udp-garbage.
615         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
616         explicitly.
617         (tst-udp-garbage): Likewise.  Also link against thread library.
618         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
619         struct layout is part of the ABI.
620         (clntudp_call): Rework timeout handling.
621         * sunrpc/tst-udp-garbage.c: New file.
622         * sunrpc/tst-udp-nonblocking.c: Likewise.
623         * sunrpc/tst-udp-timeout.c: Likewise.
625 2017-02-28  Florian Weimer  <fweimer@redhat.com>
627         [BZ #5010]
628         * sunrpc/svc.c (svc_is_mapped): Remove.
629         (svc_unregister): Obtain mapped status while the service is still
630         registered.
631         * sunrpc/Makefile [have-thread-library] (tests): Add
632         tst-svc_register.
633         (tst-svc_register): Link against libc.so explicitly and the thread
634         library.
635         * sunrpc/tst-svc_register.c: New file.
637 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
639         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
640         * sysdeps/pthread/bits/sigthread.h: Likewise.
642 2017-02-27  Florian Weimer  <fweimer@redhat.com>
644         [BZ #21115]
645         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
646         * sunrpc/Makefile (tests): Add tst-udp-error.
647         (tst-udp-error): Link against libc.so explicitly.
648         * sunrpc/tst-udp-error: New file.
650 2017-02-25  Zack Weinberg  <zackw@panix.com>
652         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
653         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
655         * sysdeps/generic/math_ldbl.h
656         * sysdeps/ia64/fpu/math_ldbl.h
657         * sysdeps/ieee754/ldbl-128/math_ldbl.h
658         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
659         * sysdeps/ieee754/ldbl-96/math_ldbl.h
660         * sysdeps/powerpc/fpu/math_ldbl.h
661         * sysdeps/x86_64/fpu/math_ldbl.h:
662         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
663         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
664         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
665         Add copyright notices.
667         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
668         Don't use EXTRACT_WORDS64.
670         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
671         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
672         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
673         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
674         Include math_ldbl.h, not math_private.h.
676 2017-02-25  Zack Weinberg  <zackw@panix.com>
678         * include/libc-diag.h: New file.  Define ignore_value,
679         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
680         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
682         * include/libc-internal.h: Definitions of above macros moved from
683         here.  Include libc-diag.h.  Add copyright notice.
685         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
686         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
687         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
688         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
689         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
690         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
691         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
692         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
693         Include libc-diag.h instead of libc-internal.h.
695         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
696         call to unsetenv (NULL).
697         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
698         call to pthread_mutexattr_destroy (NULL).
700 2017-02-25  Zack Weinberg  <zackw@panix.com>
702         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
703         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
704         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
705         gets was removed from C++ in C++14.
706         * include/stdio.h: Remove redundant declaration of gets.
707         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
708         be declared, since we are testing it.
709         * stdio-common/Makefile (tst-gets.c): Compile with
710         -Wno-deprecated-declarations.
711         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
712         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
713         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
714         Compile with -Wno-deprecated-declarations.
716 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
718         * math/libm-test-support.c (check_ulp): Use LIT() around literal
719         numbers.
721 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
723         * resolv/tst-resolv-qtypes.c (domain):
724         Change type to const pointer to const char.
726 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
728         * math/Makefile (libm-tests-generated): Remove variable.
729         (libm-tests-base-normal): New variable.
730         (libm-tests-base-finite): Likewise.
731         (libm-tests-base-inline): Likewise.
732         (libm-tests-base): Likewise.
733         (libm-tests-normal): Likewise.
734         (libm-tests-finite): Likewise.
735         (libm-tests-inline): Likewise.
736         (libm-tests-vector): Likewise.
737         (libm-tests): Define in terms of these new variables.
738         (libm-tests-for-type): New variable.
739         (libm-tests.o): Move definition.
740         (tests): Move addition of $(libm-tests).
741         (generated): Update for new and removed libm test files.
742         ($(objpfx)libm-test.c): Remove target.
743         ($(objpfx)libm-have-vector-test.h): Likewise.
744         (CFLAGS-test-double-vlen2.c): Remove variable.
745         (CFLAGS-test-double-vlen4.c): Likewise.
746         (CFLAGS-test-double-vlen8.c): Likewise.
747         (CFLAGS-test-float-vlen4.c): Likewise.
748         (CFLAGS-test-float-vlen8.c): Likewise.
749         (CFLAGS-test-float-vlen16.c): Likewise.
750         (CFLAGS-test-float.c): Likewise.
751         (CFLAGS-test-float-finite.c): Likewise.
752         (CFLAGS-libm-test-support-float.c): Likewise.
753         (CFLAGS-test-double.c): Likewise.
754         (CFLAGS-test-double-finite.c): Likewise.
755         (CFLAGS-libm-test-support-double.c): Likewise.
756         (CFLAGS-test-ldouble.c): Likewise.
757         (CFLAGS-test-ldouble-finite.c): Likewise.
758         (CFLAGS-libm-test-support-ldouble.c): Likewise.
759         (libm-test-inline-cflags): New variable.
760         (CFLAGS-test-ifloat.c): Remove variable.
761         (CFLAGS-test-idouble.c): Likewise.
762         (CFLAGS-test-ildouble.c): Likewise.
763         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
764         dependencies.
765         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
766         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
767         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
768         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
769         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
770         Likewise.
771         (dependencies on libm-test-support-*.o): Remove.
772         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
773         rules using iterators.
774         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
775         Likewise.
776         ($(objpfx)libm-test-support-$(o).o): Likewise.
777         ($(addprefix $(objpfx),$(filter-out $(tests-static)
778         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
779         instead.
780         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
781         define rule instead.
782         * math/README.libm-test: Update.
783         * math/libm-test-acos.inc: Include libm-test-driver.c.
784         (do_test): New function.
785         * math/libm-test-acosh.inc: Include libm-test-driver.c.
786         (do_test): New function.
787         * math/libm-test-asin.inc: Include libm-test-driver.c.
788         (do_test): New function.
789         * math/libm-test-asinh.inc: Include libm-test-driver.c.
790         (do_test): New function.
791         * math/libm-test-atan.inc: Include libm-test-driver.c.
792         (do_test): New function.
793         * math/libm-test-atan2.inc: Include libm-test-driver.c.
794         (do_test): New function.
795         * math/libm-test-atanh.inc: Include libm-test-driver.c.
796         (do_test): New function.
797         * math/libm-test-cabs.inc: Include libm-test-driver.c.
798         (do_test): New function.
799         * math/libm-test-cacos.inc: Include libm-test-driver.c.
800         (do_test): New function.
801         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
802         (do_test): New function.
803         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
804         (do_test): New function.
805         * math/libm-test-carg.inc: Include libm-test-driver.c.
806         (do_test): New function.
807         * math/libm-test-casin.inc: Include libm-test-driver.c.
808         (do_test): New function.
809         * math/libm-test-casinh.inc: Include libm-test-driver.c.
810         (do_test): New function.
811         * math/libm-test-catan.inc: Include libm-test-driver.c.
812         (do_test): New function.
813         * math/libm-test-catanh.inc: Include libm-test-driver.c.
814         (do_test): New function.
815         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
816         (do_test): New function.
817         * math/libm-test-ccos.inc: Include libm-test-driver.c.
818         (do_test): New function.
819         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
820         (do_test): New function.
821         * math/libm-test-ceil.inc: Include libm-test-driver.c.
822         (do_test): New function.
823         * math/libm-test-cexp.inc: Include libm-test-driver.c.
824         (do_test): New function.
825         * math/libm-test-cimag.inc: Include libm-test-driver.c.
826         (do_test): New function.
827         * math/libm-test-clog.inc: Include libm-test-driver.c.
828         (do_test): New function.
829         * math/libm-test-clog10.inc: Include libm-test-driver.c.
830         (do_test): New function.
831         * math/libm-test-conj.inc: Include libm-test-driver.c.
832         (do_test): New function.
833         * math/libm-test-copysign.inc: Include libm-test-driver.c.
834         (do_test): New function.
835         * math/libm-test-cos.inc: Include libm-test-driver.c.
836         (do_test): New function.
837         * math/libm-test-cosh.inc: Include libm-test-driver.c.
838         (do_test): New function.
839         * math/libm-test-cpow.inc: Include libm-test-driver.c.
840         (do_test): New function.
841         * math/libm-test-cproj.inc: Include libm-test-driver.c.
842         (do_test): New function.
843         * math/libm-test-creal.inc: Include libm-test-driver.c.
844         (do_test): New function.
845         * math/libm-test-csin.inc: Include libm-test-driver.c.
846         (do_test): New function.
847         * math/libm-test-csinh.inc: Include libm-test-driver.c.
848         (do_test): New function.
849         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
850         (do_test): New function.
851         * math/libm-test-ctan.inc: Include libm-test-driver.c.
852         (do_test): New function.
853         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
854         (do_test): New function.
855         * math/libm-test-erf.inc: Include libm-test-driver.c.
856         (do_test): New function.
857         * math/libm-test-erfc.inc: Include libm-test-driver.c.
858         (do_test): New function.
859         * math/libm-test-exp.inc: Include libm-test-driver.c.
860         (do_test): New function.
861         * math/libm-test-exp10.inc: Include libm-test-driver.c.
862         (do_test): New function.
863         * math/libm-test-exp2.inc: Include libm-test-driver.c.
864         (do_test): New function.
865         * math/libm-test-expm1.inc: Include libm-test-driver.c.
866         (do_test): New function.
867         * math/libm-test-fabs.inc: Include libm-test-driver.c.
868         (do_test): New function.
869         * math/libm-test-fdim.inc: Include libm-test-driver.c.
870         (do_test): New function.
871         * math/libm-test-floor.inc: Include libm-test-driver.c.
872         (do_test): New function.
873         * math/libm-test-fma.inc: Include libm-test-driver.c.
874         (do_test): New function.
875         * math/libm-test-fmax.inc: Include libm-test-driver.c.
876         (do_test): New function.
877         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
878         (do_test): New function.
879         * math/libm-test-fmin.inc: Include libm-test-driver.c.
880         (do_test): New function.
881         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
882         (do_test): New function.
883         * math/libm-test-fmod.inc: Include libm-test-driver.c.
884         (do_test): New function.
885         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
886         (do_test): New function.
887         * math/libm-test-frexp.inc: Include libm-test-driver.c.
888         (do_test): New function.
889         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
890         (do_test): New function.
891         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
892         (do_test): New function.
893         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
894         (do_test): New function.
895         * math/libm-test-hypot.inc: Include libm-test-driver.c.
896         (do_test): New function.
897         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
898         (do_test): New function.
899         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
900         (do_test): New function.
901         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
902         (do_test): New function.
903         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
904         (do_test): New function.
905         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
906         (do_test): New function.
907         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
908         (do_test): New function.
909         * math/libm-test-isinf.inc: Include libm-test-driver.c.
910         (do_test): New function.
911         * math/libm-test-isless.inc: Include libm-test-driver.c.
912         (do_test): New function.
913         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
914         (do_test): New function.
915         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
916         (do_test): New function.
917         * math/libm-test-isnan.inc: Include libm-test-driver.c.
918         (do_test): New function.
919         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
920         (do_test): New function.
921         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
922         (do_test): New function.
923         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
924         (do_test): New function.
925         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
926         (do_test): New function.
927         * math/libm-test-iszero.inc: Include libm-test-driver.c.
928         (do_test): New function.
929         * math/libm-test-j0.inc: Include libm-test-driver.c.
930         (do_test): New function.
931         * math/libm-test-j1.inc: Include libm-test-driver.c.
932         (do_test): New function.
933         * math/libm-test-jn.inc: Include libm-test-driver.c.
934         (do_test): New function.
935         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
936         (do_test): New function.
937         * math/libm-test-llogb.inc: Include libm-test-driver.c.
938         (do_test): New function.
939         * math/libm-test-llrint.inc: Include libm-test-driver.c.
940         (do_test): New function.
941         * math/libm-test-llround.inc: Include libm-test-driver.c.
942         (do_test): New function.
943         * math/libm-test-log.inc: Include libm-test-driver.c.
944         (do_test): New function.
945         * math/libm-test-log10.inc: Include libm-test-driver.c.
946         (do_test): New function.
947         * math/libm-test-log1p.inc: Include libm-test-driver.c.
948         (do_test): New function.
949         * math/libm-test-log2.inc: Include libm-test-driver.c.
950         (do_test): New function.
951         * math/libm-test-logb.inc: Include libm-test-driver.c.
952         (do_test): New function.
953         * math/libm-test-lrint.inc: Include libm-test-driver.c.
954         (do_test): New function.
955         * math/libm-test-lround.inc: Include libm-test-driver.c.
956         (do_test): New function.
957         * math/libm-test-modf.inc: Include libm-test-driver.c.
958         (do_test): New function.
959         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
960         (do_test): New function.
961         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
962         (do_test): New function.
963         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
964         (do_test): New function.
965         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
966         (do_test): New function.
967         * math/libm-test-nextup.inc: Include libm-test-driver.c.
968         (do_test): New function.
969         * math/libm-test-pow.inc: Include libm-test-driver.c.
970         (do_test): New function.
971         * math/libm-test-remainder.inc: Include libm-test-driver.c.
972         (do_test): New function.
973         * math/libm-test-remquo.inc: Include libm-test-driver.c.
974         (do_test): New function.
975         * math/libm-test-rint.inc: Include libm-test-driver.c.
976         (do_test): New function.
977         * math/libm-test-round.inc: Include libm-test-driver.c.
978         (do_test): New function.
979         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
980         (do_test): New function.
981         * math/libm-test-scalb.inc: Include libm-test-driver.c.
982         (do_test): New function.
983         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
984         (do_test): New function.
985         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
986         (do_test): New function.
987         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
988         (do_test): New function.
989         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
990         (do_test): New function.
991         * math/libm-test-signbit.inc: Include libm-test-driver.c.
992         (do_test): New function.
993         * math/libm-test-significand.inc: Include libm-test-driver.c.
994         (do_test): New function.
995         * math/libm-test-sin.inc: Include libm-test-driver.c.
996         (do_test): New function.
997         * math/libm-test-sincos.inc: Include libm-test-driver.c.
998         (do_test): New function.
999         * math/libm-test-sinh.inc: Include libm-test-driver.c.
1000         (do_test): New function.
1001         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
1002         (do_test): New function.
1003         * math/libm-test-tan.inc: Include libm-test-driver.c.
1004         (do_test): New function.
1005         * math/libm-test-tanh.inc: Include libm-test-driver.c.
1006         (do_test): New function.
1007         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
1008         (do_test): New function.
1009         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
1010         (do_test): New function.
1011         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
1012         (do_test): New function.
1013         * math/libm-test-trunc.inc: Include libm-test-driver.c.
1014         (do_test): New function.
1015         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
1016         (do_test): New function.
1017         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
1018         (do_test): New function.
1019         * math/libm-test-y0.inc: Include libm-test-driver.c.
1020         (do_test): New function.
1021         * math/libm-test-y1.inc: Include libm-test-driver.c.
1022         (do_test): New function.
1023         * math/libm-test-yn.inc: Include libm-test-driver.c.
1024         (do_test): New function.
1025         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
1026         (HAVE_VECTOR): Remove macro.
1027         (START): Do not call HAVE_VECTOR.
1028         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
1029         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
1030         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
1031         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
1032         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
1033         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
1034         * math/test-math-vector.h (FUNC_TEST): New macro.
1035         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
1036         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
1037         (double-vlen4-funcs): Likewise.
1038         (double-vlen4-avx2-funcs): Likewise.
1039         (double-vlen8-funcs): Likewise.
1040         (float-vlen4-funcs): Likewise.
1041         (float-vlen8-funcs): Likewise.
1042         (float-vlen8-avx2-funcs): Likewise.
1043         (float-vlen16-funcs): Likewise.
1044         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
1045         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
1046         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
1047         macro.
1048         (TEST_VECTOR_sin): Likewise.
1049         (TEST_VECTOR_sincos): Likewise.
1050         (TEST_VECTOR_log): Likewise.
1051         (TEST_VECTOR_exp): Likewise.
1052         (TEST_VECTOR_pow): Likewise.
1053         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
1054         Likewise.
1055         (TEST_VECTOR_sin): Likewise.
1056         (TEST_VECTOR_sincos): Likewise.
1057         (TEST_VECTOR_log): Likewise.
1058         (TEST_VECTOR_exp): Likewise.
1059         (TEST_VECTOR_pow): Likewise.
1060         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
1061         Likewise.
1062         (TEST_VECTOR_sinf): Likewise.
1063         (TEST_VECTOR_sincosf): Likewise.
1064         (TEST_VECTOR_logf): Likewise.
1065         (TEST_VECTOR_expf): Likewise.
1066         (TEST_VECTOR_powf): Likewise.
1067         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
1068         Likewise.
1069         (TEST_VECTOR_sinf): Likewise.
1070         (TEST_VECTOR_sincosf): Likewise.
1071         (TEST_VECTOR_logf): Likewise.
1072         (TEST_VECTOR_expf): Likewise.
1073         (TEST_VECTOR_powf): Likewise.
1074         * math/gen-libm-have-vector-test.sh: Remove file.
1075         * math/libm-test.inc: Likewise.
1076         * math/libm-test-support-double.c: Likewise.
1077         * math/libm-test-support-float.c: Likewise.
1078         * math/libm-test-support-ldouble.c: Likewise.
1079         * math/test-double-finite.c: Likewise.: Likewise.
1080         * math/test-double.c: Likewise.
1081         * math/test-float-finite.c: Likewise.
1082         * math/test-float.c: Likewise.
1083         * math/test-idouble.c: Likewise.
1084         * math/test-ifloat.c: Likewise.
1085         * math/test-ildouble.c: Likewise.
1086         * math/test-ldouble-finite.c: Likewise.
1087         * math/test-ldouble.c: Likewise.
1088         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1089         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
1090         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1091         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1092         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1093         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1094         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1095         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
1096         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1097         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1099 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1100            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1102         * math/Makefile: Add wrappers to gen-libm-calls.
1103         * math/w_acos_template.c: New file.
1104         * math/w_acosh_template.c: Likewise.
1105         * math/w_asin_template.c: Likewise.
1106         * math/w_atan2_template.c: Likewise.
1107         * math/w_atanh_template.c: Likewise.
1108         * math/w_cosh_template.c: Likewise.
1109         * math/w_exp10_template.c: Likewise.
1110         * math/w_exp2_template.c: Likewise.
1111         * math/w_exp_template.c: Likewise.
1112         * math/w_fmod_template.c: Likewise.
1113         * math/w_hypot_template.c: Likewise.
1114         * math/w_j0_template.c: Likewise.
1115         * math/w_j1_template.c: Likewise.
1116         * math/w_jn_template.c: Likewise.
1117         * math/w_lgamma_r_template.c: Likewise.
1118         * math/w_lgamma_template.c: Likewise.
1119         * math/w_log10_template.c: Likewise.
1120         * math/w_log2_template.c: Likewise.
1121         * math/w_log_template.c: Likewise.
1122         * math/w_pow_template.c: Likewise.
1123         * math/w_remainder_template.c: Likewise.
1124         * math/w_sinh_template.c: Likewise.
1125         * math/w_sqrt_template.c: Likewise.
1126         * math/w_tgamma_template.c: Likewise.: Likewise.
1127         * sysdeps/generic/math-type-macros-double.h
1128         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
1129         the new wrappers.
1130         * sysdeps/generic/math-type-macros-float.h: Likewise.
1131         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1133 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
1135         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
1136         New enum constant and macro.
1138         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1139         kernel version to 4.10.
1141 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
1143         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
1145 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1147         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1149 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1151         * sysdeps/powerpc/tst-set_ppr.c: New file.
1152         Implement test cases for __ppc_set_ppr_* functions.
1153         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
1154         in the list of tests.
1156 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1158         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
1159         instead of test-skeleton.c.
1160         (do_test): Replaced pthread_create and pthread_join with
1161         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
1162         Removed unneeded status variable.
1163         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
1164         instead of test-skeleton.c.
1165         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
1167 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
1169         [BZ #20313]
1170         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1171         201605L, for Unicode 9.
1173 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
1175         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
1176         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1177         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1178         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1179         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
1180         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1182 2017-02-19  Zack Weinberg  <zackw@panix.com>
1184         * rt/tst-mqueue4.c: Include stdint.h.
1186 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
1188         * sysdeps/arm/libm-test-ulps: Update.
1189         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1190         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1191         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1193 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1195         [BZ #21029]
1196         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
1197         * sysdeps/unix/sysv/linux/i386/Makefile
1198         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
1199         (uses-6-syscall-arguments): Remove.
1200         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
1201         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
1202         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
1203         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
1204         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
1205         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
1206         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
1207         [$(subdir) = misc] (cflags-pselect.o): Likewise.
1208         [$(subdir) = misc] (cflags-pselect.os): Likewise.
1209         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
1210         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
1211         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
1212         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
1213         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
1214         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
1215         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
1216         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
1217         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
1218         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
1219         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
1220         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
1221         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
1222         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
1223         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
1224         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
1225         Likewise.
1226         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
1227         Likewise.
1228         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
1229         Likewise.
1230         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
1231         Likewise.
1232         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
1233         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
1234         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
1235         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
1236         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
1237         ebp on inline assembly.
1238         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
1239         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
1240         Set if CAN_USE_REGISTER_ASM_EBP is set.
1242 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
1244         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
1245         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
1247 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
1249         * math/auto-libm-test-in: Add tests of catan and catanh.
1250         * math/auto-libm-test-out-catan: New generated file.
1251         * math/auto-libm-test-out-catanh: Likewise.
1252         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
1253         Move tests with finite inputs, except divide-by-zero cases, to
1254         auto-libm-test-in.
1255         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
1256         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
1257         (libm-test-funcs-noauto): Remove catan and catanh.
1258         * sysdeps/i386/fpu/libm-test-ulps: Update.
1259         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1262         * math/auto-libm-test-in: Add tests of casin and casinh.
1263         * math/auto-libm-test-out-casin: New generated file.
1264         * math/auto-libm-test-out-casinh: Likewise.
1265         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
1266         Move tests with finite inputs to auto-libm-test-in.
1267         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
1268         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
1269         (libm-test-funcs-noauto): Remove casin and casinh.
1270         * sysdeps/i386/fpu/libm-test-ulps: Update.
1271         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1274         * math/auto-libm-test-in: Add tests of cacos and cacosh.
1275         * math/auto-libm-test-out-cacos: New generated file.
1276         * math/auto-libm-test-out-cacosh: Likewise.
1277         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
1278         Move tests with finite inputs to auto-libm-test-in.
1279         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
1280         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
1281         (libm-test-funcs-noauto): Remove cacos and cacosh.
1282         * sysdeps/i386/fpu/libm-test-ulps: Update.
1283         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1286         Revert:
1287         2017-02-16  Zack Weinberg  <zackw@panix.com>
1289         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
1290         Don't include init-arch.h.
1291         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
1292         Don't include init-arch.h.
1294 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1296         [BZ #21171]
1297         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
1298         +Inf and raise divide-by-zero when x is negative.
1299         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
1300         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
1301         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
1302         -Inf and raise divide-by-zero when x = +-0.
1303         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1304         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
1305         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
1306         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
1307         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
1308         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1309         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1311 2017-02-16  Zack Weinberg  <zackw@panix.com>
1313         * scripts/build-many-glibcs.py (bot_build_mail): If the
1314         bot_config does not contain all of the necessary email-
1315         related settings, just print a warning and continue.
1317 2017-02-16  Zack Weinberg  <zackw@panix.com>
1319         * crypt/md5.h: Test _LIBC with #if defined, not #if.
1320         * dirent/opendir-tst1.c: Include sys/stat.h.
1321         * dirent/tst-fdopendir.c: Include sys/stat.h.
1322         * dirent/tst-fdopendir2.c: Include stdlib.h.
1323         * dirent/tst-scandir.c: Include stdbool.h.
1324         * elf/tst-auditmod1.c: Include link.h and stddef.h.
1325         * elf/tst-tls15.c: Include stdlib.h.
1326         * elf/tst-tls16.c: Include stdlib.h.
1327         * elf/tst-tls17.c: Include stdlib.h.
1328         * elf/tst-tls18.c: Include stdlib.h.
1329         * iconv/tst-iconv6.c: Include endian.h.
1330         * iconvdata/bug-iconv11.c: Include limits.h.
1331         * io/test-utime.c: Include stdint.h.
1332         * io/tst-faccessat.c: Include sys/stat.h.
1333         * io/tst-fchmodat.c: Include sys/stat.h.
1334         * io/tst-fchownat.c: Include sys/stat.h.
1335         * io/tst-fstatat.c: Include sys/stat.h.
1336         * io/tst-futimesat.c: Include sys/stat.h.
1337         * io/tst-linkat.c: Include sys/stat.h.
1338         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
1339         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
1340         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
1341         * io/tst-openat.c: Include stdbool.h.
1342         * io/tst-readlinkat.c: Include sys/stat.h.
1343         * io/tst-renameat.c: Include sys/stat.h.
1344         * io/tst-symlinkat.c: Include sys/stat.h.
1345         * io/tst-unlinkat.c: Include stdbool.h.
1346         * libio/bug-memstream1.c: Include stdlib.h.
1347         * libio/bug-wmemstream1.c: Include stdlib.h.
1348         * libio/tst-fwrite-error.c: Include stdlib.h.
1349         * libio/tst-memstream1.c: Include stdlib.h.
1350         * libio/tst-memstream2.c: Include stdlib.h.
1351         * libio/tst-memstream3.c: Include stdlib.h.
1352         * malloc/tst-interpose-aux.c: Include stdint.h.
1353         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
1354         * nptl/tst-basic7.c: Include limits.h.
1355         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
1356         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
1357         * nptl/tst-cancel4_1.c: Include stddef.h.
1358         * nptl/tst-cancel4_2.c: Include stddef.h.
1359         * nptl/tst-cond16.c: Include limits.h.
1360         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
1361         * nptl/tst-cond18.c: Include limits.h.
1362         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
1363         * nptl/tst-cond4.c: Include stdint.h.
1364         * nptl/tst-cond6.c: Include stdint.h.
1365         * nptl/tst-stack2.c: Include limits.h.
1366         * nptl/tst-stackguard1.c: Include stddef.h.
1367         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
1368         * nptl/tst-tls4moda.c: Include stddef.h.
1369         Don't include stdio.h, unistd.h, or tls.h.
1370         * nptl/tst-tls4modb.c: Include stddef.h.
1371         Don't include stdio.h, unistd.h, or tls.h.
1372         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
1373         * posix/tst-getaddrinfo2.c: Include stdio.h.
1374         * posix/tst-getaddrinfo5.c: Include stdio.h.
1375         * posix/tst-pathconf.c: Include sys/stat.h.
1376         * posix/tst-posix_fadvise-common.c: Include stdint.h.
1377         * posix/tst-preadwrite-common.c: Include sys/stat.h.
1378         * posix/tst-regex.c: Include stdint.h.
1379         Don't include spawn.h or spawn_int.h.
1380         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
1381         * posix/tst-vfork3.c: Include sys/stat.h.
1382         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
1383         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
1384         * resolv/tst-resolv-search.c: Include stdlib.h.
1385         * stdio-common/tst-fmemopen2.c: Include stdint.h.
1386         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
1387         * stdlib/test-canon.c: Include sys/stat.h.
1388         * stdlib/tst-tls-atexit.c: Include stdbool.h.
1389         * string/test-memchr.c: Include stdint.h.
1390         * string/tst-cmp.c: Include stdint.h.
1391         * sysdeps/pthread/tst-timer.c: Include stdint.h.
1392         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
1393         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
1394         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
1395         Don't include init-arch.h.
1396         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
1397         Don't include init-arch.h.
1398         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
1399         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
1400         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
1401         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
1402         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
1403         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
1404         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
1405         * time/clocktest.c: Include stdint.h.
1406         * time/tst-posixtz.c: Include stdint.h.
1407         * timezone/tst-timezone.c: Include stdint.h.
1409 2017-02-16  Zack Weinberg  <zackw@panix.com>
1411         * string/string.h [__USE_MISC]: Include strings.h.
1412         (__bzero, bcmp, bcopy, bzero, index, rindex)
1413         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
1414         (ffs, ffsl, ffsll): Don't declare.
1415         * string/strings.h: Do not suppress the file if string.h has
1416         already been included.
1417         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
1418         annotations.
1419         (index, rindex): Define inline forwarders even if
1420         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
1421         (ffs): Use __attribute_const__.
1422         (ffsl, ffsll): Declare here.
1423         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
1424         have now been standardized.
1425         * include/string.h (__bzero): Declare here.
1427         * bits/types.h: Move to posix/bits.
1428         * include/bits/types.h: New wrapper.
1430 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
1432         * string/bits/string2.h (strcmp): Remove define.
1433         (__strcmp_cg): Likewise.
1434         (strncmp): Likewise.
1436 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
1438         * include/string.h: Add __cplusplus check.
1440 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1442         [BZ #21134]
1443         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
1444         "divide by zero" exception when the input is zero.
1445         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
1446         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
1447         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
1448         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
1449         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1451 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
1453         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
1454         and include ...
1455         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
1456         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
1457         to, and include ...
1458         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
1459         file.
1460         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
1461         and include ...
1462         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
1463         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
1464         and include ...
1465         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
1466         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
1467         and include ...
1468         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
1469         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
1470         and include ...
1471         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
1472         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
1473         to, and include ...
1474         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
1475         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
1476         and include ...
1477         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
1479 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
1481         * math/libm-test-support.h: Do not include <math-tests-arch.h>
1482         here.
1483         * math/libm-test-support.c (libm_test_init): Do not call
1484         INIT_ARCH_EXT here.
1485         * math/libm-test-driver.c: Include <math-tests-arch.h>.
1486         (main): Call INIT_ARCH_EXT.
1488 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1490         [BZ #21130]
1491         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
1492         with the "invalid" exception raised when x is -Inf.
1493         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1495 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
1497         * string/bits/string2.h (strchr): Remove define.
1499 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
1501         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
1502         tst-avx512.
1503         (test-extras): Add tst-avx-aux and tst-avx512-aux.
1504         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
1505         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
1506         ($(objpfx)tst-sse): New rule.
1507         ($(objpfx)tst-avx): Likewise.
1508         ($(objpfx)tst-avx512): Likewise.
1509         (CFLAGS-tst-avx-aux.c): New.
1510         (CFLAGS-tst-avxmod.c): Likewise.
1511         (CFLAGS-tst-avx512-aux.c): Likewise.
1512         (CFLAGS-tst-avx512mod.c): Likewise.
1513         * sysdeps/x86_64/tst-avx-aux.c: New file.
1514         * sysdeps/x86_64/tst-avx.c: Likewise.
1515         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
1516         * sysdeps/x86_64/tst-avx512.c: Likewise.
1517         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
1518         * sysdeps/x86_64/tst-avxmod.c: Likewise.
1519         * sysdeps/x86_64/tst-sse.c: Likewise.
1520         * sysdeps/x86_64/tst-ssemod.c: Likewise.
1522 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
1524         * math/auto-libm-test-in: Add more tests of csin and csinh.
1525         * math/auto-libm-test-out-csin: Regenerated.
1526         * math/auto-libm-test-out-csinh: Likewise.
1527         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
1528         auto-libm-test-in.
1529         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
1531 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1533         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
1534         libm-compat-calls-auto.
1535         (libm-compat-calls): Likewise.
1536         (libm-compat-calls-auto): Rename to libm-compat-calls and add
1537         w_lgamma_compatF and k_standardF (merged from the items above).
1538         (libm-routines): Use libm-compat-calls, instead of
1539         libm-compat-calls-auto, with type-foreach.
1541 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
1543         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
1544         macro.
1545         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
1546         (CFLAGS-test-ifloat.c): ... this.  Remove
1547         -U__LIBC_INTERNAL_MATH_INLINES.
1548         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
1549         (CFLAGS-test-idouble.c): ... this.  Remove
1550         -U__LIBC_INTERNAL_MATH_INLINES.
1551         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
1552         (CFLAGS-test-ildouble.c): ... this.  Remove
1553         -U__LIBC_INTERNAL_MATH_INLINES.
1555 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
1557         * math/libm-test-support.c: New file.  Content from
1558         math/libm-test-driver.c.
1559         * math/libm-test-support.h: Likewise.
1560         * math/libm-test-support-double.c: New file.
1561         * math/libm-test-support-float.c: Likewise.
1562         * math/libm-test-support-ldouble.c: Likewise.
1563         * math/libm-test-driver.c: Remove main comment and header
1564         includes.  Include libm-test-support.h.
1565         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
1566         (flag_test_errno): Remove static.
1567         (flag_test_exceptions): Likewise.
1568         (flag_test_finite): Likewise.
1569         (flag_test_inline): Likewise.
1570         (flag_test_mathvec): Likewise.
1571         (test_msg): Likewise.
1572         (NO_EXCEPTION): Remove.
1573         (INVALID_EXCEPTION): Likewise.
1574         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
1575         (OVERFLOW_EXCEPTION): Likewise.
1576         (UNDERFLOW_EXCEPTION): Likewise.
1577         (INEXACT_EXCEPTION): Likewise.
1578         (INVALID_EXCEPTION_OK): Likewise.
1579         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1580         (OVERFLOW_EXCEPTION_OK): Likewise.
1581         (UNDERFLOW_EXCEPTION_OK): Likewise.
1582         (NO_INEXACT_EXCEPTION): Likewise.
1583         (EXCEPTIONS_OK): Likewise.
1584         (IGNORE_ZERO_INF_SIGN): Likewise.
1585         (TEST_NAN_SIGN): Likewise.
1586         (TEST_NAN_PAYLOAD): Likewise.
1587         (NO_TEST_INLINE): Likewise.
1588         (XFAIL_TEST): Likewise.
1589         (ERRNO_UNCHANGED): Likewise.
1590         (ERRNO_EDOM): Likewise.
1591         (ERRNO_ERANGE): Likewise.
1592         (IGNORE_RESULT): Likewise.
1593         (NON_FINITE): Likewise.
1594         (TEST_SNAN): Likewise.
1595         (NO_TEST_MATHVEC): Likewise.
1596         (__CONCATX): Likewise.
1597         (TYPE_MIN): Likewise.
1598         (TYPE_TRUE_MIN): Likewise.
1599         (TYPE_MAX): Likewise.
1600         (MIN_EXP): Likewise.
1601         (MAX_EXP): Likewise.
1602         (MANT_DIG): Likewise.
1603         (FSTR_MAX): Likewise.
1604         (ulp_idx): Likewise.
1605         (qtype_str): Remove static.
1606         (TEST_COND_binary32): Remove.
1607         (TEST_COND_binary64): Likewise.
1608         (TEST_COND_binary128): Likewise.
1609         (TEST_COND_ibm128): Likewise.
1610         (TEST_COND_intel96): Likewise.
1611         (TEST_COND_m68k96): Likewise.
1612         (TEST_COND_ibm128_libgcc): Likewise.
1613         (XFAIL_IBM128_LIBGCC): Likewise.
1614         (PAYLOAD_DIG): Likewise.
1615         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1616         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1617         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1618         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
1619         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1620         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
1621         (TEST_COND_long32): Likewise.
1622         (TEST_COND_long64): Likewise.
1623         (TEST_COND_before_rounding): Likewise.
1624         (TEST_COND_after_rounding): Likewise.
1625         (ulps_file_name): Likewise.
1626         (ulps_file): Likewise.
1627         (output_ulps): Likewise.
1628         (output_dir): Likewise.
1629         (noErrors): Likewise.
1630         (noTests): Likewise.
1631         (noExcTests): Likewise.
1632         (noErrnoTests): Likewise.
1633         (verbose): Likewise.
1634         (output_max_error): Likewise.
1635         (output_points): Likewise.
1636         (ignore_max_ulp): Likewise.
1637         (max_error): Likewise.
1638         (real_max_error): Likewise.
1639         (imag_max_error): Likewise.
1640         (prev_max_error): Likewise.
1641         (prev_real_max_error): Likewise.
1642         (prev_imag_max_error): Likewise.
1643         (max_valid_error): Likewise.
1644         (TYPE_DECIMAL_DIG): Likewise.
1645         (TYPE_HEX_DIG): Likewise.
1646         (fmt_ftostr): Likewise.
1647         (compare_ulp_data): Likewise.
1648         (find_ulps): Likewise.
1649         (init_max_error): Likewise.
1650         (set_max_error): Likewise.
1651         (print_float): Likewise.
1652         (print_screen): Likewise.
1653         (print_screen_max_error): Likewise.
1654         (update_stats): Likewise.
1655         (print_function_ulps): Likewise.
1656         (print_complex_function_ulps): Likewise.
1657         (fpstack_test): Likewise.
1658         (print_max_error): Likewise.
1659         (print_complex_max_error): Likewise.
1660         (test_single_exception): Likewise.
1661         (test_exceptions): Likewise.
1662         (test_single_errno): Likewise.
1663         (test_errno): Likewise.
1664         (ULPDIFF): Likewise.
1665         (ulp): Likewise.
1666         (check_float_internal): Likewise.
1667         (check_float): Likewise.
1668         (check_complex): Likewise.
1669         (check_int): Likewise.
1670         (check_long): Likewise.
1671         (check_bool): Likewise.
1672         (check_longlong): Likewise.
1673         (check_intmax_t): Likewise.
1674         (check_uintmax_t): Likewise.
1675         (enable_test): Likewise.
1676         (matherr): Likewise.
1677         (initialize): Likewise.
1678         (options): Likewise.
1679         (doc): Remove static.
1680         (argp): Likewise.
1681         (parse_opt): Remove.
1682         (check_ulp): Likewise.
1683         (libm_test_init): Likewise.
1684         (libm_test_finish): Likewise.
1685         * math/Makefile (libm-test-support): New variable.
1686         (test-extras): Add libm-test-support files.
1687         (extra-test-objs): Likewise.
1688         (CFLAGS-libm-test-support-float.c): New variable.
1689         (CFLAGS-libm-test-support-double.c): Likewise.
1690         (CFLAGS-libm-test-support-ldouble.c): Likewise.
1691         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
1692         libm-test-support objects.
1694 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1696         * math/Makefile (libm-calls): Move w_exp...
1697         (libm-compat-calls-auto): Here.
1699         * math/w_expl.c: Add suffix "_compat" to filename.
1700         * sysdeps/ia64/fpu/w_expl.c: Likewise.
1701         * sysdeps/ia64/fpu/w_expf.c: Likewise.
1702         * sysdeps/ia64/fpu/w_exp.c: Likewise.
1703         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1704         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1705         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1706         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1707         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1709         * math/w_expl_compat.c: New file, copied from above.
1710         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
1711         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
1712         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
1713         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
1714         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
1715         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
1716         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
1717         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
1719         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
1720         to filename.
1721         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
1723         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
1724         copied from above and adjusted for the new filenames.
1725         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
1727 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1729         * math/Makefile (libm-calls): Move w_lgammaF...
1730         (libm-compat-calls-auto): Here.
1732         * math/w_lgamma.c: Add suffix "_compat2" to filename.
1733         * math/w_lgammaf.c: Likewise.
1734         * math/w_lgammal.c: Likewise.
1736         * math/w_lgamma_compat2.c: New file, copied from above.
1737         * math/w_lgammaf_compat2.c: Likewise.
1738         * math/w_lgammal_compat2.c: Likewise.
1740 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1742         * math/Makefile (libm-calls): Move w_lgammaF_r...
1743         (libm-compat-calls-auto): Here.
1745         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
1746         * math/w_lgammaf_r.c: Likewise.
1747         * math/w_lgammal_r.c: Likewise.
1748         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
1749         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
1750         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
1752         * math/w_lgamma_r_compat.c: New file, copied from above.
1753         * math/w_lgammaf_r_compat.c: Likewise.
1754         * math/w_lgammal_r_compat.c: Likewise.
1755         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
1756         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
1757         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
1759         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
1760         to filename.
1761         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
1763         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
1764         copied from above and adjusted for the new filenames.
1765         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
1767 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
1769         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
1770         calculation in SYSCALL_ERROR_HANDLER().
1772 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
1774         * manual/contrib.texi: Fix typo.
1776 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1778         [BZ #21109]
1779         * elf/dl-tunable-types.h (tunable_callback_t): Accept
1780         tunable_val_t as argument.
1781         * elf/dl-tunables.c (__tunable_set_val): Add comment.
1782         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
1783         argument.
1784         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
1786 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
1788         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
1789         Add PTRACE_EVENT_STOP.
1790         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1791         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1792         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1793         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1794         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
1795         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
1797 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
1799         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
1800         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
1801         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
1802         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
1803         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
1804         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
1805         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
1806         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
1807         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
1808         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
1810         [BZ #21112]
1811         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
1812         12 bits zero.
1813         (cp_l): Update for new value of cp_h.
1814         * math/auto-libm-test-in: Add another test of pow.
1815         * math/auto-libm-test-out-pow: Regenerated.
1817 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1819         * manual/contrib.texi: Fix typo.
1821 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1823         [BZ #15998]
1824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1825         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
1826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1828 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1830         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
1831         STRCHR as __strchr_power8.
1832         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
1833         strlen as __strlen_power8.
1835 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1837         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
1838         unaligned load for shorter strings.
1839         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
1841 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
1843         * math/libm-test-driver.c (flag_test_errno): New variable.
1844         (flag_test_exceptions): Likewise.
1845         (flag_test_finite): Likewise.
1846         (flag_test_inline): Likewise.
1847         (flag_test_mathvec): Likewise.
1848         (test_msg): Likewise.
1849         (ulp_idx): Likewise.
1850         (qtype_str): Likewise.
1851         (ULP_IDX): Remove macro.
1852         (QTYPE_STR): Likewise.
1853         (find_ulps): Use ulp_idx not ULP_IDX.
1854         (print_function_ulps): Use qtype_str, printed with %s, not
1855         QTYPE_STR, printed with concatentation to format string.
1856         (print_complex_function_ulps): Likewise.
1857         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
1858         (test_errno): Use flag_test_errno not TEST_ERRNO.
1859         (enable_test): Use flag_test_inline, flag_test_finite and
1860         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
1861         TEST_MATHVEC.
1862         (libm_test_init): New function.  Factored out of main.
1863         (libm_test_finish): Likewise.
1864         (main): Call libm_test_init and libm_test_finish and move most
1865         code to those functions.
1867         * math/libm-test-driver.c (STRX): New macro.
1868         (STR): Likewise.
1869         (STR_FLOAT): Likewise.
1870         (STR_VEC_LEN): Likewise.
1871         (TEST_MSG): Likewise.  Define here instead of expecting to be
1872         defined by including file.
1873         * math/test-double-finite.c (TEST_MSG): Remove macro.
1874         * math/test-double-vlen2.h (TEST_MSG): Likewise.
1875         * math/test-double-vlen4.h (TEST_MSG): Likewise.
1876         * math/test-double-vlen8.h (TEST_MSG): Likewise.
1877         * math/test-double.c (TEST_MSG): Likewise.
1878         * math/test-float-finite.c (TEST_MSG): Likewise.
1879         * math/test-float-vlen16.h (TEST_MSG): Likewise.
1880         * math/test-float-vlen4.h (TEST_MSG): Likewise.
1881         * math/test-float-vlen8.h (TEST_MSG): Likewise.
1882         * math/test-float.c (TEST_MSG): Likewise.
1883         * math/test-idouble.c (TEST_MSG): Likewise.
1884         * math/test-ifloat.c (TEST_MSG): Likewise.
1885         * math/test-ildouble.c (TEST_MSG): Likewise.
1886         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
1887         * math/test-ldouble.c (TEST_MSG): Likewise.
1889         * math/libm-test.inc: Move all tests of individual functions to
1890         libm-test-*.inc and #include libm-test-*.c files.
1891         (acos_test_data): Remove.
1892         (acos_test): Likewise.
1893         (acosh_test_data): Likewise.
1894         (acosh_test): Likewise.
1895         (asin_test_data): Likewise.
1896         (asin_test): Likewise.
1897         (asinh_test_data): Likewise.
1898         (asinh_test): Likewise.
1899         (atan_test_data): Likewise.
1900         (atan_test): Likewise.
1901         (atanh_test_data): Likewise.
1902         (atanh_test): Likewise.
1903         (atan2_test_data): Likewise.
1904         (atan2_test): Likewise.
1905         (cabs_test_data): Likewise.
1906         (cabs_test): Likewise.
1907         (cacos_test_data): Likewise.
1908         (cacos_test): Likewise.
1909         (cacosh_test_data): Likewise.
1910         (cacosh_test): Likewise.
1911         (canonicalize_test_data): Likewise.
1912         (canonicalize_test): Likewise.
1913         (carg_test_data): Likewise.
1914         (carg_test): Likewise.
1915         (casin_test_data): Likewise.
1916         (casin_test): Likewise.
1917         (casinh_test_data): Likewise.
1918         (casinh_test): Likewise.
1919         (catan_test_data): Likewise.
1920         (catan_test): Likewise.
1921         (catanh_test_data): Likewise.
1922         (catanh_test): Likewise.
1923         (cbrt_test_data): Likewise.
1924         (cbrt_test): Likewise.
1925         (ccos_test_data): Likewise.
1926         (ccos_test): Likewise.
1927         (ccosh_test_data): Likewise.
1928         (ccosh_test): Likewise.
1929         (ceil_test_data): Likewise.
1930         (ceil_test): Likewise.
1931         (cexp_test_data): Likewise.
1932         (cexp_test): Likewise.
1933         (cimag_test_data): Likewise.
1934         (cimag_test): Likewise.
1935         (clog_test_data): Likewise.
1936         (clog_test): Likewise.
1937         (clog10_test_data): Likewise.
1938         (clog10_test): Likewise.
1939         (conj_test_data): Likewise.
1940         (conj_test): Likewise.
1941         (copysign_test_data): Likewise.
1942         (copysign_test): Likewise.
1943         (cos_test_data): Likewise.
1944         (cos_test): Likewise.
1945         (cosh_test_data): Likewise.
1946         (cosh_test): Likewise.
1947         (cpow_test_data): Likewise.
1948         (cpow_test): Likewise.
1949         (cproj_test_data): Likewise.
1950         (cproj_test): Likewise.
1951         (creal_test_data): Likewise.
1952         (creal_test): Likewise.
1953         (csin_test_data): Likewise.
1954         (csin_test): Likewise.
1955         (csinh_test_data): Likewise.
1956         (csinh_test): Likewise.
1957         (csqrt_test_data): Likewise.
1958         (csqrt_test): Likewise.
1959         (ctan_test_data): Likewise.
1960         (ctan_test): Likewise.
1961         (ctanh_test_data): Likewise.
1962         (ctanh_test): Likewise.
1963         (erf_test_data): Likewise.
1964         (erf_test): Likewise.
1965         (erfc_test_data): Likewise.
1966         (erfc_test): Likewise.
1967         (exp_test_data): Likewise.
1968         (exp_test): Likewise.
1969         (exp10_test_data): Likewise.
1970         (exp10_test): Likewise.
1971         (pow10_test): Likewise.
1972         (exp2_test_data): Likewise.
1973         (exp2_test): Likewise.
1974         (expm1_test_data): Likewise.
1975         (expm1_test): Likewise.
1976         (fabs_test_data): Likewise.
1977         (fabs_test): Likewise.
1978         (fdim_test_data): Likewise.
1979         (fdim_test): Likewise.
1980         (floor_test_data): Likewise.
1981         (floor_test): Likewise.
1982         (fma_test_data): Likewise.
1983         (fma_test): Likewise.
1984         (fmax_test_data): Likewise.
1985         (fmax_test): Likewise.
1986         (fmaxmag_test_data): Likewise.
1987         (fmaxmag_test): Likewise.
1988         (fmin_test_data): Likewise.
1989         (fmin_test): Likewise.
1990         (fminmag_test_data): Likewise.
1991         (fminmag_test): Likewise.
1992         (fmod_test_data): Likewise.
1993         (fmod_test): Likewise.
1994         (fpclassify_test_data): Likewise.
1995         (fpclassify_test): Likewise.
1996         (frexp_test_data): Likewise.
1997         (frexp_test): Likewise.
1998         (fromfp_test_data): Likewise.
1999         (fromfp_test): Likewise.
2000         (fromfpx_test_data): Likewise.
2001         (fromfpx_test): Likewise.
2002         (getpayload_test_data): Likewise.
2003         (getpayload_test): Likewise.
2004         (hypot_test_data): Likewise.
2005         (hypot_test): Likewise.
2006         (ilogb_test_data): Likewise.
2007         (ilogb_test): Likewise.
2008         (iscanonical_test_data): Likewise.
2009         (iscanonical_test): Likewise.
2010         (iseqsig_test_data): Likewise.
2011         (iseqsig_test): Likewise.
2012         (isfinite_test_data): Likewise.
2013         (isfinite_test): Likewise.
2014         (finite_test): Likewise.
2015         (isgreater_test_data): Likewise.
2016         (isgreater_test): Likewise.
2017         (isgreaterequal_test_data): Likewise.
2018         (isgreaterequal_test): Likewise.
2019         (isinf_test_data): Likewise.
2020         (isinf_test): Likewise.
2021         (isless_test_data): Likewise.
2022         (isless_test): Likewise.
2023         (islessequal_test_data): Likewise.
2024         (islessequal_test): Likewise.
2025         (islessgreater_test_data): Likewise.
2026         (islessgreater_test): Likewise.
2027         (isnan_test_data): Likewise.
2028         (isnan_test): Likewise.
2029         (isnormal_test_data): Likewise.
2030         (isnormal_test): Likewise.
2031         (issignaling_test_data): Likewise.
2032         (issignaling_test): Likewise.
2033         (issubnormal_test_data): Likewise.
2034         (issubnormal_test): Likewise.
2035         (isunordered_test_data): Likewise.
2036         (isunordered_test): Likewise.
2037         (iszero_test_data): Likewise.
2038         (iszero_test): Likewise.
2039         (j0_test_data): Likewise.
2040         (j0_test): Likewise.
2041         (j1_test_data): Likewise.
2042         (j1_test): Likewise.
2043         (jn_test_data): Likewise.
2044         (jn_test): Likewise.
2045         (lgamma_test_data): Likewise.
2046         (lgamma_test): Likewise.
2047         (gamma_test): Likewise.
2048         (llogb_test_data): Likewise.
2049         (llogb_test): Likewise.
2050         (lrint_test_data): Likewise.
2051         (lrint_test): Likewise.
2052         (llrint_test_data): Likewise.
2053         (llrint_test): Likewise.
2054         (log_test_data): Likewise.
2055         (log_test): Likewise.
2056         (log10_test_data): Likewise.
2057         (log10_test): Likewise.
2058         (log1p_test_data): Likewise.
2059         (log1p_test): Likewise.
2060         (log2_test_data): Likewise.
2061         (log2_test): Likewise.
2062         (logb_test_data): Likewise.
2063         (logb_test): Likewise.
2064         (lround_test_data): Likewise.
2065         (lround_test): Likewise.
2066         (llround_test_data): Likewise.
2067         (llround_test): Likewise.
2068         (modf_test_data): Likewise.
2069         (modf_test): Likewise.
2070         (nearbyint_test_data): Likewise.
2071         (nearbyint_test): Likewise.
2072         (nextafter_test_data): Likewise.
2073         (nextafter_test): Likewise.
2074         (nextup_test_data): Likewise.
2075         (nextup_test): Likewise.
2076         (nextdown_test_data): Likewise.
2077         (nextdown_test): Likewise.
2078         (nexttoward_test_data): Likewise.
2079         (nexttoward_test): Likewise.
2080         (pow_test_data): Likewise.
2081         (pow_test): Likewise.
2082         (remainder_test_data): Likewise.
2083         (remainder_test): Likewise.
2084         (drem_test): Likewise.
2085         (remquo_test_data): Likewise.
2086         (remquo_test): Likewise.
2087         (rint_test_data): Likewise.
2088         (rint_test): Likewise.
2089         (round_test_data): Likewise.
2090         (round_test): Likewise.
2091         (roundeven_test_data): Likewise.
2092         (roundeven_test): Likewise.
2093         (scalb_test_data): Likewise.
2094         (scalb_test): Likewise.
2095         (scalbn_test_data): Likewise.
2096         (scalbn_test): Likewise.
2097         (ldexp_test): Likewise.
2098         (scalbln_test_data): Likewise.
2099         (scalbln_test): Likewise.
2100         (setpayload_test_data): Likewise.
2101         (setpayload_test): Likewise.
2102         (setpayloadsig_test_data): Likewise.
2103         (setpayloadsig_test): Likewise.
2104         (signbit_test_data): Likewise.
2105         (signbit_test): Likewise.
2106         (sin_test_data): Likewise.
2107         (sin_test): Likewise.
2108         (sincos_test_data): Likewise.
2109         (sincos_test): Likewise.
2110         (sinh_test_data): Likewise.
2111         (sinh_test): Likewise.
2112         (sqrt_test_data): Likewise.
2113         (sqrt_test): Likewise.
2114         (tan_test_data): Likewise.
2115         (tan_test): Likewise.
2116         (tanh_test_data): Likewise.
2117         (tanh_test): Likewise.
2118         (tgamma_test_data): Likewise.
2119         (tgamma_test): Likewise.
2120         (totalorder_test_data): Likewise.
2121         (totalorder_test): Likewise.
2122         (totalordermag_test_data): Likewise.
2123         (totalordermag_test): Likewise.
2124         (trunc_test_data): Likewise.
2125         (trunc_test): Likewise.
2126         (ufromfp_test_data): Likewise.
2127         (ufromfp_test): Likewise.
2128         (ufromfpx_test_data): Likewise.
2129         (ufromfpx_test): Likewise.
2130         (y0_test_data): Likewise.
2131         (y0_test): Likewise.
2132         (y1_test_data): Likewise.
2133         (y1_test): Likewise.
2134         (yn_test_data): Likewise.
2135         (yn_test): Likewise.
2136         (significand_test_data): Likewise.
2137         (significand_test): Likewise.
2138         * math/Makefile (auto-libm-test-out-files): Remove variable.
2139         (libm-test-funcs-noauto): New variable.
2140         (libm-test-funcs-all): Likewise.
2141         (libm-test-c-auto): Likewise.
2142         (libm-test-c-noauto): Likewise.
2143         (libm-tests-generated): Add $(libm-test-c-auto) and
2144         $(libm-test-c-noauto).
2145         (generated): Do not add auto-libm-test-out.
2146         (libm-test-c-auto-obj): New variable.
2147         (libm-test-c-noauto-obj): Likewise.
2148         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
2149         ($(libm-test-c-noauto-obj)): New static pattern rule.
2150         ($(libm-test-c-auto-obj)): Likewise.
2151         (libm-test-incs): New variable.
2152         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
2153         and pass it to gen-libm-have-vector-test.sh.
2154         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
2155         be passed on command line.
2156         * math/libm-test-acos.inc: New file.  Content from
2157         math/libm-test.inc.
2158         * math/libm-test-acosh.inc: Likewise.
2159         * math/libm-test-asin.inc: Likewise.
2160         * math/libm-test-asinh.inc: Likewise.
2161         * math/libm-test-atan.inc: Likewise.
2162         * math/libm-test-atan2.inc: Likewise.
2163         * math/libm-test-atanh.inc: Likewise.
2164         * math/libm-test-cabs.inc: Likewise.
2165         * math/libm-test-cacos.inc: Likewise.
2166         * math/libm-test-cacosh.inc: Likewise.
2167         * math/libm-test-canonicalize.inc: Likewise.
2168         * math/libm-test-carg.inc: Likewise.
2169         * math/libm-test-casin.inc: Likewise.
2170         * math/libm-test-casinh.inc: Likewise.
2171         * math/libm-test-catan.inc: Likewise.
2172         * math/libm-test-catanh.inc: Likewise.
2173         * math/libm-test-cbrt.inc: Likewise.
2174         * math/libm-test-ccos.inc: Likewise.
2175         * math/libm-test-ccosh.inc: Likewise.
2176         * math/libm-test-ceil.inc: Likewise.
2177         * math/libm-test-cexp.inc: Likewise.
2178         * math/libm-test-cimag.inc: Likewise.
2179         * math/libm-test-clog.inc: Likewise.
2180         * math/libm-test-clog10.inc: Likewise.
2181         * math/libm-test-conj.inc: Likewise.
2182         * math/libm-test-copysign.inc: Likewise.
2183         * math/libm-test-cos.inc: Likewise.
2184         * math/libm-test-cosh.inc: Likewise.
2185         * math/libm-test-cpow.inc: Likewise.
2186         * math/libm-test-cproj.inc: Likewise.
2187         * math/libm-test-creal.inc: Likewise.
2188         * math/libm-test-csin.inc: Likewise.
2189         * math/libm-test-csinh.inc: Likewise.
2190         * math/libm-test-csqrt.inc: Likewise.
2191         * math/libm-test-ctan.inc: Likewise.
2192         * math/libm-test-ctanh.inc: Likewise.
2193         * math/libm-test-erf.inc: Likewise.
2194         * math/libm-test-erfc.inc: Likewise.
2195         * math/libm-test-exp.inc: Likewise.
2196         * math/libm-test-exp10.inc: Likewise.
2197         * math/libm-test-exp2.inc: Likewise.
2198         * math/libm-test-expm1.inc: Likewise.
2199         * math/libm-test-fabs.inc: Likewise.
2200         * math/libm-test-fdim.inc: Likewise.
2201         * math/libm-test-floor.inc: Likewise.
2202         * math/libm-test-fma.inc: Likewise.
2203         * math/libm-test-fmax.inc: Likewise.
2204         * math/libm-test-fmaxmag.inc: Likewise.
2205         * math/libm-test-fmin.inc: Likewise.
2206         * math/libm-test-fminmag.inc: Likewise.
2207         * math/libm-test-fmod.inc: Likewise.
2208         * math/libm-test-fpclassify.inc: Likewise.
2209         * math/libm-test-frexp.inc: Likewise.
2210         * math/libm-test-fromfp.inc: Likewise.
2211         * math/libm-test-fromfpx.inc: Likewise.
2212         * math/libm-test-getpayload.inc: Likewise.
2213         * math/libm-test-hypot.inc: Likewise.
2214         * math/libm-test-ilogb.inc: Likewise.
2215         * math/libm-test-iscanonical.inc: Likewise.
2216         * math/libm-test-iseqsig.inc: Likewise.
2217         * math/libm-test-isfinite.inc: Likewise.
2218         * math/libm-test-isgreater.inc: Likewise.
2219         * math/libm-test-isgreaterequal.inc: Likewise.
2220         * math/libm-test-isinf.inc: Likewise.
2221         * math/libm-test-isless.inc: Likewise.
2222         * math/libm-test-islessequal.inc: Likewise.
2223         * math/libm-test-islessgreater.inc: Likewise.
2224         * math/libm-test-isnan.inc: Likewise.
2225         * math/libm-test-isnormal.inc: Likewise.
2226         * math/libm-test-issignaling.inc: Likewise.
2227         * math/libm-test-issubnormal.inc: Likewise.
2228         * math/libm-test-isunordered.inc: Likewise.
2229         * math/libm-test-iszero.inc: Likewise.
2230         * math/libm-test-j0.inc: Likewise.
2231         * math/libm-test-j1.inc: Likewise.
2232         * math/libm-test-jn.inc: Likewise.
2233         * math/libm-test-lgamma.inc: Likewise.
2234         * math/libm-test-llogb.inc: Likewise.
2235         * math/libm-test-llrint.inc: Likewise.
2236         * math/libm-test-llround.inc: Likewise.
2237         * math/libm-test-log.inc: Likewise.
2238         * math/libm-test-log10.inc: Likewise.
2239         * math/libm-test-log1p.inc: Likewise.
2240         * math/libm-test-log2.inc: Likewise.
2241         * math/libm-test-logb.inc: Likewise.
2242         * math/libm-test-lrint.inc: Likewise.
2243         * math/libm-test-lround.inc: Likewise.
2244         * math/libm-test-modf.inc: Likewise.
2245         * math/libm-test-nearbyint.inc: Likewise.
2246         * math/libm-test-nextafter.inc: Likewise.
2247         * math/libm-test-nextdown.inc: Likewise.
2248         * math/libm-test-nexttoward.inc: Likewise.
2249         * math/libm-test-nextup.inc: Likewise.
2250         * math/libm-test-pow.inc: Likewise.
2251         * math/libm-test-remainder.inc: Likewise.
2252         * math/libm-test-remquo.inc: Likewise.
2253         * math/libm-test-rint.inc: Likewise.
2254         * math/libm-test-round.inc: Likewise.
2255         * math/libm-test-roundeven.inc: Likewise.
2256         * math/libm-test-scalb.inc: Likewise.
2257         * math/libm-test-scalbln.inc: Likewise.
2258         * math/libm-test-scalbn.inc: Likewise.
2259         * math/libm-test-setpayload.inc: Likewise.
2260         * math/libm-test-setpayloadsig.inc: Likewise.
2261         * math/libm-test-signbit.inc: Likewise.
2262         * math/libm-test-significand.inc: Likewise.
2263         * math/libm-test-sin.inc: Likewise.
2264         * math/libm-test-sincos.inc: Likewise.
2265         * math/libm-test-sinh.inc: Likewise.
2266         * math/libm-test-sqrt.inc: Likewise.
2267         * math/libm-test-tan.inc: Likewise.
2268         * math/libm-test-tanh.inc: Likewise.
2269         * math/libm-test-tgamma.inc: Likewise.
2270         * math/libm-test-totalorder.inc: Likewise.
2271         * math/libm-test-totalordermag.inc: Likewise.
2272         * math/libm-test-trunc.inc: Likewise.
2273         * math/libm-test-ufromfp.inc: Likewise.
2274         * math/libm-test-ufromfpx.inc: Likewise.
2275         * math/libm-test-y0.inc: Likewise.
2276         * math/libm-test-y1.inc: Likewise.
2277         * math/libm-test-yn.inc: Likewise.
2278         * math/README.libm-test: Update.
2280         * math/gen-auto-libm-tests.c: Update comment about use of program.
2281         (generate_output): Add argument FUNCTION.
2282         (main): Require extra argument.  Pass function name to
2283         generate_output.
2284         * math/Makefile (generated): Add auto-libm-test-out.
2285         (libm-test-funcs-auto): New variable.
2286         (auto-libm-test-out-files): New variable.
2287         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
2288         Concatenate those files to form $(objpfx)auto-libm-test-out and
2289         use it as input to gen-libm-test.pl.
2290         * math/README.libm-test: Update.
2291         * math/auto-libm-test-out: Remove.
2292         * math/auto-libm-test-out-acos: New generated file.
2293         * math/auto-libm-test-out-acosh: Likewise.
2294         * math/auto-libm-test-out-asin: Likewise.
2295         * math/auto-libm-test-out-asinh: Likewise.
2296         * math/auto-libm-test-out-atan: Likewise.
2297         * math/auto-libm-test-out-atan2: Likewise.
2298         * math/auto-libm-test-out-atanh: Likewise.
2299         * math/auto-libm-test-out-cabs: Likewise.
2300         * math/auto-libm-test-out-carg: Likewise.
2301         * math/auto-libm-test-out-cbrt: Likewise.
2302         * math/auto-libm-test-out-ccos: Likewise.
2303         * math/auto-libm-test-out-ccosh: Likewise.
2304         * math/auto-libm-test-out-cexp: Likewise.
2305         * math/auto-libm-test-out-clog: Likewise.
2306         * math/auto-libm-test-out-clog10: Likewise.
2307         * math/auto-libm-test-out-cos: Likewise.
2308         * math/auto-libm-test-out-cosh: Likewise.
2309         * math/auto-libm-test-out-cpow: Likewise.
2310         * math/auto-libm-test-out-csin: Likewise.
2311         * math/auto-libm-test-out-csinh: Likewise.
2312         * math/auto-libm-test-out-csqrt: Likewise.
2313         * math/auto-libm-test-out-ctan: Likewise.
2314         * math/auto-libm-test-out-ctanh: Likewise.
2315         * math/auto-libm-test-out-erf: Likewise.
2316         * math/auto-libm-test-out-erfc: Likewise.
2317         * math/auto-libm-test-out-exp: Likewise.
2318         * math/auto-libm-test-out-exp10: Likewise.
2319         * math/auto-libm-test-out-exp2: Likewise.
2320         * math/auto-libm-test-out-expm1: Likewise.
2321         * math/auto-libm-test-out-fma: Likewise.
2322         * math/auto-libm-test-out-hypot: Likewise.
2323         * math/auto-libm-test-out-j0: Likewise.
2324         * math/auto-libm-test-out-j1: Likewise.
2325         * math/auto-libm-test-out-jn: Likewise.
2326         * math/auto-libm-test-out-lgamma: Likewise.
2327         * math/auto-libm-test-out-log: Likewise.
2328         * math/auto-libm-test-out-log10: Likewise.
2329         * math/auto-libm-test-out-log1p: Likewise.
2330         * math/auto-libm-test-out-log2: Likewise.
2331         * math/auto-libm-test-out-pow: Likewise.
2332         * math/auto-libm-test-out-sin: Likewise.
2333         * math/auto-libm-test-out-sincos: Likewise.
2334         * math/auto-libm-test-out-sinh: Likewise.
2335         * math/auto-libm-test-out-sqrt: Likewise.
2336         * math/auto-libm-test-out-tan: Likewise.
2337         * math/auto-libm-test-out-tanh: Likewise.
2338         * math/auto-libm-test-out-tgamma: Likewise.
2339         * math/auto-libm-test-out-y0: Likewise.
2340         * math/auto-libm-test-out-y1: Likewise.
2341         * math/auto-libm-test-out-yn: Likewise.
2343         * math/Makefile (generated): Do not include libm-test.stmp.
2344         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
2345         on $(objpfx)libm-test.stmp.
2346         ($(objpfx)libm-test.stmp): Remove rule.
2347         ($(objpfx)libm-test-ulps.h): New rule.
2348         ($(objpfx)libm-test.c): Likewise.
2349         ($(objpfx)libm-have-vector-test.h): Likewise.
2350         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
2351         individual generated files, not libm-test.stmp.
2353         * math/gen-libm-test.pl ($output_dir): Remove variable.
2354         ($srcdir): Likewise.
2355         ($opt_a): New variable.
2356         ($opt_c): Likewise.
2357         ($opt_C): Likewise.
2358         ($opt_H): Likewise.
2359         (-n): Make option take argument and use it as NewUlps output.
2360         (-a): New option.  Use its argument for auto-libm-test-out input.
2361         (-c): New option.  Use its argument for libm-test.inc input.
2362         (-C): New option.  Use its argument for libm-test.c output.
2363         (-H): New option.  Use its argument for libm-test-ulps.h output.
2364         (top level): Only process inputs needed to generate outputs
2365         specified by command-line options.  Only generate outputs
2366         specified by command-line options.
2367         * math/README.libm-test: Update example gen-libm-test.pl command.
2368         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
2369         commands.
2370         (regen-ulps): Likewise.
2372 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
2374         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
2375         * include/string.h (index): Remove define.
2376         (rindex): Likewise.
2377         * misc/getttyent.c (__getttyent): Rename index to strchr.
2378         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
2379         * sunrpc/rpc_main.c (mkfile_output): Likewise.
2381 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
2383         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
2384         * math/libm-test.inc: Move all contents, other than tests of
2385         individual functions, to libm-test-driver.c.
2386         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
2387         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
2388         [!FE_UPWARD] (FE_UPWARD): Likewise.
2389         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
2390         (NO_EXCEPTION): Likewise.
2391         (INVALID_EXCEPTION): Likewise.
2392         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
2393         (OVERFLOW_EXCEPTION): Likewise.
2394         (UNDERFLOW_EXCEPTION): Likewise.
2395         (INEXACT_EXCEPTION): Likewise.
2396         (INVALID_EXCEPTION_OK): Likewise.
2397         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2398         (OVERFLOW_EXCEPTION_OK): Likewise.
2399         (UNDERFLOW_EXCEPTION_OK): Likewise.
2400         (NO_INEXACT_EXCEPTION): Likewise.
2401         (EXCEPTIONS_OK): Likewise.
2402         (IGNORE_ZERO_INF_SIGN): Likewise.
2403         (TEST_NAN_SIGN): Likewise.
2404         (TEST_NAN_PAYLOAD): Likewise.
2405         (NO_TEST_INLINE): Likewise.
2406         (XFAIL_TEST): Likewise.
2407         (ERRNO_UNCHANGED): Likewise.
2408         (ERRNO_EDOM): Likewise.
2409         (ERRNO_ERANGE): Likewise.
2410         (IGNORE_RESULT): Likewise.
2411         (NON_FINITE): Likewise.
2412         (TEST_SNAN): Likewise.
2413         (NO_TEST_MATHVEC): Likewise.
2414         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
2415         (__CONCATX): Likewise.
2416         (TYPE_MIN): Likewise.
2417         (TYPE_TRUE_MIN): Likewise.
2418         (TYPE_MAX): Likewise.
2419         (MIN_EXP): Likewise.
2420         (MAX_EXP): Likewise.
2421         (MANT_DIG): Likewise.
2422         (FSTR_MAX): Likewise.
2423         (ULP_IDX): Likewise.
2424         (QTYPE_STR): Likewise.
2425         (TEST_COND_binary32): Likewise.
2426         (TEST_COND_binary64): Likewise.
2427         (TEST_COND_binary128): Likewise.
2428         (TEST_COND_ibm128): Likewise.
2429         (TEST_COND_intel96): Likewise.
2430         (TEST_COND_m68k96): Likewise.
2431         (TEST_COND_ibm128_libgcc): Likewise.
2432         (XFAIL_IBM128_LIBGCC): Likewise.
2433         (PAYLOAD_DIG): Likewise.
2434         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2435         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2436         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2437         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
2438         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2439         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
2440         (TEST_COND_long32): Likewise.
2441         (TEST_COND_long64): Likewise.
2442         (TEST_COND_before_rounding): Likewise.
2443         (TEST_COND_after_rounding): Likewise.
2444         (lit_pi_3_m_4_d): Likewise.
2445         (lit_pi_3_m_4_ln10_m_d): Likewise.
2446         (lit_pi_2_ln10_m_d): Likewise.
2447         (lit_pi_4_ln10_m_d): Likewise.
2448         (lit_pi_ln10_d): Likewise.
2449         (lit_pi_2_d): Likewise.
2450         (lit_pi_4_d): Likewise.
2451         (lit_pi): Likewise.
2452         (lit_e): Likewise.
2453         (ulps_file_name): Likewise.
2454         (ulps_file): Likewise.
2455         (output_ulps): Likewise.
2456         (output_dir): Likewise.
2457         (noErrors): Likewise.
2458         (noTests): Likewise.
2459         (noExcTests): Likewise.
2460         (noErrnoTests): Likewise.
2461         (verbose): Likewise.
2462         (output_max_error): Likewise.
2463         (output_points): Likewise.
2464         (ignore_max_ulp): Likewise.
2465         (plus_zero): Likewise.
2466         (minus_zero): Likewise.
2467         (plus_infty): Likewise.
2468         (minus_infty): Likewise.
2469         (qnan_value_pl): Likewise.
2470         (qnan_value): Likewise.
2471         (snan_value_pl): Likewise.
2472         (snan_value): Likewise.
2473         (max_value): Likewise.
2474         (min_value): Likewise.
2475         (min_subnorm_value): Likewise.
2476         (snan_value_ld): Likewise.
2477         (max_error): Likewise.
2478         (real_max_error): Likewise.
2479         (imag_max_error): Likewise.
2480         (prev_max_error): Likewise.
2481         (prev_real_max_error): Likewise.
2482         (prev_imag_max_error): Likewise.
2483         (max_valid_error): Likewise.
2484         (TYPE_DECIMAL_DIG): Likewise.
2485         (TYPE_HEX_DIG): Likewise.
2486         (fmt_ftostr): Likewise.
2487         (compare_ulp_data): Likewise.
2488         (find_ulps): Likewise.
2489         (init_max_error): Likewise.
2490         (set_max_error): Likewise.
2491         (print_float): Likewise.
2492         (print_screen): Likewise.
2493         (print_screen_max_error): Likewise.
2494         (update_stats): Likewise.
2495         (print_function_ulps): Likewise.
2496         (print_complex_function_ulps): Likewise.
2497         (fpstack_test): Likewise.
2498         (print_max_error): Likewise.
2499         (print_complex_max_error): Likewise.
2500         (test_single_exception): Likewise.
2501         (test_exceptions): Likewise.
2502         (test_single_errno): Likewise.
2503         (test_errno): Likewise.
2504         (ULPDIFF): Likewise.
2505         (ulp): Likewise.
2506         (check_float_internal): Likewise.
2507         (check_float): Likewise.
2508         (check_complex): Likewise.
2509         (check_int): Likewise.
2510         (check_long): Likewise.
2511         (check_bool): Likewise.
2512         (check_longlong): Likewise.
2513         (check_intmax_t): Likewise.
2514         (check_uintmax_t): Likewise.
2515         (enable_test): Likewise.
2516         (struct test_f_f_data): Likewise.
2517         (struct test_ff_f_data): Likewise.
2518         (struct test_fj_f_data): Likewise.
2519         (struct test_fi_f_data): Likewise.
2520         (struct test_fl_f_data): Likewise.
2521         (struct test_if_f_data): Likewise.
2522         (struct test_fff_f_data): Likewise.
2523         (struct test_fiu_M_data): Likewise.
2524         (struct test_fiu_U_data): Likewise.
2525         (struct test_c_f_data): Likewise.
2526         (struct test_f_f1_data): Likewise.
2527         (struct test_fF_f1_data): Likewise.
2528         (struct test_ffI_f1_data): Likewise.
2529         (struct test_c_c_data): Likewise.
2530         (struct test_cc_c_data): Likewise.
2531         (struct test_f_i_data): Likewise.
2532         (struct test_ff_i_data): Likewise.
2533         (struct test_f_l_data): Likewise.
2534         (struct test_f_L_data): Likewise.
2535         (struct test_fFF_11_data): Likewise.
2536         (struct test_Ff_b1_data): Likewise.
2537         (IF_ROUND_INIT_): Likewise.
2538         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2539         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2540         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2541         (IF_ROUND_INIT_FE_UPWARD): Likewise.
2542         (ROUND_RESTORE_): Likewise.
2543         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2544         (ROUND_RESTORE_FE_TONEAREST): Likewise.
2545         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2546         (ROUND_RESTORE_FE_UPWARD): Likewise.
2547         (RM_): Likewise.
2548         (RM_FE_DOWNWARD): Likewise.
2549         (RM_FE_TONEAREST): Likewise.
2550         (RM_FE_TOWARDZERO): Likewise.
2551         (RM_FE_UPWARD): Likewise.
2552         (COMMON_TEST_SETUP): Likewise.
2553         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2554         (COMMON_TEST_CLEANUP): Likewise.
2555         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2556         (RUN_TEST_f_f): Likewise.
2557         (RUN_TEST_LOOP_f_f): Likewise.
2558         (RUN_TEST_fp_f): Likewise.
2559         (RUN_TEST_LOOP_fp_f): Likewise.
2560         (RUN_TEST_2_f): Likewise.
2561         (RUN_TEST_LOOP_2_f): Likewise.
2562         (RUN_TEST_ff_f): Likewise.
2563         (RUN_TEST_LOOP_ff_f): Likewise.
2564         (RUN_TEST_LOOP_fj_f): Likewise.
2565         (RUN_TEST_fi_f): Likewise.
2566         (RUN_TEST_LOOP_fi_f): Likewise.
2567         (RUN_TEST_fl_f): Likewise.
2568         (RUN_TEST_LOOP_fl_f): Likewise.
2569         (RUN_TEST_if_f): Likewise.
2570         (RUN_TEST_LOOP_if_f): Likewise.
2571         (RUN_TEST_fff_f): Likewise.
2572         (RUN_TEST_LOOP_fff_f): Likewise.
2573         (RUN_TEST_fiu_M): Likewise.
2574         (RUN_TEST_LOOP_fiu_M): Likewise.
2575         (RUN_TEST_fiu_U): Likewise.
2576         (RUN_TEST_LOOP_fiu_U): Likewise.
2577         (RUN_TEST_c_f): Likewise.
2578         (RUN_TEST_LOOP_c_f): Likewise.
2579         (RUN_TEST_f_f1): Likewise.
2580         (RUN_TEST_LOOP_f_f1): Likewise.
2581         (RUN_TEST_fF_f1): Likewise.
2582         (RUN_TEST_LOOP_fF_f1): Likewise.
2583         (RUN_TEST_fI_f1): Likewise.
2584         (RUN_TEST_LOOP_fI_f1): Likewise.
2585         (RUN_TEST_ffI_f1_mod8): Likewise.
2586         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
2587         (RUN_TEST_Ff_b1): Likewise.
2588         (RUN_TEST_LOOP_Ff_b1): Likewise.
2589         (RUN_TEST_Ffp_b1): Likewise.
2590         (RUN_TEST_LOOP_Ffp_b1): Likewise.
2591         (RUN_TEST_c_c): Likewise.
2592         (RUN_TEST_LOOP_c_c): Likewise.
2593         (RUN_TEST_cc_c): Likewise.
2594         (RUN_TEST_LOOP_cc_c): Likewise.
2595         (RUN_TEST_f_i): Likewise.
2596         (RUN_TEST_LOOP_f_i): Likewise.
2597         (RUN_TEST_f_i_tg): Likewise.
2598         (RUN_TEST_LOOP_f_i_tg): Likewise.
2599         (RUN_TEST_ff_b): Likewise.
2600         (RUN_TEST_LOOP_ff_b): Likewise.
2601         (RUN_TEST_ff_i_tg): Likewise.
2602         (RUN_TEST_LOOP_ff_i_tg): Likewise.
2603         (RUN_TEST_f_b): Likewise.
2604         (RUN_TEST_LOOP_f_b): Likewise.
2605         (RUN_TEST_f_b_tg): Likewise.
2606         (RUN_TEST_LOOP_f_b_tg): Likewise.
2607         (RUN_TEST_f_l): Likewise.
2608         (RUN_TEST_LOOP_f_l): Likewise.
2609         (RUN_TEST_f_L): Likewise.
2610         (RUN_TEST_LOOP_f_L): Likewise.
2611         (RUN_TEST_fFF_11): Likewise.
2612         (RUN_TEST_LOOP_fFF_11): Likewise.
2613         (VEC_SUFF): Likewise.
2614         (STR_CONCAT): Likewise.
2615         (STR_CON3): Likewise.
2616         (HAVE_VECTOR): Likewise.
2617         (START): Likewise.
2618         (END): Likewise.
2619         (END_COMPLEX): Likewise.
2620         (ALL_RM_TEST): Likewise.
2621         (matherr): Likewise.
2622         (initialize): Likewise.
2623         (options): Likewise.
2624         (doc): Likewise.
2625         (parse_opt): Likewise.
2626         (argp): Likewise.
2627         (check_ulp): Likewise.
2628         (main): Likewise.
2629         (do_test): New function.  Call tests of individual functions
2630         previously called from main.
2632         * math/libm-test.inc: Remove comment listing functions tested and
2633         not tested.
2635 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2637         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
2638         (allocate_stack): Remove COLORING_INCREMENT usage.
2639         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
2640         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
2642 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
2644         * manual/libm-err-tab.pl (@all_functions): Change to
2645         %all_functions.  Initialize as empty.
2646         (parse_ulps): Add to %all_functions based on functions found in
2647         ulps files.  Ignore results for non-default rounding modes and
2648         vector functions.
2649         (print_platforms): Use %all_platforms.
2650         * manual/math.texi (Errors in Math Functions): Document omissions
2651         from the table.
2653         * math/Makefile (before-compile): Remove.
2655 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
2657         [BZ #21075]
2658         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
2659         unused assignment.
2660         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2662 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2664         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
2665         Add __glibc_unlikely hint.
2667 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2669         [BZ #16640]
2670         * sysdeps/i386/i686/strtok.S: Remove file.
2671         * sysdeps/i386/i686/strtok_r.S: Likewise.
2672         * sysdeps/i386/strtok.S: Likewise.
2673         * sysdeps/i386/strtok_r.S: Likewise.
2674         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
2675         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
2676         * sysdeps/x86_64/strtok.S: Likewise.
2677         * sysdeps/x86_64/strtok_r.S: Likewise.
2679         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
2680         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
2681         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2682         (__ASSUME_FADVISE64_AS_64_64): Define.
2683         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
2684         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
2685         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
2686         __ALIGNMENT_ARG usage.
2687         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
2688         __NR_fadvise64_64 if it is not defined.
2690 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2692         * version.h (RELEASE): Set to "development"
2693         (VERSION): Set to 2.25.90.
2694         * NEWS: Add 2.26 section.
2696         * version.h (RELEASE): Set to "stable"
2697         (VERSION): Set to 2.25.
2698         * include/features.h (__GLIBC_MINOR__): Set to 25.
2700         * manual/contrib.texi: Add more contributors from this release
2701         and past releases.
2703         * NEWS (2.25): Add list of bugs fixed.
2705         * NEWS: Add missing news items.
2707 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2709         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
2710         parent if child exited in that manner.  Print WEXITSTATUS
2711         instead of the raw status.
2712         (do_test_prep): Rename to do_test.
2713         (do_test): Return the result of run_executable_sgid.
2714         (TEST_FUNCTION_ARGV): Adjust.
2716 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
2717             Florian Weimer  <fweimer@redhat.com>
2718             Carlos O'Donell  <carlos@redhat.com>
2720         [BZ #20915]
2721         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
2722         Do not initialize DTV.
2723         * nptl/allocatestack.c (init_one_static_tls): Likewise.
2725 2017-02-03  David S. Miller  <davem@davemloft.net>
2727         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
2728         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2729         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
2730         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2731         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
2732         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2733         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
2734         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2735         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2736         (libm-sysdep_routines): Update.
2737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
2738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
2739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
2741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2742         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
2743         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
2744         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
2745         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
2746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
2747         Likewise.
2748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
2750         Likewise.
2751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
2753         Likewise.
2754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
2756         Likewise.
2757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
2758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2759         (libm-sysdep_routines): Update.
2761 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
2763         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
2764         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
2765         against unrelocated shared library.
2766         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2768 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2770         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
2771         * elf/tst-env-setuid-tunables.c
2772         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
2773         GLIBC_TUNABLES is removed in a setgid process.
2775         [BZ #21073]
2776         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
2777         * elf/dl-tunables.c (tunables_strdup): Remove.
2778         (get_next_env): Also return the previous envp.
2779         (parse_tunables): Erase tunables of category
2780         TUNABLES_SECLEVEL_SXID_ERASE.
2781         (maybe_enable_malloc_check): Make MALLOC_CHECK_
2782         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
2783         (__tunables_init)[TUNABLES_FRONTEND ==
2784         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
2785         after parsing.
2786         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
2787         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
2788         * elf/dl-tunables.h (struct _tunable): Change member is_secure
2789         to security_level.
2790         * elf/dl-tunables.list: Add security_level annotations for all
2791         tunables.
2792         * scripts/gen-tunables.awk: Recognize and generate enum values
2793         for security_level.
2794         * elf/tst-env-setuid.c: New test case.
2795         * elf/tst-env-setuid-tunables: new test case.
2796         * elf/Makefile (tests-static): Add them.
2798 2017-02-01  Richard Henderson  <rth@twiddle.net>
2800         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
2801         adjusting the byte count.
2803 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
2805         * conform/Makefile (linknamespace-libs): Define.
2807         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
2808         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
2809         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
2810         operands.
2812 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
2814         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
2816 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
2818         [BZ #21081]
2819         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2820         (L(stosb)): Add VZEROUPPER before ret.
2822 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
2823             Alexey Makhalov <amakhalov@vmware.com>
2824             Florian Weimer <fweimer@redhat.com>
2826         [BZ #20116]
2827         * nptl/pthread_create.c: Document concurrency notes.
2828         Enhance thread creation notes.
2829         (create_thread): Use bool *stopped_start.
2830         (START_THREAD_DEFN): Comment ownership of PD.
2831         (__pthread_create_2_1): Add local bool stopped_start and use
2832         that instead of pd->stopped_start where appropriate.
2833         * nptl/createthread.c (create_thread): Use bool *stopped_start.
2834         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
2835         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
2836         * nptl/tst-create-detached.c: New file.
2837         * nptl/Makefile (tests): Add tst-create-detached.
2838         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
2839         Reference the enhanced thread creation notes.
2840         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
2841         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
2842         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
2843         (__pthread_current_priority): Likewise.
2844         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
2845         xpthread_attr_init, xpthread_attr_setdetachstate, and
2846         xpthread_attr_setstacksize.
2847         * support/xpthread_attr_destroy.c: New file.
2848         * support/xpthread_attr_init.c: New file.
2849         * support/xpthread_attr_setdetachstate.c: New file.
2850         * support/xpthread_attr_setstacksize.c: New file.
2851         * support/xthread.h: Define prototypes for xpthread_attr_destroy
2852         xpthread_attr_init, xpthread_attr_setdetachstate, and
2853         xpthread_attr_setstacksize.
2855 2017-01-27  Florian Weimer  <fweimer@redhat.com>
2857         * nptl/Makefile (tests): Add tst-robust-fork.
2858         * nptl/tst-robust-fork.c: New file.
2859         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
2860         xpthread_mutex_consistent, xpthread_mutex_destroy,
2861         xpthread_mutex_init, xpthread_mutexattr_destroy,
2862         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
2863         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
2864         xpthread_mutexattr_settype.
2865         * support/xmmap.c: New file.
2866         * support/xmunmap.c: Likewise.
2867         * support/xpthread_mutex_consistent.c: Likewise.
2868         * support/xpthread_mutex_destroy.c: Likewise.
2869         * support/xpthread_mutex_init.c: Likewise.
2870         * support/xpthread_mutexattr_destroy.c: Likewise.
2871         * support/xpthread_mutexattr_init.c: Likewise.
2872         * support/xpthread_mutexattr_setprotocol.c: Likewise.
2873         * support/xpthread_mutexattr_setpshared.c: Likewise.
2874         * support/xpthread_mutexattr_setrobust.c: Likewise.
2875         * support/xpthread_mutexattr_settype.c: Likewise.
2876         * support/xthread.h (xpthread_mutexattr_destroy)
2877         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
2878         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
2879         (xpthread_mutexattr_settype, xpthread_mutex_init)
2880         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
2881         * support/xunistd.h (xmmap, xmunmap): Likewise.
2883 2017-01-25  Florian Weimer  <fweimer@redhat.com>
2885         * string/Makefile (xtests): Add comment.
2886         (LOCALES): Add en_GB.UTF-8.
2887         (tst-strcoll-overflow.out): Depend on generated locales.
2888         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
2889         (SIZE, TIMEOUT): Update comments.
2890         (do_test): Define as static.  Fail test if setlocale fails.
2891         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
2892         messages.
2893         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
2894         TIMEOUT at 300 seconds should be enough to run this test
2895         successfully.
2897 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
2899         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2900         /* FALLTHRU */ comments.
2902 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
2904         [BZ #21053]
2905         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
2906         constants instead of the old R* ones.
2907         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
2908         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
2909         (NGREG): ... to this, to fit in with other architectures.
2910         (gpregset_t): Use new NGREG macro.
2911         [__USE_GNU]: Remove condition; all architectures other than tile
2912         are unconditional.
2913         (R*): Rename to REG_R*.
2915 2017-01-20  DJ Delorie  <dj@redhat.com>
2917         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
2918         (tunable_set_val_if_valid_range_signed) ... this, and ...
2919         (tunable_set_val_if_valid_range_unsigned) ... this.
2920         (tunable_initialize): Call the correct one of the above based on type.
2922 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
2924         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
2925         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2926         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2927         * sysdeps/microblaze/libm-test-ulps: Likewise.
2928         * sysdeps/sh/libm-test-ulps: Likewise.
2930         * math/README.libm-test: Update list of characters for input and
2931         output types.
2933 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2935         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
2936         (__lll_unlock_elision): Fix adapt_count decrement.
2938 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
2940         * README.pretty-printers (Known issues): Warn about printers not
2941         always covering everything.
2942         * nptl/nptl-printers.py (MutexPrinter): Change output.
2943         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
2945 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2947         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
2948         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2949         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
2950         (__lll_lock_elision): Do not test futex before starting a
2951         transaction.  Use __glibc_likely instead of __builtin_expect.
2952         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
2953         (__lll_trylock_elision): Do not test futex before starting a
2954         transaction.  Use __glibc_likely instead of __builtin_expect.
2956 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2958         * po/Makefile (update-translations): New target.
2960 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
2962         [BZ #21061]
2963         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
2965 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2967         * elf/dl-tunables (get_next_env): Always advance envp.
2968         * stdlib/tst-empty-env.c: New test case.
2969         * stdlib/Makefile (tests): Use it.
2971 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
2973         [BZ #21047]
2974         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
2975         name for instruction.
2976         [!__SOFTFP__] (_FPU_SETCW): Likewise.
2978 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
2980         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
2981         for make install.
2983 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2985         * po/bg.po: Merge from Translation Project.
2986         * po/fr.po: Likewise.
2987         * po/ko.po: Likewise.
2988         * po/nl.po: Likewise.
2989         * po/sv.po: Likewise.
2991 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
2993         * manual/install.texi (Tools for Compilation): Update GCC version
2994         known to work to build glibc.
2995         * INSTALL: Regenerated.
2997 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2999         [BZ #21006]
3000         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
3002 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
3004         [BZ #21045]
3005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3006         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
3007         to __sigprocmask.
3009 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
3011         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
3012         wrap-around.
3013         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
3015         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
3017 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3019         * NEWS: Fix typo.
3021 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3023         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
3024         barriers and comments.
3025         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
3026         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3027         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3029 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3031         [BZ #19402]
3032         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
3033         mutexes.
3035 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3037         [BZ #20985]
3038         * nptl/Makefile: Adapt.
3039         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
3040         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
3041         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
3042         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
3043         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
3044         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
3045         lll_robust* functions and adapt.
3046         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3047         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
3048         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
3049         __lll_robust_timedlock, __lll_robust_unlock): Remove.
3050         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
3051         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
3052         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
3053         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
3054         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
3055         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
3056         __lll_robust_timedlock, __lll_robust_unlock): Remove.
3057         * nptl/lowlevelrobustlock.c: Remove file.
3058         * nptl/lowlevelrobustlock.sym: Likewise.
3059         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
3060         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
3062 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3064         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3066 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3068         * po/cs.po: Merge translations from the Translation Project.
3069         * po/de.po: Likewise.
3070         * po/pl.po: Likewise.
3071         * po/ru.po: Likewise.
3072         * po/tr.po: Likewise.
3073         * po/uk.po: Likewise.
3074         * po/vi.po: Likewise.
3075         * po/zh_CN.po: Likewise.
3077 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
3079         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
3081         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
3082         object.
3084 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
3086         [BZ #16458]
3087         * bits/uintn-identity.h: New file.
3088         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
3089         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
3090         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
3091         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
3092         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
3093         * string/endian.h: Include <bits/uintn-identity.h>.
3094         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
3095         __uint16_identity.
3096         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
3097         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
3098         __uint32_identity.
3099         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
3100         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
3101         __uint64_identity.
3102         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
3103         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
3104         __uint16_identity.
3105         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
3106         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
3107         __uint32_identity.
3108         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
3109         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
3110         __uint64_identity.
3111         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
3112         * string/Makefile (headers): Add bits/uintn-identity.h.
3113         (tests): Add test-endian-types.
3114         * string/test-endian-types.c: New file.
3115         * inet/Makefile (tests): Add test-hnto-types.
3116         * inet/test-hnto-types.c: New file.
3118 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3120         * po/be.po: Update from Translation Project.
3121         * po/bg.po: Likewise.
3122         * po/ca.po: Likewise.
3123         * po/cs.po: Likewise.
3124         * po/da.po: Likewise.
3125         * po/de.po: Likewise.
3126         * po/el.po: Likewise.
3127         * po/eo.po: Likewise.
3128         * po/es.po: Likewise.
3129         * po/fi.po: Likewise.
3130         * po/fr.po: Likewise.
3131         * po/gl.po: Likewise.
3132         * po/hr.po: Likewise.
3133         * po/hu.po: Likewise.
3134         * po/ia.po: Likewise.
3135         * po/id.po: Likewise.
3136         * po/it.po: Likewise.
3137         * po/ja.po: Likewise.
3138         * po/ko.po: Likewise.
3139         * po/lt.po: Likewise.
3140         * po/nb.po: Likewise.
3141         * po/nl.po: Likewise.
3142         * po/pl.po: Likewise.
3143         * po/pt_BR.po: Likewise.
3144         * po/ru.po: Likewise.
3145         * po/rw.po: Likewise.
3146         * po/sk.po: Likewise.
3147         * po/sl.po: Likewise.
3148         * po/sv.po: Likewise.
3149         * po/tr.po: Likewise.
3150         * po/uk.po: Likewise.
3151         * po/vi.po: Likewise.
3152         * po/zh_CN.po: Likewise.
3153         * po/zh_TW.po: Likewise.
3155 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
3157         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
3158         -Wformat-truncation instead of -Wformat-length.
3159         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
3160         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
3161         GCC 7.
3162         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
3163         (do_test): Ignore -Wformat-truncation for GCC 7.
3165         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
3166         buffer used to print long int value.
3168         * elf/sotruss-lib.c (init): Increase space allocated for pid by
3169         one byte.  Print it with %ld, cast to long int.
3171 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3173         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
3174         (re.fullmatch, subprocess.run): Likewise.
3176 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3178         * po/libc.pot: Regenerate.
3180 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3182         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
3183         (min_strlen): Likewise.
3184         (disable_tunable): Likewise.
3185         (maybe_disable_malloc_check): Rename to
3186         maybe_enable_malloc_check.
3187         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
3188         if /etc/suid-debug file exists.
3189         (__tunables_init): Update caller.
3190         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
3191         secure.
3193 2016-01-10  Torvald Riegel  <triegel@redhat.com>
3195         * nptl/DESIGN-rwlock.txt: Remove.
3196         * nptl/lowlevelrwlock.sym: Remove.
3197         * nptl/Makefile: Add new tests.
3198         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
3199         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
3200         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
3201         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
3202         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
3203         PTHREAD_RWLOCK_FUTEX_USED): New.
3204         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
3205         implementation.
3206         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
3207         (__pthread_rwlock_rdlock): Adapt.
3208         * nptl/pthread_rwlock_timedrdlock.c
3209         (pthread_rwlock_timedrdlock): Adapt.
3210         * nptl/pthread_rwlock_timedwrlock.c
3211         (pthread_rwlock_timedwrlock): Adapt.
3212         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
3213         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
3214         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
3215         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
3216         (__pthread_rwlock_wrlock): Adapt.
3217         * nptl/tst-rwlock10.c: Adapt.
3218         * nptl/tst-rwlock11.c: Adapt.
3219         * nptl/tst-rwlock17.c: New file.
3220         * nptl/tst-rwlock18.c: New file.
3221         * nptl/tst-rwlock19.c: New file.
3222         * nptl/tst-rwlock2b.c: New file.
3223         * nptl/tst-rwlock8.c: Adapt.
3224         * nptl/tst-rwlock9.c: Adapt.
3225         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3226         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3227         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3228         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3229         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3230         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3231         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3232         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3233         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3234         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3235         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3236         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3237         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
3238         (pthread_rwlock_t): Adapt.
3239         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3240         (pthread_rwlock_t): Adapt.
3241         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3242         * nptl/nptl-printers.py (): Adapt.
3243         * nptl/nptl_lock_constants.pysym: Adapt.
3244         * nptl/test-rwlock-printers.py: Adapt.
3245         * nptl/test-rwlockattr-printers.c: Adapt.
3246         * nptl/test-rwlockattr-printers.py: Adapt.
3248 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
3250         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
3251         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
3252         (fma_test_data): Likewise.
3253         (hypot_test_data): Likewise.
3254         (log1p_test_data): Likewise.
3255         (modf_test_data): Likewise.
3256         (pow_test_data): Likewise.
3257         (remainder_test_data): Likewise.
3258         (remquo_test_data): Likewise.
3259         (scalb_test_data): Likewise.
3260         (scalbn_test_data): Likewise.
3261         (scalbln_test_data): Likewise.
3262         * math/gen-libm-test.pl (parse_args): Transform
3263         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
3264         on the rounding mode.
3266 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
3268         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
3269         xfail-rounding:ibm128-libgcc automatically to tests overflowing
3270         and those that can underflow to zero.
3271         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
3272         add others.
3273         * math/auto-libm-test-out: Regenerated.
3275         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
3276         supported.
3277         (feholdexcept_tests): Skip tests requiring exceptions or rounding
3278         modes support if not supported.
3280         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
3281         Add libc.so PLT entry.
3282         (__tls_get_addr): Make ld.so PLT entry optional.
3284 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3286         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
3287         * string/bits/string3.h: ... here.
3289 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
3291         [BZ #21028]
3292         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
3293         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
3294         if EXCEPTION_TESTS returns false.
3296 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3298         [BZ #20558]
3299         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
3300         strings_fortified.h.
3301         [__USE_MISC] (bzero): Likewise.
3302         [__USE_MISC] (explicit_bzero): Likewise.
3303         * string/strings.h: Include strings_fortified.h.
3304         * string/Makefile (headers): Add strings_fortified.h.
3305         * string/bits/strings_fortified.h: New file.
3306         * include/bits/strings_fortified.h: Likewise.
3308 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
3310         * elf/tst-tls13.c (TIMEOUT): Remove.
3311         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
3312         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
3313         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
3314         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
3315         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
3317         [BZ #21026]
3318         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
3319         (readahead): New syscall entry.
3321 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
3323         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
3324         around tests of strncat with large sizes.
3326         * malloc/tst-malloc.c: Include <libc-internal.h>.
3327         (do_test): Disable -Walloc-size-larger-than= around tests of
3328         malloc with negative sizes.
3329         * malloc/tst-mcheck.c: Include <libc-internal.h>.
3330         (do_test): Disable -Walloc-size-larger-than= around tests of
3331         malloc and realloc with negative sizes.
3332         * malloc/tst-realloc.c: Include <libc-internal.h>.
3333         (do_test): Disable -Walloc-size-larger-than= around tests of
3334         realloc with negative sizes.
3336         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
3337         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
3338         allowed to 16 ulps.
3339         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
3340         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
3341         * math/auto-libm-test-out: Regenerated.
3343 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3345         * math/Makefile (libm-calls): Move wrappers...
3346         (libm-compat-call-auto): Here.
3347         (libm-routines): Add items in libm-compat-calls-auto.
3348         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
3349         the filenames of the wrappers that have been renamed.
3350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
3351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3353         * math/w_acos.c: Add _compat suffix to filename.
3354         * math/w_acosf.c: Likewise.
3355         * math/w_acosh.c: Likewise.
3356         * math/w_acoshf.c: Likewise.
3357         * math/w_acoshl.c: Likewise.
3358         * math/w_acosl.c: Likewise.
3359         * math/w_asin.c: Likewise.
3360         * math/w_asinf.c: Likewise.
3361         * math/w_asinl.c: Likewise.
3362         * math/w_atan2.c: Likewise.
3363         * math/w_atan2f.c: Likewise.
3364         * math/w_atan2l.c: Likewise.
3365         * math/w_atanh.c: Likewise.
3366         * math/w_atanhf.c: Likewise.
3367         * math/w_atanhl.c: Likewise.
3368         * math/w_cosh.c: Likewise.
3369         * math/w_coshf.c: Likewise.
3370         * math/w_coshl.c: Likewise.
3371         * math/w_exp10.c: Likewise.
3372         * math/w_exp10f.c: Likewise.
3373         * math/w_exp10l.c: Likewise.
3374         * math/w_exp2.c: Likewise.
3375         * math/w_exp2f.c: Likewise.
3376         * math/w_exp2l.c: Likewise.
3377         * math/w_fmod.c: Likewise.
3378         * math/w_fmodf.c: Likewise.
3379         * math/w_fmodl.c: Likewise.
3380         * math/w_hypot.c: Likewise.
3381         * math/w_hypotf.c: Likewise.
3382         * math/w_hypotl.c: Likewise.
3383         * math/w_j0.c: Likewise.
3384         * math/w_j0f.c: Likewise.
3385         * math/w_j0l.c: Likewise.
3386         * math/w_j1.c: Likewise.
3387         * math/w_j1f.c: Likewise.
3388         * math/w_j1l.c: Likewise.
3389         * math/w_jn.c: Likewise.
3390         * math/w_jnf.c: Likewise.
3391         * math/w_jnl.c: Likewise.
3392         * math/w_log10.c: Likewise.
3393         * math/w_log10f.c: Likewise.
3394         * math/w_log10l.c: Likewise.
3395         * math/w_log2.c: Likewise.
3396         * math/w_log2f.c: Likewise.
3397         * math/w_log2l.c: Likewise.
3398         * math/w_log.c: Likewise.
3399         * math/w_logf.c: Likewise.
3400         * math/w_logl.c: Likewise.
3401         * math/w_pow.c: Likewise.
3402         * math/w_powf.c: Likewise.
3403         * math/w_powl.c: Likewise.
3404         * math/w_remainder.c: Likewise.
3405         * math/w_remainderf.c: Likewise.
3406         * math/w_remainderl.c: Likewise.
3407         * math/w_scalb.c: Likewise.
3408         * math/w_scalbf.c: Likewise.
3409         * math/w_scalbl.c: Likewise.
3410         * math/w_sinh.c: Likewise.
3411         * math/w_sinhf.c: Likewise.
3412         * math/w_sinhl.c: Likewise.
3413         * math/w_sqrt.c: Likewise.
3414         * math/w_sqrtf.c: Likewise.
3415         * math/w_sqrtl.c: Likewise.
3416         * math/w_tgamma.c: Likewise.
3417         * math/w_tgammaf.c: Likewise.
3418         * math/w_tgammal.c: Likewise.
3420         * math/w_acos_compat.c: New file copied from above and
3421         adjusted for new #includes path
3422         * math/w_acosf_compat.c: Likewise.
3423         * math/w_acosh_compat.c: Likewise.
3424         * math/w_acoshf_compat.c: Likewise.
3425         * math/w_acoshl_compat.c: Likewise.
3426         * math/w_acosl_compat.c: Likewise.
3427         * math/w_asin_compat.c: Likewise.
3428         * math/w_asinf_compat.c: Likewise.
3429         * math/w_asinl_compat.c: Likewise.
3430         * math/w_atan2_compat.c: Likewise.
3431         * math/w_atan2f_compat.c: Likewise.
3432         * math/w_atan2l_compat.c: Likewise.
3433         * math/w_atanh_compat.c: Likewise.
3434         * math/w_atanhf_compat.c: Likewise.
3435         * math/w_atanhl_compat.c: Likewise.
3436         * math/w_cosh_compat.c: Likewise.
3437         * math/w_coshf_compat.c: Likewise.
3438         * math/w_coshl_compat.c: Likewise.
3439         * math/w_exp10_compat.c: Likewise.
3440         * math/w_exp10f_compat.c: Likewise.
3441         * math/w_exp10l_compat.c: Likewise.
3442         * math/w_exp2_compat.c: Likewise.
3443         * math/w_exp2f_compat.c: Likewise.
3444         * math/w_exp2l_compat.c: Likewise.
3445         * math/w_fmod_compat.c: Likewise.
3446         * math/w_fmodf_compat.c: Likewise.
3447         * math/w_fmodl_compat.c: Likewise.
3448         * math/w_hypot_compat.c: Likewise.
3449         * math/w_hypotf_compat.c: Likewise.
3450         * math/w_hypotl_compat.c: Likewise.
3451         * math/w_j0_compat.c: Likewise.
3452         * math/w_j0f_compat.c: Likewise.
3453         * math/w_j0l_compat.c: Likewise.
3454         * math/w_j1_compat.c: Likewise.
3455         * math/w_j1f_compat.c: Likewise.
3456         * math/w_j1l_compat.c: Likewise.
3457         * math/w_jn_compat.c: Likewise.
3458         * math/w_jnf_compat.c: Likewise.
3459         * math/w_jnl_compat.c: Likewise.
3460         * math/w_log10_compat.c: Likewise.
3461         * math/w_log10f_compat.c: Likewise.
3462         * math/w_log10l_compat.c: Likewise.
3463         * math/w_log2_compat.c: Likewise.
3464         * math/w_log2f_compat.c: Likewise.
3465         * math/w_log2l_compat.c: Likewise.
3466         * math/w_log_compat.c: Likewise.
3467         * math/w_logf_compat.c: Likewise.
3468         * math/w_logl_compat.c: Likewise.
3469         * math/w_pow_compat.c: Likewise.
3470         * math/w_powf_compat.c: Likewise.
3471         * math/w_powl_compat.c: Likewise.
3472         * math/w_remainder_compat.c: Likewise.
3473         * math/w_remainderf_compat.c: Likewise.
3474         * math/w_remainderl_compat.c: Likewise.
3475         * math/w_scalb_compat.c: Likewise.
3476         * math/w_scalbf_compat.c: Likewise.
3477         * math/w_scalbl_compat.c: Likewise.
3478         * math/w_sinh_compat.c: Likewise.
3479         * math/w_sinhf_compat.c: Likewise.
3480         * math/w_sinhl_compat.c: Likewise.
3481         * math/w_sqrt_compat.c: Likewise.
3482         * math/w_sqrtf_compat.c: Likewise.
3483         * math/w_sqrtl_compat.c: Likewise.
3484         * math/w_tgamma_compat.c: Likewise.
3485         * math/w_tgammaf_compat.c: Likewise.
3486         * math/w_tgammal_compat.c: Likewise.
3488         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
3489         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
3490         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
3491         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
3492         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
3493         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
3494         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
3495         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
3496         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
3497         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
3498         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
3499         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
3500         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
3501         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
3502         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
3503         * sysdeps/ia64/fpu/w_powl.c: Likewise.
3504         * sysdeps/ia64/fpu/w_powf.c: Likewise.
3505         * sysdeps/ia64/fpu/w_pow.c: Likewise.
3506         * sysdeps/ia64/fpu/w_logl.c: Likewise.
3507         * sysdeps/ia64/fpu/w_logf.c: Likewise.
3508         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
3509         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
3510         * sysdeps/ia64/fpu/w_log2.c: Likewise.
3511         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
3512         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
3513         * sysdeps/ia64/fpu/w_log10.c: Likewise.
3514         * sysdeps/ia64/fpu/w_log.c: Likewise.
3515         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
3516         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
3517         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
3518         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
3519         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
3520         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
3521         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
3522         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
3523         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
3524         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
3525         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
3526         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
3527         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
3528         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
3529         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
3530         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
3531         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
3532         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
3533         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
3534         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
3535         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
3536         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
3537         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
3538         * sysdeps/ia64/fpu/w_asin.c: Likewise.
3539         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
3540         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
3541         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
3542         * sysdeps/ia64/fpu/w_acos.c: Likewise.
3543         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
3544         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
3545         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
3546         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
3547         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
3548         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
3549         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
3550         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
3551         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
3552         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
3553         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
3554         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
3555         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
3556         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
3557         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
3558         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
3559         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
3560         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
3561         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
3562         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
3563         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
3564         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
3565         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
3566         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
3567         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
3568         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
3569         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
3570         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
3571         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
3572         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
3573         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
3574         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
3575         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
3576         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
3577         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
3578         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
3579         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
3580         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
3581         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
3582         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
3583         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
3584         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
3585         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
3586         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
3587         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
3588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
3589         Likewise.
3590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
3591         Likewise.
3592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
3593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
3594         Likewise.
3595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
3596         Likewise.
3597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
3598         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3599         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3600         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3601         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3602         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3603         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
3605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
3607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3608         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3609         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3610         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3611         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3613         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
3614         and adjusted for new #includes path
3615         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
3616         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
3617         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
3618         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
3619         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
3620         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
3621         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
3622         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
3623         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
3624         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
3625         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
3626         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
3627         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
3628         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
3629         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
3630         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
3631         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
3632         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
3633         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
3634         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
3635         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
3636         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
3637         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
3638         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
3639         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
3640         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
3641         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
3642         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
3643         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
3644         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
3645         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
3646         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
3647         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
3648         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
3649         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
3650         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
3651         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
3652         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
3653         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
3654         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
3655         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
3656         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
3657         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
3658         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
3659         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
3660         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
3661         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
3662         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
3663         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
3664         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
3665         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
3666         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
3667         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
3668         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
3669         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
3670         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
3671         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
3672         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
3673         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
3674         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
3675         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
3676         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
3677         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
3678         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
3679         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
3680         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
3681         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
3682         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
3683         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
3684         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
3685         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
3686         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
3687         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
3688         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
3689         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
3690         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
3691         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
3692         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
3693         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
3694         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
3695         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
3696         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
3697         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
3698         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
3699         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
3700         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
3701         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
3702         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
3703         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
3704         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
3705         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
3706         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
3707         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
3708         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
3709         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
3710         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
3711         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
3712         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
3713         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
3714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
3715         Likewise.
3716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
3717         Likewise.
3718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
3719         Likewise.
3720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
3721         Likewise.
3722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
3723         Likewise.
3724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
3725         Likewise.
3726         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
3727         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
3728         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
3729         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
3730         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
3731         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
3732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
3733         Likewise.
3734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
3735         Likewise.
3736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
3737         Likewise.
3738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
3739         Likewise.
3740         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
3741         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
3742         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
3743         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
3745 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
3747         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
3748         __jmp_buf_internal_tag.
3750         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
3751         preserve NaN payload if [__mips_nan2008].
3752         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3754         [BZ #21022]
3755         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
3757 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
3759         * sysdeps/i386/fpu/libm-test-ulps: Update.
3761 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3763         * sysdeps/ia64/strcat.c: Remove file.
3764         * sysdeps/powerpc/strcat.c: Likewise.
3765         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
3766         C implementation.
3767         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
3768         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
3770 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3771             Steven Munroe  <sjmunroe@us.ibm.com>
3772             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3774         [BZ #20822]
3775         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3776         (__lll_lock_elision): Access adapt_count via C11 atomics.
3777         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3778         (__lll_trylock_elision): Likewise.
3779         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3780         (__lll_unlock_elision):  Update adapt_count variable inside the
3781         critical section using C11 atomics.
3783 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
3785         * math/test-fenvinline.c (do_test): Disable tests of raised
3786         exceptions if !EXCEPTION_TESTS (FLOAT).
3788 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3790         [BZ #19390]
3791         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
3792         maximum string size.
3793         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
3794         in pointer addition.
3795         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
3796         Likewise.
3798 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
3800         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
3801         passed to tst-ldconfig-X.sh.
3803 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
3805         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
3807 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
3809         [BZ #21019]
3810         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
3811         New syscall entry.
3812         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
3813         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
3814         lseek.
3816         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
3817         power4 glibc for powerpc-linux-gnu.
3819 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3821         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
3822         semctl.
3824 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
3826         * math/test-nearbyint-except.c: Include <stdbool.h>.
3827         (any_supported): New variable.
3828         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
3829         set any_supported.
3830         (do_test): Return 77 if no floating-point type supported
3831         exceptions.
3833         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
3834         condition on [__mips_hard_float].
3836 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3838         [BZ #21014]
3839         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
3840         in pointer addition.
3841         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
3843 2017-01-02  Torvald Riegel  <triegel@redhat.com>
3845         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
3846         new condvar.
3848 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
3850         * scripts/build-many-glibcs.py (Context.checkout): Default
3851         binutils version to 2.28 branch.
3853 2017-01-01  Florian Weimer  <fweimer@redhat.com>
3855         * support/support_format_netent.c (support_format_netent): Work
3856         around alpha struct netent definition difference.
3858 2017-01-01  Florian Weimer  <fweimer@redhat.com>
3860         * support/xwrite.c (xwrite): Use %td for pointer difference.
3862 2017-01-01  Florian Weimer  <fweimer@redhat.com>
3864         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
3865         have-tunables only.
3866         (tests-static): Add tst-malloc-usable-static-tunables for
3867         have-tunables only.
3869 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
3871         * scripts/config.guess: Update to version 2017-01-01.
3872         * scripts/config.sub: Update to version 2017-01-01.
3874         * NEWS: Update copyright dates.
3875         * catgets/gencat.c (print_version): Likewise.
3876         * csu/version.c (banner): Likewise.
3877         * debug/catchsegv.sh: Likewise.
3878         * debug/pcprofiledump.c (print_version): Likewise.
3879         * debug/xtrace.sh (do_version): Likewise.
3880         * elf/ldconfig.c (print_version): Likewise.
3881         * elf/ldd.bash.in: Likewise.
3882         * elf/pldd.c (print_version): Likewise.
3883         * elf/sotruss.sh: Likewise.
3884         * elf/sprof.c (print_version): Likewise.
3885         * iconv/iconv_prog.c (print_version): Likewise.
3886         * iconv/iconvconfig.c (print_version): Likewise.
3887         * locale/programs/locale.c (print_version): Likewise.
3888         * locale/programs/localedef.c (print_version): Likewise.
3889         * login/programs/pt_chown.c (print_version): Likewise.
3890         * malloc/memusage.sh (do_version): Likewise.
3891         * malloc/memusagestat.c (print_version): Likewise.
3892         * malloc/mtrace.pl: Likewise.
3893         * manual/libc.texinfo: Likewise.
3894         * nptl/version.c (banner): Likewise.
3895         * nscd/nscd.c (print_version): Likewise.
3896         * nss/getent.c (print_version): Likewise.
3897         * nss/makedb.c (print_version): Likewise.
3898         * posix/getconf.c (main): Likewise.
3899         * scripts/test-installation.pl: Likewise.
3900         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3902         * All files with FSF copyright notices: Update copyright dates
3903         using scripts/update-copyrights.
3904         * intl/plural.c: Regenerated.
3905         * locale/programs/charmap-kw.h: Likewise.
3906         * locale/programs/locfile-kw.h: Likewise.
3908 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3910         [BZ #20593]
3911         Update DNS RR type definitions.
3912         * scripts/gen-rrtypes.py: New file.
3913         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
3914         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
3915         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
3916         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
3917         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
3918         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
3919         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
3920         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
3921         ns_t_ta, ns_t_dlv.
3922         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
3923         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
3924         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
3925         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
3926         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
3927         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
3928         Define.
3929         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
3930         entry for ns_t_zxfr.
3932 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3934         [BZ #18784]
3935         CVE-2015-5180
3936         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
3937         T_UNSPEC.  Adjust value.
3938         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
3939         * resolv/res_query.c (__libc_res_nquery): Likewise.
3940         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
3941         QTYPEs.
3942         * resolv/tst-resolv-qtypes.c: New file.
3943         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
3944         (tst-resolv-qtypes): Link against libresolv and libpthread.
3946 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3948         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
3950 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3952         * manual/tunables.texi: New chapter.
3953         * manual/Makefile (chapters): Add it.
3954         * manual/probes.texi (@node): Point to the Tunables chapter.
3956         * Makeconfig (have-tunables): Check for non-negative instead
3957         of positive.
3958         * configure.ac: Add 'valstring' as a valid value for
3959         --enable-tunables.
3960         * configure: Regenerate.
3961         * elf/Makefile (have-tunables): Check for non-negative instead
3962         of positive.
3963         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
3964         dl-tunables.c.
3965         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
3966         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
3967         (tunables_strdup): Likewise.
3968         (disable_tunables): Likewise.
3969         (parse_tunables): Likewise.
3970         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
3971         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
3972         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
3973         (TUNABLES_FRONTEND_yes): New macro, define as
3974         TUNABLES_FRONTEND_valstring by default.
3975         * manual/install.texi: Document new acceptable values for
3976         --enable-tunables.
3977         * INSTALL: Regenerate.
3979         * config.make.in (have-loop-to-function): Define.
3980         * elf/Makefile (CFLAGS-dl-tunables.c): Add
3981         -fno-tree-loop-distribute-patterns.
3982         * elf/dl-tunables.c: Include libc-internals.h.
3983         (GLIBC_TUNABLES): New macro.
3984         (tunables_strdup): New function.
3985         (parse_tunables): New function.
3986         (min_strlen): New function.
3987         (__tunables_init): Use the new functions and macro.
3988         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
3989         * malloc/tst-malloc-usable-tunables.c: New test case.
3990         * malloc/tst-malloc-usable-static-tunables.c: New test case.
3991         * malloc/Makefile (tests, tests-static): Add tests.
3993         * manual/install.texi: Add --enable-tunables option.
3994         * INSTALL: Regenerate.
3995         * README.tunables: New file.
3996         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
3997         (before-compile): Generate dl-tunable-list.h early.
3998         * config.h.in: Add HAVE_TUNABLES.
3999         * config.make.in: Add have-tunables.
4000         * configure.ac: Add --enable-tunables option.
4001         * configure: Regenerate.
4002         * csu/init-first.c (__libc_init_first): Move
4003         __libc_init_secure earlier...
4004         * csu/init-first.c (LIBC_START_MAIN):... to here.
4005         Include dl-tunables.h, libc-internal.h.
4006         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
4007         binaries.
4008         * elf/Makefile (dl-routines): Add dl-tunables.
4009         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
4010         namespace.
4011         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
4012         only when !HAVE_TUNABLES.
4013         * elf/rtld.c (process_envvars): Likewise.
4014         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
4015         (_dl_sysdep_start): Call __tunables_init.
4016         * elf/dl-tunable-types.h: New file.
4017         * elf/dl-tunables.c: New file.
4018         * elf/dl-tunables.h: New file.
4019         * elf/dl-tunables.list: New file.
4020         * malloc/tst-malloc-usable-static.c: New test case.
4021         * malloc/Makefile (tests-static): Add it.
4022         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
4023         Define TUNABLE_NAMESPACE.
4024         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
4025         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
4026         callback functions.
4027         (ptmalloc_init): Set tunable values.
4028         * scripts/gen-tunables.awk: New file.
4029         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
4030         (_dl_sysdep_start): Call __tunables_init.
4032 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4034         * resolv/resolv.h (RES_BLAST): Deprecate.
4035         * resolv/res_debug.c (p_option): Remove RES_BLAST.
4036         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
4037         to RES_BLAST.
4039 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4041         [BZ #19582]
4042         Deprecate RES_USE_INET6.
4043         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
4044         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
4045         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
4046         RES_USE_INET6.
4047         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
4048         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
4049         (_nss_nisplus_gethostbyaddr_r): Likewise.
4050         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
4051         of res_use_inet6.
4052         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
4053         instead of RES_USE_INET6.
4054         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
4055         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
4056         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
4057         Likewise.
4058         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
4059         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
4060         Likewise.
4061         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
4062         (_nss_dns_gethostbyname_r): Likewise.
4063         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
4064         alternate RES_USE_INET6 handling.
4065         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
4066         instead of RES_USE_INET6.
4067         * resolv/res_init.c (res_setoptions): Likewise.
4068         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
4069         * resolv/resolv-internal.h: New file.
4070         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
4071         make the deprecation warning non-fatal.
4072         * resolv/README (Using the resolver in multi-threaded code): Drop
4073         reference to RES_USE_INET6.
4074         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
4075         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
4077 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4079         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
4080         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
4081         tst-resolv-search.
4082         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
4083         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
4084         with libresolv and libpthread.
4085         * resolv/tst-bug18665.c: New file.
4086         * resolv/tst-bug18665-tcp: Likewise.
4087         * resolv/tst-res_use_inet6: Likewise.
4088         * resolv/tst-resolv-basic: Likewise.
4089         * resolv/tst-resolv-network: Likewise.
4090         * resolv/tst-resolv-search: Likewise.
4091         * support/Makefile (libsupport-routines): Add check_addrinfo,
4092         check_dns_packet, check_hostent, check_netent, resolv_test,
4093         support_format_address_family, support_format_addrinfo,
4094         support_format_dns_packet, support_format_herrno,
4095         support_format_hostent, support_format_netent, support_run_diff,
4096         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
4097         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
4098         xstrdup, xwrite.
4099         * support/check_addrinfo.c: New file.
4100         * support/check_dns_packet.c: Likewise.
4101         * support/check_hostent.c: Likewise.
4102         * support/check_netent.c: Likewise.
4103         * support/check_nss.h: Likewise.
4104         * support/format_nss.h: Likewise.
4105         * support/resolv_test.c: Likewise.
4106         * support/resolv_test.h: Likewise.
4107         * support/run_diff.h: Likewise.
4108         * support/support_format_address_family.c: Likewise.
4109         * support/support_format_addrinfo.c: Likewise.
4110         * support/support_format_dns_packet.c: Likewise.
4111         * support/support_format_herrno.c: Likewise.
4112         * support/support_format_hostent.c: Likewise.
4113         * support/support_format_netent.c: Likewise.
4114         * support/support_run_diff.c: Likewise.
4115         * support/xaccept.c: Likewise.
4116         * support/xbind.c: Likewise.
4117         * support/xconnect.c: Likewise.
4118         * support/xfclose.c: Likewise.
4119         * support/xfopen.c: Likewise.
4120         * support/xgetsockname.c: Likewise.
4121         * support/xlisten.c: Likewise.
4122         * support/xmemstream.c: Likewise.
4123         * support/xmemstream.h: Likewise.
4124         * support/xpoll.c: Likewise.
4125         * support/xpthread_once.c: Likewise.
4126         * support/xrecvfrom.c: Likewise.
4127         * support/xsendto.c: Likewise.
4128         * support/xsetsockopt.c: Likewise.
4129         * support/xstdio.h: Likewise.
4130         * support/xstrdup.c: Likewise.
4131         * support/support.h (xstrdup): Declare.
4132         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
4133         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
4134         * support/xthread.h (xpthread_once): Likwise.
4135         * support/xunistd.h (xwrite): Declare.
4137 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4139         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
4140         (test_verbose): Declare.
4141         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
4142         * support/support_test_main.c (default_options): Likewise.
4143         (usage, support_test_main): Handle 'v'.
4144         (test_verbose): Define.
4145         * support/tst-support_record_failure.c (do_test): Use
4146         test_verbose.
4147         * support/tst-support_record_failure-2.sh (different_status): Add
4148         --verbose test.
4150 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4152         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
4153         test failures are recorded.
4154         * support/check.c (support_print_failure_impl): Call
4155         support_record_failure.
4156         (support_exit_failure_impl): Call support_record_failure if status
4157         indicates failure.
4158         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
4159         * support/xasprintf.c (xasprintf): Likewise.
4160         * support/xfork.c (xfork): Likewise.
4161         * support/xpthread_check_return.c (xpthread_check_return):
4162         Likewise.
4163         * support/xsocket.c (xsocket): Likeweise.
4164         * support/xwaitpid.c (xwaitpid): Likewise.
4165         * support/support_record_failure.c (struct test_failures): Adjust
4166         to coding style.
4167         * support/support_test_verify_impl.c (support_test_verify_impl):
4168         Adjust error messages.
4169         * support/tst-support_record_failure-2.sh (different_status):
4170         Adjust error messages.
4172 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4174         * support/namespace.h: New file.
4175         * support/support_become_root.c: Likewise.
4176         * support/support_enter_network_namespace.c: Likewise.
4177         * support/tst-support-namespace.c: Likewise.
4178         * support/xsocket.c: Likewise.
4179         * support/xsocket.h: Likewise.
4180         * support/Makefile (libsupport-routines): Add support_become_root,
4181         support_enter_network_namespace, xsocket.
4182         (tests): Add tst-support-namespace.
4184 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4186         [BZ #17252]
4187         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
4188         __USE_GNU.
4190 2016-12-31  Torvald Riegel  <triegel@redhat.com>
4192         [BZ #13165]
4193         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
4194         use new algorithm.
4195         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
4196         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
4197         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
4198         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
4199         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
4200         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
4201         __condvar_cleanup_waiting, __condvar_dec_grefs,
4202         __pthread_cond_wait_common): New.
4203         (__condvar_cleanup): Remove.
4204         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
4205         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
4206         Likewise.
4207         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
4208         Likewise.
4209         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
4210         * nptl/tst-cond1.c: Add comment.
4211         * nptl/tst-cond20.c (do_test): Adapt.
4212         * nptl/tst-cond22.c (do_test): Likewise.
4213         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
4214         structure.
4215         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4216         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4217         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4218         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
4219         Likewise.
4220         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4221         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4222         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4223         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4224         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4225         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
4226         Likewise.
4227         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
4228         Likewise.
4229         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4230         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
4231         (COND_CLOCK_BITS): Adapt.
4232         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
4233         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
4234         __PTHREAD_COND_SHARED_MASK): New.
4235         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
4236         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
4237         * nptl/nptl_lock_constants.pysym: Adapt.
4238         * nptl/test-cond-printers.py: Adapt.
4239         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
4240         cond_compat_check_and_clear): Adapt.
4241         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
4242         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
4243         (__pthread_cond_timedwait): ... and move here.
4244         * nptl/DESIGN-condvar.txt: Remove file.
4245         * nptl/lowlevelcond.sym: Likewise.
4246         * nptl/pthread_cond_timedwait.c: Likewise.
4247         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
4248         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
4249         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
4250         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
4251         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
4252         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
4253         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
4254         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
4255         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
4256         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
4257         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
4258         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
4259         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
4260         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
4261         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
4262         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
4264 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
4266         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4267         (fromfp): New declaration.
4268         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
4269         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
4270         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
4271         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
4272         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
4273         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
4274         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
4275         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
4276         * math/math.h: Include <bits/types.h>.
4277         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
4278         constant and macro.
4279         (FP_INT_DOWNWARD): Likewise.
4280         (FP_INT_TOWARDZERO): Likewise.
4281         (FP_INT_TONEARESTFROMZERO): Likewise.
4282         (FP_INT_TONEAREST): Likewise.
4283         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
4284         (fromfpf): Likewise.
4285         (fromfpl): Likewise.
4286         (ufromfp): Likewise.
4287         (ufromfpf): Likewise.
4288         (ufromfpl): Likewise.
4289         (fromfpx): Likewise.
4290         (fromfpxf): Likewise.
4291         (fromfpxl): Likewise.
4292         (ufromfpx): Likewise.
4293         (ufromfpxf): Likewise.
4294         (ufromfpxl): Likewise.
4295         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
4296         s_fromfpxF and s_ufromfpxF.
4297         * math/gen-fromfp-tests.py: New file.
4298         * math/gen-fromfp-tests-inputs: Likewise.
4299         * math/libm-test.inc: Include <stdint.h>
4300         (check_intmax_t): New function.
4301         (check_uintmax_t): Likewise.
4302         (struct test_fiu_M_data): New type.
4303         (struct test_fiu_U_data): Likewise.
4304         (RUN_TEST_fiu_M): New macro.
4305         (RUN_TEST_LOOP_fiu_M): Likewise.
4306         (RUN_TEST_fiu_U): Likewise.
4307         (RUN_TEST_LOOP_fiu_U): Likewise.
4308         (fromfp_test_data): New array.
4309         (fromfp_test): New function.
4310         (fromfpx_test_data): New array.
4311         (fromfpx_test): New function.
4312         (ufromfp_test_data): New array.
4313         (ufromfp_test): New function.
4314         (ufromfpx_test_data): New array.
4315         (ufromfpx_test): New function.
4316         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
4317         ufromfpx_test.
4318         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
4319         characters.
4320         * math/test-tgmath-ret.c: Include <stdint.h>.
4321         (rm): New variable.
4322         (width): Likewise.
4323         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
4324         called function.
4325         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
4326         CHECK_RET_CONST_TYPE.
4327         (CHECK_RET_CONST_DOUBLE): Likewise.
4328         (CHECK_RET_CONST_LDOUBLE): Likewise.
4329         (CHECK_RET_CONST): Take extra arguments and pass them to calls
4330         macros.
4331         (fromfp): New CHECK_RET_CONST call.
4332         (ufromfp): Likewise.
4333         (fromfpx): Likewise.
4334         (ufromfpx): Likewise.
4335         (do_test): Call check_return_fromfp, check_return_ufromfp,
4336         check_return_fromfpx and check_return_ufromfpx.
4337         * math/test-tgmath.c: Include <stdint.h>
4338         (NCALLS): Increase to 138.
4339         (F(compile_test)): Initialize i.  Call fromfp functions.
4340         (F(fromfp)): New function.
4341         (F(fromfpx)): Likewise.
4342         (F(ufromfp)): Likewise.
4343         (F(ufromfpx)): Likewise.
4344         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
4345         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
4346         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
4347         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
4348         ufromfpxl.
4349         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
4350         ufromfp and ufromfpx.
4351         * math/fromfp.h: New file.
4352         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
4353         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
4354         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
4355         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
4356         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
4357         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
4358         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
4359         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
4360         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
4361         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
4362         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
4363         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
4364         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
4365         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
4366         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
4367         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
4368         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
4369         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
4370         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
4371         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
4372         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
4373         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
4374         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
4375         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
4376         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
4377         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
4378         ufromfp, fromfpx and ufromfpx.
4379         (CFLAGS-nldbl-fromfp.c): New variable.
4380         (CFLAGS-nldbl-fromfpx.c): Likewise.
4381         (CFLAGS-nldbl-ufromfp.c): Likewise.
4382         (CFLAGS-nldbl-ufromfpx.c): Likewise.
4383         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
4384         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
4385         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
4386         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
4387         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
4388         * sysdeps/nacl/libm.abilist: Update.
4389         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4390         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4391         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4392         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4393         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4394         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4395         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4396         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4397         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4398         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4399         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4400         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4402         Likewise.
4403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4404         Likewise.
4405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4406         Likewise.
4407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4408         Likewise.
4409         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4410         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4411         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4412         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4413         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4415         Likewise.
4416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4417         Likewise.
4418         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4419         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4420         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4422 2016-12-30  Florian Weimer  <fweimer@redhat.com>
4424         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
4425         compat-gethnamaddr.
4426         (CPPFLAGS): Remove.
4427         * resolv/gethnamaddr.c: Rename ...
4428         * resolv/compat-gethnamaddr.c: ... to this file.
4429         (_endhtent): Make static.
4430         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
4431         symbol.
4432         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
4433         compat symbol.
4434         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
4435         symbol.
4436         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
4437         Turn into compat symbol.
4438         * include/resolv.h (_endhtent): Remove declaration.
4440 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
4442         * bits/types.h (__intmax_t): New typedef.
4443         (__uintmax_t): Likewise.
4444         * sysdeps/generic/stdint.h: Include <bits/types.h>.
4445         (intmax_t): Define using __intmax_t.
4446         (uintmax_t): Define using __uintmax_t.
4448         * support/Makefile (tests-special): Make definition conditional on
4449         [$(run-built-tests) = yes].
4450         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
4451         on [$(run-built-tests) = yes].
4453 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4455         * Rules (tests): Add tests-printers-programs to tests to be
4456         built.
4458 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4460         * sysvipc/Makefile (tests): Add test-sysvshm.
4461         * sysvipc/test-sysvshm.c: New file.
4463         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
4464         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
4465         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
4466         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
4467         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
4468         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
4469         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
4470         Likewise.
4471         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
4472         Likewise.
4473         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
4474         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
4475         is defined.
4477         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
4478         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
4479         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
4480         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
4481         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
4482         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
4483         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
4484         Likewise.
4485         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
4486         Likewise.
4487         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
4488         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
4489         defined.
4491         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4492         oldshmctl.
4493         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
4494         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
4495         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
4496         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
4497         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
4498         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
4499         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
4500         Likewise.
4501         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
4502         Likewise.
4503         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
4504         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
4505         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
4506         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
4507         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
4508         implementation.
4509         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
4510         if it is defined.
4512         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
4513         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
4514         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
4515         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
4516         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
4517         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
4518         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
4519         Likewise.
4520         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
4521         Likewise.
4522         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
4523         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
4524         Define to __NR_osf_shmat.
4525         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
4526         defined.
4528         * sysvipc/Makefile (tests): Add test-sysvsem.
4529         * sysvipc/test-sysvsem.c: New file.
4531         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
4532         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
4533         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
4534         Likewise.
4535         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
4536         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
4537         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
4538         Likewise.
4539         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
4540         Likewise.
4541         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
4542         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
4543         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
4544         add a comment about s390 syscall difference from default one.
4545         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
4546         syscall if it is defined.
4548         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
4549         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
4550         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
4551         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
4552         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
4553         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
4554         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
4555         Likewise.
4556         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
4557         Likewise.
4558         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
4559         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
4560         defined.
4562         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
4563         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
4564         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
4565         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
4566         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
4567         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
4568         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
4569         Likewise.
4570         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
4571         Likewise.
4572         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
4573         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
4574         if it is defined.
4576         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4577         oldsemctl.
4578         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
4579         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
4580         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
4581         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
4582         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
4583         implementation.
4584         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
4585         syscall if it is defined.
4586         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
4587         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
4588         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
4589         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
4590         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
4591         Likewise.
4592         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
4594         * sysvipc/Makefile (tests): Add test-sysvmsg.
4595         * sysvipc/test-sysvmsg.c: New file.
4596         * support/check.h (FAIL_UNSUPPORTED): New define.
4598         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
4599         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
4600         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
4601         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
4602         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
4603         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
4604         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
4605         Likewise.
4606         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
4607         Likewise.
4608         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
4609         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
4610         define.
4612         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
4613         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
4614         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
4615         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
4616         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
4617         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
4618         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
4619         Likewise.
4620         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
4621         Likewise.
4622         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
4623         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
4624         if defined.
4626         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
4627         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
4628         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
4629         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
4630         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
4631         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
4632         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
4633         Likewise.
4634         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
4635         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
4636         Likewise.
4637         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
4638         if defined.
4639         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
4641         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4642         oldmsgctl.
4643         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
4644         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
4645         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
4646         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
4647         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
4648         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
4649         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
4650         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
4651         Likewise.
4652         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
4653         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
4654         implementation.
4655         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
4656         if defined.
4658         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
4659         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
4660         definition and define its own.
4661         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
4662         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
4663         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
4664         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
4665         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
4666         definitions to common header.
4667         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
4668         operation from ipc_ops.h.
4670         * sysdeps/unix/sysv/linux/kernel-features.h
4671         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
4672         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4673         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
4674         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4675         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4676         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4677         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4678         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4679         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4680         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4681         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4682         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4683         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4684         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4685         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4687 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4689         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
4690         overflow in pointer addition.
4692 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4694         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4695         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
4696         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4697         (strchr): Add __strchr_power8 to list of strchr functions.
4698         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
4699         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
4700         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
4701         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
4702         (strchr): Add __strchr_power8 to ifunc list.
4703         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
4704         (__strchrnul): Add __strchrnul_power8 to ifunc list.
4705         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
4706         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
4708 2016-12-28  Florian Weimer  <fweimer@redhat.com>
4710         * support/Makefile (libsupport-routines): Add
4711         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
4712         (tests): Add tst-support_record_failure.
4713         (tests-special): tst-support_record_failure-2.
4714         (tst-support_record_failure-2.out): Depend on
4715         tst-support_record_failure-2.sh and tst-support_record_failure.
4716         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
4717         (support_test_verify_impl, support_record_failure)
4718         (support_report_failure, support_report_failure_reset): Declare.
4719         * support/support_test_main.c (adjust_exit_status): New function.
4720         (support_test_main): Call it to incorporate record test failures.
4721         * support/support_test_verify_impl.c: New file.
4722         * support/support_record_failure.c: Likewise.
4723         * support/tst-support_record_failure.c: Likewise.
4724         * support/tst-support_record_failure-2.sh: Likewise.
4725         * support/xunistd.h: Likewise.
4726         * support/xfork.c: Likewise.
4727         * support/xwaitpid.c: Likewise.
4729 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
4731         * scripts/check-c++-types.sh: Add comments.
4733 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
4735         [BZ #19514]
4736         * resolv/res_send.c: Fix typo in comment.
4737         * sysdeps/i386/i386-mcount.S: Likewise.
4738         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4739         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4740         * sysdeps/sparc/sparc-mcount.S: Likewise.
4742 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4744         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
4745         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
4746         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
4747         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
4748         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
4749         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
4750         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
4751         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
4753 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4755         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
4757 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4759         [BZ #17252]
4760         * posix/unistd.h (getentropy): Declare.
4762 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4764         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
4765         Remove.
4766         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
4767         (cmd): Remove spoof, nospoof, spoofalert.
4768         (parse_line): Ignore spoof-related lines.
4769         (do_init): Do not process RESOLV_SPOOF_CHECK.
4771 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4773         [BZ #20964]
4774         sunrpc: Always obtain AF_INET addresses from NSS.
4775         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
4776         * sunrpc/rpc_gethostbyname.c: New file.
4777         * sunrpc/Makefile (routines): Add it.
4778         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
4779         * sunrpc/clnt_simp.c (callrpc): Likewise.
4780         * sunrpc/getrpcport.c (getrpcport): Likewise.
4782 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4784         * sunrpc/rpcinfo.c: Remove.
4785         * sunrpc/Makefile: Remove comments referring to rpcinfo.
4787 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4789         [BZ# 19387]
4790         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
4791         addition.
4792         * string/test-memchr.c (do_test): Remove alignment limitation.
4793         (test_main): Add test that trigger BZ# 19387.
4795 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4797         [BZ #7065]
4798         Enable stack protectore if requested by ./configure.
4799         * Makeconfig (+stack-protector): New variable.
4800         (+cflags): Use it.
4802 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4804         [BZ #7065]
4805         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
4806         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
4807         (__rt_sigreturn_stub): Use inhibit_stack_protector.
4808         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4809         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
4811 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4813         [BZ #7065]
4814         * login/Makefile (pt_chown-cflags): Remove.
4815         * nscd/Makefile (CFLAGS-nscd): Likewise.
4816         * resolv/Makefile (CFLAGS-libresolv): Likewise.
4818 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4820         [BZ #7065]
4821         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
4822         non-libc-linking testcase.
4824 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4825             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4826             Florian Weimer  <fweimer@redhat.com>
4828         [BZ #7065]
4829         PLT avoidance for __stack_chk_fail*.
4830         * debug/Makefile (CFLAGS-stack_chk_fail.c)
4831         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
4832         * debug/stack_chk_fail.c (__stack_chk_fail): Add
4833         __stack_chk_fail_local alias.
4834         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
4835         (__stack_chk_fail): Turn into hidden reference to
4836         __stack_chk_fail_local.
4838 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4840         [BZ #7065]
4841         * configure.ac: Add check for unsupported stack-protection level.
4842         (libc_cv_predef_stack_protector): Remove.
4843         (no_ssp): New variable.
4844         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
4845         (stack_protector): Set to -fno-stack-protector similarly.
4846         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
4847         (libc_cv_asm_set_directive): Likewise.
4848         (libc_cv_protected_data): Likewise.
4849         (libc_cv_z_combreloc): Likewise.
4850         (libc_cv_hashstyle): Likewise.
4851         (libc_cv_has_glob_dat): Likewise.
4852         (libc_cv_output_format): Likewise.
4853         (libc_cv_output_format): Likewise.
4854         (libc_cv_ehdr_start): Likewise.
4855         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
4856         (LIBC_LINKER_FEATURE): Likewise.
4857         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
4859 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4861         [BZ #7065]
4862         * elf/Makefile (dummy-stack-chk-fail): New.
4863         (librtld.map): Use it.
4865 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4867         [BZ #7065]
4868         Compile the dynamic linker without stack protection.
4869         * elf/Makefile (elide-stack-protector): New.
4870         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
4871         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
4872         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
4873         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
4875 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4877         [BZ #7065]
4878         * config.make.in (have-ssp, no-stack-protector): New.
4879         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
4880         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
4881         (CFLAGS-sbrk.op): Likewise.
4882         (CFLAGS-brk.o): Likewise.
4883         (CFLAGS-brk.op): Likewise.
4884         * string/Makefile (CFLAGS-memcpy.c): Likewise.
4885         (CFLAGS-wordcopy.c): Likewise.
4887 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4889         [BZ #7065]
4890         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
4891         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
4892         * include/libc-symbols.h (inhibit_stack_protector): New macro.
4893         (__ifunc_resolver): Use it.
4894         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
4895         inhibit_stack_protector.
4896         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
4897         * elf/ifuncmain7.c (foo_ifunc): Likewise.
4898         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
4899         (foo_protected_ifunc): Likewise.
4900         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
4901         (foo_protected_ifunc): Likewise.
4902         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
4903         * sysdeps/nacl/nacl_interface_query.c
4904         (nacl_interface_query_ifunc): Likewise.
4905         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
4906         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
4907         Likewise.
4908         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
4909         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
4910         the generated vDSO syscall resolver.
4912 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4913             Florian Weimer  <fweimer@redhat.com>
4915         [BZ #7065]
4916         Initialize the stack guard earlier when linking statically.
4917         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
4918         (__pthread_initialize_minimal): Declare.
4919         * csu/libc-start.c (__pthread_initialize_minimal): Remove
4920         declaration.
4921         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
4922         stack canary and apply_irel initialization up.  Call
4923         __pthread_initialize_minimal only if linked in.
4924         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
4925         constant values.
4926         (__pthread_initialize_minimal): Remove.
4927         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
4928         (__pthread_initialize_minimal_internal): Do not call
4929         __libc_setup_tls.
4931 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4933         [BZ #7065]
4934         * configure.ac (libc_cv_ssp): Move up.
4935         (libc_cv_ssp_strong): Likewise.
4936         (libc_cv_ssp_all): New.
4937         (stack_protector): Augment, adding -fstack-protector-all.
4938         (no_stack_protector): New.
4939         (STACK_PROTECTOR_LEVEL): New.
4940         (AC_ARG_ENABLE(stack-protector)): New configure flag.
4941         * manual/install.texi (--enable-stack-protector): Document it.
4942         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
4944 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
4946         * README.pretty-printers: Must specify CPPFLAGS-* also.
4947         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
4948         (CPPFLAGS-test-mutex-printers.c): Define.
4949         (CPPFLAGS-test-condattr-printers.c): Define.
4950         (CPPFLAGS-test-cond-printers.c): Define.
4951         (CPPFLAGS-test-rwlockattr-printers.c): Define.
4952         (CPPFLAGS-test-rwlock-printers.c): Define.
4954         * nss/Makefile [ifeq (yes,$(have-thread-library))]
4955         (tests): Add tst-cancel-getpwuid_r.
4956         * nss/tst-cancel-getpwuid_r.c: New file.
4958         [BZ #11941]
4959         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
4960         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
4961         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
4962         tst-nodelete-dlclose.
4963         (modules-names): Add tst-nodelete-dlclose-dso and
4964         tst-nodelete-dlclose-plugin.
4965         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
4966         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
4967         ($(objpfx)tst-nodelete-dlclose): Define.
4968         ($(objpfx)tst-nodelete-dlclose.out): Define.
4970 2016-12-23  Florian Weimer  <fweimer@redhat.com>
4972         * scripts/test_printers_common.py: Log GDB output in case of
4973         Python detection failure.
4975 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4977         * configure.ac: Check for python3 or python.
4978         * configure: Regenerated.
4979         * config.make.in (PYTHON): New variable.
4980         * benchtests/Makefile: Don't define PYTHON.
4981         (bench): Define target only if PYTHON was defined.
4982         * Rules: Don't define PYTHON.
4983         Define pretty printer targets only if PYTHON was defined.
4984         (tests-printers): Add to tests-unsupported if PYTHON is not
4985         found.
4986         (python-flags, python-invoke): Remove.
4987         (tests-printers-out): Use PYTHON instead of python-invoke.
4989 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
4991         [BZ #20978]
4992         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4993         Compare name == NULL, not name != NULL.
4995         * manual/texinfo.tex: Update to version 2016-09-18.18 with
4996         trailing whitespace removed.
4997         * scripts/config.guess: Update to version 2016-10-02.
4998         * scripts/config.sub: Update to version 2016-11-19.
4999         * scripts/install-sh: Update to version 2016-01-11.22.
5000         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
5001         * scripts/move-if-change: Update to version 2016-01-11 22:04.
5003 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
5005         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
5006         (do_one_test) Restore original string so iteration works.
5007         * string/string-inlines.c (do_test): Create better input strings.
5008         (test_main) Reduce number of testruns.
5009         * string/string-inlines.c (__old_strsep_1c): New function.
5010         (__old_strsep_2c): Likewise.
5011         (__old_strsep_3c): Likewise.
5012         * string/strsep.c (__strsep): Remove case of small delim string.
5013         Call strcspn directly rather than strpbrk.
5014         * string/bits/string2.h (__strsep): Remove define.
5015         (__strsep_1c): Remove.
5016         (__strsep_2c): Remove.
5017         (__strsep_3c): Remove.
5018         (strsep): Remove.
5019         * sysdeps/unix/sysv/linux/internal_statvfs.c
5020         (__statvfs_getflags): Rename to __strsep.
5022 2016-12-21  Florian Weimer  <fweimer@redhat.com>
5024         * csu/libc-tls.c (_dl_tls_setup): Remove.
5025         * elf/dl-tls.c (_dl_tls_setup): Likewise.
5026         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
5027         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
5029 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
5031         [BZ #7065]
5032         * sysdeps/x86_64/Makefile [$(subdir) = elf]
5033         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
5035 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
5036             Florian Weimer  <fweimer@redhat.com>
5038         [BZ #7065]
5039         * csu/Makefile (tests): Empty assignment and document it.
5040         (tests-static): Remove.
5041         * csu/tst-empty.c: Move to...
5042         * misc/tst-empty.c: ... here.  Switch to new test driver.
5043         * csu/tst-atomic.c: Move to...
5044         * misc/tst-atomic.c: ... here.  Switch to new test driver.
5045         * csu/tst-atomic-long.c: Move to...
5046         * misc/tst-atomic-long.c: ... here.
5047         * misc/Makefile (tests): Add tst-empty, tst-atomic,
5048         tst-atomic-long.
5049         (tests-static): Add tst-empty.
5051 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
5053         * manual/nss.texi: Change incorrect @vtable to @table.
5054         * manual/arith.texi: Convert @tables of variables to @vtables
5055         and remove unnecessary indexing.
5056         * manual/filesys.texi: Likewise.
5057         * manual/llio.texi: Likewise.
5058         * manual/memory.texi: Likewise.
5059         * manual/process.texi: Likewise.
5060         * manual/resource.texi: Likewise.
5061         * manual/search.texi: Likewise.
5062         * manual/signal.texi: Likewise.
5063         * manual/socket.texi: Likewise.
5064         * manual/stdio.texi: Likewise.
5065         * manual/sysinfo.texi: Likewise.
5066         * manual/syslog.texi: Likewise.
5067         * manual/terminal.texi: Likewise.
5068         * manual/time.texi: Likewise.
5069         * manual/users.texi: Likewise.
5071 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
5073         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5074         (roundeven): New declaration.
5075         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
5076         macro.
5077         * math/Versions (roundeven): New libm symbol at version
5078         GLIBC_2.25.
5079         (roundevenf): Likewise.
5080         (roundevenl): Likewise.
5081         * math/Makefile (libm-calls): Add s_roundevenF.
5082         * math/libm-test.inc (roundeven_test_data): New array.
5083         (roundeven_test): New function.
5084         (main): Call roundeven_test.
5085         * math/test-tgmath.c (NCALLS): Increase to 134.
5086         (F(compile_test)): Call roundeven.
5087         (F(roundeven)): New function.
5088         * manual/arith.texi (Rounding Functions): Document roundeven,
5089         roundevenf and roundevenl.
5090         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
5091         * include/math.h (roundeven): Use libm_hidden_proto.
5092         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
5093         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
5094         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
5095         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
5096         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
5097         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
5098         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5099         roundeven.
5100         (CFLAGS-nldbl-roundeven.c): New variable.
5101         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
5102         * sysdeps/nacl/libm.abilist: Update.
5103         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5104         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5105         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5106         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5107         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5108         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5109         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5110         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5111         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5112         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5113         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5114         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5116         Likewise.
5117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5118         Likewise.
5119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5120         Likewise.
5121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5122         Likewise.
5123         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5124         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5125         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5126         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5127         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5129         Likewise.
5130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5131         Likewise.
5132         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5133         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5134         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5136 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
5138         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
5139         preprocessor indentation inside #if.
5141 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5143         * math/libm-test.inc (fmt_ftostr): New function.
5144         (print_float, check_float_internal): Replace some uses of
5145         FTOSTR with uses of fmt_ftostr.
5146         (print_max_error, print_complex_max_error, print_function_ulps)
5147         (print_complex_function_ulps): Remove uses of the macros
5148         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
5149         * math/test-double.h (FTOSTR): Define to strfromd.
5150         (PRINTF_EXPR): Delete.
5151         (PRINTF_XEXPR): Likewise.
5152         (PRINTF_NEXPR): Likewise.
5153         * math/test-float.h (FTOSTR): Define to strfromf.
5154         (PRINTF_EXPR): Delete.
5155         (PRINTF_XEXPR): Likewise.
5156         (PRINTF_NEXPR): Likewise.
5157         * math/test-ldouble.h (FTOSTR): Define to strfroml.
5158         (PRINTF_EXPR): Delete.
5159         (PRINTF_XEXPR): Likewise.
5160         (PRINTF_NEXPR): Likewise.
5162 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5164         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
5165         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
5166         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
5167         (__lll_lock_elision): Decrement adapt_count while unlocking
5168         instead of before locking.
5169         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
5170         (__lll_trylock_elision): Likewise.
5171         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
5172         (__lll_unlock_elision): Likewise.
5174 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5176         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
5177         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
5178         Use __libc_tbegin_retry macro.
5180 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5182         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
5183         Add -msoft-float.
5184         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
5185         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
5186         Use __libc_t* transaction macros instead of __builtin_t*.
5187         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5188         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5190 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5192         * sysdeps/unix/sysv/linux/s390/elision-lock.c
5193         (__lll_lock_elision): Use atomics to load / store adapt_count.
5194         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
5195         (__lll_trylock_elision): Likewise.
5197 2016-12-20  Florian Weimer  <fweimer@redhat.com>
5199         Do not require memset elimination in explicit_bzero test.
5200         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
5201         (enum test_expectation): Add NO_EXPECTATIONS.
5202         (subtests): NO_EXPECTATIONS for ordinary clear.
5203         (check_test_buffer): Handle NO_EXPECTATIONS.
5204         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
5206 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
5208         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5209         (fmaxmag): New declaration.
5210         (fminmag): Likewise.
5211         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
5212         macro.
5213         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
5214         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
5215         (fmaxmagf): Likewise.
5216         (fmaxmagl): Likewise.
5217         (fminmag): Likewise.
5218         (fminmagf): Likewise.
5219         (fminmagl): Likewise.
5220         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
5221         * math/s_fmaxmag_template.c: New file.
5222         * math/s_fminmag_template.c: Likewise.
5223         * math/libm-test.inc (fmaxmag_test_data): New array.
5224         (fmaxmag_test): New function.
5225         (fminmag_test_data): New array.
5226         (fminmag_test): New function.
5227         (main): Call fmaxmag_test and fminmag_test.
5228         * math/test-tgmath.c (NCALLS): Increase to 132.
5229         (F(compile_test)): Call fmaxmag and fminmag.
5230         (F(fminmag)): New function.
5231         (F(fmaxmag)): Likewise.
5232         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
5233         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
5234         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
5235         fminmag.
5236         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
5237         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
5238         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
5239         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
5240         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
5241         and fminmag.
5242         (CFLAGS-nldbl-fmaxmag.c): New variable.
5243         (CFLAGS-nldbl-fminmag.c): Likewise.
5244         * sysdeps/nacl/libm.abilist: Update.
5245         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5246         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5247         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5248         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5249         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5250         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5251         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5252         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5253         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5254         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5255         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5256         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5258         Likewise.
5259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5260         Likewise.
5261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5262         Likewise.
5263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5264         Likewise.
5265         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5266         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5267         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5268         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5269         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5270         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5271         Likewise.
5272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5273         Likewise.
5274         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5275         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5276         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5278 2016-12-19  Torvald Riegel  <triegel@redhat.com>
5280         [BZ #20973]
5281         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
5282         wake-up in robust mutexes.
5283         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5285 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5287         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
5288         (CFLAGS-bench-fmaxf.c): New rule.
5289         (CFLAGS-bench-fminf.c): Likewise.
5290         * benchtests/fmaxf-inputs: New file.
5291         * benchtests/fminf-inputs: Likewise.
5293         * benchtests/Makefile (bench-math): Add fmin and fmax.
5294         (CFLAGS-bench-fmax.c): New rule.
5295         (CFLAGS-bench-fmin.c): Likewise.
5296         * benchtests/fmax-inputs: New file.
5297         * benchtests/fmin-inputs: Likewise.
5299         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
5300         parenthesis.
5301         (CMDLINE_PROCESS): Define using function instead of macro.
5302         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
5303         of test-skeleton.
5304         * benchtests/bench-memchr.c: Likewise.
5305         * benchtests/bench-memcmp.c: Likewise.
5306         * benchtests/bench-memcpy-large.c: Likewise.
5307         * benchtests/bench-memcpy.c: Likewise.
5308         * benchtests/bench-memmem.c: Likewise.
5309         * benchtests/bench-memmove-large.c: Likewise.
5310         * benchtests/bench-memmove.c: Likewise.
5311         * benchtests/bench-memset-large.c: Likewise.
5312         * benchtests/bench-memset.c: Likewise.
5313         * benchtests/bench-rawmemchr.c: Likewise.
5314         * benchtests/bench-strcasecmp.c: Likewise.
5315         * benchtests/bench-strcasestr.c: Likewise.
5316         * benchtests/bench-strcat.c: Likewise.
5317         * benchtests/bench-strchr.c: Likewise.
5318         * benchtests/bench-strcmp.c: Likewise.
5319         * benchtests/bench-strcpy.c: Likewise.
5320         * benchtests/bench-strcpy_chk.c: Likewise.
5321         * benchtests/bench-strlen.c: Likewise.
5322         * benchtests/bench-strncasecmp.c: Likewise.
5323         * benchtests/bench-strncmp.c: Likewise.
5324         * benchtests/bench-strncpy.c: Likewise.
5325         * benchtests/bench-strnlen.c: Likewise.
5326         * benchtests/bench-strpbrk.c: Likewise.
5327         * benchtests/bench-strrchr.c: Likewise.
5328         * benchtests/bench-strsep.c: Likewise.
5329         * benchtests/bench-strspn.c: Likewise.
5330         * benchtests/bench-strstr.c: Likewise.
5331         * benchtests/bench-strtok.c: Likewise.
5333 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5335         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
5336         stepping identification.
5337         (init_cpu_features): Add handle of Haswell.
5339 2016-11-25  Jim Meyering  <meyering@fb.com>
5341         [BZ #20386]
5342         Let gcc detect assert(a = 1) errors.
5343         * assert/assert.h (assert): Rewrite, retaining the old definintion
5344         when required, but otherwise putting the expression as-is in an "if"
5345         expression (hence, with no added parentheses) within a statement
5346         expression.
5348 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5350         * benchtests/Makefile (binaries-benchset): Depend on libsupport
5351         DSO.
5353 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
5355         * Rules (python-flags, python-invoke): New.
5356         ($(test-printers-out)): Use $(python-flags).
5358 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
5360         * manual/arith.texi (Math Error Reporting): Document that sNaN
5361         arguments are not considered domain errors.
5363 2016-12-16  Zack Weinberg <zackw@panix.com>
5364             Florian Weimer <fweimer@redhat.com>
5365             Nick Mathewson <nickm@torproject.org>
5367         * string/explicit_bzero.c: New routine.
5368         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
5369         * string/Makefile (routines, strop-tests, tests): Add them.
5370         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
5371         * string/string.h [__USE_MISC]: Declare explicit_bzero.
5373         * debug/explicit_bzero_chk.c: New routine.
5374         * debug/Makefile (routines): Add it.
5375         * debug/tst-chk1.c: Test fortification of explicit_bzero.
5376         * string/bits/string3.h: Fortify explicit_bzero.
5378         * manual/string.texi: Document explicit_bzero.
5379         * NEWS: Mention addition of explicit_bzero.
5381         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
5382         data before returning, using explicit_bzero.
5383         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
5384         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5385         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5387         * include/string.h: Redirect internal uses of explicit_bzero
5388         to __explicit_bzero_chk[_internal].
5389         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
5390         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
5391         * sysdeps/arm/nacl/libc.abilist
5392         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
5393         * sysdeps/unix/sysv/linux/alpha/libc.abilist
5394         * sysdeps/unix/sysv/linux/arm/libc.abilist
5395         * sysdeps/unix/sysv/linux/hppa/libc.abilist
5396         * sysdeps/unix/sysv/linux/i386/libc.abilist
5397         * sysdeps/unix/sysv/linux/ia64/libc.abilist
5398         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
5399         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
5400         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
5401         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5402         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5403         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5404         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5405         * sysdeps/unix/sysv/linux/nios2/libc.abilist
5406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5410         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
5411         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
5412         * sysdeps/unix/sysv/linux/sh/libc.abilist
5413         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
5414         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
5415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
5416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
5417         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
5418         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
5419         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
5420         Add entries for explicit_bzero and __explicit_bzero_chk.
5422 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
5424         * math/fenv.h
5425         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
5426         (FE_SNANS_ALWAYS_SIGNAL): New macro.
5427         * math/test-fe-snans-always-signal.c: New file.
5428         * math/Makefile (tests): Add test-fe-snans-always-signal.
5429         (CFLAGS-test-fe-snans-always-signal.c): New variable.
5430         * manual/arith.texi (Infinity and NaN): Document
5431         FE_SNANS_ALWAYS_SIGNAL.
5433 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5435         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
5436         bracket.
5438 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
5440         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
5441         before calling execv.
5443 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5445         [BZ# 20971]
5446         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
5447         overflow in pointer addition.
5448         * string/test-memchr.c (do_test): Add an argument to pass as
5449         the size on memchr.
5450         (test_main): Add check for SIZE_MAX.
5452 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5454         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
5455         (libm-calls): Add w_scalblnF.
5456         * math/w_scalbln.c: Remove.
5457         * math/w_scalblnf.c: Likewise.
5458         * math/w_scalblnl.c: Likewise.
5459         * math/w_scalbln_template.c: New file with type-generic
5460         implementation based on math/w_scalbln.c.
5461         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
5462         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
5464 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
5466         [BZ #20947]
5467         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
5468         either is a signaling NaN.
5469         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
5470         follow fmaxl more closely.
5471         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
5472         when either is a signaling NaN.
5473         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
5474         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
5475         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
5476         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
5477         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
5478         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
5479         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
5480         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
5481         (fmin_test_data): Likewise.
5483 2016-12-15  Andreas Schwab  <schwab@suse.de>
5485         * support/support_test_main.c (support_test_main): Don't shadow
5486         file-local variable test_pid.
5488 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
5490         [BZ #20947]
5491         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
5492         either is a signaling NaN.
5493         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
5495 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
5497         [BZ #20947]
5498         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
5499         when either is a signaling NaN.
5500         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
5502         * bits/long-double.h: New file.
5503         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
5504         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
5505         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
5506         * sysdeps/mips/bits/long-double.h: Likewise.
5507         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
5508         * math/Makefile (headers): Add bits/long-double.h.
5509         * misc/sys/cdefs.h: Include <bits/long-double.h>.
5510         * stdlib/strtold.c: Include <bits/long-double.h> instead of
5511         <bits/wordsize.h>.
5512         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
5513         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
5514         * math/math.h: Do not include <bits/mathdef.h>.
5515         * sysdeps/aarch64/bits/mathdef.h: Remove file.
5516         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
5517         inclusion.
5518         * sysdeps/ia64/bits/mathdef.h: Remove file.
5519         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
5520         * sysdeps/mips/bits/mathdef.h: Likewise.
5521         * sysdeps/powerpc/bits/mathdef.h: Likewise.
5522         * sysdeps/s390/bits/mathdef.h: Likewise.
5523         * sysdeps/sparc/bits/mathdef.h: Likewise.
5524         * sysdeps/x86/bits/mathdef.h: Likewise.
5525         * sysdeps/s390/s390-32/bits/wordsize.h
5526         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
5527         conditional code.
5528         * sysdeps/s390/s390-64/bits/wordsize.h
5529         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5530         Likewise.
5531         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
5532         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5533         Likewise.
5534         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
5535         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5536         Likewise.
5537         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
5538         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5539         Likewise.
5541         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
5542         <linux/falloc.h>.
5543         (FALLOC_FL_KEEP_SIZE): Remove.
5544         (FALLOC_FL_PUNCH_HOLE): Likewise.
5545         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
5546         (FALLOC_FL_ZERO_RANGE): Likewise.
5548 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5550         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
5552 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5554         * sysdeps/unix/sysv/linux/renameat.c: New file.
5555         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
5557         * sysdeps/unix/sysv/linux/rename.c: New file.
5558         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
5560 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
5562         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
5563         * string/strtok.c (strtok): Change to tailcall __strtok_r.
5564         * string/strtok_r.c (__strtok_r): Optimize for performance.
5565         * string/string-inlines.c (__old_strtok_r_1c): New function.
5566         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
5568 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5570         * math/Makefile (gen-libm-calls): Add w_log1pF.
5571         (libm-calls): Remove w_log1pF.
5572         * math/w_log1p.c: Remove.
5573         * math/w_log1pf.c: Likewise.
5574         * math/w_log1pl.c: Likewise.
5575         * math/w_log1p_template.c: New file with type-generic
5576         implementation based on math/w_log1p.c.
5577         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
5578         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
5580 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
5582         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
5584 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
5586         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5587         kernel version to 4.9.
5589 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
5591         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
5592         ($(inst_libdir)/libm.a): Fix rule to create the target only.
5594 2016-12-13  Andreas Schwab  <schwab@suse.de>
5596         * sysdeps/powerpc/dl-procinfo.c: Don't define
5597         _dl_powerpc_platforms.
5598         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
5599         constants instead of referencing _dl_powerpc_platforms.
5600         (_dl_platform_string): Remove.
5602 2016-12-13  Florian Weimer  <fweimer@redhat.com>
5604         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
5606 2016-12-13  Florian Weimer  <fweimer@redhat.com>
5608         * Rules (binaries-shared-tests, binaries-pie-tests)
5609         (binaries-static-tests): Link with $(link-extra-libs-tests).
5610         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
5611         Remove $(link-extra-libs-tests).
5613 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5615         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5616         (sysdep_routines): Add strncmp_power9.
5617         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5618         (strncmp): Add __strncmp_power9 to list of strncmp functions.
5619         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
5620         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
5621         (strncmp): Add __strncmp_power9 to ifunc list.
5622         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
5624 2016-12-12  Florian Weimer  <fweimer@redhat.com>
5626         [BZ #17252]
5627         Add getentropy, getrandom.
5628         * stdlib/sys/random.h: New file.
5629         (headers): Add it.
5630         * stdlib/Makefile (routines): Add getentropy, getrandom.
5631         (tests): Add tst-getrandom.
5632         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
5633         * stdlib/getentropy.c: New file.
5634         * stdlib/getrandom.c: Likewise.
5635         * stdlib/tst-getrandom.c: Likewise.
5636         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
5637         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
5638         * manual/crypt.texi (Unpredictable Bytes): New section.
5639         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
5640         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
5641         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
5642         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5643         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5644         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5645         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5646         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5647         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5648         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5649         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5650         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5651         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5652         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5653         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5654         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5656         Likewise.
5657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5658         Likewise.
5659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5661         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5662         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5663         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5664         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5665         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5668         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5669         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5670         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5672 2016-12-10  Florian Weimer  <fweimer@redhat.com>
5674         [BZ #20956]
5675         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
5676         as additional compiler barriers.
5677         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
5678         (fn2, do_test): Declare with external linkage.
5679         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
5680         (do_test): Declare with external linkage.
5681         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
5682         (do_test): Declare with external linkage.
5683         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
5684         (do_test): Declare with external linkage.
5686 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
5688         * support/support_test_main.c (support_test_main): Use correct
5689         timeout.
5691 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
5692             Florian Weimer  <fweimer@redhat.com>
5694         [BZ #16421]
5695         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
5696         and __u6_addr32 members.
5697         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
5698         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
5699         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
5700         Use __u6_addr32.
5701         * inet/tst-checks.c: Use <support/test-driver.c>
5702         * inet/tst-checks-posix.c: New file.
5703         * inet/Makefile (tests): Add it.
5704         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
5706 2016-12-09  Florian Weimer  <fweimer@redhat.com>
5708         New subdirectory support for build and test infrastructure.
5709         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
5710         setting install-lib.
5711         * Makeconfig (link-extra-libs-tests): Define.
5712         (+link-pie-tests, +link-static-tests, +link-tests): Use
5713         link-extra-libs-tests.
5714         (rpath-dirs, all-subdirs): Add support.
5715         (built-modules): Add libsupport.
5716         (libsupport): Define.
5717         * support: New directory.
5718         * support/Makefile: New file.
5719         * support/check.c: Likewise.
5720         * support/check.h: Likewise.
5721         * support/delayed_exit.c: Likewise.
5722         * support/ignore_stderr.c: Likewise.
5723         * support/oom_error.c: Likewise.
5724         * support/set_fortify_handler.c: Likewise.
5725         * support/support.h: Likewise.
5726         * support/temp_file-internal.h: Likewise.
5727         * support/temp_file.c: Likewise.
5728         * support/test-driver.c: Likewise.
5729         * support/test-driver.h: Likewise.
5730         * support/test_main.c: Likewise.
5731         * support/write_message.c: Likewise.
5732         * support/xasprintf.c: Likewise.
5733         * support/xcalloc.c: Likewise.
5734         * support/xmalloc.c: Likewise.
5735         * support/xpthread_barrier_destroy.c: Likewise.
5736         * support/xpthread_barrier_init.c: Likewise.
5737         * support/xpthread_barrier_wait.c: Likewise.
5738         * support/xpthread_cancel.c: Likewise.
5739         * support/xpthread_check_return.c: Likewise.
5740         * support/xpthread_cond_wait.c: Likewise.
5741         * support/xpthread_create.c: Likewise.
5742         * support/xpthread_detach.c: Likewise.
5743         * support/xpthread_join.c: Likewise.
5744         * support/xpthread_mutex_lock.c: Likewise.
5745         * support/xpthread_mutex_unlock.c: Likewise.
5746         * support/xpthread_sigmask.c: Likewise.
5747         * support/xpthread_spin_lock.c: Likewise.
5748         * support/xpthread_spin_unlock.c: Likewise.
5749         * support/xrealloc.c: Likewise.
5750         * support/xsignal.h: Likewise.
5751         * support/xthread.h: Likewise.
5752         * support_tempfile.h: Likewise.
5753         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
5754         (TEST_DATA_LIMIT): Remove unused macro.
5755         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
5756         <support/check.h>.
5757         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
5758         (ignore_stderr, set_fortify_handler): Remove.  Now in
5759         <support/support.h>.
5760         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
5761         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
5762         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
5763         (xpthread_join): Remove.  Now in <support/xthread.h>.
5764         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
5765         Introduce legacy wrappers.
5766         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
5767         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
5768         (write_message): Remove.
5769         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
5770         test-skeleton.c.
5771         * io/test-open-tmpfile: Likewise.
5772         * io/tst-posix_fallocate-common.c: Likewise.
5773         * libio/tst-fseek.c: Likewise.
5774         * malloc/tst-malloc-backtrace.c: Likewise.
5775         * malloc/tst-malloc-fork-deadlock.c: Likewise.
5776         * malloc/tst-malloc-thread-exit.c: Likewise.
5777         * nptl/tst-cancel7.c: Likewise.
5778         * nptl/tst-cleanup0.c: Likewise.
5779         * posix/tst-posix_fadvise-common.c: Likewise.
5780         * rt/tst-shm.c: Likewise.
5781         * time/bug-getdate1.c: Likewise.
5782         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5783         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
5784         * elf/Makefile (tst-piemod1.so): Link against libsupport.
5786 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
5788         * Rules [$(run-built-tests) != no] (tests-expected): Add
5789         $(tests-printers).
5790         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
5792 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
5794         [BZ #20539]
5795         * math/Makefile (install-lib-ldscripts): Add libm.a.
5796         (install_subdir): Remove.
5797         (install-others): Add.
5798         ($(inst_libdir)/libm.a): Add rule for installation as
5799         linker script.
5800         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
5802 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
5804         * INSTALL: Regenerated.
5805         * Makeconfig: Add comments and whitespace to make the control flow
5806         clearer.
5807         (+link-printers-tests, +link-pie-printers-tests,
5808         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
5809         built-rtld-LDFLAGS, link-libc-rpath,
5810         link-libc-tests-after-rpath-link,
5811         link-libc-printers-tests): New.
5812         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
5813         link-libc-tests): Use the new variables as required.
5814         * Makerules ($(py-const)): New rule.
5815         generated: Add $(py-const).
5816         * README.pretty-printers: New file.
5817         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
5818         (others): Depend on $(py-const).
5819         (tests): Depend on $(tests-printers-programs) or
5820         $(tests-printers-out),
5821         as required.  Pass $(tests-printers) to merge-test-results.sh.
5822         * manual/install.texi: Add requirements for testing the pretty
5823         printers.
5824         * nptl/Makefile (gen-py-const-headers, pretty-printers,
5825         tests-printers, CFLAGS-test-mutexattr-printers.c
5826         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
5827         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
5828         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
5829         * nptl/nptl-printers.py: New file.
5830         * nptl/nptl_lock_constants.pysym: Likewise.
5831         * nptl/test-cond-printers.c: Likewise.
5832         * nptl/test-cond-printers.py: Likewise.
5833         * nptl/test-condattr-printers.c: Likewise.
5834         * nptl/test-condattr-printers.py: Likewise.
5835         * nptl/test-mutex-printers.c: Likewise.
5836         * nptl/test-mutex-printers.py: Likewise.
5837         * nptl/test-mutexattr-printers.c: Likewise.
5838         * nptl/test-mutexattr-printers.py: Likewise.
5839         * nptl/test-rwlock-printers.c: Likewise.
5840         * nptl/test-rwlock-printers.py: Likewise.
5841         * nptl/test-rwlockattr-printers.c: Likewise.
5842         * nptl/test-rwlockattr-printers.py: Likewise.
5843         * scripts/gen-py-const.awk: Likewise.
5844         * scripts/test_printers_common.py: Likewise.
5845         * scripts/test_printers_exceptions.py: Likewise.
5847 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
5849         * scripts/build-many-glibcs.py (Context.__init__): Take strip
5850         argument.
5851         (Glibc.build_glibc): Strip installed shared libraries if
5852         requested.
5853         (get_parser): Add --strip option.
5854         (main): Update Context call.
5856 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5857             Dominik Vogt  <vogt@linux.vnet.ibm.com>
5859         [BZ #20847]
5860         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
5861         array bounds for else branch.
5862         (__execvpe): Style fixes.
5863         * posix/tst-vfork3.c (run_script): New function.
5864         (create_script): Likewise.
5865         (do_test): Use run_script internal function.
5866         (do_prepare): Use create_script internal function.
5868 2016-12-07  Andreas Schwab  <schwab@suse.de>
5870         * sysdeps/unix/sysv/linux/x86/elision-conf.h
5871         (__elision_available): Don't declare.
5872         * sysdeps/unix/sysv/linux/x86/elision-conf.c
5873         (__elision_available): Don't define.
5874         (elision_init): Don't set __elision_available.
5876 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
5878         [BZ #20940]
5879         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
5880         return Inf for arguments Inf and sNaN.
5881         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
5882         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5883         Likewise.
5884         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5885         Likewise.
5886         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
5887         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
5888         for arguments Inf and sNaN.  When returning a NaN, compute it by
5889         arithmetic on the arguments.
5890         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
5891         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
5892         arguments.
5894 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
5896         [BZ #20916]
5897         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
5898         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
5899         to compute result.
5900         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5901         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
5903 2016-12-05  Torvald Riegel  <triegel@redhat.com>
5905         * include/atomic.h (__atomic_check_size_ls): New.
5906         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
5907         atomic_store_release): Use it.
5908         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
5909         (elision_adapt, ELIDE_LOCK): Use atomics.
5910         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
5911         atomics and improve code comments.
5912         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
5913         (__lll_trylock_elision): Likewise.
5915 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5917         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
5918         programs.
5920 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
5922         [BZ #20916]
5923         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
5924         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
5925         arguments to compute result.
5926         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
5927         1 for arguments (sNaN, 0) or (1, sNaN).
5928         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5929         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5931         [BZ #20919]
5932         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
5933         NaN first argument when raised to power 0.
5934         * math/w_pow.c (__pow): Do not check for NaN or zero results from
5935         raising to power zero.
5936         * math/w_powf.c (__powf): Likewise.
5937         * math/w_powl.c (__powl): Likewise.
5938         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
5939         pow (0, 0) or pow (NaN, 0).
5941 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
5943         [BZ #20918]
5944         * configure.ac: Test for static NSS cryptographic libraries and set
5945         libc_cv_static_nss_crypt.
5946         * configure: Regenerate.
5947         * config.make.in (static-nss-crypt): Define.
5948         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
5949         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
5950         (CFLAGS-tst-linkall-static.c): Define.
5951         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
5952         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
5953         ($(objpfx)tst-linkall-static): Define.
5954         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
5955         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
5957 2016-12-02  Florian Weimer  <fweimer@redhat.com>
5959         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
5960         (one-hundred, tst-tls-many-dynamic-modules): Define.
5961         (modules-names): Add $(tst-tls-many-dynamic-modules).
5962         (tst-tls-manydynamic%mod.os): Build with special preprocessor
5963         macros.
5964         (tst-tls-manydynamic): Link against libdl, libpthread.
5965         (tst-tls-manydynamic.out): The test needs the test modules at run
5966         time.
5967         * elf/tst-tls-manydynamic.c: New file.
5968         * elf/tst-tls-manydynamic.h: Likewise.
5969         * elf/tst-tls-manydynamicmod.c: Likewise.
5971 2016-12-02  Florian Weimer  <fweimer@redhat.com>
5973         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
5974         (TLS_DTV_UNALLOCATED): Add.
5975         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
5976         offsets.
5978 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
5980         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5982 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
5984         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
5985         Add -fno-optimize-sibling-calls.
5987 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
5989         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
5990         New declaration.
5991         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
5992         macro.
5993         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
5994         New macro.
5995         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
5996         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
5997         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
5998         (llogbf): Likewise.
5999         (llogbl): Likewise.
6000         * math/Makefile (gen-libm-calls): Add w_llogbF.
6001         (tests): Add test-fp-llogb-constants.
6002         * math/w_llogb_template.c: New file.  Based on
6003         math/w_ilogb_template.c.
6004         * math/libm-test.inc (llogb_test_data): New array.
6005         (llogb_test): New function.
6006         (main): Call llogb_test.
6007         * math/test-fp-llogb-constants.c: New file.  Based on
6008         math/test-fp-ilogb-constants.c.
6009         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
6010         (do_test): Call check_return_llogb.
6011         * math/test-tgmath.c (NCALLS): Increase to 126.
6012         (F(compile_test)): Call llogb.
6013         (F(llogb)): New function.
6014         * manual/math.texi (Exponents and Logarithms): Document llogb,
6015         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
6016         * manual/libm-err-tab.pl (@all_functions): Add llogb.
6017         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
6018         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
6019         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
6020         (CFLAGS-nldbl-llogb.c): New variable.
6021         * sysdeps/nacl/libm.abilist: Update.
6022         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6023         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6024         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6025         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6026         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6027         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6028         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6029         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6030         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6031         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6032         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6033         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6035         Likewise.
6036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6037         Likewise.
6038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6039         Likewise.
6040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6041         Likewise.
6042         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6043         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6044         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6045         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6046         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6048         Likewise.
6049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6050         Likewise.
6051         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6052         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6053         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6055 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
6057         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
6058         _Float128 instead of long double.
6059         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
6061         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
6062         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
6063         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
6064         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
6065         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
6066         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
6067         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
6068         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
6069         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
6070         Likewise.
6072 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6074         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
6075         Remove redirection to __strrchr_ppc.
6077 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6079         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6080         (sysdep_routines): Add strcmp_power9.
6081         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6082         (strcmp): Add __strcmp_power9 to list of strcmp functions.
6083         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
6084         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
6085         (strcmp): Add __strcmp_power9 to ifunc list.
6086         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
6088 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
6090         * bits/fp-logb.h: New file.
6091         * sysdeps/ia64/bits/fp-logb.h: Likewise.
6092         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
6093         * sysdeps/x86/bits/fp-logb.h: Likewise.
6094         * math/Makefile (headers): Add bits/fp-logb.h.
6095         * math/math.h: Include <bits/fp-logb.h>.
6096         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
6097         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
6098         * bits/mathdef.h (FP_ILOGB0): Remove.
6099         (FP_ILOGBNAN): Likewise.
6100         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
6101         (FP_ILOGBNAN): Likewise.
6102         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
6103         (FP_ILOGBNAN): Likewise.
6104         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
6105         (FP_ILOGBNAN): Likewise.
6106         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
6107         (FP_ILOGBNAN): Likewise.
6108         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
6109         (FP_ILOGBNAN): Likewise.
6110         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
6111         (FP_ILOGBNAN): Likewise.
6112         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
6113         (FP_ILOGBNAN): Likewise.
6114         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
6115         (FP_ILOGBNAN): Likewise.
6116         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
6117         (FP_ILOGBNAN): Likewise.
6119         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
6120         time module.
6121         (Context.__init__): Initialize self.logsdir_old.
6122         (Context.run_builds): Handle bot action.
6123         (Context.bot_cycle): Copy logs directory before running builds.
6124         (Context.bot_run_self): Take argument for whether to check
6125         subprocess result.  Flush stdout before running subprocess.
6126         (Context.bot): New function.
6127         (get_parser): Allow bot action.
6129 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
6131         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
6132         Import email.mime.text, email.utils and smtplib modules.
6133         (Context.__init__): Initialize self.bot_config_json.
6134         (Context.run_builds): Handle bot-cycle action.
6135         (Context.load_bot_config_json): New function.
6136         (Context.part_build_old): Likewise.
6137         (Context.bot_cycle): Likewise.
6138         (Context.bot_build_mail): Likewise.
6139         (Context.bot_run_self): Likewise.
6140         (get_parser): Allow bot-cycle action.
6142 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6144         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
6145         Remove redirection to __stpcpy_ppc.
6147 2016-11-30  Florian Weimer  <fweimer@redhat.com>
6149         Remove __libc_memalign from ld.so because it is unused.
6150         * elf/dl-minimal.c: Update comment on the malloc implementation.
6151         (malloc): Renamed from __libc_memalign, replacing the original
6152         malloc implementation.  Replace the align parameter with
6153         MALLOC_ALIGNMENT.
6154         * elf/Versions (ld): Update comment and remove __libc_memalign.
6155         * sysdeps/nacl/ld.abilist: Likewise.
6156         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
6157         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
6158         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
6159         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
6160         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
6161         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
6162         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
6163         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
6164         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
6165         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
6166         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
6167         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
6168         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
6169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
6170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
6171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
6172         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
6173         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
6174         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
6175         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
6176         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
6177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
6178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
6179         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
6180         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
6181         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
6182         * sysdeps/generic/localplt.data (ld.so): Likewise.
6183         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
6184         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
6185         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
6186         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
6187         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
6188         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
6189         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
6190         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
6191         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
6192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
6193         (ld.so): Likewise.
6194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6195         (ld.so): Likewise.
6196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
6197         Likewise.
6198         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
6199         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
6200         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
6201         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
6202         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
6204 2016-11-30  Florian Weimer  <fweimer@redhat.com>
6206         [BZ #16628]
6207         Implement _dl_catch_error, _dl_signal_error in libc.so.
6208         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
6209         (catch_hook): Define as thread-local or regular variable,
6210         depending on DL_ERROR_BOOTSTRAP.
6211         (CATCH_HOOK): Remove.
6212         (dl_signal_error, _dl_catch_error): Use
6213         catch_hook.  Add hidden definition for libc.
6214         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
6215         for DL_ERROR_BOOTSTRAP only.
6216         * elf/dl-error.c: New file.
6217         * elf/dl-error-minimal.c: Likewise.
6218         * elf/tst-latepthread.c: Likewise.
6219         * elf/tst-latepthreadmod.c: Likewise.
6220         * elf/Makefile (routines): Add dl-error.
6221         (dl-routines): Remove dl-error.
6222         (rtld-routines): Add dl-error-minimal.
6223         [build-shared] (tests): Add tst-latepthread.
6224         (module-names): Add tst-latepthreadmod.
6225         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
6226         symbol.
6227         (tst-latepthreadmod.so): Link against libpthread.
6228         (tst-latepthread): Link against libdbl.
6229         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
6230         _dl_catch_error.
6231         [ld] (GLIBC_PRIVATE): Likewise.
6232         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
6233         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
6234         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
6235         directly.
6236         * elf/dl-tsd.c: Remove file.
6237         * elf/rtld.c (_rtld_global_ro): Remove initializers for
6238         _dl_catch_error, _dl_signal_error.
6239         (_dl_initial_error_catch_tsd): Remove definition.
6240         (do_preload): Remove initialization of dl_error_catch_tsd.
6241         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
6242         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
6243         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6244         * dlfcn/dlopen.c (dlopen_doit): Likewise.
6245         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
6246         set dl_error_catch_tsd.
6247         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
6248         _dl_error_catch_tsd member.
6249         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
6250         members.
6251         (_dl_initial_error_catch_tsd): Remove declaration.
6252         (_dl_dprintf): Provide definition for use outside of ld.so.
6253         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
6254         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
6255         prototype for libc.
6256         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
6257         _dl_catch_error.
6258         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
6259         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
6260         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
6261         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
6262         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
6263         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
6264         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
6265         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
6266         Likewise.
6267         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
6268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
6269         (ld.so): Likewise.
6270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6271         (ld.so): Likewise.
6272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
6273         Likewise.
6274         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
6275         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
6276         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
6277         Likewise.
6278         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
6279         Likewise.
6280         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
6282 2016-11-30  Florian Weimer  <fweimer@redhat.com>
6284         [BZ #4099]
6285         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
6286         _IO_BUFSIZ (8192).
6288 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
6290         * PROJECTS: Remove file.
6292 2016-11-29  Florian Weimer  <fweimer@redhat.com>
6294         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
6296 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
6297             Steve Ellcey  <sellcey@caviumnetworks.com>
6299         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
6300         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
6301         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
6302         fxstatat.
6303         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
6304         lxstat.
6305         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
6306         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
6307         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
6308         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
6309         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
6310         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
6311         __xstat.
6313 2016-11-29  Florian Weimer  <fweimer@redhat.com>
6315         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
6316         Define.
6317         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
6318         definition.
6320 2016-11-29  Florian Weimer  <fweimer@redhat.com>
6322         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
6323         version and turn into strong alias.  Remove compat symbol.
6325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6326         (__longjmp): Remove.
6328 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
6330         * bits/fp-fast.h: New file.
6331         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
6332         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
6333         * math/Makefile (headers): Add bits/fp-fast.h.
6334         * math/math.h: Include <bits/fp-fast.h>.
6335         * bits/mathdef.h (FP_FAST_FMA): Remove.
6336         (FP_FAST_FMAF): Likewise.
6337         (FP_FAST_FMAL): Likewise.
6338         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
6339         (FP_FAST_FMAF): Likewise.
6340         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
6341         (FP_FAST_FMAF): Likewise.
6342         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
6343         (FP_FAST_FMAF): Likewise.
6344         (FP_FAST_FMAL): Likewise.
6345         * sysdeps/arm/bits/mathdef.h: Remove file.
6346         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
6347         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6348         * sysdeps/tile/bits/mathdef.h: Likewise.
6350 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
6352         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
6353         * math/w_ilogb.c: Remove.
6354         * math/w_ilogbf.c: Likewise.
6355         * math/w_ilogbl.c: Likewise.
6356         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
6357         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
6358         * math/Makefile (gen-libm-calls): Add w_ilogbF.
6359         (libm-calls): Remove w_ilogbF.
6360         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
6361         (LDOUBLE_ilogbl_libm_version): New macro.
6363         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
6365         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
6366         [!__STRICT_ANSI__ && !__cplusplus].
6368 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
6370         [BZ #20750]
6371         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
6372         of PIC.
6374 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
6375             Yury Norov  <ynorov@caviumnetworks.com>
6376             Steve Ellcey  <sellcey@caviumnetworks.com>
6378         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
6379         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
6380         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
6381         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
6382         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
6383         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
6384         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
6385         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
6386         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
6387         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
6388         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
6389         to get correct reg name for ILP32.
6390         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
6391         (RELA_SIZE): New Macro.
6392         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
6393         to support ILP32.
6394         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
6395         cast for ILP32 mode.
6396         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
6397         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
6398         * sysdeps/aarch64/memset.S (__memset): Ditto.
6399         * sysdeps/aarch64/strchr.S (strchr): Ditto.
6400         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
6401         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
6402         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
6403         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
6404         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
6405         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
6406         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
6407         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
6408         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
6409         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
6410         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
6411         change PTR_MANGLE call to use register numbers instead of names.
6412         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
6413         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
6414         ILP32 mode, change PTR_MANGLE calls to use register numbers.
6415         * sysdeps/aarch64/start.S (_start): Ditto.
6416         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
6417         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
6418         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
6419         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
6420         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
6421         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
6422         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
6423         Make defined values dependent on __ILP32__.
6424         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
6425         (sem_t): Change __align type.
6426         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
6427         PTR_SIZE): New Macros.
6428         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
6429         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
6430         Set when in ILP32 mode.
6431         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
6432         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
6433         Set elf flags for ILP32.
6434         (add_system_dir): Set ILP32 library directories.
6435         * sysdeps/unix/sysv/linux/aarch64/init-first.c
6436         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
6437         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
6438         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
6439         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
6440         New Macros.
6441         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
6443 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
6445         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
6446         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
6447         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
6449 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
6451         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
6452         <asm/cachectl.h>.
6454 2016-11-27  Zack Weinberg  <zackw@panix.com>
6456         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
6457         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
6459 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6461         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
6462         error_t to fix usage in C++ programs.
6464 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
6466         * scripts/build-many-glibcs.py: Import datetime module.
6467         (Context.__init__): Load JSON build state.  Initialize list of
6468         status logs.
6469         (Context.run_builds): Update saved build state.
6470         (Context.add_makefile_cmdlist): Update list of status logs.
6471         (Context.load_build_state_json): New function.
6472         (Context.store_build_state_json): Likewise.
6473         (Context.clear_last_build_state): Likewise.
6474         (Context.update_build_state): Likewise.
6475         (CommandList.status_logs): Likewise.
6477 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
6479         * scripts/build-many-glibcs.py (Context.__init__): Save text of
6480         script being executed.
6481         (Context.get_script_text): New function.
6482         (Context.exec_self): Likewise.
6483         (Context.checkout): Re-exec script if changed by checkout process.
6485 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
6487         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6488         (setpayloadsig): New declaration.
6489         * math/Versions (setpayloadsig): New libm symbol at version
6490         GLIBC_2.25.
6491         (setpayloadsigf): Likewise.
6492         (setpayloadsigl): Likewise.
6493         * math/Makefile (libm-calls): Add s_setpayloadsigF.
6494         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
6495         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
6496         (setpayloadsig_test_data): New array.
6497         (setpayloadsig_test): New function.
6498         (main): Call setpayloadsig_test.
6499         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
6500         setpayloadsigf and setpayloadsigl.
6501         * manual/libm-err-tab.pl: Update comment on interfaces without
6502         ulps tabulated.
6503         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
6504         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
6505         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
6506         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
6507         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
6508         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
6509         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6510         setpayloadsig.
6511         (CFLAGS-nldbl-setpayloadsig.c): New variable.
6512         * sysdeps/nacl/libm.abilist: Update.
6513         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6514         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6515         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6516         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6517         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6518         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6519         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6520         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6521         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6522         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6523         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6524         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6526         Likewise.
6527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6528         Likewise.
6529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6530         Likewise.
6531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6532         Likewise.
6533         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6534         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6535         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6536         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6537         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6539         Likewise.
6540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6541         Likewise.
6542         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6543         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6544         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6546         * scripts/build-many-glibcs.py: Import json module.
6547         (Context.__init__): Take replace_sources argument.  Load
6548         versions.json.
6549         (Context.load_versions_json): New function.
6550         (Context.store_json): Likewise.
6551         (Context.store_versions_json): Likewise.
6552         (Context.set_component_version): Likewise.
6553         (Context.checkout): Update versions.json.  Check for and handle
6554         changes of version.  Prefer previously explicitly specified
6555         version to default version.
6556         (Context.checkout_vcs): Return a revision identifier.
6557         (Context.git_checkout): Likewise.
6558         (Context.gcc_checkout): Likewise.
6559         (get_parser): Add --replace-sources option.
6560         (main): Pass replace_sources argument to Context call.
6562 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6564         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
6565         * nptl/allocatestack.c (allocate_stack): Likewise.
6566         (__reclaim_stacks): Likewise.
6567         (setxid_signal_thread): Obtain pid through syscall.
6568         * nptl/nptl-init.c (sigcancel_handler): Likewise.
6569         (sighandle_setxid): Likewise.
6570         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
6571         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6572         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
6573         Likewise.
6574         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
6575         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
6576         comment.
6577         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
6578         * nptl/descr.h (struct pthread): Change comment about pid value.
6579         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
6580         pid assert.
6581         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
6582         Do not set pid value.
6583         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
6584         pid cache check.
6585         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
6586         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
6587         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
6588         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
6589         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
6590         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6591         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
6592         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
6593         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
6594         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
6595         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
6596         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6597         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
6598         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6599         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
6600         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
6601         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6602         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
6603         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
6604         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
6605         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
6606         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6607         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
6608         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
6609         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
6610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6612         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6613         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6614         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6615         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
6616         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
6617         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
6618         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6619         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
6620         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
6621         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
6622         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6623         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
6624         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
6625         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6626         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
6627         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
6628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6630         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6631         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6632         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6633         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6634         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6635         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
6636         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6637         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
6638         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
6639         struct access.
6640         (clone_test): Remove function.
6641         (do_test): Rewrite to take in consideration pid is not cached anymore.
6643 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
6645         * bits/flt-eval-method.h: New file.
6646         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
6647         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
6648         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
6649         * math/Makefile (headers): Add bits/flt-eval-method.h.
6650         * math/math.h: Include <bits/flt-eval-method.h>.
6651         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
6652         [__USE_ISOC99] (double_t): Likewise.
6653         * bits/mathdef.h (float_t): Remove.
6654         (double_t): Likewise.
6655         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
6656         (double_t): Likewise.
6657         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
6658         (double_t): Likewise.
6659         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
6660         (double_t): Likewise.
6661         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
6662         (double_t): Likewise.
6663         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
6664         (double_t): Likewise.
6665         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
6666         (double_t): Likewise.
6667         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
6668         (double_t): Likewise.
6669         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
6670         (double_t): Likewise.
6671         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
6672         (double_t): Likewise.
6673         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
6674         (double_t): Likewise.
6675         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
6676         (double_t): Likewise.
6677         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
6678         (double_t): Likewise.
6679         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
6680         (double_t): Likewise.
6682 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
6684         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
6685         instead of PIC.
6687 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
6689         [BZ #20859]
6690         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
6691         (-0x7fffffff) instead of 0x80000001.
6692         * math/test-fp-ilogb-constants.c: New file.
6693         * math/Makefile (tests): Add test-fp-ilogb-constants.
6695 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
6697         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
6698         (_init): Use it in place of hardcoded R_MIPS_JALR.
6699         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
6700         (_init): Use it in place of hardcoded R_MIPS_JALR.
6701         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
6702         (_init): Use it in place of hardcoded R_MIPS_JALR.
6704 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
6706         [BZ #20787]
6707         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
6708         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
6709         (double_t): Do not define to double if [__x86_64__] when
6710         __FLT_EVAL_METHOD__ is nonzero.
6711         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
6712         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
6713         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6714         test-flt-eval-method-387 and test-flt-eval-method-sse.
6715         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
6716         variable.
6717         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
6719 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
6721         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
6722         use of -fno-isolate-erroneous-paths options for tilepro.
6724 2016-11-23  Florian Weimer  <fweimer@redhat.com>
6726         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
6727         structure initialization is no longer needed.
6729 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
6731         [BZ #20855]
6732         * bits/mathdef.h (float_t): Define to float.
6733         * math/test-flt-eval-method.c: New file.
6734         * math/Makefile (tests): Add test-flt-eval-method.
6735         (CFLAGS-test-flt-eval-method.c): New variable.
6737 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
6739         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
6740         and __fstatfs.  Make them aliases of __fstatfs64 if
6741         STATFS_IS_STATFS64 is set to non-zero.
6742         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
6743         and __statfs64.
6744         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
6745         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
6746         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
6747         for __statfs and statfs.
6748         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
6749         to 0.
6750         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
6751         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
6752         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
6753         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
6754         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
6755         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
6756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
6757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
6758         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
6759         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
6760         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
6761         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
6763 2016-11-22  Andreas Schwab  <schwab@suse.de>
6765         * misc/mkstemp.c: Include <fcntl.h>.
6766         * misc/mkstemps.c: Likewise.
6767         * misc/mkostemp.c: Likewise.
6768         * misc/mkostemps.c: Likewise.
6770 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
6772         [BZ #20847]
6773         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
6774         array bounds.
6775         (__execvpe): Likewise.
6777 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
6779         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
6780         -fno-isolate-erroneous-paths options for tilepro.
6782 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
6784         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
6785         to 0 when in 32 bit mode.
6786         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
6787         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
6788         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
6789         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
6790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
6791         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
6792         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
6793         XSTAT_IS_XSTAT64 test.
6794         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
6795         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
6796         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
6797         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
6798         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
6799         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
6800         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
6801         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
6802         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
6803         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
6804         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
6806 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
6808         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6809         (setpayload): New declaration.
6810         * math/Versions (setpayload): New libm symbol at version
6811         GLIBC_2.25.
6812         (setpayloadf): Likewise.
6813         (setpayloadl): Likewise.
6814         * math/Makefile (libm-calls): Add s_setpayloadF.
6815         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
6816         test_Ff_b1_data.
6817         (RUN_TEST_Ff_b1): New macro.
6818         (RUN_TEST_LOOP_Ff_b1): Likewise.
6819         (canonicalize_test_data): Update type.
6820         (setpayload_test_data): New array.
6821         (setpayload_test): New function.
6822         (main): Call setpayload_test.
6823         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
6824         setpayloadf and setpayloadl.
6825         * manual/libm-err-tab.pl: Update comment on interfaces without
6826         ulps tabulated.
6827         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
6828         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
6829         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
6830         Likewise.
6831         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
6832         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
6833         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
6834         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
6835         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
6836         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
6837         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
6838         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
6839         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
6840         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6841         setpayload.
6842         (CFLAGS-nldbl-setpayload.c): New variable.
6843         * sysdeps/nacl/libm.abilist: Update.
6844         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6845         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6846         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6847         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6848         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6849         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6850         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6851         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6852         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6853         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6854         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6855         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6857         Likewise.
6858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6859         Likewise.
6860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6861         Likewise.
6862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6863         Likewise.
6864         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6865         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6866         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6867         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6868         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6870         Likewise.
6871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6872         Likewise.
6873         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6874         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6875         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6877 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6879         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
6880         * include/unistd.h: Extend comment about __access_noerrno return
6881         semantics.
6882         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
6883         (access_common): Correct typo for EACCES.
6885 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
6887         * sysdeps/tile/math-tests.h: New file.
6889         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
6890         (__old_set_dataplane): Rename from set_dataplane and make a
6891         compatibility symbol.
6892         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
6893         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
6894         sys/dataplane.h.
6896 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
6898         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
6899         script quote words in command output to log suitably for input to
6900         the shell.
6902 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
6903             Maciej W. Rozycki  <macro@imgtec.com>
6905         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
6906         `.Lno_weak_fn' label.
6907         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
6908         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
6910 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6911             Yury Norov  <ynorov@caviumnetworks.com>
6913         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
6914         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
6915         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6916         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
6917         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6918         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
6919         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6920         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6921         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6922         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
6923         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6924         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
6925         (sysdep_routines): Remove oldgetrlimit64.
6926         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
6927         (sysdep_routines): Likewise.
6928         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
6929         (sysdep_routines): Likewise.
6930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6931         [$(subdir) = resource] (sysdep_routines): Likewise.
6932         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
6933         [$(subdir) = resource] (sysdep_routines): Likewise.
6934         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
6935         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
6936         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
6937         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
6938         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
6939         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
6940         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
6941         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
6942         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
6943         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
6944         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
6945         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
6946         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
6947         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
6948         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
6949         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
6950         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
6951         setrlimit and getrlimit.
6952         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6953         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
6954         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
6955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
6956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
6957         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
6958         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
6959         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6960         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6961         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
6962         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
6963         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
6964         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
6965         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
6966         (__old_getrlimit64): Add compatibility symbol.
6967         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
6969 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
6971         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
6972         newly built gmp, mpfr and mpc.
6974         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
6976 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
6978         * conform/Makefile (linknamespace-libs): Rename to
6979         linknamespace-libs-thr.
6980         (linknamespace-libs-posix): New variable.
6981         (linknamespace-libs-xsi): Likewise.
6982         (linknamespace-libs-XPG3): Include libcrypt.a.
6983         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
6984         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
6985         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
6986         (linknamespace-libs-XOPEN2K): Likewise.
6987         (linknamespace-libs-XOPEN2K8): Likewise.
6988         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
6990         [BZ #20829]
6991         * stdio-common/Versions (__snprintf): Add to version
6992         GLIBC_PRIVATE.
6993         * include/stdio.h (__snprintf): Use libc_hidden_proto.
6994         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
6995         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
6996         of snprintf.
6997         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6999 2016-11-16  Zack Weinberg  <zackw@panix.com>
7001         * string/string.h: Remove obsolete comment stating that
7002         strcoll_l and strxfrm_l have not yet been standardized.
7004 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7006         * hurd/hurd.h (__hurd_fail_noerrno): New function.
7007         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
7008         __access_noerrno.
7009         * io/access.c (__access_noerrno): New function.
7010         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
7011         (hurd_fail_seterrno): Likewise.
7012         (access_common): Likewise.
7013         (__access_noerrno): Likewise.
7014         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
7015         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
7016         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
7017         macro.
7019 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
7021         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
7022         Only declare fpregs if [__SH_FPU_ANY__].
7024 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
7026         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
7027         Make code unconditional.
7028         [!(__SH4__ || __SH4A__)]: Remove conditional code.
7030 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
7032         * manual/sysinfo.texi (S_APPEND): Delete.
7033         (S_IMMUTABLE): Likewise.
7035 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
7036             Magnus Granberg  <zorry@gentoo.org>
7037             Mike Frysinger  <vapier@gentoo.org>
7039         [BZ #20662]
7040         * configure.ac (libc_cv_predef_stack_protector): Also check for
7041         __stack_chk_fail_local symbols.
7042         * configure: Regenerated.
7044 2016-11-15  Florian Weimer  <fweimer@redhat.com>
7046         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
7047         (libc_hidden_def): Remove redefinition.
7048         (__sigsetjmp): Add hidden definition.
7049         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
7050         (libc_hidden_def): Remove redefinition.
7051         (__sigsetjmp): Add hidden definition.
7053 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
7055         * scripts/build-many-glibcs.py (os.path): Do not import.
7056         (Context): Inherit explicitly from object.  Remove blank line
7057         between class and docstring.
7058         (Config): Likewise.
7059         (Glibc): Likewise.
7060         (Command): Likewise.
7061         (CommandList): Likewise.
7062         (Context.write_files): Store chmod mode in a variable.
7064         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
7065         LIBC_SLIBDIR_RTLDDIR for tilegx32.
7066         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
7068 2016-11-14  Zack Weinberg  <zackw@panix.com>
7070         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
7071         creating or re-creating it.
7073         * string/bits/string2.h: Fix typo in comment.
7075 2016-11-14  Zack Weinberg  <zackw@panix.com>
7077         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
7078         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
7079         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
7080         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
7081         of redirected function names.
7083         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
7084         as well.  Document that MESSAGE must be a single string literal.
7086 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
7088         * scripts/build-many-glibcs.py: New file.
7090         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
7091         (do_test): Disable -Wmaybe-uninitialized around uses of
7092         except_mask.
7094         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
7096 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
7098         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
7099         (atomic_store_release): Provide tilepro-specific implementations.
7101 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
7103         * math/math.h (__MATH_TG): New macro.
7104         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
7105         [__USE_ISOC99] (signbit): Likewise.
7106         [__USE_ISOC99] (isfinite): Likewise.
7107         [__USE_ISOC99] (isnan): Likewise.
7108         [__USE_ISOC99] (isinf): Likewise.
7109         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
7110         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
7111         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
7112         __MATH_TG and __MATH_EVAL_FMT2.
7113         * sysdeps/generic/math_private.h (fabs_tg): Define using
7114         __MATH_TG.
7115         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
7116         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
7117         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
7118         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
7119         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
7120         macro.
7121         (__iscanonical): Likewise.
7122         (iscanonical): Define using __MATH_TG.
7124 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7126         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
7127         guards.
7129         * sysdeps/unix/sysv/linux/access.c: New file.
7130         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
7132 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
7134         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
7135         and __WORDSIZE32_PTRDIFF_LONG.
7137 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7139         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7141 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7143         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
7144         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
7145         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
7146         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
7147         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
7148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
7149         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
7150         * sysdeps/unix/sysv/linux/truncate.c: New file.
7151         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
7152         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
7153         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
7154         Remove.
7155         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
7156         Likewise.
7158         * posix/tst-truncate-common.c: New file.
7159         * posix/tst-truncate.c: Use tst-truncate-common.c.
7160         * posix/tst-truncate64.c: Likewise and add LFS tests.
7161         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
7162         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
7163         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
7164         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
7165         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
7166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
7167         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
7168         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
7169         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
7170         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
7171         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
7172         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
7173         Remove.
7174         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
7175         Likewise.
7177 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
7179         [BZ #20790]
7180         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
7181         to MAXLINESIZE.
7182         * sunrpc/bug20790.x: New file.
7183         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
7184         variable.
7185         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
7186         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
7188         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
7190         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
7192         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
7193         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
7194         calloc, realloc, free, memalign and __libc_memalign rather than
7195         making them optional.
7197         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
7198         for libc.so.
7200 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7202         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
7203         ptw-lseek64.
7204         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
7205         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
7206         Likewise.
7207         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
7208         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
7209         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
7210         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
7211         * sysdeps/unix/sysv/linux/lseek.c: New file.
7212         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
7213         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
7214         __libc_lseek64 from auto-generation.
7215         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7216         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
7218 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7220         * nptl/tst-basic1.c (tf, do_test): Use write_message.
7221         * nptl/tst-cleanup1.c (do_test): Likewise.
7222         * nptl/tst-cleanup3.c (do_test): Likewise.
7223         * nptl/tst-key1.c (do_test): Likewise.
7224         * nptl/tst-key2.c (tf, do_test): Likewise.
7225         * nptl/tst-key3.c (tf, do_test): Likewise.
7226         * nptl/tst-stdio1.c (do_test): Likewise.
7227         * nptl/tst-stdio2.c (do_test): Likewise.
7229         * nptl/tst-kill3.c (handler): Use write_message in place of write.
7230         * nptl/tst-kill6.c (handler): Likewise.
7231         * nptl/tst-tls2.c (CB): Likewise.
7232         * nptl/tst-tls3.c (CB): Likewise.
7234 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
7236         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
7238 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
7239             Steve Ellcey  <sellcey@caviumnetworks.com>
7241         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
7242           __ASSUME_ST_INO_64_BIT as 0
7243         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
7244         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
7245           over the code where __ASSUME_ST_INO_64_BIT is used.
7246         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
7247         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
7248         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7250 2016-11-07  Florian Weimer  <fweimer@redhat.com>
7252         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7253         Document ABI exposure of the __kind offset.
7254         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7255         Mention reason for the __kind offset exposure in the ABI.
7256         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7257         Likewise.
7258         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7259         Likewise.
7260         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7261         Likewise.
7262         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
7263         (struct __pthread_mutex_s): Likewise.
7264         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7265         Likewise.
7266         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7267         Likewise.
7268         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7269         Likewise.
7270         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7271         Likewise.
7272         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7273         Likewise.
7274         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7275         Likewise.
7276         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
7277         (struct __pthread_mutex_s): Likewise.
7278         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7279         (struct __pthread_mutex_s): Likewise.
7280         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
7281         Likewise.
7283 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
7285         * test-skeleton.c: Document do_test usage.
7287 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
7289         * iconv/gconv.h (__gconv_info): Define __data element using a
7290         zero-length array.
7292 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
7294         * math/test-tgmath2.c: Split up test function.
7296 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
7298         * Rules (tests-expected): New variable, depending on
7299         $(run-built-tests).
7300         (tests): Pass $(tests-expected) to merge-test-results.sh, not
7301         $(tests).
7303         * Rules [$(run-built-tests) = no] (tests): Do not depend on
7304         $(tests-unsupported).
7306 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7308         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
7309         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
7311 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
7313         [BZ #20768]
7314         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
7315         __fegetenv instead of fegetenv.
7317         [BZ #14139]
7318         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
7319         (find_files): Obtain platform name from libm-test-ulps-name and
7320         store in %pplatforms.
7321         (canonicalize_platform): Remove.
7322         (print_platforms): Use $pplatforms directly.
7323         (by_platforms): Do not allow for platforms missing from
7324         %pplatforms.
7325         * sysdeps/aarch64/libm-test-ulps-name: New file.
7326         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
7327         * sysdeps/arm/libm-test-ulps-name: Likewise.
7328         * sysdeps/generic/libm-test-ulps-name: Likewise.
7329         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
7330         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
7331         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
7332         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
7333         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
7334         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
7335         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
7336         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
7337         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
7338         * sysdeps/nios2/libm-test-ulps-name: Likewise.
7339         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
7340         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
7341         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
7342         * sysdeps/sh/libm-test-ulps-name: Likewise.
7343         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
7344         * sysdeps/tile/libm-test-ulps-name: Likewise.
7345         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
7347         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
7349         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
7350         (test-xfail-check-execstack): New variable.
7352         * sysdeps/mips/localplt.data: New file.
7354 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
7355             Steve Ellcey  <sellcey@caviumnetworks.com>
7357         * bits/wordsize.h: Add documentation.
7358         * sysdeps/aarch64/bits/wordsize.h : New file
7359         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
7360         definitions.
7361         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
7362         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
7363         with #if instead of #ifdef.
7364         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
7365         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
7366         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
7367         Add or change defines.
7368         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
7369         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7370         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
7371         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
7372         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7373         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7374         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
7375         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
7376         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
7377         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7378         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
7379         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
7380         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
7381         * sysdeps/x86/bits/wordsize.h: Likewise.
7383 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
7384             Kevin Petit  <kevin.petit@arm.com>
7386         * sysdeps/aarch64/memchr.S (__memchr): New file.
7388 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
7390         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
7392 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
7394         [BZ #19398]
7395         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
7396         $(linknamespace-symlists-tests).
7398 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
7400         * time/tst-strptime2.c: Ignore -Wformat-length warning.
7402 2016-11-02  Florian Weimer  <fweimer@redhat.com>
7403             Carlos O'Donell  <carlos@redhat.com>
7405         [Bug #20729]
7406         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
7407         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
7408         for -Os related change.
7410 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
7412         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
7414 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
7416         [BZ #19673]
7417         * manual/math.texi (Exponents and Logarithms): Correct description
7418         of clog10.
7420 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
7422         [Bz #20729]
7423         * locale/weight.h: Include libc-internal.h.
7424         * locale/weightwc.h: Likewise.
7425         * nptl/nptl_dbP.h: Likewise.
7427 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
7429         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
7430         when it is MACH_PORT_NULL.
7432 2016-10-31  Andreas Schwab  <schwab@suse.de>
7434         [BZ #20707]
7435         * posix/glob.c (glob): Initialize pglob before checking for
7436         GLOB_BRACE.  Don't call glob recursively if pattern contains no
7437         valid brace expression despite GLOB_BRACE.
7438         * posix/globtest.sh: Test it.
7440 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
7442         [BZ #20729]
7443         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
7444         Define.
7445         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
7446         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
7447         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
7448         for seq2.back_us and seq1.back_us only for -Os compiles.
7449         * locale/weightwc.h (findix): Likewise.
7450         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
7451         DB_GET_FIELD_ADDRESS only for -Os compiles.
7452         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
7453         for slen only for -Os compiles.
7454         * string/strcoll_l.c (get_next_seq): Ignore
7455         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
7456         for -Os compiles.
7458         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
7459         * include/crypt.h: New file.
7461 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7463         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
7464         from test-skeleton.c.
7465         (statclass): Replace calls to write with calls to write_message.
7467 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
7469         * math/math.h
7470         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
7471         New macro.
7472         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
7473         Likewise.
7474         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
7475         Likewise.
7476         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
7477         SNANL.
7478         * math/test-double.h (snan_value_MACRO): New macro.
7479         * math/test-float.h (snan_value_MACRO): Likewise.
7480         * math/test-ldouble.h (snan_value_MACRO): Likewise.
7481         * math/libm-test.inc (issignaling_test_data): Add tests of
7482         snan_value_MACRO.
7484 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7486         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
7487         behavior when eliding a lock not held by the current thread.
7488         * sysdeps/powerpc/nptl/elide.h: Likewise.
7490 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7492         [BZ #20728]
7493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
7494         branch to _exit() by a function call.
7496 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7498         * malloc/malloc.c: Update chunk layout comments.
7499         (chunk_main_arena): Update comment.
7501 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7503         * crypt/sha256.c, crypt/sha256-block.c,
7504         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
7505         sha256_process_block to __sha256_process_block.
7506         * crypt/sha512.c, crypt/sha512-block.c,
7507         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
7508         sha512_process_block to __sha512_process_block.
7510 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
7512         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
7514         * math/test-nan-overflow.c: Include stdlib.h for malloc.
7516 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
7518         [BZ #20019]
7519         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
7520         definition in unrelocated shared library.
7521         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7523 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7525         [BZ #20729]
7526         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
7527         * sysdeps/unix/sysv/linux/i386/Makefile
7528         (uses-6-syscall-arguments): Define.
7529         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
7530         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
7531         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
7532         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
7533         Likewise.
7534         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
7535         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
7536         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
7537         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
7538         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
7539         (CFLAGS-fallocate64.os): Likewise.
7540         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
7541         (CFLAGS-pthread_rwlock_timedrdlock.os)
7542         (CFLAGS-pthread_rwlock_timedwrlock.o)
7543         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
7544         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
7545         (CFLAGS-sem_timedwait.os): Likewise.
7547 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7549         * elf/tst-linkall-static.c: New file.
7550         * elf/Makefile (tests-static): Add tst-linkall-static.
7551         (tst-linkall-static): Link against static libraries.
7553 2016-10-27  Florian Weimer  <fweimer@redhat.com>
7555         * malloc/malloc.c (sysmalloc): Initialize previous size field of
7556         mmaped chunks.
7558 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7560         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
7561         members to mchunk_prev_size, mchunk_size.
7562         (chunk_main_arena): Reverse sense and rename from
7563         chunk_non_main_arena.
7564         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
7565         mchunk_size instead of size.
7566         (set_non_main_arena): Define.
7567         (chunksize): Use chunksize_nomask instead of direct member access.
7568         (chunksize_nomask): Define.
7569         (next_chunk): Use chunksize instead of direct member access.
7570         (prev_size, set_prev_size): Define.
7571         (prev_chunk): Use prev_size instead of direct member access.
7572         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
7573         (inuse_bit_at_offset, set_inuse_bit_at_offset)
7574         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
7575         (mchunk_prev_size, mchunk_size): Poison tokens.
7576         (unlink): Use chunksize_nomask, prev_size accessors.
7577         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
7578         (do_check_free_chunk): Use prev_size accessor.
7579         (sysmalloc): Use set_prev_size, set_head accessors.
7580         (munmap_chunk, mremap_chunk): Use prev_size accessor.
7581         (__libc_free): Use chunksize_nomask accessor.
7582         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
7583         chunk_main_arena accessors.
7584         (_int_free): Use chunksize_nomask, prev_size accessors.
7585         (malloc_consolidate): Use chunksize, prev_size accessors.
7586         (_int_realloc): Use chunksize_nomask accessor.
7587         (_int_memalign): Use set_prev_size accessor.
7588         (__malloc_info): Use chunksize_nomask accessor.
7589         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
7590         accessors.
7591         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
7592         (heap_trim): Use chunksize_nomask, prev_size accessors.
7594 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
7596         [BZ #19380]
7597         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
7598         for inexact results.
7599         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
7600         of inexact result where mpfr_subnormalize is the only inexact
7601         step.
7602         * stdlib/tst-strtod-round-data.h: Regenerated.
7603         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
7604         Define to 0.
7605         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
7607 2016-10-27  David S. Miller  <davem@davemloft.net>
7609         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
7611 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7613         * malloc/malloc.c (do_set_mallopt_check): New function.
7614         (do_set_mmap_threshold): Likewise.
7615         (do_set_mmaps_max): Likewise.
7616         (do_set_top_pad): Likewise.
7617         (do_set_perturb_byte): Likewise.
7618         (do_set_trim_threshold): Likewise.
7619         (do_set_arena_max): Likewise.
7620         (do_set_arena_test): Likewise.
7621         (__libc_mallopt): Use them.
7623 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
7625         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7626         (canonicalize): New declaration.
7627         * math/Versions (canonicalize): New libm symbol at version
7628         GLIBC_2.25.
7629         (canonicalizef): Likewise.
7630         (canonicalizel): Likewise.
7631         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
7632         * math/s_canonicalize_template.c: New file.
7633         * math/libm-test.inc: Update comment on functions tested and
7634         testing of NaN payloads.
7635         (TEST_NAN_PAYLOAD): New macro.
7636         (NO_TEST_INLINE): Update value.
7637         (XFAIL_TEST): Likewise.
7638         (ERRNO_UNCHANGED): Likewise.
7639         (ERRNO_EDOM): Likewise.
7640         (ERRNO_ERANGE): Likewise.
7641         (IGNORE_RESULT): Likewise.
7642         (NON_FINITE): Likewise.
7643         (TEST_SNAN): Likewise.
7644         (NO_TEST_MATHVEC): Likewise.
7645         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
7646         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
7647         (struct test_Ffp_b1_data): New type.
7648         (RUN_TEST_Ffp_b1): New macro.
7649         (RUN_TEST_LOOP_Ffp_b1): Likewise.
7650         (canonicalize_test_data): New array.
7651         (canonicalize_test): New function.
7652         (main): Call canonicalize_test.
7653         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
7654         canonicalizef and canonicalizel.
7655         * manual/libm-err-tab.pl: Update comment on interfaces without
7656         ulps tabulated.
7657         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
7658         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
7659         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7660         canonicalize.
7661         (CFLAGS-nldbl-canonicalize.c): New variable.
7662         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
7663         to ...
7664         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
7665         ... here.
7666         (do_test): Also test canonicalizel.
7667         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
7668         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
7669         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
7670         file.
7671         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
7672         Use libm_hidden_def.
7673         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
7674         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
7675         (do_test): Also test canonicalizel.
7676         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
7677         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
7678         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
7679         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
7680         libm_hidden_def.
7681         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
7682         macro.
7683         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
7684         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
7685         * sysdeps/nacl/libm.abilist: Update.
7686         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7687         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7688         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7689         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7690         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7691         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7692         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7693         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7694         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7695         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7696         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7697         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7699         Likewise.
7700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7701         Likewise.
7702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7703         Likewise.
7704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7705         Likewise.
7706         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7707         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7708         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7709         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7710         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7712         Likewise.
7713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7714         Likewise.
7715         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7716         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7717         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7719         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
7720         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7721         getpayload.
7722         (CFLAGS-nldbl-getpayload.c): New variable.
7724 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7726         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
7727         integer from the format string.
7729 2016-10-26  Florian Weimer  <fweimer@redhat.com>
7731         [BZ #19473]
7732         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
7733         declarations.
7734         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
7735         weak aliases.
7736         * malloc/hooks.c (__malloc_get_state): Remove definition.
7737         (malloc_get_state): New stub implementation as
7738         compatibility symbol.
7739         (malloc_set_state): Rename from __malloc_set_state.  Turn into
7740         compat symbol.
7741         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
7742         malloc_set_state.
7743         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
7745 2016-10-26  Florian Weimer  <fweimer@redhat.com>
7747         * iconvdata/iso646.c (enum variant): Drop illegal_var.
7748         (names): Turn into concatenation of strings.
7749         (gconv_init): Adapt iteration over names.
7751 2016-10-26  Florian Weimer  <fweimer@redhat.com>
7753         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
7754         make const.
7755         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
7756         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
7757         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
7758         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
7759         character in sbconv.
7760         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
7761         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
7762         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
7764 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7766         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
7768         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
7769         (M_TRIM_THRESHOLD): Likewise.
7771         * manual/memory.texi (M_ARENA_TEST): Add documentation.
7772         (M_ARENA_MAX): Likewise.
7773         * malloc/malloc.c: Remove obsolete comment.
7775         * manual/memory.texi: Add environment variable alternatives to
7776         setting mallopt parameters.
7778 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
7780         * include/atomic.h
7781         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
7782         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
7784 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7786         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
7787         * stdlib/tst-strfrom.h: New file.
7788         * stdlib/tst-strfrom.c: New file.
7789         * stdlib/tst-strfrom-locale.c: New file.
7791         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
7792         * stdlib/bug-strtod2.c: Likewise.
7793         * stdlib/tst-strtod-round-skeleton.c: Likewise.
7794         * stdlib/tst-strtod6.c: Likewise.
7795         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
7797 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7799         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
7800         * manual/arith.texi: Document strfromd, strfromf, strfroml.
7801         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
7802         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
7803         * stdlib/stdlib.h (strfromd): New declaration.
7804         (strfromf): Likewise.
7805         (strfroml): Likewise.
7806         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
7807         strfrom.
7808         * stdlib/strfromd.c: New file.
7809         * stdlib/strfromf.c: Likewise.
7810         * stdlib/strfroml.c: Likewise.
7811         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
7812         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
7813         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
7814         * sysdeps/arm/nacl/libc.abilist: Update.
7815         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
7816         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7817         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7818         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7819         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7820         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7821         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7822         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7823         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7824         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7825         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7826         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7827         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7828         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
7830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
7831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7833         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7834         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7835         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7836         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7837         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7840         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7841         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7842         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7844 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
7846         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
7847         instead of cmpli.
7848         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
7849         instead of cmpli.
7851 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
7853         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
7854         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
7855         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
7856         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7857         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7858         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7860 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7862         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
7863         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7864         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
7865         SYSCALL_LL64_PRW.
7866         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7867         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
7868         __ASSUME_PRW_DUMMY_ARG.
7869         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
7870         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7871         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7872         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7873         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
7874         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
7876 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
7878         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
7880 2016-10-22  Florian Weimer  <fweimer@redhat.com>
7882         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
7883         "C++", to override a potential extern "C" directive around the
7884         header file inclusion.
7886 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
7888         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
7890 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7892         * sysdeps/powerpc/fpu/fenv_private.h:
7893         (_FPU_MASK_ALL): Rename to...
7894         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
7895         XE FPSCR bits.
7897         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
7899         (_FPU_MASK_ROUNDING): Rename to...
7900         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
7901         NI bits.
7903         (_FPU_MASK_EXCEPT_ROUND): Rename to...
7904         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
7905         bits and rounding bits.
7907         (__libc_feholdbits_ppc): New inline function to mask, set,
7908         and pontentially clear FSPCR bits, and change MSR[FE] bits.
7909         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
7910         (libc_feholdexcept_setround_ppc): Likewise.
7912         (__libc_femergeenv_ppc): New function to dynamically mask both
7913         old and new FP environments and merge.
7914         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
7915         (libc_feresetround_ppc): Likewise.
7916         (libc_feupdateenv_test_ppc): Likewise.
7917         (libc_feupdateenv_ppc): Likewise.
7919         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
7920         of ISA RN bits, and update macro names.
7921         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
7922         effectively the same as the previously mentioned function.
7924         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
7925         usage with fe_resetround_ppc.
7927         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
7928         to be used.
7929         (libc_feholdexcept_setround_ctxf): Likewise.
7930         (libc_feholdexcept_setround_ctxl): Likewise.
7932 2016-10-21  Florian Weimer  <fweimer@redhat.com>
7934         [BZ #20715]
7935         * math/math.h [__cplusplus] (iszero): Define as function template.
7936         * math/Makefile [CXX] (tests): Add test-math-iszero.
7937         (CFLAGS-test-math-iszero.cc): Set.
7938         * math/test-math-iszero.cc: New file.
7940 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
7942         [BZ #20660]
7943         * sysdeps/arm/e_sqrt.c: New file.
7944         * sysdeps/arm/e_sqrtf.c: Likewise.
7946 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
7948         [BZ #20718]
7949         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
7950         not use floating-point comparisons to test sign.
7951         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
7952         Likewise.
7954         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7955         (getpayload): New declaration.
7956         * math/Versions (getpayload): New libm symbol at version
7957         GLIBC_2.25.
7958         (getpayloadf): Likewise.
7959         (getpayloadl): Likewise.
7960         * math/Makefile (libm-calls): Add s_getpayloadF.
7961         * math/libm-test.inc: Include <nan-high-order-bit.h>.
7962         (struct test_f_f_data): Add comment.
7963         (RUN_TEST_fp_f): New macro.
7964         (RUN_TEST_LOOP_fp_f): Likewise.
7965         (getpayload_test_data): New array.
7966         (getpayload_test): New function.
7967         (main): Call getpayload_test.
7968         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
7969         descriptor.
7970         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
7971         getpayloadf and getpayloadl.
7972         * manual/libm-err-tab.pl: Update comment on interfaces without
7973         ulps tabulated.
7974         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
7975         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
7976         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
7977         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
7978         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
7979         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
7980         * sysdeps/nacl/libm.abilist: Update.
7981         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7982         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7983         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7984         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7985         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7986         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7987         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7988         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7989         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7990         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7991         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7992         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7994         Likewise.
7995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7996         Likewise.
7997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7998         Likewise.
7999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8000         Likewise.
8001         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8002         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8003         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8004         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8005         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8007         Likewise.
8008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8009         Likewise.
8010         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8011         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8012         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8014 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8016         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
8017         tst-fallocate{64}.
8018         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
8019         on syscall return.
8021 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
8023         [BZ #20689]
8024         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
8025         usable.
8027 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
8029         * sysdeps/generic/nan-high-order-bit.h: New file.
8030         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
8031         * sysdeps/mips/nan-high-order-bit.h: Likewise.
8032         * sysdeps/hppa/math_private.h: Remove file.
8033         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
8034         not define here.
8035         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
8036         <nan-high-order-bit.h>.
8037         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8038         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
8039         <nan-high-order-bit.h>.
8040         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8041         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
8042         <nan-high-order-bit.h>.
8043         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8044         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
8045         <nan-high-order-bit.h>.
8046         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8047         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
8048         <nan-high-order-bit.h>.
8049         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8050         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
8051         <nan-high-order-bit.h>.
8052         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8053         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
8054         <nan-high-order-bit.h>.
8055         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8056         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
8057         <nan-high-order-bit.h>.
8058         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8059         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
8060         <nan-high-order-bit.h>.
8061         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8062         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
8063         <nan-high-order-bit.h>.
8064         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8065         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
8066         <nan-high-order-bit.h>.
8067         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8068         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
8069         <nan-high-order-bit.h>.
8070         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8071         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
8072         <nan-high-order-bit.h>.
8073         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8074         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
8075         <nan-high-order-bit.h>.
8076         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8077         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
8078         <nan-high-order-bit.h>.
8079         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8080         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
8081         <nan-high-order-bit.h>.
8082         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8083         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
8084         <nan-high-order-bit.h>.
8085         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8086         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
8087         <nan-high-order-bit.h>.
8088         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8090 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8092         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
8094 2016-09-22  John David Anglin  <dave.anglin@bell.net>
8096         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
8097         abort-instr.h.
8098         (EFAULT): Remove conditional define.
8099         (ENOSYS): Likewise.
8100         (atomic_compare_and_exchange_val_acq): Use instruction nullification
8101         instead of conditional branch instructions.
8103 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
8105         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8106         (totalordermag): New declaration.
8107         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
8108         New macro.
8109         * math/Versions (totalordermag): New libm symbol at version
8110         GLIBC_2.25.
8111         (totalordermagf): Likewise.
8112         (totalordermagl): Likewise.
8113         * math/Makefile (libm-calls): Add s_totalordermagF.
8114         * math/libm-test.inc (totalordermag_test_data): New array.
8115         (totalordermag_test): New function.
8116         (main): Call totalordermag_test.
8117         * math/test-tgmath.c (NCALLS): Increase to 125.
8118         (F(compile_test)): Call totalordermag.
8119         (F(totalordermag)): New function.
8120         * manual/arith.texi (FP Comparison Functions): Document
8121         totalordermag, totalordermagf and totalordermagl.
8122         * manual/libm-err-tab.pl: Update comment on interfaces without
8123         ulps tabulated.
8124         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
8125         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
8126         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
8127         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
8128         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
8129         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
8130         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
8131         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8132         totalordermag.
8133         (CFLAGS-nldbl-totalordermag.c): New variable.
8134         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
8135         (do_test): Also test totalordermagl.
8136         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
8137         Likewise.
8138         * sysdeps/nacl/libm.abilist: Update.
8139         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8140         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8141         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8142         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8143         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8144         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8145         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8146         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8147         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8148         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8149         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8150         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8152         Likewise.
8153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8154         Likewise.
8155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8156         Likewise.
8157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8158         Likewise.
8159         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8160         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8161         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8162         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8163         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8164         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8165         Likewise.
8166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8167         Likewise.
8168         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8169         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8170         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8172 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
8174         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
8175         boolean.
8177 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
8179         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
8180         raising FE_INVALID with feraisexcept in case where part of
8181         argument is infinite, subtract that part of argument from itself.
8182         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
8183         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
8184         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
8186 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
8188         * math/libm-test.inc (totalorder_test_data): Add more tests.
8190 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
8192         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
8193         Undefine weak_alias and add a comment why mips64 require
8194         versioning.
8196 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
8198         [BZ #20647]
8199         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
8200         maximum CPUID level is less than 2.
8202 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
8204         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8205         (totalorder): New declaration.
8206         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
8207         New macro.
8208         * math/Versions (totalorder): New libm symbol at version
8209         GLIBC_2.25.
8210         (totalorderf): Likewise.
8211         (totalorderl): Likewise.
8212         * math/Makefile (libm-calls): Add s_totalorderF.
8213         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
8214         string.
8215         * math/libm-test.inc (PAYLOAD_DIG): New macro.
8216         (qnan_value_pl): Likewise.
8217         (snan_value_pl): Likewise.
8218         (qnan_value): Define using qnan_value_pl.
8219         (snan_value): Define using snan_value_pl.
8220         (struct test_ff_i_data): Add comment about which tests use this
8221         structure.
8222         (RUN_TEST_ff_b): New macro.
8223         (RUN_TEST_LOOP_ff_b): Likewise.
8224         (totalorder_test_data): New array.
8225         (totalorder_test): New function.
8226         (main): Call totalorder_test.
8227         * math/test-tgmath.c (NCALLS): Increase to 122.
8228         (F(compile_test)): Call totalorder.
8229         (F(totalorder)): New function.
8230         * manual/arith.texi (FP Comparison Functions): Document
8231         totalorder, totalorderf and totalorderl.
8232         * manual/libm-err-tab.pl: Update comment on interfaces without
8233         ulps tabulated.
8234         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
8235         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
8236         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
8237         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
8238         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
8239         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
8240         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
8241         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8242         totalorder.
8243         (CFLAGS-nldbl-totalorder.c): New variable.
8244         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
8245         file.
8246         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8247         Add test-totalorderl-ldbl-128ibm.
8248         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
8249         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
8250         test-totalorderl-ldbl-96.
8251         * sysdeps/nacl/libm.abilist: Update.
8252         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8253         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8254         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8255         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8256         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8257         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8258         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8259         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8260         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8261         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8262         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8263         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8265         Likewise.
8266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8267         Likewise.
8268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8269         Likewise.
8270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8271         Likewise.
8272         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8273         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8274         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8275         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8276         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8278         Likewise.
8279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8280         Likewise.
8281         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8282         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8283         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8285 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8287         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
8288         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
8289         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
8290         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
8291         remove ENOSYS implementation.
8292         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
8293         Consolidate all Linux implementations.
8295 2016-10-11  Florian Weimer  <fweimer@redhat.com>
8297         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
8298         * resolv/herror.c (herror): Cast away const-ness.
8299         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
8300         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
8302 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
8304         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
8305         instead of M_NAN + M_NAN.
8306         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
8308 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8310         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
8311         unused variable 'p'.
8313 2016-10-09  Alan Modra  <amodra@gmail.com>
8314             Andreas Schwab  <schwab@linux-m68k.org>
8316         [BZ #20554]
8317         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
8318         [PIC && !SHARED]: Set up PIC register for PLT call.
8320 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
8322         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
8323         conditional on value of [__FLT_EVAL_METHOD__].
8324         * math/test-iseqsig-excess-precision.c: New file.
8325         * math/Makefile (tests): Add test-iseqsig-excess-precision.
8327 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8329         * math/s_iseqsig_template.c: Include math-private.h.
8331         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
8332         * posix/tst-posix_fadvise.c: New file.
8333         * posix/tst-posix_fadvise64.c: Likewise.
8334         * posix/tst-posix_fadvise-common.c: Likewise.
8335         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8336         (__ASSUME_FADVISE64_64_6ARG): Define.
8337         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8338         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
8339         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8340         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
8341         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
8342         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
8343         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
8344         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
8345         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
8346         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
8347         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
8348         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
8349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
8350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
8351         Likewise.
8352         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
8353         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
8354         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
8355         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
8356         Alias to __posix_fadvise64_l32.
8357         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
8358         Add compat definition to posix_fadvise64.
8359         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
8360         Add versioned definition to posix_fadvise64.
8361         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
8362         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
8363         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
8364         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
8365         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
8367         * io/Makefile (tests): Add tst-posix_fallocate and
8368         tst-posix_fallocate64.
8369         * io/tst-posix_fallocate-common.c: New file.
8370         * io/tst-posix_fallocate.c: Likewise.
8371         * io/tst-posix_fallocate64.c: Likewise.
8372         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
8373         file.
8374         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
8375         Likewise.
8376         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
8377         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
8378         Likewise.
8379         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
8380         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
8381         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
8382         SYSCALL_LL to pass both offset and len arguments.
8383         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
8384         Likewise.
8385         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
8386         __libc_pwrite64 alias used by posix_fallocate64.
8388         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
8389         tst-fallocate64.
8390         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
8391         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
8392         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
8393         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
8394         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
8395         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
8396         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
8397         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8398         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
8399         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
8400         macro on offset argument.
8401         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
8402         SYSCALL_LL64 on offset argument.
8404         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
8405         tst-fallocate64.
8406         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
8407         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
8408         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
8409         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
8410         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
8411         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
8412         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
8413         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8414         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
8415         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
8416         macro on offset argument.
8417         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
8418         SYSCALL_LL64 on offset argument.
8419         * test-skeleton.c (FAIL_RET): Add macro.
8420         (FAIL_EXIT): Likewise.
8421         (FAIL_EXIT1): Likewise.
8422         (_FAIL): Likewise.
8424 2016-10-07  Florian Weimer  <fweimer@redhat.com>
8426         [BZ #20629]
8427         resolv: Remove RES_USEBSTRING and its implementation.
8428         * resolv/resolv.h (RES_USEBSTRING): Remove.
8429         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
8430         (digitvalue, encode_bitstring, decode_bitstring): Remove.
8431         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
8432         (labellen): Remove extended label types support.
8433         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
8434         * resolv/res_init.c (res_setoptions): Likewise.
8435         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
8437 2016-10-07  Florian Weimer  <fweimer@redhat.com>
8439         resolv: Remove RES_NOIP6DOTINT and its implementation.
8440         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
8441         (RES_NOIP6DOTINT): Remove.
8442         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
8443         handling.
8444         * resolv/res_debug.c (p_option): Likewise.
8445         * resolv/res_init.c (res_setoptions): Likewise.
8446         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
8448 2016-10-07  Florian Weimer  <fweimer@redhat.com>
8450         resolv: Deprecate unimplemented flags.
8451         * misc/sys/cdefs.h (__glibc_macro_warning1)
8452         (__glibc_macro_warning): Define.
8453         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
8454         (RES_KEEPTSIG): Mark as deprecated.
8455         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
8456         RES_NOCHECKNAME, RES_KEEPTSIG.
8457         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
8459 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8461         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
8462         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
8463         Use strong_alias to create symbols for glibc verison 2.19.
8465 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8467         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
8469 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8471         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
8473 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8475         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
8477 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8479         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8480         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
8481         in header for using it as type for ifunc function because __GI_* symbols
8482         for ppc32 do not target the ifunc symbols.
8483         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8485 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8487         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
8488         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
8489         libc_ifunc_hidden_def.
8490         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
8491         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
8492         Redirect ifunced function in header for using it as type of ifunc'ed
8493         function. Redefine libc_hidden_def to use fallback non ifunc'ed
8494         function for __GI_* symbol.
8495         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
8496         * include/libc-symbols.h
8497         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
8499 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8501         [BZ #20478]
8502         * sysdeps/s390/multiarch/ifunc-resolve.h
8503         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
8504         to create ifunc symbols.
8505         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
8506         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
8507         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
8508         for using it as type for ifunc function.
8509         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
8510         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
8511         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
8512         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
8513         * sysdeps/s390/multiarch/strcat.c: Likewise.
8514         * sysdeps/s390/multiarch/strchr.c: Likewise.
8515         * sysdeps/s390/multiarch/strcmp.c: Likewise.
8516         * sysdeps/s390/multiarch/strcpy.c: Likewise.
8517         * sysdeps/s390/multiarch/strcspn.c: Likewise.
8518         * sysdeps/s390/multiarch/strlen.c: Likewise.
8519         * sysdeps/s390/multiarch/strncmp.c: Likewise.
8520         * sysdeps/s390/multiarch/strncpy.c: Likewise.
8521         * sysdeps/s390/multiarch/strnlen.c: Likewise.
8522         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
8523         * sysdeps/s390/multiarch/strrchr.c: Likewise.
8524         * sysdeps/s390/multiarch/strspn.c: Likewise.
8525         * sysdeps/s390/multiarch/wcschr.c: Likewise.
8526         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
8527         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
8528         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
8529         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
8530         * sysdeps/s390/multiarch/wmemset.c: Likewise.
8531         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
8532         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
8533         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
8534         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
8535         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
8536         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
8538 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8540         * include/libc-symbols.h (__ifunc_resolver):
8541         New macro is used by __ifunc* macros.
8542         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
8543         depending on HAVE_GCC_IFUNC.
8544         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
8545         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
8546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8547         Redirect ifunced function in header for using as type for ifunc function.
8548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
8549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
8550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
8551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
8552         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8553         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8554         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8555         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8556         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8557         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8558         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8559         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8560         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8561         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
8564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
8566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8567         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8568         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8569         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8570         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8571         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8572         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8573         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8574         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8575         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8576         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8577         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8578         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8579         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
8580         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
8582         Add libc_hidden_def() and use libc_ifunc_hidden() macro
8583         instead of libc_ifunc() macro.
8584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
8585         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8587 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8589         * config.h.in (HAVE_GCC_IFUNC): New undef.
8590         * configure.ac: Add check if gcc supports attribute ifunc feature.
8591         * configure: Regenerated.
8592         * manual/install.texi: Add recommendation for gcc with
8593         indirect-function support.
8594         * INSTALL: Regenerated.
8596 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
8598         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
8599         macro.
8600         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8601         (__iseqsig): New declaration.
8602         * math/s_iseqsig_template.c: New file.
8603         * math/Versions (__iseqsigf): New libm symbol at version
8604         GLIBC_2.25.
8605         (__iseqsig): Likewise.
8606         (__iseqsigl): Likewise.
8607         * math/libm-test.inc (iseqsig_test_data): New array.
8608         (iseqsig_test): New function.
8609         (main): Call iseqsig_test.
8610         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
8611         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
8612         * manual/libm-err-tab.pl: Update comment on interfaces without
8613         ulps tabulated.
8614         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
8615         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
8616         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
8617         * sysdeps/nacl/libm.abilist: Update.
8618         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8619         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8620         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8621         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8622         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8623         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8624         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8625         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8626         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8627         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8628         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8629         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8631         Likewise.
8632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8633         Likewise.
8634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8635         Likewise.
8636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8637         Likewise.
8638         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8639         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8640         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8641         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8642         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8644         Likewise.
8645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8646         Likewise.
8647         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8648         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8649         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8651 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8653         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
8654         do_sincos_2, sloww, sloww1): Update comments.
8656         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
8657         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
8659         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
8660         K boolean and rename it.
8661         (__sin): Adjust.
8662         (__cos): Adjust.
8664 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
8665             Siddhesh Poyarekar  <siddhesh@sourceware.org>
8667         * manual/nss.texi: Fix typos in the manual.
8669 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
8671         * manual/contrib.texi: Fix typos in the manual.
8673         * manual/maint.texi: Fix typos in the manual.
8675         * manual/install.texi: Fix typos in the manual.
8676         * INSTALL: Regenerated.
8678         * manual/lang.texi: Fix typos in the manual.
8680         * manual/probes.texi: Fix typos in the manual.
8682         * manual/threads.texi: Fix typos in the manual.
8684         * manual/debug.texi: Fix typos in the manual.
8686         * manual/crypt.texi: Fix typos in the manual.
8688         * manual/conf.texi: Fix typos in the manual.
8690         * manual/sysinfo.texi: Fix typos in the manual.
8692         * manual/users.texi: Fix typos in the manual.
8694         * manual/job.texi: Fix typos in the manual.
8696         * manual/process.texi: Fix typos in the manual.
8698         * manual/argp.texi: Fix typos in the manual.
8699         * manual/getopt.texi: Likewise.
8700         * manual/startup.texi: Likewise.
8702         * manual/signal.texi: Fix typos in the manual.
8704         * manual/setjmp.texi: Fix typos in the manual.
8706         * manual/resource.texi: Fix typos in the manual.
8708         * manual/time.texi: Fix typos in the manual.
8710         * manual/arith.texi: Fix typos in the manual.
8712         * manual/math.texi: Fix typos in the manual.
8714         * manual/syslog.texi: Fix typos in the manual.
8716         * manual/terminal.texi: Fix typos in the manual.
8718         * manual/socket.texi: Fix typos in the manual.
8720         * manual/filesys.texi: Fix typos in the manual.
8722         * manual/llio.texi: Fix typos in the manual.
8724         * manual/stdio.text: Fix typos in the manual.
8726 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8728         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
8729         instead of K1.
8731         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
8732         SHIFT_QUADRANT and make it bool.
8733         (do_sincos_2): Likewise.
8734         (sloww): Likewise.
8735         (sloww1): Likewise.
8736         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
8737         (__cos): Likewise.
8739 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8741         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8743 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
8745         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
8746         Define to __WORDSIZE, not conditional on [LONG_MAX ==
8747         0x7fffffffL].
8748         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
8750 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8752         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
8753         inline by __inline__.
8754         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
8755         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
8756         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
8757         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
8758         sigset_t from signal.h.
8759         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
8760         which is already required.
8762 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
8764         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8766 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
8768         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
8769         (struct tcp_repair_window): New type.
8771 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8773         * libio/tst-memstream3.c: Include string.h.
8775 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8777         [BZ #18241]
8778         [BZ #20181]
8779         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
8780         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
8781         write position is at the end the buffer.
8782         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
8783         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
8784         (_IO_str_seekoff): Set correct offset from negative displacement and
8785         set EINVAL for invalid ones.
8786         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
8787         buffer length.
8788         (_IO_wstr_switch_to_get_mode): New function.
8789         (_IO_wstr_seekoff): Set correct offset from negative displacement and
8790         set EINVAL for invalid ones.
8791         * libio/tst-memstream3.c: New file.
8792         * libio/tst-wmemstream3.c: Likewise.
8793         * manual/examples/memstrm.c: Remove warning when priting size_t.
8795 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
8797         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
8798         macro to use __builtin_fma.
8799         * sysdeps/x86_64/fpu/dla.h: Remove file.
8801         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
8802         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
8803         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
8805 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
8807         [BZ #20292]
8808         * elf/Makefile (routines): Add dl-addr-obj.
8809         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
8810         tst-_dl_addr_inside_object.
8811         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
8812         [ifeq (yesyes,$(have-fpie)$(build-shared))]
8813         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
8814         [ifeq (yesyes,$(have-fpie)$(build-shared))]
8815         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
8816         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
8817         * elf/dl-open.c: Likewise.
8818         * elf/dl-addr-obj.c: New file.
8819         * elf/tst-_dl_addr_inside_object.c: New file.
8821 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
8823         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
8824         <bits/iscanonical.h>.
8825         * bits/iscanonical.h: New file.
8826         * math/s_iscanonicall.c: Likewise.
8827         * math/Versions (__iscanonicall): New libm symbol at version
8828         GLIBC_2.25.
8829         * math/libm-test.inc (iscanonical_test_data): New array.
8830         (iscanonical_test): New function.
8831         (main): Call iscanonical_test.
8832         * math/Makefile (headers): Add bits/iscanonical.h.
8833         (type-ldouble-routines): Add s_iscanonicall.
8834         * manual/arith.texi (Floating Point Classes): Document
8835         iscanonical.
8836         * manual/libm-err-tab.pl: Update comment on interfaces without
8837         ulps tabulated.
8838         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
8839         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
8840         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
8841         Likewise.
8842         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
8843         test-iscanonical-ldbl-128ibm.
8844         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
8845         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
8846         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
8847         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
8848         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8849         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8850         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8852         Likewise.
8853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8854         Likewise.
8855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8856         Likewise.
8857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8858         Likewise.
8859         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8860         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8862 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8864         * string/bits/string3.h: Remove C++ style comments.
8866 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8868         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
8869         instead of ternary condition.
8870         (do_sincos_2): Likewise.
8871         (__sin): Likewise.
8872         (__cos): Likewise.
8873         (slow): Likewise.
8874         (sloww): Likewise.
8875         (sloww1): Likewise.
8876         (bsloww): Likewise.
8877         (bsloww1): Likewise.
8879         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
8880         instead of ternary condition.
8881         (do_sin_slow): Likewise.
8882         (do_sincos_1): Likewise.
8883         (do_sincos_2): Likewise.
8884         (__cos): Likewise.
8885         (sloww): Likewise.
8886         (sloww1): Likewise.
8887         (sloww2): Likewise.
8888         (bsloww): Likewise.
8889         (bsloww1): Likewise.
8890         (bsloww2): Likewise.
8892         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
8893         check from here...
8894         (slow2): ... and here...
8895         (__sin): ... to here.
8897 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
8899         * math/math.h
8900         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
8901         Cast argument to its own type.
8902         * math/test-iszero-excess-precision.c: New file.
8903         * math/Makefile (tests): Add test-iszero-excess-precision.
8904         (CFLAGS-test-iszero-excess-precision.c): New variable.
8906 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
8908         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
8909         field, add err field.
8910         (__spawni_child): Report error through err member instead of pipe.
8911         (__spawnix): Likewise.
8913 2016-09-28  Zack Weinberg  <zackw@panix.com>
8915         * scripts/check-installed-headers.sh: Generalize treatment of
8916         sys/elf.h to all target architectures.
8918         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
8919         deleted typedef ucontext_t.
8921 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8923         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
8924         (__INTERNAL_SYSCALL1): Likewise.
8925         (__INTERNAL_SYSCALL2): Likewise.
8926         (__INTERNAL_SYSCALL3): Likewise.
8927         (__INTERNAL_SYSCALL4): Likewise.
8928         (__INTERNAL_SYSCALL5): Likewise.
8929         (__INTERNAL_SYSCALL6): Likewise.
8930         (__INTERNAL_SYSCALL7): Likewise.
8931         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
8932         (__INTERNAL_SYSCALL_NARGS): Likewise.
8933         (__INTERNAL_SYSCALL_DISP): Likewise.
8934         (INTERNAL_SYSCALL_CALL): Likewise.
8935         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
8936         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
8937         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
8938         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
8939         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
8940         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
8941         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
8942         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
8943         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
8944         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
8945         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
8946         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
8947         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
8949 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
8951         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
8952         macro.
8953         * math/libm-test.inc (iszero_test_data): New array.
8954         (iszero_test): New function.
8955         (main): Call iszero_test.
8956         * manual/arith.texi (Floating Point Classes): Document iszero.
8957         * manual/libm-err-tab.pl: Update comment on interfaces without
8958         ulps tabulated.
8960 2016-09-23  Zack Weinberg  <zackw@panix.com>
8962         * scripts/check-installed-headers.sh: New script.
8963         * Rules: In each directory that defines header files to be installed,
8964         run check-installed-headers.sh on them as a special test.
8965         * Makefile: Likewise for the headers installed at top level.
8967         * include/aliases.h, include/alloca.h, include/argz.h
8968         * include/arpa/nameser.h, include/arpa/nameser_compat.h
8969         * include/elf.h, include/envz.h, include/err.h
8970         * include/execinfo.h, include/fpu_control.h, include/getopt.h
8971         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
8972         * include/link.h, include/malloc.h, include/mcheck.h
8973         * include/mntent.h, include/netinet/ether.h
8974         * include/nss.h, include/obstack.h, include/printf.h
8975         * include/pty.h, include/resolv.h, include/rpc/auth.h
8976         * include/rpc/auth_des.h, include/rpc/auth_unix.h
8977         * include/rpc/clnt.h, include/rpc/des_crypt.h
8978         * include/rpc/key_prot.h, include/rpc/netdb.h
8979         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
8980         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
8981         * include/rpc/rpc_msg.h, include/rpc/svc.h
8982         * include/rpc/svc_auth.h, include/rpc/xdr.h
8983         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
8984         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
8985         * include/rpcsvc/ypupd.h, include/shadow.h
8986         * include/stdio_ext.h, include/sys/epoll.h
8987         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
8988         * include/sys/prctl.h, include/sys/profil.h
8989         * include/sys/statfs.h, include/sys/sysctl.h
8990         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
8991         * sysdeps/arm/nacl/include/bits/setjmp.h
8992         * sysdeps/mips/include/sys/asm.h
8993         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
8994         * sysdeps/unix/sysv/linux/include/sys/timex.h
8995         * sysdeps/x86/fpu/include/bits/fenv.h:
8996         Add #ifndef _ISOMAC guard around internal declarations.
8997         Add multiple-inclusion guard if not already present.
8999 2016-09-23  Zack Weinberg  <zackw@panix.com>
9001         * sysdeps/generic/sys/ucontext.h
9002         * sysdeps/arm/sys/ucontext.h
9003         * sysdeps/i386/sys/ucontext.h
9004         * sysdeps/m68k/sys/ucontext.h
9005         * sysdeps/mips/sys/ucontext.h
9006         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
9007         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
9008         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
9009         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
9010         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
9011         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
9012         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
9013         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
9014         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
9015         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
9016         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
9017         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
9018         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
9019         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
9020         Include both bits/sigcontext.h and bits/sigstack.h.
9021         Fix grammar error in comment, if present.
9023         * bits/sigstack.h
9024         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
9025         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
9026         * sysdeps/unix/sysv/linux/bits/sigstack.h
9027         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
9028         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
9029         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
9030         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
9031         * bits/sigcontext.h
9032         * sysdeps/mach/hurd/i386/bits/sigcontext.h
9033         * sysdeps/unix/sysv/linux/bits/sigcontext.h
9034         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
9035         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
9036         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
9037         as well as signal.h, if this was not already allowed.  Request
9038         definition of size_t if necessary.  Minimize semantically-null
9039         differences across files.
9041 2016-09-23  Zack Weinberg  <zackw@panix.com>
9043         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
9044         Remove all logic conditional on __need macros.  Move all the
9045         conditionally defined types to their own headers...
9046         * time/bits/types/clock_t.h: Define clock_t here.
9047         * time/bits/types/clockid_t.h: Define clockid_t here.
9048         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
9049         * time/bits/types/struct_timespec.h: Define struct timespec here.
9050         * time/bits/types/struct_timeval.h: Define struct timeval here.
9051         * time/bits/types/struct_tm.h: Define struct tm here.
9052         * time/bits/types/time_t.h: Define time_t here.
9053         * time/bits/types/timer_t.h: Define timer_t here.
9054         * time/Makefile: Install the new headers.
9056         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
9057         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
9058         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
9059         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
9060         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
9061         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
9062         * sysdeps/unix/sysv/linux/bits/resource.h
9063         * sysdeps/unix/sysv/linux/bits/timex.h
9064         * sysdeps/unix/sysv/linux/mips/bits/resource.h
9065         * sysdeps/unix/sysv/linux/net/ppp_defs.h
9066         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
9067         * sysdeps/unix/sysv/linux/sys/acct.h
9068         * sysdeps/unix/sysv/linux/sys/timerfd.h
9069         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
9070         * time/sys/time.h, time/sys/timeb.h
9071         Use the new bits/types headers.
9073         * include/time.h: Remove __need logic.
9074         * include/bits/time.h
9075         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
9076         * include/bits/types/time_t.h, include/bits/types/timer_t.h
9077         * include/bits/types/struct_itimerspec.h
9078         * include/bits/types/struct_timespec.h
9079         * include/bits/types/struct_timeval.h
9080         * include/bits/types/struct_tm.h:
9081         New wrapper headers.
9083 2016-09-23  Zack Weinberg  <zackw@panix.com>
9085         * sysdeps/mach/hurd/net/if_ppp.h
9086         * sysdeps/unix/sysv/linux/net/if_ppp.h:
9087         Only define struct ifpppstatsreq and struct ifpppcstatsreq
9088         if __USE_MISC is defined, to ensure struct ifreq is declared.
9090         * inet/netinet/ether.h: Condition all function prototypes
9091         on __USE_MISC, to ensure struct ether_addr is declared.
9093         * socket/bits/types/struct_osockaddr.h: New header.
9094         * include/bits/types/struct_osockaddr.h: New wrapper.
9095         * socket/Makefile: Install the new header.
9096         * socket/sys/socket.h, inet/protocols/talkd.h:
9097         Refer to bits/types/struct_osockaddr.h for the definition of
9098         struct osockaddr.
9100 2016-09-23  Zack Weinberg  <zackw@panix.com>
9102         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
9103         * inet/protocols/routed.h, inet/protocols/talkd.h
9104         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
9105         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
9106         * sysdeps/generic/netinet/if_ether.h
9107         * sysdeps/generic/netinet/in_systm.h
9108         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
9109         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
9110         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
9111         * sysdeps/mach/hurd/net/if_arp.h
9112         * sysdeps/mach/hurd/net/if_ppp.h
9113         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
9114         * sysdeps/unix/sysv/linux/bits/in.h
9115         * sysdeps/unix/sysv/linux/net/ethernet.h
9116         * sysdeps/unix/sysv/linux/net/if_arp.h
9117         * sysdeps/unix/sysv/linux/net/if_ppp.h
9118         * sysdeps/unix/sysv/linux/net/if_shaper.h
9119         * sysdeps/unix/sysv/linux/net/route.h
9120         * sysdeps/unix/sysv/linux/netinet/if_ether.h
9121         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
9122         * sysdeps/unix/sysv/linux/netinet/if_tr.h
9123         * sysdeps/unix/sysv/linux/netipx/ipx.h
9124         * sysdeps/unix/sysv/linux/sys/acct.h
9125         * include/arpa/nameser.h, include/resolv.h:
9126         Change all uses of u_char to unsigned char,
9127         u_short and ushort to unsigned short, u_int and uint to unsigned int,
9128         u_long and ulong to unsigned long, u_int8_t to uint8_t,
9129         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
9130         and u_int64_t and u_quad_t to uint64_t.
9132         * mach/sys/reboot.h: Remove two casts of integer literals
9133         to the types they already have.
9135         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
9136         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
9137         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
9138         from referring to 'unsigned char' to 'uint8_t' for consistency with
9139         the macro definition below.
9141         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
9142         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
9143         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
9144         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
9145         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
9146         * sysdeps/unix/sysv/linux/sys/acct.h
9147         * include/arpa/nameser.h, include/resolv.h:
9148         Fix indentation disrupted by mechanical edits.
9150         * inet/protocols/talkd.h, resolv/arpa/nameser.h
9151         * sysdeps/generic/netinet/in_systm.h
9152         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
9153         * sysdeps/gnu/netinet/udp.h
9154         * sysdeps/unix/sysv/linux/net/ethernet.h
9155         * sysdeps/unix/sysv/linux/net/if_arp.h
9156         * sysdeps/unix/sysv/linux/net/if_ppp.h
9157         * sysdeps/unix/sysv/linux/net/if_shaper.h
9158         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
9159         * sysdeps/unix/sysv/linux/netinet/if_tr.h
9160         * sysdeps/unix/sysv/linux/netipx/ipx.h
9161         * sysdeps/unix/sysv/linux/sys/acct.h
9162         Include stdint.h for uintNN_t definitions.
9163         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
9165 2016-09-23  Zack Weinberg  <zackw@panix.com>
9167         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
9168         * sysdeps/unix/sysv/linux/netrose/rose.h:
9169         Include sys/socket.h and netax25/ax25.h.
9171         * inet/netinet/icmp6.h, inet/netinet/ip6.h
9172         * resolv/arpa/nameser_compat.h:
9173         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
9175         * sysdeps/unix/sysv/linux/sys/quota.h:
9176         Use __caddr_t instead of caddr_t.
9177         * sysdeps/unix/sysv/linux/sys/timerfd.h:
9178         Use __clockid_t instead of clockid_t.
9180         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
9182         * argp/argp.h: Check whether _LIBC is defined before expanding it.
9183         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
9184         expanding it.
9186         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
9187         Define __glibc_c99_flexarr_available to 1 when the compiler
9188         supports C99-compatible flexible array members, 0 otherwise.
9189         * sysdeps/unix/sysv/linux/bits/socket.h
9190         * sysdeps/mach/hurd/bits/socket.h
9191         * bits/socket.h: Use __glibc_c99_flexarr_available in
9192         definitions of struct cmsghdr and CMSG_DATA.
9194 2016-09-23  Florian Weimer  <fweimer@redhat.com>
9196         * manual/nss.texi (NSS Modules Interface): Adjust function return
9197         type to enum nss_status.  Document errnop argument.  Clarify
9198         h_errnop semantics.  Fix cross-reference formatting.
9199         (NSS Module Function Internals): Mention that *errnop needs to be
9200         set on failure, but not to zero.
9202 2016-09-23  Florian Weimer  <fweimer@redhat.com>
9204         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
9205         (get_random_name): New functions.
9206         (check_wrapper_flags_mode): Use linkat to give the new file a name
9207         determined by get_random_name.
9208         (do_test): Add calls to test open64 and openat64.
9210 2016-09-23  Florian Weimer  <fweimer@redhat.com>
9212         * test-skeleton.c: Remove #include <stdarg.h>.
9214 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
9216         [BZ #19826]
9217         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
9218         initialization of static TLS entries.
9219         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
9220         * nptl/allocatestack.c (init_one_static_tls): Likewise.
9222 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9224         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
9225         _hurd_malloc_fork_prepare.
9226         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
9227         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
9228         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
9229         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
9230         (_hurd_fork_child_hook): Drop malloc_fork_child.
9231         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
9232         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
9233         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
9234         after locking locks (notably hurd_dtable_lock). Call
9235         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
9236         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
9237         __malloc_fork_unlock_child.
9238         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
9240 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
9242         * soft-fp/extendhftf2.c: New.
9243         * soft-fp/fixhfti.c: Likewise.
9244         * soft-fp/fixunshfti.c: Likewise.
9245         * soft-fp/floattihf.c: Likewise.
9246         * soft-fp/floatuntihf.c: Likewise.
9247         * soft-fp/half.h: Likewise.
9248         * soft-fp/trunctfhf2.c: Likewise.
9250 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
9252         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
9253         macro.
9254         * math/libm-test.inc (issubnormal_test_data): New array.
9255         (issubnormal_test): New function.
9256         * manual/arith.texi (Floating Point Classes): Document
9257         issubnormal.
9258         * manual/libm-err-tab.pl: Update comment on interfaces without
9259         ulps tabulated.
9261         * sysdeps/generic/stdint.h: Define
9262         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9263         <bits/libc-header-start.h> instead of including <features.h>.
9264         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
9265         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
9266         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
9267         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
9268         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
9269         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
9270         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
9271         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
9272         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
9273         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
9274         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
9275         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
9276         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
9277         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
9278         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
9279         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
9280         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
9281         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
9282         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
9283         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
9284         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
9285         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
9286         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
9287         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
9288         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
9289         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
9290         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
9291         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
9292         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
9293         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
9294         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
9295         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
9296         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
9297         * manual/arith.texi (Integers): Document these macros for types
9298         specified by width properties.
9299         * manual/lang.texi (Width of Type): Document these macros for
9300         other standard typedefs.
9301         * stdlib/tst-width-stdint.c: New file.
9302         * stdlib/Makefile (tests): Add tst-width-stdint.
9304 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9306         [BZ #20016]
9307         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
9308         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
9309         Move ...
9310         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
9311         ... here, as compatibility symbols in a new file.
9312         * resolv/Makefile (libresolv-routines): Add compat-hooks.
9313         * resolv/res_init.c (__res_vinit): Adjust member names.
9314         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
9315         * resolv/resolv.h (res_sendhookact, res_send_qhook)
9316         (res_send_rhook): Remove.
9317         (struct __res_state): Rename qhook, rhook members.
9319 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9321         malloc: Use __libc_lock wrappers.
9322         * malloc/arena.c (list_lock, free_list_lock): Define using
9323         __libc_lock_define_initialized.
9324         (arena_lock): Adjust formatting.
9325         * malloc/malloc.c (struct malloc_state): Define mutex using
9326         __libc_lock_define.
9327         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
9328         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
9329         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
9330         (mutex_unlock, mutex_trylock): Remove.
9331         (__pthread_initialize): Remove unused macro.
9332         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
9333         (mutex_unlock, mutex_trylock): Remove.
9335 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9337         [BZ #20592]
9338         Remove RR type classification macros.
9339         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
9340         (ns_t_udp_p, ns_t_xfr_p): Remove.
9342 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9344         Remove misleading version information.
9345         * resolv/arpa/nameser.h (__NAMESER): Remove.
9346         * resolv/arpa/nameser_compat.h (__BIND): Remove.
9348 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9350         Remove the always-defined BIND_4_COMPAT macro.
9351         * resolv/arpa/nameser.h: Unconditionally include
9352         <arpa/nameser_compat.h>.
9353         (BIND_4_COMPAT): Remove.
9354         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
9356 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9358         [BZ #20591]
9359         Remove obsolete DNSSEC support.
9360         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
9361         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
9362         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
9363         (ns_verify_tcp, ns_verify_tcp_init): Remove.
9364         (ns_cert_types): Add comment.
9365         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
9366         separately.
9367         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
9368         (dst_s_dns_key_id): Remove.
9369         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
9370         variables.
9372 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9374         [BZ #20524]
9375         * manual/string.texi (String/Array Comparison): Clarify the
9376         strverscmp behavior.
9378 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9380         * test-skeleton.c (xasprintf): Add function.
9381         * io/tst-open-tmpfile.c: New test.
9382         * io/Makefile (tests): Add it.
9384 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9386         Avoid running $(CXX) during build to obtain header file paths.
9387         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
9388         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
9389         * Makerules (cstdlib, cmath): Remove variables.  Use
9390         $(c++-cstdlib-header), $(c++-cmath-header) instead.
9391         * configure: Regenerate.
9393 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9395         * Makeconfig (all-object-suffixes): Include .op only if
9396         $(build-profile).
9398 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9400         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
9401         conditionals.  Do not define PATH_MAX.
9403 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9405         * posix/Makefile (tests): Add tst-spawn3.
9406         * posix/tst-spawn3.c: New file.
9407         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
9408         if it is already opened for open action.
9410         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
9411         all signals when executing the clone vfork child.
9412         (SIGALL_SET): Remove macro.
9414         * nptl/Makefile (tests): Add tst-exec5.
9415         * nptl/tst-exec5.c: New file.
9416         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
9417         asynchronous cancellation.
9419 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9421         * hurd/exc2signal.c: #include <hurd/signal.h>
9422         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
9423         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
9424         accordingly.
9425         * mach/mach_error.c (mach_error): Fix old-style function definition.
9426         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
9428 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9430         * math/Makefile (libm-calls): Remove s_nanF.
9431         (gen-libm-calls): Add s_nanF.
9433         * math/s_nan.c: Refactor into ...
9434         * math/s_nan_template.c: New file.
9436         * math/s_nanf.c: Removed.
9437         * math/s_nanl.c: Removed.
9438         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
9439         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
9441         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
9442         (LDOUBLE_nanl_libm_version): New macro.
9444         * sysdeps/generic/math-type-macros-double.h:
9445         (M_STRTO_NAN): New macro.
9446         * sysdeps/generic/math-type-macros-float.h: Likewise.
9447         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
9449         * sysdeps/generic/math-type-macros.h: Document
9450         M_STRTO_NAN.
9452 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9454         * math/s_nanf.c: Remove __nanf undef.
9455         * math/s_nan.c: Remove __nan undef.
9456         * math/s_nanl.c: Remove __nanl undef.
9458         * sysdeps/generic/math_private.h (__nan): Remove macro
9459         override.
9460         (__nanf): Likewise.
9461         (__nanl): Likewise.
9463 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9465         * math/Makefile (gen-all-calls): New variable.
9466         (generated): Replace gen-libm-calls with gen-all-calls.
9467         (gen-libm-templates.stmp): Likewise.  Also, ensure
9468         the output directory exists or is created and add
9469         dependency on the Makefile.
9470         (calls): Move s_ldexpF into gen-calls.
9471         (gen-calls): New variable.
9473         * math/s_ldexpf.c: Removed.
9474         * math/s_ldexpl.c: Removed.
9475         * math/s_ldexp.c: Refactored into ...
9476         * math/s_ldexp_template.c: New file.
9478         * sysdeps/generic/math-type-macros-double.h: Remove
9479         redundant fall-through definition of declare_mgen_alias.
9480         (declare_mgen_alias_2): New macro.
9482         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
9483         New macro for function aliased to two exported symbols.
9485         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
9486         new template file.
9487         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9489 2016-09-20  Florian Weimer  <fweimer@redhat.com>
9491         * Makeconfig (all-object-suffixes): Remove .og.
9492         * Makerules (elide-routines.og): Remove.
9493         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
9494         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
9495         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
9497 2016-09-20  Florian Weimer  <fweimer@redhat.com>
9499         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
9500         .os objects.
9502 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9504         [BZ #20615]
9505         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
9506         fpu directory by non-fpu.
9507         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
9508         on non-fpu directory from a fpu directory.
9510 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
9512         * include/limits.h: Define
9513         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9514         <bits/libc-header-start.h> instead of including <features.h>.
9515         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
9516         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
9517         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
9518         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
9519         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
9520         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
9521         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
9522         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
9523         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
9524         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
9525         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
9526         * manual/lang.texi (Width of Type): Document these macros.
9527         * stdlib/tst-width.c: New file.
9528         * stdlib/Makefile (tests): Add tst-width.
9530 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9532         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
9533         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
9535 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9537         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
9538         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
9539         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
9541 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9543         [BZ #18243]
9544         * rt/Makefile (test): Add tst-shm-cancel.
9545         * rt/tst-shm-cancel.c: New file.
9546         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
9548         [BZ #18243]
9549         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
9550         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
9551         definition.
9552         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
9553         uncontended case.
9554         * nptl/sem_wait.c (__new_sem_wait): Likewise.
9555         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
9556         (tf): Fix check for uncontended case.
9557         (do_test): Likewise.
9558         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
9559         (tf): Fix check for uncontended case.
9560         (do_test): Likewise.
9561         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
9562         (tf): Fix check for uncontended case.
9563         (do_test): Likewise.
9564         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
9565         (tf): Fix check for uncontended case.
9566         (do_test): Likewise.
9568         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
9569         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
9571         [BZ #15765]
9572         * nptl/Makefile (tests): Add tst-sem16.
9573         * nptl/tst-sem16.c: New file.
9574         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
9576         * nptl/sem_open.c (sem_open): Init pad value to 0.
9577         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
9578         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
9580 2016-09-15  Florian Weimer  <fweimer@redhat.com>
9582         [BZ #20611]
9583         * inet/Makefile (routines): Add inet6_scopeid_pton.
9584         (tests): Add tst-inet6_scopeid_pton.
9585         * inet/inet6_scopeid_pton.c: New file.
9586         * inet/net-internal.h: Likewise.
9587         * inet/tst-inet6_scopeid_pton.c: New test.
9588         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
9589         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
9590         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9592 2016-09-14  Florian Weimer  <fweimer@redhat.com>
9594         Remove support for compiling wrappers with PTW.
9595         * sysdeps/nptl/Makeconfig: Drop ptw- support.
9596         * nptl/Makefile (pthread-compat-wrappers): Define.
9597         (libpthread-routines): Use pthread-compat-wrappers.
9598         * sysdeps/unix/sysv/linux/alpha/Makefile
9599         (libpthread-routines, libpthread-shared-only-routines): Remove
9600         ptw- prefix.
9601         * sysdeps/s390/nptl/Makefile
9602         (libpthread-routines, libpthread-shared-only-routines): Likewise.
9603         * sysdeps/ia64/nptl/Makefile
9604         (libpthread-routines, libpthread-shared-only-routines): Likewise.
9605         * sysdeps/nacl/Makefile (libpthread-routines): Use
9606         pthread-compat-wrappers to filter the routines list instead of the
9607         ptw- prefix.
9609 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9611         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
9612         with L() and remove explicit suffix, convert real literals
9613         which can be equivalentally substituted with integers, and
9614         transform -L(x) to L(-x).
9616         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9617         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9618         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9619         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9620         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9621         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9622         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9623         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9624         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9625         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9626         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9627         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9628         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9629         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9630         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9631         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9632         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9633         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9634         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9635         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9636         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9637         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9638         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9639         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9640         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9641         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9642         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9643         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9644         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9645         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9646         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9647         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9648         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9649         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9650         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9651         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9652         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9653         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9654         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9655         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9656         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9657         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9658         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9659         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9660         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9661         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9662         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9663         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
9664         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9665         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9667 2016-09-13  Florian Weimer  <fweimer@redhat.com>
9669         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
9671 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9673         * malloc/Makefile (tests): Remove individual static test names
9674         and just add all of tests-static.
9676         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
9678 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
9680         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
9681         file.
9683         * sysdeps/sparc/fpu/fegetmode.c: New file.
9684         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
9686         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
9687         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
9689         * sysdeps/s390/fpu/fegetmode.c: New file.
9690         * sysdeps/s390/fpu/fesetmode.c: Likewise.
9692         * sysdeps/powerpc/fpu/fegetmode.c: New file.
9693         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
9694         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
9695         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
9696         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
9697         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
9699         * sysdeps/mips/fpu/fegetmode.c: New file.
9700         * sysdeps/mips/fpu/fesetmode.c: Likewise.
9702         * sysdeps/m68k/fpu/fegetmode.c: New file.
9703         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
9705         * sysdeps/ia64/fpu/fegetmode.c: New file.
9706         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
9708         * sysdeps/hppa/fpu/fegetmode.c: New file.
9709         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
9711         * sysdeps/arm/fegetmode.c: New file.
9712         * sysdeps/arm/fesetmode.c: Likewise.
9714         * sysdeps/alpha/fpu/fegetmode.c: New file.
9715         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
9717         * sysdeps/aarch64/fpu/fegetmode.c: New file.
9718         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
9720         * math/fegetmode.c: New file.
9721         * math/fesetmode.c: Likewise.
9722         * sysdeps/i386/fpu/fegetmode.c: Likewise.
9723         * sysdeps/i386/fpu/fesetmode.c: Likewise.
9724         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
9725         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
9726         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
9727         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
9728         declaration.
9729         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
9730         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
9731         typedef.
9732         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9733         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9734         (femode_t): New typedef.
9735         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9736         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9737         (femode_t): New typedef.
9738         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9739         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9740         (femode_t): New typedef.
9741         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9742         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9743         (femode_t): New typedef.
9744         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9745         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9746         (femode_t): New typedef.
9747         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9748         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9749         (femode_t): New typedef.
9750         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9751         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9752         (femode_t): New typedef.
9753         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9754         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9755         (femode_t): New typedef.
9756         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9757         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9758         (femode_t): New typedef.
9759         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9760         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9761         (femode_t): New typedef.
9762         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
9763         declaration.
9764         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9765         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9766         (femode_t): New typedef.
9767         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9768         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9769         (femode_t): New typedef.
9770         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9771         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9772         (femode_t): New typedef.
9773         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9774         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9775         (femode_t): New typedef.
9776         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9777         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9778         (femode_t): New typedef.
9779         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9780         * manual/arith.texi (FE_DFL_MODE): Document macro.
9781         (fegetmode): Document function.
9782         (fesetmode): Likewise.
9783         * math/Versions (fegetmode): New libm symbol at version
9784         GLIBC_2.25.
9785         (fesetmode): Likewise.
9786         * math/Makefile (libm-support): Add fegetmode and fesetmode.
9787         (tests): Add test-femode and test-femode-traps.
9788         * math/test-femode-traps.c: New file.
9789         * math/test-femode.c: Likewise.
9790         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
9791         alias for __fe_dfl_env.
9792         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
9793         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
9794         (__fe_dfl_mode): Likewise.
9795         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
9796         version GLIBC_2.25.
9797         * sysdeps/nacl/libm.abilist: Update.
9798         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9799         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9800         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9801         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9802         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9803         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9804         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9805         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9806         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9807         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9808         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9809         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9811         Likewise.
9812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9813         Likewise.
9814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9815         Likewise.
9816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9817         Likewise.
9818         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9819         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9820         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9821         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9822         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9824         Likewise.
9825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9826         Likewise.
9827         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9828         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9829         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9831 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9833         [BZ #20495]
9834         [BZ #20508]
9835         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
9836         processors, set Use_dl_runtime_resolve_slow and set
9837         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
9838         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
9839         New.
9840         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
9841         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
9842         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
9843         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
9844         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
9845         if Use_dl_runtime_resolve_opt is set.  Use
9846         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
9847         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
9848         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
9849         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
9850         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
9851         New.
9852         (_dl_runtime_resolve_opt): Likewise.
9853         (_dl_runtime_profile): Define only if _dl_runtime_profile is
9854         defined.
9856 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
9858         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
9859         __libc_memalign with "+ RELA R_390_GLOB_DAT".
9861 2016-09-06  Florian Weimer  <fweimer@redhat.com>
9863         Convert malloc to __libc_lock.  Automated part, using this Perl
9864         s/// command:
9865           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
9866             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
9867         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
9868         conversion.
9870 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
9872         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
9873         (linknamespace-symlists-tests): Likewise.
9874         (linknamespace-header-tests): Likewise.
9876 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
9878         [BZ #19810]
9879         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
9880         * elf/tst-noload.c: New test case.
9881         * elf/Makefile (tests): Add tst-noload.
9883 2016-09-02  Roland McGrath  <roland@hack.frob.com>
9885         * sysdeps/nacl/dup.c: Add libc_hidden_def.
9887         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
9888         not any more.
9890         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
9892 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9894         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
9895         (do_cos_slow): Likewise.
9896         (do_sin): Likewise.
9897         (do_sin_slow): Likewise.
9898         (slow): Likewise.
9899         (slow1): Likewise.
9900         (slow2): Likewise.
9901         (sloww): Likewise.
9902         (sloww1): Likewise.
9903         (sloww2): Likewise.
9904         (bsloww): Likewise.
9905         (bsloww1): Likewise.
9906         (bsloww2): Likewise.
9907         (cslow2): Likewise.
9909         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
9911         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
9912         arguments.  Consolidate input partitioning from callers here.
9913         (do_cos_slow): Likewise.
9914         (do_sin): Likewise.
9915         (do_sin_slow): Likewise.
9916         (do_sincos_1): Remove the no longer necessary input partitioning.
9917         (do_sincos_2): Likewise.
9918         (__sin): Likewise.
9919         (__cos): Likewise.
9920         (slow1): Likewise.
9921         (slow2): Likewise.
9922         (sloww1): Likewise.
9923         (sloww2): Likewise.
9924         (bsloww1): Likewise.
9925         (bsloww2): Likewise.
9926         (cslow2): Likewise.
9928 2016-09-02  Florian Weimer  <fweimer@redhat.com>
9930         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
9931         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
9932         outside of allocated array.
9934 2016-09-02  Florian Weimer  <fweimer@redhat.com>
9936         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
9937         instead of MB_CUR_MAX to avoid variable-length array.
9939 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9941         * math/Makefile (libm-calls): Remove k_rem_pio2F.
9942         (type-double-routines): Add k_rem_pio2.
9943         (type-float-routines): Add k_rem_pio2f.
9945         * sysdeps/generic/math_private.h:
9946         (__kernel_rem_pio2l): Removed.
9948         * math/k_rem_pio2l.c: Removed.
9949         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
9950         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
9951         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
9952         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
9954 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9956         * math/Makefile (gen-libm-calls): Add s_fmin
9957         (libm-calls): Remove above.
9959         * math/s_fmin.c: Refactor into ...
9960         * math/s_fmin_template.c: New file.
9962         * math/s_fminf.c: Removed.
9963         * math/s_fminl.c: Removed.
9964         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
9965         (LDOUBLE_fmin_libm_version): New macro.
9967         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
9968         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
9970 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9972         * math/Makefile: (gen-libm-calls): Add s_fmax.
9973         (libm-calls): Remove above.
9975         * math/s_fmax.c: Refactor into ...
9976         * math/s_fmax_template.c: New file.
9977         * math/s_fmaxf.c: Removed.
9978         * math/s_fmaxl.c: Removed.
9980         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
9981         (LDOUBLE_fmaxl_libm_version): New macro.
9983         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
9984         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
9986         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
9987         s_fmin.c to pick the aarch64 version of the file.
9988         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
9989         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
9991 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9993         * math/Makefile: (gen-libm-calls): Add s_nextdown.
9994         (libm-calls): Remove above.
9996         * math/s_nextdown.c: Refactor into ...
9997         * math/s_nextdown_template.c: New file.
9998         * math/s_nextdownf.c: Removed.
9999         * math/s_nextdownl.c: Removed.
10001         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
10003 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10005         * math/Makefile (gen-libm-calls): Add s_fdim.
10006         (libm-calls): Move to above.
10008         * math/s_fdim.c: Renamed and refactored into to ...
10009         * math/s_fdim_template.c: New file.
10010         * math/s_fdiml.c: Removed.
10011         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
10012         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
10014         * sysdeps/generic/math-type-macros-double.h:
10015         (declare_mgen_alias): Don't declare if already declared.
10016         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
10017         Likewise.
10019         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10020         (declare_mgen_alias): Don't declare if already declared.
10021         (M_LIBM_NEED_COMPAT): Likewise.
10022         (declare_mgen_libm_compat): Likewise.
10023         (LDOUBLE_fdiml_libm_version): New macro.
10025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
10026         Include math/s_fdim.c now that ldbl-opt version is not needed.
10027         (declare_mgen_alias): New macro to disable aliasing.
10029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
10030         (declare_mgen_alias): Likewise.
10031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
10032         (declare_mgen_alias): Likewise.
10033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
10034         (declare_mgen_alias): Likewise.
10035         (M_LIBM_NEED_COMPAT): Likewise.
10037 2016-09-01  Florian Weimer  <fweimer@redhat.com>
10039         [BZ #20525]
10040         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
10041         Include <linux/quota.h>.
10042         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
10043         and btodb.
10044         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
10045         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
10046         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
10047         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
10048         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
10049         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
10050         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
10051         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
10052         types.
10053         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
10054         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
10056 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10058         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
10059         (gammal_positive): Fix spacing.
10060         (__ieee754_gammal_r): Likewise.
10062 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10064         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
10065         (_Float128): Define as long double, always.
10066         (L): Apply long double type suffix, always.
10068         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
10069         _Float128, excepting comments.
10071         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10072         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10073         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10074         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10075         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10076         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10077         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10078         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10079         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10080         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
10081         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10082         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10083         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10084         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10085         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10086         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10087         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10088         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10089         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10090         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10091         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10092         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10093         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10094         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10095         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10096         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10097         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10098         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10099         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10100         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10101         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10102         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10103         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10104         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10105         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10106         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10107         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10108         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10109         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10110         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10111         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10112         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10113         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10114         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10115         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10116         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10117         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10118         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10119         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10120         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10121         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10122         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10123         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10124         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10125         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
10126         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10127         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10128         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10129         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10130         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10131         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10132         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10133         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10134         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10135         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10136         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
10137         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10138         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10140         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
10141         _Float128, and include math_private.h.
10142         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
10144         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
10145         long double semantics.
10146         (_Float128): Likewise.
10147         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
10148         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10149         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
10150         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
10152 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10154         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
10155         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
10156         * sysdeps/s390/configure: Regenerated.
10157         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
10158         instruction for raising over-/underflow if z196 zarch is supported
10159         by default.
10160         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
10162 2016-08-30  Svante Signell  <svante.signell@gmail.com>
10164         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
10165         it point to a dumb buffer for RPC to fill it.
10167 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10169         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
10170         instead of if/else.
10171         (do_sin_slow): Likewise.
10172         (do_sincos_1): Use fabs instead of if/else.
10173         (do_sincos_2): Likewise.
10174         (__sin): Likewise.
10175         (__cos): Likewise.
10176         (slow2): Likewise.
10177         (sloww): Likewise.
10178         (sloww1): Likewise.  Drop argument M.
10179         (sloww2): Use fabs instead of if/else.
10180         (bsloww): Likewise.
10181         (bsloww1): Likewise.
10182         (bsloww2): Likewise.
10184         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
10185         fall through comment.
10186         (do_sincos_1): Likewise.
10188         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
10189         Consolidate switch cases 0 and 2.
10191 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10193         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
10194         (libm-calls): Remove the above.
10196         * math/s_cexp_template.c: Update using type-generic macros.
10197         * math/s_clog10_template.c: Likewise.
10198         * math/s_cpow_template.c: Likewise.
10199         * math/s_clog_template.c: Likewise.
10200         * math/s_cproj_template.c: Likewise.
10201         * math/s_csqrt_template.c: Likewise.
10203         * math/s_cexp.c: Removed.
10204         * math/s_cexpf.c: Removed.
10205         * math/s_cexpl.c: Removed.
10206         * math/s_clog10.c: Removed.
10207         * math/s_clog10f.c: Removed.
10208         * math/s_clog10l.c: Removed.
10209         * math/s_cpow.c: Removed.
10210         * math/s_cpowf.c: Removed.
10211         * math/s_cpowl.c: Removed.
10212         * math/s_clog.c: Removed.
10213         * math/s_clogf.c: Removed.
10214         * math/s_clogl.c: Removed.
10215         * math/s_cproj.c: Removed.
10216         * math/s_cprojf.c: Removed.
10217         * math/s_cprojl.c: Removed.
10218         * math/s_csqrt.c: Removed.
10219         * math/s_csqrtf.c: Removed.
10220         * math/s_csqrtl.c: Removed.
10222         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
10223         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
10224         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
10225         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
10226         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
10227         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
10229         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
10230         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
10231         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
10232         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
10233         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
10234         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
10235         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
10236         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
10237         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
10238         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
10239         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
10241         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
10242         version.
10244         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
10245         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
10246         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
10247         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
10249 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10251         * s_cexp_template.c: Copy of s_cexp.c.
10252         * s_clog_template.c: Copy of s_clog.c.
10253         * s_clog10_template.c: Copy of s_clog10.c.
10254         * s_cpow_template.c: Copy of s_cpow.c.
10255         * s_cproj_template.c: Copy of s_cproj.c.
10256         * s_csqrt_template.c: Copy of s_csqrt.c.
10258 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10260         [BZ #20517]
10261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
10262         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
10263         exported.
10265 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
10267         * math/fetestexceptflag.c: New file.
10268         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
10269         Stefan Liebler.
10270         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10271         (fetestexceptflag): New function declaration.
10272         * manual/arith.texi (fetestexceptflag): Document function.
10273         * math/Versions (fetestexceptflag): New libm symbol at version
10274         GLIBC_2.25.
10275         * math/Makefile (libm-support): Add fetestexceptflag.
10276         (tests): Add test-fetestexceptflag.
10277         * math/test-fetestexceptflag.c: New file.
10278         * sysdeps/nacl/libm.abilist: Update.
10279         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10280         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10281         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10282         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10283         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10284         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10285         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10286         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10287         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10288         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10289         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10290         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10292         Likewise.
10293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10294         Likewise.
10295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10296         Likewise.
10297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10298         Likewise.
10299         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10300         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10301         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10302         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10303         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10305         Likewise.
10306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10307         Likewise.
10308         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10309         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10310         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10312 2016-08-26  Florian Weimer  <fweimer@redhat.com>
10314         [BZ #20432]
10315         Avoid strong references to malloc-internal symbols when linking
10316         statically, to support statically interposed mallocs.
10317         * include/libc-symbols.h (call_function_static_weak): New macro.
10318         * malloc/Makefile (tests): Add tst-interpose-nothread,
10319         tst-interpose-thread, tst-interpose-static-nothread,
10320         tst-interpose-static-thread.
10321         (tests-static): Add tst-interpose-static-nothread,
10322         tst-interpose-static-thread.
10323         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
10324         tst-interpose-aux-thread.o.
10325         (test-extras): Add tst-interpose-aux-nothread,
10326         tst-interpose-aux-thread.
10327         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
10328         tst-interpose-aux-nothread.o.
10329         (tst-interpose-thread, tst-interpose-static-thread): Link with
10330         tst-interpose-aux-thread.o and libthread.
10331         * malloc/tst-interpose-aux-nothread.c: New file.
10332         * malloc/tst-interpose-aux-thread.c: Likewise.
10333         * malloc/tst-interpose-aux.c: Likewise.
10334         * malloc/tst-interpose-aux.h: Likewise.
10335         * malloc/tst-interpose-nothread.c: Likewise.
10336         * malloc/tst-interpose-skeleton.c: Likewise.
10337         * malloc/tst-interpose-static-nothread.c: Likewise.
10338         * malloc/tst-interpose-static-thread.c: Likewise.
10339         * malloc/tst-interpose-thread.c: Likewise.
10340         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
10341         * sysdeps/mach/hurd/fork.c (__fork): Only call
10342         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
10343         __malloc_fork_unlock_child if defined.
10344         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
10346 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10348         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
10349         timespec C99 designated initialization.
10351 2016-08-26  Florian Weimer  <fweimer@redhat.com>
10353         [BZ #19946]
10354         Avoid expected SIGALRM signals.
10355         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
10356         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
10357         (xpthread_create, xpthread_detach, xpthread_join)
10358         (delayed_exit_thread, delayed_exit): New functions.
10359         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
10360         (tf): Use xpthread_cond_wait.
10361         (do_test): Likewise.  Replace alarm with delayed_exit.
10362         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10363         (do_test): Call delayed_exit.  Report failure.
10364         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10365         (do_test): Call delayed_exit.
10366         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10367         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
10368         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10369         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
10370         error.
10371         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10372         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
10373         error.
10374         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
10375         (do_test): Call delayed_exit.
10376         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
10377         (do_test): Call delayed_exit.
10378         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
10379         (do_test): Call delayed_exit instead of alarm.  Use
10380         xpthread_mutex_lock.
10381         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
10382         (do_test): Call delayed_exit instead of alarm.  Use
10383         xpthread_mutex_lock.
10384         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
10385         (do_test): Call delayed_exit instead of alarm.
10386         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
10387         (do_test): Call delayed_exit instead of alarm.  Use
10388         xpthread_spin_lock.
10389         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
10390         (do_test): Call delayed_exit instead of alarm.  Use
10391         xpthread_join.
10393 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
10395         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
10396         adjust CFA when allocating register save area on re-aligned
10397         stack.
10399 2016-08-26  Florian Weimer  <fweimer@redhat.com>
10401         * string/tst-cmp.c: New test.
10402         * string/Makefile (tests): Add it.
10404 2016-08-25  Mark Wielaard  <mark@klomp.org>
10406         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
10407         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
10408         (check_tree_recurse): Use newly defined accessors.
10409         (check_tree): Likewise.
10410         (maybe_split_for_insert): Likewise.
10411         (__tfind): Likewise.
10412         (__tdelete): Likewise.
10413         (trecurse): Likewise.
10414         (tdestroy_recurse): Likewise.
10415         (__tsearch): Likewise. And add asserts for malloc alignment.
10416         (__twalk): Cast root to node in case CHECK_TREE is defined.
10418 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10420         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
10422 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10424         * math/Makefile (libm-gen-calls): Add
10425         catan, catanh, ctan, ctanh.
10426         (libm-calls): Remove the above.
10428         * math/s_catan_template.c: Update using type-generic macros.
10429         * math/s_catanh_template.c: Likewise.
10430         * math/s_ctan_template.c: Likewise.
10431         * math/s_ctanh_template.c: Likewise.
10433         * math/s_catanf.c: Removed.
10434         * math/s_catan.c: Removed.
10435         * math/s_catanl.c: Removed.
10436         * math/s_catanhf.c: Removed.
10437         * math/s_catanh.c: Removed.
10438         * math/s_catanhl.c: Removed.
10439         * math/s_ctanf.c: Removed.
10440         * math/s_ctan.c: Removed.
10441         * math/s_ctanl.c: Removed.
10442         * math/s_ctanhf.c: Removed.
10443         * math/s_ctanh.c: Removed.
10444         * math/s_ctanhl.c: Removed.
10446         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
10447         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
10448         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
10449         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
10450         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
10451         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
10453         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
10454         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
10455         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
10456         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
10458 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10460         * s_catan_template.c: Copy of s_catan.c.
10461         * s_catanh_template.c: Copy of s_catanh.c.
10462         * s_ctan_template.c: Copy of s_ctan.c.
10463         * s_ctanh_template.c: Copy of s_ctanh.c.
10465 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10467         * math/Makefile (gen-libm-calls): Move
10468         casin, casinh, csin, csinh here.
10469         (libm-calls): Remove the above.
10471         * math/s_casin_template.c: Update using type-generic macros.
10472         * math/s_casinh_template.c: Likewise.
10473         * math/s_csin_template.c: Likewise.
10474         * math/s_csinh_template.c: Likewise.
10475         * math/k_casinh_template.c: Likewise.
10477         * math/s_casinf.c: Removed.
10478         * math/s_casin.c: Removed.
10479         * math/s_casinl.c: Removed.
10480         * math/s_casinh.c: Removed.
10481         * math/s_casinhf.c: Removed.
10482         * math/s_casinhl.c: Removed.
10483         * math/s_csin.c: Removed.
10484         * math/s_csinf.c: Removed.
10485         * math/s_csinl.c: Removed.
10486         * math/s_csinh.c: Removed.
10487         * math/s_csinhf.c: Removed.
10488         * math/s_csinhl.c: Removed.
10489         * math/k_casinh.c: Removed.
10490         * math/k_casinhf.c: Removed.
10491         * math/k_casinhl.c: Removed.
10493         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
10494         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
10495         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
10496         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
10498         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
10499         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
10500         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
10501         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
10502         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
10503         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
10504         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
10505         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
10507         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
10508         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
10509         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
10510         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
10512         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
10513         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
10514         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
10515         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
10517 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10519         * s_casin_template.c: Copy of s_casin.c.
10520         * s_casinh_template.c: Copy of s_casinh.c.
10521         * s_csin_template.c: Copy of s_csin.c.
10522         * s_csinh_template.c: Copy of s_csinh.c.
10523         * k_casinh_template.c: Copy of k_casinh.c.
10525 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10527         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
10529 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10531         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
10532         (mul_split) Remove, rename as mul_splitl, remove
10533         redundant float.h include, and include via mul_splitl.h
10535         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10536         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10537         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10538         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
10539         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
10541         * math/mul_splitl.h: New file.
10543         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
10544         Move into mul_split.h, and remove redundant float.h include.
10546         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
10547         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
10548         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10549         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
10551         * math/mul_split.h: New file.
10553 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10555         * math/Makefile (libm-gen-calls): Move
10556         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
10557         (libm-calls): Remove above.
10559         * math/s_cacos_template.c: Update using type-generic macros.
10560         * math/s_cacosh_template.c: Likewise.
10561         * math/s_ccos_template.c: Likewise.
10562         * math/s_ccosh_template.c: Likewise.
10564         * math/s_cacosf.c: Removed.
10565         * math/s_cacos.c: Removed.
10566         * math/s_cacosl.c: Removed.
10567         * math/s_cacoshf.c: Removed.
10568         * math/s_cacosh.c: Removed.
10569         * math/s_cacoshl.c: Removed.
10570         * math/s_ccosf.c: Removed.
10571         * math/s_ccos.c: Removed.
10572         * math/s_ccosl.c: Removed.
10573         * math/s_ccoshf.c: Removed.
10574         * math/s_ccosh.c: Removed.
10575         * math/s_ccoshl.c: Removed.
10577         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
10578         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
10579         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
10580         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
10581         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
10582         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
10584         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
10585         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
10586         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
10587         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
10589         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
10590         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
10591         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
10592         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
10594 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10596         * s_cacos_template.c: Copy of s_cacos.c.
10597         * s_cacosh_template.c: Copy of s_cacosh.c.
10598         * s_ccos_template.c: Copy of s_ccos.c.
10599         * s_ccosh_template.c: Copy of s_ccosh.c.
10601 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10603         * stdlib/tst-strtod-round-skeleton.c:
10604         Refactored from tst-strtod-round.c.
10606         (L_): New macro to apply literal modifier.
10607         (FNPFX): New macro to select str or wcs prefix.
10608         (CHAR): New macro to choose wchar_t or char.
10609         (STRM): New macro to choose printf for tested character type.
10611         (STRTO): New macro to choose appropriate string -> real function.
10612         (FNPFXS): Stringitized version of FNPFX.
10613         (STR): Support for above macro.
10614         (STRX): Likewise.
10616         (TEST): Update with above macros.
10617         (test): Likewise.
10618         (GEN_ONE_TEST): Likewise.
10619         (test_in_one_mode): Likewise.
10621         * stdlib/tst-strtod-round.c: New file.
10622         * wcsmbs/tst-wcstod-round.c: New file.
10624         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
10625         (tst-wcstod-round): Add libm depencency for fesetround.
10627 2016-08-19  Zack Weinberg  <zackw@panix.com>
10629         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
10631 2016-08-18  Torvald Riegel  <triegel@redhat.com>
10633         [BZ #20477]
10634         * resolv/res_hconf.c (do_init): Use atomic access.
10635         * resolv/res_hconf.h: Add comments.
10636         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
10637         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
10638         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10640 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
10642         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10643         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
10644         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10645         Likewise.
10647 2016-08-18  Florian Weimer  <fweimer@redhat.com>
10649         [BZ #16907]
10650         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
10651         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
10652         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
10653         (__attribute__): Remove definition.
10655 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10657         * sysdeps/ieee754/ldbl-128/e_asinl.c:
10658         Remove unused sqrtl declaration.
10660 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10662         * math/Makefile: (gen-libm-templates.stmp): New rule.
10663         (libm-calls): Move carg conj cimag and cabs into ...
10664         (gen-libm-calls): New variable.
10665         (generated): Inform Make objects from gen-libm-calls
10666         may be generated.
10668         * sysdeps/generic/math-type-macros.h: New file.
10669         * sysdeps/generic/math-type-macros-float.h: Likewise.
10670         * sysdeps/generic/math-type-macros-double.h: Likewise.
10671         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
10672         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
10673         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
10675         * math/cabs.c: Refactor into
10676         * math/cabs_template.c: new file.
10677         * math/cabsf.c: Removed.
10678         * math/cabsl.c: Removed.
10679         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
10680         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
10682         * math/carg.c: Refactor into
10683         * math/carg_template.c: new file.
10684         * math/cargf.c: Removed.
10685         * math/cargl.c: Removed.
10686         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
10687         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
10689         * math/conj.c: Refactor into
10690         * math/conj_template.c: new file.
10691         * math/conjf.c: Removed.
10692         * math/conjl.c: Removed.
10693         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
10694         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
10696         * math/cimag.c: Refactor into
10697         * math/cimag_template.c: new file.
10698         * math/cimagf.c: Removed.
10699         * math/cimagl.c: Removed.
10700         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
10701         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
10703         * math/cimag.c: Refactor into
10704         * math/cimag_template.c: new file.
10705         * math/cimagf.c: Removed.
10706         * math/cimagl.c: Removed.
10707         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
10708         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
10710 2016-08-17  Florian Weimer  <fweimer@redhat.com>
10712         Reduce time to expected nptl/tst-once5 failure.
10713         * nptl/tst-once5.cc (TIMEOUT): Define.
10715 2016-08-17  Florian Weimer  <fweimer@redhat.com>
10717         [BZ #20452]
10718         Avoid additional copies of objects in libc.a in static libraries.
10719         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
10720         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
10721         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
10722         rt-sysdep.
10723         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
10724         Add nptl-sysdep.
10725         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
10726         Add ptw-sysdep.
10727         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
10728         rt-sysdep.
10729         * sysdeps/unix/sysv/linux/alpha/Makefile
10730         (libpthread-shared-only-routines): Add ptw-sysdep,
10731         ptw-sigprocmask, ptw-rt_sigaction.
10732         * sysdeps/unix/sysv/linux/ia64/Makefile
10733         (librt-shared-only-routines): Add rt-sysdep.
10734         * sysdeps/unix/sysv/linux/i386/Makefile
10735         (libpthread-shared-only-routines): Add libc-do-syscall.
10736         * sysdeps/unix/sysv/linux/microblaze/Makefile
10737         (libpthread-shared-only-routines): Add sysdep.
10738         * sysdeps/unix/sysv/linux/powerpc/Makefile
10739         (librt-shared-only-routines): Add rt-sysdep.
10740         (libpthread-shared-only-routines): Add sysdep.
10741         * sysdeps/unix/sysv/linux/s390/Makefile
10742         (librt-shared-only-routines): Add rt-sysdep.
10743         * sysdeps/unix/sysv/linux/sparc/Makefile
10744         (librt-shared-only-routines): Add rt-sysdep.
10745         (libpthread-shared-only-routines): Add sysdep.
10746         * sysdeps/unix/sysv/linux/tile/Makefile
10747         (libpthread-shared-only-routines): Likewise.
10749 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
10751         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
10752         Mask implicit bit out of unpacked value.
10753         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
10754         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
10755         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
10757         * sysdeps/sparc/fpu/fesetexcept.c: New file.
10759         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
10761         * sysdeps/s390/fpu/fesetexcept.c: New file.
10763         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
10764         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
10765         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
10767         * sysdeps/mips/fpu/fesetexcept.c: New file.
10769         * sysdeps/m68k/fpu/fesetexcept.c: New file.
10771         * sysdeps/ia64/fpu/fesetexcept.c: New file.
10773         * sysdeps/hppa/fpu/fesetexcept.c: New file.
10775         * sysdeps/arm/fesetexcept.c: New file.
10777         * sysdeps/alpha/fpu/fesetexcept.c: New file.
10779         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
10781         * math/fesetexcept.c: New file.
10782         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
10783         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
10784         * math/fenv.h: Define
10785         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10786         <bits/libc-header-start.h> instead of including <features.h>.
10787         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
10788         declaration.
10789         * manual/arith.texi (fesetexcept): Document function.
10790         * math/Versions (fesetexcept): New libm symbol at version
10791         GLIBC_2.25.
10792         * math/Makefile (libm-support): Add fesetexcept.
10793         (tests): Add test-fesetexcept and test-fesetexcept-traps.
10794         * math/test-fesetexcept.c: New file.
10795         * math/test-fesetexcept-traps.c: Likewise.
10796         * sysdeps/nacl/libm.abilist: Update.
10797         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10798         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10799         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10800         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10801         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10802         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10803         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10804         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10805         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10806         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10807         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10808         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10810         Likewise.
10811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10812         Likewise.
10813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10814         Likewise.
10815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10816         Likewise.
10817         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10818         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10819         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10820         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10821         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10823         Likewise.
10824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10825         Likewise.
10826         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10827         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10828         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10830 2016-08-16  Florian Weimer  <fweimer@redhat.com>
10832         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
10833         New.
10834         (do_test): Apply default_stack_size_in_mb if not set.
10835         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
10837 2016-08-15  Andreas Schwab  <schwab@suse.de>
10839         [BZ #20435]
10840         CVE-2016-6323
10841         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
10842         as .cantunwind.
10844 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
10846         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
10847         comment from fraiseexcpt.c.
10849         * math/test-fexcept.c (feraiseexcept_exact): New function.
10850         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
10851         (test_except): Likewise.
10853 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
10855         [BZ #20455]
10856         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
10857         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
10858         to be restored.
10860         * math/test-fexcept-traps.c: New file.
10861         * math/test-fexcept.c: Likewise.
10862         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
10863         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
10864         macro.
10865         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
10866         (EXCEPTION_SET_FORCES_TRAP): Likewise.
10868 2016-08-09  Torvald Riegel  <triegel@redhat.com>
10870         * include/atomic.h (atomic_fetch_and_relaxed,
10871         atomic_fetch_and_release, atomic_fetch_or_release,
10872         atomic_fetch_xor_release): New.
10874 2016-08-06  Christian Seiler  <christian@iwakd.de>
10876         [BZ #20444]
10877         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
10878         MACH_PORT_NULL.
10880 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
10882         * math/s_fdim.c: Avoid alias renamed.
10883         * math/s_fdimf.c: Likewise.
10884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10885         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10886         Add s_fdimf-vis3, s_fdim-vis3.
10887         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
10888         (CFLAGS-s_fdim-vis3.c): Likewise.
10889         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
10890         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
10892 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
10894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10895         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10896         Remove s_fdimf-vis3, s_fdim-vis3.
10897         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
10898         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
10899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
10900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
10901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
10902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
10903         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
10904         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
10905         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
10906         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
10908 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
10910         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
10911         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
10912         -Wa,-Av9a -mvis.
10914 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10916         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
10917         LIT() to individual constants in simple expressions
10918         after splitting on spaces.
10919         (_apply_lit): Rename replaced version, and use it to
10920         apply to what appears to be a token.
10922         * math/libm-test.inc: Fix many, many issues with
10923         spacing.
10925 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
10927         * math/math.h: Move comment about <bits/mathdef.h> definitions
10928         above inclusion of <bits/mathdef.h>.  Do not mention
10929         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
10931 2016-08-05  Torvald Riegel  <triegel@redhat.com>
10933         * include/atomic.h (atomic_exchange_relaxed): New.
10935 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
10937         * math/e_scalb.c: Do not include <fenv.h>.
10938         (invalid_fn): Do calculation resulting in NaN instead of raising
10939         FE_INVALID and returning a NaN explicitly.
10940         * math/e_scalbf.c: Do not include <fenv.h>.
10941         (invalid_fn): Do calculation resulting in NaN instead of raising
10942         FE_INVALID and returning a NaN explicitly.
10943         * math/e_scalbl.c: Do not include <fenv.h>.
10944         (invalid_fn): Do calculation resulting in NaN instead of raising
10945         FE_INVALID and returning a NaN explicitly.
10947 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
10949         * po/de.po: Updated from Translation Project.
10950         * po/fi.po: Likewise.
10951         * po/sv.po: Likewise.
10953 2016-08-04  Florian Weimer  <fweimer@redhat.com>
10955         [BZ #20452]
10956         Use sysdep.o from libc.a in static libraries.
10957         * sysdeps/unix/sysv/linux/i386/Makefile
10958         (libpthread-shared-only-routines): Add sysdep.
10959         (librt-shared-only-routines): Likewise.
10961 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
10963         * math/tgmath.h (nextdown): Define if
10964         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
10965         (nextup): Likewise.
10967         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
10968         macro.
10969         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
10970         Document.
10971         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
10972         Document macro.
10973         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
10974         (exp10f): Likewise.
10975         (exp10l): Likewise.
10976         * math/bits/mathcalls.h (exp10): Declare if
10977         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
10979         * manual/arith.texi (nextup): Fix typo in last change.
10981 2016-08-03  Zack Weinberg  <zackw@panix.com>
10983         [BZ #19239]
10984         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
10985         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
10986         define major, minor, and makedev to issue deprecation warnings on use.
10987         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
10988         previously-activated deprecation warnings for these macros and prevent
10989         subsequent inclusions of this header from having any effect.
10990         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
10991         including <sys/sysmacros.h>, and undefine it again afterward.
10993 2016-08-03  Zack Weinberg  <zackw@panix.com>
10995         * sysdeps/generic/sys/sysmacros.h: Delete file.
10996         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
10997         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
10998         * bits/sysmacros.h: ... here; this encoding is now the generic
10999         encoding.  Now defines only the following macros:
11000         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
11001         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
11002         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
11004         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
11005         bits/sysmacros.h and the above new macros to generate the
11006         public implementations of major, minor, and makedev.
11007         * misc/tst-makedev.c: New test.
11008         * include/sys/sysmacros.h: New wrapper.
11010         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
11011         (routines): Add makedev.
11012         (tests): Add tst-makedev.
11013         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
11014         gnu_dev_makedev.
11015         * posix/Makefile (headers): Remove sys/sysmacros.h.
11016         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
11018         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
11019         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
11020         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
11021         * sysdeps/unix/sysv/linux/alpha/libc.abilist
11022         * sysdeps/unix/sysv/linux/arm/libc.abilist
11023         * sysdeps/unix/sysv/linux/hppa/libc.abilist
11024         * sysdeps/unix/sysv/linux/i386/libc.abilist
11025         * sysdeps/unix/sysv/linux/ia64/libc.abilist
11026         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11027         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
11028         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
11029         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11030         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11031         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11032         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11033         * sysdeps/unix/sysv/linux/nios2/libc.abilist
11034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11038         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
11039         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11040         * sysdeps/unix/sysv/linux/sh/libc.abilist
11041         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11042         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11045         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
11046         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
11047         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
11048         Add GLIBC_2.25.
11050         * include/features.h (__glibc_clang_prereq): New macro.
11051         * misc/sys/cdefs.h (__glibc_clang_has_extension)
11052         (__attribute_deprecated_msg__): New macros.
11054 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
11056         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
11057         macro.
11058         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
11059         * manual/arith.texi (issignaling): Document as ISO from TS
11060         18661-1:2014.
11061         (nextup): Likewise.
11062         (nextupf): Likewise.
11063         (nextupl): Likewise.
11064         (nextdown): Likewise.
11065         (nextdownf): Likewise.
11066         (nextdownl): Likewise.
11067         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
11068         macro.
11069         * math/math.h: Define
11070         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11071         <bits/libc-header-start.h> instead of including <features.h>.
11072         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
11073         [__USE_GNU].
11074         * math/bits/mathcalls.h (nextdown): Declare if
11075         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
11076         (nextup): Likewise.
11077         (__issignaling): Likewise.
11079 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11081         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
11082         check, and remove __glibc_likely hint
11083         from FP_INFINITE check.
11084         * s_csinhf.c (__csinhf): Likewise.
11086         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
11087         hint from FP_INFINITE check.
11088         * s_csinhl.c (__csinhl): Likewise.
11090 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11092         * math/Makefile (libm-calls): Insert F placeholder into
11093         object names.  Move w_lgamma_compat* routines into
11094         (libm-compat-calls): New variable.
11095         (libm-compat-calls-ldouble-yes): New variable.
11096         (calls): Insert F placeholder.
11097         (generated): Redefine using new type-foreach macro call.
11098         (routines): Likewise.
11100         (types): New variable to hold a list of symbolic names
11101         for each type supported by the target machine.
11102         (libm-routines): Redefine using new types variable.
11103         (type-foreach): macro to replace fooF with the
11104         appropriately suffixed foo for each types.
11106         (type-ldouble-suffix): New variable.
11107         (type-ldouble-routines): Likewise.
11108         (type-ldouble-yes): Likewise.
11109         (type-double-suffix): Likewise.
11110         (type-double-routines): Likewise.
11111         (type-float-suffix): Likewise.
11112         (type-float-routines): Likewise.
11114         (dbl-only-routines): Remove.
11115         (long-c-yes): Likewise.
11116         (long-m-routines): Likewise.
11117         (long-m-support): Likewise.
11118         (long-m-yes): Likewise.
11119         (test-longdouble-yes): Likewise.
11121         (test-float.o): Simplify by increasing the scope of the
11122         recipe which adds libm-test.stmp to the vector types.
11123         (test-ifloat.o): Likewise.
11124         (test-float-finite.o): Likewise.
11125         (test-double.o): Likewise
11126         (test-idouble.o): Likewise.
11127         (test-double-finite.o): Likewise.
11128         (test-ldouble.o): Likewise
11129         (test-ildoubl.o): Likewise.
11130         (test-ldouble-finite.o): Likewise.
11132         (libm-tests): Redefine type tests using foreach and the
11133         list of types in types.
11135         (CPPFLAGS-test-ildoubl.c): Rename to
11136         (CPPFLAGS-test-ildouble.c): New variable
11138         * math/test-ildoubl.c: Rename to
11139         * math/test-ildouble.c: New file.
11141 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11143         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
11144         Use fabsl instead of fabs.
11145         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
11146         Likewise.
11147         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
11148         Add long double suffix to constant to ensure proper
11149         promotion to long double.
11151 2016-08-03  Tom Tromey  <tom@tromey.com>
11153         [BZ #20311]
11154         * nptl_db/Makefile (headers): Add proc_service.h.
11155         * nptl_db/proc_service.h: Add include guard.  Use
11156         __BEGIN/__END_DECLS.
11157         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
11158         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
11159         arguments.
11162 2016-08-03  Florian Weimer  <fweimer@redhat.com>
11164         [BZ #17730]
11165         Avoid using memalign for TCB allocations.
11166         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
11167         (_dl_allocate_tls_storage): Use malloc and manual alignment.
11168         Avoid alignment gap in the TLS_DTV_AT_TP case.
11169         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
11170         determine the pointer to free.
11171         * nptl/tst-tls3-malloc.c: New test.
11172         * nptl/Makefile (tests): Add it.
11173         (tst-tls3-malloc): Link with libdl, libpthread.
11174         (LDFLAGS-tst-tls3-malloc): Set.
11175         (tst-tls3-malloc.out): Depend on DSO used in test.
11177 2016-08-03  Florian Weimer  <fweimer@redhat.com>
11179         [BZ #17730]
11180         Avoid using memalign for TLS allocations.
11181         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
11182         is_static member with to_free member.
11183         (union dtv): Use struct dtv_pointer.
11184         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
11185         dtv_pointer instead of is_static.
11186         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
11187         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
11188         instead of val.
11189         (allocate_dtv_entry): New function.
11190         (allocate_and_init): Return struct dtv_pointer.  Call
11191         allocate_dtv_entry instead of __libc_memalign.
11192         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
11193         instead of val.
11194         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
11195         instead of is_static.  Adjust call to allocate_and_init.
11196         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
11197         struct dtv_pointer instead of val.
11199 2016-08-03  Florian Weimer  <fweimer@redhat.com>
11201         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
11202         (MALLOC_ALIGN_MASK): Move ...
11203         * malloc/malloc-internal.h: ... to here.
11204         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
11206 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
11208         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
11209         (UDP_ENCAP_GTP1U): Likewise.
11211         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
11212         (PF_MAX): Update value.
11213         (AF_QIPCRTR): New macro.
11215 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
11217         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
11218         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11219         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11220         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
11221         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11222         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
11223         s_truncf-vis3, s_trunc-vis3.
11224         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
11225         (CFLAGS-s_ceil-vis3.c): Likewise.
11226         (CFLAGS-s_floorf-vis3.c): Likewise.
11227         (CFLAGS-s_floor-vis3.c): Likewise.
11228         (CFLAGS-s_truncf-vis3.c): Likewise.
11229         (CFLAGS-s_trunc-vis3.c): Likewise.
11230         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
11231         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
11232         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
11233         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
11234         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
11235         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
11236         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
11237         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
11238         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
11239         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
11240         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
11241         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
11243 2016-08-02  David S. Miller  <davem@davemloft.net>
11245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
11246         (__nearbyint_vis3): Don't check for sNaN before float register is
11247         loaded with the incoming argument.
11248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
11249         (__nearbyintf_vis3): Likewise.
11250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
11251         Likewise.
11252         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
11253         Likewise.
11255         * string/test-strncmp.c (do_test_limit): Make sure the test data
11256         stream is aligned as required for the type "CHAR".
11257         (do_test): Likewise.
11259 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
11261         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
11262         by beq instructions jumping to the end of the function.
11263         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
11264         clobber list. Use "i" constraint instead of "X".
11265         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
11266         of "X".
11268 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
11270         * bits/libc-header-start.h: New file.
11271         * Makefile (headers): Add bits/libc-header-start.h.
11272         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
11273         (__GLIBC_USE): New macro.
11274         * libio/stdio.h: Define
11275         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11276         <bits/libc-header-start.h> instead of including <features.h>.
11277         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
11278         (open_memstream): Likewise.
11279         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
11280         (__asprintf): Likewise.
11281         (asprintf): Likewise.
11282         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
11283         (getdelim): Likewise.
11284         (getline): Likewise.
11285         * string/string.h: Define
11286         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11287         <bits/libc-header-start.h> instead of including <features.h>.
11288         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
11289         (strndup): Likewise.
11290         * wcsmbs/wchar.h: Define
11291         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11292         <bits/libc-header-start.h> instead of including <features.h>.
11293         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
11294         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
11296 2016-08-02  Florian Weimer  <fweimer@redhat.com>
11298         Support linking against compatibility symbols, for use in tests.
11299         * include/libc-symbols.h (symbol_version_reference): New macro.
11300         (symbol_version): Use it.
11301         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
11302         (compat_symbol): Use compat_symbol_reference.
11303         (compat_symbol_1, compat_symbol_2): Remove.
11304         (compat_symbol_reference, compat_symbol_reference_1)
11305         (compat_symbol_reference_2): New macro.  Use
11306         symbol_version_reference.
11308 2016-08-02  Florian Weimer  <fweimer@redhat.com>
11310         [BZ #19469]
11311         * malloc/Makefile (CPPFLAGS): Compile tests with
11312         -DTEST_NO_MALLOPT.
11313         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
11315 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
11317         [BZ #20033]
11318         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
11319         finite version.
11320         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
11321         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
11322         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
11323         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
11324         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
11325         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
11326         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
11327         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
11328         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
11329         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
11330         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
11331         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
11332         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
11333         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
11334         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
11335         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
11336         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
11337         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
11338         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
11339         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
11340         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
11341         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
11342         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
11343         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
11344         in zero power.
11346 2016-08-02  Florian Weimer  <fweimer@redhat.com>
11348         [BZ #20370]
11349         * malloc/arena.c (get_free_list): Update comment.  Assert that
11350         arenas on the free list have no attached threads.
11351         (remove_from_free_list): New function.
11352         (reused_arena): Call it.
11354 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
11356         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
11357         when it is a NaN.
11358         [_IEEE_FP_INEXACT] Remove.
11359         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
11360         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
11361         when it is a NaN.
11362         [_IEEE_FP_INEXACT] Remove.
11363         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
11364         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
11365         when it is a NaN.
11366         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
11367         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
11368         when its absolute value is greater than 0x1.0p52.
11369         [_IEEE_FP_INEXACT] Remove.
11370         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
11371         when its absolute value is greater than 0x1.0p23.
11372         [_IEEE_FP_INEXACT] Remove.
11374 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
11376         * version.h (RELEASE): Set to "development"
11377         (VERSION): Set to 2.24.90.
11378         * NEWS: Add 2.25 section.
11380         * version.h (RELEASE): Set to "stable"
11381         (VERSION): Set to 2.24.
11382         * include/features.h (__GLIBC_MINOR__): Set to 24.
11384         * NEWS: Add 2.24 fixed bugs.
11385         * po/libc.pot: Regenerate.
11387 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
11389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
11390         [$(subdir) = math] (libm-sysdep_routines): Remove.
11391         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11392         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
11393         s_truncf-vis3, s_trunc-vis3.
11394         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
11396         file.
11397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
11398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
11399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
11400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
11403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
11404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
11406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
11407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
11408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
11409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
11410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
11411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
11412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11414         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
11416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
11417         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
11418         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
11419         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11420         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11421         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
11422         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11423         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11424         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
11425         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11426         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11427         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
11428         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11429         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11430         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
11431         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
11432         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
11433         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
11434         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11435         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11436         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
11437         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
11438         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
11439         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
11441 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
11443         [BZ #20384]
11444         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
11445         test-double-libmvec-sincos-avx-main.o,
11446         test-double-libmvec-sincos-avx2-main.o,
11447         test-double-libmvec-sincos-main.o,
11448         test-float-libmvec-sincosf-avx-main.o,
11449         test-float-libmvec-sincosf-avx2-main.o and
11450         test-float-libmvec-sincosf-main.o.
11451         test-float-libmvec-sincosf-avx512-main.o.
11452         ($(objpfx)test-double-libmvec-sincos): Also link with
11453         $(objpfx)test-double-libmvec-sincos-main.o.
11454         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
11455         $(objpfx)test-double-libmvec-sincos-avx-main.o.
11456         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
11457         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
11458         ($(objpfx)test-float-libmvec-sincosf): Also link with
11459         $(objpfx)test-float-libmvec-sincosf-main.o.
11460         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
11461         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
11462         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
11463         test-double-libmvec-sincos-avx512-main.o and
11464         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
11465         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
11466         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
11467         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
11468         (CFLAGS-test-double-libmvec-sincos.c): Removed.
11469         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
11470         (CFLAGS-test-double-libmvec-sincos-main.c): New.
11471         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
11472         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
11473         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
11474         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
11475         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
11476         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
11477         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
11478         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
11479         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
11480         -DREQUIRE_AVX2.
11481         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
11482         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
11483         -DREQUIRE_AVX512F.
11484         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
11485         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
11486         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
11487         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
11488         file.
11489         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
11490         Likewise.
11491         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
11492         Likewise.
11493         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
11494         Likewise.
11495         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
11496         Likewise.
11497         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
11498         Likewise.
11499         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
11500         Likewise.
11501         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
11502         Likewise.
11504 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
11506         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
11508 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
11510         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
11511         and typo in a comment about AT_HWCAP entry.
11513 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11515         * sysdeps/aarch64/libm-test-ulps: Updated.
11517 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11519         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
11520         of r13 as it is not restored in mvcle case.
11522 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
11524         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
11525         Rename "ret" to "__ret".
11526         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
11527         inline_syscall5, inline_syscall6): Likewise.
11529 2016-07-19   Will Newton  <will.newton@gmail.com>
11531         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
11532         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
11533         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
11534         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
11535         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
11537 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
11539         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
11540         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
11541         -mfpmath=387 with $(rtld-CFLAGS).
11542         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
11543         $(rtld-CFLAGS).
11545 2016-07-18   Ross Burton  <ross.burton@intel.com>
11546              Khem Raj  <raj.khem@gmail.com>
11548         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
11549         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
11550         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
11551         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
11552         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
11553         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
11554         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
11555         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
11556         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
11557         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
11558         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
11559         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
11560         R_METAG_TLS_DTPOFF): New.
11562 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11563             Matt Clay  <mclay@lycos.com>
11565         [BZ #20357]
11566         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
11567         to call __mpsin/__mpcos and to negate values.
11568         * math/auto-libm-test-in: Add test.
11569         * math/auto-libm-test-out: Regenerate.
11571 2016-07-18  Zack Weinberg  <zackw@panix.com>
11573         * grp/Makefile: Don't install the internal header grp-merge.h.
11575 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11577         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11579 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11581         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
11583 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11585         [BZ #15368]
11586         * sysdeps/unix/sysv/linux/nptl-signals.h
11587         (__nptl_clear_internal_signals): New function.
11588         (__libc_signal_block_all): Likewise.
11589         (__libc_signal_block_app): Likewise.
11590         (__libc_signal_restore_set): Likewise.
11591         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
11592         implementation.
11593         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
11594         the cached pid/tid value in pthread structure.
11596 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
11598         [BZ #20347]
11599         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
11601 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
11603         [BZ #20348]
11604         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
11605         preadv64, pwrite64 and pwritev64.
11607 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
11609         [BZ #20350]
11610         * posix/tst-preadwrite.c: Renamed to ...
11611         * posix/tst-preadwrite-common.c: This.
11612         (PREAD): Removed.
11613         (PWRITE): Likewise.
11614         (STRINGIFY): Likewise.
11615         (STRINGIFY2): Likewise.
11616         (do_prepare): Make it static and remove function arguments.
11617         (do_test): Likewise.
11618         (PREPARE): Updated.
11619         (TEST_FUNCTION): New.
11620         (name): Make it static.
11621         (fd): Likewise.
11622         (do_prepare): Use create_temp_file.
11623         (do_test): Renamed to ...
11624         (do_test_with_offset): This.  Make it static and accept offset.
11625         Properly check return value of PWRITE and PREAD.  Return bytes
11626         read.  Don't close fd nor unlink name.
11627         * posix/tst-preadwrite.c: Rewrite.
11628         * posix/tst-preadwrite64.c: Likewise.
11630 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
11632         [BZ #20309]
11633         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
11634         -mtls-dialect=gnu2 works.
11635         * configure: Regenerated.
11636         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
11637         (tests): Add tst-gnu2-tls1.
11638         (modules-names): Add tst-gnu2-tls1mod.
11639         ($(objpfx)tst-gnu2-tls1): New.
11640         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
11641         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
11642         * elf/tst-gnu2-tls1.c: New file.
11643         * elf/tst-gnu2-tls1mod.c: Likewise.
11644         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
11645         bytes for push in the PLT entry to align the stack.
11647 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
11649         [BZ #20349]
11650         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
11652 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11654         [BZ #18707]
11655         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
11656         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
11658 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11660         * sysdeps/unix/sysv/linux/sysdep.h
11661         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
11662         guards.
11663         * misc/tst-preadvwritev-common.c: New file.
11664         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
11665         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
11666         a check for files larger than 2GB.
11668         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11669         (__ASSUME_OFF_DIFF_OFF64): Remove define.
11670         * sysdeps/unix/sysv/linux/pread.c
11671         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
11672         __OFF_T_MATCHES_OFF64_T.
11673         * sysdeps/unix/sysv/linux/pread64.c
11674         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
11675         * sysdeps/unix/sysv/linux/preadv.c
11676         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
11677         * sysdeps/unix/sysv/linux/preadv64.c
11678         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
11679         * sysdeps/unix/sysv/linux/pwrite.c
11680         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
11681         * sysdeps/unix/sysv/linux/pwrite64.c
11682         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
11683         * sysdeps/unix/sysv/linux/pwritev.c
11684         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
11685         * sysdeps/unix/sysv/linux/pwritev64.c
11686         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
11688 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
11690         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11691         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
11693 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
11695         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
11697 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
11699         [BZ #20240]
11700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
11701         (CFLAGS-s_modf-ppc32.c): New variable.
11702         (CFLAGS-s_modff-ppc32.c): Likewise.
11703         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11704         (CFLAGS-s_modf-ppc64.c): Likewise.
11705         (CFLAGS-s_modff-ppc64.c): Likewise.
11707 2016-07-07  Andreas Schwab  <schwab@suse.de>
11709         [BZ #20263]
11710         * nptl/tst-robust10.c: New test.
11711         * nptl/Makefile (tests): Add tst-robust10.
11713 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
11715         [BZ #20263]
11716         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
11718 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
11720         * sysdeps/s390/linkmap.h (struct link_map_machine):
11721         Remove member gotplt and add member jmprel.
11722         * sysdeps/s390/s390-32/dl-machine.h
11723         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
11724         instead of gotplt with &got[3].
11725         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
11726         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11728 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
11730         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
11732 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11734         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
11735         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
11736         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
11737         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
11738         * libio/vtables.c (_IO_vtable_check)
11739         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
11740         * libio/libioP.h (IO_set_accept_foreign_vtables)
11741         [!PTR_MANGLE]: Do not call PTR_MANGLE.
11743 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
11745         [BZ #20314]
11746         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
11747         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
11748         $(common-objpfx)cmath.
11749         ($(common-objpfx)cstdlib): New target.
11750         ($(common-objpfx)cmath): Likewise.
11752 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
11754         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
11756 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11758         [BZ #20327]
11759         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
11760         are not part of the string.
11762 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11764         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
11765         * nptl/tst-cancel4-common.h (fifoname): New variable.
11766         (fifofd): Likewise.
11767         (cl_fifo): New function.
11768         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
11769         SIGINT.
11770         (tf_open): Add early cancel test.
11772 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
11774         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
11776 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
11778         * sysdeps/generic/ldsodefs.h
11779         (dl_symbol_visibility_binds_local_p): New inline function.
11780         * elf/dl-addr.c (determine_info): Treat hidden and internal
11781         symbols as local.
11782         * elf/dl-lookup.c (do_lookup_x): Likewise.
11783         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
11785 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
11787         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
11788         invalid exception for a sNaN input.
11789         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11790         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
11791         (__nearbyint_vis3): Likewise
11792         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
11793         (__nearbyintf_vis3): Likewise
11794         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
11795         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11796         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
11797         Likewise.
11798         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
11799         Likewise.
11801 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
11803         [BZ #20139]
11804         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
11805         (HAVE_AVX512DQ_ASM_SUPPORT): This.
11806         * sysdeps/x86_64/configure.ac: Require assembler from binutils
11807         2.24 or above.
11808         (HAVE_AVX512_ASM_SUPPORT): Removed.
11809         (HAVE_AVX512DQ_ASM_SUPPORT): New.
11810         * sysdeps/x86_64/configure: Regenerated.
11811         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
11812         check unconditional.
11813         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
11814         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11815         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11816         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
11817         Likewise.
11818         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
11819         Likewise.
11820         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
11821         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
11822         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11823         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11824         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
11825         Likewise.
11826         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11827         Likewise.
11828         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11829         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11830         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
11831         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
11832         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
11833         Likewise.
11834         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
11835         Likewise.
11836         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
11837         Likewise.
11838         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
11839         Likewise.
11840         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
11841         Likewise.
11842         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
11843         Likewise.
11844         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
11845         Likewise.
11846         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
11847         Likewise.
11848         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
11849         Likewise.
11850         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
11851         Likewise.
11852         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
11853         Likewise.
11855 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
11857         [BZ #20024]
11858         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
11859         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
11860         of this implementation of vector function.
11861         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
11862         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
11863         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
11864         Likewise.
11865         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
11866         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
11867         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
11868         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
11869         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
11870         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
11871         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
11872         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
11873         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
11874         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
11875         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
11876         for testing vector sincos with fixed ABI.
11877         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11878         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11879         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11880         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11881         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11882         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11883         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11884         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
11885         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
11886         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
11887         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
11888         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
11889         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
11890         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
11891         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
11892         * sysdeps/x86_64/fpu/Makefile: Added new tests.
11894 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
11896         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
11898 2016-06-30  Anton Blanchard  <anton@samba.org>
11900         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11901         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
11902         s_sinf-ppc64.
11903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
11904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
11905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
11906         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
11908 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11910         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11911         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11912         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
11913         e_expf-ppc64.
11914         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
11915         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
11916         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
11917         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
11919 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
11921         [BZ #20277]
11922         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
11923         when SHARED is defined.
11925 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
11927         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
11928         (index_arch_Prefer_ERMS): Likewise.
11929         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
11930         __memcpy_erms for Prefer_ERMS.
11931         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11932         (__memmove_erms): Enabled for libc.a.
11933         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
11934         __memmove_erms or Prefer_ERMS.
11935         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
11936         __mempcpy_erms for Prefer_ERMS.
11937         * sysdeps/x86_64/multiarch/memset.S (memset): Return
11938         __memset_erms for Prefer_ERMS.
11940 2016-06-30  Andreas Schwab  <schwab@suse.de>
11942         [BZ #20262]
11943         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
11944         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
11945         of memory.
11947 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
11949         [BZ #18645]
11950         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
11951         (test-extras): Add tst-cleanupx4aux.
11952         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
11953         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
11954         tst-cleanupx4aux.o.
11955         * nptl/tst-cleanupx4aux.c: New file.
11957 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
11959         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
11961 2016-06-29  Andreas Schwab  <schwab@suse.de>
11963         [BZ #20260]
11964         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
11965         address before the beginning of the string as an integer to avoid
11966         array-bounds warning.
11968 2016-06-28  Richard Henderson  <rth@redhat.com>
11970         * elf/elf.h (EM_BPF): New.
11971         (EM_NUM): Update.
11972         (R_BPF_NONE, R_BPF_MAP_FD): New.
11974         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
11975         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
11976         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
11977         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
11978         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
11979         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
11980         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
11981         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
11982         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
11983         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
11984         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
11985         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
11986         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
11987         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
11988         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
11989         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
11990         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
11991         (EM_NUM): Update.
11993 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
11995         [BZ #18960]
11996         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
11997         Set _nl_current_LC_CATEGORY_used to two instead of one.
11999 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
12001         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
12002         (do_test): ... this.
12003         (TEST_FUNCTION): New macro.
12004          Include test-skeleton.c.
12005         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
12006         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
12008 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
12010         [BZ #15479]
12011         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
12012         floating-point environment rather than just control word.
12013         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
12014         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
12015         floating-point environment, with "invalid" exceptions merged in,
12016         rather than just control word.
12017         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
12018         * math/libm-test.inc (trunc_test_data): Do not allow spurious
12019         "inexact" exceptions.
12021         [BZ #15479]
12022         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
12023         floating-point environment rather than just control word.
12024         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
12025         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
12026         floating-point environment, with "invalid" exceptions merged in,
12027         rather than just control word.
12028         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
12029         * math/libm-test.inc (floor_test_data): Do not allow spurious
12030         "inexact" exceptions.
12032         [BZ #15479]
12033         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
12034         floating-point environment rather than just control word.
12035         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
12036         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
12037         floating-point environment, with "invalid" exceptions merged in,
12038         rather than just control word.
12039         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
12040         * math/libm-test.inc (ceil_test_data): Do not allow spurious
12041         "inexact" exceptions.
12043 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
12045         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
12046         __libc_vfork.
12047         (__vfork) [IS_IN (libc)]: Remove alias.
12048         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
12049         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
12050         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
12052 2016-06-24  Torvald Riegel  <triegel@redhat.com>
12054         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
12055         of atomic_compare_and_exchange_bool_rel.
12056         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12057         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
12058         catomic_compare_and_exchange_bool_rel): Remove.
12059         * sysdeps/aarch64/atomic-machine.h
12060         (atomic_compare_and_exchange_bool_rel): Likewise.
12061         * sysdeps/alpha/atomic-machine.h
12062         (atomic_compare_and_exchange_bool_rel): Likewise.
12063         * sysdeps/arm/atomic-machine.h
12064         (atomic_compare_and_exchange_bool_rel): Likewise.
12065         * sysdeps/mips/atomic-machine.h
12066         (atomic_compare_and_exchange_bool_rel): Likewise.
12067         * sysdeps/microblaze/atomic-machine.h
12068         ( __arch_compare_and_exchange_bool_8_rel,
12069         __arch_compare_and_exchange_bool_16_rel): Likewise.
12070         * sysdeps/powerpc/atomic-machine.h
12071         ( __arch_compare_and_exchange_bool_8_rel,
12072         __arch_compare_and_exchange_bool_16_rel): Likewise.
12073         * sysdeps/powerpc/powerpc32/atomic-machine.h
12074         ( __arch_compare_and_exchange_bool_32_rel,
12075         __arch_compare_and_exchange_bool_64_rel): Likewise.
12076         * sysdeps/powerpc/powerpc64/atomic-machine.h
12077         ( __arch_compare_and_exchange_bool_32_rel,
12078         __arch_compare_and_exchange_bool_64_rel): Likewise.
12079         * sysdeps/tile/atomic-machine.h
12080         (atomic_compare_and_exchange_bool_rel): Likewise.
12082 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
12084         [BZ #20296]
12085         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
12086         when either argument is a NaN.
12087         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
12088         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
12090         * math/libm-test.inc (snan_value_ld): New macro.
12091         (isgreater_test_data): Add sNaN tests.
12092         (isgreaterequal_test_data): Likewise.
12093         (isless_test_data): Likewise.
12094         (islessequal_test_data): Likewise.
12095         (islessgreater_test_data): Likewise.
12096         (isunordered_test_data): Likewise.
12097         (nextafter_test_data): Likewise.
12098         (nexttoward_test_data): Likewise.
12099         (remainder_test_data): Likewise.
12100         (remquo_test_data): Likewise.
12101         (significand_test_data): Likewise.
12102         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
12104 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12106         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
12107         environment macros are defined.
12108         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
12110 2016-06-23  Florian Weimer  <fweimer@redhat.com>
12112         [BZ #20191]
12113         Implement vtable verification in libio.
12114         * Makerules (shlib.lds): Place __libc_IO_vtables section.
12115         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
12116         * debug/vdprintf_chk.c (__vdprintf_chk): Call
12117         _IO_new_file_init_internal instead of _IO_file_init.
12118         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
12119         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
12120         * libio/Makefile (routines): Add vtables.
12121         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
12122         (_IO_init): Remove, not for internal use.
12123         (_IO_init_internal): Declare, internal replacement for _IO_init.
12124         (_IO_file_init): Remove, not for internal use.
12125         (_IO_new_file_init): Remove, not for internal use.
12126         (_IO_new_file_init_internal): Declare, internal replacement for
12127         _IO_new_file_init.
12128         (_IO_old_file_init): Remove, not for internal use.
12129         (_IO_old_file_init_internal): Declare, internal replacement for
12130         _IO_old_file_init.
12131         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
12132         internal use.
12133         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
12134         Declare.
12135         (libio_vtable): New macro.
12136         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
12137         functions.
12138         * libio/fileops.c (_IO_new_file_init_internal): Rename from
12139         _IO_new_file_init.
12140         (_IO_new_file_init): New externally visible wrapper which disables
12141         vtable verification.
12142         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
12143         Define as vtables.
12144         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
12145         (_IO_init): New externally visible wrapper which disables
12146         vtable verification.
12147         * libio/iofdopen.c (_IO_new_fdopen): Call
12148         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
12149         comment.
12150         * libio/iofopen.c (__fopen_internal): Call
12151         _IO_new_file_init_internal instead of _IO_file_init.
12152         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
12153         Define as vtables.
12154         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
12155         _IO_new_file_init_internal instead of _IO_file_init.
12156         * libio/iopopen.c (_IO_new_popen): Likewise.
12157         (_IO_proc_jumps): Define as vtable.
12158         * libio/iovdprintf.c (_IO_vdprintf): Call
12159         _IO_new_file_init_internal instead of _IO_file_init.
12160         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
12161         (__open_memstream): Call _IO_init_internal instead of _IO_init.
12162         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
12163         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
12164         _IO_old_file_init.
12165         (_IO_old_file_init): New externally visible wrapper which disables
12166         vtable verification.
12167         (_IO_old_file_jumps): Define as vtable.
12168         * libio/oldiofdopen.c (_IO_old_fdopen): Call
12169         _IO_old_file_init_internal instead of _IO_old_file_init.
12170         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12171         * libio/oldiopopen.c (_IO_old_popen): Likewise.
12172         (_IO_old_proc_jumps): Define as vtable.
12173         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
12174         Define as vtables.
12175         * libio/vtables.c: New file.
12176         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
12177         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
12178         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
12179         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
12180         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
12181         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
12182         instead of _IO_init.
12184 2016-06-23  Florian Weimer  <fweimer@redhat.com>
12186         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
12188 2016-06-23  Florian Weimer  <fweimer@redhat.com>
12190         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
12191         potentially unused.
12193 2016-06-22  Florian Weimer  <fweimer@redhat.com>
12195         * test-skeleton.c (write_message): New function.
12196         * malloc/tst-mallocfork2.c (write_message): Remove.
12197         * debug/tst-longjmp_chk2.c (write_indented): New function.
12198         (write_message): Remove.
12199         (stackoverflow_handler): Call write_indented.
12201 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
12203         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
12204         "inexact" exceptions after fnstenv.
12205         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12206         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
12207         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
12209 2015-06-22  Zack Weinberg  <zackw@panix.com>
12211         * sysdeps/generic/bits/hwcap.h: Moved to ...
12212         * bits/hwcap.h: Here.
12214 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
12216         * sysdeps/aarch64/memcpy.S (memcpy):
12217         Further tuning for performance.
12219 2016-06-21  Florian Weimer  <fweimer@redhat.com>
12221         [BZ #20284]
12222         * malloc/arena.c (reused_arena): Do not return NULL if we start
12223         out with a non-corrupted arena.
12225 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12227         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
12228         * misc/tst-preadvwritev.c: New file.
12229         * misc/tst-preadvwritev64.c: Likewise.
12230         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
12231         usage.
12232         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
12233         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
12234         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
12235         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
12237 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
12239         [BZ #19654]
12240         * sysdeps/x86_64/fpu/Makefile: Added new tests.
12241         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
12242         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
12243         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
12244         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
12245         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
12246         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
12247         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
12248         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
12249         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
12250         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
12251         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
12252         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
12253         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
12254         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
12255         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
12256         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
12257         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
12258         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
12259         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
12260         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
12261         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
12262         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
12263         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
12264         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
12265         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
12267 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
12269         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
12270         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
12272 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
12274         * sysdeps/aarch64/memcpy.S (memcpy):
12275         Rewrite of optimized memcpy and memmove.
12276         * sysdeps/aarch64/memmove.S (memmove): Remove
12277         memmove code (merged into memcpy.S).
12279 2016-06-20  Florian Weimer  <fweimer@redhat.com>
12281         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
12282         * sysdeps/generic/dl-dtv.h: New file.
12283         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12284         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
12285         (dtv_t): Remove.
12286         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12287         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
12288         (dtv_t): Remove.
12289         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12290         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
12291         (dtv_t): Remove.
12292         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12293         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
12294         (dtv_t): Remove.
12295         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12296         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
12297         (dtv_t): Remove.
12298         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12299         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
12300         (dtv_t): Remove.
12301         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12302         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
12303         (dtv_t): Remove.
12304         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
12305         (dtv_t): Remove.
12306         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12307         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
12308         (dtv_t): Remove.
12309         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12310         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
12311         (dtv_t): Remove.
12312         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12313         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
12314         (dtv_t): Remove.
12315         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12316         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
12317         (dtv_t): Remove.
12318         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12319         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
12320         (dtv_t): Remove.
12321         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12322         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
12323         (dtv_t): Remove.
12324         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12325         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
12326         (dtv_t): Remove.
12327         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12328         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
12329         (dtv_t): Remove.
12331 2016-06-20  Florian Weimer  <fweimer@redhat.com>
12333         Revert symbol poisoning of  __malloc_initialize_hook.
12334         * include/stdc-predef.h (__malloc_initialize_hook): Remove
12335         poisoning.
12336         * malloc/Makefile: Remove un-poisoning.
12337         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
12338         instead of old__malloc_initialize_hook.
12339         * malloc/malloc-hooks.h: Likewise.
12340         * malloc/malloc.c: Likewise.
12341         * malloc/mcheck-init.c: Likewise.
12343 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
12345         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
12347 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
12349         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
12350         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
12351         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
12352         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
12354 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12356         * NEWS: Mention addition of nextup and nextdown.
12357         * manual/arith.texi: Document nextup and nextdown.
12358         * manual/libm-err-tab.pl: Add nextup and nextdown.
12359         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
12360         * math/Versions (libm): Add GLIBC_2.24.
12361         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
12362         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
12363         Add new test.
12364         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
12365         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
12366         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
12367         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
12368         (nextup_test_data): Likewise.
12369         (nextdown_test_data): Likewise.
12370         * math/s_nextdown.c: New file.
12371         * math/s_nextdownf.c: Likewise.
12372         * math/s_nextdownl.c: Likewise.
12373         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
12374         F(nextup): New function.
12375         F(nextdown): Likewise.
12376         * math/tgmath.h: Add nextup and nextdown.
12377         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
12378         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
12379         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12380         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12381         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12382         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
12383         Add nextup and nextdown.
12384         (CFLAGS-nldbl-nextup.c): New variable.
12385         (CFLAGS-nldbl-nextdown.c): Likewise.
12386         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
12387         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
12388         * sysdeps/nacl/libm.abilist: Update.
12389         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12390         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12391         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12392         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12393         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12394         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12395         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12396         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12397         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12398         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12399         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12400         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12403         Likewise.
12404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12406         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12407         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12408         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12409         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12410         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
12412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
12413         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12414         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12415         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12416         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12418 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12420         * manual/pattern.texi: Fix typos & grammar errors.
12422 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12424         * manual/search.texi: Fix typos & grammar errors.
12426 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12428         * manual/message.texi: Fix typos & grammar errors.
12430 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
12432         * manual/contrib.texi: Fix spelling typos.
12433         * manual/crypt.texi: Likewise.
12434         * manual/filesys.texi: Likewise.
12435         * manual/locale.texi: Likewise.
12436         * manual/message.texi: Likewise.
12437         * manual/nss.texi: Likewise.
12438         * manual/string.texi: Likewise.
12440 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12442         * manual/locale.texi: Fix typos & grammar errors.
12444 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12446         * manual/charset.texi: Fix typos & grammar errors.
12448 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12450         * manual/string.texi: Fix typos.
12452 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12454         * manual/ctype.texi: Fix typos.
12456 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12458         * manual/memory.texi: Fix various typos & grammar errors.
12460 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
12462         [BZ #20255]
12463         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
12464         * math/libm-test.inc (fdim_test_data): Add another test.
12466         [BZ #6796]
12467         [BZ #20255]
12468         [BZ #20256]
12469         * math/s_fdim.c: Include <math_private.h>.
12470         (__fdim): Use math_narrow_eval on result.
12471         * math/s_fdimf.c: Include <math_private.h>.
12472         (__fdimf): Use math_narrow_eval on result.
12473         * sysdeps/i386/fpu/s_fdim.S: Remove file.
12474         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
12475         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
12476         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
12477         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
12478         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
12479         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
12480         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
12481         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
12482         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
12483         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
12484         * math/libm-test.inc (fdim_test_data): Expect errno setting on
12485         overflow.  Add sNaN tests.
12487         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
12488         fpclassify.
12489         * math/s_fdimf.c (__fdimf): Likewise.
12490         * math/s_fdiml.c (__fdiml): Likewise.
12492 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12494         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12495         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
12496         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12497         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
12498         ifunc'ed strcasecmp/strncasecmp.
12499         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
12500         [EALIGN]: Removed.
12501         [END]: Likewise.
12502         [__strcasecmp]: Define instead of the above to control symbol name.
12503         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
12504         for __strcasecmp_power8.
12505         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
12506         for __strncasecmp_power8.
12507         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
12508         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
12509         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
12510         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
12511         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
12512         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
12514 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
12516         [BZ #20252]
12517         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
12518         arguments when second argument is a NaN.
12519         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
12520         qNaN tests.
12522         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
12523         (conj_test_data): Likewise.
12524         (copysign_test_data): Likewise.
12525         (creal_test_data): Likewise.
12526         (fma_test_data): Likewise.
12527         (fmod_test_data): Likewise.
12529         [BZ #20250]
12530         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
12531         itself.
12532         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
12533         zero input to itself.
12534         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
12535         Likewise.
12536         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
12537         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
12538         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12539         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
12540         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
12542 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12544         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
12545         * nptl/tst-cancel4-common.c: New file.
12546         * nptl/tst-cancel4-common.h: Likewise.
12547         * nptl/tst-cancel4.c: Move common definitions to
12548         tst-cancel4-common.{c,h} file.
12549         * nptl/tst-cancel4_1.c: New test.
12550         * nptl/tst-cancel4_2.c: New test.
12552 2016-06-13  Florian Weimer  <fweimer@redhat.com>
12554         [BZ #20248]
12555         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
12556         (write_message): New function.
12557         (stackoverflow_handler): Call it instead of printf, to avoid
12558         excessive stack usage by printf.
12559         (do_test): Restore SIGSEGV, SIGBUS default handlers.
12561 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12563         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
12564         (prio_inherit_missing): Remove define.
12565         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12566         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12567         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
12568         Likewise.
12569         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12570         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12571         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12572         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12573         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12574         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12576 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12578         [BZ #19670]
12579         [BZ #19672]
12581         * io/test-lfs.c (do_prepare): Use xmalloc.
12582         * io/tst-fcntl.c (do_prepare): Likewise.
12583         * libio/tst-fopenloc.c (do_bz17916): Likewise.
12584         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
12585         * login/tst-utmp.c (do_prepare): Likewise.
12586         * posix/tst-exec.c (do_prepare): Likewise.
12587         * posix/tst-pathconf.c (prepare): Likewise.
12588         * posix/tst-spawn.c (do_prepare): Likewise.
12589         * posix/tst-truncate.c (do_prepare): Likewise.
12590         * rt/tst-aio.c (do_prepare): Likewise.
12591         * rt/tst-aio64.c (do_prepare): Likewise.
12593 2016-06-11  Florian Weimer  <fweimer@redhat.com>
12595         [BZ #20237]
12596         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
12597         (get*ent): Set entidx to NULL during initialization.  If entidx is
12598         NULL, start iteration from the beginning.
12600 2016-06-11  Florian Weimer  <fweimer@redhat.com>
12602         * malloc/malloc.c (musable): Return correct size for dumped fake
12603         mmapped chunk.
12605 2016-06-11  Florian Weimer  <fweimer@redhat.com>
12607         [BZ #20222]
12608         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
12609         (_IO_cookie_write): Likewise.
12610         (_IO_cookie_seek): Likewise.
12611         (_IO_cookie_close): Likewise.
12612         (_IO_old_cookie_seek): Likewise.
12613         (set_callbacks): New function.
12614         (_IO_cookie_init): Call set_callbacks to copy callbacks.
12616 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
12618         * locale/programs/localedef.c (oldstyle_tables): Remove.
12619         * locale/programs/localedef.h (oldstyle_tables): Likewise.
12621 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
12623         [BZ #20240]
12624         * math/Makefile (CFLAGS-s_modf.c): New variable.
12625         (CFLAGS-s_modff.c): Likewise.
12626         (CFLAGS-s_modfl.c): Likewise.
12627         * math/libm-test.inc (modf_test_data): Add sNaN tests.
12629 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
12631         [BZ #20215]
12632         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
12633         [!__GNUC_PREREQ (3,2)]: Likewise.
12635 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
12637         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
12638         (msghdr.msg_controllen): Likewise.
12639         (cmsghdr.cmsg_len): Likewise.
12640         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
12641         ptw-oldsendmsg.
12642         (CFLAGS-oldrecvmsg.c): Remove rule.
12643         (CFLAGS-oldsendmsg.c): Likewise.
12644         (CFLAGS-recvmsg.c): Add rule.
12645         (CFLAGS-sendmsg.c): Likewise.
12646         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
12647         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
12648         (CFLAGS-recvmsg.c): Remove rule.
12649         (CFLAGS-sendmsg.c): Likewise.
12650         (CFLAGS-oldrecvmsg.c): Likewise.
12651         (CFLAGS-oldsendmsg.c): Likewise.
12652         (CFLAGS-recvmmsg.c): Likewise.
12653         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
12654         to kernel defined interfaces.
12655         (msghdr.msg_controllen): Likewise.
12656         (cmsghdr.cmsg_len): Likewise.
12657         (msghdr.__glibc_reserved1): Remove member.
12658         (msghdr.__glibc_reserved2): Likewise.
12659         (cmsghdr.__glibc_reserved1): Likewise.
12660         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
12661         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
12662         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
12663         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
12664         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
12665         version.
12666         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
12667         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
12668         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
12669         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
12670         Remove recvmsg and sendmsg.
12671         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
12672         Likewise.
12673         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
12674         Likewise.
12675         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
12676         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
12677         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
12678         Likewise.
12679         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
12680         Likewise.
12681         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
12682         [libc] (GLIBC_2.24): Likewise.
12683         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
12684         Likewise.
12685         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
12686         Likewise.
12687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12688         [libc] (GLIBC_2.24): Likewise.
12689         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
12690         Likewise.
12691         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
12692         Likewise.
12693         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
12694         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
12695         Likewise.
12696         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
12697         Likewise.
12698         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
12699         Likewise.
12700         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
12701         Likewise.
12702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
12703         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
12704         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
12705         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
12706         version for {recv,send,recm,sendm}msg.
12707         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12708         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12709         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12710         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12711         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12712         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12713         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12714         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12715         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12716         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12717         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12718         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12720         Likewise.
12721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12722         Likewise.
12723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12725         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12726         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12727         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12728         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12729         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12730         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12733         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12734         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12735         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12737 2016-06-10  Florian Weimer  <fweimer@redhat.com>
12739         [BZ #19564]
12740         Remove __malloc_initialize_hook from the API.
12741         * malloc/malloc.h (__malloc_initialize_hook): Remove.
12742         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
12743         #pragma GCC poison.
12744         * malloc/malloc-hooks.h: New file.
12745         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
12746         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
12747         (old__malloc_initialize_hook): Rename from
12748         __malloc_initialize_hook to evade poisoning.  Turn into compat
12749         symbol.
12750         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
12751         __malloc_initialize_hook.
12752         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
12753         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
12754         * manual/memory.texi (Hooks for Malloc): Remove
12755         __malloc_initialize_hook.  Adjust hook example.
12757 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
12759         [BZ #20235]
12760         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
12761         itself.
12762         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12763         * math/libm-test.inc (log2_test_data): Add sNaN tests.
12765         [BZ #20234]
12766         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
12767         infinity or NaN input to itself.
12769         [BZ #20233]
12770         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
12771         to itself.
12773         [BZ #20232]
12774         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
12775         itself.
12777 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
12779         * sysdeps/x86_64/start.S (_start): Always indirect branch to
12780         __libc_start_main via GOT.
12782 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
12784         * sysdeps/x86_64/memcopy.h: New file.
12785         * sysdeps/x86_64/wordcopy.c: Likewise.
12787 2016-06-09  Florian Weimer  <fweimer@redhat.com>
12789         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
12790         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
12791         <cstdlib>.
12792         (optimization_barrier): New.
12793         (do_test): Use it.  Call quick_exit in the global namespace.
12794         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
12795         instead of <cstdlib>, <thread>.
12796         (optimization_barrier): New.
12797         (non_main_thread): Adjust declaration.  Call optimization_barrier.
12798         Call quick_exit in the global namespace.
12799         (do_test): Call optimization_barrier.  Use pthread_create,
12800         pthread_join instead of std::thread.
12802 2016-06-09  Andreas Schwab  <schwab@suse.de>
12804         [BZ #19755]
12805         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
12806         new entries in auto-propagate mode.
12807         * nscd/grpcache.c (cache_addgr): Likewise.
12809 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12811         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
12812         New functions.
12813         (add_temp_file): Use them.
12815 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
12817         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
12819 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
12821         [BZ #20229]
12822         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
12823         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
12824         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
12826         [BZ #20228]
12827         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
12828         itself.
12829         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12830         * math/libm-test.inc (log10_test_data): Add sNaN tests.
12832         [BZ #20227]
12833         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
12834         itself.
12835         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12836         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
12837         * math/libm-test.inc (log_test_data): Add sNaN tests.
12839         [BZ #20226]
12840         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
12841         itself.
12842         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12843         * math/libm-test.inc (exp_test_data): Add sNaN tests.
12844         (exp10_test_data): Likewise.
12845         (expm1_test_data): Likewise.
12847         [BZ #20225]
12848         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
12849         itself.
12850         * math/s_ldexpf.c (__ldexpf): Likewise.
12851         * math/s_ldexpl.c (__ldexpl): Likewise.
12852         * math/w_scalbln.c (__w_scalbln): Likewise.
12853         * math/w_scalblnf.c (__w_scalblnf): Likewise.
12854         * math/w_scalblnl.c (__w_scalblnl): Likewise.
12855         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
12856         (scalbln_test_data): Likewise.
12858         [BZ #20224]
12859         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
12860         argument to itself.
12861         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
12863 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
12865         [BZ #19776]
12866         * sysdeps/x86_64/memcpy.S: Make it dummy.
12867         * sysdeps/x86_64/mempcpy.S: Likewise.
12868         * sysdeps/x86_64/memmove.S: New file.
12869         * sysdeps/x86_64/memmove_chk.S: Likewise.
12870         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
12871         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
12872         * sysdeps/x86_64/memmove.c: Removed.
12873         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
12874         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12875         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
12876         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
12877         Likewise.
12878         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12879         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12880         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12881         memcpy-sse2-unaligned, memmove-avx-unaligned,
12882         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
12883         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12884         (__libc_ifunc_impl_list): Replace
12885         __memmove_chk_avx512_unaligned_2 with
12886         __memmove_chk_avx512_unaligned.  Remove
12887         __memmove_chk_avx_unaligned_2.  Replace
12888         __memmove_chk_sse2_unaligned_2 with
12889         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
12890         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
12891         with __memmove_avx512_unaligned.  Replace
12892         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
12893         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
12894         with __memcpy_chk_avx512_unaligned.  Remove
12895         __memcpy_chk_avx_unaligned_2.  Replace
12896         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
12897         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
12898         Replace __memcpy_avx512_unaligned_2 with
12899         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
12900         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
12901         with __mempcpy_chk_avx512_unaligned.  Remove
12902         __mempcpy_chk_avx_unaligned_2.  Replace
12903         __mempcpy_chk_sse2_unaligned_2 with
12904         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
12905         Replace __mempcpy_avx512_unaligned_2 with
12906         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
12907         Replace __mempcpy_sse2_unaligned_2 with
12908         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
12909         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
12910         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
12911         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
12912         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
12913         (ENTRY): Removed.
12914         (END): Likewise.
12915         (ENTRY_CHK): Likewise.
12916         (libc_hidden_builtin_def): Likewise.
12917         Don't include ../memcpy.S.
12918         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
12919         __memcpy_chk_avx512_unaligned_erms and
12920         __memcpy_chk_avx512_unaligned.  Use
12921         __memcpy_chk_avx_unaligned_erms and
12922         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
12923         Default to __memcpy_chk_sse2_unaligned.
12924         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12925         Change function suffix from unaligned_2 to unaligned.
12926         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
12927         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
12928         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
12929         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
12930         (ENTRY): Removed.
12931         (END): Likewise.
12932         (ENTRY_CHK): Likewise.
12933         (libc_hidden_builtin_def): Likewise.
12934         Don't include ../mempcpy.S.
12935         (mempcpy): New.  Add a weak alias.
12936         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
12937         __mempcpy_chk_avx512_unaligned_erms and
12938         __mempcpy_chk_avx512_unaligned.  Use
12939         __mempcpy_chk_avx_unaligned_erms and
12940         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
12941         Default to __mempcpy_chk_sse2_unaligned.
12943 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
12945         [BZ #19881]
12946         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
12947         into ...
12948         * sysdeps/x86_64/memset.S: This.
12949         (__bzero): Removed.
12950         (__memset_tail): Likewise.
12951         (__memset_chk): Likewise.
12952         (memset): Likewise.
12953         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
12954         defined.
12955         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
12956         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
12957         (__memset_zero_constant_len_parameter): Check SHARED instead of
12958         PIC.
12959         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12960         memset-avx2 and memset-sse2-unaligned-erms.
12961         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12962         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
12963         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
12964         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12965         (__bzero): Enabled.
12966         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
12967         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
12968         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
12969         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
12970         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
12971         (memset): Removed.
12972         (__memset_chk): Likewise.
12973         (MEMSET_SYMBOL): New.
12974         (libc_hidden_builtin_def): Replace __memset_sse2 with
12975         __memset_sse2_unaligned.
12976         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
12977         __memset_chk_sse2 and __memset_chk_avx2 with
12978         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
12979         Use __memset_chk_sse2_unaligned_erms or
12980         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
12981         __memset_chk_avx512_unaligned_erms and
12982         __memset_chk_avx512_unaligned.
12984 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12986         * math/gen-auto-libm-test.c (fp_format_desc): remove
12987         suffix member.
12988         (output_generic_value): Remove usage of suffix member,
12989         and the resulting unuse of the fp_format argument.
12990         (output_for_one_input_case): Remove unused fp_format
12991         parameter.
12993         * math/auto-libm-test-out: Regenerate.
12995         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
12996         usage with TEST_COND_ibm128.
12997         (TEST_COND_flt_32): Remove.
12998         (TEST_COND_dbl_64): Remove.
12999         (TEST_COND_ldbl_96_intel): Remove.
13000         (TEST_COND_ldbl_96_m68k): Remove.
13001         (TEST_COND_ldbl_128): Remove.
13003 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13005         * auto-libm-test-in:
13006         Replace flt-32 usage with binary32.
13007         Replace dbl-64 usage with binary64.
13008         Replace ldbl-intel-96 usage with intel96.
13009         Replace ldbl-m68k-96 usage with m68k96.
13010         Replace ldbl-128ibm usage with ibm128.
13011         Replace ldbl-128 usage with binary128.
13013         * auto-libm-test-out: Regenerate.
13015 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13017         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
13018         (parse_ulps): Dynamically generate type name matching
13019         string from all_floats.
13020         (get_ulps): Generate the ulps as an array instead.
13021         (output_ulps): Dynamically compose the type based
13022         on the number of supported formats, and print
13023         the indices as type specific helper macros.
13025         * math/libm-test.inc: Remove comment about CHOOSE.
13026         (ulp_data): Generate the type in libm-test-ulps.h.
13027         (ULP_IDX): New macro.
13028         (find_ulps): Update usage of max_ulp.
13030         * math/test-double-vlen2.h (CHOOSE): Remove.
13031         * math/test-double-vlen4.h (CHOOSE): Likewise.
13032         * math/test-double-vlen8.h (CHOOSE): Likewise.
13033         * math/test-float.c (CHOOSE): Likewise.
13034         * math/test-float-finite.c (CHOOSE): Likewise.
13035         * math/test-double.c (CHOOSE): Likewise.
13036         * math/test-double-finite.c (CHOOSE): Likewise.
13037         * math/test-idouble.c (CHOOSE): Likewise.
13038         * math/test-ifloat.c (CHOOSE): Likewise.
13039         * math/test-ildoubl.c (CHOOSE): Likewise.
13040         * math/test-ldouble-finite.c (CHOOSE): Likewise.
13041         * math/test-ldouble.c (CHOOSE): Likewise.
13043         * math/test-float.h (TEST_FLOAT): Remove.
13044         * math/test-double.h (TEST_DOUBLE): Likewise.
13045         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
13047 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13049         * math/gen-libm-test.pl: (apply_lit): New subroutine.
13050         (parse_args): Strip C suffix from floating point literals
13051         typed with 'f' and wrap them with LIT().
13053         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
13054         (test_ff_f_data_nexttoward): Rename to
13055         (test_fj_f_data): New struct.
13056         (nexttoward_test_data): Relabel tests as
13057         TEST_fj_f instead of TEST_ff_f.
13059 2016-06-08  Florian Weimer  <fweimer@redhat.com>
13061         Emacs bug 23726.
13062         * malloc/malloc.c (dumped_main_arena_start): Update comment.
13063         (__libc_realloc): Correct size computation for dumped fake mmapped
13064         chunks.
13066 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
13068         [BZ #20219]
13069         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
13070         to itself.
13071         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
13073         [BZ #20218]
13074         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
13075         to itself.
13076         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
13078 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
13080         [BZ #20195]
13081         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
13082         check to ...
13083         (init_cpu_features): Here.
13085 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
13087         [BZ #20214]
13088         * sysdeps/unix/sysv/linux/bits/in.h
13089         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
13090          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
13091         Define to 1.
13092         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
13093          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
13094         Define to 0.
13095         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
13096         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
13098 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
13100         [BZ #20198]
13101         * stdlib/Makefile (tests): Add tst-quick_exit, and
13102         tst-thread-quick_exit.
13103         [ifeq ($(have-cxx-thread_local),yes)]
13104         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
13105         (CFLAGS-tst-thread-quick_exit.o): Likewise.
13106         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
13107         (LDLIBS-tst-thread-quick_exit): Likewise.
13108         [ifneq ($(have-cxx-thread_local),yes)]
13109         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
13110         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
13111         If run_dtors is true call __call_tls_dtors.
13112         (exit): Call __run_exit_handlers with run_dtors set to true.
13113         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
13114         definition.
13115         * stdlib/quick_exit.c (quick_exit): Remove function.
13116         (__new_quick_exit): New function.
13117         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
13118         function.
13119         * stdlib/tst-quick_exit.cc: New file.
13120         * stdlib/tst-thread-quick_exit.cc: New file.
13121         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
13122         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
13123         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
13124         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
13125         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
13126         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
13127         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
13128         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
13129         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
13130         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
13131         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
13132         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
13133         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
13134         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
13135         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
13136         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
13137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
13138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
13139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
13140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
13141         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
13142         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
13143         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
13144         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
13145         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
13146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
13147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
13148         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
13149         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
13150         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
13152 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
13154         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
13155         a typo in comments.
13157 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
13159         [BZ #20213]
13160         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
13161         argument to itself.
13162         * math/libm-test.inc (asin_test_data): Add sNaN tests.
13164 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13166         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
13167         required flags.
13168         (CFLAGS-pwritev64.c): Likewise.
13169         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
13170         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
13171         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
13172         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13173         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
13174         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
13175         syscall from auto-generation.
13176         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
13177         [WORDSIZE == 64] (pwritev64): Remove macro.
13178         [!PWRITEV] (PWRITEV): Likewise.
13179         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
13180         [!PWRITEV] (PWRITE): Likewise.
13181         [!PWRITEV] (OFF_T): Likewise.
13182         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
13183         (LO_HI_LONG): Remove macro.
13184         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
13185         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
13186         (PWRITEV): Remove macro.
13187         (PWRITEV_REPLACEMENTE): Likewise.
13188         (PWRITE): Likewise.
13189         (OFF_T): Likewise.
13190         (pwritev64): New function.
13191         * nptl/tst-cancel4.c (tf_writev): Add test.
13193         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
13194         required flags.
13195         (CFLAGS-preadv64.c): Likewise.
13196         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
13197         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
13198         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
13199         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
13200         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
13201         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
13202         syscall from auto-generation.
13203         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
13204         [WORDSIZE == 64] (preadv64): Remove macro.
13205         [!PREADV] (PREADV): Likewise.
13206         [!PREADV] (PREADV_REPLACEMENT): Likewise.
13207         [!PREADV] (PREAD): Likewise.
13208         [!PREADV] (OFF_T): Likewise.
13209         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
13210         (LO_HI_LONG): Remove macro.
13211         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
13212         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
13213         (PREADV): Remove macro.
13214         (PREADV_REPLACEMENTE): Likewise.
13215         (PREAD): Likewise.
13216         (OFF_T): Likewise.
13217         (preadv64): New function.
13218         * nptl/tst-cancel4.c (tf_preadv): Add test.
13220 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
13222         [BZ #20212]
13223         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
13224         argument to itself.
13225         * math/libm-test.inc (acos_test_data): Add sNaN tests.
13227 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13229         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
13230         New symbol defined as libc_hidden_def.
13231         (strcasestr): Became a weak alias to __strcasestr.
13232         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
13233         according to multi-arch support.  Move __stpncpy hidden
13234         definition from here to...
13235         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
13236         symbol stpncpy.
13237         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
13238         libc_hidden_builtin_def.
13239         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
13240         memset symbol to use when multi-arch support is available.
13242 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
13244         * dlfcn/tst-rec-dlopen.c: Include string.h.
13246 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13248         * manual/install.texi: Remove mention of --without-tls
13249         * INSTALL: Regenerate.
13251 2016-06-05  Florian Weimer  <fweimer@redhat.com>
13253         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
13254         Remove.
13255         (call_function, interposed_malloc_called): New variables.
13256         (malloc): New function.
13257         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
13258         and clear call_function as needed.
13260 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
13262         * include/wchar.h (__wmemset): Use __typeof.
13264 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
13266         * include/wchar.h (__wmemset): Declare function without typeof.
13268 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
13270         [BZ #20205]
13271         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
13272         exponent when incrementing negative subnormal with low mantissa
13273         word zero.
13274         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
13275         Add another test.
13277 2016-06-03  Florian Weimer  <fweimer@redhat.com>
13279         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
13280         __wmemset instead of wmemset.
13282 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
13284         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
13285         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
13286         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
13287         __USE_KERNEL_IPV6_DEFS to 0.
13288         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
13289         Update comment.
13291 2016-06-01  Florian Weimer  <fweimer@redhat.com>
13293         [BZ #19861]
13294         Do not use IFUNC resolver with potentially unrelocated symbol.
13295         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
13296         (DEFINE_FORK): Remove macro and inline definition.
13297         (fork_alias): Renamed from fork_ifunc.
13298         (__fork_alias): Renamed from __fork_ifunc.
13300 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
13302         [BZ 19653]
13303         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
13304         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
13306 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13308         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
13309         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
13310         i386-linux-gnu).
13311         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
13312         Set to no.
13313         * sysdeps/mach/hurd/configure: Refresh.
13315 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13317         [BZ #20178]
13318         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
13319         on failure instead of exit.
13321 2016-05-30  Roland McGrath  <roland@hack.frob.com>
13323         [BZ #3629]
13324         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
13325         of POSIX.1-2008.
13327 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13329         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
13330           Use PLT entry for calling _hurd_self_sigstate.
13332 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
13334         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
13335         available logical processors with SMT level type sharing L2
13336         cache for Intel processors.
13338 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
13340         [BZ #20160]
13341         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
13342         argument to itself before returning the result.
13343         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
13344         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
13345         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
13346         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
13347         Likewise.
13348         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
13349         Likewise.
13350         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
13351         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
13352         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
13353         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
13354         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
13355         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
13357         [BZ #20160]
13358         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
13359         argument to itself before returning the result.
13360         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
13361         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
13362         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
13363         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
13364         Likewise.
13365         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13366         Likewise.
13367         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
13368         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
13369         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
13370         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
13371         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
13372         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
13374 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13376         * libm-test.inc: Replace usage of M_El with
13377         (lit_e): New macro.
13379 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13381         * libm-test.inc: Replace usage of M_PI_4l with
13382         (lit_pi_4_d): New macro.
13384 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13386         * libm-test.inc: Replace usage of M_PIl with
13387         (lit_pi): New macro.
13389 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13391         * libm-test.inc: Replace usage of M_PI2l with
13392         (lit_pi_2_d): New macro.
13394         * math/test-double.h (LITM): New macro.
13395         * math/test-float.h (LITM): Likewise.
13396         * math/test-ldouble.h (LITM): Likewise.
13398 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13400         * libm-test.inc (M_PI_34l): Rename to
13401         (lit_pi_3_m_4_d): New Macro.
13402         (M_PI_34_LOG10El): Rename to
13403         (lit_pi_3_m_4_ln10_m_d): New Macro.
13404         (M_PI2_LOG10El): Rename to
13405         (lit_pi_2_ln10_m_d):  New Macro.
13406         (M_PI4_LOG10El): Rename to
13407         (lit_pi_4_ln10_m_d):  New Macro.
13408         (M_PI_LOG10El): Rename to
13409         (lit_pi_ln10_d):  New Macro.
13411 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
13413         [BZ #20157]
13414         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
13415         determine whether to negate low half if [_ARCH_PPCGR], and integer
13416         comparison otherwise.
13417         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
13418         determine whether to negate low half.
13420         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
13421         (NO_TEST_INLINE_DOUBLE): Likewise.
13422         (TEST_COND_x86_64): Likewise.
13423         (TEST_COND_x86): Likewise.
13424         (M_PI_6l): Likewise.
13426 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13428         * math/libm-test.inc:
13429         (TEST_FLOAT): Change usage to TEST_COND_binary32.
13430         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
13431         (TEST_LDOUBLE): Update usage to evaluate as true if
13432         the guarded tests match the property being tested.
13433         (LDBL_MAX_EXP): Change to MAX_EXP.
13434         (LDBL_MIN_EXP): Change to MIN_EXP.
13435         (LDBL_MANT_DIG): Change to MANT_DIG, except for
13436         nexttoward tests.
13438 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13440         * math/libm-test.inc:
13441         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
13442         (TYPE_MIN): Likewise.
13443         (TYPE_TRUE_MIN): Likewise.
13444         (TYPE_MAX): Likewise.
13445         (MIN_EXP): Likewise.
13446         (MAX_EXP): Likewise.
13447         (MANT_DIG): Likewise.
13449         (FSTR_MAX): New macro.
13450         (__CONCATX): Likewise.
13451         (QTYPE_STR): Likewise.
13452         (TEST_COND_binary32): Likewise.
13453         (TEST_COND_binary64): Likewise.
13454         (TEST_COND_binary128): Likewise.
13455         (TEST_COND_ibm128): Likewise.
13456         (TEST_COND_intel96): Likewise.
13457         (TEST_COND_m68k96): Likewise.
13459         (TEST_COND_flt_32): Redefine as equivalent format test macro.
13460         (TEST_COND_dbl_64): Likewise.
13461         (TEST_COND_ldbl_96_intel): Likewise.
13462         (TEST_COND_ldbl_96_m68k): Likewise.
13463         (TEST_COND_ldbl_128): Likewise.
13464         (TEST_COND_ldbl_128ibm): Likewise.
13466         (plus_zero): Redefine using LIT macro.
13467         (minus_zero): Likewise.
13468         (plus_infty): Redefine as (INF).
13469         (minux_infty): Redefine as (-INF).
13470         (max_value): Redefine as TYPE_MAX.
13471         (min_value): Redefine as TYPE_MIN.
13472         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
13474         (print_float): Refactor to use snprintf to convert FLOAT values
13475         to string. This brings it closer to dropin replacement of strtof
13476         for the TS 18661 defined types.
13477         (update_stats): Likewise.
13478         (print_complex_function_ulps): Likewise.
13479         (print_max_error): Likewise.
13480         (print_complex_max_error): Likewise.
13481         (check_float_internal): Likewise.
13483         * math/test-float.h (PREFIX): New macro.
13484         (LIT): Likewise.
13485         (TYPE_STR): Likewise.
13486         (FTOSTR): Likewise.
13488         * math/test-double.h (PREFIX): New macro.
13489         (LIT): Likewise.
13490         (TYPE_STR): Likewise.
13491         (FTOSTR): Likewise.
13493         * math/test-ldouble.h (PREFIX): New macro.
13494         (LIT): Likewise.
13495         (TYPE_STR): Likewise.
13496         (FTOSTR): Likewise.
13498 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
13500         [BZ #20156]
13501         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
13502         to itself when zero or not finite.
13503         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
13504         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13505         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
13506         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
13508 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
13510         [BZ #20153]
13511         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
13512         x * x + x for infinities and NaNs.
13514         [BZ #20151]
13515         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
13516         argument to itself before returning result.
13517         (__ieee754_y0l): Likewise.
13518         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13519         (__ieee754_y1l).
13521         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
13522         (atan_test_data): Likewise.
13523         (ceil_test_data): Likewise.
13524         (cos_test_data): Likewise.
13525         (cosh_test_data): Likewise.
13526         (erf_test_data): Likewise.
13527         (exp2_test_data): Likewise.
13528         (fabs_test_data): Likewise.
13529         (floor_test_data): Likewise.
13530         (ilogb_test_data): Likewise.
13531         (j0_test_data): Likewise.
13532         (j1_test_data): Likewise.
13533         (jn_test_data): Likewise.
13534         (lgamma_test_data): Likewise.
13535         (lrint_test_data): Likewise.
13536         (llrint_test_data): Likewise.
13537         (logb_test_data): Likewise.
13538         (lround_test_data): Likewise.
13539         (llround_test_data): Likewise.
13540         (nearbyint_test_data): Likewise.
13541         (rint_test_data): Likewise.
13542         (round_test_data): Likewise.
13543         (sin_test_data): Likewise.
13544         (sincos_test_data): Likewise.
13545         (sinh_test_data): Likewise.
13546         (sqrt_test_data): Likewise.
13547         (tan_test_data): Likewise.
13548         (tanh_test_data): Likewise.
13549         (tgamma_test_data): Likewise.
13550         (trunc_test_data): Likewise.
13551         (y0_test_data): Likewise.
13552         (y1_test_data): Likewise.
13553         (yn_test_data): Likewise.
13555         * math/libm-test.inc: Update comment about NaN testing.
13556         (TEST_SNAN): New macro.
13557         (snan_value): Likewise.
13558         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
13559         (fpclassify_test_data): Add sNaN tests.
13560         (isfinite_test_data): Likewise.
13561         (isinf_test_data): Likewise.
13562         (isnan_test_data): Likewise.
13563         (isnormal_test_data): Likewise.
13564         (issignaling_test_data): Likewise.
13565         (signbit_test_data): Likewise.
13566         * math/gen-libm-test.pl (%beautify): Add snan_value.
13567         (show_exceptions): Add argument $test_snan.
13568         (parse_args): Handle snan_value as non-finite.  Update call to
13569         show_exceptions.
13570         * math/Makefile (libm-test-no-inline-cflags): Add
13571         -fsignaling-nans.
13573 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13575         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
13576         (CFLAGS-oldsendmsg.c): Add rule.
13577         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
13578         Correct recvmsg symbol name.
13579         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
13580         Likewise.
13582 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13584         * sysdeps/unix/sysv/linux/Makefile
13585         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
13586         oldsendmmsg.
13587         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
13588         sendmmsg.
13589         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13590         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13591         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13592         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13594         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13595         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13596         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
13597         Likewise.
13598         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13599         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
13600         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
13601         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
13602         iovlen and controllen fields to adjust to POSIX specification.
13603         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13605         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
13606         and change to correct expected type.
13607         (msghdr.msg_controllen): Likewise.
13608         (cmsghdr.cmsg_len): Likewise.
13609         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
13610         expected POSIX assumption about the size.
13611         (msghdr.msg_controllen): Likewise.
13612         (msghdr.__glibc_reserved1): Likewise.
13613         (msghdr.__glibc_reserved2): Likewise.
13614         (cmsghdr.cmsg_len): Likewise.
13615         (cmsghdr.__glibc_reserved1): Likewise.
13616         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
13617         Add ptw-oldrecvmsg and ptw-oldsendmsg.
13618         (CFLAGS-sendmsg.c): Remove rule.
13619         (CFLAGS-recvmsg.c): Likewise.
13620         (CFLAGS-oldsendmsg.c): Add rule.
13621         (CFLAGS-oldrecvmsg.c): Likewise.
13622         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
13623         recvmsg and sendmsg.
13624         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
13625         Likewise.
13626         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
13627         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
13628         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
13629         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
13630         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
13631         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
13632         Likewise.
13633         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
13634         Likewise.
13635         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
13636         Likewise.
13637         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
13638         Likewise.
13639         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
13640         Likewise.
13641         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
13642         Likewise.
13643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
13644         (GLIBC_2.24): Likewise.
13645         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
13646         Likewise.
13647         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
13648         Likewise.
13649         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
13650         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
13651         Likewise.
13652         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
13653         Likewise.
13654         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
13655         Likewise.
13656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
13657         (GLIBC_2.24): Likewise.
13658         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
13659         Likewise.
13660         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
13661         Likewise.
13662         * sysdeps/unix/sysv/linux/Makefile
13663         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
13664         (CFLAGS-sendmsg.c): Add rule.
13665         (CFLAGS-recvmsg.c): Likewise.
13666         (CFLAGS-oldsendmsg.c): Likewise.
13667         (CFLAGS-oldrecvmsg.c): Likewise.
13668         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
13669         initialization.
13670         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
13671         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
13672         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
13673         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
13674         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
13675         iovlen and controllen fields to adjust to POSIX specification.
13676         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
13677         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
13678         added recvmsg and sendmsg.
13679         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13680         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13681         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13682         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13683         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13684         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13685         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13686         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13687         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13688         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13689         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13690         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
13691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13692         Likewise.
13693         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
13694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13695         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13696         Likewise.
13697         Likewise.
13698         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13699         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13700         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13701         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13702         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13703         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13705         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13707         Likewise.
13708         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13709         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13711         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
13712         from auto-generation.
13713         (sendmsg): Likewise.
13714         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
13715         (sendmsg): Likewise.
13716         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
13717         (sendmsg): Likewise.
13718         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
13719         (sendmsg): Likewise.
13720         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
13721         (sendmsg): Likewise.
13722         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
13723         (sendmsg): Likewise.
13724         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
13725         Likewise.
13726         (sendmsg): Likewise.
13727         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
13728         (sendmsg): Likewise.
13729         * sysdeps/unix/sysv/linux/i386/kernel-features.h
13730         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13731         Remove.
13732         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13733         Likewise.
13734         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13735         Undefine.
13736         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13737         Likewise.
13738         * sysdeps/unix/sysv/linux/kernel-features.h
13739         (__ASSUME_SENDMSG_SYSCALL): Define.
13740         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13741         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13742         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13743         Remove.
13744         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13745         Likewise.
13746         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13747         Undefine.
13748         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13749         Likewise.
13750         * sysdeps/unix/sysv/linux/s390/kernel-features.h
13751         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13752         Remove.
13753         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13754         Likewise.
13755         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13756         Undefine.
13757         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13758         Likewise.
13759         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13760         (__ASSUME_SENDMSG_SYSCALL): Undefine.
13761         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13762         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13763         (__ASSUME_SENDMSG_SYSCALL): Likewise.
13764         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13765         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13766         (__ASSUME_SENDMSG_SYSCALL): Likewise.
13767         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13769 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13771         * stdlib/gen-tst-strtod-round.c: Add backslash to
13772         compile command in comment.
13773         (printfp): Remove the literal suffix, and define an infinite
13774         value as INF to avoid expansion clash with INFINITY.
13775         (round_str): Remove the literal suffix.
13776         (round_for_all): Likewise, remove the now duplicate ldbl-64
13777         entry, and remove some magic constants.
13779         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
13780         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
13781         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
13782         (_CONCAT): New macro.
13783         (CONCAT): Likewise.
13784         (CHOOSE_ld): Likewise.
13785         (CHOOSE_f): Likewise.
13786         (CHOOSE_d): Likewise.
13787         (FTYPE_MEMBER): Likewise.
13788         (BOOL_MEMBER): Likewise.
13789         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
13790         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
13791         (_XNTRY): Likewise.
13792         (XNTRY): Likewise.
13793         (_ENTRY): Likewise.
13794         (ENTRY): Likewise.
13795         (test_exactness): Generate members via macro.
13796         (test_results): Likewise.
13797         (test): Update members.
13798         (TEST): Redefine using new macros.
13799         (INF): New macro.
13800         (fetestmodes): New structure.
13801         (do_test): Refactor to be type generic.
13802         (test_in_one_mode): Refactor duplicate code into
13803         (GEN_ONE_TEST): New macro.
13805         * stdlib/tst-strtod-round-data.h: Regenerate.
13807         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
13808         Extend to pass additional arbitrary parameters to
13809         generators.
13811 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
13813         [BZ #15479]
13814         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
13815         floating-point state after first floating-point operation on
13816         input.  Restore full floating-point state instead of just rounding
13817         mode.
13818         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
13819         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
13820         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
13821         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
13822         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
13824         [BZ #15479]
13825         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
13826         floating-point state after first floating-point operation on
13827         input.  Restore full floating-point state instead of just rounding
13828         mode.
13829         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
13830         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
13831         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
13832         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
13833         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
13835 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13837         [BZ #19727]
13838         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
13839         valid high surrogate.
13840         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
13841         of an utf16 surrogate.
13842         * iconv/gconv_simple.c (BODY): Likewise.
13843         * iconvdata/bug-iconv12.c: New file.
13844         * iconvdata/Makefile (tests): Add bug-iconv12.
13846 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13848         [BZ #19726]
13849         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
13850         outptrp in case of an illegal input.
13851         * iconv/tst-iconv6.c: New file.
13852         * iconv/Makefile (tests): Add tst-iconv6.
13854 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13856         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
13857         an error in case of a value in range of an utf16 low surrogate.
13859 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13861         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
13862         an error in case of a value in range of an utf16 low surrogate.
13864 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13866         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
13867         Move to ...
13868         * sysdeps/s390/Makefile: ... here.
13869         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
13870         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
13871         (BRANCH_ON_COUNT): New define.
13872         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
13873         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
13874         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
13875         run on s390-32, too.
13876         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
13877         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
13878         run on s390-32, too.
13879         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
13880         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
13881         run on s390-32, too.
13883 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13885         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
13886         etf3eh or new vector loop-variant.
13888 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13890         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
13891         etf3eh or new vector loop-variant.
13893 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13895         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
13896         or new vector loop-variant.
13898 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13900         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
13901         Rename to TR_LOOP and usage of tr instead of troo instruction.
13903 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13905         * sysdeps/s390/multiarch/gconv_simple.c: New File.
13906         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
13908 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13910         * sysdeps/s390/multiarch/8bit-generic.c: New File.
13911         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
13912         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
13913         New override define.
13914         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
13916 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13918         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
13919         * sysdeps/s390/configure.ac: Add test for S390 vector register
13920         support in gcc.
13921         * sysdeps/s390/configure: Regenerated.
13923 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13925         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
13926         Install file from $(objpfx)gconv-modules.
13927         ($(objpfx)gconv-modules): Concatenate architecture specific file
13928         in variable sysdeps-gconv-modules and gconv-modules in src dir.
13929         * sysdeps/s390/gconv-modules: New file.
13930         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
13931         Deleted.
13932         ($(objpfx)gconv-modules-s390): Deleted.
13933         (sysdeps-gconv-modules): New variable.
13935 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
13937         [BZ #15479]
13938         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
13939         of immediate operand to rounding instruction.
13940         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
13941         Likewise.
13942         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
13943         Likewise.
13944         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
13945         Likewise.
13947 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13949         * math/libm-test.inc (MIN_EXP): Directly define as
13950         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
13952 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13954         * math/libm-test.inc (MANT_DIG): Directly define as
13955         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
13957 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13959         * stdlib/gen-tst-strtod-round.c (main):
13960           Change usage to more closely match the generated
13961           output.  Add usage and compilation instructions.
13962           (string_to_fp): Add and use FILE* parameter as
13963           output target.
13964           (print_fp): Likewise.
13965           (round_str): Likewise.
13966           (round_for_all): Likewise.
13967         * stdlib/tst-strtod-round.c (tests): Move into
13968         * stdlib/tst-strtod-round-data.h: New file.
13970 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
13972         [BZ #15479]
13973         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
13974         (__round): Do not force "inexact" exception.
13975         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
13976         variable.
13977         (__round): Do not force "inexact" exception.
13978         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
13979         (__roundf): Do not force "inexact" exception.
13980         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
13981         (__roundl): Do not force "inexact" exception.
13982         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
13983         (__roundl): Do not force "inexact" exception.
13984         * math/libm-test.inc (round_test_data): Do not allow spurious
13985         "inexact" exceptions.
13987         [BZ #15479]
13988         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
13989         exception in comment.
13990         (huge): Remove variable.
13991         (__floor): Do not force "inexact" exception.
13992         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
13993         "inexact" exception in comment.
13994         (huge): Remove variable.
13995         (__floor): Do not force "inexact" exception.
13996         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
13997         exception in comment.
13998         (huge): Remove variable.
13999         (__floorf): Do not force "inexact" exception.
14000         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
14001         exception in comment.
14002         (huge): Remove variable.
14003         (__floorl): Do not force "inexact" exception.
14005         [BZ #15479]
14006         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
14007         exception in comment.
14008         (huge): Remove variable.
14009         (__ceil): Do not force "inexact" exception.
14010         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
14011         "inexact" exception in comment.
14012         (huge): Remove variable.
14013         (__ceil): Do not force "inexact" exception.
14014         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
14015         (__ceilf): Do not force "inexact" exception.
14016         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
14017         exception in comment.
14018         (huge): Remove variable.
14019         (__ceill): Do not force "inexact" exception.
14021 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
14023         * config.h.in (BIND_NOW): New.
14024         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
14025         * configure: Regenerated.
14026         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
14027         indirect branch via the GOT slot.
14029 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14031         [BZ #19765]
14032         * sysdeps/s390/mempcpy.S: New File.
14033         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
14034         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
14035         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14036         Add mempcpy variants.
14037         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
14038         (memcpy): Adjust to be usable from mempcpy entry point.
14039         (__memcpy_mvcle): Likewise.
14040         * sysdeps/s390/s390-64/memcpy.S: Likewise.
14041         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
14042         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
14043         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
14044         (__memcpy_z10): Likewise.
14045         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
14047 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14049         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
14050         Remove __GI_ symbol.
14051         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
14052         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
14053         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
14054         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
14055         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
14056         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
14058 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14060         * sysdeps/s390/s390-64/memcpy.S (memcpy):
14061         Use cghi instead of chi to compare 64bit value.
14063 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14065         * sysdeps/s390/s390-32/memcpy.S (memcpy):
14066         Jump to 1MB check before executing mvc-loop.
14068 2016-05-24  Florian Weimer  <fweimer@redhat.com>
14070         [BZ #6527]
14071         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
14072         unconditionally.
14073         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
14075 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14077         * stdlib/tst-strtod6.c (do_test): Use new type generic
14078         invocation of the test function.
14079         (test): Refactor into ...
14080         (TEST_STRTOD): New macro base function.
14082 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14084         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
14085         (TEST_STRTOD): New macro.
14086         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
14088 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14090         * stdlib/tst-strtod6.c (do_test): Use new type generic
14091         invocation of the test function.
14092         (test): Refactor into ...
14093         (TEST_STRTOD): New macro base function.
14095 2016-05-23  Florian Weimer  <fweimer@redhat.com>
14097         CVE-2016-4429
14098         [BZ #20112]
14099         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
14100         payload.
14102 2016-05-23  Florian Weimer  <fweimer@redhat.com>
14104         [BZ #20111]
14105         * bits/sockaddr.h (_SS_SIZE): Define.
14106         * bits/socket.h (_SS_SIZE): Remove.
14107         (_SS_PADSIZE): Adjust to account for all padding.
14108         (struct sockaddr_storage): Update comment.  Avoid implicit
14109         padding.
14110         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
14111         (_SS_PADSIZE): Adjust to account for all padding.
14112         (struct sockaddr_storage): Update comment.  Avoid implicit
14113         padding.
14114         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
14115         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
14116         (_SS_PADSIZE): Adjust to account for all padding.
14117         (struct sockaddr_storage): Update comment.  Avoid implicit
14118         padding.
14119         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
14120         __SS_SIZE is 126 in this version.
14121         * inet/tst-sockaddr.c: New file.
14122         * inet/Makefile (tests): Add tst-sockaddr.c
14123         (tst-sockaddr.c): Compile with non-strict aliasing.
14125 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
14127         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
14128         [XPG3 || XPG4].
14129         (NL_ARGMAX): Also expect for [XPG3].
14130         (NL_LANGMAX): Likewise.
14131         (NL_MSGMAX): Likewise.
14132         (NL_NMAX): Likewise.
14133         (NL_SETMAX): Likewise.
14134         (NL_TEXTMAX): Likewise.
14135         (NZERO): Likewise.
14136         (TMP_MAX): Likewise.
14137         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
14138         variable.
14140         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
14141         (PF_MAX): Update value.
14142         (AF_KCM): New macro.
14143         (SOL_NETBEUI): Likewise.
14144         (SOL_LLC): Likewise.
14145         (SOL_DCCP): Likewise.
14146         (SOL_NETLINK): Likewise.
14147         (SOL_TIPC): Likewise.
14148         (SOL_RXRPC): Likewise.
14149         (SOL_PPPOL2TP): Likewise.
14150         (SOL_BLUETOOTH): Likewise.
14151         (SOL_PNPIPE): Likewise.
14152         (SOL_RDS): Likewise.
14153         (SOL_IUCV): Likewise.
14154         (SOL_CAIF): Likewise.
14155         (SOL_ALG): Likewise.
14156         (SOL_NFC): Likewise.
14157         (SOL_KCM): Likewise.
14158         (MSG_BATCH): New enum value and macro.
14160 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
14162         [BZ #18185]
14163         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
14164         sharing L2 cache to 2 for Knights Landing.
14166 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
14168         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
14169         (FTW_DP): Do not expect for [XPG3 || XPG4].
14170         (FTW_SL): Do not expect for [XPG3].
14171         (FTW_SLN): Likewise.
14172         (FTW_PHYS): Likewise.
14173         (FTW_MOUNT): Likewise.
14174         (FTW_DEPTH): Likewise.
14175         (FTW_CHDIR): Likewise.
14176         (nftw): Likewise.
14177         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
14178         variable.
14180 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
14182         * manual/errno.texi: Fix various typos & grammar errors.
14184 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
14186         * manual/intro.texi: Fix duplicated typo.
14188 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
14190         [BZ #13304]
14191         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
14192         <float.h>, <math_private.h> and <stdlib.h>.
14193         (add_split): New function.
14194         (mul_split): Likewise.
14195         (ext_val): New typedef.
14196         (store_ext_val): New function.
14197         (mul_ext_val): New function.
14198         (compare): New function.
14199         (add_split_ext): New function.
14200         (__fmal): After checking for Inf, NaN and zero, compute result as
14201         an exact sum of scaled double values in round-to-nearest before
14202         adding those up and adjusting for other rounding modes.
14203         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
14204         tests of fma.
14205         * math/auto-libm-test-out: Regenerated.
14207 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
14209         [BZ #20119]
14210         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
14211         processor level type mask for CPUID with EAX == 11.
14213 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
14215         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
14216         logical threads if the HTT bit is 0.
14217         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
14218         (index_cpu_HTT): Likewise.
14219         (reg_HTT): Likewise.
14221 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
14223         [BZ #20115]
14224         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
14225         Remove alignments on jump targets.
14227 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
14229         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
14230         (getpwent): Likewise.
14231         (setpwent): Likewise.
14232         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
14233         variable.
14235         * conform/data/search.h-data (insque): Do not expect for [XPG3].
14236         (remque): Likewise.
14237         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
14238         variable.
14240 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
14242         * math/libm-test.inc: Update comment not to refer to signs of NaNs
14243         not being tested.
14245 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14247         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14248         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
14249         call.
14250         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14251         (__condvar_cleanup1): Likewise.
14253 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14255         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
14256         New
14257         (__pthread_unwind): Renamed to ...
14258         (PTHREAD_UNWIND): This.
14259         (__pthread_enable_asynccancel): Replace
14260         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
14262 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
14264         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
14265         (CLONE_NEWCGROUP): New macro.
14267         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
14268         (Q_GETNEXTQUOTA): New macro.
14270 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14272         [BZ #19907]
14273         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
14274         buffer updated by the previous run.
14275         * string/test-memcpy.c (do_one_test): Likewise.
14276         * benchtests/bench-memmove.c (do_one_test): Add a comment.
14277         * string/test-memmove.c (do_one_test): Likewise.
14279 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
14281         [BZ #20094]
14282         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
14283         not [__USE_XOPEN].
14284         (unlockpt): Likewise.
14285         (ptsname): Likewise.
14286         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
14287         variable.
14289         [BZ #20076]
14290         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
14291         instead of [__USE_UNIX98].
14292         (S_ISSOCK): Likewise.
14293         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
14294         variable.
14296         [BZ #20074]
14297         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
14298         [__USE_POSIX].
14299         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
14300         variable.
14302         [BZ #20051]
14303         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
14304         (ttyslot): Do not declare.
14305         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
14306         (ttyslot): New prototype.
14307         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
14308         variable.
14309         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14311 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14313         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
14315 2016-05-13  Florian Weimer  <fweimer@redhat.com>
14317         Fix race condition in tst-mallocfork2, use fewer resources.
14318         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
14319         to current process group.
14320         (signal_sender): Yield in the non-sleeping case.
14322 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
14324         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
14325         (ecvt): Likewise.
14326         (fcvt): Likewise.
14327         (gcvt): Likewise.
14328         (getsubopt): Likewise.
14329         (grantpt): Likewise.
14330         (initstate): Likewise.
14331         (l64a): Likewise.
14332         (mktemp): Likewise.
14333         (mkstemp): Likewise.
14334         (ptsname): Likewise.
14335         (random): Likewise.
14336         (realpath): Likewise.
14337         (setstate): Likewise.
14338         (srandom): Likewise.
14339         (ttyslot): Likewise.
14340         (unlockpt): Likewise.
14341         (valloc): Likewise.
14343         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
14344         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
14345         variable.
14347 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
14349         [BZ #20072]
14350         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
14351         init_cpu_features only if SHARED is defined.
14352         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
14354 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
14356         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
14357         non-inclusive caches on Intel processors.
14359 2016-05-13  Florian Weimer  <fweimer@redhat.com>
14361         * malloc/malloc.c (dumped_main_arena_start)
14362         (dumped_main_arena_end): New variables.
14363         (DUMPED_MAIN_ARENA_CHUNK): New macro.
14364         (do_check_chunk): Skip dumped fake mmapped chunks.
14365         (munmap_chunk): Likewise.
14366         (__libc_free): Do not adjust statistics for fake mmapped chunks.
14367         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
14368         mmapped chunks.
14369         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
14370         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
14371         and dumped_main_arena_end to cover the dumped heap.
14373 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
14375         * conform/data/time.h-data (getdate_err): Do not expect for
14376         [XPG3].
14377         (getdate): Likewise.
14378         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
14379         variable.
14381         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
14382         (F_ULOCK): Likewise.
14383         (F_TEST): Likewise.
14384         (F_TLOCK): Likewise.
14385         (useconds_t): Likewise.
14386         (intptr_t): Do not expect for [XPG3] or [XPG4].
14387         (brk): Do not expect for [XPG3]
14388         (fchown): Likewise.
14389         (fchdir): Likewise.
14390         (ftruncate): Likewise.
14391         (getdtablesize): Likewise.
14392         (gethostid): Likewise.
14393         (getpagesize): Likewise.
14394         (getpgid): Likewise.
14395         (getsid): Likewise.
14396         (getwd): Likewise.
14397         (lchown): Likewise.
14398         (lockf): Likewise.
14399         (readlink): Likewise.
14400         (sbrk): Likewise.
14401         (setpgrp): Likewise.
14402         (setregid): Likewise.
14403         (setreuid): Likewise.
14404         (symlink): Likewise.
14405         (sync): Likewise.
14406         (truncate): Likewise.
14407         (ualarm): Likewise.
14408         (usleep): Likewise.
14409         (vfork): Likewise.
14410         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
14411         variable.
14413         [BZ #20054]
14414         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
14415         not [__USE_UNIX98].
14416         * conform/data/unistd.h-data (gethostname): Do not expect for
14417         [XPG3].
14419         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
14420         [!POSIX] (S_IFBLK): Likewise.
14421         [!POSIX] (S_IFCHR): Likewise.
14422         [!POSIX] (S_IFIFO): Likewise.
14423         [!POSIX] (S_IFREG): Likewise.
14424         [!POSIX] (S_IFDIR): Likewise.
14425         [!POSIX] (S_IFLNK): Likewise.
14426         [!POSIX] (S_IFSOCK): Likewise.
14427         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
14428         variable.
14429         (test-xfail-XPG4/fcntl.h/conform): Likewise.
14431 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
14433         * sysdeps/aarch64/memset.S (__memset):
14434         Rewrite of optimized memset.
14436 2016-05-12  Florian Weimer  <fweimer@redhat.com>
14438         [BZ #19703]
14439         Partially async-signal-safe fork for single-threaded processes.
14440         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
14441         variable.  Do not acquire and reset/release malloc and libio locks
14442         in single-threaded processes.
14443         * malloc/tst-mallocfork2.c: New file.
14444         * malloc/Makefile (tests): Add it.
14446 2016-05-12  Florian Weimer  <fweimer@redhat.com>
14448         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
14449         argument.  Use scratch buffer instead of extend_alloca.
14450         (gethosts): Use scratch buffer instead of extend_alloca.
14451         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
14452         extend_alloca.
14453         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
14455 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
14457         [BZ #20055]
14458         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
14459         instead of [__USE_UNIX98].
14460         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
14461         [__USE_UNIX98].
14462         * conform/data/termios.h-data (tcgetsid): Do not expect for
14463         [XPG3].
14464         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
14465         variable.
14466         (test-xfail-XPG4/termios.h/conform): Likewise.
14468 2016-05-11  Florian Weimer  <fweimer@redhat.com>
14470         Do not use mcheck in localedef.
14471         * locale/programs/localedef.c (turn_on_mcheck)
14472         (__malloc_initialize_hook): Remove.
14474 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14476         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
14477         * sysdeps/s390/s390-64/Makefile: Likewise.
14479 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
14481         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
14482         Remove ifunc-defines.sym.
14483         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
14484         Likewise.
14485         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
14486         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
14487         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
14488         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
14489         rtld-global-offsets.sym.
14490         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
14491         * sysdeps/x86/cpu-features-offsets.sym: This.
14492         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
14493         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
14495 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
14497         [BZ #20073]
14498         * io/sys/stat.h (fchmod): Declare for
14499         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
14500         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
14501         variable.
14503         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
14504         [XPG3] (S_IFSOCK): Likewise.
14505         [XPG3] (S_ISVTX): Likewise.
14506         [XPG3] (S_ISLNK): Likewise.
14507         [XPG3] (S_ISSOCK): Likewise.
14508         [XPG3] (fchmod): Likewise.
14509         [XPG3] (lstat): Likewise.
14510         [XPG3] (mknod): Likewise.
14512         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
14513         [XPG3].  Expect type long and XFAIL for [XPG4].
14514         (st_blocks): Likewise.
14516         [BZ #20044]
14517         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
14518         (pthread_atfork): New prototype.
14519         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
14520         variable.
14522         [BZ #20043]
14523         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
14524         prototype.
14526 2016-05-10  Florian Weimer  <fweimer@redhat.com>
14528         [BZ #20017]
14529         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
14530         gmtime.
14532 2016-05-10  Florian Weimer  <fweimer@redhat.com>
14534         [BZ #19994]
14535         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
14536         flag in _res.options.
14538 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
14540         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
14541         [XPG3 || XPG4].
14542         (blksize_t): Likewise.
14543         (clockid_t): Likewise.
14544         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
14545         variable.
14546         (test-xfail-XPG4/sys/types.h/conform): Likewise.
14548 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
14550         * sysdeps/unix/sysv/linux/s390/init-first.c:
14551         Add VDSO_SYMBOL(getcpu).
14552         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
14553         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
14554         Add VDSO_SYMBOL(getcpu).
14555         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
14556         New define HAVE_GETCPU_VSYSCALL.
14557         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14559 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
14561         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
14562         instead of <sysdeps/x86_64/cacheinfo.c>.
14563         * sysdeps/x86_64/cacheinfo.c: Moved to ...
14564         * sysdeps/x86/cacheinfo.c: Here.
14566 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14568         * malloc/malloc-internal.h: Adjust header file guard.
14570 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14572         [BZ #19787]
14573         * inet/getnameinfo.c (check_sprintf_result): New function.
14574         (CHECKED_SNPRINTF): New macro.
14575         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
14576         to the host buffer.
14577         (gni_host_local): Use checked_copy to copy the host name.
14578         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
14579         (gni_serv_local): Use checked_copy to copy the service name.
14580         (getnameinfo): Remove unnecessary truncation of result buffers.
14582 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14584         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
14585         in case of inet_ntop failure.
14587 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14589         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
14590         avoid long lines.
14591         (gni_host_inet_numeric): Likewise.  Reduce scope of local
14592         variables.
14593         (gni_host_inet, gni_host_local): Add comment.
14594         (gni_host): Add comment.  Use temporary to avoid long lines.
14596 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14598         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
14599         registers specifiers where general purpose registers specifiers should
14600         have been used.
14602 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14604         [BZ #19779]
14605         CVE-2016-1234
14606         Avoid copying names of directory entries.
14607         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
14608         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
14609         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
14610         (struct readdir_result): New type.
14611         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
14612         (GL_READDIR): New macros.
14613         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
14614         (convert_dirent, convert_dirent64): New functions.
14615         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
14616         convert_dirent64.  Adjust references to the readdir result.
14617         * sysdeps/unix/sysv/linux/i386/glob64.c:
14618         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
14619         * posix/bug-glob2.c (LONG_NAME): Define.
14620         (filesystem): Add LONG_NAME.
14621         (my_DIR): Increase the size of room_for_dirent.
14623 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
14625         [BZ #20041]
14626         * misc/sys/select.h (__need_timespec): Only define if
14627         [__USE_XOPEN2K].
14628         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
14629         variable.
14630         (test-xfail-XPG4/utmpx.h/conform): Likewise.
14631         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14632         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14634 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14635             Segher Boessenkool  <segher@gcc.gnu.org>
14637         [BZ #20004]
14638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
14639         (__novec_swapcontext): Add missing load.
14641 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
14643         [BZ #20023]
14644         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
14645         <time.h>.
14646         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
14647         variable.
14648         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14650 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
14653         flags CLONE_VM compare.
14655 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14657         [BZ #20031]
14658         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
14659         completely empty.
14661 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14663         [BZ #19573]
14664         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
14665         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
14666         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
14667         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
14668         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
14669         (hesiod_free_list): Mark as hidden.
14670         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
14671         res_set, res_get.
14672         * hesiod/hesiod.c: Remove unnecessary forward declarations.
14673         (init, __hesiod_res_get, __hesiod_res_set): Remove.
14674         (hesiod_init): Remove obsolete res_ninit call.
14675         (hesiod_end): Do not free resolver state.  Do not invoke callback.
14676         (hesiod_bind): Do not call init.
14677         (get_txt_records): Use res_mkquery, res_send instead of
14678         res_nmkquery, res_nsend.
14679         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
14680         instead of _nss_hesiod_init.
14681         (_nss_hesiod_initgroups_dyn): Likewise.
14682         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
14683         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
14684         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
14686 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14688         * hesiod/hesiod_p.h (DEF_RHS): Remove.
14689         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
14691 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14693         * hesiod/hesiod.h: Remove RCS keyword.
14694         * hesiod/hesiod_p.h: Likewise.
14696         * hesiod/hesiod.c: Likewise.
14698 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
14700         [BZ #12450]
14701         * locale/iso-639.def: Add Samogitian/sgs.
14703 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
14705         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
14707         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
14709 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
14710             Carlos O'Donell  <carlos@redhat.com>
14712         [BZ #19072]
14713         * grp/Makefile (headers): Add grp-merge.h
14714         (routines): Add grp-merge.
14715         * grp/getgrgid_r.c: Include grp-merge.h.
14716         (DEEPCOPY_FN): Define.
14717         (MERGE_FN): Define.
14718         * grp/getgrname_r.c: Include grp-merge.h.
14719         (DEEPCOPY_FN): Define.
14720         (MERGE_FN): Define.
14721         * grp/grp-merge.c: New file.
14722         * grp/grp-merge.h: New file.
14723         * include/grp-merge.h: New file.
14724         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
14725         __copy_grp@GLIBC_PRIVATE.
14726         * manual/nss.texi (Actions in the NSS configuration): Describe
14727         return, continue, and merge.
14728         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
14729         (DEEPCOPY_FN): Define.
14730         (MERGE_FN): Define.
14731         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
14732         (DEEPCOPY_FN): Define.
14733         (MERGE_FN): Define.
14734         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
14735         [!MERGE_FN]: Define __merge_einval.
14736         (CHECK_MERGE): Define.
14737         (REENTRANT_NAME): Process merge if do_merge is true.
14738         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
14739         (__nss_getent_r): Likewise.
14740         * nss/nsswitch.c (nss_parse_service_list): Likewise.
14741         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
14743 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14745         [BZ #20012]
14746         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
14747         length to calculate the buffer to read.
14748         (fmemopen_write): Set the buffer position based on bytes written.
14749         (fmemopen_seek): Return EINVAL for invalid whence modes.
14751         [BZ #19957]
14752         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
14753         tst-getpid2.
14754         (test): Add tst-clone2.
14755         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
14756         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
14757         pid/tid fields for CLONE_VM.
14758         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
14759         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
14760         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
14761         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
14762         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
14763         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
14764         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
14765         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
14766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
14767         Likewise.
14768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14769         Likewise.
14770         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
14771         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
14772         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
14773         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
14774         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
14775         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
14776         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
14777         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
14779 2016-04-29  Florian Weimer  <fweimer@redhat.com>
14781         [BZ #19642]
14782         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
14783         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
14784         (gni_serv_local, gni_serv): New functions extracted from
14785         getnameinfo.
14786         (getnameinfo): Call gni_host and gni_serv to perform the
14787         processing.  Always free scratch buffer.
14789 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14791         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
14792         remaining bytes in the dest string, with zeros.
14794 2016-04-29  Florian Weimer  <fweimer@redhat.com>
14796         [BZ #20010]
14797         CVE-2016-3706
14798         * sysdeps/posix/getaddrinfo.c
14799         (convert_hostent_to_gaih_addrtuple): New function.
14800         (gethosts): Call convert_hostent_to_gaih_addrtuple.
14801         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
14802         AF_INET data.
14804 2016-04-29  Florian Weimer  <fweimer@redhat.com>
14806         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
14807         callback function gl_readdir.
14808         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
14809         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
14810         (glob_in_dir): Remove len.  Use strdup instead of malloc and
14811         memcpy to copy the name.
14812         * manual/pattern.texi (Calling Glob): Document requirements for
14813         implementations of the gl_readdir callback function.
14814         * manual/examples/mkdirent.c: New example.
14815         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
14816         per the manual guidance.
14817         * posix/tst-gnuglob.c (my_readdir): Likewise.
14819 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
14821         [BZ #20014]
14822         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
14823         not [__USE_POSIX].
14824         (getchar_unlocked): Likewise.
14825         (putc_unlocked): Likewise.
14826         (putchar_unlocked): Likewise.
14827         (flockfile): Likewise.
14828         (ftrylockfile): Likewise.
14829         (funlockfile): Likewise.
14830         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
14831         variable.
14832         (test-xfail-XPG4/stdio.h/conform): Likewise.
14834         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
14835         Expect constant.
14836         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
14837         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
14838         variable.
14839         (test-xfail-XPG4/langinfo.h/conform): Likewise.
14840         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14842         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
14843         [__USE_LARGEFILE64] (off64_t): Likewise.
14844         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
14845         variable.
14847 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14849         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
14851 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14853         * resolv/inet_addr.c: Reindent preprocessor conditionals.
14854         * resolv/res_init.c: Likewise.
14855         * resolv/res_mkquery.c: Likewise.
14857 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14859         * resolv/res_init.c (isascii): Do not define.  Use definition in
14860         <ctype.h>.
14861         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
14862         (LOG_AUTH): Remove.
14863         (SPRINTF): Remove, adjust caller.
14864         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
14866 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14868         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
14869         SUNSECURITY conditional.
14870         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
14872 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14874         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
14875         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
14876         Remove BSD-related preprocessor conditionals.
14877         * conf/portability.h: Remove.
14879 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14881         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
14882         * resolv/res_data.c: Likewise.
14884 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14886         * resolv/res_comp.c: Remove code conditional on __ultrix__.
14887         * resolv/res_data.c: Remove code conditional on ultrix.
14889 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14891         * resolv/res_init.c (RFC1535): Do not define.  Remove
14892         RFC1535 preprocessor conditionals.
14893         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
14894         because there configuration options which make the resolver
14895         behavior different.
14897 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14899         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
14900         RESOLVSORT preprocessor conditionals.
14901         * resolv/nss_dns/dns-host.c: Likewise.
14902         * resolv/res_init.c: Likewise.
14904 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14906         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
14907         is never defined.
14909 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14911         * inet/inet_lnaof.c: Remove SCSS keyword.
14912         * inet/inet_mkadr.c: Likewise.
14913         * inet/inet_net.c: Likewise.
14914         * inet/inet_netof.c: Likewise.
14915         * inet/rcmd.c: Likewise.
14916         * inet/rexec.c: Likewise.
14917         * inet/ruserpass.c: Likewise.
14919 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14921         * resolv/inet_addr.c: Remove _LIBC conditionals.
14922         * resolv/res_data.c: Likewise.
14923         * resolv/res_init.c: Likewise.
14924         * resolv/res_mkquery.c: Likewise.
14925         * resolv/res_libc.c: Update comment.
14926         * resolv/README: Update.
14928 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14930         * resolv/gethnamaddr.c: Remove SCSS keyword.
14931         * resolv/herror.c: Likewise.
14932         * resolv/inet_addr.c: Likewise.
14933         * resolv/inet_net_ntop.c: Likewise.
14934         * resolv/inet_net_pton.c: Likewise.
14935         * resolv/inet_neta.c: Likewise.
14936         * resolv/inet_ntop.c: Likewise.
14937         * resolv/inet_pton.c: Likewise.
14938         * resolv/ns_date.c: Remove RCS keyword.
14939         * resolv/ns_name.c: Likewise.
14940         * resolv/ns_netint.c: Likewise.
14941         * resolv/ns_parse.c: Likewise.
14942         * resolv/ns_print.c: Likewise.
14943         * resolv/ns_samedomain.c: Likewise.
14944         * resolv/ns_ttl.c: Likewise.
14945         * resolv/nsap_addr.c: Likewise.
14946         * resolv/res_comp.c: Remove SCSS and RCS keyword.
14947         * resolv/res_data.c: Remove RCS keyword.
14948         * resolv/res_debug.c: Remove SCSS and RCS keyword.
14949         * resolv/res_init.c: Likewise.
14950         * resolv/res_mkquery.c: Likewise.
14951         * resolv/res_query.c: Likewise.
14952         * resolv/res_send.c: Likewise.
14954 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
14956         * conform/data/stdio.h-data (fdopen): Expect also for
14957         [XPG3 || XPG4].
14959         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
14960         (fseeko): Likewise.
14961         (ftello): Likewise.
14962         (ftrylockfile): Likewise.
14963         (funlockfile): Likewise.
14964         (getc_unlocked): Likewise.
14965         (getchar_unlocked): Likewise.
14966         (putc_unlocked): Likewise.
14967         (putchar_unlocked): Likewise.
14969 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14971         [BZ #19868]
14972         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
14973         DNS packet syntax checks (which were not needed before).  Skip
14974         over non-PTR records.
14976 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14978         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
14979         definition.  Include <stddef.h> instead.
14981 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14983         [BZ #19831]
14984         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
14985         function.
14986         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
14987         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
14989 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14991         [BZ #19862]
14992         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
14993         (getanswer_r): Do not call syslog.
14994         (gaih_getanswer_slice): Likewise.
14995         * resolv/gethnamaddr.c (AskedForGot): Remove.
14996         (getanswer): Do not call syslog.
14997         (gethostbyaddr): Likewise.
14999 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
15001         * conform/data/signal.h-data (union sigval): Expect also if
15002         [XOPEN2K].
15003         (struct sigevent): Likewise.
15004         (SIGEV_NONE): Likewise.
15005         (SIGEV_SIGNAL): Likewise.
15006         (SIGEV_THREAD): Likewise.
15007         (SIGRTMIN): Likewise.
15008         (SIGRTMAX): Likewise.
15009         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
15010         variable.
15011         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15013 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15015         [BZ #19830]
15016         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
15017         (gaih_getanswer_slice): Likewise.
15018         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
15019         Also check for availability of RR metadata.
15021 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15023         [BZ #19825]
15024         * resolv/res_send.c (send_vc): Remove early *resplen2
15025         initialization.  Set *resplen2 on socket error.  Call
15026         close_and_return_error for other errors.
15028 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
15030         * sysdeps/unix/sysv/linux/netiucv/iucv.h
15031         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
15032         (SCM_IUCV_TRGCLS): New define.
15034 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15036         [BZ #20005]
15037         * libio/fmemopen.c (fmemopen_write): Update internal position after
15038         write.
15039         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
15040         * stdio-common/tst-fmemopen4.c: New file..
15042 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
15044         [BZ #19996]
15045         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
15046         not [__USE_XOPEN2K].
15047         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
15048         variable.
15050         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
15051         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
15052         variable.
15054         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
15055         [__USE_XOPEN2K8].
15056         [__USE_LARGEFILE64] (off64_t): Likewise.
15057         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
15058         variable.
15060 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
15062         [BZ #19989]
15063         * libio/stdio.h (cuserid): Do not declare if
15064         [__USE_XOPEN2K && !__USE_GNU].
15065         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
15066         variable.
15068 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15070         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15071         (sysdep_routines): Add P8 and PPC64 strcspn targets.
15072         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15073         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
15074         ifunc'ed strcspn.
15075         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
15076         [EALIGN]: Removed.
15077         [END]: Likewise
15078         [STRSPN]: Define instead of the above to control symbol name.
15079         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
15080         New file.
15081         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
15082         Likewise.
15083         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
15084         Likewise.
15085         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
15086         Likewise.
15087         * sysdeps/powerpc/powerpc64/power8/strspn.S:
15088         [INITIAL_MASK]: New macro.
15089         [STRCSPN]: Likewise.
15090         [UPDATE_MASK]: Likewise.
15091         [USE_AS_STRCSPN]: Likewise.
15093 2016-04-25  Florian Weimer  <fweimer@redhat.com>
15095         [BZ #19931]
15096         * stdio-common/tst-vfprintf-width-prec.c: New file.
15097         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
15098         (tests-special): Add tst-vfprintf-width-prec-mem.out.
15099         (generated): Add mtrace-related files.
15100         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
15101         (tst-%-mem.out): New pattern rule, replaces
15102         tst-printf-bz18872-mem.out.
15103         * stdio-common/vfprintf.c (vfprintf): When handling a precision
15104         specifier, deallocate any previously allocated work buffer.
15106 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
15108         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
15109         Add nop before __startcontext, add explaining comments.
15111 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
15113         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
15114         any more. Notably since IPV6_PKTINFO has been reintroduced with a
15115         completely different API.
15117         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
15118         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
15119         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
15120         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
15121         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
15122         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
15123         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
15124         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
15125         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
15126         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
15128 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
15130         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
15132 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
15134         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
15135         when it is the default of 0.
15137 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15139         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
15140         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15141         (sysdep_routines): Add new strcasestr targets.
15142         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15143         (__libc_ifunc_impl_list): Likewise.
15144         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
15145         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
15146         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
15147         * sysdeps/powerpc/powerpc64/power8/Makefile:
15148         New file to add strcasestr-ppc64 to sysdep_routines.
15149         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
15150         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
15152 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
15154         * benchtests/Makefile (wcsmbs-benchset): Include only for
15155         native builds and runs.
15156         (LOCALES): Likewise.
15157         (bench-build): Build timing-type here instead of the bench
15158         target.  Generate locale only for native builds.
15159         * benchtests/README: Add note for cross-building.
15161         * benchtests/Makefile (bench-clean): Clean up extra-objs.
15163         * benchtests/README: Update README to include instructions on
15164         using bench-build.
15166         * Makefile.in (bench-build): New target.
15167         * Rules (PHONY): Add bench-build target.
15168         * benchtests/Makefile (bench): Depend on bench-build.
15169         (bench-build): New target.
15171 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15173         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
15174         profil_reply_port.
15175         (profile_waiter): Do not initialize profil_reply_port.
15176         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
15177         frequency instead of tick length in us.
15179 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
15181         [BZ #18712]
15182         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
15183         (__old_mempcpy_small): Likewise.
15184         (__old_strcpy_small): Likewise.
15185         (__old_stpcpy_small): Likewise.
15186         (__old_strpbrk_c2): Fix compat symbol name.
15187         (__old_strpbrk_c3): Likewise.
15188         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
15189         (__mempcpy_small): Remove.
15190         (__strcpy_small): Remove.
15191         (__stpcpy_small): Remove.
15193 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
15195         [BZ #19400]
15196         * locale/iso-639.def: Add the Talossan/tzl language.
15198 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
15200         [BZ #16983]
15201         * locale/programs/ld-address.c (address_finish): Update postal_fmt
15202         comment.  Add "ln" to strchr check on postal_fmt.
15204 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
15206         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
15207         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
15208         tel_dom_fmt.
15210 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15212         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15213         (sysdep_routines): Added __strlen_power8.
15214         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
15215         __strlen_power8 entry.
15216         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
15217         Implementation for POWER8.
15218         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
15219         for __strlen_power8.
15220         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
15221         Implementation for POWER8.
15223 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
15225         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
15227 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
15229         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
15230         Goldmont and Airmont processors.
15232 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
15234         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
15235         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
15236         (__STRING2_SMALL_GET32): Remove.
15237         (memset): Remove.
15238         (__memset_1): Remove.
15239         (__memset_gc): Remove.
15240         (__mempcpy): Remove.
15241         (mempcpy): Remove.
15242         (__mempcpy_args): Remove.
15243         (strchr): Remove.
15244         (strcpy): Remove.
15245         (strcpy_args): Remove.
15246         (__stpcpy_args): Remove.
15247         (__strcmp_cc): Remove.
15248         (__strcmp_gc): Remove.
15249         (strstr): Remove.
15251 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
15253         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
15254         * nis/nis_call.c (nis_server_cache_add): Likewise.
15256 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15258         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
15260 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15262         * malloc/arena.c (__malloc_fork_lock_parent)
15263         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
15264         internal_function attribute.
15266 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
15268         * stdio-common/printf_fp.c (__printf_fp_l):
15269         Rename ___printf_fp_l to __printf_fp_l and
15270         remove strong alias. Use libc_hidden_def instead
15271         of ldbl_hidden_def macro.
15273 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15275         Remove malloc hooks from fork handler.  They are no longer needed
15276         because malloc runs right before fork, and no malloc calls from
15277         other fork handlers are not possible anymore.
15278         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
15279         declarations.
15280         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
15281         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
15282         (atfork_recursive_cntr): Remove.
15283         (__malloc_fork_lock_parent): Do not override malloc hooks and
15284         thread_arena.
15285         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
15286         thread_arena.
15287         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
15288         thread_arena instead of save_arena.
15290 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15292         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
15293         (thread_atfork, thread_atfork_static): Remove.
15294         * sysdeps/mach/hurd/malloc-machine.h:
15295         (thread_atfork, thread_atfork_static): Remove.
15297 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15299         [BZ #19431]
15300         Run the malloc fork handler as late as possible to avoid deadlocks.
15301         * malloc/malloc-internal.h: New file.
15302         * malloc/malloc.c: Include it.
15303         * malloc/arena.c (ATFORK_MEM): Remove.
15304         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
15305         Update comment.
15306         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
15307         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
15308         Remove outdated comment.
15309         (ptmalloc_init): Do not call thread_atfork.  Remove
15310         thread_atfork_static.
15311         * malloc/tst-malloc-fork-deadlock.c: New file.
15312         * Makefile (tests): Add tst-malloc-fork-deadlock.
15313         (tst-malloc-fork-deadlock): Link against libpthread.
15314         * manual/memory.texi (Aligned Memory Blocks): Update safety
15315         annotation comments.
15316         * sysdeps/nptl/fork.c (__libc_fork): Call
15317         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
15318         __malloc_fork_unlock_child.
15319         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
15321 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15323         [BZ #19613]
15324         Remove union wait.
15325         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
15326         (w_stopsig, w_stopval): Remove.
15327         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
15328         stat_loc argument.
15329         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
15330         (__WAIT_STATUS_DEFN): Remove.
15331         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
15332         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
15333         (wait, wait3, wait4): Use int * for the stat_loc argument.
15334         * posix/wait.c (__wait): Likewise.
15335         * posix/wait3.c (__wait3): Likewise.
15336         * posix/wait4.c (__wait4): Likewise.
15337         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
15338         (__WAIT_STATUS_DEFN): Remove.
15339         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
15340         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
15341         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
15342         argument.
15343         * sysdeps/posix/wait.c (__libc_wait): Likewise.
15344         * sysdeps/posix/wait3.c (__wait3): Likewise.
15345         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
15346         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
15347         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
15348         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
15349         stat_loc argument.
15350         * manual/process.texi (BSD Wait Functions): Remove union wait.
15352 2016-04-13  Andreas Schwab  <schwab@suse.de>
15354         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
15355         (test-extras): Add tst-tlsalign-vars.
15356         * math/Makefile: Wrap long lines.
15357         (libm-vec-test-wrappers): Define.
15358         (test-extras): Add $(libm-vec-test-wrappers).
15359         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
15360         * nss/Makefile (extra-test-objs): Add nss_test1.os.
15361         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
15362         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
15363         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
15364         (extra-test-objs): Add corresponding objects.
15366 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
15368         [BZ #19928]
15369         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
15370         New.
15371         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
15372         times of shared cache size.
15373         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
15374         (VMOVNT): New.
15375         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
15376         (VMOVNT): Likewise.
15377         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
15378         (VMOVNT): Likewise.
15379         (VMOVU): Changed to movups for smaller code sizes.
15380         (VMOVA): Changed to movaps for smaller code sizes.
15381         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
15382         comments.
15383         (PREFETCH): New.
15384         (PREFETCH_SIZE): Likewise.
15385         (PREFETCHED_LOAD_SIZE): Likewise.
15386         (PREFETCH_ONE_SET): Likewise.
15387         Rewrite to use forward and backward loops, which move 4 vector
15388         registers at a time, to support overlapping addresses and use
15389         non temporal store if size is above the threshold and there is
15390         no overlap between destination and source.
15392 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
15394         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
15395         Include dl-vdso.
15396         * sysdeps/unix/sysv/linux/mips/Versions: Add
15397         __vdso_clock_gettime.
15398         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
15399         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
15400         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
15401         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
15402         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
15403         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
15404         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
15405         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
15406         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
15408 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15410         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
15411         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
15412         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15413         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15414         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15415         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15418         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
15419         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
15420         syscalls generation.
15421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15422         [__NR_pwrite64] (__NR_write): Remove define.
15423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15424         [__NR_pwrite64] (__NR_write): Remove define.
15425         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
15426         Remove define.
15427         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
15428         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
15429         Remove define.
15430         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
15431         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
15432         Linux implementation as base.
15433         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15435         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
15436         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
15437         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15438         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
15440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15441         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
15442         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
15443         syscall generation.
15444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15445         [__NR_pread64] (__NR_pread): Remove define.
15446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15447         [__NR_pread64] (__NR_pread): Likewise.
15448         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
15449         define.
15450         (__libc_pread): Use SYSCALL_LL macro on offset argument.
15451         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
15452         Remove define.
15453         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
15454         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
15455         Linux implementation as base.
15456         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15457         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15458         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15460         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
15461         definition.
15462         (__ALIGNMENT_COUNT): Likewise.
15463         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
15464         (__ALIGNMENT_COUNT): Likewise.
15465         (SYSCALL_LL): New define.
15466         (SYSCALL_LL64): Likewise.
15467         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
15468         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
15469         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
15470         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
15472         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15473         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
15474         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15475         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
15476         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15477         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
15479 2016-04-11  Florian Weimer  <fweimer@redhat.com>
15481         [BZ #19865]
15482         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
15483         original buffer before retry.
15485 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15487         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
15488         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
15489         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
15490         GLRO(dl_auxv) list.
15491         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
15492         including <ldsodefs.h>.
15493         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
15495 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
15497         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
15498         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
15499         $(CPPFLAGS).
15501 2016-04-09  Khem Raj  <raj.khem@gmail.com>
15503         [BZ #17950]
15504         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
15505         Add -mfpmath=387.
15507 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
15509         * sysdeps/i386/configure.ac: Change == to = when calling test.
15510         * sysdeps/x86_64/configure.ac: Likewise.
15511         * sysdeps/i386/configure: Regenerated.
15512         * sysdeps/x86_64/configure: Likewise.
15514 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
15516         [BZ #16137]
15517         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
15518         * benchtests/bench-strcoll.c (input_files): Likewise.
15519         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
15520         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
15521         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
15523 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
15525         [BZ #19929]
15526         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
15527         [__USE_XOPEN2K8 && !__USE_GNU].
15528         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
15529         variable.
15531         [BZ #19925]
15532         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
15533         define if [!__USE_MISC && __USE_XOPEN2K].
15534         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
15535         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
15536         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
15537         Likewise.
15538         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
15539         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
15540         variable.
15541         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15543 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15545         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15546         (sysdep_routines): Add new strspn targets.
15547         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15548         (__libc_ifunc_impl_list): Add strspn.
15549         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
15550         New file.
15551         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
15552         Likewise.
15553         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
15554         Likewise.
15555         * sysdeps/powerpc/powerpc64/power8/strspn.S:
15556         Likewise.
15558 2016-04-07  Florian Weimer  <fweimer@redhat.com>
15560         * misc/hsearch_r.c: Include <limits.h>.
15562 2016-04-07  Florian Weimer  <fweimer@redhat.com>
15564         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
15566 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
15568         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15569         (MEMCPY_SYMBOL): New.
15570         (MEMPCPY_SYMBOL): Likewise.
15571         (MEMMOVE_CHK_SYMBOL): Likewise.
15572         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
15573         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
15574         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
15575         Provide alias for memcpy in libc.a and ld.so.
15577 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
15579         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15580         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
15581         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
15582         Disabled fro now.
15583         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
15584         symbols.  Properly check USE_MULTIARCH on __memset symbols.
15586 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
15588         * benchtests/Makefile (string-benchset): Add memcpy-large,
15589         memmove-large and memset-large.
15590         * benchtests/bench-memcpy-large.c: New file.
15591         * benchtests/bench-memmove-large.c: Likewise.
15592         * benchtests/bench-memmove-large.c: Likewise.
15593         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
15595 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
15597         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
15598         32-bit displacement to avoid long nop between instructions.
15600 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
15602         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
15603         a comment on VMOVU and VMOVA.
15605 2016-04-04  Florian Weimer  <fweimer@redhat.com>
15607         [BZ #19633]
15608         Use specified locale for number formatting in strfmon_l.
15609         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
15610         (__nl_lookup_word): New inline functions.
15611         * include/printf.h (__print_fp_l): Declare.
15612         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
15613         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
15614         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
15615         (___printf_fp): New function.
15616         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
15617         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
15618         * stdlib/tst-strfmon_l.c (do_test): New test.
15619         * stdlib/Makefile (tests): Add kt.
15620         (LOCALES): Build additional locales.
15621         (tst-strfmon_l.out): Require locales.
15623 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
15625         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
15626         if not in libc.
15627         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15628         Likewise.
15629         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
15630         Likewise.
15631         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15632         Likewise.
15634 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
15636         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
15637         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
15638         with unaligned_erms.
15639         (__memmove_erms): Skip if source == destination.
15640         (__memmove_unaligned_erms): Don't check source == destination
15641         first.
15643 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15645         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
15646         bit_arch_Fast_Copy_Backward for Intel Core proessors.
15648 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15650         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
15651         * string/strspn.c (strspn): Likewise.
15653 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15655         * benchtests/bench-memset.c (do_test): Support 64-byte
15656         alignment.
15657         (test_main): Test 64-byte alignment.
15659 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15661         * benchtests/bench-memmove.c (test_main): Test 64-byte
15662         alignment.
15664 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15666         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
15668 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15670         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
15671         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
15672         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
15674         * string/strpbrk.c (strpbrk): Rewrite function.
15675         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
15676         (__strpbrk_c2): Likewise.
15677         (__strpbrk_c3): Likewise.
15678         * string/string-inlines.c
15679         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
15680         Likewise.
15681         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
15682         Likewise.
15684         * string/strspn.c (strcspn): Rewrite function.
15685         * string/bits/string2.h (strspn): Use __builtin_strcspn.
15686         (__strspn_c1): Remove inline function.
15687         (__strspn_c2): Likewise.
15688         (__strspn_c3): Likewise.
15689         * string/string-inlines.c
15690         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
15691         compatibility symbol.
15692         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
15693         Likewise.
15694         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
15695         Likewise.
15696         * string/string-inlines.c: Include generic version.
15698 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
15699             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15701         * string/Version (libc): Add GLIBC_2.24.
15702         * string/strcspn.c (strcspn): Rewrite function.
15703         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
15704         (__strcspn_c1): Remove inline function.
15705         (__strcspn_c2): Likewise.
15706         (__strcspn_c3): Likewise.
15707         * string/string-inline.c
15708         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
15709         compatibility symbol.
15710         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
15711         Likewise.
15712         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
15713         Likewise.
15714         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
15716 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15718         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
15719         Use ahi instead of aghi to adjust stack pointer.
15721 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15723         [BZ #19853]
15724         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
15725         TEST to take significant digits as second parameter.
15726         [TEST]: Redefine in terms of TEST_N taking 30
15727         significant digits.
15728         (do_test): Add test case to demonstrate precision
15729         failure in the ldbl-128ibm printf.
15730         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
15731         (__mpn_extract_long_double): Carry 7 extra intermediate
15732         bits of precision to aide computing difference when
15733         signs differ.
15735 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
15737         [BZ #19881]
15738         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15739         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
15740         memset-avx512-unaligned-erms.
15741         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15742         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
15743         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
15744         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
15745         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
15746         __memset_sse2_unaligned_erms, __memset_erms,
15747         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
15748         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
15749         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
15750         file.
15751         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15752         Likewise.
15753         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
15754         Likewise.
15755         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
15756         Likewise.
15758 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
15760         [BZ #19776]
15761         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15762         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
15763         memmove-avx512-unaligned-erms.
15764         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15765         (__libc_ifunc_impl_list): Test
15766         __memmove_chk_avx512_unaligned_2,
15767         __memmove_chk_avx512_unaligned_erms,
15768         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
15769         __memmove_chk_sse2_unaligned_2,
15770         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
15771         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
15772         __memmove_avx512_unaligned_erms, __memmove_erms,
15773         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
15774         __memcpy_chk_avx512_unaligned_2,
15775         __memcpy_chk_avx512_unaligned_erms,
15776         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
15777         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
15778         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
15779         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
15780         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
15781         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
15782         __mempcpy_chk_avx512_unaligned_erms,
15783         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
15784         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
15785         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
15786         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
15787         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
15788         __mempcpy_erms.
15789         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
15790         file.
15791         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15792         Likewise.
15793         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
15794         Likewise.
15795         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
15796         Likewise.
15798 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15800         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
15801         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
15802         (La_s390_64_regs): Likewise.
15803         (La_s390_32_retval): Append vector register lrv_v24.
15804         (La_s390_64_retval): Likeweise.
15805         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
15806         Handle extended structs La_s390_32_regs and La_s390_32_retval.
15807         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
15808         Handle extended structs La_s390_64_regs and La_s390_64_retval.
15810 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15812         [BZ #19916]
15813         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
15814         to create a non-vector/vector version for _dl_runtime_resolve and
15815         _dl_runtime_profile. Move implementation to ...
15816         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
15817         (_dl_runtime_resolve) Save and restore fpr/vrs.
15818         (_dl_runtime_profile) Save and restore vrs and fix some issues
15819         if _dl_call_pltexit is called.
15820         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
15821         Choose the correct resolver function if running on a machine with vx.
15822         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
15823         to create a non-vector/vector version for _dl_runtime_resolve and
15824         _dl_runtime_profile. Move implementation to ...
15825         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
15826         (_dl_runtime_resolve) Save and restore fpr/vrs.
15827         (_dl_runtime_profile) Save and restore vrs and fix some issues
15828         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
15829         Choose the correct resolver function if running on a machine with vx.
15831 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15833         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
15835 2016-03-31  Florian Weimer  <fweimer@redhat.com>
15837         [BZ #19509]
15838         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
15839         skip_map != NULL.
15840         * elf/tst-dlsym-error.c: New file.
15841         * elf/Makefile (tests): Add tst-dlsym-error.
15842         (tst-dlsym-error): Link against libdl.
15844 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
15846         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15847         (__ASSUME_FUTIMESAT): Remove macro.
15848         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
15850 2016-03-29  Florian Weimer  <fweimer@redhat.com>
15852         [BZ #19879]
15853         CVE-2016-3075
15854         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
15855         copy name.
15857 2016-03-29  Florian Weimer  <fweimer@redhat.com>
15859         [BZ #19837]
15860         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
15861         error if parse_line fails.
15863 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15865         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
15866         (index_cpu_ERMS): Likewise.
15867         (reg_ERMS): Likewise.
15869 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
15871         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
15872         PER_LINUX_FDPIC): Add.
15874 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15876         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15877         memcpy-avx512-no-vzeroupper.
15878         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
15879         to ...
15880         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
15881         (MEMCPY): Don't define.
15882         (MEMCPY_CHK): Likewise.
15883         (MEMPCPY): Likewise.
15884         (MEMPCPY_CHK): Likewise.
15885         (MEMPCPY_CHK): Renamed to ...
15886         (__mempcpy_chk_avx512_no_vzeroupper): This.
15887         (MEMPCPY_CHK): Renamed to ...
15888         (__mempcpy_chk_avx512_no_vzeroupper): This.
15889         (MEMCPY_CHK): Renamed to ...
15890         (__memmove_chk_avx512_no_vzeroupper): This.
15891         (MEMCPY): Renamed to ...
15892         (__memmove_avx512_no_vzeroupper): This.
15893         (__memcpy_avx512_no_vzeroupper): New alias.
15894         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
15896 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15898         [BZ #18858]
15899         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15900         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
15901         and mempcpy-avx512-no-vzeroupper.
15902         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
15903         New.
15904         (MEMPCPY): Likewise.
15905         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
15906         (MEMPCPY_CHK): New.
15907         (MEMPCPY): Likewise.
15908         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
15909         (MEMPCPY): Likewise.
15910         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
15911         (MEMPCPY): Likewise.
15912         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
15913         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
15914         Likewise.
15915         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
15916         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
15918 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15919              Amit Pawar  <Amit.Pawar@amd.com>
15921         [BZ #19583]
15922         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
15923         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
15924         processors.  Set Fast_Copy_Backward for AMD Excavator
15925         processors.
15926         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
15927         New.
15928         (index_arch_Fast_Unaligned_Copy): Likewise.
15929         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
15930         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
15932 2016-03-25  Florian Weimer  <fweimer@redhat.com>
15934         [BZ #19791]
15935         * resolv/res_send.c (close_and_return_error): New function.
15936         (send_dg): Initialize *resplen2 after reopen failure.  Call
15937         close_and_return_error for error returns.  On error paths without
15938         __res_iclose, initialze *resplen2 explicitly.  Update comment for
15939         successful return.
15941 2016-03-25  Florian Weimer  <fweimer@redhat.com>
15943         [BZ# 19860]
15944         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
15945         zero if the compiler does not provide the AVX512F bit.
15947 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
15949         [BZ #19848]
15950         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
15951         from 8 to 4.
15952         (__ieee754_powl): Compare integer exponent against 4 not 8.
15953         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
15954         from 8 to 4.
15955         (__ieee754_powl): Compare integer exponent against 4 not 8.
15956         * math/auto-libm-test-in: Add more tests of pow.
15957         * math/auto-libm-test-out: Regenerated.
15958         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
15959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15961 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
15963         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
15964         Make code unconditional.
15965         [!__NR_utimensat]: Remove conditional code.
15966         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
15967         Make code unconditional.
15968         [!__NR_utimensat]: Remove conditional code.
15969         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
15970         Make code unconditional.
15971         [!__NR_utimensat]: Remove conditional code.
15973 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
15975         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
15976         Make code unconditional.
15978 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
15980         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
15981         call-clobbered %eax on retry path.
15982         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
15984 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
15986         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
15987         Don't set %rcx twice before "rep movsb".
15989 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
15991         [BZ #19583]
15992         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
15993         inline.  Check family before setting family, model and
15994         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
15995         bits here.
15996         (init_cpu_features): Replace HAS_CPU_FEATURE and
15997         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
15998         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
15999         for Intel processors with usable AVX2.  Call get_common_indeces
16000         for other processors with family == NULL.
16001         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
16002         (CPU_FEATURES_ARCH_P): Likewise.
16003         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
16004         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
16006 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16008         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
16009         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
16010         $(shared-thread-library) instead of hardcoding the path to libpthread.
16012 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
16014         * sysdeps/unix/sysv/linux/kernel-features.h
16015         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
16016         * sysdeps/unix/sysv/linux/getdents.c
16017         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
16018         [!have_no_getdents64_defined]: Likewise.
16019         (__GETDENTS): Remove __have_no_getdents64 conditional.
16021 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
16023         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
16024         Remove macro.
16025         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
16026         <kernel-features.h>.
16027         (signalfd) [__NR_signalfd4]: Make code unconditional.
16028         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
16030 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16032         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
16033         style.
16035 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16037         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
16038         (__pthread_enable_asynccancel): Use JUMPTARGET to call
16039         __pthread_unwind.
16040         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16041         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
16042         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16043         (__condvar_cleanup1): Likewise.
16045 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
16047         [BZ #19822]
16048         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
16049         move it to the final $@ location.
16051 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16053         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
16054         access where posix_spawn success and pid argument is null.
16055         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
16056         success case.
16058 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
16060         * sysdeps/mach/hurd/i386/c++-types.data: New file.
16062         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
16064         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
16065         and __fcntl.
16066         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
16067         __fcntl only.
16068         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
16069         adding attribute_hidden to __open and __fcntl.
16071         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
16072         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
16073         depend on libc-modules.h,
16074         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
16076 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
16078         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
16079         Remove macro.
16080         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
16081         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
16082         entry.
16084         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
16085         Remove macro.
16086         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
16087         include <kernel-features.h>.
16088         [!__ASSUME_FALLOCATE]: Remove conditional code.
16089         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
16091 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16093         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
16094         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
16095         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
16096         (_ZGVdN4v_cos_avx2): Likewise.
16097         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
16098         (_ZGVdN4v_cos): Likewise.
16099         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
16100         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
16101         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
16102         (_ZGVdN4v_exp_avx2): Likewise.
16103         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
16104         (_ZGVdN4v_exp): Likewise.
16105         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
16106         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
16107         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
16108         (_ZGVdN4v_log_avx2): Likewise.
16109         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
16110         (_ZGVdN4v_log): Likewise.
16111         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
16112         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
16113         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
16114         (_ZGVdN4vv_pow_avx2): Likewise.
16115         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
16116         (_ZGVdN4vv_pow): Likewise.
16117         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
16118         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
16119         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
16120         (_ZGVdN4v_sin_avx2): Likewise.
16121         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
16122         (_ZGVdN4v_sin): Likewise.
16123         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
16124         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
16125         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
16126         (_ZGVdN4vvv_sincos_avx2): Likewise.
16127         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
16128         (_ZGVdN4vvv_sincos): Likewise.
16129         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
16130         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
16131         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
16132         (_ZGVbN4v_cosf_sse4): Likewise.
16133         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
16134         (_ZGVdN8v_cosf_avx2): Likewise.
16135         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
16136         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
16137         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
16138         (_ZGVbN4v_expf_sse4): Likewise.
16139         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
16140         (_ZGVdN8v_expf_avx2): Likewise.
16141         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
16142         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
16143         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
16144         (_ZGVbN4v_logf_sse4): Likewise.
16145         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
16146         (_ZGVdN8v_logf_avx2): Likewise.
16147         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
16148         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
16149         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
16150         (_ZGVbN4vv_powf_sse4): Likewise.
16151         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
16152         (_ZGVdN8vv_powf_avx2): Likewise.
16153         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
16154         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
16155         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
16156         (_ZGVbN4vvv_sincosf_sse4): Likewise.
16157         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
16158         (_ZGVdN8vvv_sincosf_avx2): Likewise.
16159         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
16160         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
16161         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
16162         (_ZGVbN4v_sinf_sse4): Likewise.
16163         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
16164         (_ZGVdN8v_sinf_avx2): Likewise.
16165         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
16166         Use JUMPTARGET to call callee.
16167         (WRAPPER_IMPL_SSE2_ff): Likewise.
16168         (WRAPPER_IMPL_SSE2_fFF): Likewise.
16169         (WRAPPER_IMPL_AVX): Likewise.
16170         (WRAPPER_IMPL_AVX_ff): Likewise.
16171         (WRAPPER_IMPL_AVX_fFF): Likewise.
16172         (WRAPPER_IMPL_AVX512): Likewise.
16173         (WRAPPER_IMPL_AVX512_ff): Likewise.
16174         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
16175         Likewise.
16176         (WRAPPER_IMPL_SSE2_ff): Likewise.
16177         (WRAPPER_IMPL_SSE2_fFF): Likewise.
16178         (WRAPPER_IMPL_AVX): Likewise.
16179         (WRAPPER_IMPL_AVX_ff): Likewise.
16180         (WRAPPER_IMPL_AVX_fFF): Likewise.
16181         (WRAPPER_IMPL_AVX512): Likewise.
16182         (WRAPPER_IMPL_AVX512_ff): Likewise.
16183         (WRAPPER_IMPL_AVX512_fFF): Likewise.
16185 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16187         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
16188         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
16189         qualifier.
16190         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
16191         internal_function qualifiers.
16193 2016-03-15  Carlos O'Donell <carlos@redhat.com>
16195         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
16196         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
16197         * math/atest-exp.c (exp_mpn): Mark chk unused.
16198         * math/atest-exp2.c (exp_mpn): Likewise.
16199         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
16200         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
16202 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
16204         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
16205         Remove macro.
16206         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
16207         <kernel-features.h>.
16208         [__NR_ppoll]: Make code unconditional.
16209         [!__ASSUME_PPOLL]: Remove conditional code.
16211         * sysdeps/unix/sysv/linux/kernel-features.h
16212         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
16213         (__ASSUME_ACCEPT4): Likewise.
16214         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16215         Define.
16216         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
16217         Likewise.
16218         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16219         Likewise.
16220         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
16221         Likewise.
16222         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
16223         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
16224         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16225         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16226         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16227         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16228         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16229         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16230         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16231         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16232         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16233         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16234         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16235         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16236         * sysdeps/unix/sysv/linux/i386/kernel-features.h
16237         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16238         Likewise.
16239         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16240         Likewise.
16241         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16242         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
16243         0x040300].
16244         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16245         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16246         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16247         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16248         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
16249         0x030300].
16250         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
16251         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16252         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16253         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
16254         0x040300].
16255         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16256         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16257         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16258         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16259         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16260         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16261         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
16262         0x030300].
16263         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16264         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16265         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16266         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16267         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16268         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16269         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16270         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16271         * sysdeps/unix/sysv/linux/s390/kernel-features.h
16272         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16273         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
16274         0x040300].
16275         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16276         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16277         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16278         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16279         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16280         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16281         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16282         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16283         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16284         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16285         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16286         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16287         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16288         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16289         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
16290         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16291         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16292         Likewise.
16293         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16294         Likewise.
16296 2016-03-15  Andreas Schwab  <schwab@suse.de>
16298         [BZ #19257]
16299         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
16300         statp->_u._ext.nscount as loop count.
16302 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
16304         * math/test-signgam-finite-c99.c: Also #undef
16305         __LIBC_INTERNAL_MATH_INLINES.
16306         * math/test-signgam-main.c: Likewise.
16308 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
16310         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
16311         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16312         (MADV_FREE): Likewise.
16313         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
16314         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
16315         EPOLLEXCLUSIVE.
16317 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
16319         * timezone/README: Remove mention of checktab.awk. Mention wiki
16320         SharedSourceFiles.
16322 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
16324         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
16325         WUNTRACED.
16327 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16329         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
16330         order to match the type of p when calling atomic_exchange_acq().
16332 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16334         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
16335         cfi_offset calls.
16336         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
16337         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
16338         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
16339         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
16340         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
16342 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
16344         * timezone/checktab.awk: Removed.
16346 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
16348         * manual/math.texi (Errors in Math Functions): Document relaxed
16349         accuracy goals for IBM long double.
16350         * math/libm-test.inc (test_exceptions): Always allow spurious
16351         "underflow" and "inexact" exceptions for IBM long double.
16353 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
16355         [BZ #19762]
16356         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
16357         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
16358         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
16359         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
16360         (bit_arch_*): This for feature array.
16361         (bit_*): Renamed to ...
16362         (bit_cpu_*): This for cpu array.
16363         (index_*): Renamed to ...
16364         (index_arch_*): This for feature array.
16365         (index_*): Renamed to ...
16366         (index_cpu_*): This for cpu array.
16367         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
16368         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
16369         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
16370         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
16371         bit_##name with index_cpu_##name and bit_cpu_##name.
16372         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
16373         bit_##name with index_arch_##name and bit_arch_##name.
16375 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
16377         [BZ #19792]
16378         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
16379         Terminate FDE before return label.
16381 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
16383         [BZ #19790]
16384         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
16385         (rintl): Define as macro.
16386         [USE_AS_NEARBYINTL] (__rintl): Likewise.
16387         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
16388         of fesetround.  Ensure results are evaluated before end of scope.
16389         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
16390         USE_AS_NEARBYINTL and include s_rintl.c.
16391         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
16392         Disable exception traps in new environment.
16393         (libc_feholdsetround_ppc_ctx): Likewise.
16395 2016-03-08  Roland McGrath  <roland@hack.frob.com>
16397         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
16398         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
16399         (tst_audit10_aux) [__AVX512F__]: ... here.
16401 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
16403         * include/sys/auxv.h: New file.
16405 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
16407         [BZ #19759]
16408         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
16410 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16412         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
16413         operand modifier.
16414         (feclearexcept): Likewise.
16416 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16418         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
16419         to reflect the entire 32-bit HWCAP.
16420         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
16421         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
16423 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
16425         [BZ #19783]
16426         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
16427         $(test-via-rtld-prefix).
16428         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
16430 2016-03-08  Florian Weimer  <fweimer@redhat.com>
16432         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
16433         union wait.  Report any non-zero exit status as error.
16435 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16437         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
16438         configured with --enable-hardcoded-path-in-tests.
16440 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
16442         [BZ #19677]
16443         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
16444         (__ieee754_remainderl): Put zero low parts in canonical form.
16445         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
16446         file.  Based on
16447         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
16448         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
16449         with wrapper round test-fmodrem-ldbl-128ibm.c.
16450         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
16451         file.
16452         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
16453         Likewise.
16454         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16455         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
16457 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16459         [BZ #19610]
16460         * elf/ldconfig.c (opt_link): Update comment.
16461         (options): Update help string for option -X.
16462         (search_dir): Unlink stale symbolic link only if updating symbolic
16463         links.
16464         * elf/tst-ldconfig-X.sh: New file.
16465         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
16466         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
16468 2016-03-07  Andreas Schwab  <schwab@suse.de>
16470         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
16471         needed arguments.
16473 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
16475         [BZ #15333]
16476         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
16477         to lstat64.
16479 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16481         * libio/filedoalloc.c (isatty): Remove.
16482         (local_isatty): Add comment.  Call __isatty directly.
16483         (_IO_file_doallocate): Update comment.  Assume _LIBC.
16484         * libio/wfiledoalloc.c (isatty): Remove.
16485         (_IO_wfile_doallocate): Update comment.
16487 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16489         [BZ #19269]
16490         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
16491         tst-audit4-aux.o.
16492         (tst-audit10): Depend on tst-audit10-aux.o.
16493         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
16494         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
16495         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
16496         instead of inline AVX code.
16497         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
16498         instead of inline AVX512 code.
16499         * sysdeps/x86_64/tst-audit4-aux.c: New file
16500         * sysdeps/x86_64/tst-audit10-aux.c: New file
16502         [BZ #19648]
16503         * test-skeleton.c (main): Do not set RLIMIT_DATA.
16505 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16507         [BZ #14750]
16508         [BZ #10354]
16509         [BZ #18433]
16510         * include/sched.h (__clone): Add hidden prototype.
16511         (__clone2): Likewise.
16512         * include/unistd.h (__dup): Likewise.
16513         * posix/Makefile (tests): Add tst-spawn2.
16514         * posix/tst-spawn2.c: New file.
16515         * sysdeps/posix/dup.c (__dup): Add hidden definition.
16516         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
16517         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
16518         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
16519         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
16520         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
16521         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
16522         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
16523         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
16524         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
16525         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
16526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
16527         Likewise.
16528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16529         Likewise.
16530         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
16531         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
16532         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
16533         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
16534         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
16535         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
16536         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
16537         * sysdeps/unix/sysv/linux/nptl-signals.h
16538         (____nptl_is_internal_signal): New function.
16539         * sysdeps/unix/sysv/linux/spawni.c: New file.
16541         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
16542         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
16543         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
16544         * posix/tst-execvp2.c (do_test): Likewise.
16545         * posix/tst-execvp3.c (do_test): Likewise.
16546         * posix/tst-execvp4.c (do_test): Likewise.
16547         * posix/tst-execvpe1.c: New file.
16548         * posix/tst-execvpe2.c: Likewise.
16549         * posix/tst-execvpe3.c: Likewise.
16550         * posix/tst-execvpe4.c: Likewise.
16551         * posix/tst-execvpe5.c: Likewise.
16552         * posix/tst-execvpe6.c: Likewise.
16554         [BZ #19534]
16555         * posix/execl.c (execl): Remove dynamic memory allocation.
16556         * posix/execle.c (execle): Likewise.
16557         * posix/execlp.c (execlp): Likewise.
16559 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
16561         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
16562         Replace .text with .text.avx512.
16563         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
16564         Likewise.
16566 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
16568         * sysdeps/generic/libnsl.abilist: New file.
16569         * sysdeps/generic/libutil.abilist: New file.
16571 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
16573         [BZ #19762]
16574         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
16575         HAS_ARCH_FEATURE with Fast_Rep_String.
16576         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
16577         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
16578         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
16579         Likewise.
16580         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
16581         Likewise.
16582         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
16583         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
16584         Likewise.
16585         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
16586         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
16587         Likewise.
16589 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
16591         [BZ #19745]
16592         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
16593         with *%rax in call.
16595 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
16597         [BZ #19745]
16598         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
16599         with *__libc_start_main@GOTPCREL(%rip) in call.
16601 2016-03-04  Roland McGrath  <roland@hack.frob.com>
16603         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
16604         inside conditional for nonempty $(CXX).
16606         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
16607         nonempty.
16609         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
16610         to test for empty $(CXX) rather than $(CXX) of "no".
16612 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
16614         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
16616 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
16617             H.J. Lu  <hongjiu.lu@intel.com>
16619         [BZ #18880]
16620         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
16621         instead of Slow_BSF, and also check for Fast_Copy_Backward to
16622         enable __memcpy_ssse3_back.
16624 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
16626         [BZ #19758]
16627         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
16628         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
16630 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
16632         [BZ #19490]
16633         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
16634         (__fentry__): Likewise.
16636 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
16638         * gmon/Makefile (noprof): Add $(sysdep_noprof).
16639         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
16641 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
16643         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
16644         __mcount_internal directly.
16645         (C_LABEL(__fentry__)): Likewise.
16646         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
16647         directly.
16649 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
16651         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16652         (__start_context): Call __setcontext directly.
16654 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
16656         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16657         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16658         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
16659         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
16660         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16661         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16662         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
16663         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16664         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16665         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
16666         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
16667         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
16668         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16669         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16670         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16671         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16672         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
16673         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16674         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16675         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
16676         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
16677         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16678         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16679         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
16680         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
16681         Remove conditional code.
16682         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16683         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
16684         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16685         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16686         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
16687         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16688         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
16689         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16690         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16691         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16692         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16693         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16695 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
16697         * NEWS (2.23): Fix typo in bug 19048 text.
16699 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
16701         [BZ #14259]
16702         * Makeconfig: Rename msgcatdir to localedir.
16703         Rename inst_msgcatdir to inst_localedir.
16704         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
16705         * config.make.in: Add localedir.
16706         * elf/Makefile ($(objpfx)sotruss): Use localedir.
16707         (ldd-rewrite): Likewise.
16708         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
16709         (install-others): Use inst_localedir.
16710         (CPPFLAGS): Use localedir.
16711         * locale/Makefile (locale-CPPFLAGS): Likewise.
16712         * po/Makefile (mo-installed): Use inst_localedir.
16714         [BZ #19575]
16715         * localedata/charmaps/GB18030: Update comments regarding PAU to
16716         non-PUA mappings.
16718 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
16720         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
16721         test for header.
16722         * sysdeps/unix/sysv/linux/configure: Regenerated.
16723         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
16724         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
16725         Remove conditional code.
16726         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
16728         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
16729         Define to 3.2.0.
16730         (arch_minimum_kernel): Likewise.
16731         * sysdeps/unix/sysv/linux/configure: Regenerated.
16732         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
16733         Define to 2.6.32.
16734         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
16735         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
16736         (arch_minimum_kernel): Define to 2.6.32.
16737         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
16738         * README: Document Linux 3.2 requirement.
16739         * manual/install.texi (Linux): Document Linux 3.2 headers
16740         requirement.
16741         * INSTALL: Regenerated.
16743 2016-02-24  Andreas Schwab  <schwab@suse.de>
16745         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
16746         if !NO_LONG_DOUBLE.
16748 2016-02-22  Roland McGrath  <roland@hack.frob.com>
16750         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
16751         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
16753 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
16755         [BZ #19512]
16756         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
16758 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
16760         * posix/tst-dir.c: Include libc-internal.h.
16762 2016-02-20  Florian Weimer  <fweimer@redhat.com>
16764         [BZ #19056]
16765         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
16766         * manual/filesys.texi (Reading/Closing Directory): Mention
16767         deprecaion.
16768         * posix/tst-dir.c (main): Disable deprecation warning in test.
16770 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
16772         [BZ #19679]
16773         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
16774         Renamed to ...
16775         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
16776         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16777         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
16778         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16779         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
16780         * sysdeps/x86_64/dl-trampoline.h
16781         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16782         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
16784 2016-02-19  Mark Wielaard  <mjw@redhat.com>
16786         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
16788 2016-02-19  Mark Wielaard  <mjw@redhat.com>
16790         * elf/elf.h (R_386_GOT32X): New.
16791         (R_386_NUM): Update.
16792         (R_X86_64_GOTPCRELX: New.
16793         (R_X86_64_REX_GOTPCRELX): New.
16794         (R_X86_64_NUM): Update.
16796 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
16798         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
16800 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
16802         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
16803         assign attr->stackaddr to it, and adjust it down when
16804         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
16805         [_STACK_GROWS_UP]: Delete assert.
16806         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
16807         Implement stack grows up logic.
16808         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
16809         stack grows up logic.
16811 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16813         * NEWS: Update with 2.24 template.
16815 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
16817         [BZ #19678]
16818         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16819         Ensure +0.0 is returned when taking the next value below the least
16820         positive value.
16822 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16824         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
16825         available.  Do not define NO_THREADS.
16826         * malloc/malloc.c: Do not check NO_THREADS.
16827         * malloc/arena.c: Likewise.
16829 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16831         * malloc/malloc.c (__libc_mallinfo): Update comment.
16832         (struct malloc_par): Remove max_total_mem member, it was always 0.
16833         (int_mallinfo): Store 0 into usmblks (no functional change).
16834         * malloc/hooks.c (struct malloc_state): Document that
16835         max_total_mem is always 0.
16836         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
16837         always 0.
16838         * manual/memory.texi (Statistics of Malloc): Likewise.
16840 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16842         * malloc/malloc.c (sysmalloc): Do not update arena_max.
16843         * malloc/arena.c (arena_max): Remove.
16844         (heap_trim, _int_new_arena): Do not update arena_max.
16846 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16848         * resolv/res_init.c (res_ninit): Update comment.
16850 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16852         [BZ #19505]
16853         * posix/spawn_int.h: Add headers and include guard.
16854         (__spawn_valid_fd): New function.
16855         * posix/spawn_faction_addopen.c
16856         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
16857         * posix/spawn_faction_addclose.c
16858         (posix_spawn_file_actions_addclose): Likewise.
16859         * posix/spawn_faction_adddup2.c
16860         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
16861         second file descriptor.
16862         * posix/spawn_valid_fd.c: New file.
16863         * posix/tst-posix_spawn-fd.c: New file.
16864         * posix/Makefile (routines): Add spawn_valid_fd.
16865         (tests): Add tst-posix_spawn-fd.
16867 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16869         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
16870         (do_test): Limit the number of arenas, so that we can use fewer
16871         outer threads.  Limit timeout to 3 seconds, in preparation for a
16872         larger TIMEOUT value.
16874 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
16876         [BZ #19674]
16877         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
16878         sign in overflowing and underflowing results when overflow or
16879         underflow is detected early.  Include sign in result before rather
16880         than after scaling.
16882         [BZ #19603]
16883         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
16884         (__ieee754_remainderl): Adjust sign of integer version of low part
16885         when taking absolute value of high part.
16886         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16887         * math/libm-test.inc (remainder_test_data): Add another test.
16888         (remquo_test_data): Likewise.
16890 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
16892         [BZ #19602]
16893         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
16894         equal high parts and both low parts zero specially.
16895         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
16896         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
16897         Add test-fmodl-ldbl-128ibm.
16899         [BZ #19595]
16900         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
16901         common logic for all cases of shifting subnormal results.  Do not
16902         insert sign bit in shifted mantissa.  Always pass -1023 as biased
16903         exponent to ldbl_insert_mantissa in subnormal case.
16905         [BZ #19594]
16906         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
16907         on high and low parts then adjust result and use
16908         ldbl_canonicalize_int if needed.
16910         [BZ #19593]
16911         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
16912         on high part and __floor or __ceil on low part then use
16913         ldbl_canonicalize_int if needed.
16915         [BZ #19592]
16916         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
16917         high and low parts then use ldbl_canonicalize_int if needed.
16919         [BZ #17899]
16920         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
16921         New function.
16922         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
16923         on high and low parts then use ldbl_canonicalize_int if needed.
16925 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16927         * configure: Regenerated.
16929         * po/libc.pot: Regenerated.
16931         * po/be.po: Updated translation.
16932         * po/bg.po: Likewise.
16933         * po/ca.po: Likewise.
16934         * po/cs.po: Likewise.
16935         * po/da.po: Likewise.
16936         * po/el.po: Likewise.
16937         * po/eo.po: Likewise.
16938         * po/es.po: Likewise.
16939         * po/fi.po: Likewise.
16940         * po/fr.po: Likewise.
16941         * po/gl.po: Likewise.
16942         * po/hr.po: Likewise.
16943         * po/hu.po: Likewise.
16944         * po/ia.po: Likewise.
16945         * po/id.po: Likewise.
16946         * po/it.po: Likewise.
16947         * po/ja.po: Likewise.
16948         * po/lt.po: Likewise.
16949         * po/nb.po: Likewise.
16950         * po/nl.po: Likewise.
16951         * po/pt_BR.po: Likewise.
16952         * po/rw.po: Likewise.
16953         * po/sk.po: Likewise.
16954         * po/sl.po: Likewise.
16955         * po/sv.po: Likewise.
16956         * po/tr.po: Likewise.
16957         * po/zh_CN.po: Likewise.
16958         * po/zh_TW.po: Likewise.
16960         * version.h (RELEAES): Set to "development".
16961         (VERSION): Set to 2.23.90.
16963         * version.h (RELEASE): Set to "stable".
16964         (VERSION): Set to 2.23.
16965         * include/feature.h (__GLIBC_MINOR__): Set to 23.
16967         * NEWS: Updated fixed bugs.
16969 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
16970             Wilco Dijkstra  <wdijkstr@arm.com>
16972         [BZ #19462]
16973         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
16974         (_STRING_INLINE_unaligned): This.
16975         * include/string.h: Include <string_private.h>.
16976         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
16977         _STRING_INLINE_unaligned.
16978         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
16979         (_STRING_INLINE_unaligned): New.
16980         * sysdeps/aarch64/string_private.h: New file.
16981         * sysdeps/generic/string_private.h: Likewise.
16982         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
16983         * sysdeps/s390/string_private.h: Likewise.
16984         * sysdeps/x86/string_private.h: Likewise.
16985         * sysdeps/m68k/m680x0/m68020/bits/string.h
16986         (_STRING_ARCH_unaligned): Renamed to ...
16987         (_STRING_INLINE_unaligned): This.
16988         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
16989         to ...
16990         (_STRING_INLINE_unaligned): This.
16991         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
16992         to ...
16993         (_STRING_INLINE_unaligned): This.
16994         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
16995         to ...
16996         (_STRING_INLINE_unaligned): This.
16998 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
16999             H.J. Lu  <hongjiu.lu@intel.com>
17001         [BZ #19590]
17002         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
17003         relocation.
17005 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
17007         [BZ #18665]
17008         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
17009         *herrno_p.
17010         (gaih_getanswer): Document functional behviour. Return tryagain
17011         if any result is tryagain.
17012         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
17013         when freed.
17014         * resolv/res_send.c: Add copyright text.
17015         (__libc_res_nsend): Document that MAXPACKET is expected.
17016         (send_vc): Document. Remove buffer reuse.
17017         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
17018         size of the buffer. Add Dprint for truncated UDP buffer.
17020 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
17022         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
17023         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
17024         * INSTALL: Regenerate.
17026 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
17027             Jonathan Wakely  <jwakely@redhat.com>
17028             Carlos O'Donell  <carlos@redhat.com>
17030         [BZ 19439]
17031         * math/Makefile (tests): Add test-math-isinff.
17032         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
17033         * math/bits/mathcalls.h [__USE_MISC]: Use
17034         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
17035         functions not in C++11 and which don't conflict e.g. isinff,
17036         isinfl etc.
17037         * math/test-math-isinff.cc: New file.
17039 2016-02-12  Florian Weimer  <fweimer@redhat.com>
17041         * misc/bug18240.c (do_test): Set RLIMIT_AS.
17043 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17045         [BZ #19529]
17046         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
17048 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17050         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
17052 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
17054         [BZ #19550]
17055         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
17056         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
17057         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
17058         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
17059         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
17060         New syscall entry.
17061         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
17062         New syscall entry.
17063         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
17064         syscall entry.
17066 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
17068         [BZ #18240]
17069         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
17070         unsigned int wraparound.
17072 2016-01-27  Florian Weimer  <fweimer@redhat.com>
17074         [BZ #18240]
17075         * misc/bug18240.c: New test.
17076         * misc/Makefile (tests): Add it.
17078 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
17079             Joseph Myers  <joseph@codesourcery.com>
17081         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
17082         load in branch delay slot when less than a word of input left.
17084 2016-01-27  Andreas Schwab  <schwab@suse.de>
17086         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
17087         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
17088         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
17089         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
17091 2016-01-26  David S. Miller  <davem@davemloft.net>
17093         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
17095 2016-01-25  David S. Miller  <davem@davemloft.net>
17097         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
17098         __sqrtl_finite.
17099         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
17100         instead using versioned_symbol.
17101         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
17102         of entries.
17104         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
17105         __sqrtl_finite to GLIBC_2.23
17107 2016-01-25  Ricchard Henderson  <rth@redhat.com>
17109         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17111 2016-01-25  Andreas Schwab  <schwab@suse.de>
17113         [BZ #17514]
17114         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
17115         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
17116         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
17117         * nptl/tst-mutex-errorcheck.c: New file.
17119 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17121         [BZ #18560]
17122         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
17123         (IPCOP_semop): Likewise.
17124         (IPCOP_semget): Likewise.
17125         (IPCOP_semctl): Likewise.
17126         (IPCOP_msgsnd): Likewise.
17127         (IPCOP_msgrcv): Likewise.
17128         (IPCOP_msgget): Likewise.
17129         (IPCOP_msgctl): Likewise.
17130         (IPCOP_shmat): Likewise.
17131         (IPCOP_shmdt): Likewise.
17132         (IPCOP_shmget): Likewise.
17133         (IPCOP_shmctl): Likewise.
17135 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
17137         * string/tst-endian.c: Include <libc-internal.h>.
17138         (do_test): Ignore tautological-compare warnings around
17139         "htobeXX (beXXtoh (i)) != i" and
17140         "htoleXX (leXXtoh (i)) != i" if-statements.
17142 2016-01-24  David S. Miller  <davem@davemloft.net>
17144         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
17145         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
17146         alias.
17147         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
17148         __sqrtl_finite.
17150         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17152 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
17154         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
17155         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
17156         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17158 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17160         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
17161         (thread_func): Use new function to simplify barrier check.
17162         (do_test): Use new function to simplify checking barrier exit
17163         code, and actually join the child thread.
17165 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17167         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
17168         semicolon.
17169         (__libc_tend): Likewise.
17170         (__libc_tabort): Likewise.
17172 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
17174         * sysdeps/nios2/libm-test-ulps: Update.
17175         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
17176         (__gtsf2): Likewise.
17177         (__unorddf2): Likewise.
17178         (__unordsf2): Likewise.
17179         (__ledf2): Likewise.
17181 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
17183         * nis/nis_table.c (__follow_path): Disable diagnostic for
17184         uninitialized variable that is a false positive for gcc 4.7.
17185         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
17187 2016-01-20  Roland McGrath  <roland@hack.frob.com>
17189         * sysdeps/nacl/lowlevellock-futex.h
17190         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
17191         Always evaluate PRIVATE argument.
17193 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
17195         [BZ #19490]
17196         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
17197         (pthread_cond_broadcast): Use ENTRY/END
17198         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
17199         (pthread_cond_signal): Likewise.
17200         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
17201         Likewise.
17202         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
17203         Likewise.
17204         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
17205         Likewise.
17207 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
17209         * sysdeps/ieee754/dbl-64/s_finite.c
17210         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
17211         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
17212         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
17213         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
17214         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
17216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
17217         (__gtsf2): Add as optional for libc.so.
17218         (__unordsf2): Likewise.
17219         (__signbit): Remove for libc.so.
17220         (__signbitl): Likewise.
17222 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17224         * iconvdata/bug-iconv11.c (test_ibm93x):
17225         Use %zu printf format specifier for size_t argument.
17227 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
17229         * math/gen-libm-test.pl (parse_ulps): Do not reduce
17230         already-recorded ulps.
17231         * sysdeps/arm/libm-test-ulps: Regenerated.
17232         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17233         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17234         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17236 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17237             Paul Pluzhnikov  <ppluzhnikov@google.com>
17239         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
17240         assembler not supporting AVX-512.
17242 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
17244         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17246 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
17248         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17249         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17251         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17253         * sysdeps/arm/libm-test-ulps: Regenerated.
17255 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
17257         [BZ #19451]
17258         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
17260 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17262         [BZ #19486]
17263         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
17264         * sysdeps/generic/fix-fp-int-convert-overflow.h
17265         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
17266         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
17267         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
17268         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
17269         Likewise.
17270         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
17271         Avoid conversions to long int where inexact exceptions
17272         could be raised.
17273         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
17274         Likewise.
17275         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
17276         Avoid conversions to long long int where inexact exceptions
17277         could be raised.
17278         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
17279         Likewise.
17281 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
17283         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
17284         * configure: Regenerated.
17286 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
17288         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
17290 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
17292         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
17293         outside of comment.
17295 2016-01-15  Torvald Riegel  <triegel@redhat.com>
17297         * nptl/tst-barrier1.c: Add description on first line.
17298         * nptl/tst-barrier2.c: Likewise.
17299         * nptl/tst-barrier3.c: Likewise.
17300         * nptl/tst-barrier4.c: Likewise.
17301         * nptl/tst-barrier5.c: Likewise.
17303 2016-01-15  Torvald Riegel  <triegel@redhat.com>
17305         [BZ #18868]
17306         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
17308 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
17310         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
17311         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
17312         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
17313         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
17314         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
17315         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
17316         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17317         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17318         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17319         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17320         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17322 2016-01-15  Torvald Riegel  <triegel@redhat.com>
17324         [BZ #13065]
17325         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
17326         new implementation.
17327         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
17328         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
17329         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
17330         (BARRIER_IN_THRESHOLD): New macro.
17331         * nptl/pthread_barrierattr_setpshared.c
17332         (pthread_barrierattr_setpshared): Clean up.
17333         * nptl/tst-barrier4.c: Correct comment.
17334         * nptl/tst-barrier5.c: New file.
17335         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
17336         (gen-as-const-headers): Remove lowlevelbarrier.sym.
17337         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
17338         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
17339         * nptl/lowlevelbarrier.sym: Remove.
17340         * nptl/DESIGN-barrier.txt: Remove.
17341         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
17342         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
17343         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
17344         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
17345         error.
17346         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
17347         implementation.
17349 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17351         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
17352         (do_child): Mask SIGRTMIN while thr is running.
17354 2016-01-15  Martin Sebor  <msebor@redhat.com>
17356         [BZ #19432]
17357         * iconvdata/Makefile: Add bug-iconv11.
17358         * iconvdata/bug-iconv11.c: New test.
17359         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
17360         * iconvdata/ibm933.c: Same.
17361         * iconvdata/ibm935.c: Same.
17362         * iconvdata/ibm937.c: Same.
17363         * iconvdata/ibm939.c: Same.
17365 2016-01-15  Martin Sebor  <msebor@redhat.com>
17367         [BZ #19443]
17368         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
17369         [DEBUG] (_ufc_set_bits): Declare used.
17370         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
17371         [DEBUG] (print_all): Declare used.
17372         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
17373         operands of the ternary ?: expression to target type.
17374         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
17375         calling the undeclared abort.
17376         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
17378 2016-01-15  Martin Sebor  <msebor@redhat.com>
17380         [BZ #18755]
17381         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
17382         warnings.
17383         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
17384         (__gai_create_helper_thread): Same.
17385         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
17386         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
17387         to suppress -Wmaybe-uninitialized warnings.
17389 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
17391         [BZ #19465]
17392         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
17393         inside if.
17394         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17395         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17396         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17398 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
17400         [BZ #19466]
17401         * time/tst-mktime2.c (time_t_max): Removed.
17402         (time_t_min): Likewise.
17403         (TYPE_SIGNED): New.
17404         (TYPE_MINIMUM): Likewise.
17405         (TYPE_MAXIMUM): Likewise.
17406         (TIME_T_MIN): Likewise.
17407         (TIME_T_MAX): Likewise.
17408         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
17409         and TIME_T_MIN.
17410         (do_test): Likewise.
17412 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
17414         [BZ #19467]
17415         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
17416         index_Fast_Unaligned_Load flag for Excavator family CPUs.
17418 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
17420         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
17422 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
17424         * benchtests/Makefile (PYTHON): Define.
17425         (bench-func): Use $(PYTHON) to run python scripts.
17426         ($(objpfx)bench-%.c): Likewise.
17428 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
17430         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
17431         leading slash when `file_name' is "/".
17433 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
17435         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
17436         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
17437         Likewise.
17438         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
17439         Likewise.
17440         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
17441         Likewise.
17442         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
17443         enum constant and macro.
17444         (PTRACE_SETSIGMASK): Likewise.
17445         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17446         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
17447         (PTRACE_GETSIGMASK): Likewise.
17448         (PTRACE_SETSIGMASK): Likewise.
17449         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17450         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
17451         Likewise.
17452         (PTRACE_SETSIGMASK): Likewise.
17453         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17454         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
17455         (PTRACE_GETSIGMASK): Likewise.
17456         (PTRACE_SETSIGMASK): Likewise.
17457         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17458         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
17459         Likewise.
17460         (PTRACE_SETSIGMASK): Likewise.
17461         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17462         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
17463         Likewise.
17464         (PTRACE_SETSIGMASK): Likewise.
17465         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17466         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
17467         Likewise.
17468         (PTRACE_SETSIGMASK): Likewise.
17469         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17471 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
17472             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17474         [BZ #19439]
17475         * math/bits/mathcalls.h
17476         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
17477         prototype.
17478         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
17480 2016-01-11  Andreas Schwab  <schwab@suse.de>
17482         [BZ #19253]
17483         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
17484         cache when TZDEFRULES was used.
17485         * time/tst-tzname.c: New file.
17486         * time/Makefile (test): Add tst-tzname.
17487         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
17488         * timezone/Makefile (test-zones): Add $(posixrules-file).
17489         ($(testdata)/$(posixrules-file)): New rule.
17491 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
17493         Fix doc quoting problems with Texinfo 5
17494         Without this change, in the info file output, Texinfo 5 quotes code
17495         in text with undirected single quotes 'like this' and generates
17496         code examples that with many PDF readers cannot be cut out of PDFs
17497         and pasted into code.
17498         * manual/libc.texinfo: Configure the libc manual like the GNU
17499         Emacs manual, by using @documentencoding and setting
17500         txicodequoteundirected and txicodequotebacktick.  This way,
17501         Texinfo 5 quotes code in text with directed single quotes ‘like
17502         this’ and produces examples that can be cut out of PDFs.  This
17503         change causes Texinfo 5 to generate info files that contain UTF-8
17504         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
17505         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
17507 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17509         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
17510         __libc_tabort, __libc_tend): New wrappers that enforce compiler
17511         barriers to their respective compiler built-ins.
17512         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
17513         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
17514         * sysdeps/powerpc/sysdep.h: Likewise.
17515         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
17516         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
17517         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
17519 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
17521         * scripts/config.guess: Revert previous shebang change.
17522         * scripts/config.sub: Likewise.
17523         * scripts/mkinstalldirs: Likewise.
17525 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17527         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
17528         PPC_FEATURE2_HAS_IEEE128.
17529         * sysdeps/powerpc/dl-procinfo.c:
17530         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
17532 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
17534         [BZ #19415]
17535         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
17536         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
17537         (_dl_lookup_address): Rewrite using function resolver trampoline.
17538         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
17539         two bits in address.
17541 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
17543         * longlong.h: Change !__SHMEDIA__ to
17544         (!defined (__SHMEDIA__) || !__SHMEDIA__).
17545         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
17547 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
17548             Joseph Myers  <joseph@codesourcery.com>
17549             Mark Shinwell  <shinwell@codesourcery.com>
17550             Andrew Stubbs  <ams@codesourcery.com>
17551             Rich Felker <dalias@libc.org>
17553         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
17555 2016-01-07  Richard Henderson  <rth@redhat.com>
17557         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
17559 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
17561         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
17562         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
17563         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17564         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17565         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
17567 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
17568             Joseph Myers  <joseph@codesourcery.com>
17570         * timezone/private.h: Update from tzcode 2015g.
17571         * timezone/tzfile.h: Likewise.
17572         * timezone/tzselect.ksh: Likewise.
17573         * timezone/zdump.c: Likewise.
17574         * timezone/zic.c: Likewise.
17575         * timezone/ialloc.c: Remove file.
17576         * timezone/scheck.c: Likewise.
17577         * timezone/Makefile (extra-objs): Remove variable.
17578         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
17579         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
17580         -Wno-maybe-uninitialized.
17581         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
17582         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
17583         (CFLAGS-ialloc.c): Remove variable.
17584         (CFLAGS-scheck.c): Likewise.
17585         * timezone/README: Update list of files from tzcode.
17587 2016-01-07  Khem Raj  <raj.khem@gmail.com>
17589         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
17590         instead of __fxprintf when _LIBC is undefined.
17592 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
17594         * catgets/test-gencat.sh: Remove space after shebang.
17595         * conform/GlibcConform.pm: Likewise.
17596         * conform/check-header-lists.sh: Likewise.
17597         * conform/conformtest.pl: Likewise.
17598         * conform/linknamespace.pl: Likewise.
17599         * conform/list-header-symbols.pl: Likewise.
17600         * debug/catchsegv.sh: Likewise.
17601         * elf/genrtldtbl.awk: Likewise.
17602         * elf/tst-pathopt.sh: Likewise.
17603         * elf/tst-rtld-load-self.sh: Likewise.
17604         * grp/tst_fgetgrent.sh: Likewise.
17605         * iconvdata/gen-8bit-gap-1.sh: Likewise.
17606         * iconvdata/gen-8bit-gap.sh: Likewise.
17607         * iconvdata/gen-8bit.sh: Likewise.
17608         * iconvdata/run-iconv-test.sh: Likewise.
17609         * intl/tst-gettext.sh: Likewise.
17610         * intl/tst-gettext2.sh: Likewise.
17611         * intl/tst-gettext4.sh: Likewise.
17612         * intl/tst-gettext6.sh: Likewise.
17613         * intl/tst-translit.sh: Likewise.
17614         * io/ftwtest-sh: Likewise.
17615         * libio/test-freopen.sh: Likewise.
17616         * locale/gen-translit.pl: Likewise.
17617         * malloc/tst-mtrace.sh: Likewise.
17618         * manual/check-safety.sh: Likewise.
17619         * manual/libc-texinfo.sh: Likewise.
17620         * manual/tsort.awk: Likewise.
17621         * manual/xtract-typefun.awk: Likewise.
17622         * nptl/tst-cancel-wrappers.sh: Likewise.
17623         * nptl/tst-tls6.sh: Likewise.
17624         * posix/globtest.sh: Likewise.
17625         * posix/tst-getconf.sh: Likewise.
17626         * posix/wordexp-tst.sh: Likewise.
17627         * scripts/check-c++-types.sh: Likewise.
17628         * scripts/check-local-headers.sh: Likewise.
17629         * scripts/config.guess: Likewise.
17630         * scripts/config.sub: Likewise.
17631         * scripts/cpp: Likewise.
17632         * scripts/cross-test-ssh.sh: Likewise.
17633         * scripts/documented.sh: Likewise.
17634         * scripts/evaluate-test.sh: Likewise.
17635         * scripts/gen-libc-abis: Likewise.
17636         * scripts/gen-sorted.awk: Likewise.
17637         * scripts/list-fixed-bugs.py: Likewise.
17638         * scripts/merge-test-results.sh: Likewise.
17639         * scripts/mkinstalldirs: Likewise.
17640         * scripts/rellns-sh: Likewise.
17641         * scripts/test-installation.pl: Likewise.
17642         * scripts/update-copyrights: Likewise.
17643         * stdio-common/tst-printf.sh: Likewise.
17644         * stdio-common/tst-unbputc.sh: Likewise.
17645         * stdlib/tst-fmtmsg.sh: Likewise.
17646         * stdlib/tst-setcontext3.sh: Likewise.
17647         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
17648         * sysdeps/unix/make-syscalls.sh: Likewise.
17650 2016-01-06  John David Anglin  <dave.anglin@bell.net>
17652         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
17653         asm stw with atomic_exchange_rel.  Add explanatory comment.
17654         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
17655         Likewise.
17657 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
17659         [BZ #19122]
17660         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
17661         * sysdeps/generic/dl-unistd.h: New file.
17662         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
17664 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
17666          [BZ #19122]
17667          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
17668          * sysdeps/generic/dl-mman.h: New file.
17669          * sysdeps/mach/hurd/dl-mman.h: Likewise.
17671 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
17673         * manual/texinfo.tex: Update to version 2016-01-04.21 with
17674         trailing whitespace removed.
17675         * scripts/config.guess: Update to version 2016-01-01.
17676         * scripts/config.sub: Update to version 2016-01-01.
17677         * scripts/move-if-change: Update from gnulib.
17679 2016-01-04  Anton Blanchard  <anton@samba.org>
17681         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
17682         for array indices.
17683         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
17685 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
17687         * NEWS: Update copyright dates.
17688         * catgets/gencat.c (print_version): Likewise.
17689         * csu/version.c (banner): Likewise.
17690         * debug/catchsegv.sh: Likewise.
17691         * debug/pcprofiledump.c (print_version): Likewise.
17692         * debug/xtrace.sh (do_version): Likewise.
17693         * elf/ldconfig.c (print_version): Likewise.
17694         * elf/ldd.bash.in: Likewise.
17695         * elf/pldd.c (print_version): Likewise.
17696         * elf/sotruss.sh: Likewise.
17697         * elf/sprof.c (print_version): Likewise.
17698         * iconv/iconv_prog.c (print_version): Likewise.
17699         * iconv/iconvconfig.c (print_version): Likewise.
17700         * locale/programs/locale.c (print_version): Likewise.
17701         * locale/programs/localedef.c (print_version): Likewise.
17702         * login/programs/pt_chown.c (print_version): Likewise.
17703         * malloc/memusage.sh (do_version): Likewise.
17704         * malloc/memusagestat.c (print_version): Likewise.
17705         * malloc/mtrace.pl: Likewise.
17706         * manual/libc.texinfo: Likewise.
17707         * nptl/version.c (banner): Likewise.
17708         * nscd/nscd.c (print_version): Likewise.
17709         * nss/getent.c (print_version): Likewise.
17710         * nss/makedb.c (print_version): Likewise.
17711         * posix/getconf.c (main): Likewise.
17712         * scripts/test-installation.pl: Likewise.
17713         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17715         * All files with FSF copyright notices: Update copyright dates
17716         using scripts/update-copyrights.
17717         * intl/plural.c: Regenerated.
17718         * locale/programs/charmap-kw.h: Likewise.
17719         * locale/programs/locfile-kw.h: Likewise.
17721 2016-01-02  Helge Deller  <deller@gmx.de>
17723         [BZ #19285]
17724         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
17725         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
17726         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
17727         (MADV_xxK_PAGES): Remove.
17729 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
17731         [BZ #15421]
17732         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
17733         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
17734         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
17735         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
17737 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
17739         [BZ #19408]
17740         * sysdeps/unix/sysv/linux/personality.c: New file.
17741         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
17742         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
17743         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
17744         (sysdep_routines): Add personality.
17745         (tests): Add tst-personality.
17746         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
17747         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
17748         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
17749         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
17750         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
17751         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
17752         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
17753         Likewise.
17754         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
17755         Likewise.
17756         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
17757         Likewise.
17758         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
17759         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
17760         Likewise.
17762 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
17764         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
17765         (PATH_ARM_SYSTYPE): Remove.
17766         (PATH_CPUINFO): Likewise.
17767         (IO_BASE_FOOTBRIDGE): Likewise.
17768         (IO_SHIFT_FOOTBRIDGE): Likewise.
17769         (struct platform): Likewise.
17770         (init_iosys): Remove compatibility code for 2.4 kernels.
17771         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
17773 2015-12-29  Florian Weimer  <fweimer@redhat.com>
17775         * malloc/tst-malloc-thread-fail.c: New file.
17776         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
17777         (tst-malloc-thread-fail): Link against libpthread.
17779 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
17781         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
17782         (get_parser): New function.
17783         (main): New function.
17785 2015-12-29  Rob Wu  <rob@robwu.nl>
17787         [BZ #19369]
17788         * resolv/res_init.c (__res_vinit): Reset defdname before use.
17790 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
17792         [BZ #19270]
17793         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
17795 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
17797         [BZ #15421]
17798         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
17800 2015-12-23  Torvald Riegel  <triegel@redhat.com>
17802         [BZ #13690]
17803         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
17804         after releasing it.
17805         (__lll_robust_unlock): Likewise.
17806         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
17807         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
17808         (lll_robust_unlock): Likewise.
17809         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
17810         Prevent warnings in callers.
17812 2015-12-23  Florian Weimer  <fweimer@redhat.com>
17814         * malloc/arena.c (list_lock): Update comment.
17816 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17818         * sysdeps/powerpc/hwcapinfo.c: Export symbol
17819         __parse_hwcap_and_convert_at_platform to libc.a.
17821 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17823         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
17824         platform and feature support for POWER9.
17825         * sysdeps/powerpc/dl-procinfo.h: Likewise.
17826         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
17827         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
17828         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
17829         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
17830         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
17831         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
17832         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
17834 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17836         Harmonize generic stdio-lock support with nptl
17838         This fixes build when _IO_funlockfile is a macro, fixes build where
17839         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
17840         stack unwind.
17842         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
17843         _IO_release_lock ): Use cleanup attribute on new
17844         _IO_acquire_lock_file variable instead of assuming that
17845         _IO_release_lock will be called.
17846         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
17847         _IO_acquire_lock_needs_exceptions_enabled.
17848         (_IO_acquire_lock_clear_flags2): New macro.
17850 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17852         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
17854 2015-12-21  Florian Weimer  <fweimer@redhat.com>
17856         [BZ #19182]
17857         * malloc/arena.c (list_lock): Document lock ordering requirements.
17858         (free_list_lock): New lock.
17859         (ptmalloc_lock_all): Comment on free_list_lock.
17860         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
17861         (detach_arena): Update comment.  free_list_lock is now needed.
17862         (_int_new_arena): Use free_list_lock around detach_arena call.
17863         Acquire arena lock after list_lock.  Add comment, including FIXME
17864         about incorrect synchronization.
17865         (get_free_list): Switch to free_list_lock.
17866         (reused_arena): Acquire free_list_lock around detach_arena call
17867         and attached threads counter update.  Add two FIXMEs about
17868         incorrect synchronization.
17869         (arena_thread_freeres): Switch to free_list_lock.
17870         * malloc/malloc.c (struct malloc_state): Update comments to
17871         mention free_list_lock.
17873 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
17875         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
17876         Remove functions.
17877         (sloww, sloww1): Accept argument to offset quadrant.
17878         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
17879         quadrant.
17880         (__sin, __cos): Consolidate common code into new functions.
17881         (reduce_sincos_1, do_sincos_1): New functions.
17882         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
17884         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
17885         code to new functions.
17886         (reduce_sincos_2, do_sincos_2): New functions.
17887         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
17889         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
17890         common code for sincos.
17891         (__cos) [!IN_SINCOS]: Likewise.
17892         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
17893         New function.
17894         (__sincos): Use it.
17896 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
17898         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
17899         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
17900         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17902 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17904         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
17905         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
17906         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
17907         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
17908         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17909         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
17910         index_Prefer_No_VZEROUPPER): New feature.
17911         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
17912         Prefer_No_VZEROUPPER for Knights Landing.
17914 015-12-18  Torvald Riegel  <triegel@redhat.com>
17916         * math/atest-exp2.c (mp_exp_m1): Remove.
17918 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17920         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
17921         syscalls.
17922         (__SYSCALL0): New macro.
17923         (__SYSCALL1): Likewise.
17924         (__SYSCALL2): Likewise.
17925         (__SYSCALL3): Likewise.
17926         (__SYSCALL4): Likewise.
17927         (__SYSCALL5): Likewise.
17928         (__SYSCALL6): Likewise.
17929         (__SYSCALL_CONCAT_X): Likewise.
17930         (__SYSCALL_CONCAT): Likewise.
17931         (__SYSCALL_DIST): Likewise.
17932         (__SYSCALL_CALL): Likewise.
17934 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
17936         [BZ #19363]
17937         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
17939 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17941         [BZ #19375]
17942         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
17943         negative subnormals.
17945 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
17947         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
17948         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
17949         (INTERNAL_SYSCALL_NCS): Use it.
17950         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17952 2015-12-16  Florian Weimer  <fweimer@redhat.com>
17954         [BZ #19243]
17955         * malloc/arena.c (get_free_list): Remove assert and adjust
17956         reference count handling.  Add comment about reused_arena
17957         interaction.
17958         (reused_arena): Add comments abount get_free_list interaction.
17959         * malloc/tst-malloc-thread-exit.c: New file.
17960         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
17961         (tst-malloc-thread-exit): Link against libpthread.
17963 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
17965         [BZ #19367]
17966         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
17967         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
17968         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
17969         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
17970         (index_Prefer_MAP_32BIT_EXEC): Likewise.
17972 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
17974         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
17975         Silvermont optimizations for Knights Landing.
17977 2015-12-15  Andreas Schwab  <schwab@suse.de>
17979         [BZ #17197]
17980         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
17981         immediately after emitting SI.
17982         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
17983         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
17984         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
17985         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
17986         * iconvdata/bug-iconv10.c: New file.
17987         * iconvdata/Makefile (tests): Add bug-iconv10.
17988         ($(objpfx)bug-iconv10.out): New rule.
17990 2015-12-15  Florian Weimer  <fweimer@redhat.com>
17992         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
17993         aliasing violation.
17995 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
17997         [BZ #18472]
17998         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
17999         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
18000         conditionals for them.
18001         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
18002         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
18003         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
18004         sys/kdaemon.h.
18005         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
18006         compat-only syscall, obsoleted in glibc 2.23.
18007         (create_module): Likewise.
18008         (get_kernel_syms): Likewise.
18009         (query_module): Likewise.
18010         (uselib): Likewise.
18011         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
18013 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
18015         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
18016         <linux/version.h>.
18017         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
18018         conditional code.
18019         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
18020         and ioshift_name initialization.
18022 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18024         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18025         Fix indentation.
18027 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18029         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
18031 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18033         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
18035 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
18036             Jakub Wilk  <jwilk@debian.org>
18038         [BZ #19347]
18039         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
18040         to change the group of the device to the tty group.
18042 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
18044         Split large string section; add truncation advice
18045         * manual/examples/strncat.c: Remove.
18046         This example was misleading, as the code would have undefined
18047         behavior if "hello" was longer than SIZE.  Anyway, the manual
18048         shouldn't encourage strncpy+strncat for this sort of thing.
18049         * manual/string.texi (Copying Strings and Arrays): Split into
18050         three sections Copying Strings and Arrays, Concatenating Strings,
18051         and Truncating Strings, as this section was way too long.  All
18052         cross-referenced changed.  Add advice about string-truncation
18053         functions.  Remove misleading strncat example.
18055 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
18057         * manual/nss.texi (NSS Modules Interface): Document
18058         NSS_STATUS_NOTFOUND and SUCCESS.
18060 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
18062         [BZ 18568]
18063         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
18064         201505L, for Unicode 8.
18066 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
18068         * locale/C-translit.h: Regenerate.
18070 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
18072         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
18073         and U+0153.
18075 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
18077         [BZ #19351]
18078         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
18079         expanding log(1+z), compare z rather than its square with epsilon
18080         to determine when to avoid evaluating the expansion.
18082         [BZ #19350]
18083         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
18084         Increase overflow threshold.
18086         [BZ #19349]
18087         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
18088         when small.
18090         * sysdeps/unix/sysv/linux/i386/kernel-features.h
18091         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
18092         New macro.
18093         [__LINUX_KERNEL_VERSION >= 0x040300]
18094         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18095         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
18096         Likewise.
18097         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
18098         Likewise.
18099         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
18100         Likewise.
18101         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
18102         Likewise.
18103         [__LINUX_KERNEL_VERSION >= 0x040300]
18104         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
18105         [__LINUX_KERNEL_VERSION >= 0x040300]
18106         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18107         [__LINUX_KERNEL_VERSION >= 0x040300]
18108         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18109         [__LINUX_KERNEL_VERSION >= 0x040300]
18110         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18111         [__LINUX_KERNEL_VERSION >= 0x040300]
18112         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18113         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
18114         Likewise.
18115         [__LINUX_KERNEL_VERSION >= 0x040300]
18116         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
18117         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18118         Likewise.
18119         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
18120         Likewise.
18121         [__LINUX_KERNEL_VERSION >= 0x040300]
18122         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
18123         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18124         Likewise.
18125         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
18126         Likewise.
18127         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18128         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
18129         Likewise.
18130         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
18131         Likewise.
18132         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
18133         Likewise.
18134         [__LINUX_KERNEL_VERSION >= 0x040300]
18135         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18136         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
18137         Likewise.
18138         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
18139         Likewise.
18140         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
18141         Likewise.
18142         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
18143         Likewise.
18144         [__LINUX_KERNEL_VERSION >= 0x040300]
18145         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
18146         [__LINUX_KERNEL_VERSION >= 0x040300]
18147         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18148         [__LINUX_KERNEL_VERSION >= 0x040300]
18149         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18150         [__LINUX_KERNEL_VERSION >= 0x040300]
18151         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18152         [__LINUX_KERNEL_VERSION >= 0x040300]
18153         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18154         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
18155         Likewise.
18156         [__LINUX_KERNEL_VERSION >= 0x040300]
18157         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
18158         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18159         Likewise.
18160         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
18161         Likewise.
18162         [__LINUX_KERNEL_VERSION >= 0x040300]
18163         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
18164         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18165         Likewise.
18166         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
18167         Likewise.
18168         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18169         (__ASSUME_SOCKET_SYSCALL): Likewise.
18170         (__ASSUME_BIND_SYSCALL): Likewise.
18171         (__ASSUME_CONNECT_SYSCALL): Likewise.
18172         (__ASSUME_LISTEN_SYSCALL): Likewise.
18173         (__ASSUME_ACCEPT_SYSCALL): Likewise.
18174         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18175         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18176         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18177         (__ASSUME_SEND_SYSCALL): Likewise.
18178         (__ASSUME_SENDTO_SYSCALL): Likewise.
18179         (__ASSUME_RECV_SYSCALL): Likewise.
18180         (__ASSUME_RECVFROM_SYSCALL): Likewise.
18181         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
18182         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18183         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18184         (__ASSUME_SENDMSG_SYSCALL): Likewise.
18185         (__ASSUME_RECVMSG_SYSCALL): Likewise.
18186         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18187         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
18188         Likewise.
18189         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
18190         Likewise.
18191         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
18192         Likewise.
18193         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
18194         Likewise.
18195         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
18196         Likewise.
18197         [__LINUX_KERNEL_VERSION >= 0x020625]
18198         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18199         [__LINUX_KERNEL_VERSION >= 0x020625]
18200         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18201         [__LINUX_KERNEL_VERSION >= 0x020625]
18202         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18203         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
18204         Likewise.
18205         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
18206         Likewise.
18207         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
18208         Likewise.
18209         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
18210         Likewise.
18211         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
18212         Likewise.
18213         [__LINUX_KERNEL_VERSION >= 0x020625]
18214         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18215         [__LINUX_KERNEL_VERSION >= 0x020625]
18216         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18217         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
18218         Likewise.
18219         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
18220         Likewise.
18222 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
18224         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
18225         record the current if the current ABI and CPU support the FP64
18226         extension.
18227         (has-modd-spreg): Define to record the current if the current ABI and
18228         CPU support 32-bit floating point values in odd FPU registers.
18229         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18230         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
18231         $(has-modd-spreg) equals yes.
18232         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
18233         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
18234         $(has-modd-spreg) equal yes.
18236 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
18238         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
18239         basename.
18241 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
18243         * benchtests/Makefile (bench-math): Move ffs and ffsll...
18244         (bench-string): ... here.
18245         (bench): Add bench-string.
18246         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
18247         to *-benchset to reflect what they are.
18248         (benchset): Adjust.
18250         * benchtests/sincos-inputs: Add inputs from sin-inputs and
18251         cos-inputs.
18253 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
18255         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
18256         __attribute__ ((__simd__)) for vector math function declarations.
18258 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18260         Fix typo in strncat, wcsncat manual entries
18261         * manual/string.texi (Copying and Concatenation): Fix typos in
18262         sample implementations of strncat and wcsncat, by having them use
18263         the old value of the destination length, not the new one.
18265 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
18267         [BZ #16961]
18268         [BZ #16962]
18269         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
18270         string on the stack for strtod.
18271         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
18272         a string on the stack for strtof.
18273         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
18274         constructing a string on the stack for strtold.
18275         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
18276         __strtold_nan to GLIBC_PRIVATE.
18277         * math/test-nan-overflow.c: New file.
18278         * math/test-nan-payload.c: Likewise.
18279         * math/Makefile (tests): Add test-nan-overflow and
18280         test-nan-payload.
18282 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18284         Consistency about byte vs character in string.texi
18285         * manual/string.texi (String and Array Utilities):
18286         Distinguish more carefully among bytes, multibyte characters,
18287         and wide characters.  Use "byte" when talking about C 'char',
18288         to distinguish it more clearly from multibyte characters.
18289         Say "wide character" or "multibyte character" instead of
18290         "character", when a wide or multibyte character is intended.
18291         Similarly for "multibyte string" versus "string".
18292         Define these terms more carefully.
18294 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
18296         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
18297         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
18298         Likewise.
18299         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18300         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18301         * sysdeps/sh/math_private.h: New file.
18302         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
18303         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
18304         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
18305         long double function name.
18306         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18307         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18308         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18309         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18310         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18312         Remove __finitel, __isinfl, and __isnanl.
18313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18314         Likewise.
18315         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18317         Remove __finitel.
18318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18319         Likewise.
18320         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18322 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
18324         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
18325         installed libmvec_nonshared.a.
18327 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18329         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
18330         (sysdep_routines): Likewise.
18331         (sysdep-rtld-routines): Likewise.
18332         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
18333         [$(subdir) = nptl](tests-static): test-get_hwcap-static
18334         * sysdeps/powerpc/Versions: Added new
18335         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
18336         * sysdeps/powerpc/hwcapinfo.c: New file.
18337         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
18338         and parse hwcap, hwcap2 and platform number information.
18339         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
18340         to store HWCAP+HWCAP2 and platform number.
18341         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
18342         for HWCAP+HWCAP2 and platform number in the TCB.
18343         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
18344         the HWCAP, HWCAP2 and platform number in the TCB.
18345         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
18346         (TLS_INIT_TP): Included calls to add the hwcap and
18347         at_platform values in the TCB in TP initialization.
18348         (TLS_DEFINE_INIT_TP): Likewise.
18349         (THREAD_GET_HWCAP): New macro.
18350         (THREAD_SET_HWCAP): Likewise.
18351         (THREAD_GET_AT_PLATFORM): Likewise.
18352         (THREAD_SET_AT_PLATFORM): Likewise.
18353         * sysdeps/powerpc/powerpc32/dl-machine.h:
18354         (dl_platform_init): New function that calls
18355         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
18356         powerpc32.
18357         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
18358         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
18359         this functionality, static linking case.
18360         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
18361         linking case.
18362         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
18363         __parse_hwcap_and_convert_at_platform for the static linking case.
18364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
18365         Included the new __parse_hwcap_and_convert_at_platform symbol in the
18366         ABI list for GLIBC 2.23.
18367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
18368         Likewise.
18369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
18370         Likewise.
18372 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
18374         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
18375         * configure: Regenerate.
18376         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
18377         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
18379 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
18381         * iconvdata/ibm930.c: Add comment explaining encoding uses.
18382         * iconvdata/ibm933.c: Likewise.
18383         * iconvdata/ibm935.c: Likewise.
18384         * iconvdata/ibm937.c: Likewise.
18385         * iconvdata/ibm939.c: Likewise.
18387 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18389         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
18390         pthread_join.
18391         * nptl/tst-cancel21.c (tf): Likewise.
18393 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
18395         [BZ #19313]
18396         * bits/typesizes.h (__CPU_MASK_TYPE): New.
18397         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
18398         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
18399         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
18400         Likewise.
18401         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
18402         Likewise.
18403         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
18404         Likewise.
18405         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
18406         Likewise.
18407         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
18408         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
18409         unsigned long int with __CPU_MASK_TYPE.
18411 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18413         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18415 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
18417         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
18418         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
18419         t512.x.
18420         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
18422 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
18424         [BZ #19214]
18425         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
18426         argument to return extended model.  Update family and model
18427         with extended family and model when family == 0x0f.
18428         (init_cpu_features): Updated.
18430 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18432         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
18433         signed off_t, so 32bit bigger than 2GiB values are fine actually.
18435         * sysdeps/mach/hurd/mmap64.c: New file.
18437 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
18439         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
18440         rights for its main user thread in NEWTASK.
18442 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
18444         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
18445         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
18447 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
18449         [BZ #14259]
18450         * Makeconfig: Rename localedir to complocaledir.
18451         Rename inst_localedir to inst_complocaledir.
18452         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
18453         * config.make.in: Use complocaledir and libc_cv_complocaledir.
18454         * configure.ac: Use libc_cv_complocaledir.
18455         * configure: Regenerate.
18456         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
18457         -DCOMPLOCALEDIR.
18458         * locale/findlocale.c: Use COMPLOCALEDIR.
18459         * locale/loadarchive.c: Likewise.
18460         * locale/programs/locale.c: Likewise.
18461         * locale/programs/localedef.c: Likewise.
18462         * locale/programs/locarchive.c: Likewise.
18463         * localedata/Makefile: Use inst_complocaledir.
18464         * sysdeps/gnu/configure: Regenerate.
18465         * sysdeps/hppa/configure: Regenerate.
18466         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
18467         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18469         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
18470         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
18471         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
18472         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
18474 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
18476         [BZ #19058]
18477         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
18478         AS_NEEDED.
18479         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
18480         workaround.
18481         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
18482         libmvec-static-only-routines): Added new file.
18483         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
18485 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18487         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
18488         of interrupted RPC instead of restoring it.
18490         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
18491         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
18492         libc_hidden_def.
18493         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
18494         into initialized data instead of common. Define rtld_hidden_data_def.
18495         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
18496         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
18497         libc_hidden_def.
18498         (if_freenameindex): Add libc_hidden_weak.
18499         (if_nameindex): Add libc_hidden_weak.
18500         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
18501         __open64.
18502         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
18503         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
18504         * sysdeps/mach/nanosleep.c: Include <time.h>
18505         (__nanosleep): Rename to __libc_nanosleep.
18506         (__nanosleep): Add weak_alias.
18507         (nanosleep): Update alias.
18509 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
18511         * stdlib/strtod_nan.c: New file.
18512         * stdlib/strtod_nan_double.h: Likewise.
18513         * stdlib/strtod_nan_float.h: Likewise.
18514         * stdlib/strtod_nan_main.c: Likewise.
18515         * stdlib/strtod_nan_narrow.h: Likewise.
18516         * stdlib/strtod_nan_wide.h: Likewise.
18517         * stdlib/strtof_nan.c: Likewise.
18518         * stdlib/strtold_nan.c: Likewise.
18519         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
18520         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
18521         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
18522         * wcsmbs/wcstod_nan.c: Likewise.
18523         * wcsmbs/wcstof_nan.c: Likewise.
18524         * wcsmbs/wcstold_nan.c: Likewise.
18525         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
18526         strtold_nan.
18527         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
18528         wcstof_nan.
18529         * include/stdlib.h (__strtof_nan): Declare and use
18530         libc_hidden_proto.
18531         (__strtod_nan): Likewise.
18532         (__strtold_nan): Likewise.
18533         (__wcstof_nan): Likewise.
18534         (__wcstod_nan): Likewise.
18535         (__wcstold_nan): Likewise.
18536         * include/wchar.h (____wcstoull_l_internal): Declare.
18537         * stdlib/strtod_l.c: Do not include <ieee754.h>.
18538         (____strtoull_l_internal): Remove declaration.
18539         (STRTOF_NAN): Define macro.
18540         (SET_MANTISSA): Remove macro.
18541         (STRTOULL): Likewise.
18542         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
18543         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
18544         (STRTOF_NAN): Define macro.
18545         (SET_MANTISSA): Remove macro.
18546         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
18547         (SET_MANTISSA): Remove macro.
18548         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
18549         macro.
18550         (SET_MANTISSA): Remove macro.
18551         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
18552         macro.
18553         (SET_MANTISSA): Remove macro.
18554         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
18555         (SET_MANTISSA): Remove macro.
18556         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
18557         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
18558         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
18560         [BZ #19266]
18561         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
18562         upper case and lower case letters inside NAN(), not using TOLOWER.
18563         * stdlib/tst-strtod-nan-locale-main.c: New file.
18564         * stdlib/tst-strtod-nan-locale.c: Likewise.
18565         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
18566         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
18567         Depend on $(gen-locales).
18568         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
18569         * wcsmbs/tst-wcstod-nan-locale.c: New file.
18570         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
18571         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
18572         Depend on $(gen-locales).
18573         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
18575 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
18577         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
18579         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
18580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
18581         __finitel, __isinfl, and __isnanl.
18582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18583         Likewise.
18584         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
18586         __finitel.
18587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18588         Likewise.
18589         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18591 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
18593         * malloc/memusage.c (me): Remove redundant getenv call.
18595 2015-10-24  Florian Weimer  <fweimer@redhat.com>
18597         [BZ #19143]
18598         [BZ #19164]
18599         * nptl/check-cpuset.h: Remove.
18600         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
18601         Remove CPU set size check.
18602         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
18603         Likewise.
18604         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
18605         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
18606         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
18607         (__pthread_setaffinity_new): Remove CPU set size check.
18608         * sysdeps/unix/sysv/linux/sched_setaffinity.c
18609         (__kernel_cpumask_size): Remove.
18610         (__sched_setaffinity_new): Remove CPU set size check.
18611         * manual/threads.texi (Default Thread Attributes): Remove stale
18612         reference to check_cpuset_attr, determine_cpumask_size in comment.
18613         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
18614         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
18615         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
18616         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
18617         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
18618         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
18619         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
18620         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
18621         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
18622         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
18623         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
18624         skeleton test file.
18625         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
18626         tst-affinity-pid.
18628 2015-11-24  Florian Weimer  <fweimer@redhat.com>
18630         * scripts/update-abilist.sh: New file.
18631         * Makefile (+subdir_targets): Add subdir_update-all-abi.
18632         * Makerules (update-all-abi-%, update-all-abi)
18633         (subdir_update-all-abi): New targets.
18634         * elf/Makefile (update-all-abi): New target.
18636 2015-11-24  Florian Weimer  <fweimer@redhat.com>
18638         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
18639         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
18640         (__libc_lock_define_initialized): Use it.
18641         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
18642         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
18643         * malloc/malloc.c (main_arena): Likewise.
18644         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
18645         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
18647 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
18649         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18650         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
18651         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18652         (PTRACE_O_MASK): Update value.
18653         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
18654         New value in enum __ptrace_setoptions.
18655         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18656         (PTRACE_O_MASK): Update value.
18657         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18658         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18659         (PTRACE_O_MASK): Update value.
18660         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
18661         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18662         (PTRACE_O_MASK): Update value.
18663         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
18664         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18665         (PTRACE_O_MASK): Update value.
18666         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
18667         New value in enum __ptrace_setoptions.
18668         (PTRACE_O_MASK): Update value.
18669         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
18670         New value in enum __ptrace_setoptions.
18671         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18672         (PTRACE_O_MASK): Update value.
18674         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
18675         New macro.
18676         (PACKET_AUXDATA): Likewise.
18677         (PACKET_ORIGDEV): Likewise.
18678         (PACKET_VERSION): Likewise.
18679         (PACKET_HDRLEN): Likewise.
18680         (PACKET_RESERVE): Likewise.
18681         (PACKET_TX_RING): Likewise.
18682         (PACKET_LOSS): Likewise.
18683         (PACKET_VNET_HDR): Likewise.
18684         (PACKET_TX_TIMESTAMP): Likewise.
18685         (PACKET_TIMESTAMP): Likewise.
18686         (PACKET_FANOUT): Likewise.
18687         (PACKET_TX_HAS_OFF): Likewise.
18688         (PACKET_QDISC_BYPASS): Likewise.
18689         (PACKET_ROLLOVER_STATS): Likewise.
18690         (PACKET_FANOUT_DATA): Likewise.
18691         (PACKET_MR_UNICAST): Likewise.
18693         [BZ #19242]
18694         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
18695         (TOUPPER): Likewise.
18696         * stdlib/tst-strtol-locale-main.c: New file.
18697         * stdlib/tst-strtol-locale.c: Likewise.
18698         * stdlib/Makefile (tests): Add tst-strtol-locale.
18699         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
18700         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
18701         Depend on $(gen-locales).
18702         * wcsmbs/tst-wcstol-locale.c: New file.
18703         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
18704         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
18705         tr_TR.ISO-8859-9.
18706         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
18707         Depend on $(gen-locales).
18709 2015-11-20  Roland McGrath  <roland@hack.frob.com>
18711         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
18712         __glibc_likely instead of __builtin_expect.  After falling back to
18713         dyncode_create in a non-ET_DYN case, use the allocate_code_data
18714         system interface to register the code pages as occupied.
18716 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
18718         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18719         [!ARM_MATH_PRIVATE_H].
18720         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
18721         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18722         [!HPPA_MATH_PRIVATE_H].
18723         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
18724         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
18725         to [!I386_MATH_PRIVATE_H].
18726         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
18727         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
18728         Change guard to [!M68K_MATH_PRIVATE_H].
18729         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
18730         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
18731         guard to [!MICROBLAZE_MATH_PRIVATE_H].
18732         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
18733         macro.
18734         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18735         [!MIPS_MATH_PRIVATE_H].
18736         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
18737         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18738         [!NIO2_MATH_PRIVATE_H].
18739         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
18740         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18741         [!TILE_MATH_PRIVATE_H].
18742         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
18744         [BZ #15421]
18745         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
18746         initialize with 0 and define as weak alias of __signgam.
18747         * include/math.h [!_ISOMAC] (__signgam): Declare.
18748         * math/Makefile (libm-calls): Add w_lgamma_compat.
18749         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
18750         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
18751         test-signgam-ullong-init.
18752         (tests-static): Add test-signgam-uchar-static,
18753         test-signgam-uchar-init-static, test-signgam-uint-static,
18754         test-signgam-uint-init-static, test-signgam-ullong-static and
18755         test-signgam-ullong-init-static.
18756         (CFLAGS-test-signgam-uchar.c): New variable.
18757         (CFLAGS-test-signgam-uchar-init.c): Likewise.
18758         (CFLAGS-test-signgam-uchar-static.c): Likewise.
18759         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
18760         (CFLAGS-test-signgam-uint.c): Likewise.
18761         (CFLAGS-test-signgam-uint-init.c): Likewise.
18762         (CFLAGS-test-signgam-uint-static.c): Likewise.
18763         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
18764         (CFLAGS-test-signgam-ullong.c): Likewise.
18765         (CFLAGS-test-signgam-ullong-init.c): Likewise.
18766         (CFLAGS-test-signgam-ullong-static.c): Likewise.
18767         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
18768         * math/Versions (libm): Add GLIBC_2.23.
18769         * math/lgamma-compat.h: New file.
18770         * math/test-signgam-main.c: Likewise.
18771         * math/test-signgam-uchar-init-static.c: Likewise.
18772         * math/test-signgam-uchar-init.c: Likewise.
18773         * math/test-signgam-uchar-static.c: Likewise.
18774         * math/test-signgam-uchar.c: Likewise.
18775         * math/test-signgam-uint-init-static.c: Likewise.
18776         * math/test-signgam-uint-init.c: Likewise.
18777         * math/test-signgam-uint-static.c: Likewise.
18778         * math/test-signgam-uint.c: Likewise.
18779         * math/test-signgam-ullong-init-static.c: Likewise.
18780         * math/test-signgam-ullong-init.c: Likewise.
18781         * math/test-signgam-ullong-static.c: Likewise.
18782         * math/test-signgam-ullong.c: Likewise.
18783         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
18784         wrapper of w_lgamma_main.c.
18785         * math/w_lgamma_compat.c: New file.
18786         * math/w_lgamma_compatf.c: Likewise.
18787         * math/w_lgamma_compatl.c: Likewise.
18788         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
18789         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
18790         defining compatibility symbols.
18791         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
18792         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
18793         wrapper of w_lgammaf_main.c.
18794         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
18795         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
18796         defining compatibility symbols.
18797         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
18798         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
18799         wrapper of w_lgammal_main.c.
18800         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
18801         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
18802         defining compatibility symbols.
18803         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
18804         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
18805         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
18806         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
18807         <lgamma-compat.h>.
18808         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
18809         (__ieee754_gamma): Define as alias.
18810         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
18811         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
18812         <lgamma-compat.h>.
18813         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
18814         (__ieee754_gammaf): Define as alias.
18815         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
18816         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
18817         <lgamma-compat.h>.
18818         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
18819         (__ieee754_gammal): Define as alias.
18820         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
18821         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
18822         <math/w_lgamma_compat.c>.
18823         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
18824         Define as alias of __lgamma_compat and use in defining lgammal.
18825         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
18826         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
18827         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
18828         (USE_AS_COMPAT): New macro.
18829         (LGAMMA_OLD_VER): Undefine and redefine.
18830         (lgammal): Do not define here.
18831         (gammal): Only define here if [GAMMA_ALIAS].
18832         * conform/linknamespace.pl (@whitelist): Remove signgam.
18833         * sysdeps/nacl/libm.abilist: Update.
18834         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18835         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18836         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18837         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18838         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18839         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18840         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18841         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18842         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18843         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18844         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18845         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18847         Likewise.
18848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18849         Likewise.
18850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18851         Likewise.
18852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18853         Likewise.
18854         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18855         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18856         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18857         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18858         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18860         Likewise.
18861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18862         Likewise.
18863         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18864         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18865         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18867 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18869         [BZ #16364]
18870         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
18871         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
18873 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18875         * sysdeps/s390/fpu/bits/mathinline.h:
18876         Use __asm__ [__volatile__] instead of asm [volatile].
18877         * sysdeps/s390/abort-instr.h: Likewise.
18878         * sysdeps/s390/atomic-machine.h: Likewise.
18879         * sysdeps/s390/bits/string.h: Likewise.
18880         * sysdeps/s390/dl-tls.h: Likewise.
18881         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18882         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18883         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18884         * sysdeps/s390/fpu/fesetround.c: Likewise.
18885         * sysdeps/s390/fpu/fpu_control.h: Likewise.
18886         * sysdeps/s390/fpu/s_fma.c: Likewise.
18887         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
18888         * sysdeps/s390/memusage.h: Likewise.
18889         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
18890         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
18891         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
18892         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
18893         * sysdeps/s390/nptl/tls.h: Likewise.
18894         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
18895         * sysdeps/s390/s390-32/backtrace.c: Likewise.
18896         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18897         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
18898         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18899         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18900         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
18901         * sysdeps/s390/s390-64/backtrace.c: Likewise.
18902         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18903         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
18904         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
18905         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18906         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18907         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
18908         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18909         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18910         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
18911         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18912         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
18913         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18914         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
18915         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18916         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
18918 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18919             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18921         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
18922         Add lwarx hint, and use macro for acquire instruction.
18923         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
18924         Likewise.
18925         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
18926         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
18927         update to use new atomic macros.
18929 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18931         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18932         (__lll_trylock_elision): Fix setting of adapt_count.
18933         * sysdeps/unix/sysv/linux/powerpc/htm.h
18934         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
18935         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
18936         (_ABORT_SYSCALL): Renumber, and clarify definition.
18937         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
18939 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18941         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
18942         after system headers to prevent MIN/MAX redefinition.  Define
18943         HAVE_ALLOCA to preserve builtin alloca usage.
18945 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
18947         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
18948         static and don't set or restore rounding.
18949         (__cos)[IN_SINCOS]: Likewise.
18950         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
18951         (__sincos): Set and restore rounding mode.  Remove check for infinite
18952         or NaN input.
18954         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
18956         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
18957         as used.
18959 2015-11-16  Florian Weimer  <fweimer@redhat.com>
18961         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
18963 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
18965         * config.make.in (have-glob-dat-reloc): New.
18966         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
18967         target supports GLOB_DAT relocaton. AC_SUBST.
18968         * configure: Regenerated.
18969         * elf/Makefile (tests): Add tst-prelink.
18970         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
18971         (tst-prelink-ENV): New.
18972         ($(objpfx)tst-prelink-conflict.out): Likewise.
18973         ($(objpfx)tst-prelink-cmp.out): Likewise.
18974         * sysdeps/x86/tst-prelink.c: Moved to ...
18975         * elf/tst-prelink.c: Here.
18976         * sysdeps/x86/tst-prelink.exp: Moved to ...
18977         * elf/tst-prelink.exp: Here.
18978         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
18979         (tst-prelink-ENV): Removed.
18980         ($(objpfx)tst-prelink-conflict.out): Likewise.
18981         ($(objpfx)tst-prelink-cmp.out): Likewise.
18982         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
18984 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
18986         [BZ #14551]
18987         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
18988         (__mpn_construct_long_double): If high part overflows to infinity,
18989         set errno and recompute overflowed result of the correct sign.
18990         * sysdeps/ieee754/ldbl-128ibm/Makefile
18991         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
18992         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
18993         $(libm).
18994         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
18996 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
18998         [BZ #15479]
18999         [BZ #19238]
19000         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
19001         floating-point state after first operation on input.  Restore full
19002         state rather than just rounding mode.
19003         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
19004         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
19005         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
19007         [BZ #19235]
19008         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
19009         add 0.5 to integer arguments.
19010         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
19011         Likewise.
19012         (.LC2): New object.
19014 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
19016         * scripts/pylintrc (reports): Set to no.
19018 2015-11-10  Roland McGrath  <roland@hack.frob.com>
19020         * elf/dl-load.c (open_verify): Take new argument FD.
19021         Skip __open call if passed FD is not -1.
19022         (_dl_map_object, open_path): Update callers.
19023         * elf/dl-sysdep-open.h: New file.
19024         * elf/dl-load.c: Include it.
19025         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
19026         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
19027         * sysdeps/nacl/dl-sysdep-open.h: New file.
19028         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
19029         from libc to rtld.
19031 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
19033         [BZ #19228]
19034         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
19035         and restore full floating-point state.
19036         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19037         Likewise.
19038         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
19039         Likewise.
19040         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
19041         Likewise.
19042         * math/test-nearbyint-except-2.c: New file.
19043         * math/Makefile (tests): Add test-nearbyint-except-2.
19045 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
19047         [BZ #19178]
19048         * sysdeps/x86/Makefile (tests): Add tst-prelink.
19049         (tst-prelink-ENV): New.
19050         ($(objpfx)tst-prelink-conflict.out): Likewise.
19051         ($(objpfx)tst-prelink-cmp.out): Likewise.
19052         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
19053         * sysdeps/x86/tst-prelink.c: New file.
19054         * sysdeps/x86/tst-prelink.exp: Likewise.
19056 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
19058         * math/auto-libm-test-in: Add another test of pow.
19059         * math/auto-libm-test-out: Regenerated.
19060         * math/libm-test.inc (pow_test_data): Add another test.
19062 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19064         [BZ #19219]
19065         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
19066         weak_alias to nearbyintl.
19068 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
19070         * sysdeps/aarch64/bits/string.h: New file.
19071         (_STRING_ARCH_unaligned): Define.
19073 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
19075         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
19076         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
19077         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
19078         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
19079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
19081 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
19083         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
19084         for original name of the DSO.  Add it to the name list of the DSO
19085         if it is actually given.
19086         (_dl_map_object): Keep track of whether an audit module rewrote
19087         the file name.  If yes, pass the original name to
19088         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
19089         debugging is enabled, log the change of the file name.
19090         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
19091         _dl_map_object_from_fd.
19092         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
19093         * elf/tst-audit11.c: New file
19094         * elf/tst-auditmod11.c: New file.
19095         * elf/tst-audit11mod1.c: New file.
19096         * elf/tst-audit11mod2.c: New file.
19097         * elf/tst-audit11mod2.map: New file.
19098         * elf/tst-audit12.c: New file
19099         * elf/tst-auditmod12.c: New file.
19100         * elf/tst-audit12mod1.c: New file.
19101         * elf/tst-audit12mod2.c: New file.
19102         * elf/tst-audit12mod2.map: New file.
19103         * elf/tst-audit12mod3.c: New file.
19105 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
19107         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
19108         Don't create weak aliases,
19109         because versioned symbols are created later.
19110         * sysdeps/s390/s390-32/setjmp.S
19111         (setjmp, _setjmp): Remove weak and rename to an unique name
19112         in SHARED case due to existing versioned symbols.
19113         * sysdeps/s390/s390-64/setjmp.S: Likewise.
19114         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
19115         (getcontext): Create weak alias only in non SHARED case.
19116         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19118 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
19120         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
19121         (__ASSUME_*_SYSCALL) Define new macros.
19122         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
19123         Remove socketcall syscalls.
19124         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
19125         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
19126         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
19127         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
19128         * sysdeps/unix/sysv/linux/send.c (__libc_send):
19129         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
19131 2015-11-09  Florian Weimer  <fweimer@redhat.com>
19133         [BZ #12926]
19134         Terminate process on invalid netlink response.
19135         * sysdeps/unix/sysv/linux/netlinkaccess.h
19136         (__netlink_assert_response): Declare.
19137         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
19138         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
19139         (sysdep_routines): Add netlink_assert_response.
19140         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
19141         __netlink_assert_response.
19142         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
19143         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
19144         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
19145         __netlink_assert_response.
19147 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
19149         [BZ #19178]
19150         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
19151         (RTYPE_CLASS_PLT): Likewise.
19152         (RTYPE_CLASS_COPY): Likewise.
19153         (RTYPE_CLASS_TLS): Likewise.
19154         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
19155         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
19156         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
19157         DL_DEBUG_PRELINK.
19159 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
19161         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
19162         calls with argument -0.5.
19163         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
19165         * configure.ac (libc_cv_z_nodelete): Remove configure test.
19166         (libc_cv_z_nodlopen): Likewise.
19167         (libc_cv_z_initfirst): Likewise.
19168         * configure: Regenerated.
19170 2015-11-06  Florian Weimer  <fweimer@redhat.com>
19172         Simplify abilist format to be line-based.
19173         * scripts/abilist.awk: Collect descriptors in the descs variable.
19174         (emit): Write descs variable and sort it
19175         externally, with sort.
19176         * sysdeps/**/*.abilist: Convert to new format.
19178 2015-11-06  Mark Wielaard  <mjw@redhat.com>
19180         [BZ #11460]
19181         * io/Makefile (routines): Add fts64.
19182         (tests): Add tst-fts and tst-fts-lfs.
19183         (CFLAGS-fts64.c): New.
19184         * io/Versions (GLIBC_2.23): New.
19185         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
19186         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
19187         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
19188         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
19189         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
19190         (FTSENT64): Likewise.
19191         (fts64_children): Likewise.
19192         (fts64_close): Likewise.
19193         (fts64_open): Likewise.
19194         (fts64_read): Likewise.
19195         (fts64_set): Likewise.
19196         * io/fts64.c: New file.
19197         * io/tst-fts.c: New test.
19198         * io/tst-fts-lfs.c: Likewise.
19199         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
19200         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
19201         fts64_set.
19202         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19203         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19204         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19205         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19206         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19207         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19208         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19209         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19210         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19211         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
19212         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19213         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19214         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19216         Likewise.
19217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19218         Likewise.
19219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19221         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19222         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19223         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19224         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19225         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
19227         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
19228         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19229         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19230         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19231         * sysdeps/wordsize-64/fts.c: New file.
19232         * sysdeps/wordsize-64/fts64.c: Likewise.
19233         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
19234         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
19235         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
19236         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
19238 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
19240         * math/libm-test.inc (NON_FINITE): New macro.
19241         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
19242         * math/gen-libm-test.pl (show_exceptions): Add argument
19243         $non_finite.
19244         (parse_args): Update call to show_exceptions.
19245         * math/test-math-finite.h: New file.
19246         * math/test-math-no-finite.h: Likewise.
19247         * math/test-double-finite.c: Likewise.
19248         * math/test-float-finite.c: Likewise.
19249         * math/test-ldouble-finite.c: Likewise.
19250         * math/test-double.c: Include "test-math-no-finite.h".
19251         * math/test-float.c: Include "test-math-no-finite.h".
19252         * math/test-ldouble.c: Include "test-math-no-finite.h".
19253         * math/test-math-inline.h (TEST_FINITE): New macro.
19254         * math/test-math-vector.h (TEST_FINITE): Likewise.
19255         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
19256         (libm-tests): Add test-float-finite and test-double-finite.
19257         ($(objpfx)test-float-finite.o): New dependency on
19258         $(objpfx)libm-test.stmp.
19259         ($(objpfx)test-double-finite.o): Likewise.
19260         ($(objpfx)test-ldouble-finite.o): Likewise.
19261         (libm-test-no-inline-cflags): New variable.
19262         (libm-test-finite-cflags): Likewise.
19263         (CFLAGS-test-float-finite.c): Likewise.
19264         (CFLAGS-test-double-finite.c): Likewise.
19265         (CFLAGS-test-ldouble-finite.c): Likewise.
19266         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
19267         (CFLAGS-test-double.c): Likewise.
19268         (CFLAGS-test-ldouble.c): Likewise.
19270 2015-11-05  Roland McGrath  <roland@hack.frob.com>
19272         * io/fcntl.c (__fcntl): Add ... to prototype.
19273         * misc/ioctl.c (__ioctl): Likewise.
19274         * misc/syscall.c (syscall): Likewise.
19276 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
19278         * scripts/list-fixed-bugs.py: New file.
19280         [BZ #19213]
19281         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
19282         returned for argument 1.
19283         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
19284         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
19285         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
19286         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
19287         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
19288         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
19290         [BZ #19211]
19291         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
19292         __USE_XOPEN], not if [!__USE_ISOC99].
19293         (lgammaf): Likewise.
19294         (lgammal): Likewise.
19295         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
19296         (gammaf): Likewise.
19297         (gammal): Likewise.
19298         * math/test-signgam-finite-c11.c: New file.
19299         * math/test-signgam-finite-c99.c: Likewise.
19300         * math/test-signgam-finite.c: Likewise.
19301         * math/Makefile (tests): Add test-signgam-finite,
19302         test-signgam-finite-c99 and test-signgam-finite-c11.
19303         (CFLAGS-test-signgam-finite.c): New variable.
19304         (CFLAGS-test-signgam-finite-c99.c): Likewise.
19305         (CFLAGS-test-signgam-finite-c11.c): Likewise.
19307         [BZ #19212]
19308         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
19309         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
19310         500].
19311         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
19312         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
19313         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
19314         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
19315         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
19316         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
19317         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
19318         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
19319         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
19320         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
19322         [BZ #19209]
19323         * math/bits/math-finite.h (ldexp): Remove declaration.
19324         (ldexpf): Likewise.
19325         (ldexpl): Likewise.
19327         [BZ #19205]
19328         * math/bits/math-finite.h (acosf): Condition declaration on
19329         [__USE_ISOC99].
19330         (acosl): Likewise.
19331         (acoshf): Likewise.
19332         (acoshl): Likewise.
19333         (asinf): Likewise.
19334         (asinl): Likewise.
19335         (atan2f): Likewise.
19336         (atan2l): Likewise.
19337         (atanhf): Likewise.
19338         (atanhl): Likewise.
19339         (coshf): Likewise.
19340         (coshl): Likewise.
19341         (expf): Likewise.
19342         (expl): Likewise.
19343         (fmodf): Likewise.
19344         (fmodl): Likewise.
19345         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
19346         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
19347         (j0l): Likewise.
19348         (y0f): Likewise.
19349         (y0l): Likewise.
19350         (j1f): Likewise.
19351         (j1l): Likewise.
19352         (y1f): Likewise.
19353         (y1l): Likewise.
19354         (jnf): Likewise.
19355         (jnl): Likewise.
19356         (ynf): Likewise.
19357         (ynl): Likewise.
19358         (lgammaf_r): Condition declaration on [__USE_ISOC99].
19359         (lgammal_r): Likewise.
19360         (__lgamma_r_finite): New declaration.
19361         (__lgammaf_r_finite): Likewise.
19362         (__lgammal_r_finite): Likewise.
19363         (lgamma): Use __lgamma_r_finite.
19364         (lgammaf): Condition definition on [__USE_ISOC99].  Use
19365         __lgammaf_r_finite.
19366         (lgammal): Condition definition on [__USE_ISOC99].  Use
19367         __lgammal_r_finite.
19368         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
19369         __lgamma_r_finite.
19370         (gammaf): Condition definition on [__USE_ISOC99].  Use
19371         __lgammaf_r_finite.
19372         (gammal): Condition definition on [__USE_ISOC99].  Use
19373         __lgammal_r_finite.
19374         (logf): Condition declaration on [__USE_ISOC99].
19375         (logl): Likewise.
19376         (log10f): Likewise.
19377         (log10l): Likewise.
19378         (ldexpf): Likewise.
19379         (ldexpl): Likewise.
19380         (powf): Likewise.
19381         (powl): Likewise.
19382         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
19383         __USE_ISOC99].
19384         (remainderf): Condition declaration on [__USE_ISOC99].
19385         (remainderl): Likewise.
19386         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
19387         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
19388         (scalbl): Likewise.
19389         (sinhf): Condition declaration on [__USE_ISOC99].
19390         (sinhl): Likewise.
19391         (sqrtf): Likewise.
19392         (sqrtl): Likewise.
19394 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
19396         * sysdeps/arm/atomic-machine.h
19397         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
19398         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
19399         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
19400         Remove conditional code.
19401         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
19402         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
19403         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
19404         Change conditional to [__ASSEMBLER__].
19405         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
19406         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
19407         [!__ASSEMBLER__].
19408         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
19409         code.
19410         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
19411         conditional macro definitions.
19412         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
19413         (__arch_compare_and_exchange_val_16_acq): Likewise.
19414         (__arch_compare_and_exchange_val_32_acq): Likewise.
19415         (atomic_exchange_and_add): Likewise.
19416         (atomic_add): Likewise.
19417         (atomic_add_negative): Likewise.
19418         (atomic_add_zero): Likewise.
19419         (atomic_bit_set): Likewise.
19420         (atomic_bit_test_set): Likewise.
19421         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
19422         code unconditional.
19423         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19425         * math/test-math-errno.h: New file.
19426         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
19427         empty.
19428         (TEST_ERRNO): New macro.
19429         (TEST_EXCEPTIONS): Likewise.
19430         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
19431         (TEST_EXCEPTIONS): Likewise.
19432         * math/test-math-vector.h (TEST_ERRNO): Likewise.
19433         * math/test-double.c: Include "test-math-errno.h".
19434         * math/test-float.c: Likewise.
19435         * math/test-ldouble.c: Likewise.
19436         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
19437         code unconditional.
19438         (test_exceptions): Only run code if TEST_EXCEPTIONS.
19439         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
19440         unconditional.
19441         (test_errno): Only run code if TEST_ERRNO.
19442         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
19444 2015-11-04  Florian Weimer  <fweimer@redhat.com>
19446         * nptl/tst-once5.cc: Remove attribution.
19448 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
19450         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
19451         sqrt, tan, tanh, y0, y1 and yn.
19452         * math/auto-libm-test-out: Regenerated.
19453         * math/libm-test.inc (scalb_test_data): Add more tests.
19454         (scalbn_test_data): Likewise.
19455         (scalbln_test_data): Likewise.
19456         (signbit_test_data): Likewise.
19457         (sin_test_data): Likewise.
19458         (sincos_test_data): Likewise.
19459         (sinh_test_data): Likewise.
19460         (sqrt_test_data): Likewise.
19461         (tan_test_data): Likewise.
19462         (tanh_test_data): Likewise.
19463         (tgamma_test_data): Likewise.
19464         (y0_test_data): Likewise.
19465         (y1_test_data): Likewise.
19466         (yn_test_data): Likewise.
19467         (significand_test_data): Likewise.
19468         * sysdeps/i386/fpu/libm-test-ulps: Update.
19470 2015-11-03  David Kastrup  <dak@gnu.org>
19472         [BZ #18604]
19473         * assert/assert.h (assert): Don't macro-expand failed assertion
19474         expression in error message.
19475         * malloc/malloc.c (assert): Likewise.
19477 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
19479         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
19480         test.
19481         * configure: Regenerated.
19483 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
19485         * math/libm-test.inc (modf_test_data): Add more tests.
19486         (nearbyint_test_data): Likewise.
19487         (nextafter_test_data): Likewise.
19488         (nexttoward_test_data): Likewise.
19489         (pow_test_data): Likewise.
19490         (remainder_test_data): Likewise.
19491         (remquo_test_data): Likewise.
19492         (rint_test_data): Likewise.
19494         [BZ #19201]
19495         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19496         Check for zero remainder in case of large exponents and ensure
19497         correct sign of result in that case.
19498         * math/libm-test.inc (remainder_test_data): Add more tests.
19500         [BZ #6799]
19501         * math/s_nextafter.c: Include <errno.h>.
19502         (__nextafter): Set errno on overflow and underflow.
19503         * math/s_nexttowardf.c: Include <errno.h>.
19504         (__nexttowardf): Set errno on overflow and underflow.
19505         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
19506         (__nextafterl): Set errno on overflow and underflow.
19507         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
19508         (__nexttoward): Set errno on overflow and underflow.
19509         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
19510         (__nexttowardf): Set errno on overflow and underflow.
19511         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
19512         (__nextafterf): Set errno on overflow and underflow.
19513         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
19514         (__nextafterl): Set errno on overflow and underflow.
19515         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
19516         (__nexttoward): Set errno on overflow and underflow.
19517         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
19518         (__nexttowardf): Set errno on overflow and underflow.
19519         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
19520         (__nextafterl): Set errno on overflow and underflow.
19521         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
19522         (__nexttoward): Set errno on overflow and underflow.
19523         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
19524         (__nexttowardf): Set errno on overflow and underflow.
19525         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
19526         (__nexttoward): Set errno on overflow and underflow.
19527         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
19528         (__nexttowardf): Set errno on overflow and underflow.
19529         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
19530         (__nldbl_nexttowardf): Set errno on overflow and underflow.
19531         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
19532         (__nextafterl): Set errno on overflow and underflow.
19533         * math/libm-test.inc (nextafter_test_data): Do not allow errno
19534         setting to be missing on overflow.  Add more tests.
19535         (nexttoward_test_data): Likewise.
19537         * configure.ac (libc_cv_initfini_array): Remove configure test.
19538         * configure: Regenerated.
19540 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
19542         [BZ #19189]
19543         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
19544         non-finite argument handle arguments with negative sign.
19546         * math/libm-test.inc (j0_test_data): Do not test sign of zero
19547         result from infinite argument.
19548         (j1_test_data): Likewise.
19549         (jn_test_data): Likewise.
19550         (y0_test_data): Likewise.
19551         (y1_test_data): Likewise.
19552         (yn_test_data): Likewise.
19554         [BZ #16171]
19555         * math/w_remainder.c (drem): Define as weak alias of __remainder.
19556         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
19557         * math/w_remainderf.c (dremf): Define as weak alias of
19558         __remainderf.
19559         * math/w_remainderl.c (dreml): Define as weak alias of
19560         __remainderl.
19561         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
19562         __remainder.
19563         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
19564         __remainderf.
19565         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
19566         __remainderl.
19567         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
19568         weak alias of remainderl.
19569         * sysdeps/ieee754/ldbl-opt/w_remainder.c
19570         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
19571         alias of __remainder.
19572         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
19573         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
19574         strong alias of __remainderl.
19575         (dreml): Use long_double_symbol.
19576         * math/Makefile (libm-calls): Remove w_drem.
19577         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
19578         (CFLAGS-nldbl-drem.c): Remove variable.
19579         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
19580         * math/w_drem.c: Remove file.
19581         * math/w_dremf.c: Likewise.
19582         * math/w_dreml.c: Likewise.
19583         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
19584         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
19585         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
19587         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
19588         * sysdeps/i386/configure: Regenerated.
19589         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
19590         * sysdeps/x86_64/configure: Regenerated.
19592         * configure.ac (libc_cv_asm_protected_directive): Remove configure
19593         test.
19594         (libc_cv_visibility_attribute): Likewise.
19595         (libc_cv_protected_data): Test unconditionally.
19596         (libc_cv_broken_visibility_attribute): Remove configure test.
19597         (libc_cv_have_sdata_section): Test unconditionally.
19598         * configure: Regenerated.
19600         * include/libc-internal.h (libc_max_align_t): Remove typedef.
19601         * include/scratch_buffer.h: Include <stddef.h> instead of
19602         <libc-internal.h>.
19603         (struct scratch_buffer): Use max_align_t instead of
19604         libc_max_align_t.
19606 2015-10-29  Florian Weimer  <fweimer@redhat.com>
19608         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
19609         instead of extend_alloca.  Change control flow to avoid a goto.
19610         Remove assert which is trivially always true.
19612 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
19614         [BZ #16068]
19615         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
19616         (FE_ALL_EXCEPT_X86): New macro.
19617         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
19618         FE_ALL_EXCEPT.  Ensure precision control is included in
19619         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
19620         handle "denormal operand exception" and clear FZ and DAZ bits.
19621         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
19622         (FE_ALL_EXCEPT_X86): New macro.
19623         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
19624         FE_ALL_EXCEPT.  Ensure precision control is included in
19625         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
19626         handle "denormal operand exception" and clear FZ and DAZ bits.
19627         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
19628         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
19629         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19630         test-fenv-x87 and test-fenv-sse-2.
19631         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
19633         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
19634         * math/test-double.h (BUILD_COMPLEX): New macro.
19635         * math/test-float.h (BUILD_COMPLEX): Likewise.
19636         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
19638         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
19639         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
19640         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
19641         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
19642         instead of DBL_DENORM_MIN in comment.
19643         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
19644         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
19645         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
19646         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
19647         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
19648         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
19650 2015-10-28  Florian Weimer  <fweimer@redhat.com>
19652         [BZ# 19048]
19653         * malloc/malloc.c (struct malloc_state): Update comment.  Add
19654         attached_threads member.
19655         (main_arena): Initialize attached_threads.
19656         * malloc/arena.c (list_lock): Update comment.
19657         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
19658         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
19659         (deattach_arena): New function.
19660         (_int_new_arena): Initialize arena reference count and deattach
19661         replaced arena.
19662         (get_free_list, reused_arena): Update reference count and deattach
19663         replaced arena.
19664         (arena_thread_freeres): Update arena reference count and only put
19665         unreferenced arenas on the free list.
19667 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
19669         [BZ #19181]
19670         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
19671         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
19672         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
19673         * math/test-fenv-clear-main.c: New file.
19674         * math/test-fenv-clear.c: Likewise.
19675         * math/Makefile (tests): Add test-fenv-clear.
19676         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
19677         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19678         test-fenv-clear-sse.
19679         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
19681         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
19682         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
19683         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
19685 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19687         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
19688         static libc.
19690 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
19692         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
19693         test.
19694         * sysdeps/i386/configure: Regenerated.
19695         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
19696         test.
19697         * sysdeps/x86_64/configure: Regenerated.
19698         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
19699         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19700         memset-avx2 unconditionally instead of conditionally on
19701         [$(config-cflags-avx2) = yes].
19702         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19703         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
19704         unconditional.
19705         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
19706         * sysdeps/x86_64/multiarch/memset_chk.S
19707         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
19708         to [IS_IN (libc) && SHARED].
19710 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
19712         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
19713         configure test.
19714         * sysdeps/arm/configure: Regenerated.
19715         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
19716         Define variable if not already defined.
19718         [BZ #17404]
19719         * sysdeps/mips/atomic-machine.h
19720         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
19721         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
19722         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
19724         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
19725         unconditional.
19726         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
19727         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19728         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
19729         unconditional.
19730         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19731         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
19732         unconditional.
19733         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19734         * stdlib/setenv.c
19735         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
19736         code unconditional.
19737         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
19738         Remove conditional code.
19739         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
19740         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
19741         unconditional.
19742         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19743         code.
19744         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
19745         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
19746         unconditional.
19747         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19748         code.
19749         * sysdeps/ieee754/ldbl-128/k_tanl.c
19750         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19751         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19752         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
19753         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19754         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19755         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
19756         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
19757         unconditional.
19758         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19759         code.
19760         * sysdeps/ieee754/ldbl-96/k_tanl.c
19761         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19762         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19764         * nptl/tst-initializers1-c11.c: New file.
19765         * nptl/tst-initializers1-gnu11.c: Likewise.
19766         * nptl/Makefile (tests): Add these new tests.
19767         (CFLAGS-tst-initializers1-c11.c): New variable.
19768         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19770         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
19771         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
19772         instead of -std=gnu99.
19773         * configure.ac (systemtap): Test with -std=gnu11 instead of
19774         -std=gnu99.
19775         * configure: Regenerated.
19776         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
19777         in compilation command in comment.
19779         * sysdeps/nptl/configure.ac: Remove file.
19780         * sysdeps/nptl/configure: Remove generated file.
19781         * configure.ac (libc_cv_forced_unwind): Do not substitute.
19782         * configure: Regenerated.
19783         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
19784         * config.make.in (have-forced-unwind): Remove variable.
19785         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
19786         unconditional.
19787         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
19788         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
19789         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
19790         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
19791         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
19792         unconditional.
19794 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19796         [BZ #19174]
19797         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
19798         .skip_lock_out_of_tbegin_retries.
19799         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
19800         (__lll_lock_elision): Likewise, and respect a value of
19801         try_tbegin <= 0.
19803 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19805         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
19806         statement.
19808 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
19810         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
19811         variable.
19812         (test-xfail-ISO11/stdalign.h/conform): Likewise.
19813         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
19815         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
19816         of -std=c1x -D_ISOC11_SOURCE.
19818         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
19819         * configure: Regenerated.
19820         * manual/install.texi (Tools for Compilation): Document
19821         requirement for GCC 4.7 or later.
19822         * INSTALL: Regenerated.
19824 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
19826         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
19827         on CNT to a conditional jump to 'puntdata'.
19829 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
19831         * configure.ac (libc_cv_gcc___thread): Remove configure test.
19832         (libc_cv_gcc_tls_model_attr): Likewise.
19833         * configure: Regenerated.
19835         * configure.ac (libc_cv_need_minus_P): Remove configure test.
19836         * configure: Regenerated.
19837         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
19839 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
19841         * configure.ac (old_glibc_headers): Remove configure test.
19842         * configure: Regenerated.
19843         * config.make.in (old-glibc-headers): Remove variable.
19844         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
19845         (install): Remove dependency on remove-old-headers.
19846         (headers2_0): Remove variable.
19847         (remove-old-headers): Remove rule.
19849         * configure.ac (libc_cv_dot_text): Remove configure test.
19850         (libc_cv_asm_set_directive): Use .text instead of
19851         ${libc_cv_dot_text} in configure test.
19852         * configure: Regenerated.
19854 2015-10-26  Florian Weimer  <fweimer@redhat.com>
19856         [BZ #19168]
19857         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19859 2015-10-26  Florian Weimer  <fweimer@redhat.com>
19861         * configure.ac (CXX): Clear the variable if the C++ toolchain does
19862         not support static linking.
19863         * configure: Regenerate.
19865 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
19867         * math/libm-test.inc (check_float_internal): Do not special-case
19868         errors up to 0.5 ulp.
19870         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19871         log2.
19872         * math/auto-libm-test-out: Regenerated.
19873         * math/libm-test.inc (MAX_EXP): New macro.
19874         (ilogb_test_data): Add more tests.
19875         (isfinite_test_data): Likewise.
19876         (isgreater_test_data): Likewise.
19877         (isgreaterequal_test_data): Likewise.
19878         (isinf_test_data): Likewise.
19879         (isless_test_data): Likewise.
19880         (islessequal_test_data): Likewise.
19881         (islessgreater_test_data): Likewise.
19882         (isnan_test_data): Likewise.
19883         (isnormal_test_data): Likewise.
19884         (issignaling_test_data): Likewise.
19885         (isunordered_test_data): Likewise.
19886         (j0_test_data): Likewise.
19887         (j1_test_data): Likewise.
19888         (jn_test_data): Likewise.
19889         (lgamma_test_data): Likewise.
19890         (log_test_data): Likewise.
19891         (log10_test_data): Likewise.
19892         (log1p_test_data): Likewise.
19893         (log2_test_data): Likewise.
19894         (logb_test_data): Likewise.
19895         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19897         [BZ #18611]
19898         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
19899         avoid excess range and precision on underflow.
19900         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19901         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
19902         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19903         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
19904         underflow.
19905         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19906         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19907         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19908         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19909         * math/auto-libm-test-in: Do not allow missing errno setting for
19910         tests of j1 and jn.
19911         * math/auto-libm-test-out: Regenerated.
19913 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
19915         [BZ #15491]
19916         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
19917         floating-point environment instead of clearing all exceptions.
19918         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19919         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
19920         merging in "invalid" exceptions from frndint.
19921         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19922         * math/test-nearbyint-except.c: New file.
19923         * math/Makefile (tests): Add test-nearbyint-except.
19925 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
19927         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
19929         * sysdeps/tile/libm-test-ulps: Regenerated.
19931 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
19934         (__NR_sync_file_range2): Assume it is always defined.
19935         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
19936         (__NR_sync_file_range): Assume it is always defined.
19938 2015-10-22  Andreas Schwab  <schwab@suse.de>
19940         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
19941         INTERNAL_SYSCALL_ERRNO.
19942         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19943         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
19944         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19945         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
19946         Likewise.
19947         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19949 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
19951         * io/tst-fcntl.c (fd): New static variable.
19952         (do_prepare): Open temporary file here....
19953         (do_test): ...not here.
19955         * io/ftwtest-sh: Also trap on exit to remove temporary files.
19957 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
19959         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
19960         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
19961         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
19962         Moved before "#ifdef __ASSEMBLER__".
19964 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
19966         [BZ #19156]
19967         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
19968         arguments very close to 0.
19970 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
19972         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
19973         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
19975 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
19977         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
19978         New.  Defined for GCC 5 and above when not compiling for
19979         profiling.
19980         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
19982         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
19983         Renamed to ...
19984         (CFLAGS-epoll_pwait.o): This.
19985         (CFLAGS-mmap.c): Renamed to ...
19986         (CFLAGS-mmap.o): This.
19987         (CFLAGS-mmap64.c): Renamed to ...
19988         (CFLAGS-mmap64.o): This.
19989         (CFLAGS-epoll_pwait.os): New.
19990         (CFLAGS-mmap.os): Likewise.
19991         (CFLAGS-mmap64.os): Likewise.
19992         (CFLAGS-semtimedop.os): Likewise.
19993         (CFLAGS-semtimedop.c): Renamed to ...
19994         (CFLAGS-semtimedop.o): This.
19996 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19998         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
19999         warning message.
20001 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20003         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
20004         * Makefile ($(objpfx)c++-types-check.out): Filter out
20005         $(+gccwarn-c) instead of -Wstrict-prototypes.
20007         * io/fts.c (fts_open): Convert to prototype-style function
20008         definition.
20009         * malloc/mcheck.c (mcheck): Likewise.
20010         (mcheck_pedantic): Likewise.
20011         * posix/regexec.c (re_search_2_stub): Likewise.  Use
20012         internal_function.
20013         (re_search_internal): Likewise.
20014         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
20015         prototype-style function definition.
20016         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20017         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
20018         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
20019         (xdr_utmpptr): Likewise.
20020         (xdr_utmparr): Likewise.
20021         (xdr_utmpidle): Likewise.
20022         (xdr_utmpidleptr): Likewise.
20023         (xdr_utmpidlearr): Likewise.
20025         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
20026         log, log10 and log2.
20027         * math/auto-libm-test-out: Regenerated.
20028         * math/libm-test.inc (fmod_test_data): Add more tests.
20029         (fpclassify_test_data): Likewise.
20030         (frexp_test_data): Likewise.
20031         (hypot_test_data): Likewise.
20032         (ilogb_test_data): Likewise.
20034 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
20036         * debug/fortify_fail.c (__fortify_fail): Convert to
20037         prototype-style function definition.  Use internal_function.
20038         * libio/genops.c (save_for_backup): Convert to prototype-style
20039         function definition.
20040         * libio/wgenops.c (save_for_wbackup): Likewise.
20041         * login/grantpt.c (grantpt): Likewise.
20042         * login/ptsname.c (ptsname): Likewise.
20043         (__ptsname_r): Likewise.
20044         * login/unlockpt.c (unlockpt): Likewise.
20045         * mach/msgserver.c (__mach_msg_server): Likewise.
20046         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
20047         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
20048         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
20049         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
20050         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
20051         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
20052         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
20053         Likewise.
20054         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
20055         internal_function.
20056         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
20057         prototype-style function definition.
20058         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
20059         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
20060         (__pthread_create_2_0): Likewise.
20061         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
20062         * nptl/register-atfork.c (__register_atfork): Likewise.
20063         * posix/glob.c (glob): Likewise.
20064         * posix/regcomp.c (re_comp): Likewise.
20065         * posix/regexec.c (re_exec): Likewise.
20066         * stdlib/add_n.c [__STDC__]: Make code unconditional.
20067         [!__STDC__]: Remove conditional code.
20068         * stdlib/cmp.c [__STDC__]: Make code unconditional.
20069         [!__STDC__]: Remove conditional code.
20070         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
20071         [!__STDC__]: Remove conditional code.
20072         * stdlib/divrem.c [__STDC__]: Make code unconditional.
20073         [!__STDC__]: Remove conditional code.
20074         * stdlib/lshift.c [__STDC__]: Make code unconditional.
20075         [!__STDC__]: Remove conditional code.
20076         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
20077         [!__STDC__]: Remove conditional code.
20078         * stdlib/mul.c [__STDC__]: Make code unconditional.
20079         [!__STDC__]: Remove conditional code.
20080         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
20081         [!__STDC__]: Remove conditional code.
20082         * stdlib/rshift.c [__STDC__]: Make code unconditional.
20083         [!__STDC__]: Remove conditional code.
20084         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
20085         function definition.
20086         (STRTOF): Likewise.
20087         * stdlib/strtod_l.c (__STRTOF): Likewise.
20088         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
20089         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
20090         (__strtol_l): Likewise.
20091         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
20092         [!__STDC__]: Remove conditional code.
20093         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
20094         definition.
20095         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
20096         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20097         type.
20098         (__strcasecmp): Convert to prototype-style function definition.
20099         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
20100         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20101         type.
20102         (__strncasecmp): Convert to prototype-style function definition.
20103         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
20104         * sunrpc/xdr.c (xdr_union): Likewise.
20105         * sunrpc/xdr_array.c (xdr_array): Likewise.
20106         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
20107         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
20108         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
20109         Likewise.
20110         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
20111         Likewise.
20112         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
20113         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
20114         Likewise.
20115         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
20116         (LOCALE_PARAM_PROTO): Likewise.
20117         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
20118         argument type.
20119         (ut_argument_spec): Remove macro.
20120         (ut_argument_spec_iso): Rename to ut_argument_spec.
20121         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
20122         prototype-style function definition.
20123         (memcpy_uppcase): Likewise.
20124         (__strftime_internal): Likewise.
20125         (my_strftime): Likewise.
20126         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
20127         (LOCALE_PARAM_DECL): Likewise.
20128         [_LIBC] (LOCALE_PARAM): Include argument type.
20129         (__strptime_internal): Convert to prototype-style function
20130         definition.
20131         (strptime): Likewise.
20132         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
20133         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20134         type.
20135         (__wcscasecmp): Convert to prototype-style function definition.
20136         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
20137         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20138         type.
20139         (__wcsncasecmp): Convert to prototype-style function definition.
20141         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
20142         function definition.
20143         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20144         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20145         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
20146         * elf/dl-minimal.c (_itoa): Likewise.
20147         * hurd/hurdmalloc.c (malloc): Likewise.
20148         (free): Likewise.
20149         (realloc): Likewise.
20150         * inet/inet6_option.c (inet6_option_space): Likewise.
20151         (inet6_option_init): Likewise.
20152         (inet6_option_append): Likewise.
20153         (inet6_option_alloc): Likewise.
20154         (inet6_option_next): Likewise.
20155         (inet6_option_find): Likewise.
20156         * io/ftw.c (FTW_NAME): Likewise.
20157         (NFTW_NAME): Likewise.
20158         (NFTW_NEW_NAME): Likewise.
20159         (NFTW_OLD_NAME): Likewise.
20160         * libio/iofwide.c (_IO_fwide): Likewise.
20161         * libio/strops.c (_IO_str_init_static_internal): Likewise.
20162         (_IO_str_init_static): Likewise.
20163         (_IO_str_init_readonly): Likewise.
20164         (_IO_str_overflow): Likewise.
20165         (_IO_str_underflow): Likewise.
20166         (_IO_str_count): Likewise.
20167         (_IO_str_seekoff): Likewise.
20168         (_IO_str_pbackfail): Likewise.
20169         (_IO_str_finish): Likewise.
20170         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
20171         (_IO_wstr_overflow): Likewise.
20172         (_IO_wstr_underflow): Likewise.
20173         (_IO_wstr_count): Likewise.
20174         (_IO_wstr_seekoff): Likewise.
20175         (_IO_wstr_pbackfail): Likewise.
20176         (_IO_wstr_finish): Likewise.
20177         * locale/programs/localedef.c (normalize_codeset): Likewise.
20178         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20179         (add_locales_to_archive): Likewise.
20180         (delete_locales_from_archive): Likewise.
20181         * malloc/malloc.c (__libc_mallinfo): Likewise.
20182         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
20183         * misc/tsearch.c (__tfind): Likewise.
20184         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
20185         * nptl/pthread_attr_getdetachstate.c
20186         (__pthread_attr_getdetachstate): Likewise.
20187         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
20188         Likewise.
20189         * nptl/pthread_attr_getinheritsched.c
20190         (__pthread_attr_getinheritsched): Likewise.
20191         * nptl/pthread_attr_getschedparam.c
20192         (__pthread_attr_getschedparam): Likewise.
20193         * nptl/pthread_attr_getschedpolicy.c
20194         (__pthread_attr_getschedpolicy): Likewise.
20195         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
20196         Likewise.
20197         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
20198         Likewise.
20199         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
20200         Likewise.
20201         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
20202         Likewise.
20203         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
20204         (__pthread_attr_init_2_0): Likewise.
20205         * nptl/pthread_attr_setdetachstate.c
20206         (__pthread_attr_setdetachstate): Likewise.
20207         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
20208         Likewise.
20209         * nptl/pthread_attr_setinheritsched.c
20210         (__pthread_attr_setinheritsched): Likewise.
20211         * nptl/pthread_attr_setschedparam.c
20212         (__pthread_attr_setschedparam): Likewise.
20213         * nptl/pthread_attr_setschedpolicy.c
20214         (__pthread_attr_setschedpolicy): Likewise.
20215         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
20216         Likewise.
20217         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
20218         Likewise.
20219         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
20220         Likewise.
20221         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
20222         Likewise.
20223         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
20224         Likewise.
20225         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
20226         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
20227         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
20228         use internal_function.
20229         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
20230         prototype-style function definition.
20231         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
20232         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
20233         internal_function.
20234         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
20235         Convert to prototype-style function definition.
20236         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
20237         Likewise.
20238         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
20239         Likewise.
20240         (__pthread_mutex_unlock): Likewise.
20241         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
20242         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
20243         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
20244         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
20245         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
20246         * nss/makedb.c (process_input): Likewise.
20247         * posix/fnmatch.c (__strchrnul): Likewise.
20248         (__wcschrnul): Likewise.
20249         (fnmatch): Likewise.
20250         * posix/fnmatch_loop.c (FCT): Likewise.
20251         * posix/glob.c (globfree): Likewise.
20252         (__glob_pattern_type): Likewise.
20253         (__glob_pattern_p): Likewise.
20254         * posix/regcomp.c (re_compile_pattern): Likewise.
20255         (re_set_syntax): Likewise.
20256         (re_compile_fastmap): Likewise.
20257         (regcomp): Likewise.
20258         (regerror): Likewise.
20259         (regfree): Likewise.
20260         * posix/regexec.c (regexec): Likewise.
20261         (re_match): Likewise.
20262         (re_search): Likewise.
20263         (re_match_2): Likewise.
20264         (re_search_2): Likewise.
20265         (re_search_stub): Likewise.  Use internal_function
20266         (re_copy_regs): Likewise.
20267         (re_set_registers): Convert to prototype-style function
20268         definition.
20269         (prune_impossible_nodes): Likewise.  Use internal_function.
20270         * resolv/inet_net_pton.c (inet_net_pton): Convert to
20271         prototype-style function definition.
20272         (inet_net_pton_ipv4): Likewise.
20273         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20274         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
20275         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
20276         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
20277         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20278         Make variadic.
20279         * time/strptime_l.c (localtime_r): Convert to prototype-style
20280         function definition.
20281         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
20282         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
20283         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
20284         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
20286         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
20287         definition.
20288         (_ufc_doit_r): Likewise.
20289         * crypt/crypt_util.c (_ufc_copymem): Likewise.
20290         (_ufc_output_conversion_r): Likewise.
20291         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
20292         * inet/rcmd.c (rcmd_af): Likewise.
20293         (rcmd): Likewise.
20294         (ruserok_af): Likewise.
20295         (ruserok): Likewise.
20296         (ruserok2_sa): Likewise.
20297         (ruserok_sa): Likewise.
20298         (iruserok_af): Likewise.
20299         (iruserok): Likewise.
20300         (__ivaliduser): Likewise.
20301         (__validuser2_sa): Likewise.
20302         * inet/rexec.c (rexec_af): Likewise.
20303         (rexec): Likewise.
20304         * inet/ruserpass.c (ruserpass): Likewise.
20305         * locale/programs/xmalloc.c (xcalloc): Likewise.
20306         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
20307         * math/w_drem.c (__drem): Likewise.
20308         * math/w_dremf.c (__dremf): Likewise.
20309         * math/w_dreml.c (__dreml): Likewise.
20310         * misc/daemon.c (daemon): Likewise.
20311         * resolv/res_debug.c (p_fqnname): Likewise.
20312         * stdlib/div.c (div): Likewise.
20313         * string/memcmp.c (memcmp_bytes): Likewise.
20314         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
20315         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
20317         * crypt/cert.c (main): Convert to prototype-style function
20318         definition.
20319         * io/pipe.c (__pipe): Likewise.
20320         * io/pipe2.c (__pipe2): Likewise.
20321         * misc/futimesat.c (futimesat): Likewise.
20322         * misc/utimes.c (__utimes): Likewise.
20323         * posix/execve.c (__execve): Likewise.
20324         * posix/execvp.c (execvp): Likewise.
20325         * posix/execvpe.c (__execvpe): Likewise.
20326         * posix/fexecve.c (fexecve): Likewise.
20327         * socket/socketpair.c (socketpair): Likewise.
20328         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
20329         * stdlib/erand48.c (erand48): Likewise.
20330         * stdlib/erand48_r.c (__erand48_r): Likewise.
20331         * stdlib/jrand48.c (jrand48): Likewise.
20332         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
20333         * stdlib/lcong48.c (lcong48): Likewise.
20334         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
20335         * stdlib/nrand48.c (nrand48): Likewise.
20336         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
20337         * stdlib/seed48.c (seed48): Likewise.
20338         * stdlib/seed48_r.c (__seed48_r): Likewise.
20339         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
20340         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
20341         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
20343 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
20345         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
20346         * configure: Regenerated.
20347         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
20348         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
20349         unconditional.
20350         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20351         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20352         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20353         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
20354         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
20355         unconditional.
20356         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20358         * posix/Makefile (CFLAGS-regex.c): Remove variable.
20359         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
20361         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
20362         function definition.
20363         * crypt/crypt_util.c (__encrypt_r): Likewise.
20364         * libio/genops.c (_IO_no_init): Likewise.
20365         * libio/iofopncook.c (_IO_fopencookie): Likewise.
20366         (_IO_old_fopencookie): Likewise.
20367         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20368         * libio/iogetline.c (_IO_getline): Likewise.
20369         (_IO_getline_info): Likewise.
20370         * libio/iogetwline.c (_IO_getwline): Likewise.
20371         (_IO_getwline_info): Likewise.
20372         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
20373         * libio/vswprintf.c (_IO_vswprintf): Likewise.
20374         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
20375         (find_entry): Likewise.
20376         (iterate_table): Likewise.
20377         (lookup): Likewise.
20378         * login/forkpty.c (forkpty): Likewise.
20379         * misc/hsearch_r.c (__hsearch_r): Likewise.
20380         * misc/select.c (__select): Likewise.
20381         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
20382         Likewise.
20383         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
20384         Likewise.
20385         * nptl/old_pthread_cond_timedwait.c
20386         (__pthread_cond_timedwait_2_0): Likewise.
20387         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
20388         * nptl/pthread_barrierattr_getpshared.c
20389         (pthread_barrierattr_getpshared): Likewise.
20390         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
20391         Likewise.
20392         * nptl/pthread_mutex_setprioceiling.c
20393         (pthread_mutex_setprioceiling): Likewise.
20394         * nptl/pthread_mutexattr_getprioceiling.c
20395         (pthread_mutexattr_getprioceiling): Likewise.
20396         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
20397         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20398         Likewise.
20399         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
20400         Likewise.
20401         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
20402         Likewise.
20403         * socket/recvfrom.c (__recvfrom): Likewise.
20404         * socket/sendto.c (__sendto): Likewise.
20405         * socket/setsockopt.c (__setsockopt): Likewise.
20406         * stdio-common/_itoa.c (_itoa): Likewise.
20407         * stdio-common/_itowa.c (_itowa): Likewise.
20408         * stdio-common/reg-printf.c (__register_printf_specifier):
20409         Likewise.
20410         (__register_printf_function): Likewise.
20411         * stdio-common/tempname.c (__path_search): Likewise.
20412         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
20413         * stdlib/mul_1.c (mpn_mul_1): Likewise.
20414         * stdlib/random_r.c (__initstate_r): Likewise.
20415         * stdlib/setenv.c (__add_to_environ): Likewise.
20416         * stdlib/submul_1.c (mpn_submul_1): Likewise.
20417         * streams/getpmsg.c (getpmsg): Likewise.
20418         * streams/putmsg.c (putmsg): Likewise.
20419         * streams/putpmsg.c (putpmsg): Likewise.
20420         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
20421         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
20422         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
20423         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
20424         * sunrpc/pm_getport.c (pmap_getport): Likewise.
20425         * sunrpc/svc_udp.c (cache_get): Likewise.
20426         * sunrpc/xdr_array.c (xdr_vector): Likewise.
20427         * sysdeps/mach/hurd/getcwd.c
20428         (__canonicalize_directory_name_internal): Likewise.
20429         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
20430         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
20431         * sysdeps/mach/hurd/select.c (__select): Likewise.
20432         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
20433         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
20434         * sysdeps/sparc/nptl/pthread_barrier_init.c
20435         (__pthread_barrier_init): Likewise.
20436         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
20437         (__pthread_cond_timedwait): Likewise.
20438         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
20439         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
20440         Likewise.
20441         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
20442         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
20443         Likewise.
20444         * sysvipc/semtimedop.c (semtimedop): Likewise.
20445         * time/setitimer.c (__setitimer): Likewise.
20446         * time/strftime_l.c (emacs_strftime): Likewise.
20448 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
20450         * config.make.in (have-ssp): Delete.
20451         (stack-protector): New variable.
20452         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
20453         cache test for -fstack-protector-strong.  Export stack_protector to
20454         the best ssp flag.
20455         * configure: Regenerated.
20456         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
20457         * nscd/Makefile (CFLAGS-nscd): Likewise.
20458         * resolv/Makefile (CFLAGS-libresolv): Likewise.
20460 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
20462         [BZ #19122]
20463         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
20464         attribute_hidden.
20466 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20468         [BZ #18743]
20469         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
20470         code to...
20471         (ELIDE_LOCK): ...here.
20472         (__get_new_count): New function with part of the code from
20473         __elide_lock that updates the value of adapt_count after a
20474         transaction abort.
20475         (__elided_trylock): Moved this code to...
20476         (ELIDE_TRYLOCK): ...here.
20478 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
20480         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
20481         * configure: Regenerate.
20482         * INSTALL: Regenerate.
20483         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
20484         and tweak grammar.
20486 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
20488         * login/programs/pt_chown.c: Include signal.h
20489         (main): Clear any signal mask from the parent process.
20491 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
20493         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
20494         * configure: Regenerated.
20495         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
20496         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
20497         $(gnu89-inline-CFLAGS).
20499         * configure.ac (libc_cv_asm_weak_directive): Remove configure
20500         test.
20501         (libc_cv_asm_weakext_directive): Likewise.
20502         * configure: Regenerated.
20503         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
20504         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
20505         * include/libc-symbols.h
20506         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
20507         #error.
20508         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
20509         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
20511         * sysdeps/arm/backtrace.c (__backtrace): Convert to
20512         prototype-style function definition.
20513         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
20514         * sysdeps/i386/ffs.c (__ffs): Likewise.
20515         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20516         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
20517         Likewise.
20518         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20519         Likewise.
20520         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
20521         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
20522         Likewise.
20523         * sysdeps/m68k/ffs.c (__ffs): Likewise.
20524         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
20525         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
20526         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
20527         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
20528         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
20529         * sysdeps/mach/hurd/access.c (__access): Likewise.
20530         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
20531         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
20532         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
20533         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
20534         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
20535         (cthread_getspecific): Likewise.
20536         (cthread_setspecific): Likewise.
20537         (__libc_getspecific): Likewise.
20538         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
20539         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
20540         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
20541         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
20542         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
20543         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
20544         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
20545         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
20546         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
20547         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
20548         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
20549         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
20550         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
20551         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
20552         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
20553         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
20554         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
20555         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
20556         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
20557         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
20558         * sysdeps/mach/hurd/link.c (__link): Likewise.
20559         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
20560         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
20561         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
20562         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
20563         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20564         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
20565         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
20566         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
20567         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
20568         * sysdeps/mach/hurd/rename.c (rename): Likewise.
20569         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
20570         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
20571         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
20572         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
20573         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
20574         * sysdeps/mach/hurd/send.c (__send): Likewise.
20575         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
20576         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
20577         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
20578         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
20579         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
20580         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
20581         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
20582         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
20583         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
20584         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
20585         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
20586         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
20587         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
20588         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
20589         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
20590         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
20591         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
20592         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
20593         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
20594         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
20595         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
20596         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
20597         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
20598         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
20599         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
20600         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
20601         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
20602         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
20603         * sysdeps/posix/alarm.c (alarm): Likewise.
20604         * sysdeps/posix/cuserid.c (cuserid): Likewise.
20605         * sysdeps/posix/dirfd.c (dirfd): Likewise.
20606         * sysdeps/posix/dup.c (__dup): Likewise.
20607         * sysdeps/posix/dup2.c (__dup2): Likewise.
20608         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
20609         (main): Likewise.
20610         * sysdeps/posix/flock.c (__flock): Likewise.
20611         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
20612         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
20613         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
20614         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
20615         * sysdeps/posix/isatty.c (__isatty): Likewise.
20616         * sysdeps/posix/killpg.c (killpg): Likewise.
20617         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20618         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
20619         * sysdeps/posix/raise.c (raise): Likewise.
20620         * sysdeps/posix/remove.c (remove): Likewise.
20621         * sysdeps/posix/rename.c (rename): Likewise.
20622         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
20623         * sysdeps/posix/seekdir.c (seekdir): Likewise.
20624         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
20625         * sysdeps/posix/sigignore.c (sigignore): Likewise.
20626         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
20627         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
20628         * sysdeps/posix/sigset.c (sigset): Likewise.
20629         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
20630         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
20631         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
20632         * sysdeps/posix/time.c (time): Likewise.
20633         * sysdeps/posix/ttyname.c (getttyname): Likewise.
20634         (ttyname): Likewise.
20635         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
20636         * sysdeps/posix/utime.c (utime): Likewise.
20637         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
20638         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
20639         Likewise.
20640         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
20641         (pthread_spin_trylock): Likewise.
20642         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
20643         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
20644         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
20645         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
20646         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
20647         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
20648         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
20649         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
20650         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
20651         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
20652         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
20653         * sysdeps/s390/ffs.c (__ffs): Likewise.
20654         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
20655         Likewise.
20656         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20657         Likewise.
20658         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
20659         Likewise.
20660         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
20661         (pthread_barrier_destroy): Likewise.
20662         * sysdeps/sparc/nptl/pthread_barrier_wait.c
20663         (__pthread_barrier_wait): Likewise.
20664         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
20665         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
20666         (__pthread_barrier_wait): Likewise.
20667         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
20668         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
20669         (memcmp_not_common_alignment): Likewise.
20670         (MEMCMP): Likewise.
20671         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
20672         (_wordcopy_fwd_dest_aligned): Likewise.
20673         (_wordcopy_bwd_aligned): Likewise.
20674         (_wordcopy_bwd_dest_aligned): Likewise.
20675         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
20676         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
20677         * sysdeps/unix/bsd/stty.c (stty): Likewise.
20678         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
20679         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
20680         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
20681         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
20682         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
20683         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
20684         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
20685         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
20686         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
20687         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
20688         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
20689         * sysdeps/unix/stime.c (stime): Likewise.
20690         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
20691         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
20692         Likewise.  Use internal_function.
20693         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
20694         Convert to prototype-style function definition.
20695         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20696         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20697         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
20698         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20699         Likewise.  Use internal_function.
20700         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
20701         prototype-style function definition
20702         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20703         Likewise.
20704         (__getlogin_r): Likewise.
20705         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
20706         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
20707         (__pthread_cond_broadcast): Likewise.
20708         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
20709         (__pthread_cond_destroy): Likewise.
20710         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
20711         (__pthread_cond_init): Likewise.
20712         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
20713         (__pthread_cond_signal): Likewise.
20714         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
20715         (__pthread_cond_wait): Likewise.
20716         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
20717         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
20718         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
20719         Likewise.
20720         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
20721         Likewise.
20722         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
20723         Likewise.
20724         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
20725         Likewise.
20726         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
20727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
20728         (__ftruncate64): Likewise.
20729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
20730         (truncate64): Likewise.
20731         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
20732         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
20733         (pthread_getcpuclockid): Likewise.
20734         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
20735         Likewise.
20736         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
20737         Likewise.
20738         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
20739         Likewise.
20740         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
20741         Likewise.
20742         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
20743         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
20744         (__libc_sigaction): Likewise.
20745         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
20746         Likewise.
20747         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
20748         (__sigprocmask): Likewise.
20749         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
20750         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
20751         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
20752         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
20753         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20754         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
20755         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20756         Likewise.
20757         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
20758         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
20759         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20760         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
20761         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
20762         Likewise.
20763         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
20764         (__sigprocmask): Likewise.
20765         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
20766         (cfgetispeed): Likewise.
20767         (cfsetospeed): Likewise.
20768         (cfsetispeed): Likewise.
20769         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
20770         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
20771         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
20772         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
20773         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
20774         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
20775         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
20776         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
20777         Likewise.
20778         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
20779         Likewise.
20780         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
20781         Likewise.
20782         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
20783         Likewise.
20784         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
20786 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20788         sunrpc: Rewrite with explicit TLS access using __thread.
20789         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
20790         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
20791         directly.
20792         (__rpc_thread_variables): Access thread_rpc_vars directly.
20793         Eliminate redundant assignment of the tvp variable.
20795 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20797         malloc: Rewrite with explicit TLS access using __thread.
20798         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
20799         (tsd_setspecific, tsd_getspecific): Remove.
20800         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
20801         (tsd_setspecific, tsd_getspecific): Likewise.
20802         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
20803         (tsd_setspecific, tsd_getspecific): Likewise.
20804         * malloc/arena.c (thread_arena): New TLS variable.
20805         (arena_key): Remove variable.
20806         (arena_get): Use thread_arena.
20807         (arena_lookup): Remove macro.
20808         (malloc_atfork, free_atfork, ptmalloc_lock_all)
20809         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
20810         (_int_new_arena, get_free_list, reused_arena)
20811         (arena_thread_freeres): Use thread_arena.
20812         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
20813         tsd_getspecific, tsd_setspecific from safety annotations.
20814         (Allocating Cleared Space): Remove arena_lookup from safety
20815         annotations.
20817 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20819         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
20820         struct scratch_buffer instead of extend_alloca.
20822 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20824         * sysdeps/unix/sysv/linux/kernel-features.h
20825         (__ASSUME_SOCK_CLOEXEC): Remove.
20826         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
20827         (__have_paccept): Remove unused macro.
20828         * include/unistd.h (__have_sock_cloexec): Remove declaration.
20829         * misc/syslog.c (openlog_internal): Remove fallback code for
20830         !__ASSUME_SOCK_CLOEXEC.
20831         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
20832         missing SOCK_CLOEXEC.
20833         * nscd/connections.c (have_sock_cloexec): Remove definition.
20834         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
20835         * nscd/nscd_helper.c (open_socket): Remove fallback code for
20836         !__ASSUME_SOCK_CLOEXEC.
20837         * resolv/res_send.c (__have_o_nonblock): Remove definition.
20838         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
20839         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
20840         definition.
20841         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
20842         code for !__ASSUME_SOCK_CLOEXEC.
20844 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20846         [BZ #18982]
20847         * manual/stdio.texi (Variable Arguments Output): Add portability
20848         note, explaining that vfprintf clobbers the va_list pointer.
20850 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
20852         * math/libm-test.inc (fabs_test_data): Add more tests.
20853         (fdim_test_data): Likewise.
20854         (fma_test_data): Likewise.
20855         (fmax_test_data): Likewise.
20856         (fmin_test_data): Likewise.
20857         (fmod_test_data): Likewise.
20859 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
20861         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
20862         data.
20864 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
20866         * math/libm-test.inc (ceil_test_data): Add more tests and more
20867         expectations for "inexact".
20868         (floor_test_data): Add more tests.
20869         (round_test_data): Likewise.
20870         (trunc_test_data): Likewise.
20872         * crypt/cert.c (good_bye): Convert to prototype-style function
20873         definition.
20874         (get8): Likewise.
20875         (put8): Likewise.
20876         * crypt/crypt-entry.c (crypt): Likewise.
20877         (__fcrypt): Likewise.
20878         * crypt/crypt_util.c (_ufc_prbits): Likewise.
20879         (_ufc_set_bits): Likewise.
20880         (_ufc_clearmem): Likewise.
20881         (__init_des_r): Likewise.
20882         (shuffle_sb): Likewise.
20883         (shuffle_sb): Likewise.
20884         (_ufc_setup_salt_r): Likewise.
20885         (_ufc_mk_keytab_r): Likewise.
20886         (_ufc_dofinalperm_r): Likewise.
20887         (encrypt): Likewise.
20888         (__setkey_r): Likewise.
20889         (setkey): Likewise.
20890         * crypt/md5.c (md5_init_ctx): Likewise.
20891         (md5_read_ctx): Likewise.
20892         (md5_finish_ctx): Likewise.
20893         (md5_stream): Likewise.
20894         (md5_buffer): Likewise.
20895         (md5_process_bytes): Likewise.
20896         * crypt/sha256.c (__sha256_init_ctx): Likewise.
20897         (__sha256_finish_ctx): Likewise.
20898         (__sha256_process_bytes): Likewise.
20899         * crypt/sha512.c (__sha512_init_ctx): Likewise.
20900         (__sha512_finish_ctx): Likewise.
20901         (__sha512_process_bytes): Likewise.
20902         * ctype/isctype.c (__isctype): Likewise.
20903         * debug/backtrace.c (__backtrace): Likewise.
20904         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
20905         * debug/fgets_chk.c (__fgets_chk): Likewise.
20906         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
20907         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
20908         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20909         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20910         * debug/memset_chk.c (__memset_chk): Likewise.
20911         * debug/strcat_chk.c (__strcat_chk): Likewise.
20912         * debug/strncat_chk.c (__strncat_chk): Likewise.
20913         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
20914         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
20915         * dirent/dirfd.c (dirfd): Likewise.
20916         * dirent/getdents.c (__getdirentries): Likewise.
20917         * dirent/getdents64.c (getdirentries64): Likewise.
20918         * dirent/rewinddir.c (__rewinddir): Likewise.
20919         * dirent/seekdir.c (seekdir): Likewise.
20920         * dirent/telldir.c (telldir): Likewise.
20921         * elf/sln.c (makesymlinks): Likewise.
20922         (makesymlink): Likewise.
20923         * gmon/gmon.c (__moncontrol): Likewise.
20924         (__monstartup): Likewise.
20925         (write_hist): Likewise.
20926         (write_call_graph): Likewise.
20927         (write_bb_counts): Likewise.
20928         * grp/setgroups.c (setgroups): Likewise.
20929         * inet/inet_lnaof.c (inet_lnaof): Likewise.
20930         * inet/inet_net.c (inet_network): Likewise.
20931         * inet/inet_netof.c (inet_netof): Likewise.
20932         * inet/rcmd.c (rresvport_af): Likewise.
20933         (rresvport): Likewise.
20934         * io/access.c (__access): Likewise.
20935         * io/chdir.c (__chdir): Likewise.
20936         * io/chmod.c (__chmod): Likewise.
20937         * io/chown.c (__chown): Likewise.
20938         * io/close.c (__close): Likewise.
20939         * io/creat.c (creat): Likewise.
20940         * io/creat64.c (creat64): Likewise.
20941         * io/dup.c (__dup): Likewise.
20942         * io/dup2.c (__dup2): Likewise.
20943         * io/dup3.c (__dup3): Likewise.
20944         * io/euidaccess.c (__euidaccess): Likewise.
20945         * io/faccessat.c (faccessat): Likewise.
20946         * io/fchmod.c (__fchmod): Likewise.
20947         * io/fchmodat.c (fchmodat): Likewise.
20948         * io/fchown.c (__fchown): Likewise.
20949         * io/fchownat.c (fchownat): Likewise.
20950         * io/fcntl.c (__fcntl): Likewise.
20951         * io/flock.c (__flock): Likewise.
20952         * io/fts.c (fts_load): Likewise.
20953         (fts_close): Likewise.
20954         (fts_read): Likewise.
20955         (fts_set): Likewise.
20956         (fts_children): Likewise.
20957         (fts_build): Likewise.
20958         (fts_stat): Likewise.
20959         (fts_sort): Likewise.
20960         (fts_alloc): Likewise.
20961         (fts_lfree): Likewise.
20962         (fts_palloc): Likewise.
20963         (fts_padjust): Likewise.
20964         (fts_maxarglen): Likewise.
20965         (fts_safe_changedir): Likewise.
20966         * io/getwd.c (getwd): Likewise.
20967         * io/isatty.c (__isatty): Likewise.
20968         * io/lchown.c (__lchown): Likewise.
20969         * io/link.c (__link): Likewise.
20970         * io/linkat.c (linkat): Likewise.
20971         * io/lseek.c (__libc_lseek): Likewise.
20972         * io/mkdir.c (__mkdir): Likewise.
20973         * io/mkdirat.c (mkdirat): Likewise.
20974         * io/mkfifo.c (mkfifo): Likewise.
20975         * io/mkfifoat.c (mkfifoat): Likewise.
20976         * io/open.c (__libc_open): Likewise.
20977         * io/open64.c (__libc_open64): Likewise.
20978         * io/readlink.c (__readlink): Likewise.
20979         * io/readlinkat.c (readlinkat): Likewise.
20980         * io/rmdir.c (__rmdir): Likewise.
20981         * io/symlink.c (__symlink): Likewise.
20982         * io/symlinkat.c (symlinkat): Likewise.
20983         * io/ttyname.c (ttyname): Likewise.
20984         * io/ttyname_r.c (__ttyname_r): Likewise.
20985         * io/umask.c (__umask): Likewise.
20986         * io/unlink.c (__unlink): Likewise.
20987         * io/unlinkat.c (unlinkat): Likewise.
20988         * io/utime.c (utime): Likewise.
20989         * libio/clearerr.c (clearerr): Likewise.
20990         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
20991         * libio/feof.c (_IO_feof): Likewise.
20992         * libio/feof_u.c (feof_unlocked): Likewise.
20993         * libio/ferror.c (_IO_ferror): Likewise.
20994         * libio/ferror_u.c (ferror_unlocked): Likewise.
20995         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
20996         * libio/fileno.c (__fileno): Likewise.
20997         * libio/fputc.c (fputc): Likewise.
20998         * libio/fputc_u.c (fputc_unlocked): Likewise.
20999         * libio/fputwc.c (fputwc): Likewise.
21000         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
21001         * libio/freopen.c (freopen): Likewise.
21002         * libio/freopen64.c (freopen64): Likewise.
21003         * libio/fseek.c (fseek): Likewise.
21004         * libio/fseeko.c (fseeko): Likewise.
21005         * libio/fseeko64.c (fseeko64): Likewise.
21006         * libio/ftello.c (__ftello): Likewise.
21007         * libio/ftello64.c (ftello64): Likewise.
21008         * libio/fwide.c (fwide): Likewise.
21009         * libio/genops.c (_IO_un_link): Likewise.
21010         (_IO_link_in): Likewise.
21011         (_IO_least_marker): Likewise.
21012         (_IO_switch_to_main_get_area): Likewise.
21013         (_IO_switch_to_backup_area): Likewise.
21014         (_IO_switch_to_get_mode): Likewise.
21015         (_IO_free_backup_area): Likewise.
21016         (_IO_switch_to_put_mode): Likewise.
21017         (__overflow): Likewise.
21018         (__underflow): Likewise.
21019         (__uflow): Likewise.
21020         (_IO_setb): Likewise.
21021         (_IO_doallocbuf): Likewise.
21022         (_IO_default_underflow): Likewise.
21023         (_IO_default_uflow): Likewise.
21024         (_IO_default_xsputn): Likewise.
21025         (_IO_sgetn): Likewise.
21026         (_IO_default_xsgetn): Likewise.
21027         (_IO_sync): Likewise.
21028         (_IO_default_setbuf): Likewise.
21029         (_IO_default_seekpos): Likewise.
21030         (_IO_default_doallocate): Likewise.
21031         (_IO_init): Likewise.
21032         (_IO_old_init): Likewise.
21033         (_IO_default_sync): Likewise.
21034         (_IO_default_finish): Likewise.
21035         (_IO_default_seekoff): Likewise.
21036         (_IO_sputbackc): Likewise.
21037         (_IO_sungetc): Likewise.
21038         (_IO_set_column): Likewise.
21039         (_IO_set_column): Likewise.
21040         (_IO_adjust_column): Likewise.
21041         (_IO_get_column): Likewise.
21042         (_IO_init_marker): Likewise.
21043         (_IO_remove_marker): Likewise.
21044         (_IO_marker_difference): Likewise.
21045         (_IO_marker_delta): Likewise.
21046         (_IO_seekmark): Likewise.
21047         (_IO_unsave_markers): Likewise.
21048         (_IO_nobackup_pbackfail): Likewise.
21049         (_IO_default_pbackfail): Likewise.
21050         (_IO_default_seek): Likewise.
21051         (_IO_default_stat): Likewise.
21052         (_IO_default_read): Likewise.
21053         (_IO_default_write): Likewise.
21054         (_IO_default_showmanyc): Likewise.
21055         (_IO_default_imbue): Likewise.
21056         (_IO_iter_next): Likewise.
21057         (_IO_iter_file): Likewise.
21058         * libio/getc.c (_IO_getc): Likewise.
21059         * libio/getwc.c (_IO_getwc): Likewise.
21060         * libio/iofclose.c (_IO_new_fclose): Likewise.
21061         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21062         * libio/iofflush.c (_IO_fflush): Likewise.
21063         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
21064         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
21065         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
21066         * libio/iofgets.c (_IO_fgets): Likewise.
21067         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
21068         * libio/iofgetws.c (fgetws): Likewise.
21069         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
21070         * libio/iofopen64.c (_IO_fopen64): Likewise.
21071         * libio/iofopncook.c (_IO_cookie_read): Likewise.
21072         (_IO_cookie_write): Likewise.
21073         (_IO_cookie_seek): Likewise.
21074         (_IO_cookie_close): Likewise.
21075         (_IO_cookie_seekoff): Likewise.
21076         (_IO_old_cookie_seek): Likewise.
21077         * libio/iofputs.c (_IO_fputs): Likewise.
21078         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
21079         * libio/iofputws.c (fputws): Likewise.
21080         * libio/iofputws_u.c (fputws_unlocked): Likewise.
21081         * libio/iofread.c (_IO_fread): Likewise.
21082         * libio/iofread_u.c (__fread_unlocked): Likewise.
21083         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
21084         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
21085         * libio/ioftell.c (_IO_ftell): Likewise.
21086         * libio/iofwrite.c (_IO_fwrite): Likewise.
21087         * libio/iogetdelim.c (_IO_getdelim): Likewise.
21088         * libio/iogets.c (_IO_gets): Likewise.
21089         * libio/iopadn.c (_IO_padn): Likewise.
21090         * libio/iopopen.c (_IO_new_proc_open): Likewise.
21091         (_IO_new_popen): Likewise.
21092         (_IO_new_proc_close): Likewise.
21093         * libio/ioputs.c (_IO_puts): Likewise.
21094         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
21095         (_IO_seekoff): Likewise.
21096         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
21097         (_IO_seekpos): Likewise.
21098         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
21099         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
21100         * libio/ioungetc.c (_IO_ungetc): Likewise.
21101         * libio/ioungetwc.c (ungetwc): Likewise.
21102         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21103         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
21104         * libio/iowpadn.c (_IO_wpadn): Likewise.
21105         * libio/libc_fatal.c (__libc_fatal): Likewise.
21106         * libio/memstream.c (__open_memstream): Likewise.
21107         (_IO_mem_sync): Likewise.
21108         (_IO_mem_finish): Likewise.
21109         * libio/oldfileops.c (_IO_old_file_init): Likewise.
21110         (_IO_old_file_close_it): Likewise.
21111         (_IO_old_file_finish): Likewise.
21112         (_IO_old_file_fopen): Likewise.
21113         (_IO_old_file_attach): Likewise.
21114         (_IO_old_file_setbuf): Likewise.
21115         (_IO_old_do_write): Likewise.
21116         (old_do_write): Likewise.
21117         (_IO_old_file_underflow): Likewise.
21118         (_IO_old_file_overflow): Likewise.
21119         (_IO_old_file_sync): Likewise.
21120         (_IO_old_file_seekoff): Likewise.
21121         (_IO_old_file_write): Likewise.
21122         (_IO_old_file_xsputn): Likewise.
21123         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
21124         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21125         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
21126         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
21127         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
21128         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
21129         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
21130         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
21131         (_IO_old_popen): Likewise.
21132         (_IO_old_proc_close): Likewise.
21133         * libio/oldpclose.c (__old_pclose): Likewise.
21134         * libio/pclose.c (__new_pclose): Likewise.
21135         * libio/peekc.c (_IO_peekc_locked): Likewise.
21136         * libio/putc.c (_IO_putc): Likewise.
21137         * libio/putc_u.c (putc_unlocked): Likewise.
21138         * libio/putchar.c (putchar): Likewise.
21139         * libio/putchar_u.c (putchar_unlocked): Likewise.
21140         * libio/putwc.c (putwc): Likewise.
21141         * libio/putwc_u.c (putwc_unlocked): Likewise.
21142         * libio/putwchar.c (putwchar): Likewise.
21143         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
21144         * libio/rewind.c (rewind): Likewise.
21145         * libio/setbuf.c (setbuf): Likewise.
21146         * libio/setlinebuf.c (setlinebuf): Likewise.
21147         * libio/vasprintf.c (_IO_vasprintf): Likewise.
21148         * libio/vscanf.c (_IO_vscanf): Likewise.
21149         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
21150         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
21151         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
21152         * libio/wgenops.c (_IO_least_wmarker): Likewise.
21153         (_IO_switch_to_main_wget_area): Likewise.
21154         (_IO_switch_to_wbackup_area): Likewise.
21155         (_IO_wsetb): Likewise.
21156         (_IO_wdefault_pbackfail): Likewise.
21157         (_IO_wdefault_finish): Likewise.
21158         (_IO_wdefault_uflow): Likewise.
21159         (__woverflow): Likewise.
21160         (__wuflow): Likewise.
21161         (__wunderflow): Likewise.
21162         (_IO_wdefault_xsputn): Likewise.
21163         (_IO_wdefault_xsgetn): Likewise.
21164         (_IO_wdoallocbuf): Likewise.
21165         (_IO_wdefault_doallocate): Likewise.
21166         (_IO_switch_to_wget_mode): Likewise.
21167         (_IO_free_wbackup_area): Likewise.
21168         (_IO_switch_to_wput_mode): Likewise.
21169         (_IO_sputbackwc): Likewise.
21170         (_IO_sungetwc): Likewise.
21171         (_IO_adjust_wcolumn): Likewise.
21172         (_IO_init_wmarker): Likewise.
21173         (_IO_wmarker_delta): Likewise.
21174         (_IO_seekwmark): Likewise.
21175         (_IO_unsave_wmarkers): Likewise.
21176         * libio/wmemstream.c (open_wmemstream): Likewise.
21177         (_IO_wmem_sync): Likewise.
21178         (_IO_wmem_finish): Likewise.
21179         * locale/nl_langinfo.c (nl_langinfo): Likewise.
21180         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
21181         * locale/programs/simple-hash.c (init_hash): Likewise.
21182         (delete_hash): Likewise.
21183         (insert_entry): Likewise.
21184         (set_entry): Likewise.
21185         (next_prime): Likewise.
21186         (is_prime): Likewise.
21187         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
21188         (xmalloc): Likewise.
21189         (xrealloc): Likewise.
21190         * locale/programs/xstrdup.c (xstrdup): Likewise.
21191         * localedata/collate-test.c (xstrcoll): Likewise.
21192         * localedata/xfrm-test.c (xstrcmp): Likewise.
21193         * login/getlogin_r.c (__getlogin_r): Likewise.
21194         * login/getpt.c (__posix_openpt): Likewise.
21195         * login/login_tty.c (login_tty): Likewise.
21196         * login/setlogin.c (setlogin): Likewise.
21197         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
21198         (mach_msg_destroy_port): Likewise.
21199         (mach_msg_destroy_memory): Likewise.
21200         * malloc/mcheck.c (flood): Likewise.
21201         * misc/acct.c (acct): Likewise.
21202         * misc/brk.c (__brk): Likewise.
21203         * misc/chflags.c (chflags): Likewise.
21204         * misc/chroot.c (chroot): Likewise.
21205         * misc/fchflags.c (fchflags): Likewise.
21206         * misc/fstab.c (getfsspec): Likewise.
21207         (getfsfile): Likewise.
21208         * misc/fsync.c (fsync): Likewise.
21209         * misc/ftruncate.c (__ftruncate): Likewise.
21210         * misc/ftruncate64.c (__ftruncate64): Likewise.
21211         * misc/getdomain.c (getdomainname): Likewise.
21212         (getdomainname): Likewise.
21213         * misc/gethostname.c (__gethostname): Likewise.
21214         * misc/getpass.c (getpass): Likewise.
21215         * misc/getttyent.c (skip): Likewise.
21216         (value): Likewise.
21217         * misc/gtty.c (gtty): Likewise.
21218         * misc/hsearch.c (hsearch): Likewise.
21219         (hcreate): Likewise.
21220         * misc/hsearch_r.c (__hcreate_r): Likewise.
21221         (__hdestroy_r): Likewise.
21222         * misc/ioctl.c (__ioctl): Likewise.
21223         * misc/mkdtemp.c (mkdtemp): Likewise.
21224         * misc/mkostemp.c (mkostemp): Likewise.
21225         * misc/mkostemp64.c (mkostemp64): Likewise.
21226         * misc/mkostemps.c (mkostemps): Likewise.
21227         * misc/mkostemps64.c (mkostemps64): Likewise.
21228         * misc/mkstemp.c (mkstemp): Likewise.
21229         * misc/mkstemp64.c (mkstemp64): Likewise.
21230         * misc/mkstemps.c (mkstemps): Likewise.
21231         * misc/mkstemps64.c (mkstemps64): Likewise.
21232         * misc/mktemp.c (__mktemp): Likewise.
21233         * misc/preadv.c (preadv): Likewise.
21234         * misc/preadv64.c (preadv64): Likewise.
21235         * misc/pwritev.c (pwritev): Likewise.
21236         * misc/pwritev64.c (pwritev64): Likewise.
21237         * misc/readv.c (__readv): Likewise.
21238         * misc/revoke.c (revoke): Likewise.
21239         * misc/setdomain.c (setdomainname): Likewise.
21240         * misc/setegid.c (setegid): Likewise.
21241         * misc/seteuid.c (seteuid): Likewise.
21242         * misc/sethostid.c (sethostid): Likewise.
21243         * misc/sethostname.c (sethostname): Likewise.
21244         * misc/setregid.c (__setregid): Likewise.
21245         * misc/setreuid.c (__setreuid): Likewise.
21246         * misc/sstk.c (sstk): Likewise.
21247         * misc/stty.c (stty): Likewise.
21248         * misc/syscall.c (syscall): Likewise.
21249         * misc/syslog.c (setlogmask): Likewise.
21250         * misc/truncate.c (__truncate): Likewise.
21251         * misc/truncate64.c (truncate64): Likewise.
21252         * misc/ualarm.c (ualarm): Likewise.
21253         * misc/usleep.c (usleep): Likewise.
21254         * misc/ustat.c (ustat): Likewise.
21255         * misc/writev.c (__writev): Likewise.
21256         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
21257         * nptl/old_pthread_cond_broadcast.c
21258         (__pthread_cond_broadcast_2_0): Likewise.
21259         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
21260         Likewise.
21261         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
21262         Likewise.
21263         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
21264         Likewise.
21265         * nptl/pt-raise.c (raise): Likewise.
21266         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
21267         Likewise.
21268         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
21269         * nptl/pthread_barrierattr_destroy.c
21270         (pthread_barrierattr_destroy): Likewise.
21271         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
21272         Likewise.
21273         * nptl/pthread_barrierattr_setpshared.c
21274         (pthread_barrierattr_setpshared): Likewise.
21275         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
21276         Likewise.
21277         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
21278         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
21279         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
21280         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
21281         Likewise.
21282         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
21283         Likewise.
21284         * nptl/pthread_condattr_getpshared.c
21285         (pthread_condattr_getpshared): Likewise.
21286         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
21287         Likewise.
21288         * nptl/pthread_condattr_setpshared.c
21289         (pthread_condattr_setpshared): Likewise.
21290         * nptl/pthread_detach.c (pthread_detach): Likewise.
21291         * nptl/pthread_equal.c (__pthread_equal): Likewise.
21292         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
21293         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
21294         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
21295         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
21296         Likewise.
21297         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
21298         Likewise.
21299         * nptl/pthread_mutex_getprioceiling.c
21300         (pthread_mutex_getprioceiling): Likewise.
21301         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
21302         Likewise.
21303         * nptl/pthread_mutexattr_getprotocol.c
21304         (pthread_mutexattr_getprotocol): Likewise.
21305         * nptl/pthread_mutexattr_getpshared.c
21306         (pthread_mutexattr_getpshared): Likewise.
21307         * nptl/pthread_mutexattr_getrobust.c
21308         (pthread_mutexattr_getrobust): Likewise.
21309         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
21310         Likewise.
21311         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
21312         Likewise.
21313         * nptl/pthread_mutexattr_setprioceiling.c
21314         (pthread_mutexattr_setprioceiling): Likewise.
21315         * nptl/pthread_mutexattr_setprotocol.c
21316         (pthread_mutexattr_setprotocol): Likewise.
21317         * nptl/pthread_mutexattr_setpshared.c
21318         (pthread_mutexattr_setpshared): Likewise.
21319         * nptl/pthread_mutexattr_setrobust.c
21320         (pthread_mutexattr_setrobust): Likewise.
21321         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
21322         Likewise.
21323         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
21324         Likewise.
21325         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
21326         Likewise.
21327         * nptl/pthread_rwlockattr_getkind_np.c
21328         (pthread_rwlockattr_getkind_np): Likewise.
21329         * nptl/pthread_rwlockattr_getpshared.c
21330         (pthread_rwlockattr_getpshared): Likewise.
21331         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
21332         Likewise.
21333         * nptl/pthread_rwlockattr_setkind_np.c
21334         (pthread_rwlockattr_setkind_np): Likewise.
21335         * nptl/pthread_rwlockattr_setpshared.c
21336         (pthread_rwlockattr_setpshared): Likewise.
21337         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
21338         Likewise.
21339         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
21340         Likewise.
21341         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
21342         Likewise.
21343         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
21344         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
21345         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
21346         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
21347         * nptl/sem_close.c (sem_close): Likewise.
21348         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
21349         * nptl/sem_init.c (__old_sem_init): Likewise.
21350         * nptl/sigaction.c (__sigaction): Likewise.
21351         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
21352         * posix/_exit.c (_exit): Likewise.
21353         * posix/alarm.c (alarm): Likewise.
21354         * posix/confstr.c (confstr): Likewise.
21355         * posix/fpathconf.c (__fpathconf): Likewise.
21356         * posix/getgroups.c (__getgroups): Likewise.
21357         * posix/getpgid.c (__getpgid): Likewise.
21358         * posix/group_member.c (__group_member): Likewise.
21359         * posix/pathconf.c (__pathconf): Likewise.
21360         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
21361         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
21362         * posix/setgid.c (__setgid): Likewise.
21363         * posix/setpgid.c (__setpgid): Likewise.
21364         * posix/setuid.c (__setuid): Likewise.
21365         * posix/sleep.c (__sleep): Likewise.
21366         * posix/sysconf.c (__sysconf): Likewise.
21367         * posix/times.c (__times): Likewise.
21368         * posix/uname.c (__uname): Likewise.
21369         * posix/waitid.c (__waitid): Likewise.
21370         * pwd/getpw.c (__getpw): Likewise.
21371         * resolv/base64.c (b64_pton): Likewise.
21372         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
21373         * resolv/gethnamaddr.c (Dprintf): Likewise.
21374         (gethostbyname): Likewise.
21375         (gethostbyname2): Likewise.
21376         (gethostbyaddr): Likewise.
21377         (_sethtent): Likewise.
21378         (_gethtbyname): Likewise.
21379         (_gethtbyname2): Likewise.
21380         (_gethtbyaddr): Likewise.
21381         (map_v4v6_address): Likewise.
21382         (map_v4v6_hostent): Likewise.
21383         (addrsort): Likewise.
21384         (ht_sethostent): Likewise.
21385         (ht_gethostbyname): Likewise.
21386         (ht_gethostbyaddr): Likewise.
21387         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
21388         (inet_net_ntop_ipv4): Likewise.
21389         * resolv/inet_neta.c (inet_neta): Likewise.
21390         * resolv/inet_ntop.c (inet_ntop): Likewise.
21391         (inet_ntop4): Likewise.
21392         (inet_ntop6): Likewise.
21393         * resolv/inet_pton.c (__inet_pton): Likewise.
21394         (inet_pton4): Likewise.
21395         (inet_pton6): Likewise.
21396         * resolv/res_debug.c (loc_aton): Likewise.
21397         (loc_ntoa): Likewise.
21398         * resource/getpriority.c (__getpriority): Likewise.
21399         * resource/getrusage.c (__getrusage): Likewise.
21400         * resource/nice.c (nice): Likewise.
21401         * resource/setpriority.c (__setpriority): Likewise.
21402         * resource/setrlimit64.c (setrlimit64): Likewise.
21403         * resource/vlimit.c (vlimit): Likewise.
21404         * resource/vtimes.c (vtimes): Likewise.
21405         * rt/aio_error.c (aio_error): Likewise.
21406         * rt/aio_return.c (aio_return): Likewise.
21407         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
21408         * signal/kill.c (__kill): Likewise.
21409         * signal/killpg.c (killpg): Likewise.
21410         * signal/raise.c (raise): Likewise.
21411         * signal/sigaction.c (__sigaction): Likewise.
21412         * signal/sigaddset.c (sigaddset): Likewise.
21413         * signal/sigaltstack.c (sigaltstack): Likewise.
21414         * signal/sigandset.c (sigandset): Likewise.
21415         * signal/sigblock.c (__sigblock): Likewise.
21416         * signal/sigdelset.c (sigdelset): Likewise.
21417         * signal/sigempty.c (sigemptyset): Likewise.
21418         * signal/sigfillset.c (sigfillset): Likewise.
21419         * signal/sighold.c (sighold): Likewise.
21420         * signal/sigignore.c (sigignore): Likewise.
21421         * signal/sigintr.c (siginterrupt): Likewise.
21422         * signal/sigisempty.c (sigisemptyset): Likewise.
21423         * signal/sigismem.c (sigismember): Likewise.
21424         * signal/signal.c (signal): Likewise.
21425         * signal/sigorset.c (sigorset): Likewise.
21426         * signal/sigpause.c (__sigpause): Likewise.
21427         * signal/sigpending.c (sigpending): Likewise.
21428         * signal/sigprocmask.c (__sigprocmask): Likewise.
21429         * signal/sigrelse.c (sigrelse): Likewise.
21430         * signal/sigreturn.c (__sigreturn): Likewise.
21431         * signal/sigset.c (sigset): Likewise.
21432         * signal/sigsetmask.c (__sigsetmask): Likewise.
21433         * signal/sigstack.c (sigstack): Likewise.
21434         * signal/sigsuspend.c (__sigsuspend): Likewise.
21435         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
21436         * signal/sysv_signal.c (__sysv_signal): Likewise.
21437         * socket/accept.c (accept): Likewise.
21438         * socket/accept4.c (__libc_accept4): Likewise.
21439         * socket/bind.c (__bind): Likewise.
21440         * socket/connect.c (__connect): Likewise.
21441         * socket/getpeername.c (getpeername): Likewise.
21442         * socket/getsockname.c (__getsockname): Likewise.
21443         * socket/getsockopt.c (getsockopt): Likewise.
21444         * socket/listen.c (__listen): Likewise.
21445         * socket/recv.c (__recv): Likewise.
21446         * socket/recvmsg.c (__recvmsg): Likewise.
21447         * socket/send.c (__send): Likewise.
21448         * socket/sendmsg.c (__sendmsg): Likewise.
21449         * socket/shutdown.c (shutdown): Likewise.
21450         * socket/sockatmark.c (sockatmark): Likewise.
21451         * socket/socket.c (__socket): Likewise.
21452         * stdio-common/ctermid.c (ctermid): Likewise.
21453         * stdio-common/cuserid.c (cuserid): Likewise.
21454         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
21455         * stdio-common/remove.c (remove): Likewise.
21456         * stdio-common/rename.c (rename): Likewise.
21457         * stdio-common/renameat.c (renameat): Likewise.
21458         * stdio-common/tempname.c (__gen_tempname): Likewise.
21459         * stdio-common/xbug.c (InitBuffer): Likewise.
21460         (AppendToBuffer): Likewise.
21461         (ReadFile): Likewise.
21462         * stdlib/a64l.c (a64l): Likewise.
21463         * stdlib/drand48_r.c (drand48_r): Likewise.
21464         * stdlib/getcontext.c (getcontext): Likewise.
21465         * stdlib/getenv.c (getenv): Likewise.
21466         * stdlib/l64a.c (l64a): Likewise.
21467         * stdlib/llabs.c (llabs): Likewise.
21468         * stdlib/lldiv.c (lldiv): Likewise.
21469         * stdlib/lrand48_r.c (lrand48_r): Likewise.
21470         * stdlib/mrand48_r.c (mrand48_r): Likewise.
21471         * stdlib/putenv.c (putenv): Likewise.
21472         * stdlib/random.c (__srandom): Likewise.
21473         (__initstate): Likewise.
21474         (__setstate): Likewise.
21475         * stdlib/random_r.c (__srandom_r): Likewise.
21476         (__setstate_r): Likewise.
21477         (__random_r): Likewise.
21478         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
21479         * stdlib/setcontext.c (setcontext): Likewise.
21480         * stdlib/setenv.c (setenv): Likewise.
21481         (unsetenv): Likewise.
21482         * stdlib/srand48.c (srand48): Likewise.
21483         * stdlib/srand48_r.c (__srand48_r): Likewise.
21484         * stdlib/swapcontext.c (swapcontext): Likewise.
21485         * stdlib/system.c (__libc_system): Likewise.
21486         * stdlib/tst-strtod.c (expand): Likewise.
21487         * stdlib/tst-strtol.c (expand): Likewise.
21488         * stdlib/tst-strtoll.c (expand): Likewise.
21489         * streams/fattach.c (fattach): Likewise.
21490         * streams/fdetach.c (fdetach): Likewise.
21491         * streams/getmsg.c (getmsg): Likewise.
21492         * streams/isastream.c (isastream): Likewise.
21493         * string/ffs.c (__ffs): Likewise.
21494         * string/ffsll.c (ffsll): Likewise.
21495         * string/memcmp.c (memcmp_common_alignment): Likewise.
21496         (memcmp_not_common_alignment): Likewise.
21497         (MEMCMP): Likewise.
21498         * string/memcpy.c (memcpy): Likewise.
21499         * string/memmove.c (MEMMOVE): Likewise.
21500         * string/memset.c (memset): Likewise.
21501         * string/rawmemchr.c (RAWMEMCHR): Likewise.
21502         * string/strchrnul.c (STRCHRNUL): Likewise.
21503         * string/strerror.c (strerror): Likewise.
21504         * string/strndup.c (__strndup): Likewise.
21505         * string/strverscmp.c (__strverscmp): Likewise.
21506         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
21507         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
21508         (clnttcp_freeres): Likewise.
21509         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
21510         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
21511         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
21512         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
21513         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
21514         (xdr_callhdr): Likewise.
21515         * sunrpc/rpcinfo.c (udpping): Likewise.
21516         (tcpping): Likewise.
21517         (pstatus): Likewise.
21518         (pmapdump): Likewise.
21519         (brdcst): Likewise.
21520         (deletereg): Likewise.
21521         (getprognum): Likewise.
21522         (getvers): Likewise.
21523         (get_inet_address): Likewise.
21524         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
21525         * sunrpc/svc_udp.c (svcudp_create): Likewise.
21526         (svcudp_stat): Likewise.
21527         (svcudp_recv): Likewise.
21528         (svcudp_reply): Likewise.
21529         (svcudp_getargs): Likewise.
21530         (svcudp_freeargs): Likewise.
21531         (svcudp_destroy): Likewise.
21532         * sunrpc/xdr.c (xdr_bytes): Likewise.
21533         (xdr_netobj): Likewise.
21534         (xdr_string): Likewise.
21535         (xdr_wrapstring): Likewise.
21536         * sunrpc/xdr_float.c (xdr_float): Likewise.
21537         (xdr_double): Likewise.
21538         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
21539         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
21540         * sysvipc/ftok.c (ftok): Likewise.
21541         * sysvipc/msgctl.c (msgctl): Likewise.
21542         * sysvipc/msgget.c (msgget): Likewise.
21543         * sysvipc/msgrcv.c (msgrcv): Likewise.
21544         * sysvipc/msgsnd.c (msgsnd): Likewise.
21545         * sysvipc/semget.c (semget): Likewise.
21546         * sysvipc/semop.c (semop): Likewise.
21547         * sysvipc/shmat.c (shmat): Likewise.
21548         * sysvipc/shmctl.c (shmctl): Likewise.
21549         * sysvipc/shmdt.c (shmdt): Likewise.
21550         * sysvipc/shmget.c (shmget): Likewise.
21551         * termios/cfmakeraw.c (cfmakeraw): Likewise.
21552         * termios/speed.c (cfgetospeed): Likewise.
21553         (cfgetispeed): Likewise.
21554         (cfsetospeed): Likewise.
21555         (cfsetispeed): Likewise.
21556         * termios/tcflow.c (tcflow): Likewise.
21557         * termios/tcflush.c (tcflush): Likewise.
21558         * termios/tcgetattr.c (__tcgetattr): Likewise.
21559         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
21560         * termios/tcgetsid.c (tcgetsid): Likewise.
21561         * termios/tcsendbrk.c (tcsendbreak): Likewise.
21562         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
21563         * time/adjtime.c (__adjtime): Likewise.
21564         * time/dysize.c (dysize): Likewise.
21565         * time/ftime.c (ftime): Likewise.
21566         * time/getitimer.c (__getitimer): Likewise.
21567         * time/gettimeofday.c (__gettimeofday): Likewise.
21568         * time/gmtime.c (__gmtime_r): Likewise.
21569         (gmtime): Likewise.
21570         * time/localtime.c (__localtime_r): Likewise.
21571         (localtime): Likewise.
21572         * time/offtime.c (__offtime): Likewise.
21573         * time/settimeofday.c (__settimeofday): Likewise.
21574         * time/stime.c (stime): Likewise.
21575         * time/strftime_l.c (tm_diff): Likewise.
21576         (iso_week_days): Likewise.
21577         * time/strptime.c (strptime): Likewise.
21578         * time/time.c (time): Likewise.
21579         * time/timespec_get.c (timespec_get): Likewise.
21580         * time/tzset.c (tzset_internal): Likewise.
21581         (compute_change): Likewise.
21582         (__tz_compute): Likewise.
21583         * wcsmbs/btowc.c (__btowc): Likewise.
21584         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
21585         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
21586         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
21587         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
21588         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
21589         * wcsmbs/wcscat.c (__wcscat): Likewise.
21590         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21591         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
21592         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
21593         * wcsmbs/wcscspn.c (wcscspn): Likewise.
21594         * wcsmbs/wcsdup.c (wcsdup): Likewise.
21595         * wcsmbs/wcslen.c (__wcslen): Likewise.
21596         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
21597         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
21598         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
21599         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
21600         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21601         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
21602         * wcsmbs/wcsspn.c (wcsspn): Likewise.
21603         * wcsmbs/wcsstr.c (wcsstr): Likewise.
21604         * wcsmbs/wcstok.c (wcstok): Likewise.
21605         * wcsmbs/wctob.c (wctob): Likewise.
21606         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
21607         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21608         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
21609         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
21610         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
21611         * wcsmbs/wmemset.c (__wmemset): Likewise.
21612         * wctype/wcfuncs.c (__towlower): Likewise.
21613         (__towupper): Likewise.
21615         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
21616         (lll_unlock_elision): Add adapt_count parameter.
21618 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
21620         * sysdeps/nptl/configure.ac: Do not give errors based on the
21621         results of top-level configure tests.
21622         * sysdeps/nptl/configure: Regenerated.
21624         * configure.ac (libc_cv_Bgroup): Remove configure test.
21625         * configure: Regenerated.
21626         * config.make.in (have-Bgroup): Remove variable.
21628         * configure.ac (sizeof_long_double): Remove configure test.
21629         * configure: Regenerated.
21630         * config.make.in (sizeof-long-double): Remove variable.
21632         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
21633         * configure: Regenerated.
21634         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
21635         variable.
21636         (exceptions): Likewise.
21637         * sysdeps/arm/configure: Regenerated.
21638         * config.make.in (exceptions): Remove variable.
21639         * Makeconfig (uses-callbacks): Use -fexceptions instead of
21640         $(exceptions).
21641         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
21642         (CFLAGS-vdprintf_chk.c): Likewise.
21643         (CFLAGS-printf_chk.c): Likewise.
21644         (CFLAGS-fprintf_chk.c): Likewise.
21645         (CFLAGS-vprintf_chk.c): Likewise.
21646         (CFLAGS-vfprintf_chk.c): Likewise.
21647         (CFLAGS-gets_chk.c): Likewise.
21648         (CFLAGS-fgets_chk.c): Likewise.
21649         (CFLAGS-fgets_u_chk.c): Likewise.
21650         (CFLAGS-fread_chk.c): Likewise.
21651         (CFLAGS-fread_u_chk.c): Likewise.
21652         (CFLAGS-wprintf_chk.c): Likewise.
21653         (CFLAGS-fwprintf_chk.c): Likewise.
21654         (CFLAGS-vwprintf_chk.c): Likewise.
21655         (CFLAGS-vfwprintf_chk.c): Likewise.
21656         (CFLAGS-fgetws_chk.c): Likewise.
21657         (CFLAGS-fgetws_u_chk.c): Likewise.
21658         * libio/Makefile (CFLAGS-fileops.c): Likewise.
21659         (CFLAGS-fputc.c): Likewise.
21660         (CFLAGS-fputwc.c): Likewise.
21661         (CFLAGS-freopen64.c): Likewise.
21662         (CFLAGS-freopen.c): Likewise.
21663         (CFLAGS-fseek.c): Likewise.
21664         (CFLAGS-fseeko64.c): Likewise.
21665         (CFLAGS-fseeko.c): Likewise.
21666         (CFLAGS-ftello64.c): Likewise.
21667         (CFLAGS-ftello.c): Likewise.
21668         (CFLAGS-fwide.c): Likewise.
21669         (CFLAGS-genops.c): Likewise.
21670         (CFLAGS-getc.c): Likewise.
21671         (CFLAGS-getchar.c): Likewise.
21672         (CFLAGS-getwc.c): Likewise.
21673         (CFLAGS-getwchar.c): Likewise.
21674         (CFLAGS-iofclose.c): Likewise.
21675         (CFLAGS-iofflush.c): Likewise.
21676         (CFLAGS-iofgetpos64.c): Likewise.
21677         (CFLAGS-iofgetpos.c): Likewise.
21678         (CFLAGS-iofgets.c): Likewise.
21679         (CFLAGS-iofgetws.c): Likewise.
21680         (CFLAGS-iofputs.c): Likewise.
21681         (CFLAGS-iofputws.c): Likewise.
21682         (CFLAGS-iofread.c): Likewise.
21683         (CFLAGS-iofsetpos64.c): Likewise.
21684         (CFLAGS-iofsetpos.c): Likewise.
21685         (CFLAGS-ioftell.c): Likewise.
21686         (CFLAGS-iofwrite.c): Likewise.
21687         (CFLAGS-iogetdelim.c): Likewise.
21688         (CFLAGS-iogetline.c): Likewise.
21689         (CFLAGS-iogets.c): Likewise.
21690         (CFLAGS-iogetwline.c): Likewise.
21691         (CFLAGS-ioputs.c): Likewise.
21692         (CFLAGS-ioseekoff.c): Likewise.
21693         (CFLAGS-ioseekpos.c): Likewise.
21694         (CFLAGS-iosetbuffer.c): Likewise.
21695         (CFLAGS-iosetvbuf.c): Likewise.
21696         (CFLAGS-ioungetc.c): Likewise.
21697         (CFLAGS-ioungetwc.c): Likewise.
21698         (CFLAGS-oldfileops.c): Likewise.
21699         (CFLAGS-oldiofclose.c): Likewise.
21700         (CFLAGS-oldiofgetpos64.c): Likewise.
21701         (CFLAGS-oldiofgetpos.c): Likewise.
21702         (CFLAGS-oldiofsetpos64.c): Likewise.
21703         (CFLAGS-oldiofsetpos.c): Likewise.
21704         (CFLAGS-peekc.c): Likewise.
21705         (CFLAGS-putc.c): Likewise.
21706         (CFLAGS-putchar.c): Likewise.
21707         (CFLAGS-putwc.c): Likewise.
21708         (CFLAGS-putwchar.c): Likewise.
21709         (CFLAGS-rewind.c): Likewise.
21710         (CFLAGS-wfileops.c): Likewise.
21711         (CFLAGS-wgenops.c): Likewise.
21712         (CFLAGS-oldiofopen.c): Likewise.
21713         (CFLAGS-iofopen.c): Likewise.
21714         (CFLAGS-iofopen64.c): Likewise.
21715         (CFLAGS-oldtmpfile.c): Likewise.
21716         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21717         (CFLAGS-fprintf.c): Likewise.
21718         (CFLAGS-printf.c): Likewise.
21719         (CFLAGS-vfwprintf.c): Likewise.
21720         (CFLAGS-vfscanf.c): Likewise.
21721         (CFLAGS-vfwscanf.c): Likewise.
21722         (CFLAGS-fscanf.c): Likewise.
21723         (CFLAGS-scanf.c): Likewise.
21724         (CFLAGS-isoc99_vfscanf.c): Likewise.
21725         (CFLAGS-isoc99_vscanf.c): Likewise.
21726         (CFLAGS-isoc99_fscanf.c): Likewise.
21727         (CFLAGS-isoc99_scanf.c): Likewise.
21728         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
21729         (CFLAGS-isoc99_fwscanf.c): Likewise.
21730         (CFLAGS-isoc99_vwscanf.c): Likewise.
21731         (CFLAGS-isoc99_vfwscanf.c): Likewise.
21733         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
21734         after mkstemp64.
21735         * login/tst-utmp.c (do_prepare): Likewise.
21736         * rt/tst-aio.c (do_prepare): Likewise.
21737         * rt/tst-aio64.c (do_prepare): Likewise.
21739 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21741         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21742         (__lll_lock_elision): Remove adapt_count decrement...
21743         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
21744         (__lll_trylock_elision): Likewise.
21745         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
21746         (__lll_unlock_elision): ... to here. And utilize
21747         new adapt_count parameter.
21748         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
21749         (__lll_unlock_elision): Update to include adapt_count
21750         parameter.
21751         (lll_unlock_elision): Pass pointer to adapt_count
21752         variable.
21754 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21756         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
21757         Add elision adapt_count parameter to list of arguments.
21758         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
21759         (lll_unlock_elision): Update with new parameter list
21760         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
21761         (lll_unlock_elision): Likewise.
21762         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
21763         (lll_unlock_elision): Likewise.
21765 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21767         [BZ #19122]
21768         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
21769         attribute_hidden.
21771         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
21772         attribute_hidden.
21773         [IS_IN (rtld)] (__strdup): Likewise.
21774         [IS_IN (rtld)] (__strerror_r): Likewise.
21775         [IS_IN (rtld)] (__strsep_g): Likewise.
21776         [IS_IN (rtld)] (memchr): Likewise.
21777         [IS_IN (rtld)] (memcmp): Likewise.
21778         [IS_IN (rtld)] (memcpy): Likewise.
21779         [IS_IN (rtld)] (memmove): Likewise.
21780         [IS_IN (rtld)] (memset): Likewise.
21781         [IS_IN (rtld)] (rawmemchr): Likewise.
21782         [IS_IN (rtld)] (stpcpy): Likewise.
21783         [IS_IN (rtld)] (strchr): Likewise.
21784         [IS_IN (rtld)] (strcmp): Likewise.
21785         [IS_IN (rtld)] (strlen): Likewise.
21786         [IS_IN (rtld)] (strnlen): Likewise.
21787         [IS_IN (rtld)] (strsep): Likewise.
21789         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
21790         attribute_hidden.
21791         [IS_IN (rtld)] (__strtoul_internal): Likewise.
21793         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
21794         attribute_hidden.
21795         [IS_IN (rtld)] (__libc_sigaction): Likewise.
21797         * include/setjmp.h (__longjmp): Add attribute_hidden.
21798         [IS_IN (rtld)] (__sigsetjmp): Likewise.
21800         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
21801         Add attribute_hidden.
21803         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
21804         [IS_IN (rtld)] (__open): Likewise.
21805         [IS_IN (rtld)] (__fcntl): Likewise.
21807         * include/dirent.h (__opendirat): Add attribute_hidden.
21808         (__getdents): Likewise.
21809         (__getdents64): Likewise.
21810         (__alloc_dir): Likewise.
21811         [IS_IN (rtld)] (__closedir): Likewise.
21812         [IS_IN (rtld)] (__fdopendir): Likewise.
21813         [IS_IN (rtld)] (__readdir): Likewise.
21814         [IS_IN (rtld)] (__readdir64): Likewise.
21815         [IS_IN (rtld)] (__rewinddir): Likewise.
21817         * include/dlfcn.h (_dl_catch_error): Moved to ...
21818         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
21819         attribute_hidden.
21821         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
21822         (_itoa_word): Likewise.
21824         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
21825         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
21826         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
21827         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
21828         (_dl_higher_prime_number): Likewise.
21829         (_dl_debug_printf_c): Likewise.
21830         (_dl_signal_cerror): Likewise.
21831         (_dl_receive_error): Likewise.
21832         (_dl_reloc_bad_type): Likewise.
21833         (_dl_resolve_conflicts): Likewise.
21834         (_dl_check_all_versions): Likewise.
21835         (_dl_check_map_versions): Likewise.
21836         (_dl_sort_fini): Likewise.
21837         (_dl_debug_initialize): Likewise.
21838         (_dl_init_paths): Likewise.
21839         (_dl_show_auxv): Likewise.
21840         (_dl_next_ld_env_entry): Likewise.
21841         (_dl_important_hwcaps): Likewise.
21842         (_dl_load_cache_lookup): Likewise.
21843         (_dl_update_slotinfo): Likewise.
21844         (_dl_show_scope): Likewise.
21846         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
21847         attribute_hidden.
21848         (_wordcopy_fwd_dest_aligned): Likewise.
21849         (_wordcopy_bwd_aligned): Likewise.
21850         (_wordcopy_bwd_dest_aligned): Likewise.
21852         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
21853         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
21854         Likewise.
21855         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
21856         Likewise.
21857         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
21859 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21861         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
21862         GCC 5 requirement.
21864 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
21866         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
21867         test.
21868         * sysdeps/i386/configure: Regenerated.
21869         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
21870         code unconditional.
21872         * configure.ac (libc_cv_asm_previous_directive): Remove configure
21873         test.
21874         (libc_cv_asm_popsection_directive): Likewise.
21875         * configure: Regenerated.
21876         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
21877         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
21878         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
21879         (__make_section_unallocated): Make definition unconditional.
21880         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
21881         Remove conditional definition.
21882         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
21883         (__make_section_unallocated): Likewise.
21885         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
21886         * configure: Regenerated.
21887         * config.make.in (static-libgcc): Remove variable.
21888         * Makerules (build-shlib-helper): Use -static-libgcc instead of
21889         $(static-libgcc).
21890         (build-module-helper): Likewise.
21892         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
21893         * configure: Regenerated.
21895 2015-10-15  Florian Weimer  <fweimer@redhat.com>
21897         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
21898         (struct char_buffer): New type.
21899         (char_buffer_start, char_buffer_size, char_buffer_error)
21900         (char_buffer_rewind, char_buffer_add): New functions.
21901         (ADDW): Remove macro, replaced by the char_buffer_add function.
21902         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
21903         of extend_alloca.  Make control flow more explicit.
21905 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21907         [BZ #19137]
21908         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
21909         Add -fomit-frame-pointer.
21910         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
21912 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21914         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
21915         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
21916         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
21917         only if !__GNUC_PREREQ (5,0).
21918         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
21919         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
21920         (INTERNAL_SYSCALL_NCS): Likewise.
21921         (LOADREGS_0): New macro for GCC 5.
21922         (ASMARGS_0): Likewise.
21923         (LOADREGS_1): Likewise.
21924         (ASMARGS_1): Likewise.
21925         (LOADREGS_2): Likewise.
21926         (ASMARGS_2): Likewise.
21927         (LOADREGS_3): Likewise.
21928         (ASMARGS_3): Likewise.
21929         (LOADREGS_4): Likewise.
21930         (ASMARGS_4): Likewise.
21931         (LOADREGS_5): Likewise.
21932         (ASMARGS_5): Likewise.
21933         (LOADREGS_6): Likewise.
21934         (ASMARGS_6): Likewise.
21936 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21938         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
21939         -fomit-frame-pointer.
21940         (CFLAGS-mmap64.c): Likewise.
21941         (CFLAGS-semtimedop.c): Likewise.
21942         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
21943         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
21944         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21945         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21947 2015-10-15  Florian Weimer  <fweimer@redhat.com>
21949         [BZ #18928]
21950         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
21951         _dl_pointer_guard member.
21952         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
21953         initializer.
21954         (security_init): Always set up pointer guard.
21955         (process_envvars): Do not process LD_POINTER_GUARD.
21957 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
21959         [BZ #19134]
21960         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
21961         (.LC2): Likewise.
21962         (.LC3): Likewise.
21963         (__lround): Do not add 0.5 to integer or out-of-range arguments.
21965 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21967         [BZ #19129]
21968         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
21969         r0 and r1.
21971 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
21973         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
21975 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
21977         * include/stap-probe.h: Fix macro definition formatting.
21979 2015-10-14  Florian Weimer  <fweimer@redhat.com>
21981         [BZ #19074]
21982         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
21983         load and store num_ifs.
21985 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
21987         [BZ #18822]
21988         * sysdeps/unix/sysv/linux/sched_getaffinity.c
21989         (__sched_getaffinity_new): Add libc_hidden_proto and
21990         libc_hidden_def.
21992 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
21994         [BZ #19007]
21995         * scripts/localplt.awk: Also allow GOT references.
21996         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
21997         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
21998         with "+ REL R_386_GLOB_DAT".
21999         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
22000         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
22002 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22004         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
22005         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22006         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
22007         Likewise.
22008         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
22009         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
22010         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
22011         INTERNAL_SYSCALLINTERNAL_SYSCALL and
22012         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22013         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
22014         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22015         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
22016         Likewise.
22017         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22019 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
22021         [BZ #19125]
22022         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
22023         <math_private.h> and <stdint.h>.
22024         (__llround): Avoid conversions to and from long long int, and
22025         subtractions, where those might raise spurious exceptions.
22026         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
22027         <math_private.h> and <stdint.h>.
22028         (__llroundf): Avoid conversions to and from long long int, and
22029         subtractions, where those might raise spurious exceptions.
22031 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22033         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
22034         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22035         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22036         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
22037         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22038         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22039         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
22040         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
22041         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
22042         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22043         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22044         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22045         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
22046         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22047         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22048         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
22049         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
22050         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22051         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
22052         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
22053         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
22054         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
22055         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
22056         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
22057         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
22058         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
22059         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
22060         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22061         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22062         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
22063         (__xstat64_conv): Likewise.
22064         (__xstat32_conv): Likewise.
22066 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22068         * sysdeps/unix/sysv/linux/sysdep.h: New file.
22069         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
22070         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
22071         <sysdeps/unix/sysv/linux/sysdep.h>.
22072         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
22073         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
22074         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
22075         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22076         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
22077         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
22078         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
22079         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
22080         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
22081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22083         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22084         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22085         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22086         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22087         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22088         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
22089         (sysdep-dl-routines): Add sysdep.
22090         [$(subdir) == nptl] (libpthread-routines): Likewise.
22091         [$(subdir) == rt] (librt-routines): Likewise.
22092         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
22093         PIC when branching to SYSCALL_ERROR_LABEL.
22094         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
22095         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
22096         <sysdeps/unix/sysv/linux/sysdep.h>.
22097         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
22098         (SYSCALL_ERROR_ERRNO): Removed.
22099         (SYSCALL_ERROR_HANDLER): Changed to empty.
22100         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
22101         (__syscall_error): New prototype.
22102         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
22103         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
22105 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22107         [BZ #19124]
22108         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
22109         (_dl_runtime_resolve_avx512): Make it a hidden alias of
22110         _dl_runtime_resolve_avx.
22111         (_dl_runtime_profile_avx512): Make it a hidden alias of
22112         _dl_runtime_profile_avx.
22114 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
22116         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
22117         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
22118         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
22119         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
22121         [BZ #16422]
22122         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
22123         New configure test.
22124         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
22125         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
22126         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
22127         <math_private.h> and <stdint.h>.
22128         (__llrint): Avoid conversions to long long int where those might
22129         raise spurious exceptions.
22130         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
22131         <math_private.h> and <stdint.h>.
22132         (__llrintf): Avoid conversions to long long int where those might
22133         raise spurious exceptions.
22135 2015-10-12  Andreas Schwab  <schwab@suse.de>
22137         [BZ #18969]
22138         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
22139         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
22140         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
22141         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
22142         $(gen-locales).
22143         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
22144         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
22145         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
22146         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
22147         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
22148         $(gen-locales).
22149         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
22150         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
22151         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
22152         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
22153         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
22154         ($(objpfx)tst-ftell-active-handler.out)
22155         ($(objpfx)tst-ftell-append.out)
22156         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
22157         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
22158         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
22159         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
22160         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
22161         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
22162         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
22163         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
22164         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
22165         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
22166         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
22167         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
22168         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
22169         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
22170         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
22171         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
22172         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
22173         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
22174         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
22175         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
22176         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
22177         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
22178         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
22179         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
22180         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
22181         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
22182         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
22183         $(gen-locales).
22184         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
22185         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
22186         $(gen-locales).
22187         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
22188         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
22189         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
22190         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
22191         $(gen-locales).
22192         * libio/tst_wprintf2.c (main): Use explicit locale.
22193         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
22195 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22197         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
22198         __msg_sig_post.
22199         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
22201 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
22203         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22204         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22206         * sysdeps/arm/libm-test-ulps: Regenerated.
22208         [BZ #15470]
22209         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
22211         [BZ #16399]
22212         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
22213         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
22214         and <fix-fp-int-convert-overflow.h>.
22215         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
22216         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22217         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
22218         and <fix-fp-int-convert-overflow.h>.
22219         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
22220         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22221         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
22222         <fix-fp-int-convert-overflow.h>.
22223         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
22224         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22225         * sysdeps/ieee754/dbl-64/s_lround.c: Include
22226         <fix-fp-int-convert-overflow.h>.
22227         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
22228         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22229         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
22230         and <fix-fp-int-convert-overflow.h>.
22231         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
22232         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22233         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
22234         <limits.h> and <fix-fp-int-convert-overflow.h>.
22235         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
22236         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22237         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
22238         and <fix-fp-int-convert-overflow.h>.
22239         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
22240         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22241         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
22242         and <fix-fp-int-convert-overflow.h>.
22243         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
22244         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22245         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
22247 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
22249         [BZ #18589]
22250         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
22251         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
22252         $(gen-locales).
22254 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22255             Phil Blundell <pb@pbcl.net>
22257         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
22258         * nptl/tst-cancel26.c: New file.
22259         * nptl/tst-cancel27.c: Likewise.
22261 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
22263         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
22264         __ILP32__ isn't defined.
22265         (lrint): Likewise.
22266         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
22267         (lrintf): Likewise.
22268         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
22269         (lrintl): Likewise.
22270         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
22271         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
22272         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
22274 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22276         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
22277         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
22279         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
22280         file.
22281         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
22282         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
22284 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
22286         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
22287         configure test.
22288         * sysdeps/i386/configure: Regenerated.
22289         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
22290         configure test.
22291         * sysdeps/x86_64/configure: Regenerated.
22292         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
22293         Make code unconditional.
22295         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
22296         test.
22297         * sysdeps/i386/configure: Regenerated.
22298         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
22299         test.
22300         * sysdeps/x86_64/configure: Regenerated.
22301         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
22302         Make code unconditional.
22303         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
22304         Likewise.
22305         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
22306         Likewise.
22307         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22308         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
22309         code unconditional.
22310         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22311         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
22312         code unconditional.
22313         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22314         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
22315         code unconditional.
22316         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
22317         code unconditional.
22318         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22319         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
22320         code unconditional.
22321         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22322         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
22323         code unconditional.
22324         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22325         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
22326         code unconditional.
22327         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22328         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
22329         code unconditional.
22330         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22331         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
22333         [BZ #19095]
22334         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
22335         mantissa to long int before shifting left.
22337 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
22339         [BZ #19094]
22340         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
22341         <limits.h>.
22342         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22343         when result overflows but exception would not result from cast.
22344         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
22345         <limits.h>.
22346         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22347         when result overflows but exception would not result from cast.
22348         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
22349         <limits.h>.
22350         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22351         when result overflows but exception would not result from cast.
22352         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
22353         <limits.h>.
22354         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22355         when result overflows but exception would not result from cast.
22356         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
22357         <limits.h>.
22358         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22359         when result overflows but exception would not result from cast.
22360         * math/libm-test.inc (lrint_test_data): Add more tests.
22361         (llrint_test_data): Likewise.
22363 2015-10-08  Roland McGrath  <roland@hack.frob.com>
22365         [BZ #18872]
22366         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
22367         Move out from under [$(run-built-tests) = yes] conditional.
22368         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
22369         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
22371 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
22373         [BZ #18589]
22374         * string/Makefile (tests): Add bug-strcoll2.
22375         (LOCALES): Add cs_CZ.UTF-8.
22376         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
22378         [BZ #18589]
22379         * string/bug-strcoll2.c: New file.
22380         * locale/categories.def: Revert commit
22381         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
22382         * locale/langinfo.h: Likewise.
22383         * locale/localeinfo.h: Likewise.
22384         * locale/C-collate.c: Likewise.
22385         * locale/programs/ld-collate.c (collate_output): Likewise.
22386         * string/strcoll_l.c (STRDIFF): Likewise.
22387         (STRCOLL): Likewise.
22388         * wcsmbs/wcscoll_l.c: Likewise.
22390 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
22392         * math/libm-test.inc (lround_test_data): Do not expect the absence
22393         of "inexact" for some tests with non-integer arguments.
22394         (llround_test_data): Likewise.
22396         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
22397         test.
22398         (libc_cv_cc_sse2avx): Likewise.
22399         * sysdeps/i386/configure: Regenerated.
22400         * sysdeps/i386/i686/multiarch/Makefile
22401         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
22402         [$(subdir) = math].
22403         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
22404         code unconditional.
22405         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
22406         Likewise.
22407         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
22408         Likewise.
22409         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
22410         Likewise.
22411         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
22412         test.
22413         (libc_cv_cc_sse2avx): Likewise.
22414         * sysdeps/x86_64/configure: Regenerated.
22415         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
22416         unconditional.
22417         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
22418         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
22419         unconditional.
22420         (_dl_runtime_profile)
22421         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
22422         conditional code.
22423         * sysdeps/x86_64/fpu/multiarch/Makefile
22424         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
22425         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
22426         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22427         * sysdeps/x86_64/fpu/multiarch/e_exp.c
22428         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22429         * sysdeps/x86_64/fpu/multiarch/e_log.c
22430         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22431         * sysdeps/x86_64/fpu/multiarch/s_atan.c
22432         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22433         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
22434         Likewise.
22435         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
22436         Likewise.
22437         * sysdeps/x86_64/fpu/multiarch/s_sin.c
22438         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22439         * sysdeps/x86_64/fpu/multiarch/s_tan.c
22440         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22441         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
22442         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
22443         (HAVE_SSE2AVX_SUPPORT): Likewise.
22445 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
22447         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
22448         instead of #pragma optimize.
22450 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
22452         [BZ #17195]
22453         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
22454         as is similarly done in systrim and _int_free already.
22456 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22458         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
22460 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22462         [BZ #19088]
22463         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
22464         <limits.h>.
22465         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
22466         overflows but exception would not result from cast.
22467         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
22468         and <limits.h>.
22469         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
22470         overflows but exception would not result from cast.
22471         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
22472         <limits.h>.
22473         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
22474         overflows but exception would not result from cast.
22475         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
22476         <limits.h>.
22477         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
22478         overflows but exception would not result from cast.
22479         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
22480         <limits.h>.
22481         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
22482         overflows but exception would not result from cast.
22483         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
22484         <limits.h>.
22485         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
22486         overflows but exception would not result from cast.
22487         * math/libm-test.inc (lround_test_data): Add more tests.
22488         (llround_test_data): Likewise.
22490 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
22492         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
22493         (CFLAGS-ialloc.c): Ditto.
22494         (CFLAGS-scheck.c): Ditto.
22496 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
22498         [BZ #19086]
22499         * manual/filesys.texi (Storage Allocation): Fix argument order for
22500         posix_fallocate64.
22502 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22504         [BZ #19085]
22505         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
22506         exponent below 48 inside case for non-overflowing exponent.
22507         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
22509 2015-10-07  Florian Weimer  <fweimer@redhat.com>
22511         * iconvdata/cp737.h (from_idx): Add const.
22512         * iconvdata/cp775.h (from_idx): Likewise.
22514 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22516         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
22517         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
22518         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
22520         [BZ #19079]
22521         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
22522         file, conditioned on [!_LP64].
22523         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
22524         [!_LP64] (__lround): Do not define as function or alias.
22525         [!_LP64] (lround): Likewise.
22526         [!_LP64] (__lroundl): Likewise.
22527         [!_LP64] (lroundl): Likewise.
22528         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
22529         macro.
22530         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22531         Likewise.
22533 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
22535         * math/libm-test.inc (lrint_test_data): Add more tests.
22536         (llrint_test_data): Likewise.
22537         (lround_test_data): Likewise.
22538         (llround_test_data): Likewise.
22540         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
22541         (llrint_test_data): Add tests used for lrint.
22543         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
22544         test.
22545         * sysdeps/i386/configure: Regenerated.
22546         * sysdeps/i386/i686/multiarch/Makefile
22547         [$(config-cflags-sse4) = yes]: Make code unconditional.
22548         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
22549         Likewise.
22550         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
22551         Likewise.
22552         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
22553         test.
22554         * sysdeps/x86_64/configure: Regenerated.
22555         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
22556         Make code unconditional.
22557         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
22558         Likewise.
22559         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
22560         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
22562         * scripts/rpm2dynsym.sh: Remove file.
22564 2015-10-06  Florian Weimer  <fweimer@redhat.com>
22566         * configure.ac (libc_cv_cxx_thread_local): Define.
22567         * configure: Regenerate.
22568         * config.make.in (have-cxx-thread_local): Define.
22569         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
22570         (LDLIBS-tst-thread_local1): Define.
22571         (tests): Add tst-thread_local1.
22572         [have-cxx-thread_local != yes] (tests-unsupported): Add
22573         tst-thread_local1.
22574         * nptl/tst-thread_local1.cc: New file.
22576 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
22578         [BZ #19078]
22579         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
22580         (u_thres): Likewise.
22581         (__expl): Determine whether to call __kernel_standard_l based on
22582         value of result, not argument.
22584         * math/libm-test.inc (scalb_test_data): Add more expectations for
22585         the "inexact" exception.
22587         [BZ #19077]
22588         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
22589         0.0L for argument 1.0L.
22591         [BZ #19076]
22592         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
22593         constant 0.0L when computing infinite result.
22595 2015-10-06  Florian Weimer  <fweimer@redhat.com>
22597         [BZ #10432]
22598         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
22599         malloc_usable_size.
22601 2015-10-06  Florian Weimer  <fweimer@redhat.com>
22603         [BZ #19018]
22604         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22605         Mangle function pointer before storing it.
22606         (__call_tls_dtors): Demangle function pointer before calling it.
22608 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22610         [BZ #19012]
22611         * iconv/gconv_db.c (gen_steps): Check for additional errors.
22612         Clean up on failure.
22614 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
22616         [BZ #19071]
22617         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
22618         long int variable to store possibly incremented high part of
22619         mantissa.
22620         * math/libm-test.inc (lround_test_data): Add tests used for
22621         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
22622         for tests requiring 64-bit long.  Do not condition tests on
22623         [TEST_FLOAT] unnecessarily.
22624         (llround_test_data): Add tests used for lround.  Add another
22625         expectation for the "inexact" exception.  Do not condition tests
22626         on [TEST_FLOAT] unnecessarily.
22628         [BZ #887]
22629         [BZ #19049]
22630         [BZ #19050]
22631         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
22632         * sysdeps/ieee754/dbl-64/e_log10.c: Include
22633         <fix-int-fp-convert-zero.h>.
22634         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22635         * sysdeps/ieee754/dbl-64/e_log2.c: Include
22636         <fix-int-fp-convert-zero.h>.
22637         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22638         * sysdeps/ieee754/dbl-64/s_erf.c: Include
22639         <fix-int-fp-convert-zero.h>.
22640         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22641         * sysdeps/ieee754/dbl-64/s_logb.c: Include
22642         <fix-int-fp-convert-zero.h>.
22643         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22644         * sysdeps/ieee754/flt-32/e_log10f.c: Include
22645         <fix-int-fp-convert-zero.h>.
22646         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22647         * sysdeps/ieee754/flt-32/e_log2f.c: Include
22648         <fix-int-fp-convert-zero.h>.
22649         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22650         * sysdeps/ieee754/flt-32/s_erff.c: Include
22651         <fix-int-fp-convert-zero.h>.
22652         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22653         * sysdeps/ieee754/flt-32/s_logbf.c: Include
22654         <fix-int-fp-convert-zero.h>.
22655         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22656         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
22657         <fix-int-fp-convert-zero.h>.
22658         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22659         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
22660         <fix-int-fp-convert-zero.h>.
22661         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22662         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
22663         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
22664         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
22665         file.
22666         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
22668 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
22670         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22672 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
22674         [BZ #19059]
22675         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
22676         overflowing computation.
22677         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22678         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
22679         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22680         Likewise.
22681         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22682         Likewise.
22683         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
22684         Likewise.
22685         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22686         Likewise.
22687         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22688         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22689         Likewise.
22690         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22691         Likewise.
22692         * math/libm-test.inc (nexttoward_test_data): Add more tests.
22694         * nss/rewrite_field.c (__nss_rewrite_field): Use
22695         internal_function.
22696         * nss/valid_field.c (__nss_valid_field): Likewise.
22697         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
22699 2015-10-02  Florian Weimer  <fweimer@redhat.com>
22701         [BZ #18724]
22702         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
22703         (__nss_invalid_field_characters, __nss_valid_field)
22704         (__nss_valid_list_field, __nss_rewrite_field): Declare.
22705         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
22706         tst-field.c: New file.
22707         * nss/Makefile (routines): Add valid_field, rewrite_field.
22708         (tests-static): Define unconditionally.
22709         (tests): Include tests-static.
22710         [build-static-nss] (tests-static): Use append.
22711         [build-static-nss] (tests): Remove modification.
22712         * nss/getent.c (print_group): Call putgrent.  Report error.
22713         (print_gshadow): Call putsgent.  Report error.
22714         (print_passwd): Call putpwent.  Report error.
22715         (print_shadow): Call putspent.  Report error.
22716         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
22717         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
22718         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
22719         name, password, directory, shell fields for valid syntax.  Rewrite
22720         GECOS field to match syntax.
22721         * pwd/Makefile (tests): Add tst-putpwent.
22722         * pwd/tst-putpwent.c: New file.
22723         * grp/putgrent.c (putgrent): Convert to ISO function definition.
22724         Check grName, grpasswd, gr_mem fields for valid syntax.
22725         Change loop variable i to size_t.
22726         * grp/Makefile (tests): Add tst-putgrent.
22727         * grp/tst-putgrent.c: New file.
22728         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
22729         valid syntax.
22730         * shadow/Makefile (tests): Add tst-putspent.
22731         * shadow/tst-putspent.c: New file.
22732         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
22733         sg_mem fields for valid syntax.
22734         * gshadow/Makefile (tests): Add tst-putsgent.
22735         * gshadow/tst-putsgent.c: New file.
22737 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22739         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
22740         assembly instructions.
22742 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22744         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
22745         prefix from operands.
22747 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
22749         [BZ #16347]
22750         [BZ #19046]
22751         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
22752         <libc-internal.h>.
22753         (MAXLGM): Do not use diagnostic control macros.
22754         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
22755         threshold for ldbl-128ibm.
22756         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
22757         instead of multiplying by log then subtracting.
22758         * math/auto-libm-test-in: Add more tests of lgamma.
22759         * math/auto-libm-test-out: Regenerated.
22761         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
22762         (TYPE_HEX_DIG): Likewise.
22763         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
22764         precisions when printing floating-point numbers.
22765         (check_float_internal): Likewise.
22767 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
22769         [BZ #16620]
22770         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
22771         of log (10) rounded downward to 48 bits.
22772         (log10_low): Use corresponding low part of log (10).
22774         [BZ #19032]
22775         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
22776         compute result as (x - x) / (x - x) not as 0 / 0.
22777         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
22778         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
22780         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22781         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
22782         and expm1.
22783         * math/auto-libm-test-out: Regenerated.
22784         * math/libm-test.inc (acos_test_data): Add more tests.
22785         (asin_test_data): Likewise.
22786         (asinh_test_data): Likewise.
22787         (atan_test_data): Likewise.
22788         (atanh_test_data): Likewise.
22789         (atan2_test_data): Likewise.
22790         (cbrt_test_data): Likewise.
22791         (ceil_test_data): Likewise.
22792         (copysign_test_data): Likewise.
22793         (cos_test_data): Likewise.
22794         (cosh_test_data): Likewise.
22795         (erf_test_data): Likewise.
22796         (erfc_test_data): Likewise.
22797         (exp_test_data): Likewise.
22798         (exp10_test_data): Likewise.
22799         (exp2_test_data): Likewise.
22800         (expm1_test_data): Likewise.
22801         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22803 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
22805         [BZ #19006]
22806         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
22807         to ...
22808         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
22809         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
22810         to ...
22811         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
22812         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
22813         to ...
22814         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
22815         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
22816         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
22817         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
22818         to ...
22819         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
22820         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
22821         Moved to ...
22822         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
22823         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
22824         Moved to ...
22825         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
22826         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
22827         to ...
22828         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
22829         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
22830         Moved to ...
22831         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
22832         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
22833         to ...
22834         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
22835         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
22836         Removed.
22837         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
22838         Likewise.
22839         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
22840         Likewise.
22841         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
22842         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
22843         Likewise.
22844         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
22845         Likewise.
22846         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
22847         Likewise.
22848         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
22849         Likewise.
22850         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
22851         Likewise.
22852         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
22853         Likewise.
22854         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
22855         Likewise.
22856         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
22857         Likewise.
22858         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
22859         Likewise.
22860         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
22861         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
22862         Likewise.
22863         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
22864         Likewise.
22865         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
22866         Likewise.
22867         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
22868         Likewise.
22869         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
22870         Likewise.
22871         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
22872         Replace ../i486/pthread_cond_timedwait.S with
22873         ../pthread_cond_timedwait.S.
22875 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
22877         * math/libm-test.inc (acos_test_data): Refine expectations for
22878         errno and "inexact" exceptions.
22879         (acosh_test_data): Likewise.
22880         (asin_test_data): Likewise.
22881         (asinh_test_data): Likewise.
22882         (atan_test_data): Likewise.
22883         (atanh_test_data): Likewise.
22884         (atan2_test_data): Likewise.
22885         (cbrt_test_data): Likewise.
22886         (ceil_test_data): Likewise.
22887         (copysign_test_data): Likewise.
22888         (cosh_test_data): Likewise.
22889         (erf_test_data): Likewise.
22890         (erfc_test_data): Likewise.
22891         (exp_test_data): Likewise.
22892         (exp10_test_data): Likewise.
22893         (exp2_test_data): Likewise.
22894         (expm1_test_data): Likewise.
22895         (fabs_test_data): Likewise.
22896         (floor_test_data): Likewise.
22897         (fma_test_data): Likewise.
22898         (fmax_test_data): Likewise.
22899         (fmin_test_data): Likewise.
22900         (fmod_test_data): Likewise.
22901         (fpclassify_test_data): Likewise.
22902         (frexp_test_data): Likewise.
22903         (hypot_test_data): Likewise.
22904         (ilogb_test_data): Likewise.
22905         (isgreater_test_data): Likewise.
22906         (isgreaterequal_test_data): Likewise.
22907         (isinf_test_data): Likewise.
22908         (isless_test_data): Likewise.
22909         (islessequal_test_data): Likewise.
22910         (islessgreater_test_data): Likewise.
22911         (isnan_test_data): Likewise.
22912         (isnormal_test_data): Likewise.
22913         (issignaling_test_data): Likewise.
22914         (isunordered_test_data): Likewise.
22915         (j0_test_data): Likewise.
22916         (j1_test_data): Likewise.
22917         (jn_test_data): Likewise.
22918         (lgamma_test_data): Likewise.
22919         (lrint_test_data): Likewise.
22920         (llrint_test_data): Likewise.
22921         (log_test_data): Likewise.
22922         (log10_test_data): Likewise.
22923         (log1p_test_data): Likewise.
22924         (log2_test_data): Likewise.
22925         (logb_test_data): Likewise.
22926         (lround_test_data): Likewise.
22927         (llround_test_data): Likewise.
22928         (modf_test_data): Likewise.
22929         (nearbyint_test_data): Likewise.
22930         (nextafter_test_data): Likewise.
22931         (nexttoward_test_data): Likewise.
22932         (pow_test_data): Likewise.
22933         (remainder_test_data): Likewise.
22934         (remquo_test_data): Likewise.
22935         (rint_test_data): Likewise.
22936         (round_test_data): Likewise.
22937         (signbit_test_data): Likewise.
22938         (sinh_test_data): Likewise.
22939         (sqrt_test_data): Likewise.
22940         (tanh_test_data): Likewise.
22941         (tgamma_test_data): Likewise.
22942         (trunc_test_data): Likewise.
22943         (y0_test_data): Likewise.
22944         (y1_test_data): Likewise.
22945         (yn_test_data): Likewise.
22946         (significand_test_data): Likewise.
22948 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
22950         * manual/filesys.texi (Storage Allocation): Document that
22951         posix_fallocate emulation fails when fd is open with O_WRONLY.
22953 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
22955         [BZ #19016]
22956         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
22957         allow more cases with X^2 + Y^2 >= 0.5.
22958         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
22959         normal element in sum instead of special-casing based on values of
22960         arguments.
22961         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
22962         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
22963         -1 as normal element in sum instead of special-casing based on
22964         values of arguments.
22965         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
22966         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
22967         (__x2y2m1): Update comment.
22968         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
22969         as normal element in sum instead of special-casing based on values
22970         of arguments.
22971         * math/s_clog.c (__clog): Handle more cases using log1p without
22972         hypot.
22973         * math/s_clog10.c (__clog10): Likewise.
22974         * math/s_clog10f.c (__clog10f): Likewise.
22975         * math/s_clog10l.c (__clog10l): Likewise.
22976         * math/s_clogf.c (__clogf): Likewise.
22977         * math/s_clogl.c (__clogl): Likewise.
22978         * math/auto-libm-test-in: Add more tests of clog and clog10.
22979         * math/auto-libm-test-out: Regenerated.
22980         * sysdeps/i386/fpu/libm-test-ulps: Update.
22981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22983 2015-09-28  Martin Sebor  <msebor@redhat.com>
22985         [BZ #18969]
22986         * string/Makefile (LOCALES): Define.
22987         (gen-locales.mk): Include.
22988         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
22989         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
22990         * string/tst-strxfrm2.c (do_test): Print the name of the locale
22991         on setlocale failure.
22993 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
22995         [BZ #18985]
22996         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
22997         (__strftime_internal): Likewise.
22998         * time/tst-strftime.c (do_bz18985): New test.
22999         (do_test): Call it.
23001 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
23003         [BZ #18956]
23004         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
23005         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
23006         extracting high part.
23007         * math/auto-libm-test-in: Add another test of pow.
23008         * math/auto-libm-test-out: Regenerated.
23009         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23011 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
23013         [BZ #18825]
23014         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
23015         New macro.
23016         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
23017         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23018         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
23019         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
23020         DBL_NARROW_EVAL, reloading the PIC register as needed.
23021         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
23022         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
23023         FLT_NARROW_EVAL.  Use separate return path for case when first
23024         argument is NaN.
23025         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
23026         DEFINE_LDBL_MIN.
23027         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
23028         PIC register.
23029         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
23030         math_check_force_underflow_nonneg.
23031         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
23032         underflow for subnormal result.
23033         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
23034         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
23035         math_check_force_underflow_nonneg.
23036         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
23037         math_check_force_underflow.
23038         * sysdeps/x86_64/fpu/x86_64-math-asm.h
23039         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
23040         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
23041         DEFINE_LDBL_MIN.
23042         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
23043         * math/auto-libm-test-in: Add more tests of pow.
23044         * math/auto-libm-test-out: Regenerated.
23046 2015-09-25  Florian Weimer  <fweimer@redhat.com>
23048         * nss/bug17079.c (init_test_items): Add diagnostic for
23049         inconsistent entries.
23050         (test_buffer_size): Skip inconsistent entries.
23052 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
23054         [BZ #13304]
23055         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
23056         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
23057         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
23059         [BZ #13304]
23060         * sysdeps/microblaze/s_fma.c: New file.
23061         * sysdeps/microblaze/s_fmaf.c: Likewise.
23062         * sysdeps/microblaze/sfp-machine.h: Likewise.
23064 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
23066         [BZ #17250]
23067         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
23068         member.
23070 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
23072         [BZ #18803]
23073         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
23074         (MO): New macro.
23075         (__ieee754_hypot) [PIC]: Load PIC register.
23076         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
23077         DBL_NARROW_EVAL.
23078         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
23079         math_check_force_underflow_nonneg in case where result might be
23080         tiny.
23081         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23082         Likewise.
23083         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23084         Likewise.
23085         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
23086         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
23087         * math/auto-libm-test-in: Add more tests of hypot.
23088         * math/auto-libm-test-out: Regenerated.
23090 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
23092         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
23094 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
23096         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
23097         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
23098         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
23099         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
23100         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
23101         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
23102         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
23104         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
23105         LOAD_PIC_REG.
23107         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
23108         (FLT_CHECK_FORCE_UFLOW): Likewise.
23109         (DBL_CHECK_FORCE_UFLOW): Likewise.
23110         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
23111         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
23112         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
23113         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23114         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23115         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23116         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23117         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23118         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
23119         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23120         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
23121         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
23122         (flt_min): Replace with use of DEFINE_FLT_MIN.
23123         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
23124         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
23125         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23126         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
23127         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
23128         (flt_min): Replace with use of DEFINE_FLT_MIN.
23129         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
23130         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
23131         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23132         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
23133         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
23134         (flt_min): Replace with use of DEFINE_FLT_MIN.
23135         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
23136         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
23137         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
23138         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
23139         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
23140         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
23141         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
23142         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
23143         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23144         (__atan): Use DBL_CHECK_FORCE_UFLOW.
23145         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
23146         (flt_min): Replace with use of DEFINE_FLT_MIN.
23147         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
23148         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
23149         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23150         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
23151         main computation.
23152         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
23153         (flt_min): Replace with use of DEFINE_FLT_MIN.
23154         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
23155         main computation.
23156         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
23157         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23158         (MO): New macro.
23159         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
23160         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
23161         (flt_min): Replace with use of DEFINE_FLT_MIN.
23162         (MO): New macro.
23163         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
23164         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
23165         (__log1pl): Use MO.
23167         [BZ #19003]
23168         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
23169         $(config-cflags-nofma).
23171 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23173         * sysdeps/aarch64/libm-test-ulps: Regenerated.
23175 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
23177         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
23178         (TWO127): Likewise.
23180         * sysdeps/generic/math_private.h (fabs_tg): New macro.
23181         (min_of_type): Likewise.
23182         (math_check_force_underflow): Likewise.
23183         (math_check_force_underflow_nonneg): Likewise.
23184         (math_check_force_underflow_complex): Likewise.
23185         * math/e_exp2l.c (__ieee754_exp2l): Use
23186         math_check_force_underflow_nonneg.
23187         * math/k_casinh.c (__kernel_casinh): Likewise.
23188         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23189         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23190         * math/s_catan.c (__catan): Use
23191         math_check_force_underflow_complex.
23192         * math/s_catanf.c (__catanf): Likewise.
23193         * math/s_catanh.c (__catanh): Likewise.
23194         * math/s_catanhf.c (__catanhf): Likewise.
23195         * math/s_catanhl.c (__catanhl): Likewise.
23196         * math/s_catanl.c (__catanl): Likewise.
23197         * math/s_ccosh.c (__ccosh): Likewise.
23198         * math/s_ccoshf.c (__ccoshf): Likewise.
23199         * math/s_ccoshl.c (__ccoshl): Likewise.
23200         * math/s_cexp.c (__cexp): Likewise.
23201         * math/s_cexpf.c (__cexpf): Likewise.
23202         * math/s_cexpl.c (__cexpl): Likewise.
23203         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
23204         * math/s_clog10.c (__clog10): Likewise.
23205         * math/s_clog10f.c (__clog10f): Likewise.
23206         * math/s_clog10l.c (__clog10l): Likewise.
23207         * math/s_clogf.c (__clogf): Likewise.
23208         * math/s_clogl.c (__clogl): Likewise.
23209         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
23210         * math/s_csinf.c (__csinf): Likewise.
23211         * math/s_csinh.c (__csinh): Likewise.
23212         * math/s_csinhf.c (__csinhf): Likewise.
23213         * math/s_csinhl.c (__csinhl): Likewise.
23214         * math/s_csinl.c (__csinl): Likewise.
23215         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
23216         * math/s_csqrtf.c (__csqrtf): Likewise.
23217         * math/s_csqrtl.c (__csqrtl): Likewise.
23218         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
23219         * math/s_ctanf.c (__ctanf): Likewise.
23220         * math/s_ctanh.c (__ctanh): Likewise.
23221         * math/s_ctanhf.c (__ctanhf): Likewise.
23222         * math/s_ctanhl.c (__ctanhl): Likewise.
23223         * math/s_ctanl.c (__ctanl): Likewise.
23224         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
23225         instead of volatile.
23226         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
23227         math_check_force_underflow.
23228         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23229         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
23230         volatile when forcing underflow.
23231         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23232         math_check_force_underflow_nonneg.
23233         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
23234         Likewise.
23235         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
23236         math_check_force_underflow.
23237         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
23238         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23239         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23240         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
23241         math_check_force_underflow_nonneg.
23242         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
23243         math_check_force_underflow.
23244         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
23245         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
23246         instead of volatile.
23247         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
23248         math_check_force_underflow.
23249         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23250         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23251         math_check_force_underflow_nonneg.
23252         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
23253         math_check_force_underflow.
23254         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
23255         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23256         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
23257         math_check_force_underflow_nonneg.
23258         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
23259         Likewise.
23260         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
23261         math_check_force_underflow.
23262         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23263         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
23264         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
23265         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
23266         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
23267         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
23268         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
23269         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
23270         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
23271         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
23272         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
23273         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
23274         Likewise.
23275         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
23276         math_check_force_underflow_nonneg.
23277         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
23278         Likewise.
23279         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
23280         math_check_force_underflow.
23281         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23282         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
23283         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23284         Likewise.
23285         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
23286         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
23287         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
23288         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
23289         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
23290         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
23291         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
23292         instead of volatile.
23293         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
23294         math_check_force_underflow.
23295         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
23296         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
23297         math_check_force_underflow.
23298         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
23299         Likewise.
23300         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23301         Use math_check_force_underflow_nonneg.
23302         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
23303         math_check_force_underflow.
23304         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
23305         Likewise.
23306         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23307         Likewise.
23308         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23309         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23310         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23311         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23312         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
23313         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23314         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
23315         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
23316         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
23317         math_check_force_underflow_nonneg.
23318         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
23319         math_check_force_underflow.
23320         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23321         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
23322         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
23323         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
23324         math_check_force_underflow_nonneg.
23325         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
23326         math_check_force_underflow.
23327         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
23328         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
23329         instead of volatile.
23330         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
23331         math_check_force_underflow.
23333         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
23334         * stdlib/strtod_l.c: Include <math_private.h>.
23335         (overflow_value): Use math_narrow_eval.
23336         (underflow_value): Likewise.
23337         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23338         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
23339         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
23340         (__ieee754_gamma_r): Likewise.
23341         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
23342         Likewise.
23343         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
23344         Likewise.
23345         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
23346         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
23347         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
23348         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
23349         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
23350         (__ieee754_gammaf_r): Likewise.
23351         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
23352         Likewise.
23353         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
23354         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
23355         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
23356         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
23357         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
23358         volatile.
23359         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
23360         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
23361         math_narrow_eval.
23362         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
23363         Likewise.
23364         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23365         Likewise.
23366         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
23367         Likewise.
23368         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
23369         volatile.
23370         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
23371         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
23372         math_narrow_eval.
23373         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23374         Likewise.
23375         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23376         Likewise.
23378 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
23380         * nptl/Versions: Remove ignored symbols.
23382 2015-09-22  Florian Weimer  <fweimer@redhat.com>
23384         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
23385         * nss/Makefile (tests): Update.
23387 2015-09-22  Florian Weimer  <fweimer@redhat.com>
23389         * nss/bug18287.c: New file.
23390         * nss/Makefile (tests): Add bug18287.
23392 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23394         * mach/Versions (__mach_host_self_): Add symbol.
23396 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23398         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
23399         vm_page_size.
23401 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23403         Really fix sysdeps/i386/fpu/s_scalbn.S build
23405         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
23406         (libc: GLIBC_2_22): Remove unused version set.
23408 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
23410         * config.make.in (enable-timezone-tools): New variable.
23411         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
23412         (enable_timezone_tools): Export to generated files.
23413         * configure: Regenerate.
23414         * INSTALL: Regenerate.
23415         * manual/install.texi (--disable-timezone-tools): Document new flag.
23416         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
23417         ifeq ($(enable-timezone-tools),yes) check.
23419 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
23421         * timezone/Makefile: Revert previous change.
23423         [BZ #18980]
23424         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
23425         (DEFINE_DBL_MIN): Likewise.
23426         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
23427         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
23428         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
23429         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
23430         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
23431         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23432         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23433         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
23434         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
23435         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23436         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23437         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
23438         (flt_min): Replace with use of DEFINE_FLT_MIN.
23439         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23440         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
23441         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23442         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23443         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
23444         (flt_min): Replace with use of DEFINE_FLT_MIN.
23445         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23446         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
23447         (flt_min): Replace with use of DEFINE_FLT_MIN.
23448         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23449         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
23450         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
23451         (__ieee754_hypot): Use DBL_NARROW_EVAL.
23452         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
23453         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
23454         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
23455         (__ieee754_pow): Use DBL_NARROW_EVAL.
23456         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
23457         (__ieee754_powf): Use FLT_NARROW_EVAL.
23458         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
23459         (__ieee754_expf_sse2): Convert double-precision result to single
23460         precision.
23461         * sysdeps/i386/fpu/libm-test-ulps: Update.
23463 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23465         * timezone/Makefile: Ignore unused variable errors due to private.h
23466         (time_t_min) and (time_t_max).
23467         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
23468         Likewise.
23470 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
23472         [BZ #18981]
23473         * sysdeps/i386/fpu/i386-math-asm.h: New file.
23474         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
23475         (__ieee754_scalb): Use DBL_NARROW_EVAL.
23476         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
23477         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
23478         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
23479         (__scalbn): Use DBL_NARROW_EVAL.
23480         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
23481         (__scalbnf): Use FLT_NARROW_EVAL.
23483 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23485         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
23486         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
23487         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
23488         * stdio-common/printf_fp.c (___printf_fp):
23489         Use signbit to get the sign. Use isinf macro to allow inlining.
23490         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
23491         * stdio-common/printf_size.c (__printf_size): Likewise.
23493 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
23495         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
23497 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
23499         [BZ #18980]
23500         * sysdeps/generic/math_private.h: Include <float.h>.
23501         (math_narrow_eval): New macro.
23502         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
23503         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
23504         math_narrow_eval on overflowing return value.
23505         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
23506         Likewise.
23507         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23508         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
23509         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
23510         Likewise.
23511         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
23513 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23515         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
23516         * math/Makefile: Remove isinf_ns.c.
23517         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
23518         * math/multc3.c (__multc3): Likewise.
23519         * math/s_casin.c (__casin): Likewise.
23520         * math/s_casinf.c (__casinf): Likewise.
23521         * math/s_casinl.c (__casinl): Likewise.
23522         * math/s_cproj.c (__cproj): Likewise.
23523         * math/s_cprojf.c (__cprojf): Likewise.
23524         * math/s_cprojl.c (__cprofl): Likewise.
23525         * math/s_ctan.c (__ctan): Likewise.
23526         * math/s_ctanf.c (__ctanf): Likewise.
23527         * math/s_ctanh.c (__ctanh): Likewise.
23528         * math/s_ctanhf.c (__ctanhf): Likewise.
23529         * math/s_ctanhl.c (__ctanhl): Likewise.
23530         * math/s_ctanl.c (__ctanl): Likewise.
23531         * math/w_fmod.c (__fmod): Likewise.
23532         * math/w_fmodf.c (__fmodf): Likewise.
23533         * math/w_fmodl.c (_fmodl): Likewise.
23534         * math/w_remainder.c (__remainder): Likewise.
23535         * math/w_remainderf.c (__remainderf): Likewise.
23536         * math/w_remainderl.c (__remainderl): Likewise.
23537         * math/w_scalb.c (__scalb): Likewise.
23538         * math/w_scalbf.c (__scalbf): Likewise.
23539         * math/w_scalbl.c (__scalbl): Likewise.
23540         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
23541         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
23542         with isinf.
23543         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
23544         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
23545         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
23546         __isinf_nsf with isinf.
23547         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
23548         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
23549         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
23550         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
23551         with isinf.
23552         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
23553         __isinf_nsl with isinf.
23554         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
23555         with isinf.
23556         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
23557         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
23558         __isinf_nsl with isinf.
23559         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
23560         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
23561         with isinf.
23563 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23565         * resolv/base64.c (rcsid): Remove unused static.
23566         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
23567         static.  (tqpi1): Likewise.
23568         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
23569         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
23570         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
23571         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
23572         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
23573         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
23574         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
23575         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
23576         Likewise.
23578 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
23580         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
23581         <nptl/pthreadP.h>.
23582         (_longjmp_unwind): Use __libc_ptf_call.
23583         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
23585 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
23587         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
23588         * sysdeps/arm/__longjmp.S: Likewise.
23590 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23592         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
23593         Use __builtin_signbit.
23594         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
23595         Use __builtin_signbitf.
23596         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
23597         Use __builtin_signbitl.
23598         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23599         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
23601 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23603         [BZ #15367]
23604         [BZ #17441]
23606         * math/Makefile: Build test-snan.c with -fsignaling-nans.
23607         * math/math.h (fpclassify): Use __builtin_fpclassify when
23608         available.  (signbit): Use __builtin_signbit(f/l).
23609         (isfinite): Use__builtin_isfinite.  (isnormal): Use
23610         __builtin_isnormal.  (isnan): Use __builtin_isnan.
23611         (isinf): Use __builtin_isinf_sign.
23613 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23615         * benchtests/Makefile: Add bench-math-inlines, link with libm.
23616         * benchtests/bench-math-inlines.c: New benchmark.
23617         * benchtests/bench-util.h: New file.
23618         * benchtests/bench-util.c: New file.
23619         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
23621 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
23623         * elf/tst-dlmopen1.c: Define TEST_SO.
23624         (do_test): Use TEST_SO.
23626         * elf/dl-load.c: Include libc-internal.h.
23627         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
23629 2015-09-18  Vincent Bernat  <vincent@bernat.im>
23631         [BZ #17887]
23632         * time/strptime_l.c (__strptime_internal): Make %z accept
23633         [+-]HH:MM time zones.
23635 2015-09-18  Vincent Bernat  <vincent@bernat.im>
23637         [BZ #17886]
23638         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
23639         valid time zone.
23641 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
23643         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
23644         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
23645         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23646         (__ASSUME_FDATASYNC): Delete.
23648 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
23650         * conform/linknamespace.pl: Require weak undefined symbols to be
23651         in the standard namespace.
23652         (%strong_syms): Rename to %seen_syms.
23653         (%strong_seen): Rename to %seen_where.
23655 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
23657         [BZ #18970]
23658         * misc/error.c (error): Replace pthread_setcancelstate with
23659         __pthread_setcancelstate.
23660         (error_at_line): Likewise.
23661         * posix/wordexp.c (parse_comm): Likewise.
23662         * stdlib/fmtmsg.c (fmtmsg): Likewise.
23663         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
23664         (__pthread_setcancelstate): This.
23665         (pthread_setcancelstate): Add an alias.
23666         * nptl/nptl-init.c (pthread_functions): Replace
23667         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
23668         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
23669         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
23670         hidden_proto.
23671         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
23672         it with hidden_def.
23673         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
23674         (pthread_setcancelstate): Renamed to ...
23675         (__pthread_setcancelstate): This.
23676         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
23677         __libc_ptf_call with __pthread_setcancelstate.
23679 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
23680             Andreas Schwab  <schwab@suse.de>
23682         [BZ #17118]
23683         * math/s_ctan.c (__ctan): Determine sign of zero real part of
23684         result when imaginary part of argument is infinite using sine and
23685         cosine.
23686         * math/s_ctanf.c (__ctanf): Likewise.
23687         * math/s_ctanl.c (__ctanl): Likewise.
23688         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
23689         of result when real part of argument is infinite using sine and
23690         cosine.
23691         * math/s_ctanhf.c (__ctanhf): Likewise.
23692         * math/s_ctanhl.c (__ctanhl): Likewise.
23693         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
23694         (ctanh_test_data): Add more tests of ctanh.
23696 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
23698         [BZ #15384]
23699         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
23700         bit-mask as in subtraction.
23701         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
23702         Likewise.
23703         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
23704         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
23705         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
23707         [BZ #18951]
23708         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
23709         underflow exception for small results.
23710         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
23711         Likewise.
23712         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
23713         Likewise.
23714         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23715         Likewise.
23716         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23717         Likewise.
23718         * math/auto-libm-test-in: Add more tests of tgamma.
23719         * math/auto-libm-test-out: Regenerated.
23721 2015-09-17  Andreas Schwab  <schwab@suse.de>
23723         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
23725 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
23727         [BZ #18977]
23728         * math/bits/mathcalls.h
23729         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
23730         not declare.
23731         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
23732         Likewise.
23733         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
23734         Likewise.
23735         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
23736         Likewise.
23737         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
23738         Likewise.
23739         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
23740         Likewise.
23741         * conform/data/math.h-data
23742         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
23743         function.
23744         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
23745         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
23746         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
23747         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
23748         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
23749         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
23750         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
23751         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
23752         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
23753         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
23754         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
23756         [BZ #6803]
23757         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
23758         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
23759         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
23760         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
23761         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
23762         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
23763         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
23764         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
23765         [NO_LONG_DOUBLE] (scalbnl): Likewise.
23766         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
23767         Likewise.
23768         [NO_LONG_DOUBLE] (scalbnl): Likewise.
23769         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
23770         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
23771         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
23772         long_double_symbol calls.
23773         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
23774         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
23775         strong alias of __ldexpl.
23776         (scalbnl): Define using long_double_symbol.
23777         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
23778         Remove alias.
23779         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
23780         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
23781         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
23782         (scalbln_test_data): Add more errno expectations.
23784 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
23786         Cache the host port like we cache the task port.  This way we do not
23787         need to call the kernel just to get the port.  Furthermore, we no
23788         longer increase the reference count on every invocation of
23789         `mach_host_self'.
23791         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
23792         Protect declarations against the macro expansion.
23793         * mach/mach_init.c (__mach_host_self_): New variable.
23794         (mach_init): Initialize `__mach_host_self_'.
23795         * mach/mach_init.h (__mach_host_self_): New declaration.
23796         (__mach_host_self, mach_host_self): New macros.
23797         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
23798         Release reference.
23800 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
23802         [BZ #4404]
23803         * po/de.po: Update from Translation Project.
23805         [BZ #16415]
23806         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
23807         (__expm1l): Remove code to handle positive infinity and overflow.
23808         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
23809         variable.
23810         (__expm1l): Remove code to handle positive infinity and overflow.
23812 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
23813             Paul Pluzhnikov  <ppluzhnikov@google.com>
23815         [BZ #18872]
23816         * stdio-common/Makefile (tst-printf-bz18872): New test.
23817         (tst-printf-bz18872-mem.out): Likewise.
23818         * stdio-common/tst-printf-bz18872.sh: Generate new test.
23819         * stdio-common/vfprintf.c: Fix memory leaks.
23821 2015-09-16  Andreas Schwab  <schwab@suse.de>
23823         [BZ #17244]
23824         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
23825         Remove extra va_start/va_end calls.
23827         [BZ #17243]
23828         * posix/execl.c (execl): Add missing va_end.
23829         * posix/execle.c (execle): Likewise.
23830         * posix/execlp.c (execlp): Likewise.
23832 2015-09-15  Roland McGrath  <roland@hack.frob.com>
23834         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
23835         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
23837 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
23839         [BZ #18967]
23840         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
23841         undefine around includes of <bits/mathcalls.h>.
23842         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
23843         not declare function.
23844         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
23845         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
23846         (scalb): Likewise.
23847         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
23848         not define macro.
23849         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
23850         variable.
23851         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
23852         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
23853         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
23855         [BZ #18857]
23856         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
23857         return non-finite argument without doing ordered comparisons on
23858         it.
23860         [BZ #16296]
23861         * math/fenv.h (fegetround): Use __attribute_pure__.
23862         * include/fenv.h (__fegetround): Likewise.
23864         [BZ #18595]
23865         * math/s_ctan.c (__ctan): Force underflow exception for results
23866         whose real or imaginary part has small absolute value.
23867         * math/s_ctanf.c (__ctanf): Likewise.
23868         * math/s_ctanh.c (__ctanh): Likewise.
23869         * math/s_ctanhf.c (__ctanhf): Likewise.
23870         * math/s_ctanhl.c (__ctanhl): Likewise.
23871         * math/s_ctanl.c (__ctanl): Likewise.
23872         * math/auto-libm-test-in: Do not allow missing underflow for ctan
23873         and ctanh.  Add more tests of ctan and ctanh.
23875         [BZ #15918]
23876         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
23877         handling of cases where one argument is an infinity.
23879         [BZ #18875]
23880         [BZ #18966]
23881         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
23882         (MO): New macro.
23883         (__ieee754_exp10): For small results, force underflow exception
23884         and remove excess range and precision from return value.
23885         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
23886         (MO): New macro.
23887         (__ieee754_exp10f): For small results, force underflow exception
23888         and remove excess range and precision from return value.
23889         * math/auto-libm-test-in: Add more tests of exp10.
23890         * math/auto-libm-test-out: Regenerated.
23892 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
23894         [BZ #18875]
23895         [BZ #18961]
23896         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
23897         (MO): New macro.
23898         (__ieee754_exp): For small results, force underflow exception and
23899         remove excess range and precision from return value.
23900         (__exp_finite): Likewise.
23901         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
23902         (MO): New macro.
23903         (__ieee754_expf): For small results, force underflow exception and
23904         remove excess range and precision from return value.
23905         (__expf_finite): Likewise.
23906         * math/auto-libm-test-in: Add more tests of exp.
23907         * math/auto-libm-test-out: Regenerated.
23909         [BZ #16521]
23910         [BZ #18875]
23911         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
23912         small results.
23913         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
23914         (MO): New macro.
23915         (__ieee754_exp2): For small results, force underflow exception and
23916         remove excess range and precision from return value.
23917         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
23918         (MO): New macro.
23919         (__ieee754_exp2f): For small results, force underflow exception
23920         and remove excess range and precision from return value.
23921         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
23922         (MO): New macro.
23923         (__ieee754_exp2l): Force underflow exception for small results.
23924         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23925         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
23926         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
23927         (MO): New macro.
23928         (__ieee754_exp2l): Force underflow exception for small results.
23929         * math/auto-libm-test-in: Add more tests or exp2.
23930         * math/auto-libm-test-out: Regenerated.
23932 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
23934         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
23936         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
23937         /dev/null.
23939 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23941         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
23942         io fs process)): Drop spurious backslash.
23944 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
23946         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
23947         Use sysinfo system call instead of parsing /proc/meminfo.
23948         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
23949         Likewise.
23951 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
23953         [BZ #16985]
23954         * programs/localedef.c (main): Display argv[remaining] when
23955         output_path is NULL.
23957 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
23959         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23960         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
23961         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
23962         tanh.
23963         * math/auto-libm-test-out: Regenerated.
23964         * sysdeps/i386/fpu/libm-test-ulps: Update.
23965         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23966         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23969 2015-09-11  Roland McGrath  <roland@hack.frob.com>
23971         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
23972         Use 'override' keyword to freeze the value here, preventing
23973         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
23975 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
23977         [BZ #14912]
23978         * sysdeps/aarch64/bits/atomic.h: Move to ...
23979         * sysdeps/aarch64/atomic-machine.h: ...here.
23980         (_AARCH64_BITS_ATOMIC_H): Rename macro to
23981         _AARCH64_ATOMIC_MACHINE_H.
23982         * sysdeps/alpha/bits/atomic.h: Move to ...
23983         * sysdeps/alpha/atomic-machine.h: ...here.
23984         * sysdeps/arm/bits/atomic.h: Move to ...
23985         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
23986         * bits/atomic.h: Move to ...
23987         * sysdeps/generic/atomic-machine.h: ...here.
23988         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23989         * sysdeps/i386/bits/atomic.h: Move to ...
23990         * sysdeps/i386/atomic-machine.h: ...here.
23991         * sysdeps/ia64/bits/atomic.h: Move to ...
23992         * sysdeps/ia64/atomic-machine.h: ...here.
23993         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
23994         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
23995         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23996         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
23997         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
23998         * sysdeps/microblaze/bits/atomic.h: Move to ...
23999         * sysdeps/microblaze/atomic-machine.h: ...here.
24000         * sysdeps/mips/bits/atomic.h: Move to ...
24001         * sysdeps/mips/atomic-machine.h: ...here.
24002         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
24003         * sysdeps/powerpc/bits/atomic.h: Move to ...
24004         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
24005         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
24006         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
24007         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
24008         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
24009         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
24010         <atomic-machine.h> instead of <bits/atomic.h>.
24011         * sysdeps/s390/bits/atomic.h: Move to ...
24012         * sysdeps/s390/atomic-machine.h: ...here.
24013         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
24014         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
24015         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24016         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
24017         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
24018         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
24019         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
24020         * sysdeps/tile/bits/atomic.h: Move to ...
24021         * sysdeps/tile/atomic-machine.h: ...here.
24022         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
24023         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
24024         <sysdeps/tile/atomic-machine.h> instead of
24025         <sysdeps/tile/bits/atomic.h>.
24026         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24027         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
24028         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
24029         <sysdeps/tile/atomic-machine.h> instead of
24030         <sysdeps/tile/bits/atomic.h>.
24031         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24032         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
24033         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
24034         <sysdeps/arm/atomic-machine.h> instead of
24035         <sysdeps/arm/bits/atomic.h>.
24036         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
24037         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
24038         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24039         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
24040         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
24041         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24042         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
24043         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
24044         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
24045         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
24046         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
24047         * sysdeps/x86_64/bits/atomic.h: Move to ...
24048         * sysdeps/x86_64/atomic-machine.h: ...here.
24049         * include/atomic.h: Include <atomic-machine.h> instead of
24050         <bits/atomic.h>.
24052         * sysdeps/mips/mips32/libm-test-ulps: Update.
24053         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24055         [BZ #18952]
24056         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
24057         not convert non-integer negative arguments to int to determine the
24058         value of signgam.
24059         * math/auto-libm-test-in: Add more tests of lgamma.
24060         * math/auto-libm-test-out: Regenerated.
24062         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
24063         cosh, csqrt, erfc, expm1 and lgamma.
24064         * math/auto-libm-test-out: Regenerated.
24065         * sysdeps/i386/fpu/libm-test-ulps: Update.
24066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24068 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
24070         [BZ #2542]
24071         [BZ #2543]
24072         [BZ #2558]
24073         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
24074         __lgamma_neg for arguments from -28.0 to -2.0.
24075         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
24076         __lgamma_negf for arguments from -15.0 to -2.0.
24077         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24078         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
24079         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
24080         Call __lgamma_negl for arguments from -33.0 to -2.0.
24081         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
24082         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
24083         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
24084         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
24085         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
24086         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
24087         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
24088         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
24089         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
24090         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
24091         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
24092         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
24093         (__lgamma_neg): Likewise.
24094         (__lgamma_negl): Likewise.
24095         (__lgamma_product): Likewise.
24096         (__lgamma_productl): Likewise.
24097         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
24098         * math/auto-libm-test-in: Add more tests of lgamma.
24099         * math/auto-libm-test-out: Regenerated.
24100         * sysdeps/i386/fpu/libm-test-ulps: Update.
24101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24103 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
24105         [BZ #18675]
24106         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
24108 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
24110         [BZ #14912]
24111         * bits/libc-lock.h: Move to ...
24112         * sysdeps/generic/libc-lock.h: ...here.
24113         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24114         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
24115         * sysdeps/mach/hurd/libc-lock.h: ...here.
24116         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24117         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
24118         * sysdeps/mach/bits/libc-lock.h: Move to ...
24119         * sysdeps/mach/libc-lock.h: ...here.
24120         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24121         * sysdeps/nptl/bits/libc-lock.h: Move to ...
24122         * sysdeps/nptl/libc-lock.h: ...here.
24123         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24124         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
24125         * sysdeps/nptl/libc-lockP.h: ...here.
24126         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
24127         * crypt/crypt_util.c: Include <libc-lock.h> instead of
24128         <bits/libc-lock.h>.
24129         * dirent/scandir-tail.c: Likewise.
24130         * dlfcn/dlerror.c: Likewise.
24131         * elf/dl-close.c: Likewise.
24132         * elf/dl-iteratephdr.c: Likewise.
24133         * elf/dl-lookup.c: Likewise.
24134         * elf/dl-open.c: Likewise.
24135         * elf/dl-support.c: Likewise.
24136         * elf/dl-writev.h: Likewise.
24137         * elf/rtld.c: Likewise.
24138         * grp/fgetgrent.c: Likewise.
24139         * gshadow/fgetsgent.c: Likewise.
24140         * gshadow/sgetsgent.c: Likewise.
24141         * iconv/gconv_conf.c: Likewise.
24142         * iconv/gconv_db.c: Likewise.
24143         * iconv/gconv_dl.c: Likewise.
24144         * iconv/gconv_int.h: Likewise.
24145         * iconv/gconv_trans.c: Likewise.
24146         * include/link.h: Likewise.
24147         * inet/getnameinfo.c: Likewise.
24148         * inet/getnetgrent.c: Likewise.
24149         * inet/getnetgrent_r.c: Likewise.
24150         * intl/bindtextdom.c: Likewise.
24151         * intl/dcigettext.c: Likewise.
24152         * intl/finddomain.c: Likewise.
24153         * intl/gettextP.h: Likewise.
24154         * intl/loadmsgcat.c: Likewise.
24155         * intl/localealias.c: Likewise.
24156         * intl/textdomain.c: Likewise.
24157         * libidn/idn-stub.c: Likewise.
24158         * libio/libioP.h: Likewise.
24159         * locale/duplocale.c: Likewise.
24160         * locale/freelocale.c: Likewise.
24161         * locale/newlocale.c: Likewise.
24162         * locale/setlocale.c: Likewise.
24163         * login/getutent_r.c: Likewise.
24164         * login/getutid_r.c: Likewise.
24165         * login/getutline_r.c: Likewise.
24166         * login/utmp-private.h: Likewise.
24167         * login/utmpname.c: Likewise.
24168         * malloc/mtrace.c: Likewise.
24169         * misc/efgcvt.c: Likewise.
24170         * misc/error.c: Likewise.
24171         * misc/fstab.c: Likewise.
24172         * misc/getpass.c: Likewise.
24173         * misc/mntent.c: Likewise.
24174         * misc/syslog.c: Likewise.
24175         * nis/nis_call.c: Likewise.
24176         * nis/nis_callback.c: Likewise.
24177         * nis/nss-default.c: Likewise.
24178         * nis/nss_compat/compat-grp.c: Likewise.
24179         * nis/nss_compat/compat-initgroups.c: Likewise.
24180         * nis/nss_compat/compat-pwd.c: Likewise.
24181         * nis/nss_compat/compat-spwd.c: Likewise.
24182         * nis/nss_nis/nis-alias.c: Likewise.
24183         * nis/nss_nis/nis-ethers.c: Likewise.
24184         * nis/nss_nis/nis-grp.c: Likewise.
24185         * nis/nss_nis/nis-hosts.c: Likewise.
24186         * nis/nss_nis/nis-network.c: Likewise.
24187         * nis/nss_nis/nis-proto.c: Likewise.
24188         * nis/nss_nis/nis-pwd.c: Likewise.
24189         * nis/nss_nis/nis-rpc.c: Likewise.
24190         * nis/nss_nis/nis-service.c: Likewise.
24191         * nis/nss_nis/nis-spwd.c: Likewise.
24192         * nis/nss_nisplus/nisplus-alias.c: Likewise.
24193         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
24194         * nis/nss_nisplus/nisplus-grp.c: Likewise.
24195         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
24196         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
24197         * nis/nss_nisplus/nisplus-network.c: Likewise.
24198         * nis/nss_nisplus/nisplus-proto.c: Likewise.
24199         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
24200         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
24201         * nis/nss_nisplus/nisplus-service.c: Likewise.
24202         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
24203         * nis/ypclnt.c: Likewise.
24204         * nptl/libc_pthread_init.c: Likewise.
24205         * nss/getXXbyYY.c: Likewise.
24206         * nss/getXXent.c: Likewise.
24207         * nss/getXXent_r.c: Likewise.
24208         * nss/nss_db/db-XXX.c: Likewise.
24209         * nss/nss_db/db-netgrp.c: Likewise.
24210         * nss/nss_db/nss_db.h: Likewise.
24211         * nss/nss_files/files-XXX.c: Likewise.
24212         * nss/nss_files/files-alias.c: Likewise.
24213         * nss/nsswitch.c: Likewise.
24214         * posix/regex_internal.h: Likewise.
24215         * posix/wordexp.c: Likewise.
24216         * pwd/fgetpwent.c: Likewise.
24217         * resolv/res_hconf.c: Likewise.
24218         * resolv/res_libc.c: Likewise.
24219         * shadow/fgetspent.c: Likewise.
24220         * shadow/lckpwdf.c: Likewise.
24221         * shadow/sgetspent.c: Likewise.
24222         * socket/opensock.c: Likewise.
24223         * stdio-common/reg-modifier.c: Likewise.
24224         * stdio-common/reg-printf.c: Likewise.
24225         * stdio-common/reg-type.c: Likewise.
24226         * stdio-common/vfprintf.c: Likewise.
24227         * stdio-common/vfscanf.c: Likewise.
24228         * stdlib/abort.c: Likewise.
24229         * stdlib/cxa_atexit.c: Likewise.
24230         * stdlib/fmtmsg.c: Likewise.
24231         * stdlib/random.c: Likewise.
24232         * stdlib/setenv.c: Likewise.
24233         * string/strsignal.c: Likewise.
24234         * sunrpc/auth_none.c: Likewise.
24235         * sunrpc/bindrsvprt.c: Likewise.
24236         * sunrpc/create_xid.c: Likewise.
24237         * sunrpc/key_call.c: Likewise.
24238         * sunrpc/rpc_thread.c: Likewise.
24239         * sysdeps/arm/backtrace.c: Likewise.
24240         * sysdeps/generic/ldsodefs.h: Likewise.
24241         * sysdeps/generic/stdio-lock.h: Likewise.
24242         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
24243         * sysdeps/i386/backtrace.c: Likewise.
24244         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24245         * sysdeps/m68k/backtrace.c: Likewise.
24246         * sysdeps/mach/hurd/cthreads.c: Likewise.
24247         * sysdeps/mach/hurd/dirstream.h: Likewise.
24248         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
24249         * sysdeps/nptl/malloc-machine.h: Likewise.
24250         * sysdeps/nptl/stdio-lock.h: Likewise.
24251         * sysdeps/posix/dirstream.h: Likewise.
24252         * sysdeps/posix/getaddrinfo.c: Likewise.
24253         * sysdeps/posix/system.c: Likewise.
24254         * sysdeps/pthread/aio_suspend.c: Likewise.
24255         * sysdeps/s390/s390-32/backtrace.c: Likewise.
24256         * sysdeps/s390/s390-64/backtrace.c: Likewise.
24257         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24258         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
24259         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
24260         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
24261         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
24262         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
24263         * sysdeps/unix/sysv/linux/system.c: Likewise.
24264         * sysdeps/x86_64/backtrace.c: Likewise.
24265         * time/alt_digit.c: Likewise.
24266         * time/era.c: Likewise.
24267         * time/tzset.c: Likewise.
24268         * wcsmbs/wcsmbsload.c: Likewise.
24269         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
24270         instead of <bits/libc-lock.h> in comment.
24272 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
24274         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
24275         Only use .set mips2 if the current ISA is below mips2.
24276         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
24277         Likewise.
24278         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
24279         mips32r2 if the current ISA is below mips32r2.
24280         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
24281         (TLS_IE): Updated to use the TLD_RDHWR macro.
24282         (TLS_LE): Likewise.
24283         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
24284         __ASSEMBLER__ condition.
24286 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24288         Fix parallel build of before-compile targets.
24290         * sysdeps/mach/Makefile ($(patsubst
24291         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
24292         mach-before-compile target.
24293         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24294         io fs process)): Move rule to dedicated hurd-before-compile target.
24296 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24298         Fix rules generating headers in hurd/ and mach/ when initial make call
24299         has subdir= explicitly set.
24301         * sysdeps/mach/Makefile ($(patsubst
24302         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
24303         calling $(MAKE).
24304         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24305         io fs process)): Force subdir to hurd when calling $(MAKE).
24306         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
24307         subdir to mach when calling $(MAKE).
24309 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
24311         Check sysheaders when looking for Mach and Hurd headers
24313         * sysdeps/mach/configure.ac: Add sysheaders check.
24314         * sysdeps/mach/configure: Regenerate.
24315         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
24316         * sysdeps/mach/hurd/configure: Regenerate.
24318 2015-09-04  Roland McGrath  <roland@hack.frob.com>
24320         [BZ #18921]
24321         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
24322         Fix inverted sense of test of 'o_directory_works' value.
24323         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
24324         Bernhard Voelker <mail@bernhard-voelker.de>.
24326 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
24328         [BZ #14912]
24329         * bits/linkmap.h: Move to ...
24330         * sysdeps/generic/linkmap.h: ...here.
24331         * sysdeps/aarch64/bits/linkmap.h: Move to ...
24332         * sysdeps/aarch64/linkmap.h: ...here.
24333         * sysdeps/arm/bits/linkmap.h: Move to ...
24334         * sysdeps/arm/linkmap.h: ...here.
24335         * sysdeps/hppa/bits/linkmap.h: Move to ...
24336         * sysdeps/hppa/linkmap.h: ...here.
24337         * sysdeps/ia64/bits/linkmap.h: Move to ...
24338         * sysdeps/ia64/linkmap.h: ...here.
24339         * sysdeps/mips/bits/linkmap.h: Move to ...
24340         * sysdeps/mips/linkmap.h: ...here.
24341         * sysdeps/s390/bits/linkmap.h: Move to ...
24342         * sysdeps/s390/linkmap.h: ...here.
24343         * sysdeps/sh/bits/linkmap.h: Move to ...
24344         * sysdeps/sh/linkmap.h: ...here.
24345         * sysdeps/x86/bits/linkmap.h: Move to ...
24346         * sysdeps/x86/linkmap.h: ...here.
24347         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
24349 2015-09-04  Andreas Schwab  <schwab@suse.de>
24351         [BZ #18635]
24352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
24353         (__makecontext): Terminate FDE before return label.
24354         (__novec_makecontext): Likewise.
24356 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24358         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
24359         first member of struct sv in syscall macro.
24361 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
24363         [BZ #14912]
24364         * bits/stdio-lock.h: Move to ...
24365         * sysdeps/generic/stdio-lock.h: ...here.
24366         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
24367         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
24368         * sysdeps/nptl/stdio-lock.h: ...here.
24369         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
24370         * include/libio.h: Include <stdio-lock.h> instead of
24371         <bits/stdio-lock.h>.
24372         * sysdeps/nptl/fork.c: Likewise.
24373         * sysdeps/pthread/flockfile.c: Likewise.
24374         * sysdeps/pthread/ftrylockfile.c: Likewise.
24375         * sysdeps/pthread/funlockfile.c: Likewise.
24377         [BZ #14912]
24378         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
24379         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
24380         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
24381         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
24382         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
24383         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
24384         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
24386 2015-09-03  Roland McGrath  <roland@hack.frob.com>
24388         * elf/Makefile (test-xfail-tst-protected1a): New variable.
24389         (test-xfail-tst-protected1b): New variable.
24391 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
24393         [BZ #14912]
24394         * bits/libc-tsd.h: Move to ...
24395         * sysdeps/generic/libc-tsd.h: ...here.
24396         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
24397         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
24398         * sysdeps/mach/hurd/libc-tsd.h: ...here.
24399         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
24400         * include/ctype.h: Include <libc-tsd.h> instead of
24401         <bits/libc-tsd.h>.
24402         * include/rpc/rpc.h: Likewise.
24403         * locale/localeinfo.h: Likewise.
24404         * sunrpc/rpc_thread.c: Likewise.
24405         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
24406         * sysdeps/nptl/malloc-machine.h: Likewise.
24408         * Makefile (headers): Remove bits/libc-lock.h.
24409         * libio/Makefile (headers): Remove bits/stdio-lock.h.
24411         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
24412         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
24413         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
24414         <bits/stdio-lock.h>.
24415         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
24416         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
24418 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
24420         [BZ #18757]
24421         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
24422         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
24423         BZ #18757.
24425 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
24427         * malloc/mtrace.pl: Filter out NULL entries.
24429 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
24431         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
24432         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
24433         macro.
24435         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
24436         (TCP_CC_INFO): Likewise.
24437         (TCP_SAVE_SYN): Likewise.
24438         (TCP_SAVED_SYN): Likewise.
24440 2015-08-31  Brett Neumeier <brett@neumeier.us>
24442         [BZ #18870]
24443         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
24445 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
24447         [BZ #18873]
24448         Fix broken overflow check in posix_fallocate
24449         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
24450         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
24451         Fix parenthesization typo.
24453 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
24455         [BZ #18887]
24456         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
24457         tst-mntent-blank-passno.
24458         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
24459         * misc/tst-mntent-blank-corrupt.c: New test.
24460         * misc/tst-mntent-blank-passno.c: New test ripped from ...
24461         * misc/tst-mntent.c (do_test): ... here.
24463 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
24465         [BZ #4404]
24466         * po/de.po: Fix SIGALRM typo.
24468 2015-08-28  James Perkins  <james@loowit.net>
24470         * time/tst-strptime2.c (tests): Replace short list of test
24471         strings for strptime %z specifier with code which exhaustively
24472         tests every combination of sign and 0 to 5 digits. Tests for
24473         rejection of invalid strings.
24475 2015-08-28  James Perkins  <james@loowit.net>
24477         [BZ #16141]
24478         * time/strptime_l.c (__strptime_internal): Fix %z minutes
24479         calculation, removing incorrect decimal time rounding, so that
24480         all minute values result in a valid seconds value.
24481         * time/strptime_l.c (__strptime_internal): Extend %z time zone
24482         offset range limits to UTC-99:59 through UTC+99:59 to parse
24483         current and historical use cases.
24484         * time/tst-strptime2.c (tests): Modify and add tests for the
24485         strptime %z input field descriptor, specifically conversion of
24486         minutes to seconds and validating an offset range of -9959 to
24487         +9959.
24489 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24490             Dmitry V. Levin  <ldv@altlinux.org>
24492         [BZ #18877]
24493         * posix/Makefile (tests): Add tst-mmap-offset.
24494         * posix/tst-mmap.c: New file.
24495         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
24496         offset calculation for negative values.
24498 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24500         * sysdeps/i386/init-arch.h: New file.
24501         * sysdeps/i386/i586/init-arch.h: Likewise.
24502         * sysdeps/i386/i686/init-arch.h: Likewise.
24503         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
24504         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
24505         * sysdeps/x86/cpu-features.h (bit_I586): New.
24506         (bit_I686): Likewise.
24507         (bit_CX8): Likewise.
24508         (bit_CMOV): Likewise.
24509         (index_CX8): Likewise.
24510         (index_CMOV): Likewise.
24511         (index_I586): Likewise.
24512         (index_I686): Likewise.
24513         (reg_CX8): Likewise.
24514         (reg_CMOV): Likewise.
24515         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
24516         available at compile-time.
24517         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
24518         available at compile-time.
24519         * sysdeps/x86/init-arch.h (USE_I586): New macro.
24520         (USE_I686): Likewise.
24522 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24524         * sysdeps/i386/bcopy.S: New file.
24525         * sysdeps/i386/bzero.S: Likewise.
24526         * sysdeps/i386/memcpy.S: Likewise.
24527         * sysdeps/i386/memmove.S: Likewise.
24528         * sysdeps/i386/mempcpy.S: Likewise.
24529         * sysdeps/i386/memset.S: Likewise.
24530         * sysdeps/i386/bzero.c: Removed.
24531         * sysdeps/i386/memset.c: Likewise.
24532         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
24533         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
24534         * sysdeps/i386/i586/memset_chk.S: Likewise.
24535         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
24536         * sysdeps/i386/memcpy_chk.S: Here.
24537         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
24538         * sysdeps/i386/memmove_chk.S: Here.
24539         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
24540         * sysdeps/i386/mempcpy_chk.S: Likewise.
24541         * sysdeps/i386/i686/memset_chk.S: Moved to ...
24542         * sysdeps/i386/memset_chk.S: Likewise.
24544 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
24546         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
24547         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
24548         file, move DIAG_POP_NEEDS_COMMENT to end of file.
24549         * soft-fp/fmadf4.c: Ditto.
24550         * soft-fp/fmatf4.c: Ditto.
24552 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24554         * sysdeps/i386/i586/Implies: Removed.
24555         * sysdeps/i386/i686/Implies: Likewise.
24557 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24559         * sysdeps/i386/i486/strlen.S: Moved to ...
24560         * sysdeps/i386/strlen.S: Here.
24562 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24564         * sysdeps/i386/i486/strcat.S: Moved to ...
24565         * sysdeps/i386/strcat.S: Here.
24567 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24569         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
24570         * sysdeps/i386/pthread_spin_trylock.S: Here.
24571         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
24572         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
24574 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24576         * sysdeps/i386/i486/string-inlines.c: Moved to ...
24577         * sysdeps/i386/string-inlines.c: Here.
24579 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24581         * sysdeps/i386/i486/htonl.S: Moved ...
24582         * sysdeps/i386/htonl.S: here.
24584 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24586         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
24587         * sysdeps/i386/bits/atomic.h: Here.
24589 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24591         * sysdeps/i386/i486/Versions: Removed.
24593 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
24595         [BZ #2898]
24596         * misc/mktemp.c: Add mkdtemp to the link_warning message.
24597         Based on patch by Aurelien Jarno.
24599 2015-08-26  Stan Shebs  <stanshebs@google.com>
24601         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
24602         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24604 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24606         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
24607         * sysdeps/powerpc/dl-procinfo.c:
24608         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
24609         feature so it shows when LD_SHOW_AUXV=1.
24611 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24613         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
24614         (__arch_compare_and_exchange_val_32_acq): Remove and use common
24615         definition.  ISA 2.07B no longer requires full sync.
24617 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
24619         [BZ #18863]
24620         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
24621         (si_call_addr): Define.
24622         (si_syscall): Define.
24623         (si_arch): Define.
24625 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
24627         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
24628         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
24629         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
24630         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
24631         (__memset_zero_constant_len_parameter): New.
24632         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
24633         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
24634         (__memset_zero_constant_len_parameter): Don't define if
24635         __memset_chk or USE_AS_BZERO are defined.
24637         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
24638         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
24639         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
24641         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
24642         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
24643         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
24644         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
24645         comments.
24646         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
24647         -mno-mmx for $(all-rtld-routines).
24648         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
24649         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
24650         i386.
24652 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
24654         * sysdeps/generic/unwind.h
24655         (_Unwind_Word): Use __mode__(__unwind_word__)
24656         instead of __mode__(__word__).
24657         (_Unwind_Sword): Likewise.
24659         * sysdeps/s390/s390-64/utf8-utf16-z9.c
24660         (MAX_NEEDED_INPUT): New define.
24661         (MAX_NEEDED_OUTPUT): New define.
24663         * NEWS: New item for IBM z13 string optimizations.
24665         * sysdeps/s390/multiarch/memrchr-c.c: New File.
24666         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
24667         * sysdeps/s390/multiarch/memrchr.c: Likewise.
24668         * sysdeps/s390/multiarch/Makefile
24669         (sysdep_routines): Add memrchr functions.
24670         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24671         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
24673         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
24674         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
24675         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
24676         * sysdeps/s390/multiarch/Makefile
24677         (sysdep_routines): Add wmemcmp functions.
24678         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24679         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
24680         * benchtests/bench-wmemcmp.c: New File.
24681         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
24683         * sysdeps/s390/multiarch/wmemset-c.c: New File.
24684         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
24685         * sysdeps/s390/multiarch/wmemset.c: Likewise.
24686         * sysdeps/s390/multiarch/Makefile
24687         (sysdep_routines): Add wmemset functions.
24688         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24689         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
24690         * wcsmbs/wmemset.c: Use WMEMSET if defined.
24691         * string/test-memset.c: Add wmemset support.
24692         * wcsmbs/test-wmemset.c: New File.
24693         * wcsmbs/Makefile (strop-tests): Add wmemset.
24694         * benchtests/bench-memset.c: Add wmemset support.
24695         * benchtests/bench-wmemset.c: New File.
24696         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
24698         * sysdeps/s390/multiarch/memccpy-c.c: New File.
24699         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
24700         * sysdeps/s390/multiarch/memccpy.c: Likewise.
24701         * sysdeps/s390/multiarch/Makefile
24702         (sysdep_routines): Add memccpy functions.
24703         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24704         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
24705         * string/memccpy.c: Use MEMCCPY if defined.
24707         * sysdeps/s390/multiarch/memchr-vx.S: New File.
24708         * sysdeps/s390/multiarch/memchr.c: Likewise.
24709         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
24710         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
24711         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
24712         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
24713         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
24714         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
24715         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
24716         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
24717         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
24718         and rawmemchr functions.
24719         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24720         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
24721         and wmemchr.
24722         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
24723         * string/test-memchr.c: Add wmemchr support.
24724         * wcsmbs/test-wmemchr.c: New File.
24725         * wcsmbs/Makefile (strop-tests): Add wmemchr.
24726         * benchtests/bench-memchr.c: Add wmemchr support.
24727         * benchtests/bench-wmemchr.c: New File.
24728         * benchtests/Makefile (wcsmbs-bench): wmemchr.
24730         * sysdeps/s390/multiarch/strcspn-c.c: New File.
24731         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
24732         * sysdeps/s390/multiarch/strcspn.c: Likewise.
24733         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
24734         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
24735         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
24736         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
24737         wcscspn functions.
24738         * sysdeps/s390/multiarch/ifunc-impl-list.c
24739         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
24740         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
24741         * string/test-strcspn.c: Add wcscspn support.
24742         * wcsmbs/test-wcscspn.c: New File.
24743         * wcsmbs/Makefile (strop-tests): Add wcscspn.
24744         * benchtests/bench-strcspn.c: Add wcscspn support.
24745         * benchtests/bench-wcscspn.c: New File.
24746         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
24748         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
24749         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
24750         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
24751         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
24752         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
24753         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
24754         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
24755         wcspbrk functions.
24756         * sysdeps/s390/multiarch/ifunc-impl-list.c
24757         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
24758         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
24759         * string/test-strpbrk.c: Add wcspbrk support.
24760         * wcsmbs/test-wcspbrk.c: New File.
24761         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
24762         * benchtests/bench-strpbrk.c: Add wcspbrk support.
24763         * benchtests/bench-wcspbrk.c: New File.
24764         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
24766         * sysdeps/s390/multiarch/strspn-c.c: New File.
24767         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
24768         * sysdeps/s390/multiarch/strspn.c: Likewise.
24769         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
24770         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
24771         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
24772         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
24773         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
24774         wcsspn functions.
24775         * sysdeps/s390/multiarch/ifunc-impl-list.c
24776         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
24777         * string/test-strspn.c: Add wcsspn support.
24778         * wcsmbs/test-wcsspn.c: New File.
24779         * wcsmbs/Makefile (strop-tests): Add wcsspn.
24780         * benchtests/bench-strspn.c: Add wcsspn support.
24781         * benchtests/bench-wcsspn.c: New File.
24782         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
24784         * sysdeps/s390/multiarch/strrchr-c.c: New File.
24785         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
24786         * sysdeps/s390/multiarch/strrchr.c: Likewise.
24787         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
24788         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
24789         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
24790         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
24791         wcsrchr functions.
24792         * sysdeps/s390/multiarch/ifunc-impl-list.c
24793         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
24794         * benchtests/bench-wcsrchr.c: New File.
24795         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
24797         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
24798         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
24799         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
24800         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
24801         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
24802         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
24803         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
24804         wcschrnul functions.
24805         * sysdeps/s390/multiarch/ifunc-impl-list.c
24806         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
24807         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
24808         * string/test-strchr.c: Add wcschrnul support.
24809         * wcsmbs/test-wcschrnul.c: New File.
24810         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
24811         * benchtests/bench-strchr.c: Add wcschrnul support.
24812         * benchtests/bench-wcschrnul.c: New File.
24813         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
24815         * sysdeps/s390/multiarch/strchr-c.c: New File.
24816         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
24817         * sysdeps/s390/multiarch/strchr.c: Likewise.
24818         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
24819         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
24820         * sysdeps/s390/multiarch/wcschr.c: Likewise.
24821         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
24822         wcschr functions.
24823         * sysdeps/s390/multiarch/ifunc-impl-list.c
24824         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
24825         * string/strchr.c (STRCHR): Define and use macro.
24826         * benchtests/bench-wcschr.c: New File.
24827         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
24829         * sysdeps/s390/multiarch/strncmp-c.c: New File.
24830         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
24831         * sysdeps/s390/multiarch/strncmp.c: Likewise.
24832         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
24833         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
24834         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
24835         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
24836         wcsncmp functions.
24837         * sysdeps/s390/multiarch/ifunc-impl-list.c
24838         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
24839         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
24840         * benchtests/bench-strncmp.c: Add wcsncmp support.
24841         * benchtests/bench-wcsncmp.c: New File.
24842         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
24844         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
24845         * sysdeps/s390/multiarch/strcmp.c: Likewise.
24846         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
24847         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
24848         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
24849         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
24850         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
24851         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
24852         wcscmp functions.
24853         * sysdeps/s390/multiarch/ifunc-impl-list.c
24854         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
24855         * string/strcmp.c (STRCMP): Define and use macro.
24856         * benchtests/bench-wcscmp.c: New File.
24857         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
24858         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
24859         instead of _HAVE_STRING_ARCH_memchr.
24861         * sysdeps/s390/multiarch/strncat-c.c: New File.
24862         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
24863         * sysdeps/s390/multiarch/strncat.c: Likewise.
24864         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
24865         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
24866         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
24867         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
24868         wcsncat functions.
24869         * sysdeps/s390/multiarch/ifunc-impl-list.c
24870         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
24871         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
24872         * string/test-strncat.c: Add wcsncat support.
24873         * wcsmbs/test-wcsncat.c: New File.
24874         * wcsmbs/Makefile (strop-tests): Add wcsncat.
24875         * benchtests/bench-strncat.c: Add wcsncat support.
24876         * benchtests/bench-wcsncat.c: New File.
24877         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
24879         * sysdeps/s390/multiarch/strcat-c.c: New File.
24880         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
24881         * sysdeps/s390/multiarch/strcat.c: Likewise.
24882         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
24883         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
24884         * sysdeps/s390/multiarch/wcscat.c: Likewise.
24885         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
24886         wcscat functions.
24887         * sysdeps/s390/multiarch/ifunc-impl-list.c
24888         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
24889         * string/strcat.c (STRCAT): Define and use macro.
24890         * wcsmbs/wcscat.c: Use WCSCAT if defined.
24891         * string/test-strcat.c: Add wcscat support.
24892         * wcsmbs/test-wcscat.c: New File.
24893         * wcsmbs/Makefile (strop-tests): Add wcscat.
24894         * benchtests/bench-strcat.c: Add wcscat support.
24895         * benchtests/bench-wcscat.c: New File.
24896         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
24898         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
24899         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
24900         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
24901         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
24902         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
24903         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
24904         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
24905         wcpncpy functions.
24906         * sysdeps/s390/multiarch/ifunc-impl-list.c
24907         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
24908         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
24909         * string/test-stpncpy.c: Add wcpncpy support.
24910         * wcsmbs/test-wcpncpy.c: New File.
24911         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
24912         * benchtests/bench-stpncpy.c: Add wcpncpy support.
24913         * benchtests/bench-wcpncpy.c: New File.
24914         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
24916         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
24917         * sysdeps/s390/multiarch/strncpy.c: Likewise.
24918         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
24919         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
24920         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
24921         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
24922         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
24923         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
24924         wcsncpy functions.
24925         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
24926         * sysdeps/s390/multiarch/ifunc-impl-list.c
24927         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
24928         * string/test-strncpy.c: Add wcsncpy support.
24929         * wcsmbs/test-wcsncpy.c: New File.
24930         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
24931         * benchtests/bench-strncpy.c: Add wcsncpy support.
24932         * benchtests/bench-wcsncpy.c: New File.
24933         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
24935         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
24936         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
24937         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
24938         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
24939         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
24940         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
24941         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
24942         wcpcpy functions.
24943         * string/stpcpy.c: Use STPCPY if defined.
24944         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
24945         * sysdeps/s390/multiarch/ifunc-impl-list.c
24946         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
24947         * string/test-stpcpy.c: Add wcpcpy support.
24948         * wcsmbs/test-wcpcpy.c: New File.
24949         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
24950         * benchtests/bench-stpcpy.c: Add wcpcpy support.
24951         * benchtests/bench-wcpcpy.c: New File.
24952         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
24954         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
24955         * sysdeps/s390/multiarch/strcpy.c: Likewise.
24956         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
24957         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
24958         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
24959         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
24960         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
24961         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
24962         wcscpy functions.
24963         * sysdeps/s390/multiarch/ifunc-impl-list.c
24964         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
24965         * benchtests/bench-wcscpy.c: New File.
24966         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
24968         * sysdeps/s390/multiarch/strnlen-c.c: New File.
24969         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
24970         * sysdeps/s390/multiarch/strnlen.c: Likewise.
24971         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
24972         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
24973         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
24974         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
24975         wcsnlen functions.
24976         * sysdeps/s390/multiarch/ifunc-impl-list.c
24977         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
24978         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
24979         * string/test-strnlen.c: Add wcsnlen support.
24980         * wcsmbs/test-wcsnlen.c: New File.
24981         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
24982         * benchtests/bench-strnlen.c: Add wcsnlen support.
24983         * benchtests/bench-wcsnlen.c: New File.
24984         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
24986         * sysdeps/s390/multiarch/Makefile: New File.
24987         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
24988         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
24989         * sysdeps/s390/multiarch/strlen.c: Likewise.
24990         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
24991         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
24992         * sysdeps/s390/multiarch/wcslen.c: Likewise.
24993         * string/strlen.c (STRLEN): Define and use macro.
24994         * sysdeps/s390/multiarch/ifunc-impl-list.c
24995         (IFUNC_VX_IMPL): New macro function.
24996         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
24997         * benchtests/Makefile (wcsmbs-bench): New variable.
24998         (string-bench-all): Added wcsmbs-bench.
24999         * benchtests/bench-wcslen.c: New File.
25001         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
25002         s390_vx_libc_ifunc2): New macro function.
25004         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
25005         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
25006         assembler support.
25007         * sysdeps/s390/configure: Regenerated.
25009         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
25010         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
25012         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
25013         * sysdeps/s390/dl-procinfo.h: Add vector capability.
25014         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
25016         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
25017         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
25018         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
25019         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
25020         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
25021         (memcmp, bcmp): Use __memcmp_default as alias source.
25022         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
25023         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
25024         Rename to __memcmp_default.
25025         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
25026         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
25027         (memcpy): Use __memcpy_default as alias source.
25028         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
25029         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
25030         Rename to __memcpy_default.
25031         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
25032         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
25033         (memset): Use __memset_default as alias source.
25034         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
25035         * sysdeps/s390/s390-32/memset.S (__memset_g5):
25036         Rename to __memset_default.
25037         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
25038         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
25039         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
25040         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
25041         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
25042         (memcmp, bcmp): Use __memcmp_default as alias source.
25043         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
25044         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
25045         Rename to __memcmp_default.
25046         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
25047         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
25048         (memcpy): Use __memcpy_default as alias source.
25049         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
25050         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
25051         Rename to __memcpy_default.
25052         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
25053         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
25054         (memset): Use __memset_default as alias source.
25055         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
25056         * sysdeps/s390/s390-64/memset.S (__memset_z900):
25057         Rename to __memset_default.
25058         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
25059         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
25061         [BZ #18610]
25062         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
25063         __ieee_instruction_pointer to __unused.
25064         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
25065         __ieee_instruction_pointer.
25066         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
25067         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
25068         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
25069         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25070         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
25071         Mark dxc-field as reserved.
25073 2015-08-25  Roland McGrath  <roland@hack.frob.com>
25075         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
25076         if the weak reference is not null.
25078 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25080         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
25082         [BZ #11214]
25083         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
25085 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25087         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
25088         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
25089         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
25090         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
25091         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
25092         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
25093         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
25094         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
25095         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
25096         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
25097         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
25098         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
25099         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
25100         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
25101         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
25102         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
25103         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
25104         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
25106 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25108         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
25109         register other than r0 for tabort, it has special meaning.
25110         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
25111         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
25112         transaction before starting syscall.
25114 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25116         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
25118 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25120         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
25122         * sysdeps/x86_64/rtld-memcmp.c: Removed.
25123         * sysdeps/x86_64/rtld-memset.S: Likewise.
25124         * sysdeps/x86_64/rtld-strchr.S: Likewise.
25125         * sysdeps/x86_64/rtld-strlen.S: Likewise.
25126         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
25127         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
25129         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
25131 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
25133         * debug/strcpy_chk.c: Improve performance.
25134         * debug/stpcpy_chk.c: Likewise.
25135         * sysdeps/x86_64/strcpy_chk.S: Remove.
25136         * sysdeps/x86_64/stpcpy_chk.S: Remove.
25138         [BZ #18240]
25139         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
25141 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25143         [BZ #15128]
25144         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
25145         ifuncmain8.
25146         (modules-names): Add ifuncmod8.
25147         ($(objpfx)ifuncmain8): New rule.
25148         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
25149         <cpuid.h>.
25150         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
25151         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
25152         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
25153         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
25154         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
25155         * sysdeps/x86_64/dl-trampoline.h: Likewise.
25156         * sysdeps/x86_64/ifuncmain8.c: New file.
25157         * sysdeps/x86_64/ifuncmod8.c: Likewise.
25158         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
25159         Removed.
25160         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
25161         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
25162         Change rtld_savespace_sse to __glibc_unused2.
25163         (RTLD_CHECK_FOREIGN_CALL): Removed.
25164         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
25165         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
25166         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
25168 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
25170         * sysdeps/aarch64/bzero.S (__bzero): Remove.
25172 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
25174         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
25175         Unconditionally set __fpcr to avoid uninialized warning.
25176         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
25178 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25180         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
25181         is corrupt.
25183         * malloc/arena.c (arena_get2): Drop unused argument.
25184         (arena_lock): Adjust.
25185         (arena_get_retry): Likewise.
25187 2015-08-24  Andreas Schwab  <schwab@suse.de>
25189         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
25190         Don't define.
25191         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
25192         (__ASSUME_IPC64): Don't undef.
25193         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
25194         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25195         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25196         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
25197         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
25198         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
25199         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
25200         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
25201         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
25202         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
25203         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
25204         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
25205         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
25206         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
25207         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
25208         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
25209         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
25210         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
25211         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
25212         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
25213         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
25215 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
25217         * manual/Makefile (install): Only build manual when perl is available.
25219 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25221         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
25222         '#undef memcpy' by '#undef memchr'.
25224 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25226         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
25227         memchr not point to the internal __GI_memchr implementation.
25229 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
25231         * timezone/Makefile (CFLAGS-zdump.c): Remove
25232         -Wno-strict-prototypes.
25233         (CFLAGS-zic.c): Likewise.
25234         (CFLAGS-ialloc.c): Likewise.
25235         (CFLAGS-scheck.c): Likewise.
25237         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
25238         -Wno-error=undef.
25240 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
25242         * i386/i686/multiarch/strcasestr-c.c: Removed.
25243         * x86_64/multiarch/strcasestr.c: Likewise.
25244         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25245         Remove strcasestr.
25247 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
25249         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
25251         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
25252         variables for high and low parts before possibly modifying them.
25254 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
25256         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
25257         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
25258         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
25259         of "multiarch/init-arch.h".
25260         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
25261         * sysdeps/x86/init-arch.h: This.
25263 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
25265         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
25266         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
25268 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
25270         [BZ #17787]
25271         * manual/macros.texi: Add twoexp macro.
25272         * manual/filesys.texi: Fix exponents.
25273         * manual/llio.texi: Likewise.
25274         * manual/stdio.texi: Likewise.
25276 2015-08-20  Florian Weimer  <fweimer@redhat.com>
25278         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
25279         incorrect use.
25281 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
25283         [BZ #18370]
25284         * math/s_csqrt.c (__csqrt): Force underflow exception for results
25285         whose real or imaginary part has small absolute value.
25286         * math/s_csqrtf.c (__csqrtf): Likewise.
25287         * math/s_csqrtl.c (__csqrtl): Likewise.
25288         * math/auto-libm-test-in: Add more tests of csqrt.
25289         * math/auto-libm-test-out: Regenerated.
25290         * sysdeps/i386/fpu/libm-test-ulps: Update.
25292 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
25294         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
25295         __ppc_set_ppr_very_low): New functions.
25296         * manual/platform.texi: Add documentation about
25297         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
25299 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
25301         * string/stpncpy.c (stpncpy): Improve performance using
25302         __strnlen/memcpy/memset.
25304 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
25306         [BZ #18796]
25307         * scripts/test-installation.pl: Don't add -lmvec to build options if
25308         libmvec wasn't built.
25310 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
25312         [BZ #14341]
25313         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
25314         case when there is a gap between DT_REL and DT_JMPREL sections.
25315         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
25316         (LDFLAGS-tst-split-dynreloc): New.
25317         (tst-split-dynreloc-ENV): Likewise.
25318         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
25319         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
25321 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25323         [BZ #18822]
25324         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
25325         attribute_hidden.
25326         (__xstat64_conv): Likewise.
25327         (__xstat32_conv): Likewise.
25329 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25331         [BZ #18822]
25332         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
25333         Don't load %ebx when calling __setcontext.  Call __setcontext
25334         with HIDDEN_JUMPTARGET.
25335         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
25336         libc_hidden_def.
25338 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25340         * sysdeps/i386/i686/Makefile
25341         [$(subdir) == string] (sysdep_routines): Moved to ...
25342         * sysdeps/i386/Makefile: Here.
25343         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
25344         * sysdeps/i386/cacheinfo.c: Here.
25345         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
25346         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
25347         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
25348         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
25350 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25352         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
25353         __i586__ is defined.
25354         (HAS_I686): Defined to 1 if __i686__ is defined.
25356 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
25358         * elf/Makefile [$(have-z-execstack) = yes]
25359         (CPPFLAGS-tst-execstack.c): New variable.
25361         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
25362         conditional to [defined UTMPX || _HAVE_UT_TYPE].
25363         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
25364         UTMPX || _HAVE_UT_TV].
25365         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
25366         UTMPX || _HAVE_UT_TV - 0].
25368 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
25370         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
25371         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
25372         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
25374 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25376         * sysdeps/powerpc/dl-procinfo.c:
25377         (_dl_powerpc_cap_flags): Added missing strings for some
25378         hwcap features.
25379         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
25381 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
25383         Port the 0x7efe...feff pattern to GCC 6.
25384         See Steve Ellcey's bug report in:
25385         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
25386         * string/memrchr.c (MEMRCHR):
25387         * string/rawmemchr.c (RAWMEMCHR):
25388         * string/strchr.c (strchr):
25389         * string/strchrnul.c (STRCHRNUL):
25390         Rewrite code to avoid issues with signed shift overflow.
25392 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
25394         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
25395         whether cpuid is available only if HAS_CPUID is 0.
25396         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
25397         (HAS_I586): Likewise.
25398         (HAS_I686): Likewise.
25400 2015-08-18  Zack Weinberg  <zackw@panix.com>
25402         * misc/Versions (libc): Add GLIBC_2.23.
25404 2015-08-18  Alan Modra  <amodra@gmail.com>
25406         [BZ #18421]
25407         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
25408         .Lp__global.
25409         (_start): Load %dp via .Lp__global.
25410         [!SHARED]: Use .section .rodata.
25412 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25414         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
25415         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
25417 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25419         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
25420         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
25422 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25424         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
25425         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
25427 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25429         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
25430         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
25432 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25434         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
25435         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
25437 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25439         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
25440         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
25442 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25444         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
25446 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25448         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
25449         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
25450         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25451         (__ASSUME_LWS_CAS): Delete.
25453 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25455         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
25456         * sysdeps/hppa/configure: Regenerated.
25457         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
25458         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
25459         * sysdeps/hppa/nptl/tls.h: Likewise.
25461 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
25463         [BZ #18823]
25464         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
25465         for scaling up small arguments.
25466         * math/s_csqrtf.c (__csqrtf): Likewise.
25467         * math/s_csqrtl.c (__csqrtl): Likewise.
25468         * math/auto-libm-test-in: Add more tests of csqrt.
25469         * math/auto-libm-test-out: Regenerated.
25471 2015-08-17  Andreas Schwab  <schwab@suse.de>
25473         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
25474         version set GLIBC_2.19.
25476 2015-08-16  Zack Weinberg  <zackw@panix.com>
25478         [BZ #18681]
25479         * misc/regexp.h: This interface is no longer supported.
25480         Remove all contents, leaving only an #error directive.
25481         * misc/regexp.c (loc1, loc2, locs, step, advance):
25482         Demote to compatibility symbols.
25484 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
25486         [BZ #18084]
25487         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
25488         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
25489         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
25490         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
25491         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
25492         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
25493         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
25494         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
25495         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
25497 2015-08-15  Zack Weinberg  <zackw@panix.com>
25499         [BZ #18795]
25500         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
25501         buffer length is known to be too large, not if it's known to be
25502         small enough.
25503         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
25504         overflow at runtime, involving a length parameter, twice: once
25505         with a compile-time constant length parameter, once without.
25507 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
25509         [BZ #18824]
25510         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
25511         scaling x * y up instead of down.
25512         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25513         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25514         * math/auto-libm-test-in: Add more tests of fma.
25515         * math/auto-libm-test-out: Regenerated.
25517 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
25519         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25521 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25523         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
25524         unnecessary movq.
25525         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
25526         Likewise.
25528 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
25530         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25531         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
25532         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
25533         and tgamma.
25534         * math/auto-libm-test-out: Regenerated.
25535         * sysdeps/i386/fpu/libm-test-ulps: Update.
25536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25538         [BZ #16520]
25539         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
25540         (__tanh): Force underflow exception for arguments with small
25541         absolute value.
25542         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
25543         (__tanhf): Force underflow exception for arguments with small
25544         absolute value.
25545         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
25546         (__tanhl): Force underflow exception for arguments with small
25547         absolute value.
25548         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
25549         (__tanhl): Force underflow exception for arguments with small
25550         absolute value.
25551         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
25552         (__tanhl): Force underflow exception for arguments with small
25553         absolute value.
25554         * math/auto-libm-test-in: Add more tests of tanh.
25555         * math/auto-libm-test-out: Regenerated.
25556         * sysdeps/i386/fpu/libm-test-ulps: Update.
25558 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25560         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
25561         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
25563 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25565         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
25566         <cpuid.h>.
25568 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25570         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
25571         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
25573 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25575         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
25576         Remove $(objpfx)init-arch.o.
25577         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
25578         init-arch.
25579         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
25580         (INIT_ARCH_EXT): Defined as empty.
25581         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
25582         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
25583         __init_cpu_features call.  Replace HAS_XXX with
25584         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25585         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
25586         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
25587         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
25588         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
25589         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
25590         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
25591         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
25592         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
25593         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
25594         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
25595         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
25596         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
25597         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
25598         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
25599         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
25600         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
25601         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
25602         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
25603         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
25604         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
25605         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
25606         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
25607         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
25608         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
25609         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
25610         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
25611         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
25612         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
25613         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
25614         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
25615         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
25616         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
25617         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
25618         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
25619         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
25621 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25623         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
25624         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25625         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
25626         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
25627         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
25628         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
25629         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
25630         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
25631         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
25632         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
25633         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
25634         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
25635         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25636         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25637         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25638         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25639         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25640         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25641         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25642         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25643         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25644         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25645         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25646         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25647         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25648         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25649         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25650         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25651         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25652         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25653         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25654         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25655         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25656         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25657         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25658         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25659         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25660         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25661         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25662         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25663         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25664         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25665         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25667 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25669         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
25670         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25671         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25672         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25673         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25674         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
25675         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25676         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
25677         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25678         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25679         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25680         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
25681         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
25682         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
25683         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
25684         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
25685         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
25686         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
25687         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
25688         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
25689         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
25690         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
25691         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
25692         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25693         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25694         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
25695         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
25696         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
25697         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25698         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25699         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25700         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25701         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25702         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25703         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25704         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25705         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25706         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25707         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25708         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25709         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25710         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25711         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25713 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25715         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
25716         (dl_platform_init): Call init_cpu_features.
25717         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
25718         * sysdeps/i386/i686/cacheinfo.c
25719         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
25720         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
25721         * sysdeps/i386/i686/multiarch/Versions: Removed.
25722         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
25723         Removed.
25724         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
25725         * sysdeps/unix/sysv/linux/x86/Makefile
25726         (libpthread-sysdep_routines): Remove init-arch.
25727         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
25728         <sysdeps/x86_64/dl-procinfo.c> instead of
25729         sysdeps/generic/dl-procinfo.c>.
25730         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
25731         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
25732         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
25733         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
25734         [$(subdir) == elf] (tests-static): Add
25735         tst-get-cpu-features-static.
25736         * sysdeps/x86/Versions: New file.
25737         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
25738         * sysdeps/x86/cpu-features.c: Likewise.
25739         * sysdeps/x86/cpu-features.h: Likewise.
25740         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
25741         * sysdeps/x86/libc-start.c: Likewise.
25742         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
25743         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
25744         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
25745         * sysdeps/x86_64/dl-procinfo.c: Likewise.
25746         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
25747         Assume USE_MULTIARCH is defined and don't check it.
25748         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
25749         (is_amd): Likewise.
25750         (max_cpuid): Likewise.
25751         (intel_check_word): Likewise.
25752         (__cache_sysconf): Don't call __init_cpu_features.
25753         (__x86_preferred_memory_instruction): Removed.
25754         (init_cacheinfo): Don't call __init_cpu_features. Replace
25755         __cpu_features with GLRO(dl_x86_cpu_features).
25756         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
25757         (dl_platform_init): Call init_cpu_features.
25758         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
25759         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
25760         * sysdeps/x86_64/multiarch/Versions: Removed.
25761         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
25762         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
25763         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
25764         Removed.
25765         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
25767 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
25769         [BZ #18820]
25770         * libio/Makefile (test-fmemopen-mem): New test.
25771         * libio/test-fmemopen.c (do_bz18820): New test.
25772         * libio/fmemopen.c (__fmemopen): Fix memory leak.
25773         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
25775 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
25777         [BZ #16734]
25778         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
25779         (FREE_BUF): Delete.
25780         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
25781         * libio/genops.c (_IO_setb): Use malloc and free directly.
25782         (_IO_default_doallocate, _IO_default_finish): Likewise.
25783         ( _IO_unbuffer_all): Likewise.
25784         ( libc_freeres_fn): Likewise.
25785         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25786         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
25787         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
25788         (_IO_wdefault_doallocate): Likewise.
25790 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
25792         [BZ #18086]
25793         * sysdeps/posix/nice.c (nice): Restore old errno.
25794         * posix/tst-nice.c (do_test): Add test for BZ #18086.
25796 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
25798         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
25800 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25802         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
25803         __bcopy and add a weak_alias to bcopy.
25804         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
25805         for static build.
25807         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
25808         cleanup macro usage.
25809         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
25810         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
25811         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
25812         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
25813         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
25814         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
25815         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
25816         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
25817         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
25818         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
25819         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25820         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
25821         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25822         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
25823         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25824         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
25825         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
25826         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
25827         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
25829         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
25830         libc_hidden_def.
25831         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
25833         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
25834         (sysdep_routines): Add strstr-ppc64.
25835         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
25837 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
25839         [BZ #18778]
25840         * elf/Makefile (tests): Add Add tst-nodelete2.
25841         (modules-names): Add tst-nodelete2mod.
25842         (tst-nodelete2mod.so-no-z-defs): New.
25843         ($(objpfx)tst-nodelete2): Likewise.
25844         ($(objpfx)tst-nodelete2.out): Likewise.
25845         (LDFLAGS-tst-nodelete2): Likewise.
25846         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
25847         out of loop through all loaded libraries.
25848         * elf/tst-nodelete2.c: New file.
25849         * elf/tst-nodelete2mod.c: Likewise.
25850         * elf/tst-znodelete-zlib.cc: Delete.
25852 2015-08-11  Andreas Schwab  <schwab@suse.de>
25854         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
25855         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
25856         (__openat64_nocancel): Likewise.
25858 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
25860         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
25861         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
25862         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
25863         * math/auto-libm-test-out: Regenerated.
25864         * sysdeps/i386/fpu/libm-test-ulps: Update.
25865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25867 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
25869         [BZ #18790]
25870         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
25871         threshold for returning +/- 1.
25872         * math/auto-libm-test-in: Add more tests of tanh.
25873         * math/auto-libm-test-out: Regenerated.
25874         * sysdeps/i386/fpu/libm-test-ulps: Update.
25876 2015-08-10  Andreas Schwab  <schwab@suse.de>
25878         [BZ #18781]
25879         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
25880         MORE_OFLAGS to oflag.
25881         * io/test-lfs.c (do_test): Test openat64.
25883 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
25885         [BZ #18789]
25886         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
25887         smaller threshold for returning the argument.
25888         * math/auto-libm-test-in: Add more tests of sinh.
25889         * math/auto-libm-test-out: Regenerated.
25890         * sysdeps/i386/fpu/libm-test-ulps: Update.
25892 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
25894         [BZ #18674]
25895         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
25896         break.
25898 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
25900         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
25901         (generated): Don't add $(addprefix z.,$(tzfiles)).
25903 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
25905         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
25906         * scripts/sysd-rules.awk: Likewise.
25908 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
25910         * iconvdata/tst-tables.sh: Change echo -n to printf.
25911         * nss/db-Makefile: Likewise.
25912         * posix/tst-getconf.sh: Likewise.
25913         * stdio-common/tst-unbputc.sh: Likewise.
25915 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
25917         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
25918         MADV_*_PAGES defines behind this feature check.
25920 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
25922         [BZ #18480]
25923         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
25924         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
25925         Define.
25926         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
25927         LOAD_REGS_5, LOAD_REGS_6): Update.
25928         (INTERNAL_SYSCALL): Update using new LOAD defines.
25929         (INTERNAL_SYSCALL_NCS): Likewise.
25930         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
25932 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25934         [BZ #16734]
25935         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
25937 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25939         [BZ #17905]
25940         * catgets/Makefile (tst-catgets-mem): New test.
25941         * catgets/catgets.c (catopen): Don't use unbounded alloca.
25942         * catgets/open_catalog.c (__open_catalog): Likewise.
25943         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
25945 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
25947         [BZ #18787]
25948         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
25949         clobber registers.
25950         (atomic_compare_and_exchange_val_acq): Use register asms to assign
25951         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
25952         Cast return to __typeof (oldval).
25954 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
25956         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
25957         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
25958         and delete sys/syscall.h include.
25960 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
25962         [BZ #16517]
25963         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
25964         (tan): Force underflow exception for arguments with small absolute
25965         value.
25966         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
25967         (__kernel_tanf): Force underflow exception for arguments with
25968         small absolute value.
25969         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
25970         (__kernel_tanl): Force underflow exception for arguments with
25971         small absolute value.
25972         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
25973         (__kernel_tanl): Force underflow exception for arguments with
25974         small absolute value.
25975         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
25976         (__kernel_tanl): Force underflow exception for arguments with
25977         small absolute value.
25978         * math/auto-libm-test-in: Add more tests of tan.
25979         * math/auto-libm-test-out: Regenerated.
25981 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25983         Fix sysdeps/i386/fpu/s_scalbn.S build
25985         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
25987 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
25989         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
25991 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25993         Fix gcrt0.o compilation
25995         When static-start-installed-name is different from
25996         start-installed-name, we must not use the shared objects.
25998         * csu/Makefile
25999         (extra-objs): Add gmon-start.o when building shared library and
26000         $(static-start-installed-name) is different from
26001         $(start-installed-name).
26002         $(objpfx)g$(static-start-installed-name): When building shared
26003         library and $(static-start-installed-name) is different from
26004         $(static-start-installed-name), revert to non-shared rule,
26005         i.e. using $(objpfx)% and gmon-start.o.
26007 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
26009         [BZ #16519]
26010         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
26011         (__ieee754_sinh): Force underflow exception for arguments with
26012         small absolute value.
26013         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
26014         (__ieee754_sinhf): Force underflow exception for arguments with
26015         small absolute value.
26016         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
26017         (__ieee754_sinhl): Force underflow exception for arguments with
26018         small absolute value.
26019         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
26020         (__ieee754_sinhl): Force underflow exception for arguments with
26021         small absolute value.
26022         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
26023         (__ieee754_sinhl): Force underflow exception for arguments with
26024         small absolute value.
26025         * math/auto-libm-test-in: Add more tests of sinh.
26026         * math/auto-libm-test-out: Regenerated.
26027         * sysdeps/i386/fpu/libm-test-ulps: Update.
26029 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26031         * libio/oldfileops.c: Include unistd.h.
26033 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
26035         * stdlib/isomac.c: Include ctype.h.
26037 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
26039         * dirent/tst-seekdir.c (main): Converted to ...
26040         (do_test): ... this.
26041         (TEST_FUNCTION): New macro.
26042         Include test-skeleton.c.
26043         * elf/tst-dlmodcount.c (main): Converted to ...
26044         (do_test): ... this.
26045         (TEST_FUNCTION): New macro.
26046         Include test-skeleton.c.
26047         * elf/tst-order-main.c (main): Converted to ...
26048         (do_test): ... this.
26049         (TEST_FUNCTION): New macro.
26050         Include test-skeleton.c.
26051         * elf/tst-pie2.c (main): Converted to ...
26052         (do_test): ... this.
26053         (TEST_FUNCTION): New macro.
26054         Include test-skeleton.c.
26055         * inet/tst-ether_aton.c (main): Converted to ...
26056         (do_test): ... this.
26057         (TEST_FUNCTION): New macro.
26058         Include test-skeleton.c.
26059         * misc/tst-mntent.c (main): Converted to ...
26060         (do_test): ... this.
26061         (TEST_FUNCTION): New macro.
26062         Include test-skeleton.c.
26063         * misc/tst-tsearch.c (main): Converted to ...
26064         (do_test): ... this.
26065         (TEST_FUNCTION): New macro.
26066         Include test-skeleton.c.
26067         * posix/tst-regexloc.c (main): Converted to ...
26068         (do_test): ... this.
26069         (TEST_FUNCTION): New macro.
26070         Include test-skeleton.c.
26071         * resolv/tst-aton.c (main): Converted to ...
26072         (do_test): ... this.
26073         (TEST_FUNCTION): New macro.
26074         Include test-skeleton.c.
26075         * stdio-common/test-fwrite.c (main): Converted to ...
26076         (do_test): ... this.
26077         (TEST_FUNCTION): New macro.
26078         Include test-skeleton.c.
26079         * stdio-common/tst-ferror.c (main): Converted to ...
26080         (do_test): ... this.
26081         (TEST_FUNCTION): New macro.
26082         Include test-skeleton.c.
26083         * stdio-common/tst-printf.c (main): Converted to ...
26084         (do_test): ... this.
26085         (TEST_FUNCTION): New macro.
26086         Include test-skeleton.c.
26087         * stdio-common/tst-printfsz.c (main): Converted to ...
26088         (do_test): ... this.
26089         (TEST_FUNCTION): New macro.
26090         Include test-skeleton.c.
26091         * stdlib/tst-strtod.c (main): Converted to ...
26092         (do_test): ... this.
26093         (TEST_FUNCTION): New macro.
26094         Include test-skeleton.c.
26095         * string/tst-strlen.c (main): Converted to ...
26096         (do_test): ... this.
26097         (TEST_FUNCTION): New macro.
26098         Include test-skeleton.c.
26099         * string/tst-svc.c (main): Converted to ...
26100         (do_test): ... this.
26101         (TEST_FUNCTION): New macro.
26102         Include test-skeleton.c.
26103         * time/tst-strptime.c (main): Converted to ...
26104         (do_test): ... this.
26105         (TEST_FUNCTION): New macro.
26106         Include test-skeleton.c.
26107         * timezone/tst-timezone.c (main): Converted to ...
26108         (do_test): ... this.
26109         (TEST_FUNCTION): New macro.
26110         Include test-skeleton.c.
26112 2015-08-05  Zack Weinberg  <zackw@panix.com>
26114         * misc/regexp.h: Update comments.
26116 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
26118         [BZ #18635]
26119         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
26120         before return label.
26122 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26124         [BZ #18661]
26125         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
26126         when calling __errno_location.
26127         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
26128         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
26130 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26132         [BZ #18661]
26133         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
26134         (__lll_timedwait_tid): Align stack to 16 bytes when calling
26135         __gettimeofday.
26137 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26139         [BZ #18661]
26140         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26141         (__start_context): Don't use pop to restore %rdi so that stack
26142         is aligned to 16 bytes when calling __setcontext.
26144 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26146         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
26147         only for libc.
26148         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
26150 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26152         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
26153         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
26154         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
26156 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26158         * string/memccpy.c (memccpy):
26159         Improve performance by using memchr/memcpy/__mempcpy.
26161 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26163         * string/strncpy.c (strncpy):
26164         Improve performance by using __strnlen/memcpy.
26166 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26168         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26169         Optimize to avoid an unnecessary FPCR read.
26171 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26173         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
26174         Optimize to reduce FPCR/FPSR accesses.
26176 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26178         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
26179         dead->data[category] != NULL.
26181 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
26183         [BZ #18647]
26184         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
26185         and |x| close to 1, use absolute value of x when computing log.
26186         * math/auto-libm-test-in: Add more tests of pow.
26187         * math/auto-libm-test-out: Regenerated.
26189 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26191         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
26192         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
26193         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
26195 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
26197         [BZ #18525]
26198         * locales/km_KH: Remove timezone definition.
26199         * locales/lo_LA: Likewise.
26200         * locales/my_MM: Likewise.
26201         * locales/nan_TW@latin: Likewise.
26202         * locales/th_TH: Likewise.
26203         * locales/uk_UA: Likewise.
26205 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
26207         [BZ #18265]
26208         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
26209         (wcsncat): Likewise.
26210         (wcscmp): Likewise.
26211         (wcsncmp): Likewise.
26213 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
26215         * test-skeleton.c (usage): New function.
26216         (main): Call usage when opt is '?'.
26218 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
26220         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
26221         before first use.
26223 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
26225         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
26226         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
26227         in there too.
26229 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
26231         * version.h (RELEASE): Set to "development".
26232         (VERSION): Set to "2.22.90"
26234         * version.h (RELEASE): Set to "stable".
26235         (VERSION): Set to "2.22"
26236         * include/features.h (__GLIBC_MINOR__): Set to 22.
26238 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
26240         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
26241         Restructure macro to avoid "value computed is not used" warning.
26242         (atomic_compare_and_exchange_val_acq): Likewise.
26244 2015-08-04  Andreas Schwab  <schwab@suse.de>
26246         [BZ #18635]
26247         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
26248         ret.
26249         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
26251 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
26253         * po/pl.po: Updated translation.
26254         * po/uk.po: Likewise.
26255         * po/fi.po: Likewise.
26256         * po/ko.po: Likewise.
26257         * po/ru.po: Likewise.
26258         * po/vi.po: Likewise.
26260 2015-07-31  Zack Weinberg  <zackw@panix.com>
26262         [BZ #18681]
26263         * regexp.h: Add unconditional #warning stating that this header
26264         will be removed soon.  Revise banner comment to match.
26265         (compile): Consistently use ERROR instead of RETURN to report
26266         errors (partial fix for bz#18681).
26267         * regexp.c: Don't include regexp.h. Remove some unnecessary
26268         declarations.
26270 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
26272         * po/libc.pot: Regenerated.
26274 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26276         [BZ #18740]
26277         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
26278         float-vlen4-arch-ext-cflags): Removed.
26279         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
26280         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
26282 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26284         [BZ #14113]
26285         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
26286         aligned to __aligned__.
26287         (pthread_cond_t, pthread_rwlock_t): Likewise.
26289 2015-07-30  Torvald Riegel  <triegel@redhat.com>
26291         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
26293 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26295         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
26296         (struct sigaction): Change sa_flags from a long to an int, and add
26297         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
26299 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26301         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
26302         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
26303         sysdeps/generic/sysdep.h include.
26304         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
26305         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
26306         sysdeps/hppa/sysdep.h.
26307         (ENTRY, PSEUDO): Undefine before defining.
26309 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26311         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
26312         from scratch to use INTERNAL_SYSCALL.
26314 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
26316         [BZ #18078]
26317         * scripts/check-localplt.awk: Support alternate relocations.
26318         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
26319         sections.
26320         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
26321         malloc entries with + REL R_386_GLOB_DAT.
26322         * sysdeps/x86_64/localplt.data: New file.
26324 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
26326         [BZ #18731]
26327         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
26328         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26329         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26331 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26333         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
26335 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26337         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
26338         directly in terms of __sync_fetch_and_add and delete (int) cast.
26340 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26342         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
26343         the -D_ASM_IA64_CURRENT_H flag.
26345 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26347         [BZ #18641]
26348         * pwd/pwd.h (putpwent): Delete __nonnull markings.
26350 2015-07-27  Andreas Schwab  <schwab@suse.de>
26352         * conform/conformtest.pl (checknamespace): Filter out string
26353         literals while tokenizing.
26355 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
26357         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
26358         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
26359         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
26361 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
26363         * nptl/tst-join7mod.c: Add #include <string.h>.
26365 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
26367         * sysdeps/nios2/libm-test-ulps: Update.
26369 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
26371         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
26372         Fix order of arguments to the rt_sigprocmask syscall.
26373         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
26374         Likewise.
26376 2015-07-24  Roland McGrath  <roland@hack.frob.com>
26378         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
26380 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26382         [BZ #18457]
26383         * nptl/Makefile (tests): New test case tst-join7.
26384         (modules-names): New test case module tst-join7mod.
26385         * nptl/tst-join7.c: New file.
26386         * nptl/tst-join7mod.c: New file.
26387         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
26388         all translation units in libc.so, libpthread.so and rtld.
26390 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26392         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26394 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
26396         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
26397         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
26398         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
26399         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
26400         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
26401         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
26402         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
26403         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
26404         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
26405         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
26406         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
26407         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
26408         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
26409         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
26410         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
26411         implementation.
26413 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26415         [BZ #17711]
26416         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
26417         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
26418         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
26419         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
26420         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
26421         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
26423 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26425         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
26426         instead of just saying load lock in the comments.
26428 2015-07-23  Roland McGrath  <roland@hack.frob.com>
26430         * sysdeps/unix/Subdirs: Moved ...
26431         * sysdeps/posix/Subdirs: ... here.
26432         * login/pty.h (struct termios, struct winsize): Add forward decls.
26433         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
26434         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
26435         * sysdeps/arm/nacl/libc.abilist: Updated.
26436         * sysdeps/nacl/libutil.abilist: New file.
26438         * bits/signum.h: Update comments to mention 1003.1-2013 too.
26439         (SIGWINCH): New macro.
26441         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
26442         * sysdeps/arm/nacl/libc.abilist: Add it.
26444 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
26446         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
26448 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
26450         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
26451         Swap __glibc_reserved0 and sa_flags order.
26453 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26455         [BZ #18657]
26456         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
26457         are pending TLS destructor calls.
26458         * include/link.h (struct link_map): Add concurrency note for
26459         L_TLS_DTOR_COUNT.
26460         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26461         Don't touch the link map flag.  Atomically increment
26462         l_tls_dtor_count.
26463         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
26464         Avoid taking the load lock and don't touch the link map flag.
26465         * stdlib/tst-tls-atexit-nodelete.c: New test case.
26466         * stdlib/Makefile (tests): Use it.
26467         * stdlib/tst-tls-atexit.c (do_test): dlopen
26468         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
26469         to allow tst-tls-atexit-nodelete test case to use it.
26471 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26473         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
26474         to bits/types.h.
26475         (msgqnum_t): New typedef.
26476         (msglen_t): Likewise.
26477         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
26478         and msg_qbytes type to msglen_t.
26480 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26482         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
26483         pad0 to __glibc_reserved0.
26484         (struct stat64): Likewise.
26486 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26488         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
26489         Change sa_flags from a long to an int and add __glibc_reserved0 before
26490         it for padding.
26492 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26494         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
26495         anonymous by deleting "siginfo" name.
26497 2015-07-21  Roland McGrath  <roland@hack.frob.com>
26499         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
26500         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
26501         rather than __nacl_irt_filename.
26502         * sysdeps/nacl/xstat.c (__xstat): Likewise.
26504         * NEWS: New item for arm-nacl port.
26505         * sysdeps/arm/nacl/libc.abilist: New file.
26506         * sysdeps/nacl/ld.abilist: New file.
26507         * sysdeps/nacl/libBrokenLocale.abilist: New file.
26508         * sysdeps/nacl/libanl.abilist: New file.
26509         * sysdeps/nacl/libcrypt.abilist: New file.
26510         * sysdeps/nacl/libdl.abilist: New file.
26511         * sysdeps/nacl/libm.abilist: New file.
26512         * sysdeps/nacl/libpthread.abilist: New file.
26513         * sysdeps/nacl/libresolv.abilist: New file.
26514         * sysdeps/nacl/librt.abilist: New file.
26516 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
26518         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
26519         __startcontext to initialize the new context.
26520         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
26521         up CFI directive to forbid further backtracing.
26523 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
26525         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
26526         reference.
26527         * charmaps/ANSI_X3.4-1968: Likewise.
26528         * charmaps/BS_4730: Likewise.
26529         * charmaps/BS_VIEWDATA: Likewise.
26530         * charmaps/CP1250: Likewise.
26531         * charmaps/CP1251: Likewise.
26532         * charmaps/CP1252: Likewise.
26533         * charmaps/CP1253: Likewise.
26534         * charmaps/CP1254: Likewise.
26535         * charmaps/CP1255: Likewise.
26536         * charmaps/CP1256: Likewise.
26537         * charmaps/CSN_369103: Likewise.
26538         * charmaps/EBCDIC-DK-NO: Likewise.
26539         * charmaps/GB_1988-80: Likewise.
26540         * charmaps/GREEK-CCITT: Likewise.
26541         * charmaps/GREEK7: Likewise.
26542         * charmaps/INIS-8: Likewise.
26543         * charmaps/ISIRI-3342: Likewise.
26544         * charmaps/ISO_2033-1983: Likewise.
26545         * charmaps/ISO_5427-EXT: Likewise.
26546         * locales/POSIX: Likewise.
26547         * locales/ar_SA: Likewise.
26548         * locales/be_BY: Likewise.
26549         * locales/be_BY@latin: Likewise.
26550         * locales/ca_ES: Likewise.
26551         * locales/cs_CZ: Likewise.
26552         * locales/da_DK: Likewise.
26553         * locales/de_BE: Likewise.
26554         * locales/de_CH: Likewise.
26555         * locales/de_LU: Likewise.
26556         * locales/en_AU: Likewise.
26557         * locales/en_BW: Likewise.
26558         * locales/en_CA: Likewise.
26559         * locales/en_DK: Likewise.
26560         * locales/en_GB: Likewise.
26561         * locales/en_IE: Likewise.
26562         * locales/en_NZ: Likewise.
26563         * locales/en_ZA: Likewise.
26564         * locales/en_ZW: Likewise.
26565         * locales/es_AR: Likewise.
26566         * locales/es_BO: Likewise.
26567         * locales/es_CL: Likewise.
26568         * locales/es_CO: Likewise.
26569         * locales/es_DO: Likewise.
26570         * locales/es_EC: Likewise.
26571         * locales/es_ES: Likewise.
26572         * locales/es_HN: Likewise.
26573         * locales/es_MX: Likewise.
26574         * locales/es_PA: Likewise.
26575         * locales/es_PE: Likewise.
26576         * locales/es_PY: Likewise.
26577         * locales/es_SV: Likewise.
26578         * locales/es_US: Likewise.
26579         * locales/es_UY: Likewise.
26580         * locales/es_VE: Likewise.
26581         * locales/et_EE: Likewise.
26582         * locales/fa_IR: Likewise.
26583         * locales/fo_FO: Likewise.
26584         * locales/fr_CA: Likewise.
26585         * locales/fr_CH: Likewise.
26586         * locales/gv_GB: Likewise.
26587         * locales/he_IL: Likewise.
26588         * locales/hr_HR: Likewise.
26589         * locales/id_ID: Likewise.
26590         * locales/is_IS: Likewise.
26591         * locales/it_CH: Likewise.
26592         * locales/iw_IL: Likewise.
26593         * locales/kl_GL: Likewise.
26594         * locales/ko_KR: Likewise.
26595         * locales/kw_GB: Likewise.
26596         * locales/lg_UG: Likewise.
26597         * locales/lt_LT: Likewise.
26598         * locales/lv_LV: Likewise.
26599         * locales/mi_NZ: Likewise.
26600         * locales/nhn_MX: Likewise.
26601         * locales/nl_BE: Likewise.
26602         * locales/pl_PL: Likewise.
26603         * locales/sk_SK: Likewise.
26604         * locales/sl_SI: Likewise.
26605         * locales/sv_FI: Likewise.
26606         * locales/tl_PH: Likewise.
26607         * locales/tr_TR: Likewise.
26608         * locales/vi_VN: Likewise.
26610 2015-07-21  Khem Raj  <raj.khem@gmail.com>
26612         [BZ #17475]
26613         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
26614         of tu_IN and bh_IN.
26616 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
26618         [BZ #18694]
26619         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
26620         bits/wordsize.h.
26621         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
26623 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26625         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
26626         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
26627         (spawn_thread): New function.
26628         (load): Rename to reg_dtor_and_close.  Move dlopen to...
26629         (do_test): ... here.  Use IS_LOADED to test for its
26630         availability.
26632 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
26634         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
26636 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
26638         [BZ #18696]
26639         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
26640         si_addr_bnd.
26641         (si_lower): New.
26642         (si_upper): Likewise.
26644 2015-07-16  David S. Miller  <davem@davemloft.net>
26646         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
26648 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26650         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
26651         buffer.
26652         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
26653         fail output information.
26655 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26657         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
26658         and strstr-ppc64..
26659         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26660         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
26661         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
26662         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
26663         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
26665 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
26667         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
26668         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
26669         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
26670         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
26672 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
26674         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
26675         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
26676         rtld_hidden_proto.
26677         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
26679 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26681         * tst-nodelete-opened.c (do_test): Add comment to clarify how
26682         the test can fail.
26684         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
26686         [BZ #18676]
26687         * elf/tst-nodelete-opened.c: New test case.
26688         * elf/tst-nodelete-opened-lib.c: New test case module.
26689         * elf/Makefile (tests, modules-names): Use them.
26690         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
26691         early.
26693 2015-07-15  David S. Miller  <davem@davemloft.net>
26695         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
26696         futex-intenal.h
26697         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
26698         * sysdeps/sparc/sparc64/Makefile: Likewise.
26699         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
26700         Remove space from macro define.
26701         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
26703 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
26705         [BZ #17475]
26706         * locale/iso-639.def: Update Bhili and Tulu language codes as
26707         per iso639-3.
26709 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
26711         * elf/tst-leaks1.c (main): Converted to ...
26712         (do_test): ... this.
26713         (TEST_FUNCTION): New macro.
26714         Include test-skeleton.c.
26715         * localedata/tst-langinfo.c (main): Converted to ...
26716         (do_test): ... this.
26717         (TEST_FUNCTION): New macro.
26718         Include test-skeleton.c.
26719         * math/test-fpucw.c (main): Converted to ...
26720         (do_test): ... this.
26721         (TEST_FUNCTION): New macro.
26722         Include test-skeleton.c.
26723         * math/test-tgmath.c (main): Converted to ...
26724         (do_test): ... this.
26725         (TEST_FUNCTION): New macro.
26726         Include test-skeleton.c.
26727         * math/test-tgmath2.c (main): Converted to ...
26728         (do_test): ... this.
26729         (TEST_FUNCTION): New macro.
26730         Include test-skeleton.c.
26731         * setjmp/tst-setjmp.c (main): Converted to ...
26732         (do_test): ... this.
26733         (TEST_FUNCTION): New macro.
26734         Include test-skeleton.c.
26735         * stdio-common/tst-sscanf.c (main): Converted to ...
26736         (do_test): ... this.
26737         (TEST_FUNCTION): New macro.
26738         Include test-skeleton.c.
26739         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
26740         (do_test): ... this.
26741         (TEST_FUNCTION): New macro.
26742         Include test-skeleton.c.
26744         * elf/tst-audit9.c (main): Converted to ...
26745         (do_test): ... this.
26746         (TEST_FUNCTION): New macro.
26747         Include test-skeleton.c.
26749 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
26751         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
26753 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
26755         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
26756         New variable.
26758 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
26760         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26762 2015-07-14  Roland McGrath  <roland@hack.frob.com>
26764         * sysdeps/generic/dl-fileid.h: New file.
26765         * sysdeps/posix/dl-fileid.h: New file.
26766         * sysdeps/nacl/dl-fileid.h: New file.
26767         * include/link.h: Include <dl-fileid.h>.
26768         (struct link_map): Replace l_dev and l_ino with l_file_id.
26769         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
26770         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
26771         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
26773 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26775         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
26777 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26779         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
26780         Add iff $CXX is set.
26781         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
26782         Likewise.
26783         (tst-nodelete-zmodiff): Likewise.
26784         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
26786 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26788         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
26790 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
26792         * sysdeps/aarch64/fpu/math_private.h
26793         (define math_opt_barrier): Add AArch64 version.
26794         (math_force_eval): Likewise.
26796 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
26798         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
26800 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
26802         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
26803         %ld with %jd and cast to intmax_t.
26804         (do_test_length_zero): Likewise.
26806 2015-07-10  Roland McGrath  <roland@hack.frob.com>
26808         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
26810 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
26812         * sysdeps/tile/libm-test-ulps: Regenerated.
26814         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
26815         Comment out the whole function, not just its body.
26817 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26819         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
26820         locks.
26822         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
26824 2015-07-10  Torvald Riegel  <triegel@redhat.com>
26826         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
26827         (sem_assume_only_signals_cause_futex_EINTR): Remove.
26829 2015-07-10  Torvald Riegel  <triegel@redhat.com>
26831         * sysdeps/nptl/futex-internal.h: New file.
26832         * sysdeps/nacl/futex-internal.h: New file.
26833         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
26834         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
26835         error checking.
26836         (setxid_unmark_thread): Likewise.
26837         (__nptl_setxid): Likewise.
26838         (__wait_lookup_done): Likewise.
26839         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
26840         * nptl/nptl-init.c (sighandler_setxid): Likewise.
26841         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
26842         * nptl/pthread_once.c (clear_once_control): Likewise.
26843         (__pthread_once_slow): Likewise.
26844         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
26845         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
26846         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
26847         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
26848         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
26849         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
26850         Likewise.
26851         (__pthread_rwlock_rdlock): Likewise.
26852         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26853         Likewise.
26854         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26855         Likewise.
26856         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
26857         Likewise.
26858         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
26859         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
26860         Likewise.
26861         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
26862         __ASSUME_PRIVATE_FUTEX check.
26863         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
26864         Check that shared futexes are supported.
26865         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
26866         wrappers with error checking.
26867         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
26868         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
26869         * nptl/pthread_barrierattr_setpshared.c
26870         (pthread_barrierattr_setpshared): Check that shared futexes are
26871         supported.
26872         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
26873         Likewise.
26874         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
26875         Likewise.
26876         * nptl/sem_init.c (futex_private_if_supported): Remove.
26877         (__new_sem_init): Adapt and check that shared futexes are supported.
26878         * nptl/sem_open.c (sem_open): Likewise.
26879         * nptl/sem_post.c (futex_wake): Remove.
26880         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
26881         (do_futex_wait): Use futex wrappers with error checking.
26882         * nptl/sem_wait.c: Include lowlevellock.h.
26883         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
26884         Use futex_supports_pshared.
26885         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
26886         Use futex wrappers with error checking.
26887         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
26888         Likewise.
26889         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
26890         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
26891         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
26892         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
26893         (futex_wake): Likewise.
26894         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
26895         (do_futex_wait): Use futex wrappers with error checking.
26896         (__new_sem_wait_slow): Update EINTR handling.
26897         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
26899 2015-07-09  Martin Sebor  <msebor@redhat.com>
26901         [BZ #18435]
26902         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
26903         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
26904         * nptl/Makefile (test-xfail-tst-once5): Define.
26906 2015-07-09  Roland McGrath  <roland@hack.frob.com>
26908         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
26909         * elf/dl-minimal.c: For readability, reorder some definitions and
26910         introduce more page breaks.  Include <stdio.h>.
26911         (__libc_fatal): New function.
26913         * include/unistd.h: Add rtld_hidden_proto for _exit.
26914         * posix/_exit.c: Add rtld_hidden_def.
26915         * sysdeps/mach/hurd/_exit.c: Likewise.
26916         * sysdeps/nacl/_exit.c: Likewise.
26917         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
26918         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
26920 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
26922         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
26923         bndmov encoding with zero displacement.
26925 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
26926             H.J. Lu  <hongjiu.lu@intel.com>
26928         [BZ #18134]
26929         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
26930         * sysdeps/i386/configure: Regenerated.
26931         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
26932         (_dl_runtime_profile): Save and restore Intel MPX return bound
26933         registers when calling _dl_call_pltexit.  Add
26934         PRESERVE_BND_REGS_PREFIX before return.
26935         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
26936         (LRV_BND1_OFFSET): Likewise.
26937         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
26938         lrv_bnd1.
26939         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
26940         typo in bndmov encoding.
26941         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
26942         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
26943         branch instructions to preserve bounds.
26945 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
26948         [GLIBC_2.22]: Add fmemopen.
26950 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26952         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
26953         returns an error, also try to use host port from __mach_host_self for
26954         the __vm_wire call.
26955         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
26957 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26959         [BZ #18400]
26960         [BZ #18648]
26961         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
26962         Fix pr_uid and pr_gid members.
26963         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
26964         definition to elf_greg_t.
26966 2015-07-08  Roland McGrath  <roland@hack.frob.com>
26968         [BZ #18383]
26969         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
26970         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
26971         * sysdeps/arm/configure: Regenerated.
26972         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
26973         (test-xfail-tst-tlsalign-static): Variable removed.
26975         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
26976         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
26977         rather than explicit 'ln -s'.
26979         * resolv/rpc/netdb.h: New file.
26980         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
26982 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26984         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
26985         length buffers.
26986         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
26987         test-skeleton.c.
26989         [BZ #6544]
26990         [BZ #11216]
26991         [BZ #12836]
26992         [BZ #13151]
26993         [BZ #13152]
26994         [BZ #14292]
26995         * include/stdio.h (fmemopen): Remove hidden prototype.
26996         (__fmemopen): Add new hidden prototype.
26997         * libio/Makefile: Add oldfmemopen object.
26998         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
26999         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
27000         compliance.
27001         * libio/oldfmemopen.c: New file: old fmemopen implementation for
27002         symbol compatibility.
27003         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
27004         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
27005         fmemopen.
27006         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
27007         on append and read mode.
27008         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
27009         fmemopen.
27010         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
27011         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
27012         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
27013         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
27014         Likewise.
27015         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
27016         [GLIBC_2.22]: Likewise.
27017         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
27018         Likewise.
27019         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
27020         Likewise.
27021         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
27022         [GLIBC_2.22]: Likewise.
27023         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
27024         [GLIBC_2.22]: Likewise.
27025         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
27026         [GLIBC_2.22]: Likewise.
27027         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
27028         [GLIBC_2.22]: Likewise.
27029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
27030         [GLIBC_2.22]: Likewise.
27031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
27032         [GLIBC_2.22]: Likewise.
27033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
27034         [GLIBC_2.22]: Likewise.
27035         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
27036         Likewise.
27037         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
27038         Likewise.
27039         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
27040         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
27041         [GLIBC_2.22]: Likewise.
27042         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
27043         [GLIBC_2.22]: Likewise.
27044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
27045         [GLIBC_2.22]: Likewise.
27046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
27047         [GLIBC_2.22]: Likewise.
27048         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
27049         Likewise.
27050         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
27051         Likewise.
27052         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
27053         Likewise.
27054         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
27055         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
27057 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
27059         [BZ #18643]
27060         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
27061         IPV6_PATHMTU, and IPV6_DONTFRAG.
27063 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
27065         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
27066         and _IO_UNBUFFERED.
27067         * libio/oldfileops.c: Likewise.
27068         * libio/wfileops.c: Likewise.
27070 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
27072         * nscd/selinux.c: Delete selinux/flask.h include.
27074 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
27076         [BZ #18641]
27077         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
27078         (putpwent): Likewise.
27079         (getpwnam): Likewise.
27080         (getpwent_r): Likewise.
27081         (getpwuid_r): Likewise.
27082         (getpwnam_r): Likewise.
27083         (fgetpwent_r): Likewise.
27085 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
27087         [BZ #18557]
27088         * inet/rcmd.c (__validuser2_sa): Check user first to
27089         short-circuit host check.
27091 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
27092             Mikhail Ilin  <m.ilin@samsung.com>
27094         [BZ #17833]
27095         * elf/Makefile (tests): Add tst-nodelete.
27096         (modules-names): Add tst-nodelete-uniquemod.
27097         (tst-nodelete-uniquemod.so-no-z-defs): New.
27098         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
27099         (tst-nodelete-zmod.so-no-z-defs): Likewise.
27100         ($(objpfx)tst-nodelete): Likewise.
27101         ($(objpfx)tst-nodelete.out): Likewise.
27102         (LDFLAGS-tst-nodelete): Likewise.
27103         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
27104         * elf/dl-close.c (_dl_close_worker): Add a parameter to
27105         implement forced object deletion.
27106         (_dl_close): Pass false to _dl_close_worker.
27107         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
27108         * elf/tst-nodelete.cc: New file.
27109         * elf/tst-nodeletelib.cc: Likewise.
27110         * elf/tst-znodeletelib.cc: Likewise.
27111         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
27113 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
27115         [BZ #18508]
27116         * stdlib/Makefile ($(objpfx)tst-makecontext3):
27117         Depend on $(libdl).
27118         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
27119         is not called infinitely times.
27120         (backtrace_helper): New function.
27121         (trace_arg): New struct.
27122         (st1): Enlarge stack size.
27123         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27124         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
27125         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27126         Likewise.
27128 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
27130         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27132 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
27134         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
27135         Include sys/types.h instead of bits/types.h.
27136         Remove inclusion of bits/wordsize.h.
27138 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
27140         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
27141         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
27142         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
27143         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
27144         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
27145         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
27147 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
27149         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
27150         link-defines.sym.
27151         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
27152         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
27153         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
27154         and LR_SIZE.
27155         * sysdeps/i386/link-defines.sym: New file.
27157 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
27159         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
27160         (modules-names): Add tst-auditmod3a tst-auditmod3b.
27161         ($(objpfx)tst-audit3): New rule.
27162         ($(objpfx)tst-audit3.out): Likewise.
27163         * sysdeps/i386/tst-audit3.c: New file.
27164         * sysdeps/i386/tst-audit3.h: Likewise.
27165         * sysdeps/i386/tst-auditmod3a.c: Likewise.
27166         * sysdeps/i386/tst-auditmod3b.c: Likewise.
27168 2015-07-07  Torvald Riegel  <triegel@redhat.com>
27170         [BZ #18633]
27171         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
27172         pointer in C code.
27173         (__strcat_c): Likewise.
27174         (__strcat_g): Likewise.
27176 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
27178         [BZ #18592]
27179         * misc/sbrk.c: Set errno to ENOMEM on overflow.
27181 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
27183         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
27184         New function.  (__ieee754_sqrtf): New function.
27185         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
27186         New function.
27187         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
27188         New function.
27190 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
27192         * sysdeps/ieee754/support.c: Remove unused file.
27194 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27196         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
27197         registers instead of d ones so the layout is kernel abi compatible.
27198         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
27199         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
27200         Likewise.
27202 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27204         * sysdeps/aarch64/libm-test-ulps: Regenerated.
27206 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
27208         [BZ #18619]
27209         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
27210         and return argument in case of subnormal argument.
27212 2015-07-01  Martin Sebor  <msebor@redhat.com>
27214         [BZ #18435]
27215         * nptl/Makefile: Add tst-once5.cc.
27216         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
27217         Remove macro redefinitions.
27218         * nptl/tst-once5.cc: New test.
27220 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
27222         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27224         * sysdeps/arm/libm-test-ulps: Regenerated.
27226         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
27227         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27229 2015-06-30  Torvald Riegel  <triegel@redhat.com>
27231         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
27232         lll_lock_wait_private and lll_futex_wake probes.
27234         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
27235         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
27236         Likewise.
27237         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
27238         atomic_spin_nop.
27239         * sysdeps/x86_64/bits/atomic.h: Likewise.
27240         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
27241         to atomic_spin_nop and move ...
27242         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
27243         ... here and ...
27244         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
27245         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
27246         atomic_spin_nop instead of BUSY_WAIT_NOP.
27247         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
27248         Likewise.
27249         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
27250         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
27251         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
27252         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
27253         instead of atomic_delay.
27255 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
27257         [BZ #18613]
27258         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
27259         X_ADJ not X when adjusting exponent.
27260         (__ieee754_gamma_r): Do intermediate computations in
27261         round-to-nearest then adjust overflowing and underflowing results
27262         as needed.
27263         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
27264         of X_ADJ not X when adjusting exponent.
27265         (__ieee754_gammaf_r): Do intermediate computations in
27266         round-to-nearest then adjust overflowing and underflowing results
27267         as needed.
27268         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
27269         log of X_ADJ not X when adjusting exponent.
27270         (__ieee754_gammal_r): Do intermediate computations in
27271         round-to-nearest then adjust overflowing and underflowing results
27272         as needed.  Use 1.0L not 1.0f as numerator of division.
27273         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
27274         log of X_ADJ not X when adjusting exponent.
27275         (__ieee754_gammal_r): Do intermediate computations in
27276         round-to-nearest then adjust overflowing and underflowing results
27277         as needed.  Use 1.0L not 1.0f as numerator of division.
27278         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
27279         of X_ADJ not X when adjusting exponent.
27280         (__ieee754_gammal_r): Do intermediate computations in
27281         round-to-nearest then adjust overflowing and underflowing results
27282         as needed.  Use 1.0L not 1.0f as numerator of division.
27283         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
27284         to auto-libm-test-in.
27285         (tgamma_test): Use ALL_RM_TEST.
27286         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
27287         tests of tgamma with spurious-overflow.
27288         * math/auto-libm-test-out: Regenerated.
27289         * math/gen-libm-have-vector-test.sh: Do not check for START.
27290         * sysdeps/i386/fpu/libm-test-ulps: Update.
27291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27293         [BZ #18612]
27294         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
27295         arguments, just return 0.5 times the argument, with underflow
27296         forced as needed.
27297         * math/auto-libm-test-in: Add more tests of j1.
27298         * math/auto-libm-test-out: Regenerated.
27300         [BZ #16559]
27301         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
27302         (__ieee754_j1): Force underflow exception for small results.
27303         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27304         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
27305         (__ieee754_j1f): Force underflow exception for small results.
27306         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27307         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27308         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27309         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
27310         (__ieee754_j1l): Force underflow exception for small results.
27311         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27312         * math/auto-libm-test-in: Add more tests of j1 and jn.
27313         * math/auto-libm-test-out: Regenerated.
27315         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
27316         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
27317         (PF_MPLS): Likewise.
27318         (AF_IB): Likewise.
27319         (AF_MPLS): Likewise.
27320         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
27321         value and macro.
27322         (MS_RMT_MASK): Include MS_LAZYTIME.
27324 2015-06-26  Mel Gorman  <mgorman@suse.de>
27326         [BZ #18502]
27327         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
27328         already minimal.
27330 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
27332         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
27333         (DT_MIPS_NUM): Update.
27334         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
27335         DT_MIPS_RLD_MAP_REL.
27337 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
27339         [BZ #16559]
27340         [BZ #18602]
27341         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
27342         round-to-nearest internally then recompute results that
27343         underflowed to zero in the original rounding mode.
27344         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27345         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27346         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27347         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27348         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
27349         * sysdeps/i386/fpu/libm-test-ulps: Update.
27350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27352 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
27354         * NEWS: Fixed description of link with vector math library.
27356 2015-06-25  Andreas Schwab  <schwab@suse.de>
27358         [BZ #18549]
27359         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
27360         * libio/test-fmemopen.c (do_test): Add test for it.
27362 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
27364         [BZ #17841]
27365         * Makeconfig (no-pie-ldflag): New.
27366         (+link): Set to $(+link-pie) if default to PIE.
27367         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
27368         * config.make.in (build-pie-default): New.
27369         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
27370         is default.  AC_SUBST.
27371         * configure: Regenerated.
27372         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
27374 2015-06-24  Roland McGrath  <roland@hack.frob.com>
27376         * nptl/descr.h (struct pthread): Change type of field setxid_futex
27377         to 'unsigned int'.
27379         * resolv/gai_misc.h (struct waitlist): Change type of field
27380         counterp to 'volatile unsigned int *'.
27381         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
27382         FUTEXADDR and OLDVAL.
27383         * resolv/getaddrinfo_a.c (getaddrinfo_a):
27384         Give local variable TOTAL type 'volatile unsigned int'.
27385         (struct async_waitlist): Change type of field counter to 'unsigned int'.
27386         * resolv/gai_suspend.c (gai_suspend):
27387         Give local variable CNTR type 'unsigned int'.
27389         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
27390         counterp to 'volatile unsigned int *'.
27391         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
27392         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
27393         (aio_suspend): Give local variable CNTR type 'unsigned int'.
27394         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
27395         Give local variable TOTAL type 'volatile unsigned int'.
27396         (struct async_waitlist): Change type of field counter to 'unsigned int'.
27398 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
27400         [BZ #18383]
27401         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
27402         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
27403         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
27404         comment for i386/x86-64.
27405         (test-xfail-tst-tlsalign-extern-static): Removed.
27407 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
27409         * math/test-double.h: New file.
27410         * math/test-float.h: Likewise.
27411         * math/test-ldouble.h: Likewise.
27412         * math/test-math-inline.h: Likewise.
27413         * math/test-math-no-inline.h: Likewise.
27414         * math/test-math-scalar.h: Likewise.
27415         * math/test-math-vector.h: Likewise.
27416         * math/test-vec-loop.h: Remove file.  Contents moved into
27417         test-math-vector.h.
27418         * math/libm-test.inc (MATHCONST): Do not document macro.
27419         * math/test-double.c: Include test-double.h, test-math-no-inline.h
27420         and test-math-scalar.h.
27421         (FUNC): Remove macro.
27422         (FUNC_TEST): Likewise.
27423         (FLOAT): Likewise.
27424         (MATHCONST): Likewise.
27425         (PRINTF_EXPR): Likewise.
27426         (PRINTF_XEXPR): Likewise.
27427         (PRINTF_NEXPR): Likewise.
27428         (TEST_DOUBLE): Likewise.
27429         (TEST_MATHVEC): Likewise.
27430         (__NO_MATH_INLINES): Likewise.
27431         * math/test-float.c: Include test-float.h, test-math-no-inline.h
27432         and test-math-scalar.h.
27433         (FUNC): Remove macro.
27434         (FUNC_TEST): Likewise.
27435         (FLOAT): Likewise.
27436         (MATHCONST): Likewise.
27437         (PRINTF_EXPR): Likewise.
27438         (PRINTF_XEXPR): Likewise.
27439         (PRINTF_NEXPR): Likewise.
27440         (TEST_FLOAT): Likewise.
27441         (TEST_MATHVEC): Likewise.
27442         (__NO_MATH_INLINES): Likewise.
27443         * math/test-idouble.c: Include test-double.h, test-math-inline.h
27444         and test-math-scalar.h.
27445         (FUNC): Remove macro.
27446         (FUNC_TEST): Likewise.
27447         (FLOAT): Likewise.
27448         (MATHCONST): Likewise.
27449         (PRINTF_EXPR): Likewise.
27450         (PRINTF_XEXPR): Likewise.
27451         (PRINTF_NEXPR): Likewise.
27452         (TEST_DOUBLE): Likewise.
27453         (TEST_MATHVEC): Likewise.
27454         (TEST_INLINE): Likewise.
27455         (__NO_MATH_INLINES): Likewise.
27456         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
27457         test-math-scalar.h.
27458         (FUNC): Remove macro.
27459         (FUNC_TEST): Likewise.
27460         (FLOAT): Likewise.
27461         (MATHCONST): Likewise.
27462         (PRINTF_EXPR): Likewise.
27463         (PRINTF_XEXPR): Likewise.
27464         (PRINTF_NEXPR): Likewise.
27465         (TEST_FLOAT): Likewise.
27466         (TEST_MATHVEC): Likewise.
27467         (TEST_INLINE): Likewise.
27468         (__NO_MATH_INLINES): Likewise.
27469         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
27470         and test-math-scalar.h.
27471         (FUNC): Remove macro.
27472         (FUNC_TEST): Likewise.
27473         (FLOAT): Likewise.
27474         (MATHCONST): Likewise.
27475         (PRINTF_EXPR): Likewise.
27476         (PRINTF_XEXPR): Likewise.
27477         (PRINTF_NEXPR): Likewise.
27478         (TEST_LDOUBLE): Likewise.
27479         (TEST_MATHVEC): Likewise.
27480         (TEST_INLINE): Likewise.
27481         (__NO_MATH_INLINES): Likewise.
27482         * math/test-ldouble.c: Include test-ldouble.h,
27483         test-math-no-inline.h and test-math-scalar.h.
27484         (FUNC): Remove macro.
27485         (FUNC_TEST): Likewise.
27486         (FLOAT): Likewise.
27487         (MATHCONST): Likewise.
27488         (PRINTF_EXPR): Likewise.
27489         (PRINTF_XEXPR): Likewise.
27490         (PRINTF_NEXPR): Likewise.
27491         (TEST_LDOUBLE): Likewise.
27492         (TEST_MATHVEC): Likewise.
27493         (__NO_MATH_INLINES): Likewise.
27494         * math/test-double-vlen2.h: Include test-double.h,
27495         test-math-no-inline.h and test-math-vector.h.
27496         (FLOAT): Remove macro.
27497         (FUNC): Likewise.
27498         (MATHCONST): Likewise.
27499         (PRINTF_EXPR): Likewise.
27500         (PRINTF_XEXPR): Likewise.
27501         (PRINTF_NEXPR): Likewise.
27502         (TEST_DOUBLE): Likewise.
27503         (TEST_MATHVEC): Likewise.
27504         (__NO_MATH_INLINES): Likewise.
27505         (CNCT): Likewise.
27506         (CONCAT): Likewise.
27507         (WRAPPER_NAME): Likewise.
27508         (WRAPPER_DECL): Likewise.
27509         (WRAPPER_DECL_ff): Likewise.
27510         (WRAPPER_DECL_fFF): Likewise.
27511         (VECTOR_WRAPPER): Likewise.
27512         (VECTOR_WRAPPER_ff): Likewise.
27513         (VECTOR_WRAPPER_fFF): Likewise.
27514         (VEC_LEN): New macro.
27515         * math/test-double-vlen4.h: Include test-double.h,
27516         test-math-no-inline.h and test-math-vector.h.
27517         (FLOAT): Remove macro.
27518         (FUNC): Likewise.
27519         (MATHCONST): Likewise.
27520         (PRINTF_EXPR): Likewise.
27521         (PRINTF_XEXPR): Likewise.
27522         (PRINTF_NEXPR): Likewise.
27523         (TEST_DOUBLE): Likewise.
27524         (TEST_MATHVEC): Likewise.
27525         (__NO_MATH_INLINES): Likewise.
27526         (CNCT): Likewise.
27527         (CONCAT): Likewise.
27528         (WRAPPER_NAME): Likewise.
27529         (WRAPPER_DECL): Likewise.
27530         (WRAPPER_DECL_ff): Likewise.
27531         (WRAPPER_DECL_fFF): Likewise.
27532         (VECTOR_WRAPPER): Likewise.
27533         (VECTOR_WRAPPER_ff): Likewise.
27534         (VECTOR_WRAPPER_fFF): Likewise.
27535         (VEC_LEN): New macro.
27536         * math/test-double-vlen8.h: Include test-double.h,
27537         test-math-no-inline.h and test-math-vector.h.
27538         (FLOAT): Remove macro.
27539         (FUNC): Likewise.
27540         (MATHCONST): Likewise.
27541         (PRINTF_EXPR): Likewise.
27542         (PRINTF_XEXPR): Likewise.
27543         (PRINTF_NEXPR): Likewise.
27544         (TEST_DOUBLE): Likewise.
27545         (TEST_MATHVEC): Likewise.
27546         (__NO_MATH_INLINES): Likewise.
27547         (CNCT): Likewise.
27548         (CONCAT): Likewise.
27549         (WRAPPER_NAME): Likewise.
27550         (WRAPPER_DECL): Likewise.
27551         (WRAPPER_DECL_ff): Likewise.
27552         (WRAPPER_DECL_fFF): Likewise.
27553         (VECTOR_WRAPPER): Likewise.
27554         (VECTOR_WRAPPER_ff): Likewise.
27555         (VECTOR_WRAPPER_fFF): Likewise.
27556         (VEC_LEN): New macro.
27557         * math/test-float-vlen4.h: Include test-float.h,
27558         test-math-no-inline.h and test-math-vector.h.
27559         (FLOAT): Remove macro.
27560         (FUNC): Likewise.
27561         (MATHCONST): Likewise.
27562         (PRINTF_EXPR): Likewise.
27563         (PRINTF_XEXPR): Likewise.
27564         (PRINTF_NEXPR): Likewise.
27565         (TEST_FLOAT): Likewise.
27566         (TEST_MATHVEC): Likewise.
27567         (__NO_MATH_INLINES): Likewise.
27568         (CNCT): Likewise.
27569         (CONCAT): Likewise.
27570         (WRAPPER_NAME): Likewise.
27571         (WRAPPER_DECL): Likewise.
27572         (WRAPPER_DECL_ff): Likewise.
27573         (WRAPPER_DECL_fFF): Likewise.
27574         (VECTOR_WRAPPER): Likewise.
27575         (VECTOR_WRAPPER_ff): Likewise.
27576         (VECTOR_WRAPPER_fFF): Likewise.
27577         (VEC_LEN): New macro.
27578         * math/test-float-vlen8.h: Include test-float.h,
27579         test-math-no-inline.h and test-math-vector.h.
27580         (FLOAT): Remove macro.
27581         (FUNC): Likewise.
27582         (MATHCONST): Likewise.
27583         (PRINTF_EXPR): Likewise.
27584         (PRINTF_XEXPR): Likewise.
27585         (PRINTF_NEXPR): Likewise.
27586         (TEST_FLOAT): Likewise.
27587         (TEST_MATHVEC): Likewise.
27588         (__NO_MATH_INLINES): Likewise.
27589         (CNCT): Likewise.
27590         (CONCAT): Likewise.
27591         (WRAPPER_NAME): Likewise.
27592         (WRAPPER_DECL): Likewise.
27593         (WRAPPER_DECL_ff): Likewise.
27594         (WRAPPER_DECL_fFF): Likewise.
27595         (VECTOR_WRAPPER): Likewise.
27596         (VECTOR_WRAPPER_ff): Likewise.
27597         (VECTOR_WRAPPER_fFF): Likewise.
27598         (VEC_LEN): New macro.
27599         * math/test-float-vlen16.h: Include test-float.h,
27600         test-math-no-inline.h and test-math-vector.h.
27601         (FLOAT): Remove macro.
27602         (FUNC): Likewise.
27603         (MATHCONST): Likewise.
27604         (PRINTF_EXPR): Likewise.
27605         (PRINTF_XEXPR): Likewise.
27606         (PRINTF_NEXPR): Likewise.
27607         (TEST_FLOAT): Likewise.
27608         (TEST_MATHVEC): Likewise.
27609         (__NO_MATH_INLINES): Likewise.
27610         (CNCT): Likewise.
27611         (CONCAT): Likewise.
27612         (WRAPPER_NAME): Likewise.
27613         (WRAPPER_DECL): Likewise.
27614         (WRAPPER_DECL_ff): Likewise.
27615         (WRAPPER_DECL_fFF): Likewise.
27616         (VECTOR_WRAPPER): Likewise.
27617         (VECTOR_WRAPPER_ff): Likewise.
27618         (VECTOR_WRAPPER_fFF): Likewise.
27619         (VEC_LEN): New macro.
27620         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
27621         test-vec-loop.h.
27622         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27623         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27624         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27625         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27626         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27627         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27628         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
27630 2015-06-24  Roland McGrath  <roland@hack.frob.com>
27632         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
27633         (__getlogin_r): ... this.
27635 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
27637         [BZ #18594]
27638         * math/s_ccosh.c (__ccosh): Compare with least normal value
27639         instead of comparing class with FP_SUBNORMAL.
27640         * math/s_ccoshf.c (__ccoshf): Likewise.
27641         * math/s_ccoshl.c (__ccoshl): Likewise.
27642         * math/s_cexp.c (__cexp): Likewise.
27643         * math/s_cexpf.c (__cexpf): Likewise.
27644         * math/s_cexpl.c (__cexpl): Likewise.
27645         * math/s_csin.c (__csin): Likewise.
27646         * math/s_csinf.c (__csinf): Likewise.
27647         * math/s_csinh.c (__csinh): Likewise.
27648         * math/s_csinhf.c (__csinhf): Likewise.
27649         * math/s_csinhl.c (__csinhl): Likewise.
27650         * math/s_csinl.c (__csinl): Likewise.
27651         * math/s_ctan.c (__ctan): Likewise.
27652         * math/s_ctanf.c (__ctanf): Likewise.
27653         * math/s_ctanh.c (__ctanh): Likewise.
27654         * math/s_ctanhf.c (__ctanhf): Likewise.
27655         * math/s_ctanhl.c (__ctanhl): Likewise.
27656         * math/s_ctanl.c (__ctanl): Likewise.
27657         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
27658         csin, csinh, ctan and ctanh.
27659         * math/auto-libm-test-out: Regenerated.
27660         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
27661         * sysdeps/i386/fpu/libm-test-ulps: Update.
27662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27664 2015-06-24  Roland McGrath  <roland@hack.frob.com>
27666         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
27667         return value is wrong, print the expected value too.
27669 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
27671         [BZ #18585]
27672         * elf/readlib.c (is_gdb_python_file): New.
27673         (process_file): Don't issue errors on filenames with -gdb.py
27674         suffix.
27676 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
27678         * math/auto-libm-test-in: Add more tests of csin and csinh.
27679         * math/auto-libm-test-out: Regenerated.
27680         * math/libm-test.inc (csin_test_data): Remove tests moved to
27681         auto-libm-test-in.
27682         (csinh_test_data): Likewise.
27684         [BZ #18593]
27685         * math/s_csin.c (__csin): Negate before rather than after possibly
27686         overflowing multiplication.
27687         * math/s_csinf.c (__csinf): Likewise.
27688         * math/s_csinh.c (__csinh): Likewise.
27689         * math/s_csinhf.c (__csinhf): Likewise.
27690         * math/s_csinhl.c (__csinhl): Likewise.
27691         * math/s_csinl.c (__csinl): Likewise.
27692         * math/auto-libm-test-in: Add some tests of csin and csinh.
27693         * math/auto-libm-test-out: Regenerated.
27694         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
27695         (csinh_test_data): Likewise.
27696         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27698         [BZ #18586]
27699         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
27700         underflow exception for small results.
27702 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
27704         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
27705         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
27706         variable and included header.
27707         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
27708         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
27709         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
27710         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
27711         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
27712         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
27713         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
27714         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
27715         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
27716         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
27717         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
27718         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
27719         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
27720         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
27721         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
27722         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
27724 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
27726         [BZ #16526]
27727         [BZ #16538]
27728         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
27729         (__sin): Force underflow exception for arguments with small
27730         absolute value.
27731         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
27732         (__kernel_sinf): Force underflow exception for arguments with
27733         small absolute value.
27734         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
27735         (__kernel_sincosl): Force underflow exception for arguments with
27736         small absolute value.
27737         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
27738         (__kernel_sinl): Force underflow exception for arguments with
27739         small absolute value.
27740         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
27741         (__kernel_sincosl): Force underflow exception for arguments with
27742         small absolute value.
27743         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
27744         (__kernel_sinl): Force underflow exception for arguments with
27745         small absolute value.
27746         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
27747         (__kernel_sinl): Force underflow exception for arguments with
27748         small absolute value.
27749         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
27750         (__kernel_sinf): Force underflow exception for arguments with
27751         small absolute value.
27752         * math/auto-libm-test-in: Add more tests of sin and sincos.
27753         * math/auto-libm-test-out: Regenerated.
27755         [BZ #18245]
27756         [BZ #18583]
27757         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
27758         (__kernel_standard_l): Use feholdexcept and fesetenv around
27759         conversion to double instead of special-casing overflow and
27760         underflow.
27761         * math/libm-test.inc (fmod_test_data): Add more tests.
27762         (remainder_test_data): Likewise.
27763         (sqrt_test_data): Likewise.
27765 2015-06-23  Torvald Riegel  <triegel@redhat.com>
27767         [BZ #17403]
27768         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
27769         atomic_read_barrier, atomic_write_barrier): Define.
27770         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
27771         atomic_read_barrier, atomic_write_barrier): Define.
27773 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
27775         * math/Makefile [$(PERL) != no]
27776         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
27777         dependency on libm-test.stmp below the inclusion of Rules.
27779 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
27781         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
27782         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
27783         and included header.
27784         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
27785         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
27786         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
27787         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
27788         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
27789         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
27790         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
27791         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
27792         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
27793         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
27794         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
27795         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
27796         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
27797         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
27798         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
27799         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
27800         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
27801         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
27802         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
27804 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
27806         [BZ #18371]
27807         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
27808         intermediate but not final result might underflow.
27809         * math/s_csqrtf.c (__csqrtf): Likewise.
27810         * math/s_csqrtl.c (__csqrtl): Likewise.
27811         * math/auto-libm-test-in: Add more tests of csqrt.
27812         * math/auto-libm-test-out: Regenerated.
27813         * sysdeps/i386/fpu/libm-test-ulps: Update.
27815         [BZ #18219]
27816         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
27817         threshold on absolute value of exponent for which scaling is used.
27818         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
27819         * math/auto-libm-test-in: Add more tests of exp2.
27820         * math/auto-libm-test-out: Regenerated.
27822 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
27824         [BZ #17977]
27825         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
27826         when initializing interface list, based on the bug analysis
27827         and the patch proposed by Eric Newton.
27828         * resolv/tst-res_hconf_reorder.c: New test.
27829         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
27830         tst-res_hconf_reorder.
27831         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
27832         and $(shared-thread-library).
27833         (tst-res_hconf_reorder-ENV): New variable.
27835         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
27836         in comment.
27838 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
27840         [BZ #16353]
27841         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
27842         (__expm1): Force underflow exception for arguments with small
27843         absolute value.
27844         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
27845         (__expm1f): Force underflow exception for arguments with small
27846         absolute value.
27847         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
27848         (__expm1): Force underflow exception for arguments with small
27849         absolute value.
27850         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
27851         (__expm1f): Force underflow exception for arguments with small
27852         absolute value.
27853         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27854         Check for small arguments before calling __expm1.
27855         * math/auto-libm-test-in: Do not mark underflow exceptions as
27856         possibly missing for bug 16353.
27857         * math/auto-libm-test-out: Regenerated.
27859 2015-06-22  Andreas Schwab  <schwab@suse.de>
27861         [BZ #18513]
27862         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
27863         PTR queries.
27865 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
27867         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
27869         * string/strcoll_l.c: Remove unused struct element idxnow.
27871 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
27873         [BZ #18569]
27874         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
27875         underflow and return argument in case of subnormal argument.
27876         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27877         Likewise.
27878         * math/auto-libm-test-in: Add more tests of expm1.
27879         * math/auto-libm-test-out: Regenerated.
27881         [BZ #16361]
27882         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
27883         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
27884         tiny results.
27885         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
27886         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
27887         tiny results.
27888         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
27889         mark underflow exceptions as possibly missing for bug 16361.
27890         * math/auto-libm-test-out: Regenerated.
27892 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
27894         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
27895         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
27896         Remove variable.
27897         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
27898         (test-xfail-XOPEN2K8/utmpx.h/conform).
27900         * conform/conformtest.pl ($xerrors): New variable.
27901         (note_error): New function.
27902         (compiletest): New argument $xfail.  Use not_error.
27903         (runtest): Likewise.
27904         (top level): Handle xfail- lines.  Update calls to compiletest and
27905         runtest.  Handle xfail- and optional- in headers listed with
27906         allow-header.
27907         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
27908         (O_EXEC): Likewise.
27909         (O_SEARCH): Likewise.
27910         * conform/data/stropts.h-data (ioctl): Likewise.
27911         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
27912         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
27913         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
27914         (msghdr.msg_controllen): Likewise.
27915         (cmsghdr.cmsg_len): Likewise.
27916         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
27917         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
27918         variable.
27919         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
27920         (test-xfail-XPG4/stropts.h/conform): Likewise.
27921         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
27922         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
27923         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
27924         (test-xfail-UNIX98/stropts.h/conform): Likewise.
27925         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
27926         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
27927         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
27928         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
27929         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
27930         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
27931         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
27932         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
27933         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
27934         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
27935         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
27936         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
27937         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
27938         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
27939         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
27941 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
27943         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
27944         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
27945         definitions for proper unfolding of __MATHDECL_VEC.
27947 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
27949         * benchtests/bench-strcoll.c:
27950         Include string.h.
27951         (main): Remove unused variable res.
27953 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
27955         * timezone/Makefile (%/UTC %/Universal):
27956         Generate test-result files for UTC and Universal.
27958 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
27960         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27962 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
27964         [BZ #16350]
27965         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
27966         for arguments with small absolute value.
27967         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
27968         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
27969         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
27970         (__asinh): Force underflow exception for arguments with small
27971         absolute value.
27972         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
27973         (__asinhf): Force underflow exception for arguments with small
27974         absolute value.
27975         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
27976         (__asinhl): Force underflow exception for arguments with small
27977         absolute value.
27978         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
27979         (__asinhl): Force underflow exception for arguments with small
27980         absolute value.
27981         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
27982         (__asinhl): Force underflow exception for arguments with small
27983         absolute value.
27984         * math/auto-libm-test-in: Do not mark underflow exceptions as
27985         possibly missing for bug 16350.
27986         * math/auto-libm-test-out: Regenerated.
27988         * include/bits/ipc.h: Remove file.
27989         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
27990         variable.
27991         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
27992         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
27993         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
27994         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
27995         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
27996         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
27997         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
27998         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
27999         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
28001         * math/auto-libm-test-in: Remove spurious underflow allowance for
28002         tests of cexp.
28003         * math/auto-libm-test-out: Regenerated.
28005         [BZ #18558]
28006         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
28007         unconditional definition.
28008         (MCAST_BLOCK_SOURCE): Likewise.
28009         (MCAST_UNBLOCK_SOURCE): Likewise.
28010         (MCAST_LEAVE_GROUP): Likewise.
28011         (MCAST_JOIN_SOURCE_GROUP): Likewise.
28012         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
28013         (MCAST_MSFILTER): Likewise.
28014         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
28015         Remove variable.
28016         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
28017         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
28018         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
28019         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
28020         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
28022 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
28024         * NEWS: Mention addition of x86_64 vector sincosf.
28025         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
28026         * math/test-float-vlen4.h: Likewise.
28027         * math/test-float-vlen8.h: Likewise.
28028         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28029         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
28030         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28031         * sysdeps/x86_64/fpu/Versions: New versions added.
28032         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28033         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28034         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28035         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
28036         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
28037         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
28038         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
28039         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
28040         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
28041         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
28042         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
28043         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
28044         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
28045         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
28046         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
28047         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
28048         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
28049         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
28050         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28051         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28052         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28053         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28054         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28055         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28057         * NEWS: Mention addition of x86_64 vector sincos.
28058         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
28059         * math/math.h (__MATHDECL_VEC): New macro.
28060         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
28061         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
28062         declaration under condition.
28063         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
28064         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
28065         TEST_VEC_LOOP change.
28066         * math/test-double-vlen4.h: Likewise.
28067         * math/test-double-vlen8.h: Likewise.
28068         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
28069         * math/test-float-vlen4.h: Likewise.
28070         * math/test-float-vlen8.h: Likewise.
28071         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28072         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
28073         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28074         * sysdeps/x86_64/fpu/Versions: New versions added.
28075         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28076         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28077         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28078         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
28079         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
28080         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
28081         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
28082         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
28083         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
28084         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
28085         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
28086         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
28087         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
28088         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
28089         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
28090         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
28091         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
28092         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28093         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28094         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28095         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28096         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28097         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28098         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28100         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28101         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28102         redirections for powf.
28103         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28104         * sysdeps/x86_64/fpu/Versions: New versions added.
28105         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28106         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28107         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28108         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
28109         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
28110         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
28111         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
28112         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
28113         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
28114         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
28115         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
28116         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
28117         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
28118         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
28119         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
28120         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
28121         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
28122         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28123         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28124         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28125         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28126         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28127         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28128         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28129         * math/test-float-vlen16.h: Fixed 2 argument macro.
28130         * math/test-float-vlen4.h: Likewise.
28131         * math/test-float-vlen8.h: Likewise.
28132         * NEWS: Mention addition of x86_64 vector powf.
28134 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
28136         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28137         and redefine.
28138         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28139         and redefine.
28140         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
28141         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28142         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28144         [BZ #18553]
28145         * resource/getpriority.c (getpriority): Rename to __getpriority
28146         and define as weak alias of __getpriority.
28147         * resource/setpriority.c (setpriority): Rename to __setpriority
28148         and define as weak alias of __setpriority.
28149         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
28150         __getpriority and define as weak alias of __getpriority.
28151         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
28152         __setpriority and define as weak alias of __setpriority.
28153         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
28154         strong name.
28155         (setpriority): Use __setpriority as strong name.
28156         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
28157         __getpriority and define as weak alias of __getpriority.
28158         * include/sys/resource.h (__getpriority): Declare.  Use
28159         libc_hidden_proto.
28160         (__setpriority): Likewise.
28161         (getpriority): Don't use libc_hidden_proto.
28162         (setpriority): Likewise.
28163         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
28164         getpriority.  Call __setpriority instead of setpriority.
28165         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
28166         Remove variable.
28168         [BZ #18547]
28169         * misc/getttyent.c (getttynam): Rename to __getttynam and define
28170         as weak alias of __getttynam.  Use prototype function definition.
28171         Call __setttyent, __getttyent and __endttyent instead of
28172         setttyent, getttyent and endttyent.
28173         (getttyent): Rename to __getttyent and define as weak alias of
28174         __getttyent.  Call __setttyent instead of setttyent.  Call
28175         __fgets_unlocked instead of fgets_unlocked.
28176         (setttyent): Rename to __setttyent and define as weak alias of
28177         __setttyent.
28178         (endttyent): Rename to __endttyent and define as weak alias of
28179         __endttyent.
28180         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
28181         (__setttyent): Likewise.
28182         (__endttyent): Likewise.
28183         (getttyent): Don't use libc_hidden_proto.
28184         (setttyent): Likewise.
28185         (endttyent): Likewise.
28186         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
28187         __endttyent instead of setttyent, getttyent and endttyent.
28188         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
28189         Remove variable.
28191         [BZ #18546]
28192         * socket/recv.c (__recv): Use libc_hidden_def.
28193         * socket/socket.c (__socket): Likewise.
28194         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
28195         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
28196         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
28197         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
28198         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
28199         libc_hidden_def.
28200         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
28201         libc_hidden_weak.
28202         * include/sys/socket.h (__socket): Do not use attribute_hidden.
28203         Use libc_hidden_proto.
28204         (__recv): Likewise.
28205         * socket/Versions (libc): Export __recv and __socket at version
28206         GLIBC_PRIVATE.
28207         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
28208         instead of recv.
28209         (init_mq_netlink): Call __socket instead of socket.
28210         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
28211         Remove variable.
28213         [BZ #18545]
28214         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
28215         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
28216         hidden_weak.
28217         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
28218         define as alias of __mq_timedsend.  Use hidden_weak.
28219         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
28220         __mq_timedsend as strong name.
28221         (mq_timedreceive): Use __mq_timedreceive as strong name.
28222         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
28223         (__mq_timedreceive): Likewise.
28224         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
28225         __mq_timedreceive instead of mq_timedreceive.
28226         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
28227         instead of mq_timedsend.
28228         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
28229         Remove variable.
28231         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
28232         hidden_def and hidden_weak instead of libc_hidden_def and
28233         libc_hidden_weak.
28234         (top level): Refer to hidden_def in comment.
28235         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
28236         macro.  Use it instead of libc_hidden_def.
28237         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
28238         specify __GI_* name explicitly.
28239         (mq_timedreceive): Likewise.
28240         (mq_setattr): Likewise.
28242         [BZ #18544]
28243         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
28244         __pthread_barrier_init and define as weak alias of
28245         __pthread_barrier_init.
28246         * sysdeps/sparc/nptl/pthread_barrier_init.c
28247         (pthread_barrier_init): Likewise.
28248         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
28249         __pthread_barrier_wait and define as weak alias of
28250         __pthread_barrier_wait.
28251         * sysdeps/sparc/nptl/pthread_barrier_wait.c
28252         (pthread_barrier_wait): Likewise.
28253         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
28254         (pthread_barrier_wait): Likewise.
28255         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
28256         (pthread_barrier_wait): Likewise.
28257         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
28258         (pthread_barrier_wait): Likewise.
28259         * nptl/Versions (libpthread): Export __pthread_barrier_init and
28260         __pthread_barrier_wait at version GLIBC_PRIVATE.
28261         * include/pthread.h (__pthread_barrier_init): Declare.
28262         (__pthread_barrier_wait): Likewise.
28263         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
28264         Call __pthread_barrier_wait instead of pthread_barrier_wait.
28265         (helper_thread): Likewise.
28266         (init_mq_netlink): Call __pthread_barrier_init instead of
28267         pthread_barrier_init.
28269         [BZ #18542]
28270         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
28271         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
28272         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
28273         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
28274         vswscanf.
28275         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
28276         Remove variable.
28278         [BZ #18540]
28279         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
28280         strong alias of _IO_fflush.  Use libc_hidden_def.
28281         * libio/iofflush_u.c (fflush_unlocked): Rename to
28282         __fflush_unlocked and define as weak alias of __fflush_unlocked.
28283         Use libc_hidden_weak.
28284         * include/stdio.h (__fflush_unlocked): Declare.  Use
28285         libc_hidden_proto.
28286         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
28287         fflush_unlocked.
28288         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
28289         Remove variable.
28291         [BZ #18539]
28292         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
28293         define as weak alias of __addseverity.
28294         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
28295         Remove variable.
28296         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
28297         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28298         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
28300         [BZ #18536]
28301         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
28302         (__tfind): Likewise.
28303         (__tdelete): Likewise.
28304         (__twalk): Likewise.
28305         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
28306         __twalk to GLIBC_PRIVATE.
28307         * include/search.h (__tsearch): Use libc_hidden_proto.
28308         (__tfind): Likewise.
28309         (__tdelete): Likewise.
28310         (__twalk): Likewise.
28311         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
28312         Call __tdelete instead of tdelete.
28313         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
28314         tfind.  Call __tsearch instead of tsearch.
28315         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
28316         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
28317         Remove variable.
28318         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
28320         [BZ #18534]
28321         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
28322         (dprintf): Define as a weak alias of __dprintf, not a strong
28323         alias.
28324         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
28325         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
28326         dprintf.
28327         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
28328         Remove variable.
28329         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28330         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28332         [BZ #18533]
28333         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
28334         not a strong alias.
28335         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
28336         Remove variable.
28338         [BZ #18532]
28339         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
28340         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
28341         (in6addr_loopback): Rename to __in6addr_loopback and define as
28342         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
28343         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
28344         libc_hidden_proto.
28345         (__in6addr_any): Likewise.
28346         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
28347         in6addr_any.
28348         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
28349         variable.
28350         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
28352 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
28354         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
28355         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
28356         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28357         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28358         redirections for pow.
28359         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28360         * sysdeps/x86_64/fpu/Versions: New versions added.
28361         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28362         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28363         build of SSE, AVX2 and AVX512 IFUNC versions.
28364         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
28365         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
28366         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
28367         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
28368         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
28369         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
28370         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
28371         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
28372         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
28373         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
28374         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
28375         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
28376         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
28377         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
28378         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28379         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28380         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28381         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28382         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28383         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28384         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28385         * NEWS: Mention addition of x86_64 vector pow.
28387         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28388         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28389         redirections for expf.
28390         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28391         * sysdeps/x86_64/fpu/Versions: New versions added.
28392         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28393         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28394         build of SSE, AVX2 and AVX512 IFUNC versions.
28395         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
28396         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
28397         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
28398         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
28399         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
28400         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
28401         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
28402         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
28403         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
28404         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
28405         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
28406         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
28407         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
28408         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28409         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28410         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28411         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28412         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28413         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28414         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28415         * NEWS: Mention addition of x86_64 vector expf.
28417         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
28418         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
28419         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28420         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28421         redirections for exp.
28422         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28423         * sysdeps/x86_64/fpu/Versions: New versions added.
28424         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28425         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28426         build of SSE, AVX2 and AVX512 IFUNC versions.
28427         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
28428         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
28429         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
28430         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
28431         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
28432         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
28433         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
28434         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
28435         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
28436         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
28437         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
28438         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
28439         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
28440         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28441         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28442         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28443         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28444         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28445         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28446         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28447         * NEWS: Mention addition of x86_64 vector exp.
28449         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28450         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28451         redirections for logf.
28452         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28453         * sysdeps/x86_64/fpu/Versions: New versions added.
28454         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28455         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28456         build of SSE, AVX2 and AVX512 IFUNC versions.
28457         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
28458         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
28459         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
28460         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
28461         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
28462         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
28463         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
28464         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
28465         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
28466         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
28467         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
28468         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
28469         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
28470         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28471         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28472         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28473         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28474         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28475         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28476         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28477         * NEWS: Mention addition of x86_64 vector logf.
28479         * bits/libm-simd-decl-stubs.h: Added stubs for log.
28480         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
28481         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28482         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28483         redirections for log.
28484         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28485         * sysdeps/x86_64/fpu/Versions: New versions added.
28486         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28487         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28488         build of SSE, AVX2 and AVX512 IFUNC versions.
28489         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
28490         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
28491         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
28492         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
28493         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
28494         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
28495         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
28496         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
28497         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
28498         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
28499         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
28500         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
28501         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
28502         test.
28503         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28504         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28505         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28506         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28507         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28508         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28509         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28510         * NEWS: Mention addition of x86_64 vector log.
28512 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28514         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
28515         cfi_adjust_cfa_offset argument.
28516         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
28517         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
28519         [BZ #18034]
28520         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
28521         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
28522         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
28523         ordering using ldar.
28524         (_dl_tlsdesc_dynamic): Likewise.
28525         (_dl_tlsdesc_return_lazy): Likewise.
28526         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
28527         relaxed atomics instead of volatile and synchronize with release store.
28528         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
28529         volatile.
28530         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28532 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
28534         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28535         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
28536         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28537         * sysdeps/x86_64/fpu/Versions: New versions added.
28538         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28539         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28540         build of SSE, AVX2 and AVX512 IFUNC versions.
28541         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
28542         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
28543         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
28544         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
28545         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
28546         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
28547         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
28548         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
28549         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
28550         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
28551         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
28552         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
28553         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
28554         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28555         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28556         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28557         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28558         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28559         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28560         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28561         * NEWS: Mention addition of x86_64 vector sinf.
28563 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
28565         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
28566         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
28567         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
28568         Remove variable.
28569         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28570         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28572 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
28574         [BZ #18530]
28575         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
28576         strong alias of _IO_fputs.  Use libc_hidden_def.
28577         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
28578         and define as weak alias of __fputs_unlocked.  Use
28579         libc_hidden_weak.
28580         * include/stdio.h (__fputs_unlocked): Declare.  Use
28581         libc_hidden_proto.
28582         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
28583         fputs_unlocked.
28585         [BZ #18529]
28586         * resolv/netdb.h [__USE_POSIX]: Change condition to
28587         [__USE_XOPEN2K].
28588         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
28589         not expect.
28590         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
28591         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
28592         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
28593         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
28594         [XPG4 || UNIX98] (AI_ALL): Likewise.
28595         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
28596         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
28597         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
28598         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
28599         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
28600         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
28601         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
28602         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
28603         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
28604         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
28605         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
28606         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
28607         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
28608         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
28609         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
28610         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
28611         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
28612         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
28613         [XPG4 || UNIX98] (gai_strerror): Likewise.
28614         [XPG4 || UNIX98] (getaddrinfo): Likewise.
28615         [XPG4 || UNIX98] (getnameinfo): Likewise.
28617         [BZ #18528]
28618         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
28619         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
28620         __USE_XOPEN2K8].
28621         (getgrent): Likewise.
28622         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
28623         expect.
28624         [XPG3 || POSIX2008] (endgrent): Likewise.
28625         [XPG3] (setgrent): Likewise.
28626         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
28627         variable.
28628         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
28630         [BZ #18527]
28631         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
28632         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
28633         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
28634         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
28635         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
28636         * include/unistd.h (__getlogin_r): Declare.  Use
28637         libc_hidden_proto.
28638         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
28639         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
28640         variable.
28641         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
28642         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
28643         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
28645 2015-06-12  Martin Sebor  <msebor@redhat.com>
28647         [BZ #18512]
28648         * Makerules (check-install-supported): New target.
28649         (install): Add check-install-supported as a dependency.
28650         * manual/install.texi (Installing the C Library): Document
28651         that overriding prefix and exec_prefix is not supported.
28652         Mention DESTDIR.
28653         * INSTALL: Regenerate from the above.
28655 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
28657         [BZ #18519]
28658         * posix/Versions (libc): Export __libc_pread at version
28659         GLIBC_PRIVATE.
28660         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
28661         instead of pread.
28662         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
28663         variable.
28665         [BZ #18522]
28666         * misc/efgcvt_r.c
28667         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
28668         (cvt_symbol): Use weak_alias instead of strong_alias.
28669         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
28670         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
28671         Remove variable.
28672         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28673         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28675         [BZ #18520]
28676         * inet/herrno.c (h_errno): Rename to __h_errno.
28677         (__libc_h_errno): Define as alias of __h_errno not h_errno.
28678         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
28679         to __h_errno instead of h_errno.
28680         * nptl/herrno.c (h_errno): Rename to __h_errno.
28681         (__h_errno_location): Refer to __h_errno not h_errno.
28682         * resolv/Versions (h_errno): Rename to __h_errno.
28683         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
28684         Remove variable.
28685         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28687 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
28689         * configure.ac: More strict check for AVX512 assembler support.
28690         * configure: Regenerated.
28692         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
28693         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
28694         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28695         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
28696         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28697         * sysdeps/x86_64/fpu/Versions: New versions added.
28698         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28699         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28700         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28701         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
28702         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
28703         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
28704         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
28705         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
28706         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
28707         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
28708         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
28709         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
28710         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
28711         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
28712         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
28713         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
28714         test.
28715         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28716         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28717         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28718         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28719         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28720         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28721         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28722         * NEWS: Mention addition of x86_64 vector sin.
28724 2015-06-11  Florian Weimer  <fweimer@redhat.com>
28726         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
28727         comment.
28729 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
28731         [BZ #18479]
28732         * nptl/pt-interp.c: New file.
28733         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
28734         Add pt-interp.
28735         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
28736         $(common-objpfx)runtime-linker.h.
28738 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
28740         * Makeconfig (+interp): Remove unused variable.
28741         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
28742         only.  Depend on $(common-objpfx)runtime-linker.h instead of
28743         $(elf-objpfx)runtime-linker.h.
28744         ($(elf-objpfx)runtime-linker.h): Rename to
28745         $(common-objpfx)runtime-linker.h and move ...
28746         * Makerules [$(build-shared) = yes]: ... here.
28747         * elf/interp.c: Include <runtime-linker.h> instead of
28748         <elf/runtime-linker.h>.
28750 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28752         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
28753         (__gettimeofday_syscall): Remove vsyscall fallback.
28754         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
28755         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
28756         Add syscall fallback function.
28757         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
28758         if vDSO is not present.
28759         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
28760         fallback function.
28761         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
28762         present.
28763         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
28764         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28766 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
28768         [BZ #18497]
28769         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
28770         of wcscmp.
28771         (wcscmp): Define as weak alias of WCSCMP.
28772         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
28773         wcscoll.
28774         (USE_HIDDEN_DEF): Define.
28775         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
28776         __wcscoll.  Don't use libc_hidden_weak.
28777         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
28778         wcscmp.
28779         * sysdeps/i386/i686/multiarch/wcscmp-c.c
28780         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
28781         __GI_wcscmp.
28782         (weak_alias): Undefine and redefine.
28783         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
28784         __wcscmp and define as weak alias of __wcscmp.
28785         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
28786         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
28787         (__wcscoll): Likewise.
28788         (wcscmp): Don't use libc_hidden_proto.
28789         (wcscoll): Likewise.
28790         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
28791         wcscoll.
28792         * posix/regexec.c (check_node_accept_bytes): Likewise.
28793         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
28794         variable.
28795         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
28796         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
28798         [BZ #18507]
28799         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
28800         __fstatvfs and define as weak alias of __fstatvfs.  Use
28801         libc_hidden_weak.
28802         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
28803         and define as weak alias of __statvfs.  Use libc_hidden_weak.
28804         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
28805         Define as alias of __fstatvfs, not fstatvfs.
28806         (fstatvfs64): Likewise.
28807         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
28808         Define as alias of __statvfs, not statvfs.
28809         (statvfs64): Likewise.
28810         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
28811         Remove variable.
28813 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28816         (HAVE_GETCPU_VSYSCALL): Define.
28817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28818         (HAVE_GETCPU_VSYSCALL): Likewise.
28819         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
28820         * sysdeps/unix/sysv/linux/sched_getcpu.c
28821         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
28822         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
28823         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
28824         prototype.
28825         * sysdeps/unix/sysv/linux/x86_64/init-first.c
28826         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
28827         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
28828         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
28829         Define.
28830         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
28831         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28832         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
28833         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28835 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
28837         * sysdeps/x86_64/fpu/Makefile: New file.
28838         * sysdeps/x86_64/fpu/Versions: New file.
28839         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
28840         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
28841         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
28842         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
28843         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
28844         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
28845         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
28846         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
28847         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
28848         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
28849         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
28850         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
28851         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
28852         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28853         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28854         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
28855         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
28856         * sysdeps/x86_64/configure.ac: Options for libmvec build.
28857         * sysdeps/x86_64/configure: Regenerated.
28858         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
28859         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
28860         * manual/install.texi (Configuring and compiling): Document
28861         --disable-mathvec.
28862         * INSTALL: Regenerated.
28863         * NEWS: Mention addition of libmvec and x86_64 vector cos.
28865         * math/Makefile: Added rules for vector tests.
28866         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
28867         declaration under condition.
28868         * math/test-double-vlen2.h: New file.
28869         * math/test-double-vlen4.h: New file.
28870         * math/test-double-vlen8.h: New file.
28871         * math/test-vec-loop.h: Added initialization macro.
28872         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
28873         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
28874         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
28875         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
28876         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
28877         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
28878         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
28879         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
28880         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
28881         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
28882         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
28884         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28885         * sysdeps/x86_64/fpu/Versions: New versions added.
28886         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
28887         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
28888         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
28889         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
28890         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
28891         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
28892         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
28893         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
28894         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
28895         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
28896         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
28897         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
28898         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
28899         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28900         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28901         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28902         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
28903         * NEWS: Mention addition of x86_64 vector cosf.
28905         * math/Makefile: Added CFLAGS for new tests.
28906         * math/test-float-vlen16.h: New file.
28907         * math/test-float-vlen4.h: New file.
28908         * math/test-float-vlen8.h: New file.
28909         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
28910         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
28911         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28912         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
28913         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
28914         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
28915         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
28916         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
28917         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
28918         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
28919         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
28921 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
28923         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
28924         * locale/programs/ld-ctype.c: Likewise.
28926 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
28928         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
28929         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
28930         bit_ZMM16_31_state): New macro.
28931         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28932         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
28934 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
28936         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
28938 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
28940         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
28942 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
28944         [BZ #18498]
28945         * libio/memstream.c (open_memstream): Rename to __open_memstream
28946         and define as weak alias of __open_memstream.
28947         * include/stdio.h (__open_memstream): Declare.  Use
28948         libc_hidden_proto.
28949         (open_memstream): Don't use libc_hidden_proto.
28950         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
28951         open_memstream.
28952         * posix/getopt.c (_getopt_internal_r): Likewise.
28953         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
28954         variable.
28955         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
28956         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
28957         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
28959         [BZ #18496]
28960         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
28961         instead of wcrtomb.
28963         [BZ #18483]
28964         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
28965         [__USE_XOPEN2K8].  Remove redundant #endif.
28966         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
28967         Remove redundant #if.
28968         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
28969         Remove variable.
28970         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
28971         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
28973         [BZ #18495]
28974         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
28975         (__iswlower): Likewise.
28976         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
28977         (__iswlower): Likewise.
28978         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
28979         instead of towlower.
28980         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
28981         instead of iswlower.  Call __towupper instead of towupper.
28982         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
28983         instead of iswalnum.
28985 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28987         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
28988         errors to stderr.
28990 2015-06-05  Florian Weimer  <fweimer@redhat.com>
28992         [BZ #15661]
28993         [BZ #17322]
28994         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
28995         Check for overflow properly.  Check for O_APPEND.  Ignore large
28996         file system block sizes.  Add comments about problems.
28997         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
28998         * manual/filesys.texi (Storage Allocation): New node.
29000 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29002         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
29003         cancellable syscalls.
29004         (SYS_ify): Add guard to no redefine it.
29005         (INLINE_SYSCALL): Likewise.
29006         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
29007         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
29008         SYSCALL_CANCEL instead.
29009         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
29010         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
29011         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
29012         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
29013         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
29014         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
29015         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
29016         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
29017         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
29018         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
29019         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
29020         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
29021         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
29022         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
29023         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
29024         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
29025         Likewise.
29026         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
29027         (__libc_pread64): Likewise.
29028         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
29029         (__libc_preadv): Likewise.
29030         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
29031         (__libc_readv64): Likewise.
29032         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
29033         (__libc_pwrite): Likewise.
29034         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
29035         (__libc_pwrite64): Likewise.
29036         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
29037         (__libc_pwritev): Likewise.
29038         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
29039         (__libc_pwritev64): Likewise.
29040         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
29041         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
29042         (sync_file_range): Likewise.
29043         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
29044         Likewise.
29045         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
29046         Likewise.
29047         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
29048         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
29049         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
29050         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
29051         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
29052         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
29053         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
29054         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
29055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
29056         Likewise.
29057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29058         (__libc_read64): Likewise.
29059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
29060         Likewise.
29061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
29062         Likewise.
29063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
29064         Likewise.
29065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
29066         Likewise.
29067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29068         (__libc_pread64): Likewise.
29069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
29070         Likewise.
29071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29072         (__libc_pwrite64): Likewise.
29073         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
29074         (sync_file_range): Likewise.
29075         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
29076         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
29077         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
29078         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
29079         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
29080         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
29081         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
29082         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
29083         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
29084         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
29085         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29086         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
29087         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
29088         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
29089         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
29090         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
29091         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
29092         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
29093         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
29094         Likewise.
29095         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
29096         Likewise.
29097         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
29098         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
29099         Likewise.
29100         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
29101         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
29102         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
29103         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
29104         Likewise.
29105         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
29106         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
29107         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
29108         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
29109         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
29111 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
29113         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
29114         Include dl-vdso.
29115         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
29116         Use VDSO routines for gettimeofday, clock_gettime if
29117         available.
29118         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
29119         Declare VDSO symbols.
29120         * sysdeps/unix/sysv/linux/arm/sysdep.h:
29121         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
29122         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29123         * sysdeps/unix/sysv/linux/arm/Versions: Add
29124         __vdso_clock_gettime.
29126 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29128         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
29129         be an inline implementation regardless of library is built within.
29130         (open_not_cancel_2): Likewise.
29131         (__read_nocancel): Likewise.
29132         (__write_nocancel): Likewise.
29133         (openat_not_cancel): Likewise.
29134         (openat_not_cancel_3): Likewise.
29135         (openat64_not_cancel): Likewise.
29136         (openat64_not_cancel_3): Likewise.
29137         (__close_nocancel): Likewise.
29138         (pause_not_cancel): Likewise.
29139         (nanosleep_not_cancel): Likewise.
29140         (sigsuspend_not_cancel): Likewise.
29142 2015-06-04  Torvald Riegel  <triegel@redhat.com>
29144         [BZ #14958]
29145         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
29146         wake-up.
29147         (__pthread_rwlock_rdlock_slow): Likewise.
29148         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
29149         Likewise.
29150         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
29151         Likewise.
29152         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
29153         * nptl/tst-rwlock16.c: New file.
29154         * nptl/Makefile (tests): Add new test.
29156 2015-06-04  Torvald Riegel  <triegel@redhat.com>
29158         [BZ #18324]
29159         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
29160         missing wake-up of readers.
29161         * nptl/tst-rwlock15.c: New file.
29162         * nptl/Makefile (tests): Add new test.
29164 2015-06-03  Roland McGrath  <roland@hack.frob.com>
29166         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
29167         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
29168         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
29169         and __nacl_supply_interface_rtld.
29170         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
29171         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
29172         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
29173         Add __nacl_supply_interface_rtld.
29174         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
29176 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
29178         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
29179         isfinite.
29180         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29181         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
29183 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
29185         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
29186         __signbit* with standard C99 macros.
29187         * math/e_exp10l.c: Likewise.
29188         * math/e_exp2l.c: Likewise.
29189         * math/e_scalb.c: Likewise.
29190         * math/e_scalbf.c: Likewise.
29191         * math/e_scalbl.c: Likewise.
29192         * math/s_ldexp.c: Likewise.
29193         * math/s_ldexpf.c: Likewise.
29194         * math/s_ldexpl.c: Likewise.
29195         * math/w_atan2.c: Likewise.
29196         * math/w_atan2f.c: Likewise.
29197         * math/w_atan2l.c: Likewise.
29198         * math/w_cosh.c: Likewise.
29199         * math/w_coshf.c: Likewise.
29200         * math/w_coshl.c: Likewise.
29201         * math/w_exp10.c: Likewise.
29202         * math/w_exp10f.c: Likewise.
29203         * math/w_exp10l.c: Likewise.
29204         * math/w_exp2.c: Likewise.
29205         * math/w_exp2f.c: Likewise.
29206         * math/w_exp2l.c: Likewise.
29207         * math/w_fmod.c: Likewise.
29208         * math/w_fmodf.c: Likewise.
29209         * math/w_fmodl.c: Likewise.
29210         * math/w_hypot.c: Likewise.
29211         * math/w_hypotf.c: Likewise.
29212         * math/w_hypotl.c: Likewise.
29213         * math/w_jnl.c: Likewise.
29214         * math/w_lgamma.c: Likewise.
29215         * math/w_lgamma_r.c: Likewise.
29216         * math/w_lgammaf.c: Likewise.
29217         * math/w_lgammaf_r.c: Likewise.
29218         * math/w_lgammal.c: Likewise.
29219         * math/w_lgammal_r.c: Likewise.
29220         * math/w_pow.c: Likewise.
29221         * math/w_powf.c: Likewise.
29222         * math/w_powl.c: Likewise.
29223         * math/w_remainder.c: Likewise.
29224         * math/w_remainderf.c: Likewise.
29225         * math/w_remainderl.c: Likewise.
29226         * math/w_scalb.c: Likewise.
29227         * math/w_scalbf.c: Likewise.
29228         * math/w_scalbl.c: Likewise.
29229         * math/w_scalbln.c: Likewise.
29230         * math/w_scalblnf.c: Likewise.
29231         * math/w_scalblnl.c: Likewise.
29232         * math/w_sinh.c: Likewise.
29233         * math/w_sinhf.c: Likewise.
29234         * math/w_sinhl.c: Likewise.
29235         * math/w_tgamma.c: Likewise.
29236         * math/w_tgammaf.c: Likewise.
29237         * math/w_tgammal.c: Likewise.
29238         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29239         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
29240         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29241         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29242         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29243         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29244         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29245         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29246         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29247         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29248         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29249         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29250         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29251         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29252         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29253         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29254         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29255         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29256         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29257         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29258         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29259         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29260         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29261         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29262         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29263         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29264         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
29265         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29266         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29267         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29268         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
29269         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
29270         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
29271         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
29272         * stdio-common/printf_fp.c: Likewise.
29273         * stdio-common/printf_fphex.c: Likewise.
29274         * stdio-common/printf_size.c: Likewise.
29276 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
29278         [BZ #18470]
29279         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
29280         strnlen.
29281         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
29282         Remove variable.
29283         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
29284         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
29285         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
29286         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
29287         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
29288         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
29289         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
29290         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
29291         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
29292         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
29294         [BZ #18468]
29295         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
29296         weak alias of __wmemchr.  Use libc_hidden_weak.
29297         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
29298         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
29299         instead of wmemchr.
29301 2015-06-02  Roland McGrath  <roland@hack.frob.com>
29303         [BZ #18383]
29304         * elf/tst-tlsalign-extern.c: New file.
29305         * elf/tst-tlsalign-extern-static.c: New file.
29306         * elf/tst-tlsalign-vars.c: New file.
29307         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
29308         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
29309         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
29310         ($(objpfx)tst-tlsalign-extern-static): Likewise.
29311         (test-xfail-tst-tlsalign-extern-static): New variable.
29313 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
29315         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
29316         Use variable name _sc_err instead of err.
29317         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
29318         instead of ret.
29319         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
29320         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
29321         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
29322         (INLINE_SYSCALL): Likewise.
29324         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
29325         * include/string.h (__strnlen): Use libc_hidden_proto.
29326         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
29327         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
29328         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
29329         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
29330         (libc_hidden_def): Undefine and redefine.
29331         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
29332         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
29333         __GI_strnlen.
29334         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
29335         libc_hidden_def.
29336         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
29338         [BZ #18469]
29339         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
29340         weak alias of __towlower.  Use libc_hidden_weak.
29341         (towupper): Rename to __towupper and define as weak alias of
29342         __towupper.  Use libc_hidden_weak.
29343         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
29344         (__towupper): Likewise.
29345         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
29346         __towlower instead of towlower.
29348 2015-06-02  Roland McGrath  <roland@hack.frob.com>
29350         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
29351         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
29353 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29355         * sysdeps/aarch64/libm-test-ulps: Update.
29357 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29359         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
29360         Define.
29361         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29362         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
29363         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
29364         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29365         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
29366         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
29367         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
29369 2015-06-01  Martin Sebor  <msebor@redhat.com>
29371         [BZ #18116]
29372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29373         (__setcontext): Use extended four-operand version of mtsf whenever
29374         possible.
29375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29376         (__novec_swapcontext): Likewise.
29378 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29380         * benchtests/scripts/compare_bench.py: New file.
29381         * benchtests/scripts/import_bench.py (mean): New function.
29382         (split_list): Likewise.
29383         (do_for_all_timings): Likewise.
29384         (compress_timings): Likewise.
29386         * benchtests/scripts/import_bench.py: New file.
29387         * benchtests/scripts/validate_benchout.py: Import import_bench
29388         instead of jsonschema.
29389         (validate_bench): Remove function.
29390         (main): Use import_bench.
29392 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
29394         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
29395         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
29397 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29399         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29401 2015-05-28  Roland McGrath  <roland@hack.frob.com>
29403         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
29404         set THREAD_SELF->tid to a magic value and futex-wake it.
29405         Pass its address to the thread_exit system call.
29406         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
29407         bit is clear.
29408         * sysdeps/nacl/lowlevellock.h: New file.
29409         * sysdeps/nacl/lll_timedwait_tid.c: New file.
29411         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
29412         Add TIMEOUT to current time, don't subtract it.
29414 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
29416         [BZ #2981]
29417         [BZ #18422]
29418         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
29419         ($(objpfx)tst-audit2.out): Also depend on
29420         $(objpfx)tst-auditmod9b.so.
29421         * elf/tst-audit2.c: Include <dlfcn.h>.
29422         (calloc_called): New.
29423         (calloc): Allow to be called more than once.
29424         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
29426 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
29428         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
29429         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
29431 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
29433         * stdlib/monetary.h: Fix comment.
29435 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
29437         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
29438         Avoid using variables in #defines that might cause shadowing.
29439         (INTERNAL_VSYSCALL_CALL): Likewise.
29441 2015-05-26  Roland McGrath  <roland@hack.frob.com>
29443         * sysdeps/nacl/lll_timedlock_wait.c: New file.
29445         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
29446         * nptl/lll_timedlock_wait.c: ... to this new file.
29447         * nptl/Makefile (libpthread-routines): Add it.
29448         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
29449         * nptl/lll_timedwait_tid.c: ... to this new file.
29450         * nptl/Makefile (libpthread-routines): Add it.
29451         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
29452         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
29453         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
29454         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
29455         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
29456         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
29457         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
29458         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
29459         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
29460         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
29462 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29464         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
29465         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29466         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
29467         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
29468         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
29469         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29470         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29471         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29472         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29473         * sysdeps/unix/sysv/linux/tile/sysdep.h
29474         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29475         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
29476         using vDSO syscall macro.
29478 2015-05-26  Andriy Rysin  <arysin@gmail.com>
29480         [BZ #17293]
29481         * uk_UA: Fix sorting order for Ukrainian locale
29483 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
29485         * stdlib/monetary.h: Fix comment.
29487 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29489         [BZ #18234]
29490         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
29491         st_mtim and st_ctim members.
29492         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
29493         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
29494         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
29495         (struct stat64): Likewise.
29496         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
29497         (struct stat64): Likewise.
29498         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
29499         (struct stat64): Likewise.
29501 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29503         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
29504         Define and include sysdep-vdso.h.
29505         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
29506         Likewise.
29507         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
29508         Likewise.
29509         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
29510         Define with VDSO_SYMBOL and use PTR_MANGLE.
29511         (__vdso_clock_gettime): Likewise.
29512         (__vdso_clock_getres): Likewise.
29513         (_libc_vdso_platform_setup): Likewise.
29514         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
29515         Likewise.
29516         (_libc_vdso_platform_setup): Likewise.
29517         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
29518         Likewise.
29519         (__vdso_clock_gettime): Likewise.
29520         (__vdso_clock_getres): Likewise.
29521         (__vdso_get_tbfreq): Likewise.
29522         (__vdso_getcpu): Likewise.
29523         (__vdso_time): Likewise.
29524         (__vdso_sigtramp_rt64): Likewise.
29525         (__vdso_signtramp32): Likewise.
29526         (__vdso_sigtramp_rt32): Likewise.
29527         (_libc_vdso_platform_setup): Likewise.
29528         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
29529         Likewise.
29530         (__vdso_clock_gettime): Likewise.
29531         (__vdso_clock_getres): Likewise.
29532         (_libc_vdso_platform_setup): Likewise.
29533         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
29534         Likewise.
29535         (__vdso_clock_gettime): Likewise.
29536         (_libc_vdso_platform_setup): Likewise.
29537         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
29538         Likewise.
29539         (__vdso_getcpu): Likewise.
29540         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
29541         Use VDSO_SYMBOL macro to define.
29542         (__vdso_clock_gettime): Likewise.
29543         (__vdso_clock_getres): Likewise.
29544         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
29545         Likewise.
29546         (__vdso_clock_gettime): Likewise.
29547         (__vdso_clock_getres): Likewise.
29548         (__vdso_get_tbfreq): Likewise.
29549         (__vdso_getcpu): Likewise.
29550         (__vdso_time): Likewise.
29551         (__vdso_sigtramp_rt64): Likewise.
29552         (__vdso_signtramp32): Likewise.
29553         (__vdso_sigtramp_rt32): Likewise.
29554         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
29555         Likewise.
29556         (__vdso_clock_gettime): Likewise.
29557         (__vdso_clock_getres): Likewise.
29558         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
29559         Likewise.
29560         (__vdso_clock_gettime): Likewise.
29561         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
29562         Likewise.
29563         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
29564         macro.
29565         (INTERNAL_VSYSCALL): Likewise.
29566         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
29567         Remove macro.
29568         (INTERNAL_VSYSCALL): Likewise.
29569         (INTERNAL_VSYSCALL_NCS): Likewise.
29570         (INTERNAL_VSYSCALL_CALL): New macro.
29571         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
29572         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
29573         Likewise.
29574         (INTERNAL_VSYSCALL): Likewise.
29575         (INTERNAL_VSYSCALL_NCS): Likewise.
29576         (INTERNAL_VSYSCALL_CALL): New macro.
29577         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
29578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29579         (INLINE_VSYSCALL): Remove macro.
29580         (INTERNAL_VSYSCALL): Remove macro.
29581         (INTERNAL_VSYSCALL_NCS): Remove macro.
29582         (INTERNAL_VSYSCALL_CALL): New macro.
29583         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
29584         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
29585         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
29586         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
29587         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
29588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29589         (INLINE_VSYSCALL): Remove macro.
29590         (INTERNAL_VSYSCALL): Likewise.
29591         (INTERNAL_VSYSCALL_NCS): Likewise.
29592         (INTERNAL_VSYSCALL_CALL): New macro.
29593         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
29594         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
29595         PTR_DEMANGLE on vDSO pointer.
29596         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
29597         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
29598         macro.
29599         (INTERNAL_SYSCALL): Likewise.
29600         (INTERNAL_VSYSCALL_NCS): Remove macro.
29601         (INTERNAL_VSYSCALL_CALL): New macro.
29602         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
29603         Remove macro.
29604         (INTERNAL_VSYSCALL): Likewise.
29605         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
29606         sysdep-vdso.h instead of libc-vdso.h.
29607         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
29608         definition.
29609         (INLINE_VSYSCALL): Likewise.
29610         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
29611         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
29612         definition.
29613         (INLINE_VSYSCALL): Likewise.
29614         (INTERNAL_VSYSCALL): Likewise.
29615         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29616         * sysdeps/unix/sysv/linux/timespec_get.c
29617         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29618         (timespec_get): Use ANSI prototype.
29619         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
29620         and definition for Linux.
29622 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
29624         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
29625         * include/libc-symbols.h: libmvec_hidden_* macro series added.
29627 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29629         [BZ #2981]
29630         [BZ #18410]
29631         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
29632         for missing DT_PLTRELSZ.
29634 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
29636         Remove obsolete aliases that broke 'locale -a'
29637         [BZ #18412]
29638         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
29639         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
29640         breaking some applications that use 'locale -a' output.
29641         Change the encoding of this file from Latin-1 to ASCII to avoid
29642         other potential problems with people grepping this file.
29644 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29646         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
29647         -fasynchronous-unwind-tables.
29648         (CFLAGS-sendto.c): Likewise.
29649         (CFLAGS-sendmsg.c): Likewise.
29650         (CFLAGS-connect.c): Likewise.
29651         (CFLAGS-recvmsg.c): Likewise.
29652         (CFLAGS-recvfrom.c): Likewise.
29653         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
29654         (SOCKETCALL): New macro: non-cancellable socketcall.
29655         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
29656         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
29657         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
29658         * sysdeps/unix/sysv/linux/accept.c: New file.
29659         * sysdeps/unix/sysv/linux/bind.c: Likewise.
29660         * sysdeps/unix/sysv/linux/connect.c: Likewise.
29661         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
29662         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
29663         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
29664         * sysdeps/unix/sysv/linux/listen.c: Likewise.
29665         * sysdeps/unix/sysv/linux/recv.c: Likewise.
29666         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
29667         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
29668         * sysdeps/unix/sysv/linux/send.c: Likewise.
29669         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
29670         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
29671         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
29672         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
29673         * sysdeps/unix/sysv/linux/socket.c: Likewise.
29674         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
29675         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
29676         prototype.
29677         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
29678         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29679         instead of __internal_xxx function.
29680         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
29681         prototype.
29682         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
29683         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29684         instead of __internal_xxx function.
29685         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
29686         prototype.
29687         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
29688         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29689         instead of __internal_xxx function.
29690         * sysdeps/unix/sysv/linux/accept.S: Remove file.
29691         * sysdeps/unix/sysv/linux/bind.S: Likewise.
29692         * sysdeps/unix/sysv/linux/connect.S: Likewise.
29693         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
29694         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
29695         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
29696         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
29697         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
29698         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
29699         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
29700         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
29701         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29702         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
29703         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
29704         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
29705         * sysdeps/unix/sysv/linux/listen.S: Likewise.
29706         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
29707         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
29708         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
29709         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
29710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
29711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
29712         * sysdeps/unix/sysv/linux/recv.S: Likewise.
29713         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
29714         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
29715         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
29716         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
29717         * sysdeps/unix/sysv/linux/send.S: Likewise.
29718         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
29719         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
29720         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
29721         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
29722         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
29723         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
29724         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
29725         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
29726         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
29727         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
29728         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
29729         socketcall is implemented in GLIBC.
29731 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
29733         * soft-fp/fmadf4.c: Include <libc-internal.h>.
29734         (__fma): Ignore uninitialized warnings around packing.
29735         * soft-fp/fmasf4.c: Include <libc-internal.h>.
29736         (__fmaf): Ignore uninitialized warnings around packing.
29737         * soft-fp/fmatf4.c: Include <libc-internal.h>.
29738         (__fmal): Ignore uninitialized warnings around packing.
29740         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
29741         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
29742         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
29743         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
29745         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
29746         switch statement into default case.
29747         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
29749         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
29750         a conditional in forcing "inexact".
29751         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29752         Likewise.
29754 2015-05-22  Roland McGrath  <roland@hack.frob.com>
29756         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29757         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
29758         for each INTERNAL_SYSCALL use.
29760 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
29762         [BZ #438]
29763         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
29764         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
29765         variable.
29767         [BZ #18444]
29768         * string/basename.c (basename): Rename to __basename and define as
29769         weak alias of __basename.  Use libc_hidden_weak.
29770         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
29771         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
29772         __basename instead of basename.
29773         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
29774         Remove variable.
29775         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
29777 2015-05-18  Florian Weimer  <fweimer@redhat.com>
29779         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
29780         (_IO_JUMPS_FILE_plus): New.
29781         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
29782         _IO_CAST_FIELD_ACCESS.
29783         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
29784         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
29785         * libio/freopen.c (freopen): Likewise.
29786         * libio/freopen64.c (freopen64): Likewise.
29787         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
29788         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
29789         * libio/iofwide.c (_IO_fwide): Likewise.
29790         * libio/memstream.c (open_memstream): Likewise.
29791         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
29792         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
29793         * libio/oldiopopen.c (_IO_old_popen): Likewise.
29795 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
29797         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
29798         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
29799         NADJ.
29800         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
29801         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
29802         NADJ.
29803         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
29804         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
29805         NADJ.
29807         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
29808         (p == 4) case.
29810         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
29811         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
29812         Remove variable.
29813         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
29814         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
29815         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
29817 2015-05-21  Florian Weimer  <fweimer@redhat.com>
29819         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
29820         Adjust jump table label generation macros.
29822 2015-05-21  Florian Weimer  <fweimer@redhat.com>
29824         * stdio-common/vfprintf.c (vfprintf): Move local variables
29825         args_malloced, specs, specs_malloced, and the code after
29826         do_positional to the printf_positional function.
29827         (printf_positional): New function.
29829 2015-05-21  Florian Weimer  <fweimer@redhat.com>
29831         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
29832         function.
29833         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
29834         STEP4_TABLE, process_arg): Move macro definitions
29835         out of the vfprintf function.  (Cosmetic change only.)
29837 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
29839         * benchtests/Makefile (stdio-common-bench): Define.
29840         (benchset): Add stdio-common-bench.
29841         * sprintf-inputs: New file.
29842         * sprintf-source.c: New file.
29844 2015-05-21  Andreas Schwab  <schwab@suse.de>
29846         [BZ #13028]
29847         [BZ #17053]
29848         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
29849         of struct __res_state.
29850         * resolv/res_send.c (__libc_res_nsend): Likewise.
29851         (get_nsaddr): New function.
29852         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
29853         statp directly.
29855 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
29857         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
29858         -D_POSIX_C_SOURCE=199506L.
29860         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
29862         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
29863         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
29864         Do not mention otherwise.
29865         [POSIX] (_XOPEN_VERSION): Do not expect.
29866         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
29867         [POSIX] (_POSIX2_C_BIND): Likewise.
29868         [POSIX] (_POSIX2_VERSION): Likewise.
29869         [POSIX] (_XOPEN_XPG2): Likewise.
29870         [POSIX] (_XOPEN_XPG3): Likewise.
29871         [POSIX] (_XOPEN_XPG4): Likewise.
29872         [POSIX] (_XOPEN_UNIX): Likewise.
29873         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
29874         [POSIX] (_POSIX_BARRIERS): Likewise.
29875         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
29876         [POSIX] (_POSIX_CPUTIME): Likewise.
29877         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
29878         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
29879         [POSIX] (_POSIX_SHELL): Likewise.
29880         [POSIX] (_POSIX_SPAWN): Likewise.
29881         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
29882         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
29883         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
29884         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
29885         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
29886         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
29887         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
29888         [POSIX] (_XBS5_LP64_OFF64): Likewise.
29889         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
29890         [POSIX] (_POSIX_TIMEOUTS): Likewise.
29891         [POSIX] (_POSIX2_PBS): Likewise.
29892         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
29893         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
29894         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
29895         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
29896         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
29897         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
29898         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
29899         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
29900         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
29901         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
29902         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
29903         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
29904         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
29905         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
29906         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
29907         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
29908         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
29909         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
29910         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
29911         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
29912         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
29913         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
29914         [POSIX] (_SC_2_C_BIND): Likewise.
29915         [POSIX] (_SC_2_C_VERSION): Likewise.
29916         [POSIX] (_SC_2_PBS): Likewise.
29917         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
29918         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
29919         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
29920         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
29921         [POSIX] (_SC_2_PBS_TRACK): Likewise.
29922         [POSIX] (_SC_ATEXIT_MAX): Likewise.
29923         [POSIX] (_SC_BARRIERS): Likewise.
29924         [POSIX] (_SC_BASE): Likewise.
29925         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
29926         [POSIX] (_SC_DEVICE_IO): Likewise.
29927         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
29928         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
29929         [POSIX] (_SC_FD_MGMT): Likewise.
29930         [POSIX] (_SC_FIFO): Likewise.
29931         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
29932         [POSIX] (_SC_FILE_LOCKING): Likewise.
29933         [POSIX] (_SC_FILE_SYSTEM): Likewise.
29934         [POSIX] (_SC_IOV_MAX): Likewise.
29935         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
29936         [POSIX] (_SC_NETWORKING): Likewise.
29937         [POSIX] (_SC_PAGE_SIZE): Likewise.
29938         [POSIX] (_SC_PASS_MAX): Likewise.
29939         [POSIX] (_SC_PIPE): Likewise.
29940         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
29941         [POSIX] (_SC_REGEXP): Likewise.
29942         [POSIX] (_SC_SHELL): Likewise.
29943         [POSIX] (_SC_SIGNALS): Likewise.
29944         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
29945         [POSIX] (_SC_SPIN_LOCKS): Likewise.
29946         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
29947         [POSIX] (_SC_USER_GROUPS): Likewise.
29948         [POSIX] (_SC_USER_GROUPS_R): Likewise.
29949         [POSIX] (_SC_STREAMS): Likewise.
29950         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
29951         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
29952         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
29953         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
29954         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
29955         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
29956         [POSIX] (_PC_FILESIZEBITS): Likewise.
29957         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
29958         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
29959         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
29960         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
29961         [POSIX] (uid_t): Likewise.
29962         [POSIX] (gid_t): Likewise.
29963         [POSIX] (off_t): Likewise.
29964         [POSIX] (pid_t): Likewise.
29965         [POSIX] (cuserid): Allow.
29966         (_SC_2_CHAR_TERM): Require constant.
29967         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
29968         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
29969         variable.
29971 2015-05-20  Roland McGrath  <roland@hack.frob.com>
29973         * sysdeps/nacl/pthread-pids.h: New file.
29974         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
29975         (create_thread): Use __nacl_get_tid to initialize PD->tid.
29977         * nptl/pthread-pids.h: New file.
29978         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
29979         * nptl/nptl-init.c: Include <pthread-pids.h>.
29980         (__pthread_initialize_minimal_internal):
29981         Call __pthread_initialize_pids instead of set_tid_address syscall.
29983         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
29984         * sysdeps/posix/usleep.c: ... here.
29986 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29988         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
29989         call_pselect6 object.
29990         [$(subdir) = io]: Remove call_sync_file_range object.
29991         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
29992         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
29993         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
29994         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
29996 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
29998         * math/s_cproj.c: Add include "math_private.h".
29999         * math/s_cprojf.c: Likewise.
30000         * math/s_cprojl.c: Likewise.
30002 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
30004         [BZ #18244]
30005         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
30006         high mantissa bit when testing whether P is a NaN.
30007         * math/libm-test.inc (remainder_test_data): Add more tests.
30008         (remquo_test_data): Likewise.
30010         [BZ #18049]
30011         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
30012         below -32, return the argument, with underflow if subnormal.
30013         * math/auto-libm-test-in: Add more tests of atanh.
30014         * math/auto-libm-test-out: Regenerated.
30016 2015-05-19  Roland McGrath  <roland@hack.frob.com>
30018         [BZ #18434]
30019         * nptl/tst-sem15.c: New file.
30020         * nptl/Makefile (tests): Add it.
30021         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
30022         s/<</>>/ to fix typo in EOVERFLOW check.
30023         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
30025 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30027         * manual/strings.texi (envz_remove): Fix typo in safety
30028         annotations.
30030 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
30031             Steve Ellcey  <sellcey@imgtec.com>
30033         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
30034         in order to avoid strict alias warnings.
30035         (iruserok_af): Ditto for ra.
30037 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
30039         [BZ #17581]
30040         * malloc/hooks.c
30041         (magicbyte): Convert to a function and avoid returning 0x01.
30042         (mem2mem_check): Avoid using a length byte equal to the magic byte.
30043         (mem2chunk_check): Fix unsigned comparisons to zero.
30044         Hoist defs of sz and magic.
30046 2015-05-19  Richard Henderson  <rth@redhat.com>
30048         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
30050         * sysdeps/alpha/fpu/libm-test-ulps: Update.
30052 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30054         [BZ #16159]
30055         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
30056         * malloc/arena.c (arena_lock): Check if arena is corrupt.
30057         (reused_arena): Find a non-corrupt arena.
30058         (heap_trim): Pass arena to unlink.
30059         * malloc/hooks.c (malloc_check_get_size): Pass arena to
30060         malloc_printerr.
30061         (top_check): Likewise.
30062         (free_check): Likewise.
30063         (realloc_check): Likewise.
30064         * malloc/malloc.c (malloc_printerr): Add arena argument.
30065         (unlink): Likewise.
30066         (munmap_chunk): Adjust.
30067         (ARENA_CORRUPTION_BIT): New macro.
30068         (arena_is_corrupt): Likewise.
30069         (set_arena_corrupt): Likewise.
30070         (sysmalloc): Use mmap if there are no usable arenas.
30071         (_int_malloc): Likewise.
30072         (__libc_malloc): Don't fail if arena_get returns NULL.
30073         (_mid_memalign): Likewise.
30074         (__libc_calloc): Likewise.
30075         (__libc_realloc): Adjust for additional argument to
30076         malloc_printerr.
30077         (_int_free): Likewise.
30078         (malloc_consolidate): Likewise.
30079         (_int_realloc): Likewise.
30080         (_int_memalign): Don't touch corrupt arenas.
30081         * malloc/tst-malloc-backtrace.c: New test case.
30083         * Makefile (summarize-tests): Fix return value on success.
30085         * manual/string.texi (Envz Functions): Add envz_remove.
30087 2015-05-18  Roland McGrath  <roland@hack.frob.com>
30089         * sysdeps/posix/opendir.c: Include <stdbool.h>.
30090         (invalid_name): New function, broken out of ...
30091         (__opendirat): ... here.  Call it.
30092         (need_isdir_precheck): New function, broken out of ...
30093         (__opendirat): ... here.  Call it.
30094         Use __fxstatat64, not __xstatat64.
30095         (opendir_oflags): New function, broken out of ...
30096         (__opendirat): ... here.  Call it.
30097         (opendir_tail): New function, broken out of ...
30098         (__opendirat): ... here.  Call it.
30099         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
30100         opendir_tail, rather than punting to __opendirat.
30101         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
30103 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30105         * .gitignore: Ignore generated *.pyc.
30107 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
30109         * include/stdio.h: Define __need_wint_t.
30110         * test-skeleton.c: Avoid `for' loop initial declaration.
30111         * nptl/tst-initializers1.c: Use test-skeleton.c.
30113 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30115         [BZ #18418]
30116         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
30118 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
30120         [BZ #16352]
30121         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
30122         (__ieee754_atanh): Force underflow exception for results with
30123         small absolute value.
30124         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
30125         (__ieee754_atanhf): Force underflow exception for results with
30126         small absolute value.
30127         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
30128         (__ieee754_atanh): Force underflow exception for results with
30129         small absolute value.
30130         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
30131         (__ieee754_atanhf): Force underflow exception for results with
30132         small absolute value.
30133         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
30134         (__ieee754_atanhl): Force underflow exception for results with
30135         small absolute value.
30136         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
30137         (__ieee754_atanhl): Force underflow exception for results with
30138         small absolute value.
30139         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
30140         (__ieee754_atanhl): Force underflow exception for results with
30141         small absolute value.
30142         * math/auto-libm-test-in: Do not allow missing underflow
30143         exceptions from atanh.
30144         * math/auto-libm-test-out: Regenerated.
30146         [BZ #18221]
30147         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
30148         2**-28 as threshold for returning x or +/- 1/x.
30149         * math/auto-libm-test-in: Add more tests of tan.
30150         * math/auto-libm-test-out: Regenerated.
30152         [BZ #18220]
30153         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30154         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
30155         * math/auto-libm-test-in: Add another test of lgamma.
30156         * math/auto-libm-test-out: Regenerated.
30158 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
30160         * stdio-common/printf_fp.c (___printf_fp): Use abs.
30161         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
30162         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
30163         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
30164         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
30165         (ADD2A): Use fabs.  (SUB2A): Use fabs.
30166         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
30167         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
30168         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
30169         (log1): Use fabs.  (my_log2): Use fabs.
30170         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
30171         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
30172         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
30173         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
30174         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
30175         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
30176         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
30177         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
30178         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
30179         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
30180         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
30182 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
30184         [BZ #18217]
30185         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
30186         as threshold for returning 1 - x.
30187         * math/auto-libm-test-in: Add more tests of erfc.
30188         * math/auto-libm-test-out: Regenerated.
30190 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
30192         [BZ #18196]
30193         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
30194         threshold for large arguments.
30195         * math/auto-libm-test-in: Add another test of atan.
30196         * math/auto-libm-test-out: Regenerated.
30198         [BZ #16339]
30199         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
30200         (__log1p): Force underflow exception for results with small
30201         absolute value.
30202         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
30203         (__log1pf): Force underflow exception for results with small
30204         absolute value.
30205         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
30206         (__log1p): Force underflow exception for results with small
30207         absolute value.
30208         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
30209         (__log1pf): Force underflow exception for results with small
30210         absolute value.
30211         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
30212         (__log1pl): Force underflow exception for results with small
30213         absolute value.
30214         * math/auto-libm-test-in: Do not allow missing underflow
30215         exceptions from log1p.
30216         * math/auto-libm-test-out: Regenerated.
30218 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
30219             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30221         [BZ #16704]
30222         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
30224 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
30226         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
30227         (libmvec): New variable.
30228         * configure.ac: Added option for mathvec build.
30229         * configure: Regenerated.
30230         * mathvec/Depend: New file.
30231         * mathvec/Makefile: New file.
30232         * shlib-versions: Added libmvec.
30233         * math/Makefile: Added rule for libm.so installation.
30235         * bits/math-vector.h: New file.
30236         * bits/libm-simd-decl-stubs.h: New header.
30237         * math/Makefile (headers): Added new header
30238         libm-simd-decl-stubs.h.
30239         * math/math.h (__MATHCALL_VEC): New macro.
30241         * math/gen-libm-have-vector-test.sh: Script generates series of macros
30242         for conditions in testing functions.
30243         * math/Makefile: Added call of libm-have-vector-test.sh.
30244         * math/libm-test.inc (HAVE_VECTOR): New macros.
30246         * math/libm-test.inc: START refactored.
30247         * math/test-double.c (TEST_MATHVEC): Add define.
30248         * math/test-float.c: Likewise.
30249         * math/test-idouble.c: Likewise.
30250         * math/test-ifloat.c: Likewise.
30251         * math/test-ildoubl.c: Likewise.
30252         * math/test-ldouble.c: Likewise.
30253         * sysdeps/generic/math-tests-arch.h
30254         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
30255         architecture check.
30257         * math/test-double.c (FUNC_TEST): New macro.
30258         * math/test-float.c: Likewise.
30259         * math/test-idouble.c: Likewise.
30260         * math/test-ifloat.c: Likewise.
30261         * math/test-ildoubl.c: Likewise.
30262         * math/test-ldouble.c: Likewise.
30263         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
30265 2015-05-13  Roland McGrath  <roland@hack.frob.com>
30267         * sysdeps/nacl/fdopendir.c: New file.
30269         * dirent/scandir-tail.c: New file.
30270         * dirent/scandir64-tail.c: New file.
30271         * dirent/Makefile (routines): Add them.
30272         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
30273         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
30274         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
30275         [!SCANDIR] (SCANDIR_TAIL): New macro.
30276         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
30277         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
30278         (SCANDIRAT): Macro removed.
30279         (SCANDIR_TAIL): New macro.
30280         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
30281         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
30282         (SCANDIRAT): Just call __opendirat and __scandir_tail.
30283         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
30284         (READDIR): Macro removed.
30285         (SCANDIR_TAIL): New macro.
30286         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
30287         (SCANDIR_TAIL): New macro.
30289         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
30290         * dirent/scandir-cancel.c: ... to this new file.
30291         * dirent/Makefile (routines): Add it.
30292         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
30293         * sysdeps/unix/sysv/linux/i386/scandir64.c
30294         (SKIP_SCANDIR_CANCEL): Macro removed.
30295         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
30297         * dirent/tst-scandir.c: New file.
30298         * dirent/tst-scandir64.c: New file.
30299         * dirent/Makefile (tests): Add them.
30301 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
30303         [BZ #18409]
30304         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
30306 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30308         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
30309         list.
30311 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
30313         * benchtests/bench-strcoll.c: New benchmark.
30314         * benchtests/Makefile: Generate locales and run benchmark.
30315         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
30316         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
30317         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
30318         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
30319         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
30320         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
30321         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
30322         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
30323         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
30324         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
30325         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
30326         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
30327         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
30328         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
30329         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
30330         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
30331         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
30332         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
30333         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
30334         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
30335         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
30336         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
30337         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
30338         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
30340 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
30342         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
30343         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30345 2015-05-12  Roland McGrath  <roland@hack.frob.com>
30347         * posix/uname-values.h: New file.
30348         * posix/uname.c: Include that instead of <config-name.h>.
30349         * sysdeps/nacl/uname-values.h: New file.
30350         * sysdeps/arm/nacl/uname-values.h: New file.
30352 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
30354         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
30355         splitting into fields.
30357 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
30359         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
30360         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
30361         * locale/localeinfo.h: Add enum collation_encoding_type.
30362         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
30363         * programs/ld-collate.c (collate_output): Add encoding type info.
30364         * string/strcoll_l.c (STRDIFF): New function.
30365         * (STRCOLL): Use STRDIFF to skip over equal prefix.
30366         * wcsmbs/wcscoll_l.c: Define STRDIFF.
30368 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
30370         [BZ #18397]
30371         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
30372         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
30373         <fpu_control.h> instead of <math/fpu_control.c>.
30374         * sysdeps/mips/mips32/fpu/Makefile: New file.
30376 2015-05-11  Andreas Schwab  <schwab@suse.de>
30378         [BZ #18007]
30379         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
30380         nss_endgrent.
30381         (_nss_compat_endgrent): Call nss_endgrent.
30382         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
30383         nss_endpwent.
30384         (_nss_compat_endpwent): Call nss_endpwent.
30385         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
30386         needent, call nss_setspent only if non-zero.
30387         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
30388         (internal_endspent): Don't call nss_endspent.
30389         (_nss_compat_endspent): Call nss_endspent.
30390         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
30391         Remove.  All uses removed.
30392         (internal_setent): Remove parameter stayopen, add parameter
30393         stream.  Use it instead of global variable.
30394         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
30395         (internal_endent, internal_getent): Add parameter stream.  Use it
30396         instead of global variable.
30397         (CONCAT(_nss_files_end,ENTNAME))
30398         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
30399         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
30400         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
30401         uses removed.
30402         (internal_setent, internal_endent): Add parameter stream.  Use it
30403         instead of global variable.
30404         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
30405         stream.
30406         (get_next_alias): Add parameter stream.
30407         (_nss_files_getaliasent_r): Pass global stream.
30408         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
30409         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
30410         (_nss_files_gethostbyname4_r): Pass local stream to
30411         internal_setent, internal_getent and internal_endent.  Remove
30412         locking.
30414 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
30416         * tst-strfmon1.c (tests): Update expected currency symbol.
30418 2015-05-08  Roland McGrath  <roland@hack.frob.com>
30420         * sysdeps/nacl/gethostname.c: New file.
30422 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
30424         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
30425         and sinh.
30426         * math/auto-libm-test-out: Regenerated.
30427         * sysdeps/i386/fpu/libm-test-ulps: Update.
30428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30430 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
30432         [BZ #18125]
30433         * stdlib/tst-setcontext3.c: New file.
30434         * stdlib/tst-setcontext3.sh: New file.
30435         * stdlib/Makefile (tests): Add tst-setcontext3.
30436         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
30437         to verify test program created output file.
30438         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
30439         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
30440         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
30441         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
30443 2015-05-06  Roland McGrath  <roland@hack.frob.com>
30445         [BZ #18383]
30446         * elf/tst-tlsalign.c: New file.
30447         * elf/tst-tlsalign-static.c: New file.
30448         * elf/tst-tlsalign-lib.c: New file.
30449         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
30450         (tests-static): Add tst-tlsalign-static.
30451         (modules-names): Add tst-tlsalign-lib.
30452         (test-xfail-tst-tlsalign): New variable.
30453         (test-xfail-tst-tlsalign-static): New variable.
30455         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
30456         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
30458 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
30460         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
30461         csqrt, erfc, sin and sincos.
30462         * math/auto-libm-test-out: Regenerated.
30463         * sysdeps/i386/fpu/libm-test-ulps: Update.
30464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30466 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30468         * sysdeps/aarch64/libm-test-ulps: Update.
30470 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
30472         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
30473         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
30474         * math/auto-libm-test-out: Regenerated.
30475         * sysdeps/i386/fpu/libm-test-ulps: Update.
30476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30478 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
30480         [BZ #18265]
30481         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
30482         (wcsncpy): Likewise.
30484 2015-05-05  Florian Weimer  <fweimer@redhat.com>
30486         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
30487         Assume __ASSUME_FALLOCATE is always true.
30488         * sysdeps/unix/sysv/linux/posix_fallocate64.c
30489         (__posix_fallocate64_l64): Likewise.
30490         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
30491         (posix_fallocate): Likewise.
30492         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
30493         (__posix_fallocate64_l64): Likewise.
30494         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30495         [!__ASSUME_FALLOCATE]: Add comment.
30497 2015-05-05  Florian Weimer  <fweimer@redhat.com>
30499         * sysdeps/unix/sysv/linux/i386/Makefile
30500         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
30501         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
30502         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
30503         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30504         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30505         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
30506         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
30508 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
30510         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
30511         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
30512         tgamma.
30513         * math/auto-libm-test-out: Regenerated.
30514         * sysdeps/i386/fpu/libm-test-ulps: Update.
30515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30517 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
30519         * math/auto-libm-test-in: Add more tests of tgamma.
30520         * math/auto-libm-test-out: Regenerated.
30521         * sysdeps/i386/fpu/libm-test-ulps: Update.
30522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30524         * math/auto-libm-test-in: Add more tests of tanh.
30525         * math/auto-libm-test-out: Regenerated.
30526         * sysdeps/i386/fpu/libm-test-ulps: Update.
30527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30529         * math/auto-libm-test-in: Add more tests of tan.
30530         * math/auto-libm-test-out: Regenerated.
30531         * sysdeps/i386/fpu/libm-test-ulps: Update.
30532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30534         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
30535         * math/auto-libm-test-out: Regenerated.
30536         * sysdeps/i386/fpu/libm-test-ulps: Update.
30537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30539         * math/auto-libm-test-in: Add another test of pow.
30540         * math/auto-libm-test-out: Regenerated.
30541         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30543         * math/auto-libm-test-in: Add more tests of lgamma.
30544         * math/auto-libm-test-out: Regenerated.
30545         * sysdeps/i386/fpu/libm-test-ulps: Update.
30546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30548         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
30549         log1p.
30550         * math/auto-libm-test-out: Regenerated.
30551         * sysdeps/i386/fpu/libm-test-ulps: Update.
30552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30554 2015-05-01  Mark Wielaard  <mjw@redhat.com>
30556         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
30557         Elf64_Chdr structs and ELFCOMPRESS constants.
30559 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
30561         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
30562         expm1.
30563         * math/auto-libm-test-out: Regenerated.
30564         * sysdeps/i386/fpu/libm-test-ulps: Update.
30565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30567         * math/auto-libm-test-in: Add more tests of erf and erfc.
30568         * math/auto-libm-test-out: Regenerated.
30569         * sysdeps/i386/fpu/libm-test-ulps: Update.
30570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30572 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30574         * config.h.in (HAVE_AARCH64_BE): Add.
30576 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
30578         * math/auto-libm-test-in: Add more tests of csqrt.
30579         * math/auto-libm-test-out: Regenerated.
30580         * sysdeps/i386/fpu/libm-test-ulps: Update.
30581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30583         * math/auto-libm-test-in: Add more tests of cosh and sinh.
30584         * math/auto-libm-test-out: Regenerated.
30585         * sysdeps/i386/fpu/libm-test-ulps: Update.
30586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30588         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
30590 2015-04-29  Roland McGrath  <roland@hack.frob.com>
30592         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
30593         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
30595         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
30596         (euidaccess, eaccess): Define as weak aliases.
30598         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
30599         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
30600         but __suseconds_t is often 'long int' so some sources assume that
30601         type is being used (e.g. they use %ld to print tv_usec).
30603 2015-04-29  Florian Weimer  <fweimer@redhat.com>
30605         [BZ #18007]
30606         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
30607         (CVE-2014-8121)
30608         * nss/tst-nss-getpwent.c: New file.
30609         * nss/Makefile (tests): Add new test.
30611 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
30613         [BZ #18346]
30614         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
30615         exponents less than 48 as cases where high part of mantissa needs
30616         examining to determine whether argument is integral.
30617         * math/libm-test.inc (round_test_data): Add more tests.
30619 2015-04-28  Mark Wielaard  <mjw@redhat.com>
30621         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
30623 2015-04-27  David S. Miller  <davem@davemloft.net>
30625         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
30626         __tls_get_addr.
30627         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
30629 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
30631         [BZ#18333]
30632         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
30634 2015-04-27  Florian Weimer  <fweimer@redhat.com>
30636         [BZ#18333]
30637         * time/tzset.c (parse_tzname): Return error on memory allocation
30638         failure.
30639         * test-skeleton.c (struct temp_name_list): Change type of name
30640         member to non-const.
30641         (add_temp_file): Create a copy of the file name.
30642         (delete_temp_files): Deallocate memory.
30643         (create_temp_file): Add comment.
30645 2015-04-24  Florian Weimer  <fweimer@redhat.com>
30647         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
30648         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
30650 2015-04-24  Roland McGrath  <roland@hack.frob.com>
30652         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
30653         * sysdeps/arm/configure: Regenerated.
30655 2015-04-24  Florian Weimer  <fweimer@redhat.com>
30657         [BZ #17715]
30658         * time/tzfile.c (__tzfile_read): Check for large values of
30659         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
30660         * time/tzset.c (__tzstring_len): New function, based on the old
30661         __tzstring function.
30662         (__tzstring): Call __tzstring_len.
30663         (parse_tzname): New helper function extracted from
30664         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
30665         the input string.
30666         (parse_offset): New helper function extracted from
30667         __tzset_parse_tz.  Replace switch with fallthrough with
30668         initialization before sscanf.
30669         (parse_rule): Likewise.
30670         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
30671         new-style function definition.
30672         * timezone/Makefile (tests): Add tst-tzset.
30673         (tst-tzset.out): Dependencies on time zone files.
30674         (tst-tzset-ENV): Set TZDIR.
30675         (testdata/XT%): Copy crafted time zone files.
30676         * timezone/README: Mention crafted time zone files.
30677         * timezone/testdata/XT1, timezone/testdata/XT2,
30678         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
30679         files.
30680         * timezone/tst-tzset.c: New test.
30682 2015-04-24  Florian Weimer  <fweimer@redhat.com>
30684         * Makeconfig (+gccwarn): Remove -Winline.
30686 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
30688         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
30690 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
30692         * NEWS: Mention sysconf() cache information support for s390.
30693         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
30695 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
30697         * math/k_casinh.c (__kernel_casinh): Use __copysign.
30698         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
30699         (__nearbyint): Likewise.
30700         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
30701         (copysignl): Likewise.
30703 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
30705         [BZ #18287]
30706         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
30707         based on padding.  (CVE-2015-1781)
30709 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30711         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
30712         libc-vdso.h.
30713         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
30714         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
30715         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
30716         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
30717         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
30718         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
30719         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
30720         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30721         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30722         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
30723         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
30724         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30725         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
30726         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
30727         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
30728         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
30729         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
30730         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
30731         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
30732         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
30733         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
30734         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
30735         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
30737 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
30739         * stdlib/setenv.c (__add_to_environ):
30740         Dump core quickly if setenv (..., NULL, ...) is called.
30741         This time, do it the right way, and pacify GCC with a pragma.
30743 2015-04-17  Roland McGrath  <roland@hack.frob.com>
30745         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
30746         IMAP->l_prev cannot be null, and #if out the code for the contrary
30747         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
30748         believe that NS (&_dl_ns[NSID]) could point outside the array.
30750         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
30751         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
30752         before using NSID as an index.
30754 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
30756         [BZ #17825]
30757         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
30758         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
30759         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30761 2015-04-17  Roland McGrath  <roland@hack.frob.com>
30763         Add preliminary port to Google Native Client on ARM.
30764         * abi-tags (.*-.*-nacl.*): New entry.
30765         * sysdeps/arm/nacl: New directory.
30766         * sysdeps/nacl: New directory.
30768 2015-04-16  David S. Miller  <davem@davemloft.net>
30770         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
30771         lowlevellock-futex.h
30773 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
30775         * sysdeps/tile/configure.ac: New file.
30776         * sysdeps/tile/configure: Regenerated.
30778 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30780         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
30781         conditionals for weak_alias and libc_hidden_weak.
30782         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
30783         libc_hidden_weak and weak_alias.
30784         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
30785         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
30786         and weak_alias for static one.
30788 2015-04-15  David S. Miller  <davem@davemloft.net>
30790         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30792 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30794         [BZ #18206]
30795         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
30796           Use signed comparision instead of substraction to avoid
30797           overflow bug.
30798         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
30799           Take the sign of ret.
30800         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
30801           Do not expect precise return values. Only the sign matters.
30802         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
30803         * wcsmbs/test-wcsncmp.c: New File.
30804         * string/test-strncmp.c: Add wcsncmp support.
30806 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30808         [BZ #6792]
30809         * math/w_log1p.c: New file.
30810         * math/w_log1pf.c: Likewise.
30811         * math/w_log1pl.c: Likewise.
30812         * math/Makefile (libm-calls): Add w_log1p.
30813         * math/s_log1pl.c (log1pl): Remove weak_alias.
30814         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
30815         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
30816         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
30817         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
30818         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
30819         [NO_LONG_DOUBLE] (log1pl): Likewise.
30820         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
30821         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
30822         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
30823         (log1p): Remove long_double_symbol.
30824         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
30825         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
30826         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
30827         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
30828         remove weak_alias for corresponding log1p function.
30829         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
30830         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
30831         * sysdeps/ia64/fpu/w_log1p.c: New file.
30832         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
30833         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
30834         * math/libm-test.inc (log1p_test_data): Add errno expectations.
30836 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
30838         [BZ #18247]
30839         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
30840         decimal exponent by 1.
30841         * stdlib/tst-strtod-round-data: Add more tests.
30842         * stdlib/tst-strtod-round.c (tests): Regenerated.
30844 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
30846         * math/auto-libm-test-in: Add more tests of clog and clog10.
30847         * math/auto-libm-test-out: Regenerated.
30848         * sysdeps/i386/fpu/libm-test-ulps: Update.
30849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30851 2015-04-09  Roland McGrath  <roland@hack.frob.com>
30853         * Makeconfig (module-cppflags): Exclude all .v.i files.
30854         (skip-module-cppflags): Variable removed.
30856         * configure.ac (libc_config_ok): Initialize before reading
30857         preconfigure scripts, not after.
30858         * configure: Regenerated.
30860         * test-skeleton.c (TIMEOUT): Move #define to top level.
30861         (main): Grok environment variable TEST_DIRECT.  If set, print
30862         test expectation details into that file and then behave as if
30863         given --direct.
30865 2015-04-09  Florian Weimer  <fweimer@redhat.com>
30867         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
30868         warning on 32-bit.
30870 2015-04-08  David S. Miller  <davem@davemloft.net>
30872         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30874 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
30876         * math/auto-libm-test-in: Add more tests of atanh.
30877         * math/auto-libm-test-out: Regenerated.
30878         * sysdeps/i386/fpu/libm-test-ulps: Update.
30879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30881         * math/auto-libm-test-in: Add more tests of atan.
30882         * math/auto-libm-test-out: Regenerated.
30883         * sysdeps/i386/fpu/libm-test-ulps: Update.
30884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30886 2015-04-08  Florian Weimer  <fweimer@redhat.com>
30888         * elf/pldd.c (main): Rewrite to use struct
30889         scratch_buffer instead of extend_alloca.
30890         * elf/pldd-xx.c (find_maps): Likewise.
30891         * grp/initgroups.c: Include <scratch_buffer.h> instead of
30892         <alloca.h>.
30893         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
30894         scratch_buffer instead of extend_alloca.
30895         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
30896         grp/compat-initgroups.c.
30897         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
30898         Rewrite to use struct scratch_buffer instead of extend_alloca.
30899         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
30900         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30902 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
30904         * math/auto-libm-test-in: Add more tests of cbrt.
30905         * math/auto-libm-test-out: Regenerated.
30906         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30908         * math/auto-libm-test-in: Add more tests of cabs.
30909         * math/auto-libm-test-out: Regenerated.
30910         * sysdeps/i386/fpu/libm-test-ulps: Update.
30911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30913         [BZ #18210]
30914         [BZ #18211]
30915         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
30916         (__ieee754_atan2): Set FE_TONEAREST mode for internal
30917         computations.
30918         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
30919         clog10.
30920         * math/auto-libm-test-out: Regenerated.
30921         * sysdeps/i386/fpu/libm-test-ulps: Update.
30922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30924         [BZ #18197]
30925         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
30926         (atan): Set FE_TONEAREST mode for internal computations.
30927         * math/auto-libm-test-in: Add more tests of atan.
30928         * math/auto-libm-test-out: Regenerated.
30930 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
30932         [BZ #17930]
30933         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
30935 2015-04-07  Florian Weimer  <fweimer@redhat.com>
30937         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
30939 2015-04-07  Florian Weimer  <fweimer@redhat.com>
30941         * include/scratch_buffer.h: New file.
30942         * malloc/scratch_buffer_grow.c: Likewise.
30943         * malloc/scratch_buffer_grow_preserve.c: Likewise.
30944         * malloc/scratch_buffer_set_array_size.c: Likewise.
30945         * malloc/tst-scratch_buffer.c: Likewise.
30946         * malloc/Makefile (routines): Add scratch_buffer_grow.
30947         (tests): Add test case.
30948         * malloc/Versions (GLIBC_PRIVATE): Export
30949         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
30950         __libc_scratch_buffer_set_array_size.
30952 2015-04-06  Richard Henderson  <rth@redhat.com>
30954         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
30955         * sysdeps/alpha/fpu/libm-test-ulps: Update.
30957         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
30958         unsigned int before printing.
30960 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30962         [BZ #17596]
30963         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
30964         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30966 2015-04-02  Florian Weimer  <fweimer@redhat.com>
30968         * include/libc-internal.h (libc_max_align_t): Define.
30970 2015-04-02  Andreas Schwab  <schwab@suse.de>
30972         [BZ #16850]
30973         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
30975 2015-04-02  Mel Gorman  <mgorman@suse.de>
30977         [BZ #17195]
30978         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
30979         as well as the main arena.
30981 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
30983         [BZ #18185]
30984         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
30985         sharing L2 cache to 2 for Silvermont/Knights Landing.
30987 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
30989         [BZ #17711]
30990         * config.make.in (have-protected-data): New.
30991         * configure.ac: Check linker support for protected data symbol.
30992         * configure: Regenerated.
30993         * elf/Makefile (modules-names): Add tst-protected1moda and
30994         tst-protected1modb if $(have-protected-data) is yes.
30995         (tests): Add tst-protected1a and tst-protected1b if
30996         $(have-protected-data) is yes.
30997         ($(objpfx)tst-protected1a): New.
30998         ($(objpfx)tst-protected1b): Likewise.
30999         (tst-protected1modb.so-no-z-defs): Likewise.
31000         * elf/tst-protected1a.c: New file.
31001         * elf/tst-protected1b.c: Likewise.
31002         * elf/tst-protected1mod.h: Likewise.
31003         * elf/tst-protected1moda.c: Likewise.
31004         * elf/tst-protected1modb.c: Likewise.
31006 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31008         [BZ #17711]
31009         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
31010         indicates it is called from do_lookup_x on relocation against
31011         protected data, skip the data definion in the executable from
31012         copy reloc.
31013         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
31014         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
31015         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
31016         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
31017         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
31018         otherwise to 0.
31019         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
31020         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
31021         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
31022         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
31023         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
31024         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
31026 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
31028         * sysdeps/nptl/pthread.h: Remove duplicate definition of
31029         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
31031 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
31033         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
31034         THREAD_SETMEM_NC.
31035         * sysdeps/x86_64/nptl/tls.h: Ditto.
31037 2015-03-27  Roland McGrath  <roland@hack.frob.com>
31039         * dlfcn/tststatic.c (main): Converted to ...
31040         (do_test): ... this.
31041         (TEST_FUNCTION): New macro.
31042         Include test-skeleton.c.
31044 2015-03-26  Alan Modra  <amodra@gmail.com>
31046         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
31047         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
31048         zero for undefined weak.
31049         (elf_machine_plt_conflict): Similarly.
31051 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
31053         * math/auto-libm-test-in: Add more tests of acosh, asinh and
31054         atanh.
31055         * math/auto-libm-test-out: Regenerated.
31056         * sysdeps/i386/fpu/libm-test-ulps: Update.
31057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31059         * math/auto-libm-test-in: Add another test of asin.
31060         * math/auto-libm-test-out: Regenerated.
31061         * sysdeps/i386/fpu/libm-test-ulps: Update.
31062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31064         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
31065         Remove macro.
31066         (LLL_EBX_REG): Likewise.
31067         (LLL_ENTER_KERNEL): Likewise.
31069         * math/auto-libm-test-in: Add more tests of asin.
31070         * math/auto-libm-test-out: Regenerated.
31071         * sysdeps/i386/fpu/libm-test-ulps: Update.
31072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31074         [BZ #18138]
31075         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
31076         libc_do_syscall_args): New structure.
31077         (INTERNAL_SYSCALL_MAIN_0): New macro.
31078         (INTERNAL_SYSCALL_MAIN_1): Likewise.
31079         (INTERNAL_SYSCALL_MAIN_2): Likewise.
31080         (INTERNAL_SYSCALL_MAIN_3): Likewise.
31081         (INTERNAL_SYSCALL_MAIN_4): Likewise.
31082         (INTERNAL_SYSCALL_MAIN_5): Likewise.
31083         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
31084         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
31085         Replace conditional definitions by conditional definitions of ....
31086         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
31087         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
31088         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
31089         (libpthread-sysdep_routines): Add libc-do-syscall.
31090         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
31091         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
31092         to __NR_futex not 240.
31094 2015-03-25  Alan Modra  <amodra@gmail.com>
31096         * NEWS: Advertise TLS optimization.
31097         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
31098         (DT_PPC_NUM): Increment.
31099         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
31100         (CHECK_STATIC_TLS): Use here.
31101         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
31102         TLS descriptors.
31103         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31104         * sysdeps/powerpc/dl-tls.c: New file.
31105         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
31106         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
31107         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
31108         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
31109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
31110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
31111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
31113 2015-03-25  Alan Modra  <amodra@gmail.com>
31115         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
31116         for overlapping .opd entries" to "support...".
31117         * sysdeps/powerpc/powerpc64/configure: Regenerate
31119 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
31121         * math/auto-libm-test-in: Add more tests of acos.
31122         * math/auto-libm-test-out: Regenerated.
31123         * sysdeps/i386/fpu/libm-test-ulps: Update.
31124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31126         * math/auto-libm-test-in: Add more tests of expm1.
31127         * math/auto-libm-test-out: Regenerated.
31128         * sysdeps/i386/fpu/libm-test-ulps: Update.
31129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31131 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
31133         * math/auto-libm-test-in: Add more tests of cosh and sinh.
31134         * math/auto-libm-test-out: Regenerated.
31135         * sysdeps/i386/fpu/libm-test-ulps: Update.
31136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31138         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31141         * math/auto-libm-test-in: Add more tests of log2.
31142         * math/auto-libm-test-out: Regenerated.
31143         * sysdeps/i386/fpu/libm-test-ulps: Update.
31144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31146 2015-03-23  Roland McGrath  <roland@hack.frob.com>
31148         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
31149         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
31150         _IO_IS_APPENDING bit in READ_WRITE instead.
31152 2015-03-23  Florian Weimer  <fweimer@redhat.com>
31154         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
31155         (__determine_cpumask_size): Replace extend_alloca with a
31156         variable-length array.  Do not treat res == 0 as an error.
31158 2015-03-23  Florian Weimer  <fweimer@redhat.com>
31160         [BZ #18100]
31161         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
31162         and integer overflow.
31163         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
31164         (main): Add integer overflow tests.
31165         * manual/pattern.texi (Calling Wordexp): Document additional use
31166         for WRDE_SYNTAX.
31168 2015-03-23  Alan Modra  <amodra@gmail.com>
31170         * config.h.in: Remove HAVE_ASM_PPC_REL16.
31171         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
31172         and false branch of conditional.
31173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31174         Likewise.
31176 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
31178         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
31179         libc-modules.h
31180         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
31181         unused declaration of _hurd_intr_rpc_msg_in_trap.
31182         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
31183         defined instead of whether it is non-zero.
31184         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
31185         input constraint instead of both input and output constraint.  Use ecx
31186         clobber instead of %ecx.
31187         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
31188         mutex_unlock): Use a statement expression instead of an expression list.
31189         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
31190         type to vm_size_t instead of vm_address_t.
31191         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
31192         defined instead of whether it is non-zero.
31193         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
31194         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
31195         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
31196         comparisons with mapaddr.
31197         * nscd/nscd-client.h: Include <time.h>.
31198         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
31199         9th parameter to __vm_region instead of int.
31200         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
31201         * scripts/check-local-headers.sh (exclude): Add device/,
31202         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
31203         cthreads.h.
31205 2015-03-19  Roland McGrath  <roland@hack.frob.com>
31207         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
31208         to account for alignment padding.
31209         * sysdeps/arm/memmove.S: Likewise.
31211 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
31213         * sysdeps/unix/sysv/linux/generic/README: New file.
31215 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
31217         [BZ #18138]
31218         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
31219         (futex_abstimed_wait)
31220         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
31221         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
31222         of lll_futex_timed_wait.
31224 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
31226         [BZ #17542]
31227         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
31229 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
31231         [BZ #17090]
31232         [BZ #17620]
31233         [BZ #17621]
31234         [BZ #17628]
31235         * NEWS: Update.
31236         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
31237         entries with Static TLS too.  Skip entries past the end of the
31238         allocated DTV, from Alan Modra.
31239         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
31240         Static TLS DTV entry set up from...
31241         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
31242         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
31243         * nptl/allocatestack.c (init_one_static_tls): ... and here...
31244         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
31245         for Static TLS.
31246         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
31247         that the slot we find is associated with the given map before
31248         using its generation count.
31249         * nptl_db/db_info.c: Include ldsodefs.h.
31250         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
31251         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
31252         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
31253         (link_map::l_tls_offset): New struct field.
31254         (dtv_t::counter): Likewise.
31255         (rtld_global): New struct.
31256         (_rtld_global): New rtld variable.
31257         (dl_tls_dtv_slotinfo_list): New rtld global field.
31258         (dtv_slotinfo_list): New struct.
31259         (dtv_slotinfo): Likewise.
31260         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
31261         (td_lookup): Rename to...
31262         (td_mod_lookup): ... this.  Use new mod parameter instead of
31263         LIBPTHREAD_SO.
31264         * nptl_db/td_thr_tlsbase.c: Include link.h.
31265         (dtv_slotinfo_list, dtv_slotinfo): New functions.
31266         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
31267         addresses even if the DTV is out of date or missing them.
31268         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
31269         index zero-length arrays.
31270         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
31271         (td_lookup): Make it a macro implemented in terms of...
31272         (td_mod_lookup): ... this declaration.
31273         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
31274         (DB_MAIN_VARIABLE): Likewise.
31276 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31278         [BZ #18134]
31279         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
31281 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
31283         * stdlib/setenv.c (__add_to_environ): Revert previous change.
31285 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
31287         [BZ #18128]
31288         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
31289         (atomic_add, atomic_increment_and_test)
31290         (atomic_decrement_and_test): Fix 64-bit arithmetic.
31292 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
31294         * stdlib/setenv.c (__add_to_environ):
31295         Dump core quickly if setenv (..., NULL, ...) is called.
31297 2015-03-13  Roland McGrath  <roland@hack.frob.com>
31299         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
31300         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
31301         all the necessary asm magic in one place.
31302         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
31303         using those.
31305 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
31307         [BZ #14906]
31308         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
31309         traced file mtime. Use consistent log message.
31310         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
31311         (register_traced_file): Call install_watches. Always set mtime.
31312         (invalidate_cache): Iterate over all trace files. Call install_watches.
31313         (inotify_check_files): Don't inline. Handle watching parent
31314         directories and configuration file movement in and out.
31315         (handle_inotify_events): New function.
31316         (main_loop_poll): Call handle_inotify_events.
31317         (main_loop_epoll): Likewise.
31318         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
31319         (struct traced_file): Use array of inotify fds. Add parent directory,
31320         and basename.
31321         (struct database_dyn): Remove unused file_mtime.
31322         (init_traced_file): New inline function.
31323         (define_traced_file): New macro.
31324         * nss/nss_db/db-init.c: Use define_traced_file.
31325         (_nss_db_init): Use init_traced_file.
31326         * nss/nss_files/files-init.c: Use define_traced_file.
31327         (_nss_files_init): Use init_traced_file.
31329 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
31331         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
31332         [_LIBC]: Do not include <stdlib.h>.
31333         [!_LIBC] (abort): Remove declaration.
31334         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
31335         _FP_STATIC_ASSERT instead of conditionally calling abort.
31336         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
31337         (_FP_EXTEND_CNAN): Likewise.
31338         (FP_TRUNC): Likewise.
31339         (__FP_CLZ): Likewise.
31340         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
31342 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
31344         * manual/string.texi (XPG basename): Fix prototype.
31346 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31348         [BZ #18080]
31349         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
31350         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
31351         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
31352         (__setcontext): Likewise.
31353         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
31354         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
31355         Call rt_sigprocmask syscall one time to set new signal mask
31356         and retrieve the current signal mask instead of two calls.
31357         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
31358         (__swapcontext): Likewise.
31359         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
31360         * stdlib/tst-setcontext2.c: New file.
31362 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31364         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31366 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
31368         [BZ #18093]
31369         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
31370         the wrong size.
31372 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
31374         [BZ #18043]
31375         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
31377 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31379         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
31380         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
31381         Remove define.
31382         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
31383         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
31384         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
31385         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
31386         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
31387         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
31388         define.
31389         * nptl_db/td_symbol_list.c (td_lookup): Remove
31390         HAVE_ASM_GLOBAL_DOT_NAME code.
31391         * sysdeps/powerpc/powerpc64/configure.ac: Remove
31392         HAVE_ASM_GLOBAL_DOT_NAME check.
31393         * sysdeps/powerpc/powerpc64/configure: Regenerate.
31394         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
31395         (DOT_LABEL): Remove define.
31396         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
31397         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
31398         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
31399         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
31400         (__TLS_GET_ADDR): Likewise.
31401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
31402         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
31404 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
31406         [BZ #18111]
31407         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
31408         (_FPU_SETCW): Initialize cw from fpsr before storing.
31409         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
31410         (fesetexceptflag): Rewrite using fpu_control.h.
31411         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
31413 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
31415         [BZ #18110]
31416         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
31417         asms.
31418         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
31420 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
31422         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
31423         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
31424         abort.
31425         (_FP_FMA): Likewise.
31426         (_FP_DIV): Likewise.
31428 2015-03-10  Roland McGrath  <roland@hack.frob.com>
31430         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
31431         with 0 in that case.
31432         * Makefile (summarize-tests): New canned sequence, factored out of
31433         commands for targets tests and xtests.  Display summary lines that
31434         don't start with PASS: or XFAIL: rather than ones that do start with
31435         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
31436         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
31437         do start with ERROR: or FAIL:.
31438         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
31439         (except for [$(build-shared) = yes]).
31440         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
31441         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
31442         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
31443         * nptl/Makefile: Revert 2015-03-04 changes.
31444         [$(CXX) empty] (tests-unsupported): New variable.
31445         * debug/Makefile: Likewise.
31447         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
31448         gnulib file.  Replace __attribute with __attribute__ throughout.
31450 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
31452         * sysdeps/hppa/fpu/libm-test-ulps: Update.
31454 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
31456         [BZ #18104]
31457         * math/auto-libm-test-in: Add another test of pow.
31458         * math/auto-libm-test-out: Regenerated.
31460 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31462         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
31463         $(config-cflags-nofma).
31465 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
31467         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
31468         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
31469         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
31470         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
31471         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
31472         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
31473         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
31474         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
31475         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
31476         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
31477         Add comment on closing #endif.
31479 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31481         * posix/wordexp.c (CHAR_IN_SET): New macro.
31482         (parse_param): Use it.
31484 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31486         * sysdeps/powerpc/fpu/libm-test-ulps: update.
31488 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31490         [BZ #18043]
31491         * posix/wordexp.c (parse_param): Fix buffer overflow.
31492         * posix/wordexp-test.c (test_case): Add test case.
31494 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31496         [BZ #18042]
31497         * posix/wordexp.c (parse_backtick): Fix off-by-one.
31498         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
31500 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31502         [BZ #18043]
31503         * posix/wordexp-test.c (test_case): Add test for BZ #18043
31504         (do_bz18043): Delete.
31505         (at_page_end): New.
31506         (testit): Refactor to have words at the edge of unreadable page.
31508 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31510         [BZ #16734]
31511         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
31512         Cleanup read-only streams as well.
31513         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
31515 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31517         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
31518         <bits/libc-lockP.h>
31520 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
31522         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
31523         on [__KERNEL__].
31524         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
31525         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
31526         * soft-fp/op-common.h (_FP_DECL): Likewise.
31528 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
31530         * elf/ifuncdep2.c (global): Replace
31531         __attribute__((visibility("protected"))) with
31532         asm (".protected global").
31533         * elf/ifuncmod1.c (global): Likewise.
31534         * elf/ifuncmod5.c (global): Likewise.
31536 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
31538         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
31539         <asm/sfp-machine.h> instead of <sfp-machine.h>.
31541 2015-03-06  Roland McGrath  <roland@hack.frob.com>
31543         * manual/install.texi (Configuring and compiling):
31544         Document test-wrapper-env-only.
31545         * INSTALL: Regenerated.
31547 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31549         [BZ #18043]
31550         * posix/wordexp.c (parse_param): Fix buffer overflow.
31551         * posix/wordexp-test.c (do_bz18043): Add test case.
31553 2015-03-06  Vincent Bernat  <vincent@bernat.im>
31555         * time/tst-strptime2.c (do_test): Ensure failing tests are
31556         reported correctly.
31557         * time/tst-strptime3.c (do_test): Likewise.
31559 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
31561         Fix aio_error thread-safety.
31562         * sysdeps/pthread/aio_error.c: New file
31563         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
31564         synchronization.
31566 2015-03-06  Florian Weimer  <fweimer@redhat.com>
31568         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
31569         (group_number, vfprintf): Use it.
31570         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
31571         (JUMP, REF): Use it.
31572         (WORK_BUFFER_SIZE): New enum constant.
31573         (process_arg, vfprintf): Use it.
31575 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
31577         * manual/errno.texi (Error Messages): Complete example function
31578         by adding missing #define.
31579         (program_invocation_name): Add statement indicating GNU
31580         extension and reference which header file declares the variable.
31581         (program_invocation_short_name): Likewise.
31583 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
31585         * manual/errno.texi (Error Messages): Delete strerror ISO C89
31586         compatibility note.
31588 2015-03-05  Roland McGrath  <roland@hack.frob.com>
31590         * Makeconfig (test-wrapper-env-only): New variable.
31591         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
31592         then use that with $(test-wrapper-env-only) rather than using
31593         $(test-wrapper-env) $(run-program-env) $($*-ENV).
31595 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
31597         [BZ #18082]
31598         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
31599         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
31600         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
31601         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
31602         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
31603         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
31604         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
31605         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
31606         Likewise.
31607         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
31608         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
31609         Likewise.
31610         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
31611         Likewise.
31612         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
31613         Likewise.
31614         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
31615         Likewise.
31616         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
31617         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
31618         Likewise.
31619         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
31620         Likewise.
31621         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
31622         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
31624 2015-03-04  Roland McGrath  <roland@hack.frob.com>
31626         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
31627         (ETH_ALEN): New macro.
31628         (struct ether_addr): Use it for length of ether_addr_octet.
31630         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
31631         (setdb): Don't call __nss_configure_lookup for "rpc".
31632         (do_test): Don't call test_rpc.
31633         (output_rpcent, test_rpc): Functions moved ...
31634         * sunrpc/test-rpcent.c: ... to this new file.
31635         * sunrpc/Makefile (tests): Add it.
31637         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
31638         __xpg_sigpause.
31639         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
31640         * nptl/tst-signal6.c: Likewise.
31641         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
31642         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
31644         * configure.ac (libc_cv_cxx_link_ok): New check.
31645         Reset CXX to empty if it fails to link.
31646         * configure: Regenerated.
31647         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
31648         bug-atexit3-lib only if $(CXX) is nonempty.
31649         * nptl/Makefile (tests): Likewise for tst-cancel24.
31650         (tests, tests-static): Likewise for tst-cancel24-static.
31651         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
31652         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
31653         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
31654         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
31656 2015-03-04  Andreas Schwab  <schwab@suse.de>
31658         [BZ #17631]
31659         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
31660         for non-GCC compilers.
31661         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
31662         Likewise.
31664 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31666         [BZ #17776]
31667         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
31668         integer before bitwise and assembly operations.
31669         (feclearexcept): Likewise.
31670         * math/test-fenvinline.c: New file.
31671         * math/Makefile: Add test-fenvinline test.
31673 2015-03-03  Alan Modra  <amodra@gmail.com>
31675         [BZ #16512]
31676         * scripts/localplt.awk: Strip off symbol version.
31677         * NEWS: Mention bug fix.
31679 2015-03-02  Roland McGrath  <roland@hack.frob.com>
31681         * sysdeps/pthread/timer_routines.c
31682         (timer_free_list, thread_free_list, thread_active_list): Make static.
31684 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
31686         [BZ #17779]
31687         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31688         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31689         Undefine.
31690         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31691         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31692         Likewise.
31693         * sysdeps/unix/sysv/linux/sh/kernel-features.h
31694         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31695         Likewise.
31697 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
31699         [BZ #18036]
31700         * posix/fnmatch_loop.c (END): Detect invalid pattern.
31701         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
31703 2015-03-02  Andreas Schwab  <schwab@suse.de>
31705         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
31706         variable name.
31708 2015-03-02  Florian Weimer  <fweimer@redhat.com>
31710         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
31711         Return error status.
31713 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
31715         [BZ #15969]
31716         * locale/findlocale.c (_nl_find_locale): Introduce const
31717         version of loc_name and drop unsafe type casts.
31719 2015-02-27  Roland McGrath  <roland@hack.frob.com>
31721         * dlfcn/tststatic2.c (main): Converted to ...
31722         (do_test): ... this.
31723         (TEST_FUNCTION): New macro.
31724         Include test-skeleton.c.
31726 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
31728         [BZ #17711]
31729         * elf/Makefile (tests): Add vismain only if PIE is enabled.
31730         (tests-pie): Add vismain.
31731         (CFLAGS-vismain.c): New.
31732         * elf/vismain.c: Add comments for PIE requirement.
31734 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
31736         [BZ #18046]
31737         [BZ #18047]
31738         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
31739         0x1p-56L as threshold for just returning the argument.
31740         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
31741         0x1p-32L as threshold for just returning the argument.
31742         * math/auto-libm-test-in: Add more tests of atanh.
31743         * math/auto-libm-test-out: Regenerated.
31744         * sysdeps/i386/fpu/libm-test-ulps: Update.
31745         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
31747 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
31749         * string/bcopy.c (bcopy): Call memmove for performance.
31751 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
31753         * string/bzero.c (__bzero): Call memset for performance.
31755 2015-02-27  John David Anglin  <dave.anglin@bell.net>
31757         [BZ #18068]
31758         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
31759         to 00100000.
31761 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
31763         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
31765 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
31767         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
31768         (__kernel_standard): Use CSTR macro when setting exc.name.
31769         * sysdeps/ieee754/Makefile [$(subdir) = math]
31770         (CFLAGS-k_standard.c): Remove variable.
31772         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
31773         setting p and q from "else if" to "else".
31774         (qzero): Likewise.
31775         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
31776         (qone): Likewise.
31777         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
31778         (qzerof): Likewise.
31779         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
31780         (qonef): Likewise.
31781         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
31782         (qzero): Likewise.
31783         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
31784         (qone): Likewise.
31786         [BZ #18038]
31787         [BZ #18039]
31788         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
31789         return pi/2 for arguments below 0x1p-113L.
31790         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
31791         return pi/2 for arguments below 0x1p-106L.
31792         * math/auto-libm-test-in: Add more tests of acos.
31793         * math/auto-libm-test-out: Regenerated.
31795         [BZ #16351]
31796         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
31797         (MO): New macro.
31798         (__ieee754_asin): Force underflow exception for results with small
31799         absolute value.
31800         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
31801         (MO): New macro.
31802         (__ieee754_asinf): Force underflow exception for results with
31803         small absolute value.
31804         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
31805         (__ieee754_asin): Force underflow exception for results with small
31806         absolute value.
31807         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
31808         (__ieee754_asinf): Force underflow exception for results with
31809         small absolute value.
31810         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
31811         (__ieee754_asinl): Force underflow exception for results with
31812         small absolute value.
31813         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
31814         (__ieee754_asinl): Force underflow exception for results with
31815         small absolute value.
31816         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
31817         (__ieee754_asinl): Force underflow exception for results with
31818         small absolute value.
31819         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
31820         Include <math.h>.
31821         * math/auto-libm-test-in: Do not mark underflow exceptions as
31822         possibly missing for bug 16351.
31823         * math/auto-libm-test-out: Regenerated.
31825         [BZ #18030]
31826         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
31827         of power of 2 down when low part has opposite sign.
31828         * math/libm-test.inc (logb_test_data): Add more tests.
31830 2015-02-26  Andreas Schwab  <schwab@suse.de>
31832         [BZ #18032]
31833         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
31834         over collating symbol inside a bracket expression.  Minor cleanup.
31835         * posix/tst-fnmatch3.c (do_test): Add test case.
31837 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
31839         [BZ #18029]
31840         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
31841         Adjust exponent of power of 2 down when low part has opposite
31842         sign.
31843         * math/libm-test.inc (ilogb_test_data): Add more tests.
31845 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
31847         [BZ #15969]
31848         * locale/findlocale.c (_nl_find_locale): Fix constness error in
31849         the previous change.
31851         [BZ #15969]
31852         * locale/findlocale.c (_nl_find_locale): Retry archive search
31853         after alias expansion.
31855 2015-02-25  Roland McGrath  <roland@hack.frob.com>
31857         * iconv/tst-iconv3.c (main): Converted to ...
31858         (do_test): ... this.
31859         (TEST_FUNCTION): New macro.
31860         Include test-skeleton.c.
31862         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
31863         (convert): Make function static.
31864         (test_unalign): Likewise.  Add const to argument pointee types.
31865         (main): Replace with static function do_test.
31866         Print "Succeeded." only if RET is zero.
31867         (TEST_FUNCTION): New macro.
31868         Include test-skeleton.c.
31870         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
31871         returns a null pointer.
31873 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31875         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
31876         to __memcpy_ppc only for static builds.
31878 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
31880         [BZ #18020]
31881         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
31882         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
31883         * math/auto-libm-test-in: Add more tests of asinh.
31884         * math/auto-libm-test-out: Regenerated.
31885         * sysdeps/i386/fpu/libm-test-ulps: Update.
31886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31888 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
31890         [BZ #15850]
31891         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
31892         and ip6_mtuinfo definitions here.
31893         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
31894         in this define too.  Update comment.
31896 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
31898         * elf/sprof.c (load_shobj): Tweak error message to match others.
31900 2015-02-24  Kevin Easton  <kevin@guarana.org>
31902         [BZ #16145] (partial fix)
31903         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
31904         to reduce lock contention.
31906 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
31908         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
31909         (struct timex): Update time comment.
31910         (ADJ_SETOFFSET): Define.
31912 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
31914         [BZ #18019]
31915         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31916         2**56 not 2**28 as threshold for log (2x) formula.
31917         * math/auto-libm-test-in: Add more tests of acosh.
31918         * math/auto-libm-test-out: Regenerated.
31919         * sysdeps/i386/fpu/libm-test-ulps: Update.
31920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31922 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
31924         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
31925         parenthesis around the buf assignment.
31926         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
31928 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
31930         [BZ #16783]
31931         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
31932         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
31933         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
31934         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
31935         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
31936         * math/libm-test.inc (scalb_test_data): Add more tests.
31938 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
31940         [BZ #17916]
31941         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
31942         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
31944 2015-02-24  Eric Rannaud  <e@nanocritical.com>
31946         [BZ #17523]
31947         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
31948         * io/bits/fcntl2.h (open): Use it.
31949         (openat): Likewise.
31950         * io/open.c (__libc_open): Likewise.
31951         * io/open64.c (__libc_open64): Likewise.
31952         * io/open64_2.c (__open64_2): Likewise.
31953         * io/open_2.c (__open_2): Likewise.
31954         * io/openat.c (__openat): Likewise.
31955         * io/openat64.c (__openat64): Likewise.
31956         * io/openat64_2.c (__openat64_2): Likewise.
31957         * io/openat_2.c (__openat_2): Likewise.
31958         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
31959         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
31960         * sysdeps/posix/open64.c (__libc_open64): Likewise.
31961         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
31962         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
31963         (__open_nocancel): Likewise.
31964         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
31965         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
31966         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
31968 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31970         [BZ #14841]
31971         * resolv/gethnamaddr.c (getanswer): Skip logging if
31972         RES_USE_DNSSEC is set.
31973         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31975 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
31977         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
31979 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
31981         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
31982         201304L, for Unicode 7.
31984 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
31986         [BZ #17836]
31987         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
31988         shared library.  Add gmon-start.os otherwise.
31989         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
31990         $(objpfx)gmon-start.os if builing shared library.
31991         ($(objpfx)g$(static-start-installed-name)): Likewise.
31993 2015-02-23  Andreas Schwab  <schwab@suse.de>
31995         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
31997 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
31999         [BZ #17269]
32000         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
32001         (enlarge_userbuf): Likewise.
32003 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
32005         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
32006         * math/atest-exp.c (TIMEOUT): Adjust to 200.
32007         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
32008         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
32010 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
32012         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
32013         expression inside statement expression.
32015 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
32017         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
32018         <sysdeps/nptl/lowlevellock.h> and remove macros and
32019         functions that are now defined there.
32020         (SYS_futex): Remove.
32021         (lll_compare_and_swap): Remove.
32022         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
32024 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
32026         [BZ #17999]
32027         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
32028         instead of scandirat.
32029         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
32030         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
32031         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
32032         __scandirat.
32033         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
32034         (__scandirat): Declare.  Use libc_hidden_proto.
32035         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
32036         Remove variable.
32037         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
32039 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
32041         [BZ #15319]
32042         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
32043         (MO): New macro.
32044         (__ieee754_atan2): For results with small absolute value, force
32045         underflow exception and remove excess range and precision from
32046         return value.
32047         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
32048         (MO): New macro.
32049         (__ieee754_atan2f): For results with small absolute value, force
32050         underflow exception and remove excess range and precision from
32051         return value.
32052         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
32053         (MO): New macro.
32054         (__atan): For results with small absolute value, force underflow
32055         exception and remove excess range and precision from return value.
32056         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
32057         (MO): New macro.
32058         (__atanf): For results with small absolute value, force underflow
32059         exception and remove excess range and precision from return value.
32060         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
32061         <math.h>.
32062         (__ieee754_atan2): Force underflow exception for results with
32063         small absolute value.
32064         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
32065         <math_private.h>.
32066         (atan): Force underflow exception for results with small absolute
32067         value.
32068         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
32069         (__atanf): Force underflow exception for results with small
32070         absolute value.
32071         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
32072         <math.h>.
32073         (__atanl): Force underflow exception for results with small
32074         absolute value.
32075         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
32076         (__atanl): Force underflow exception for results with small
32077         absolute value.
32078         * sysdeps/x86/fpu/bits/mathinline.h
32079         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
32080         (__ieee754_atan2): Only define inline for long double.
32081         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
32082         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
32083         * math/auto-libm-test-in: Do not mark underflow exceptions as
32084         possibly missing for bug 15319.  Add more tests of atan2.
32085         * math/auto-libm-test-out: Regenerated.
32086         * math/libm-test.inc (casin_test_data): Do not mark underflow
32087         exceptions as possibly missing for bug 15319.
32088         (casinh_test_data): Likewise.
32089         * sysdeps/i386/fpu/libm-test-ulps: Update.
32091 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
32093         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
32094         * sysdeps/mips/bits/endian.h: Fix comments.
32096 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
32098         [BZ #17996]
32099         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
32100         (hdestroy_r): Likewise.
32101         (hsearch_r): Likewise.
32102         (__hcreate_r): Declare and use libc_hidden_proto.
32103         (__hdestroy_r): Likewise.
32104         (__hsearch_r): Likewise.
32105         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
32106         (hcreate): Call __hcreate_r instead of hcreate_r.
32107         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
32108         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
32109         as weak alias of __hcreate_r.
32110         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
32111         __hdestroy_r.
32112         (hsearch_r): Rename to __hsearch_r and define as weak alias of
32113         __hsearch_r.
32114         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
32115         Remove variable.
32116         (test-xfail-XPG4/search.h/linknamespace): Likewise.
32117         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
32118         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
32119         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
32121 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32123         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
32124         arena_lock into a single arena_get.
32126 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
32128         * dl-reloc.c: Inlucde libc-internal.h.
32129         (_dl_try_allocate_static_tls): Call ALIGN_UP.
32130         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
32131         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
32132         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
32133         (grow_heap): Likewise.
32134         * malloc/malloc.c: Include libc-internal.h.
32135         (do_check_malloc): Call powerof2.
32136         (sysmalloc): Use pagesize. Call ALIGN_UP.
32137         (systrim): Use pagesize.
32138         (mremap_chunk): Use pagesize. Call ALIGN_UP.
32139         (__libc_valloc): Use pagesize.
32140         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
32142 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
32144         [BZ #17991]
32145         * include/sys/resource.h (__getrlimit64): Declare.  Use
32146         libc_hidden_proto.
32147         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
32148         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
32149         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
32150         getrlimit64.
32151         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
32152         __getrlimit64.
32153         [!getrlimit64] (getrlimit64): Define as weak alias of
32154         __getrlimit64.  Use libc_hidden_weak.
32155         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
32156         using __getrlimit64 not __new_getrlimit64.
32157         (__GI_getrlimit64): Likewise.
32158         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
32159         Likewise.
32160         (__GI_getrlimit64): Likewise.
32161         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
32162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
32163         (getrlimit): Add __getrlimit64 alias.
32164         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
32165         Likewise.
32166         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
32167         Remove variable.
32168         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
32169         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
32171 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
32173         * libio/fileops.c: Add missing sys/mman.h
32174         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
32176 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
32178         * manual/math.texi (Errors in Math Functions): Clarify goals
32179         regarding inexact and underflow exceptions.
32181 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
32183         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
32184         * sysdeps/mips/memset.S: Ditto.
32186 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
32188         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
32190 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
32192         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
32193         (__v1longjmp): Remove versioned symbol.
32194         (__v1siglongjmp): Remove alias and versioned symbol.
32195         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
32196         (__v2siglongjmp): Likewise.
32198 2015-02-16  Torvald Riegel  <triegel@redhat.com>
32200         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
32202 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
32204         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
32206 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
32208         [BZ #17987]
32209         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
32210         zero result does not depend on the sign resulting from
32211         subtraction.
32212         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
32213         Likewise.
32214         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32215         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32216         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32217         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32218         * math/libm-test.inc (remquo_test_data): Add more tests.
32220 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
32222         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
32223         Problem reported by J William Piggott.
32225 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
32227         [BZ #17978]
32228         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
32229         products 4 * y and 2 * y where those would overflow.
32230         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
32231         Likewise.
32232         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32233         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32234         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32235         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32236         * math/libm-test.inc (remquo_test_data): Add more tests.
32238         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
32240         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
32241         [defined _COMPILING_NEWLIB].
32242         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
32243         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
32245         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
32246         [!defined __mips_isa_rev || __mips_isa_rev < 6].
32248 2015-02-16  Torvald Riegel  <triegel@redhat.com>
32250         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
32251         acquired.
32253 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
32255         [BZ #17792]
32256         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
32257         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
32258         HOST_STACK_END_ADDR): Likewise.
32260 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
32262         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
32263         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
32264         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
32266 2015-02-13  Roland McGrath  <roland@hack.frob.com>
32268         * sysdeps/generic/c++-types.data: New file.
32269         * sysdeps/generic/ld.abilist: New file.
32270         * sysdeps/generic/libBrokenLocale.abilist: New file.
32271         * sysdeps/generic/libanl.abilist: New file.
32272         * sysdeps/generic/libc.abilist: New file.
32273         * sysdeps/generic/libcrypt.abilist: New file.
32274         * sysdeps/generic/libdl.abilist: New file.
32275         * sysdeps/generic/libm.abilist: New file.
32276         * sysdeps/generic/libpthread.abilist: New file.
32277         * sysdeps/generic/libresolv.abilist: New file.
32278         * sysdeps/generic/librt.abilist: New file.
32280 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
32282         [BZ #17569]
32283         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
32284         Compute absolute value of x as modified by fmod, not original
32285         value of x.
32286         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
32287         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
32288         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
32289         RUN_TEST_ffI_f1_mod8.
32290         (remquo_test_data): Add more tests.
32292 2015-02-13  Roland McGrath  <roland@hack.frob.com>
32294         * sysdeps/init_array/pt-crti.S: New file.
32296 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
32298         [BZ #17967]
32299         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
32300         __builtin_fmaf instead of relying on contraction of a * b + c.
32302 2015-02-12  J William Piggott  <elseifthen@gmx.com>
32304         [BZ #17969]
32305         * manual/time.texi: correct the zoneinfo path in the TZ Variable
32306         node.
32308 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
32310         [BZ #17964]
32311         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
32312         __builtin_fma instead of relying on contraction of a * b + c.
32314 2015-02-12  Roland McGrath  <roland@hack.frob.com>
32316         * Makeconfig (ASFLAGS): Add -Werror=undef.
32317         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
32318         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
32319         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
32321         * Makeconfig (after-link): New variable.
32322         (+link-pie, +link-pie-tests): Use it.
32323         (+link-static, +link-static-tests): Likewise.
32324         (+link, +link-tests): Likewise.
32325         * Makerules (build-module, build-module-asneeded): Likewise.
32326         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
32327         Likewise.
32328         * elf/Makefile ($(objpfx)ld.so): Likewise.
32330 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
32332         [BZ #17965]
32333         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
32334         both struct timeval and struct timespec.
32336 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
32338         [BZ #16560]
32339         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32340         and redefine.
32341         (__ieee754_exp2l): Do not multiply small fractional parts by
32342         M_LN2l.
32343         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
32344         small argument.
32345         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
32346         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
32347         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
32348         * math/auto-libm-test-in: Add more tests of exp2.
32349         * math/auto-libm-test-out: Regenerated.
32351 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32353         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
32354         unaligned path.
32356 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32358         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
32359         little endian.
32361 2015-02-12  Andreas Schwab  <schwab@suse.de>
32363         [BZ #15790]
32364         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
32365         Filter out elision flags from value returned in kind.
32366         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
32367         * nptl/tst-pthread-mutexattr.c: New file.
32369 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32371         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
32372         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
32373         into gnu-gnu, and update comment to refer to abi-tags.
32375 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
32377         [BZ #15467]
32378         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
32379         (__sincos): Set errno to EDOM for infinite argument.
32380         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
32381         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
32382         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
32383         (__sincosl): Set errno to EDOM for infinite argument.
32384         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
32385         (__sincosl): Set errno to EDOM for infinite argument.
32386         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
32387         (__sincosl): Set errno to EDOM for infinite argument.
32388         * math/libm-test.inc (sincos_test_data): Test errno setting.
32390 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
32392         * string/strxfrm_l.c: Remove #define STRCMP.
32393         * string/strcoll_l.c: Remove #define STRLEN.
32394         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
32395         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
32397 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
32399         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
32400         * sysdeps/mips/mips32/sfp-machine.h: ... here.
32401         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
32402         * sysdeps/mips/mips64/Makefile: ... here.
32403         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
32404         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
32405         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
32406         * sysdeps/mips/mips64/sfp-machine.h: ... here.
32407         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
32408         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
32409         * sysdeps/mips/mips64/n64/Implies: Likewise.
32411 2015-02-10  Roland McGrath  <roland@hack.frob.com>
32413         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
32414         <sys/time.h>, <string.h>, and <errno.h>.
32415         (dest_offset, dest_address, value, zero): Remove unused variables.
32416         (ldouble): Remove typedef.
32417         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
32418         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
32419         1).  Fix code style.
32420         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
32421         (check): Function removed.
32422         (CHECK): New macro.
32423         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
32424         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
32425         Don't call set_sigaction_FP and remove_sigaction_FP here.
32426         (ldouble_test): Just use 'long double' as macro argument, no need for
32427         the 'ldouble' typedef.
32428         (do_test): Set up SIGFPE handler at start, using plain signal rather
32429         than sigaction.  Fix code style.
32431 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
32433         [BZ #17949]
32434         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
32435         jump label.
32437 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32439         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
32440         * sysdeps/powerpc/powerpc32/configure: Regenerated.
32442         * sysdeps/powerpc/configure.ac: Remove file.
32443         * sysdeps/powerpc/configure: Likewise.
32445         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
32446         [sysdep_routines]: Remove wordcopy-power6 object.
32447         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
32448         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
32449         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
32450         (__memmove_ppc32): Likewise.
32451         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
32452         file.
32453         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
32454         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
32455         Remove preprocessor.
32457         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
32458         [sysdep_routines]: Remove wide chars objects.
32459         [wcsmbs]: New rule for wide char objects.
32461         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32462         Remove wordcopy-power6 obejct.
32463         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
32464         Use local call for wordcopy and memcpy symbols.
32465         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
32466         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
32467         implementation for loader.
32468         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
32470         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32471         Remove wordcopy-power7 object.
32472         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
32473         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
32474         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
32475         (_wordcopy_fwd_dest_aligned): Likewise.
32476         (_wordcopy_bwd_aligned): Likewise.
32477         (_wordcopy_bwd_dest_aligned): Likewise.
32479         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
32480         Rewrite to call __memmove_ppc instead of include default
32481         implementation.
32483         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32484         Remove wide chars objects.
32485         [wcsmbs]: New rule for wide char objects.
32487 2015-02-09  Andreas Schwab  <schwab@suse.de>
32489         [BZ #17912]
32490         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
32491         in terms of __O_DIRECTORY.
32493 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32495         * time/getdate.c: Include <stdbool.h>.
32496         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
32497         call PTR_MANGLE.
32498         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
32499         PTR_DEMANGLE.
32501 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
32503         Add ersatz _Static_assert on older C hosts
32504         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
32505         pre-C11 C platform that is not known to support _Static_assert.
32507 2015-02-07  Richard Braun  <rbraun@sceen.net>
32509         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
32510         sigstate.
32511         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
32513 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32515         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
32516         priority against unexistent AIO_PRIO_DELTA_MAX.
32517         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
32518         instead of int.
32519         * misc/fchflags.c (fchflags): Likewise.
32520         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
32521         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
32522         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
32523         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
32524         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
32525         Declare macros.
32526         [__USE_MISC] (chflags, fchflags): Declare functions.
32527         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
32528         EINVAL when nfds is greater than FD_SETSIZE.
32529         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
32530         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
32531         45.
32532         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
32533         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
32534         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
32535         MACH_RCV_TIMED_OUT.
32536         * hurd/hurd/signal.h (_hurd_self_sigstate,
32537         _hurd_critical_section_lock, _hurd_critical_section_unlock):
32538         Explicit casts from void *.
32539         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
32540         * abi-tags: Rename gnu-gnu os into gnu.
32542         [BZ #4719]
32543         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
32544         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
32545         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
32546         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
32547         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
32548         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
32550         [BZ #17944]
32551         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
32552         duplicates ADDR->sun_path with sockaddr LEN limitation.
32553         * sysdeps/mach/hurd/connect.c: Include <string.h>
32554         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
32555         * sysdeps/mach/hurd/sendmsg.c: Likewise.
32556         * sysdeps/mach/hurd/sendto.c: Likewise.
32557         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
32558         implementing it by hand.
32560 2015-02-06  Roland McGrath  <roland@hack.frob.com>
32562         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
32563         Use sfi_breg on ldr.
32564         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
32565         Likewise.
32567         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
32568         it's defined.
32569         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
32570         Test SIGSETXID only if it's defined.
32572         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
32574         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
32575         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
32577         * nptl/tst-align2.c: Moved ...
32578         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
32579         * nptl/Makefile (tests): Remove tst-align2.
32580         * sysdeps/unix/sysv/linux/Makefile
32581         [$(subdir) = nptl] (tests): Add tst-align-clone.
32582         * nptl/tst-getpid1.c: Moved ...
32583         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
32584         * nptl/tst-getpid2.c: Moved ...
32585         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
32586         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
32587         * sysdeps/unix/sysv/linux/Makefile
32588         [$(subdir) = nptl] (tests): ... here.
32589         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
32590         * sysdeps/unix/sysv/linux/Makefile
32591         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
32593         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
32594         Drop trailing \n from perror argument.  Use return rather than exit.
32596         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
32597         on [SA_SIGINFO].
32598         * nptl/tst-cancel21.c (do_test): Likewise.
32599         * debug/tst-backtrace6.c: Include <signal.h> first thing.
32600         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
32601         [!SA_SIGINFO]: Make it a stub test.
32603         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
32604         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
32606         * posix/tst-getlogin.c: Move to ...
32607         * login/tst-getlogin.c: ... here.
32608         * posix/Makefile (tests): Move tst-getlogin to ...
32609         * login/Makefile (tests): ... here.
32611         * libio/tst-atime.c (do_test): Move local variables SV and E
32612         inside [ST_NOATIME] conditional.
32614         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
32616         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
32618         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
32619         (wait_code): New function replaces macro.
32620         Call nanosleep rather than syscall.
32622         * nptl/pt-system.c: Rewritten.  Put everything under
32623         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32624         Use IFUNC to redirect when possible.
32626         * nptl/pt-longjmp.c: Rewritten.  Put everything under
32627         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32628         Use IFUNC to redirect when possible.
32630         * nptl/pt-fork.c: Rewritten.  Put everything under
32631         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32632         Use IFUNC to redirect when possible.
32633         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
32635         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
32636         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
32637         unconditionally nowadays.  This included the only reference to
32638         __vdso_clock_gettime that appears outside libc proper.
32639         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
32640         Remove version set (containing only __vdso_clock_gettime).
32641         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
32642         Add attribute_hidden.
32643         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
32644         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
32645         libc_hidden_data_def.
32646         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32647         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32649         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
32650         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
32651         setrpcent, and getrpcport to ...
32652         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
32653         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
32654         getrpcbynumber_r, and getrpcent_r to ...
32655         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
32656         * inet/getrpcbyname.c: Moved ...
32657         * sunrpc/getrpcbyname.c: ... here.
32658         * inet/getrpcbyname_r.c: Moved ...
32659         * sunrpc/getrpcbyname_r.c: ... here.
32660         * inet/getrpcbynumber.c: Moved ...
32661         * sunrpc/getrpcbynumber.c: ... here.
32662         * inet/getrpcbynumber_r.c: Moved ...
32663         * sunrpc/getrpcbynumber_r.c: ... here.
32664         * inet/getrpcent.c: Moved ...
32665         * sunrpc/getrpcent.c: ... here.
32666         * inet/getrpcent_r.c: Moved ...
32667         * sunrpc/getrpcent_r.c: ... here.
32668         * inet/Makefile (routines): Move those to ...
32669         * sunrpc/Makefile (routines): ... here.
32670         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
32671         the $(subdirs) list.
32672         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
32673         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
32674         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
32675         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
32677         * elf/Makefile (routines): Include $(all-dl-routines), not just
32678         $(dl-routines).
32679         (rtld-routines): Likewise.  Use = rather than :=.
32680         * sysdeps/aarch64/Makefile [$(subdir) = elf]
32681         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
32682         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
32683         * sysdeps/arm/Makefile: Likewise.
32684         * sysdeps/i386/Makefile: Likewise.
32685         * sysdeps/x86_64/Makefile: Likewise.
32686         * sysdeps/hppa/Makefile [$(subdir) = elf]
32687         (sysdep_routines, sysdep-rtld-routines): Don't add
32688         $(sysdep-dl-routines) to these.
32689         * sysdeps/ia64/Makefile: Likewise.
32690         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
32691         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
32692         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
32693         Don't add dl-static to these; sysdep-dl-routines alone is enough.
32694         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
32695         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
32696         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
32697         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
32698         * sysdeps/powerpc/Makefile [$(subdir) = elf]
32699         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
32700         these; sysdep-dl-routines alone is enough.
32702 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
32704         [BZ #17932]
32705         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
32706         where multiplication results in zero and third argument is finite
32707         and nonzero.
32708         * math/auto-libm-test-in: Add more tests of fma.
32709         * math/auto-libm-test-out: Regenerated.
32711         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
32712         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
32713         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
32714         (_FP_CMP_EQ): Likewise.
32715         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
32717         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
32718         extra argument CHECK_NAN.  Redefine as wrapper around
32719         _FP_EXTEND_CNAN.
32721 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
32723         * version.h (RELEASE): Set to "stable".
32724         (VERSION): Set to "2.21"
32725         * include/features.h (__GLIBC_MINOR__): Set to 21.
32727         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
32729 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
32730             Paul Eggert  <eggert@cs.ucla.edu>
32732         [BZ #16618]
32733         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
32734         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
32735         size in bytes. Store needed elements in wpmax. Use needed size
32736         in bytes for extend_alloca.
32738 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
32740         * manual/install.texi: Latest tested versions are GCC 4.9.2,
32741         binutls 2.25, and texinfo 5.2.
32742         * INSTALL: Regenerate.
32743         * sysdeps/nios2/configure: Regenerate.
32744         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
32745         * manual/contrib.texi: Update.
32746         * po/be.po: Update.
32747         * po/bg.po: Update.
32748         * po/ca.po: Update.
32749         * po/cs.po: Update.
32750         * po/da.po: Update.
32751         * po/de.po: Update.
32752         * po/el.po: Update.
32753         * po/eo.po: Update.
32754         * po/es.po: Update.
32755         * po/fi.po: Update.
32756         * po/fr.po: Update.
32757         * po/gl.po: Update.
32758         * po/hr.po: Update.
32759         * po/hu.po: Update.
32760         * po/ia.po: Update.
32761         * po/id.po: Update.
32762         * po/it.po: Update.
32763         * po/ja.po: Update.
32764         * po/ko.po: Update.
32765         * po/lt.po: Update.
32766         * po/nb.po: Update.
32767         * po/nl.po: Update.
32768         * po/pl.po: Update.
32769         * po/pt_BR.po: Update.
32770         * po/ru.po: Update.
32771         * po/rw.po: Update.
32772         * po/sk.po: Update.
32773         * po/sl.po: Update.
32774         * po/sv.po: Update.
32775         * po/tr.po: Update.
32776         * po/uk.po: Update.
32777         * po/vi.po: Update.
32778         * po/zh_CN.po: Update.
32779         * po/zh_TW.po: Update.
32781         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
32782         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
32783         * sysdeps/hppa/dl-irel.h: Remove #warning.
32784         * sysdeps/hppa/entry.h: Provide prototype for
32785         __canonicalize_funcptr_for_compare and cast argument.
32786         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
32787         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
32788         * sysdeps/hppa/sotruss-lib.c: New file.
32789         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
32790         (atomic_compare_and_exchange_val_acq): Use __typeof__.
32791         (atomic_compare_and_exchange_bool_acq): Likewise.
32792         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
32793         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
32795         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
32796         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
32797         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
32799 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
32801         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
32802         called function in non-PIC case.
32804 2015-01-31  David S. Miller  <davem@davemloft.net>
32806         * sysdeps/sparc/sparc32/bits/atomic.h
32807         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
32808         unlock not after it.
32809         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
32810         volatile register usage warnings from the compiler.
32812         * sysdeps/sparc/nptl/sem_init.c: Delete.
32813         * sysdeps/sparc/nptl/sem_post.c: Delete.
32814         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
32815         * sysdeps/sparc/nptl/sem_wait.c: Delete.
32816         * sysdeps/sparc/sparc32/sem_init.c: New file.
32817         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
32818         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
32819         padding explicitly initialized.
32820         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
32821         padding for in-semaphore spinlock.
32822         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
32823         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
32824         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
32825         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
32826         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
32827         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
32828         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
32829         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
32830         version.
32831         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
32832         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
32834 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
32836         [BZ #17801]
32837         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32838         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
32839         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
32840         New.
32841         (index_AVX_Fast_Unaligned_Load): Likewise.
32842         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
32843         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
32844         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
32845         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
32846         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
32847         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
32848         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
32849         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
32850         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
32852 2015-01-29  Andreas Schwab  <schwab@suse.de>
32854         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
32856 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
32858         [BZ #17892]
32859         * nscd/nscd_stat.c (send_stats): Initialize DATA.
32861 2015-01-28  Martin Sebor  <msebor@redhat.com>
32863         * math/README.libm-test: Clarify. Add "How to read the test output."
32865 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
32867         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
32868         Define to 0.
32870 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
32872         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
32873         (__HAVE_64B_ATOMICS): Define to 0.
32875 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32877         [BZ #17885]
32878         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
32879         value to set as new flag.
32881         [BZ #16576]
32882         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
32883         and use _ARCH_PPCSQ instead.
32884         (__ieee754_sqrt): Likewise.
32885         (__ieee754_sqrtf): Likewise.
32886         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
32887         _ARCH_PPCSQ is defined.
32888         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
32889         fsqrt instruction.
32890         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
32891         _ARCH_PPCSQ is defined.
32892         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
32893         fsqrts instruction.
32894         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
32896 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32898         * iconv/loop.c: Suppress array out of bound warning caused by GCC
32899         bug (GCC BZ #64739).
32901 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
32903         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
32904         Mark _retval as used.
32905         (lll_futex_wake_unlock): Likewise.
32906         (lll_futex_timed_wait_requeue_pi): Likewise.
32908         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
32909         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
32910         register variables.
32912         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
32913         libm_hidden_def.
32915         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
32916         (__bswap_64): Mark as __always_inline.
32918 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
32920         [BZ #15378]
32921         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
32922         when none of the search directories exist.
32924 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32926         [BZ #17869]
32927         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
32928         power8 in .machine directive.
32930         [BZ #17868]
32931         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
32932         set dependency from opd value.
32934 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
32936         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32937         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
32938         architecture.
32940 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
32942         [BZ #17870]
32943         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
32944         with uint64_t.
32945         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
32946         (uint64_t) 1.
32947         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
32948         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
32949         Replace 1UL with (uint64_t) 1.
32950         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
32951         int with uint64_t.
32953 2015-01-23  Roland McGrath  <roland@hack.frob.com>
32955         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
32956         (if_freenameindex): Likewise.
32958         * resource/getrlimit64.c: Add missing libc_hidden_def.
32960 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
32962         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
32963         __label__.
32964         (_FP_FMA): Likewise.
32965         (_FP_TO_INT_ROUND): Likewise.
32966         (_FP_FROM_INT): Likewise.
32968 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32970         [BZ #16418]
32971         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
32972         Make code racy and cancel safe.
32974 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
32976         * sysdeps/arm/unwind-resume.h: Fix copyright year.
32977         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
32978         attribution.
32980         * pwd/tst-getpw.c: Rewrite.
32982         [BZ #17702]
32983         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
32984         (modules-names): Add moddummy1 and moddummy2.
32985         ($(objpfx)tst-rec-dlopen): Define.
32986         * dlfcn/moddummy1.c: New file.
32987         * dlfcn/moddummy2.c: New file.
32988         * dlfcn/tst-rec-dlopen.c: New file.
32989         * elf/dl-cache.c (_dl_load_cache_lookup):
32990         Return char*. Copy result with alloca/strcpy/strdup.
32991         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
32992         returns char*. Free cached. If not saving realname
32993         free cached.
32994         * elf/dl-open.c (dl_open_worker): Do not assert that
32995         _r_debug->r_state is RT_CONSISTENT.
32996         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
32997         returns char*.
32999 2015-01-21  Torvald Riegel  <triegel@redhat.com>
33000             Carlos O'Donell  <carlos@redhat.com>
33002         [BZ #12674]
33003         * nptl/sem_waitcommon.c: New file.
33004         * nptl/sem_wait.c: Include sem_waitcommon.c.
33005         (__sem_wait_cleanup, do_futex_wait): Remove.
33006         (__new_sem_wait): Adapt.
33007         (__new_sem_trywait): New function.
33008         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
33009         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
33010         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
33011         (sem_timedwait): Adapt.
33012         * nptl/sem_post.c (__new_sem_post): Adapt.
33013         (futex_wake): New function.
33014         (__old_sem_post): Add release MO fence.
33015         * nptl/sem_open.c (sem_open): Adapt.
33016         * nptl/sem_init.c (__new_sem_init): Adapt.
33017         (futex_private_if_supported): New function.
33018         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
33019         (__old_sem_getvalue): Add using previous code.
33020         * sysdeps/nptl/internaltypes.h: Adapt.
33021         * nptl/tst-sem13.c (do_test): Adapt.
33022         * nptl/tst-sem11.c (main): Adapt.
33023         * nptl/sem_trywait.c: Remove.
33024         * nptl/DESIGN-sem.txt: Remove.
33025         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
33026         (gen-as-const-headers): Remove structsem.sym.
33027         * nptl/structsem.sym: Remove.
33028         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
33029         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
33030         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
33031         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
33032         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
33033         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
33034         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
33035         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
33036         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
33037         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
33038         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
33039         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
33040         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
33041         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
33042         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
33043         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
33044         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
33045         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
33046         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
33047         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
33048         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
33049         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
33051 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
33053         * INSTALL: Regenerated.
33055         * po/libc.pot: Regenerated.
33057 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
33058             Sandra Loosemore  <sandra@codesourcery.com>
33059             Andrew Jenner  <andrew@codesourcery.com>
33060             Joseph Myers  <joseph@codesourcery.com>
33061             Nathan Sidwell  <nathan@codesourcery.com>
33063         * NEWS: Mention new Nios II port.
33064         * sysdeps/nios2/Implies: New file.
33065         * sysdeps/nios2/Makefile: New file.
33066         * sysdeps/nios2/Subdirs: New file.
33067         * sysdeps/nios2/Versions: New file.
33068         * sysdeps/nios2/__longjmp.S: New file.
33069         * sysdeps/nios2/abort-instr.h: New file.
33070         * sysdeps/nios2/backtrace.c: New file.
33071         * sysdeps/nios2/bits/endian.h: New file.
33072         * sysdeps/nios2/bits/fenv.h: New file.
33073         * sysdeps/nios2/bits/link.h: New file.
33074         * sysdeps/nios2/bits/setjmp.h: New file.
33075         * sysdeps/nios2/bsd-_setjmp.S: New file.
33076         * sysdeps/nios2/bsd-setjmp.S: New file.
33077         * sysdeps/nios2/configure: New generated file.
33078         * sysdeps/nios2/configure.ac: New file.
33079         * sysdeps/nios2/crti.S: New file.
33080         * sysdeps/nios2/crtn.S: New file.
33081         * sysdeps/nios2/dl-init.c: New file.
33082         * sysdeps/nios2/dl-machine.h: New file.
33083         * sysdeps/nios2/dl-sysdep.h: New file.
33084         * sysdeps/nios2/dl-tls.h: New file.
33085         * sysdeps/nios2/dl-trampoline.S: New file.
33086         * sysdeps/nios2/gccframe.h: New file.
33087         * sysdeps/nios2/gmp-mparam.h: New file.
33088         * sysdeps/nios2/jmpbuf-offsets.h: New file.
33089         * sysdeps/nios2/jmpbuf-unwind.h: New file.
33090         * sysdeps/nios2/ldsodefs.h: New file.
33091         * sysdeps/nios2/libc-tls.c: New file.
33092         * sysdeps/nios2/libm-test-ulps: New file.
33093         * sysdeps/nios2/machine-gmon.h: New file.
33094         * sysdeps/nios2/math-tests.h: New file.
33095         * sysdeps/nios2/math_private.h: New file.
33096         * sysdeps/nios2/memusage.h: New file.
33097         * sysdeps/nios2/nptl/Makefile: New file.
33098         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
33099         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
33100         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
33101         * sysdeps/nios2/nptl/pthreaddef.h: New file.
33102         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
33103         * sysdeps/nios2/nptl/tls.h: New file.
33104         * sysdeps/nios2/preconfigure: New file.
33105         * sysdeps/nios2/s_fma.c: New file.
33106         * sysdeps/nios2/s_fmaf.c: New file.
33107         * sysdeps/nios2/setjmp.S: New file.
33108         * sysdeps/nios2/sfp-machine.h: New file.
33109         * sysdeps/nios2/sotruss-lib.c: New file.
33110         * sysdeps/nios2/stackguard-macros.h: New file.
33111         * sysdeps/nios2/stackinfo.h: New file.
33112         * sysdeps/nios2/start.S: New file.
33113         * sysdeps/nios2/sysdep.h: New file.
33114         * sysdeps/nios2/tls-macros.h: New file.
33115         * sysdeps/nios2/tst-audit.h: New file.
33116         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
33117         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
33118         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
33119         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
33120         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
33121         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
33122         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
33123         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
33124         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
33125         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
33126         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
33127         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
33128         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
33129         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
33130         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
33131         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
33132         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
33133         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
33134         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
33135         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
33136         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
33137         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
33138         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
33139         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
33140         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
33141         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
33142         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
33143         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
33144         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
33145         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
33146         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
33147         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
33148         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
33149         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
33150         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
33151         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
33152         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
33153         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
33154         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
33155         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
33156         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
33157         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
33158         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
33159         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
33161 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33163         [BZ #17844]
33164         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
33165         (getutent): Use weak_alias in non SHARED case
33166         and default_symbol_version in SHARED case.
33167         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
33168         (getutent_r, pututline): Likewise.
33169         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
33170         (getutid): Likewise.
33171         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
33172         (getutid_r): Likewise.
33173         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
33174         (getutline): Likewise.
33175         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
33176         (getutline_r): Likewise.
33177         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
33178         (updwtmp): Likewise.
33180 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33182         [BZ #17848]
33183         * sysdeps/s390/s390-32/memcmp.S
33184         (memcmp_g5): Rename to __memcmp_g5.
33185         * sysdeps/s390/s390-32/memcpy.S
33186         (memcpy_g5): Rename to __memcpy_g5.
33187         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33188         (memcpy_mvcle) Rename to __memcpy_mvcle.
33189         * sysdeps/s390/s390-32/memset.S
33190         (memset_g5): Rename to __memset_g5.
33191         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33192         (IFUNC_RESOLVE): Prefix ifunc-resolve function
33193         and use prefixed functions.
33194         * sysdeps/s390/s390-32/multiarch/memcmp.S
33195         (memcmp_z196): Rename to __memcmp_z196.
33196         (memcmp_z10): Rename to __memcmp_z10.
33197         (memcmp): Set alias to __memcmp_g5.
33198         (bcmp): Set alias to __memcmp_g5.
33199         * sysdeps/s390/s390-32/multiarch/memcpy.S
33200         (memcpy_z196): Rename to __memcpy_z196.
33201         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33202         (memcpy_z10): Rename to __memcpy_z10.
33203         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33204         (memcpy): Set alias to __memcpy_g5.
33205         * sysdeps/s390/s390-32/multiarch/memset.S
33206         (memset_z196): Rename to __memset_z196.
33207         Jump to __memset_mvcle instead of memset_mvcle.
33208         (memset_z10): Rename to __memset_z10.
33209         Jump to __memset_mvcle instead of memset_mvcle.
33210         (memset_mvcle) Rename to __memset_mvcle.
33211         (memset): Set alias to __memset_g5.
33212         * sysdeps/s390/s390-64/memcmp.S
33213         (memcmp_z900): Rename to __memcmp_z900.
33214         * sysdeps/s390/s390-64/memcpy.S
33215         (memcpy_z900): Rename to __memcpy_z900.
33216         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33217         (memcpy_mvcle) Rename to __memcpy_mvcle.
33218         * sysdeps/s390/s390-64/memset.S
33219         (memset_z900): Rename to __memset_z900.
33220         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
33221         (IFUNC_RESOLVE): Prefix ifunc-resolve function
33222         and use prefixed functions.
33223         * sysdeps/s390/s390-64/multiarch/memcmp.S
33224         (memcmp_z196): Rename to __memcmp_z196.
33225         (memcmp_z10): Rename to __memcmp_z10.
33226         (memcmp): Set alias to __memcmp_z900.
33227         (bcmp): Set alias to __memcmp_z900.
33228         * sysdeps/s390/s390-64/multiarch/memcpy.S
33229         (memcpy_z196): Rename to __memcpy_z196.
33230         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33231         (memcpy_z10): Rename to __memcpy_z10.
33232         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33233         (memcpy): Set alias to __memcpy_z900.
33234         * sysdeps/s390/s390-64/multiarch/memset.S
33235         (memset_z196): Rename to __memset_z196.
33236         Jump to __memset_mvcle instead of memset_mvcle.
33237         (memset_z10): Rename to __memset_z10.
33238         Jump to __memset_mvcle instead of memset_mvcle.
33239         (memset_mvcle) Rename to __memset_mvcle.
33240         (memset): Set alias to __memset_z900.
33242 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
33244         [BZ #17748]
33245         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
33246         __fesetenv instead of fesetenv.
33248 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33250         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
33251         macro.
33253 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33255         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
33256         regression on LE.
33258         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
33259         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
33260         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33261         strncmp-power8 object.
33262         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33263         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
33264         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
33265         * NEWS: Update.
33267 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33268             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33270         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
33271         trailing byte check.
33273 2015-01-13  David S. Miller  <davem@davemloft.net>
33275         * include/signal.h (__sigreturn): Guard with __USE_MISC.
33277 2015-01-13  Roland McGrath  <roland@hack.frob.com>
33279         * login/logout.c (logout): Use memset rather than bzero.
33280         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
33281         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
33282         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
33283         (_gethtbyaddr): Likewise.
33284         * locale/programs/simple-hash.c (bcopy): Macro removed.
33286 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33288         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33289         Add strcmp-power8 object.
33290         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33291         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
33292         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
33293         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
33294         __strcmp_power8 implementation.
33295         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
33296         * NEWS: Update.
33298         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33299         Add strncpy-power8 and stpncpy-power8 objects.
33300         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33301         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
33302         implementations.
33303         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
33304         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
33305         __stpncpy_power8 implementation.
33306         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
33307         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
33308         __strncpy_power8 implementation.
33309         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
33310         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
33311         * NEWS: Update.
33313         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
33314         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
33315         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
33317         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33318         strncat-power8 object.
33319         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
33320         __strcat_power8 implementation.
33321         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33322         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
33323         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
33324         optimized strcat for power8.
33326         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33327         strcpy-power8 and stpcpy-power8 objects.
33328         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33329         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
33330         implementations.
33331         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
33332         multiarch stpcpy implementation for POWER8.
33333         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
33334         multiarch strcpy implementation for POWER8.
33335         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
33336         __strcpy_power8 function.
33337         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
33338         stpcpy for POWER8.
33339         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
33340         strcpy for POWER8.
33341         * NEWS: Update.
33343 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
33345         [BZ #16009]
33346         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
33347         weights and rules. Use do_xfrm_cached if data fits in cache,
33348         do_xfrm otherwise.  Moved former main loop to...
33349         * (do_xfrm_cached): New function.
33350         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
33351         find_idx, find_position and stack_push.
33352         * (find_idx): New function.
33353         * (find_position): Likewise.
33354         * localedata/sort-test.sh: Added test run for do_xfrm.
33355         * localedata/xfrm-test.c (main): Added command line option
33356         -nocache to run the test with strings that are too large for
33357         the STRXFRM cache.
33359 2015-01-13  Torvald Riegel  <triegel@redhat.com>
33361         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
33362         variable to lll_futex_wake call, not the value itself.
33364 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
33366         [BZ #17803]
33367         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
33368         twom64.  Adjust value to 0x1p-64L.
33369         (__scalblnl): Only return standard underflowing result for K <=
33370         -64 not K <= -63; adjust exponent for underflowing result by 64
33371         not 63.
33372         * math/libm-test.inc (scalbn_test_data): Add more tests.
33373         (scalbln_test_data): Likewise.
33375         [BZ #17834]
33376         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
33377         0x1p63L.
33378         (__scalblnl): Get new exponent of adjusted subnormal value from ES
33379         not HX.
33380         * math/libm-test.inc (scalbn_test_data): Add more tests.
33381         (scalbln_test_data): Likewise.
33383 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33384             Stefani Seibold  <stefani@seibold.net>
33386         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
33387         (sysdep_routines): Add dl-vdso here, ...
33388         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
33389         (sysdep_routines): ... not here.
33390         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
33391         fallback when vDSO is not presented.
33392         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
33393         Define with libc_hidden_proto/libc_hidden_data_def definitions.
33394         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
33395         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
33396         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
33397         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
33398         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
33399         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
33400         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
33401         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
33402         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
33403         fallback configurable symbol when vDSO is not available.
33404         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
33405         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
33406         be able to redefine fallback symbol when vDSO is not available.
33407         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
33408         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
33410 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33412         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
33413         (TLS_INIT_TP): Add tm_capable initialization.
33414         (TLS_DEFINE_INIT_TP): Likewise.
33415         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
33416         TCB.
33417         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
33418         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
33419         calculation.
33420         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
33421         transactoion is lock elision is built and TCB tm_capable is set.
33422         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
33423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33424         (INTERNAL_SYSCALL_NCS): Likewise.
33425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33426         (INTERNAL_SYSCALL_NCS): Likewise.
33427         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
33429         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
33430         for powerpc.
33431         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33432         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
33433         and remove it for 32 bits case.
33434         [pthread_rwlock_t] (__rwelision): New field for lock elision.
33435         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
33436         initialization.
33437         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
33438         Disable lock elision with rdlocks if elision is not available.
33440         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
33441         (sysdep_routines): Add lock elision objects.
33442         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33443         [pthread_mutex_t] (__spins): Rework to add lock elision field.
33444         [pthread_mutex_t] (__elision): Add field.
33445         [__PTHREAD_SPINS]: Adjust to init lock elision field.
33446         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
33447         elision definitions for powerpc.
33448         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
33449         implementation of lock elision for powerpc.
33450         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
33451         implementation of timed lock elision for powerpc.
33452         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
33453         implementation of trylock with lock elision for powerpc.
33454         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
33455         implementaion of unlock for lock elision for powerpc.
33456         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
33457         automatic enable lock elision for mutexes.
33458         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
33459         transaction execution definitions for powerpc.
33460         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
33461         definitions.
33462         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
33463         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
33464         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
33465         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
33466         * NEWS: Update.
33468 2015-01-09  Roland McGrath  <roland@hack.frob.com>
33470         * sysdeps/posix/shm-directory.c: Use <> rather than ""
33471         for #include of <shm-directory.h>.
33473 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
33475         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
33476         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
33478 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
33480         [BZ #17791]
33481         * NEWS: Mention bug fix.
33482         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
33483         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
33484         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
33486 2015-01-09  Torvald Riegel <triegel@redhat.com>
33488         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
33490 2015-01-09  Torvald Riegel <triegel@redhat.com>
33492         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
33494 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33496         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
33497         pointer and cast to uintptr_t.
33499 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33501         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
33502         removed.
33503         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
33505 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33507         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
33508         of 0.
33510 2015-01-08  Roland McGrath  <roland@hack.frob.com>
33512         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
33513         <nptl/pthreadP.h> instead.
33514         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
33516         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
33517         already defined.
33518         [__SIGRTMIN] (init): Function removed.
33519         [__SIGRTMIN] (initialized): Variable removed.
33520         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
33521         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
33522         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
33523         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
33524         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
33525         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
33526         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
33527         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
33528         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
33529         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
33530         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
33531         * sysdeps/nptl/allocrtsig.c: New file.
33532         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
33533         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
33534         * sysdeps/generic/testrtsig.h: File removed.
33536         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
33537         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
33539         * nptl/nptl-init.c (pthread_functions): Conditionalize
33540         .ptr__nptl_setxid initialization on [SIGSETXID].
33542         * sysdeps/nptl/sys/procfs.h: New file.
33543         * nptl_db/Makefile (headers): Add it.
33544         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
33546         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
33547         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
33548         * nptl/pthread_attr_setaffinity.c: Include it.
33549         * nptl/pthread_setattr_default_np.c: Likewise.
33550         * nptl/check-cpuset.h: New file.
33552 2015-01-08  Richard Henderson  <rth@redhat.com>
33554         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
33555         (CFLAGS-tst-execstack-prog.c): Likewise.
33556         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
33558 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
33559             Sandra Loosemore  <sandra@codesourcery.com>
33560             Andrew Jenner  <andrew@codesourcery.com>
33561             Joseph Myers  <joseph@codesourcery.com>
33562             Nathan Sidwell  <nathan@codesourcery.com>
33564         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
33565         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
33566         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
33567         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
33568         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
33569         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
33570         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
33571         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
33572         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
33573         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
33574         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
33575         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
33576         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
33577         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
33578         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
33579         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
33580         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
33582 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33584         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
33585         timespec struct member in syscall macro.
33586         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
33587         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
33588         first timeval struct member in syscall macro.
33589         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
33591 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
33593         [BZ #17748]
33594         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
33595         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
33596         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
33597         __feupdateenv and define as weak alias of __feupdateenv.  Use
33598         libm_hidden_weak.
33599         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
33600         libm_hidden_def.
33601         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
33602         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
33603         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
33604         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
33605         libm_hidden_def.
33606         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
33607         __feupdateenv and define as weak alias of __feupdateenv.  Use
33608         libm_hidden_weak.
33609         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
33610         libm_hidden_def.
33611         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
33612         __feupdateenv and define as weak alias of __feupdateenv.  Use
33613         libm_hidden_weak.
33614         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
33615         libm_hidden_def.
33616         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
33617         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
33618         (__feupdateenv): Likewise.
33619         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
33620         __feupdateenv and define as weak alias of __feupdateenv.  Use
33621         libm_hidden_weak.
33622         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33623         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
33624         libm_hidden_def.
33625         * sysdeps/tile/math_private.h (__feupdateenv): New inline
33626         function.
33627         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
33628         libm_hidden_def.
33629         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
33630         __feupdateenv instead of feupdateenv.
33631         (default_libc_feupdateenv_test): Likewise.
33632         (libc_feresetround_ctx): Likewise.
33634 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33636         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
33637         prototype.
33639 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
33641         * posix/regcomp.c (parse_bracket_exp): Initialize type to
33642         COLL_SYM in a couple of places to avoid uninitialized variable
33643         wanings on tilegx gcc 4.8.2.
33645 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
33647         * sysdeps/aarch64/strcpy.S: New file.
33648         * sysdeps/aarch64/stpcpy.S: New file.
33649         * NEWS: Updated.
33651 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
33653         * sysdeps/aarch64/strrchr.S: New file.
33654         * NEWS: Updated.
33656 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
33658         [BZ #17658]
33659         * stdlib/setenv.c: Fix memory leak when setting large,
33660         duplicate string.
33662 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
33664         [BZ #17273]
33665         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
33666         and tabs from buffer before parsing fstab entry.
33667         * misc/tst-mntent.c (main): Add test for mount entry with
33668         trailing spaces and tabs.
33670 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
33672         [BZ #17748]
33673         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
33674         * math/fesetround.c (fesetround): Rename to __fesetround and
33675         define as weak alias of __fesetround.  Use libm_hidden_weak.
33676         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
33677         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
33678         * sysdeps/arm/fesetround.c (fesetround): Likewise.
33679         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
33680         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
33681         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
33682         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
33683         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
33684         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
33685         __fesetround_inline.
33686         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
33687         __fesetround_inline instead of __fesetround.
33688         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
33689         __fesetround and define as weak alias of __fesetround.  Use
33690         libm_hidden_weak.  Call __fesetround_inline instead of
33691         __fesetround.
33692         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
33693         __fesetround and define as weak alias of __fesetround.  Use
33694         libm_hidden_weak.
33695         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
33696         Likewise.
33697         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
33698         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33699         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
33700         * sysdeps/tile/math_private.h (__fesetround): New inline function.
33701         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
33702         __fesetround and define as weak alias of __fesetround.  Use
33703         libm_hidden_weak.
33704         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
33705         __fesetround instead of fesetround.
33706         (default_libc_feholdexcept_setround): Likewise.
33707         (libc_feholdsetround_ctx): Likewise.
33708         (libc_feholdsetround_noex_ctx): Likewise.
33710         [BZ #17748]
33711         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
33712         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
33713         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
33714         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
33715         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33716         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
33717         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33718         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
33719         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33720         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33721         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33722         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33723         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33724         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33725         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
33726         libm_hidden_def.
33727         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
33728         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
33729         Likewise.
33730         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33731         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33732         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33733         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33734         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
33735         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
33736         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
33737         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
33738         __fesetenv instead of fesetenv.
33739         (libc_feresetround_noex_ctx): Likewise.
33740         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
33741         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
33742         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
33743         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
33744         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
33745         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
33746         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
33747         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
33748         (__feupdateenv): Likewise.
33749         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33750         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33751         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
33752         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
33754 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
33756         [BZ #17806]
33757         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
33758         addresses have been freed.
33760 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
33762         * resolv/res_init.c (__res_vinit): Improve comments about nserv
33763         and nservall.
33765 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
33767         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
33768         Clean up check_pf allocation pattern. addresses
33770 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33772         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
33773         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
33774         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
33775         * nptl/pthread_exit.c (__pthread_exit): Likewise.
33776         * nptl/pthread_join.c (pthread_join): Likewise.
33777         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
33778         * sysdeps/posix/waitid.c (__waitid): Likewise.
33779         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
33780         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
33781         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
33782         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
33783         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
33784         Likewise.
33785         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
33786         (__libc_pread64): Likewise.
33787         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
33788         (__libc_pwrite): Likewise.
33789         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
33790         (__libc_pwrite64): Likewsie.
33791         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
33792         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
33793         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
33794         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
33795         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
33796         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
33797         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
33798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
33799         Likewise.
33800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33801         (__libc_pread64): Likewise.
33802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
33803         Likewise.
33804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33805         (__libc_pwrite64): Likewise.
33806         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
33807         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
33808         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
33809         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
33810         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
33811         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
33812         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
33813         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
33814         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
33815         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
33816         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
33817         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
33818         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
33819         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
33820         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
33821         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
33822         Likewise.
33824 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
33826         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
33827         (CFLAGS-test-double.c): Likewise.
33828         (CFLAGS-test-ldouble.c): Likewise.
33829         (CPPFLAGS-test-ifloat.c): Likewise.
33830         (CPPFLAGS-test-idouble.c): Likewise.
33831         (CPPFLAGS-test-ildoubl.c): Likewise.
33832         (CFLAGS-test-test-fenv.c): Remove variable.
33833         (CFLAGS-test-misc.c): Likewise.
33835 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
33837         [BZ #17797]
33838         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
33839         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
33840         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
33841         CLOCKS_PER_SEC == 1000000.
33842         * time/clocktest.c (main): Replace %ld with %jd and cast to
33843         intmax_t.
33845 2015-01-05  Roland McGrath  <roland@hack.frob.com>
33847         * sysdeps/generic/unwind-resume.h: New file.
33848         * sysdeps/gnu/unwind-resume.c: Include it.
33849         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
33850         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
33851         argument list.
33852         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
33853         global rather than static.
33854         (_Unwind_Resume): Update user.
33855         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
33856         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
33857         rather than static.  Add __attribute__ ((cold)).
33858         (_Unwind_Resume, __gcc_personality_v0): Update callers.
33859         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
33860         * sysdeps/arm/arm-unwind-resume.S: New file.
33861         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
33862         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
33863         * sysdeps/arm/Makefile [$(subdir) = csu]
33864         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
33865         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
33866         Add rt-arm-unwind-resume.
33867         [$(subdir) = nptl]
33868         (libpthread-sysdep_routines, libpthread-shared-only-routines):
33869         Add pt-arm-unwind-resume.
33870         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
33871         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
33873 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
33875         [BZ #17748]
33876         * include/fenv.h (__feholdexcept): Declare.  Use
33877         libm_hidden_proto.
33878         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
33879         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
33880         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33881         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
33882         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
33883         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
33884         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
33885         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33886         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
33887         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
33888         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33889         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
33890         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
33891         (feholdexcept): Likewise.
33892         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33893         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33894         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33895         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33896         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
33897         __feholdexcept instead of feholdexcept.
33898         (default_libc_feholdexcept_setround): Likewise.
33900 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
33902         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
33903         to avoid using stl/str to align destination.
33905 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
33907         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
33909 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
33911         [BZ #17796]
33912         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
33913         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
33914         Define as weak alias not strong alias.
33916 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
33918         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
33919         bltzal with addiupc.
33920         (RTLD_START): Ditto.
33922 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
33924         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
33925         for __vdso_* functions in declarations.
33926         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
33927         definitions.
33928         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
33929         INTERNAL_VSYSCALL): Use struct return types to check for error.
33931         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
33932         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
33933         function with cast from llround().
33934         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
33935         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
33936         Define.
33938 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
33940         [BZ #17793]
33941         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
33942         Define as weak alias not strong alias.
33944         [BZ #17635]
33945         * ctype/ctype-c99.c: New file.  isblank implementation moved from
33946         ...
33947         * ctype/ctype-extn.c: ... here.
33948         (__isblank_l): Move to ...
33949         * ctype/ctype-c99_l.c: ... here.  New file.
33950         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
33951         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
33952         Remove variable.
33953         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
33954         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
33955         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
33956         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
33957         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
33959         [BZ #17777]
33960         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
33961         (posix_fadvise64): Define as weak alias not strong alias.
33962         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33963         (posix_fallocate64): Likewise.
33964         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
33965         Remove variable.
33966         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
33967         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
33968         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
33969         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
33970         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
33972 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
33974         [BZ #16191]
33975         * NEWS: Mention bug fix.
33976         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
33977         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
33978         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
33979         (HOST_STACK_END_ADDR): Likewise.
33981 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
33983         [BZ #17748]
33984         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
33985         * math/fegetround.c (fegetround): Rename to __fegetround and
33986         define as weak alias of __fegetround.  Use libm_hidden_weak.
33987         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
33988         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
33989         * sysdeps/arm/fegetround.c (fegetround): Likewise.
33990         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
33991         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
33992         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
33993         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
33994         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
33995         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
33996         Undefine after rather than before function definition; use
33997         parentheses around function name in definition.
33998         (__fegetround): Also undefine macro after function definition.
33999         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
34000         __fegetround and define as weak alias of __fegetround.  Use
34001         libm_hidden_weak.  Do not undefine as macro.
34002         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
34003         Likewise.
34004         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
34005         __fegetround and define as weak alias of __fegetround.  Use
34006         libm_hidden_weak.
34007         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34008         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
34009         * sysdeps/tile/math_private.h (__fegetround): New inline function.
34010         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
34011         __fegetround and define as weak alias of __fegetround.  Use
34012         libm_hidden_weak.
34013         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
34014         __fegetround instead of fegetround.
34016         [BZ #17782]
34017         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
34018         Condition macro definition on [__USE_MISC].
34020         [BZ #17781]
34021         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34022         (struct sigaction): Change type of sa_flags field to int.
34024         [BZ #17780]
34025         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
34026         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
34027         __glibc_reserved0.
34029         * nptl/version.c (banner): Use single year in copyright notice.
34031         * NEWS: Update copyright dates.
34032         * catgets/gencat.c (print_version): Likewise.
34033         * csu/version.c (banner): Likewise.
34034         * debug/catchsegv.sh: Likewise.
34035         * debug/pcprofiledump.c (print_version): Likewise.
34036         * debug/xtrace.sh (do_version): Likewise.
34037         * elf/ldconfig.c (print_version): Likewise.
34038         * elf/ldd.bash.in: Likewise.
34039         * elf/pldd.c (print_version): Likewise.
34040         * elf/sotruss.sh: Likewise.
34041         * elf/sprof.c (print_version): Likewise.
34042         * iconv/iconv_prog.c (print_version): Likewise.
34043         * iconv/iconvconfig.c (print_version): Likewise.
34044         * locale/programs/locale.c (print_version): Likewise.
34045         * locale/programs/localedef.c (print_version): Likewise.
34046         * login/programs/pt_chown.c (print_version): Likewise.
34047         * malloc/memusage.sh (do_version): Likewise.
34048         * malloc/memusagestat.c (print_version): Likewise.
34049         * malloc/mtrace.pl: Likewise.
34050         * manual/libc.texinfo: Likewise.
34051         * nptl/version.c (banner): Likewise.
34052         * nscd/nscd.c (print_version): Likewise.
34053         * nss/getent.c (print_version): Likewise.
34054         * nss/makedb.c (print_version): Likewise.
34055         * posix/getconf.c (main): Likewise.
34056         * scripts/test-installation.pl: Likewise.
34057         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
34059 2015-01-02  Will Newton  <will.newton@linaro.org>
34061         * sysdeps/arm/armv7/configure: Removed.
34062         * sysdeps/arm/armv7/configure.ac: Likewise.
34064 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
34066         * All files with FSF copyright notices: Update copyright dates
34067         using scripts/update-copyrights.
34068         * intl/plural.c: Regenerated.
34069         * locale/programs/charmap-kw.h: Likewise.
34070         * locale/programs/locfile-kw.h: Likewise.
34072 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34074         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
34076 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
34078         [BZ #17748]
34079         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
34080         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
34081         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
34082         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
34083         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34084         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
34085         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34086         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
34087         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34088         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34089         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34090         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34091         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34092         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34093         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
34094         libm_hidden_def.
34095         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
34096         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
34097         Likewise.
34098         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34099         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34100         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34101         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34102         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
34103         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
34104         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
34105         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
34106         __fegetenv instead of fegetenv.
34107         (libc_feholdsetround_noex_ctx): Likewise.
34109 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
34111         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
34112         (Elf_MIPS_ABIFlags_v0): New structure.
34113         (EF_MIPS_FP64): Define.
34114         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
34115         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
34116         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
34117         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
34118         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
34119         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
34120         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
34121         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
34122         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
34123         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
34124         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
34125         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
34126         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
34127         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
34128         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
34129         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
34130         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
34131         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
34132         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
34133         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
34134         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
34135         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
34136         field.
34137         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
34138         EF_MIPS_FP64.
34139         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
34140         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
34141         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
34142         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
34143         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
34144         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
34145         * sysdeps/mips/tst-abi-interlink.c: Likewise.
34146         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
34147         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
34148         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
34149         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
34150         record the current FP ABI extension.
34151         (mips-mode-switch): Define to show if kernel headers support mode
34152         switching.
34153         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
34154         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
34155         supported SYSV ABI version to 3.
34156         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
34157         feature.
34159 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34160             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34162         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
34163         path.
34164         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
34166 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
34168         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
34169         __fegetround and redefine to call __fegetround.  Remove condition
34170         on [!__NO_MATH_INLINES].
34171         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
34172         function.
34173         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
34174         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
34175         Remove macro.
34176         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
34177         instead of <fenv_libc.h>.
34178         (__llrintl): Call fegetround instead of __fegetround.
34179         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
34180         instead of <fenv_libc.h>.
34181         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
34182         (__lrintl): Call fegetround instead of __fegetround.
34183         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
34184         instead of <fenv_libc.h>.
34185         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
34186         (__rintl): Call fegetround instead of __fegetround.
34188 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34190         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
34191         arrays.
34193 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
34195         [BZ #17775]
34196         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
34197         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
34198         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
34200 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
34202         * sysdeps/i386/tls-macros.h: Include <features.h>.
34203         (TLS_LE): Use non-PIC version for GCC >= 5.0.
34204         (TLS_IE): Likewise.
34205         (TLS_LD): Likewise.
34206         (TLS_GD): Likewise.
34207         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
34208         define for GCC >= 5.0.
34210 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
34212         * math/test-fenv.c (test_single_exception, set_single_exc,
34213         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
34214         feexcp_mask_test, feenable_test, fe_single_test): Add
34215         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
34216         case where they are not used.
34217         * math/libm-test.inc: Likewise.
34218         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
34219         unused in the absence of FP rounding/exception support.
34220         * stdio-common/tst-printf-round.c: Likewise.
34221         * stdlib/tst-strtod-round.c: Likewise.
34222         * stdlib/tst-strtod-underflow.c: Likewise.
34224 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
34226         [BZ #17723]
34227         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
34228         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
34229         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34230         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34231         libm_hidden_weak.
34232         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
34233         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
34234         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
34235         libm_hidden_def.
34236         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34237         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34238         libm_hidden_weak.
34239         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
34240         Likewise.
34241         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
34242         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34243         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34244         libm_hidden_weak.
34245         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
34246         libm_hidden_def.
34247         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
34248         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
34249         (__feraiseexcept): Likewise.
34250         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34251         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34252         libm_hidden_weak.
34253         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
34254         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
34255         libm_hidden_def.
34256         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
34257         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
34258         Use libm_hidden_def.
34259         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
34260         libm_hidden_def.
34261         (feraiseexcept): Define as weak not strong alias.  Use
34262         libm_hidden_weak.
34263         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
34264         New inline function.  Factored out of ...
34265         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
34266         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
34267         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
34268         feraiseexcept.
34269         * math/w_acos.c (__acos): Likewise.
34270         * math/w_asin.c (__asin): Likewise.
34271         * math/w_ilogb.c (__ilogb): Likewise.
34272         * math/w_j0.c (y0): Likewise.
34273         * math/w_j1.c (y1): Likewise.
34274         * math/w_jn.c (yn): Likewise.
34275         * math/w_log.c (__log): Likewise.
34276         * math/w_log10.c (__log10): Likewise.
34277         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
34278         * sysdeps/aarch64/fpu/math_private.h
34279         (libc_feupdateenv_test_aarch64): Likewise.
34280         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
34281         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
34282         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
34283         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
34284         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
34285         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
34286         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
34287         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34288         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34289         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
34291 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
34293         [BZ #17732]
34294         * io/test-utime.c (main): Replace %ld with %jd and cast to
34295         intmax_t.
34296         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
34297         * nptl/tst-mutex5.c: Include <stdint.h>.
34298         (do_test): Replace %ld with %jd and cast to intmax_t.
34299         * posix/tst-regex.c (run_test): Likewise.
34300         (run_test_backwards): Likewise.
34301         * rt/tst-clock.c: Include <stdint.h>.
34302         (clock_test): Replace %ld with %jd and cast to intmax_t.
34303         * rt/tst-cpuclock1.c: Include <stdint.h>.
34304         (do_test): Replace %lu with %ju and cast to uintmax_t.
34305         * rt/tst-cpuclock2.c: Include <stdint.h>.
34306         (do_test): Replace %lu with %ju and cast to uintmax_t.
34307         * rt/tst-mqueue1.c: Include <stdint.h>.
34308         (check_attrs): Replace %ld with %jd and cast to intmax_t.
34309         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
34310         intmax_t.
34311         * rt/tst-mqueue4.c (do_test): Likewise.
34312         * rt/tst-timer4.c: Include <stdint.h>.
34313         (check_ts): Replace %ld with %jd and cast to intmax_t.
34314         (do_test): Likewise.
34315         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
34316         and cast to intmax_t.
34317         * sysdeps/pthread/tst-timer.c (main): Likewise.
34318         * time/clocktest.c (main): Likewise.
34319         * time/tst-posixtz.c (do_test): Likewise.
34320         * timezone/tst-timezone.c (main): Likewise.
34322 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
34323             H.J. Lu  <hongjiu.lu@intel.com>
34325         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
34326         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34327         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
34328         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
34329         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
34330         version if bit_Fast_Unaligned_Load is set.
34331         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34332         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34333         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34334         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34335         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34336         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34337         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34338         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
34339         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
34340         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
34341         to 4.
34342         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
34343         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
34344         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
34345         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
34347 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
34349         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
34350         instead of #if to avoid a Wundef warning.
34351         * stdlib/tst-limits.c (do_test): Likewise.
34353         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
34354         parallel other exception macros.
34355         (fegetenv): Convert from macro to extern inline so that it applies
34356         retroactively to inline functions already seen by the compiler.
34357         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
34359         * posix/Makefile (before-compile): Use $(objpfx) for
34360         posix-conf-vars-def.h.
34362 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34364         * posix/getconf.c (main): Use size_t for type of I.
34365         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
34366         NSPEC.
34368         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
34369         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
34370         * posix/posix-envs.def: Likewise.
34371         * sysdeps/posix/sysconf.c: Likewise.
34372         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
34373         (specs): Remove array.
34374         * scripts/gen-posix-conf-vars.awk: Support generation of specs
34375         array.
34377         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
34378         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
34379         (__sysconf): Use CONF_IS_* macros.
34381         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
34382         ($(objpfx)posix-conf-vars-def.h): New target.
34383         * posix/posix-conf-vars.list: New file.
34384         * posix/posix-conf-vars.h: New file.
34385         * posix/confstr.c: Include posix-conf-vars.h.
34386         (confstr): Use CONF_IS_* macros.
34387         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
34388         CONF_IS_* macros.
34389         * scripts/gen-posix-conf-vars.awk: New file.
34391 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
34393         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
34394         fegetround): Add no-op macros to avoid linknamespace issues.
34396         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
34397         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
34399         * sysdeps/unix/sysv/linux/tile/sysdep.h
34400         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
34401         assembly-specific section to avoid a redefinition warning.
34403         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
34404         long before casting to pointer to avoid a cast warning.
34406 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
34408         * sysdeps/tile/tilegx/Implies: New file.
34410 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
34412         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
34414 2014-12-23  Florian Weimer  <fweimer@redhat.com>
34416         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
34418 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
34420         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
34421         not define.
34422         * sysdeps/unix/sysv/linux/utimes.c: Do not include
34423         <kernel-features.h>.
34424         (__utimes) [__NR_utimes]: Make code unconditional.
34425         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
34426         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34427         (__ASSUME_UTIMES): Do not undefine.
34428         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34429         (__ASSUME_UTIMES): Likewise.
34430         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
34431         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
34432         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
34433         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
34435 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
34437         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
34439 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
34441         [BZ #17747]
34442         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
34443         alias to weak alias for j0l, y0l.
34444         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
34445         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
34447         [BZ #17746]
34448         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
34449         conversion.
34451 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
34453         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
34454         to zero if not already defined.
34456 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
34458         [BZ #17724]
34459         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
34460         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
34461         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
34462         (char *) casts added.
34463         * sysdeps/ieee754/k_standardf.c: New file.
34464         * sysdeps/ieee754/k_standardl.c: Likewise.
34465         * math/Makefile (libm-support): Remove k_standard.
34466         (libm-calls): Add k_standard.
34468 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34470         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
34471         Optimize to avoid an unnecessary FPCR read.
34473 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34475         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
34476         Optimize to reduce FPCR/FPSR accesses.
34478 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34480         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
34481         Call libc_fetestexcept_aarch64.
34483 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34485         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
34486         Call libc_fesetround_aarch64.
34488 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
34490         [BZ #17733]
34491         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
34492         (__bind): Do not define as weak alias.
34493         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
34494         define.
34495         (__getsockname): Do not define as weak alias.
34497 2014-12-22  Will Newton  <will.newton@linaro.org>
34499         * manual/install.texi: Document that we require bison 2.7
34500         or above.
34501         * INSTALL: Regenerate.
34502         * configure.ac: Use AC_CHECK_PROG_VER instead of
34503         AC_PATH_PROG when checking for bison and check for
34504         version 2.7 or above.
34505         * configure: Regenerate.
34507 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
34509         [BZ #17745]
34510         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
34511         * sysdeps/tile/ffsll.c (ffsll): To here.
34513         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
34515 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
34517         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
34518         if not defined.
34519         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
34520         definition.
34521         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
34522         hidden ___tls_get_addr.
34523         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
34524         hidden __tls_get_addr.
34525         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
34526         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
34527         Likewise.
34529 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
34531         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
34532         _dl_init call.
34534 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
34536         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
34537         from "call _dl_init@PLT".
34538         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
34540 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
34542         * manual/search.texi: (Array Sort Function): Clarify stable sorting
34543         guarantees.
34545 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
34547         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
34549 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
34551         [BZ #17744]
34552         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
34553         strnlen.
34555 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
34557         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
34558         of multu on MIPSr6.
34559         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
34560         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
34561         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
34562         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
34563         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
34565 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
34567         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
34568         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
34569         (PTR_SUBU): Use subu for mips32r6/mips64r6.
34570         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
34571         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
34572         mips32r6/mips64r6.
34573         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
34575 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
34577         * string/strncat.c (STRNCAT): Simplify implementation.
34579 2014-12-19  David S. Miller  <davem@davemloft.net>
34581         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
34582         access the quad as both a long double and as a series of 4 words.
34584         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
34585         link_map->l_info array access.
34587 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
34589         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
34591         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
34592         * math/atest-exp2.c (TIMEOUT): Likewise.
34593         * math/atest-sincos.c (TIMEOUT): Likewise.
34595 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
34597         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
34598         -Wno-error with -fno-builtin-lround.
34600 2014-12-19  Torvald Riegel  <triegel@redhat.com>
34602         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
34603         Contains futex constants and functions moved over from ...
34604         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
34605         <lowlevellock-futex.h>.
34606         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
34607         (lll_timedwait_tid): Add comments and parentheses around macro
34608         arguments.
34610 2014-12-19  Torvald Riegel  <triegel@redhat.com>
34612         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
34613         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
34614         (__lll_private_flag): Remove.
34615         (lll_futex_wait): Likewise.
34616         (lll_futex_timed_wait): Likewise.
34617         (lll_futex_wake): Likewise.
34618         (lll_futex_requeue): Likewise.
34619         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
34620         (__lll_timedwait_tid): Spell out argument names.
34621         (lll_timedwait_tid): Add comments and parentheses around macro
34622         arguments.
34623         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
34624         LLL_SHARED and LLL_PRIVATE usable from assembly code.
34626 2014-12-19  Torvald Riegel  <triegel@redhat.com>
34628         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
34629         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
34630         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34631         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
34632         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
34633         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
34634         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
34635         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
34636         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
34637         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
34638         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
34639         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
34640         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
34641         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
34642         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
34643         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
34644         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
34645         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
34646         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
34648 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
34650         * sysdeps/x86_64/x32/Makefile: New file.
34652 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
34654         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
34655         1L with (mp_limb_t) 1.
34657 2014-12-17  Roland McGrath  <roland@hack.frob.com>
34659         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
34660         * nptl/libc_pthread_init.c: ... here.
34661         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
34662         * nptl/register-atfork.c: ... here.
34664         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
34665         Use pthread_sigmask rather than INTERNAL_SYSCALL.
34666         Use assert_perror to check its return value.
34667         (__gai_create_helper_thread): Likewise.
34669         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
34671         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
34673 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
34675         [BZ #17725]
34676         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
34677         __profil_counter.
34678         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
34679         Likewise.
34680         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
34681         Likewise.
34682         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
34683         Likewise.
34684         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
34685         (profil_counter): Likewise.
34686         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
34687         (profil_counter): Likewise.
34688         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
34689         Likewise.
34690         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
34691         Likewise.
34692         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
34693         (profil_counter): Likewise.
34694         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
34695         Likewise.
34696         [!__profil_counter] (profil_counter): Define as weak alias of
34697         __profil_counter.
34698         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
34699         (profil_counter): Rename to __profil_counter.
34700         [!__profil_counter] (profil_counter): Define as weak alias of
34701         __profil_counter.
34702         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
34703         (profil_counter): Rename to __profil_counter.
34704         [!__profil_counter] (profil_counter): Define as weak alias of
34705         __profil_counter.
34706         * sysdeps/posix/profil.c: Update comment referring to
34707         profil_counter.
34708         (__profil): Use __profil_counter instead of profil_counter.
34709         * sysdeps/posix/sprofil.c (profil_counter): Rename to
34710         __profil_counter.  Use __profil_counter_ushort and
34711         __profil_counter_uint in definitions.
34712         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
34713         instead of profil_counter_uint and profil_counter_ushort.
34715         [BZ #17722]
34716         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
34717         define as weak alias of __inet_makeaddr.
34718         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
34719         as weak alias of __inet_addr.
34720         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
34721         as weak alias of __inet_pton.  Use libc_hidden_weak.
34722         * include/arpa/inet.h (__inet_pton): Declare.  Use
34723         libc_hidden_proto.
34724         (inet_makeaddr): Don't use libc_hidden_proto.
34725         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
34726         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
34727         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
34728         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
34729         Remove variable.
34730         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
34731         (test-xfail-POSIX/time.h/linknamespace): Likewise.
34733 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
34735         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
34737 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
34739         * stdio-common/bug-vfprintf-nargs.c (do_test):
34740         Cast value to intptr_t to avoid format warning
34741         for usage with PRIdPTR printing macro.
34743 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
34745         * libio/tst-widetext.c (do_test):
34746         Use format type %td instead of %Zd for ptrdiff_t
34747         in order to avoid format warning.
34749 2014-12-17  Andreas Schwab  <schwab@suse.de>
34751         * nscd/mem.c (gc): Add size_t cast to match printf format.
34753 2014-12-16  Roland McGrath  <roland@hack.frob.com>
34755         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
34756         (init): Apply PTR_MANGLE to pointers before storing them.
34757         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
34758         before using them.
34760 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
34762         [BZ #17719]
34763         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
34764         define as weak alias of __memrchr.
34765         (__memrchr): Do not define as strong alias of memrchr.
34766         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
34767         Remove variable.
34768         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
34769         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
34770         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
34772         [BZ #17717]
34773         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
34774         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
34775         (if_indextoname): Rename to __if_indextoname and define as weak
34776         alias of __if_indextoname.  Use libc_hidden_weak.
34777         (if_freenameindex): Rename to __if_freenameindex and define as
34778         weak alias of __if_freenameindex.
34779         (if_nameindex): Rename to __if_nameindex and define as weak alias
34780         of __if_nameindex.
34781         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
34782         __if_nametoindex and define as weak alias of __if_nametoindex.
34783         Use libc_hidden_weak.
34784         (if_freenameindex): Rename to __if_freenameindex and define as
34785         weak alias of __if_freenameindex.
34786         (if_nameindex): Rename to __if_nameindex and define as weak alias
34787         of __if_nameindex.
34788         (if_indextoname): Rename to __if_indextoname and define as weak
34789         alias of __if_indextoname.  Use libc_hidden_weak.
34790         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
34791         __if_nametoindex and define as weak alias of __if_nametoindex.
34792         Use libc_hidden_weak.
34793         (if_freenameindex): Rename to __if_freenameindex and define as
34794         weak alias of __if_freenameindex.  Use libc_hidden_weak.
34795         (if_nameindex_netlink): Use __if_freenameindex instead of
34796         if_freenameindex.
34797         (if_nameindex): Rename to __if_nameindex and define as weak alias
34798         of __if_nameindex.  Use libc_hidden_weak.
34799         (if_indextoname): Rename to __if_indextoname and define as weak
34800         alias of __if_indextoname.  Use libc_hidden_weak.
34801         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
34802         libc_hidden_proto.
34803         [!_ISOMAC] (__if_freenameindex): Likewise.
34804         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
34805         if_nametoindex.
34806         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
34807         variable.
34808         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
34809         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
34810         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
34811         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
34812         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
34813         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
34814         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
34816         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
34817         Remove variable.
34818         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
34819         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
34821 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34823         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
34824         subscript above bounds'
34826         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
34827         bounds.
34829 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
34831         * libio/tst-fopenloc.c: Use test-skeleton.c.
34833         * stdlib/tst-bsearch.c: Use test-skeleton.c.
34834         (entry): Rename to ITEM.
34835         (do_test, comp): Adjust.
34837         * stdio-common/tst-fseek.c: Use test-skeleton.c.
34839 2014-12-16  Torvald Riegel  <triegel@redhat.com>
34841         * string/tester.c: Include <libc-internal.h>.
34842         (test_memset): Ignore -Wmemset-transposed-args.
34844 2014-12-16  Torvald Riegel  <triegel@redhat.com>
34846         * misc/tst-mntent2.c (do_test): Fix warning.
34848 2014-12-16  Torvald Riegel  <triegel@redhat.com>
34850         * elf/tst-unique4lib.cc(a): Mark as used.
34852 2014-12-16  Florian Weimer  <fweimer@redhat.com>
34854         [BZ #17630]
34855         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
34856         names.
34858 2014-12-16  Allan McRae  <allan@archlinux.org>
34860         * stdio-common/Makefile (tests): Re-add bug26.
34862 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
34864         [BZ #17657]
34865         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
34866         static array.
34868 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
34870         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
34871         (__lll_lock_wait): Likewise.
34872         (__lll_timedlock_wait): Likewise.
34873         (__lll_timedwait_tid): Likewise.
34874         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
34875         (__lll_robust_timedlock_wait): Likewise.
34876         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
34877         (lll_cond_trylock): Likewise.
34878         (__lll_lock): Likewise.
34879         (__lll_robust_lock): Likewise.
34880         (__lll_cond_lock): Likewise.
34881         (lll_robust_cond_lock): Likewise.
34882         (__lll_timedlock): Likewise.
34883         (__lll_robust_timedlock): Likewise.
34884         (__lll_unlock): Likewise.
34885         (__lll_robust_unlock): Likewise.
34886         (lll_wait_tid): Likewise.
34887         (lll_timedwait_tid): Likewise.
34889 2014-12-15  Torvald Riegel  <triegel@redhat.com>
34891         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
34893 2014-12-15  Torvald Riegel  <triegel@redhat.com>
34895         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
34897 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
34899         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
34900         * stdio-common/tst-sprintf.c: Likewise.
34902 2014-12-15  Torvald Riegel  <triegel@redhat.com>
34904         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
34906 2014-12-15  Jeff Law  <law@redhat.com>
34908         [BZ #16617]
34909         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
34910         on the heap.  (CVE-2012-3406)
34911         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
34912         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
34913         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
34915 2014-12-15  Will Newton  <will.newton@linaro.org>
34917         * manual/install.texi: Bump required version of texinfo
34918         to 4.7 from 4.5.
34919         * INSTALL: Regenerated.
34920         * configure.ac: Check for makeinfo version 4.7 and above.
34921         * configure: Regenerated.
34923 2014-12-12  Roland McGrath  <roland@hack.frob.com>
34925         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
34926         PREFIX, string constant to insert between directory and name.
34927         * sysdeps/posix/shm_open.c: Update caller.
34928         * sysdeps/posix/shm_unlink.c: Likewise.
34929         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
34930         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
34931         (SEM_SHM_PREFIX): New macro.
34932         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
34933         [$(have-thread-library) = no].
34934         * nptl/Makefile (libpthread-routines): Add shm-directory.
34935         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
34936         * sysdeps/nptl/shm-directory.h: New file.
34937         * sysdeps/posix/shm-directory.c
34938         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
34939         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
34940         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
34941         INTERNAL_SYSCALL.
34942         (__where_is_shmfs): Function removed.
34943         (mountpoint, defaultmount, defaultdir, __namedsem_once):
34944         Variables removed.
34945         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
34946         Use SHM_GET_NAME.
34947         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
34949         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
34950         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
34951         unconditional for use inside libpthread.
34952         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
34954 2014-12-12  Roland McGrath  <roland@hack.frob.com>
34956         * nptl/pthread_getaffinity.c: New file.
34957         * nptl/pthread_setaffinity.c: New file.
34958         * nptl/pthread_getname.c: New file.
34959         * nptl/pthread_setname.c: New file.
34961         * nptl/pthread_create.c (START_THREAD_DEFN)
34962         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
34964 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34965             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34967         * resolv/res_send.c (send_vc): Disable warning resplen may
34968         be used uninitialized.
34970 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34972         * nptl/tst-mutex6.c
34973         (ATTR_NULL): New define checks ATTR against NULL.
34974         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
34975         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
34977 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
34979         [BZ #17581]
34980         * malloc/hooks.c
34981         (mem2mem_check): Revert my previous change.
34982         (malloc_check_get_size): Revert my previous change.
34983         (mem2chunk_check): Revert my previous change.
34985 2014-12-11  Roland McGrath  <roland@hack.frob.com>
34987         * sysdeps/posix/shm-directory.c: New file.
34988         * sysdeps/posix/shm-directory.h: New file.
34989         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
34990         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
34991         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
34992         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
34993         Transmute EPERM to EACCES.
34994         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
34995         from ...
34996         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
34997         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
34999 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35001         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
35002         pointer and cast to uintptr_t.
35003         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
35004         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
35005         Add cast to avoid warning.
35006         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
35008 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
35010         * nptl/semaphore.h: Move to ...
35011         * sysdeps/pthread/semaphore.h: ... here.
35012         * Makefile (installed-headers): Change nptl/semaphore.h to
35013         sysdeps/pthread/semaphore.h.
35015 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35017         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
35018         generated error format strings.
35020         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
35021         -Wformat-extra-args warnings for scanf formats.
35022         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
35023         test of zero-length format (duh).
35024         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
35025         corner-case scanf format test.
35026         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
35027         generated fprintf format string.
35028         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
35029         corner-case sprintf format tests.
35030         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
35031         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
35032         -Wformat-extra-args warnings throughout.
35033         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
35034         (CFLAGS-scanf4.c): Likewise.
35035         (CFLAGS-scanf7.c): Likewise.
35036         (CFLAGS-tst-sprintf.c): Likewise.
35037         (CFLAGS-tst-printf.c): Likewise.
35038         (CFLAGS-tst-printfsz.c): Likewise.
35040 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
35042         * include/cpio.h: New file.
35043         * include/fmtmsg.h: Likewise.
35045         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
35046         corresponding format argument to size_t.
35047         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
35048         arguments.
35049         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
35050         corresponding format argument to size_t.
35051         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
35052         arguments.
35053         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
35054         corresponding format argument to size_t.
35055         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
35056         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
35057         (CFLAGS-tst-mbswcs2.c): Likewise.
35058         (CFLAGS-tst-mbswcs3.c): Likewise.
35059         (CFLAGS-tst-mbswcs4.c): Likewise.
35060         (CFLAGS-tst-mbswcs5.c): Likewise.
35061         (CFLAGS-tst-trans.c): Likewise.
35063 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35065         * posix/regexbug1.c (main): Use "%s" format with regerror results,
35066         rather than assuming they won't contain any '%'s.
35068 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
35070         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
35071         inhibit_loop_to_libcall to avoid recursive calls.
35072         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
35073         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
35075 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
35077         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
35078         prototype.
35080 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
35082         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
35083         integer value instead of boolean.
35085 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
35087         * malloc/malloc.c: Fix powerof2 check.
35089 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35091         * locale/programs/locfile.h (maybe_swap_uint32):
35092         Remove inline and add unused attribute.
35094 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35096         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
35097         Truncating assembler expression to a .long expression.
35099 2014-12-11  Andreas Schwab  <schwab@suse.de>
35101         * elf/rtld.c (struct map_args): Constify str member.
35102         (do_preload): Constify fname argument.
35104 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35106         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
35107         constants definition.
35109 2014-12-11  Andreas Schwab  <schwab@suse.de>
35111         [BZ #16657]
35112         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
35113         FORCE_ELISION instead of DO_ELISION.
35114         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
35115         Remove.
35116         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
35117         Likewise.
35119         * iconvdata/gconv-modules: Remove duplicate entry.
35121 2014-12-11  Will Newton  <will.newton@linaro.org>
35123         Merge gettext 0.19.3 into intl/.
35125         This involves a number of cosmetic changes to comments
35126         and ANSI function definitions and prototypes throughout
35127         all the files. The gettext copyright header is used but
35128         with the date ranges taken from the glibc copy.
35130         * NEWS: Add gettext merge to 2.21.
35131         * intl/bindtextdom.c: Switch to gettext copyright.
35132         Use ANSI definitions and prototypes.
35133         Use gl_* locking primitives rather than __libc_* ones.
35134         Use __builtin_expect rather than __glibc_likely/unlikely.
35135         * intl/dcgettext.c: Switch to gettext copyright.
35136         Use ANSI definitions and prototypes.
35137         * intl/dcigettext.c: Switch to gettext copyright.
35138         Use ANSI definitions and prototypes.
35139         (INTDIV0_RAISES_SIGFPE): New define.
35140         Use gl_* locking primitives rather than __libc_* ones.
35141         Include eval-plural.h instead of plural-eval.c.
35142         Use __builtin_expect rather than __glibc_likely/unlikely.
35143         * intl/dcngettext.c: Switch to gettext copyright.
35144         Use ANSI definitions and prototypes.
35145         * intl/dgettext.c: Likewise.
35146         * intl/dngettext.c: Likewise.
35147         * intl/plural-eval.c: Renamed to...
35148         * intl/eval-plural.h: ...this.
35149         * intl/explodename.c: Switch to gettext copyright.
35150         Use ANSI definitions and prototypes.
35151         (_nl_explode_name): Use strchr instead of __rawmemchr.
35152         * intl/finddomain.c: Switch to gettext copyright.
35153         Use ANSI definitions and prototypes.
35154         Use gl_* locking primitives rather than __libc_* ones.
35155         (_nl_find_domain): Use malloc rather than alloca for
35156         allocation of temporary locale name.
35157         * intl/gettext.c: Switch to gettext copyright.
35158         Use ANSI definitions and prototypes.
35159         * intl/gettextP.h: Switch to gettext copyright.
35160         Use ANSI definitions and prototypes.
35161         Use gl_* locking primitives rather than __libc_* ones.
35162         * intl/gmo.h: Switch to gettext copyright.
35163         (struct sysdep_string): Move struct segment_pair outside of
35164         struct definition.
35165         * intl/hash-string.c: Use ANSI definitions and prototypes.
35166         * intl/hash-string.h: Switch to gettext copyright.
35167         Use ANSI definitions and prototypes.
35168         * intl/l10nflist.c: Switch to gettext copyright.
35169         Use ANSI definitions and prototypes.
35170         (_nl_normalize_codeset): Avoid integer overflow.
35171         * intl/loadinfo.h: Switch to gettext copyright.
35172         Use ANSI definitions and prototypes.
35173         (LIBINTL_DLL_EXPORTED): New define.
35174         (PATH_SEPARATOR): New define.
35175         * intl/loadmsgcat.c: Switch to gettext copyright.
35176         * intl/localealias.c: Switch to gettext copyright.
35177         Use ANSI definitions and prototypes.
35178         (_nl_expand_alias): Use PATH_SEPARATOR.
35179         * intl/ngettext.c: Switch to gettext copyright.
35180         Use ANSI definitions and prototypes.
35181         * intl/plural-exp.c: Likewise.
35182         * intl/plural-exp.h: Switch to gettext copyright.
35183         Use ANSI definitions and prototypes.
35184         (struct expression): Move definition of enum operator outside
35185         of struct definition.
35186         * intl/plural.c: Regenerate.
35187         * intl/plural.y: Switch to gettext copyright.
35188         Use ANSI definitions and prototypes.
35189         Port to bison 3.0.
35190         * intl/textdomain.c: Switch to gettext copyright.
35191         Use ANSI definitions and prototypes.
35192         Use gl_* locking primitives rather than __libc_* ones.
35194 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
35196         * debug/warning-nop.c: Add used atrribute.
35198 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35200         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
35202         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
35203         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
35204         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
35206 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35207             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35209         [BZ #17634]
35210         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
35211         Undefine after defining function.  Define as weak alias of
35212         __wcschr.  Use libc_hidden_weak.
35213         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
35214         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
35215         (libc_hidden_def): Also define __GI___wcschr alias.
35216         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
35217         __wcschr and define as weak alias of __wcschr.
35218         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
35219         __wcschr.
35220         [!WCSCHR] (DEFAULT_WCSCHR): Define.
35221         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
35222         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
35223         libc_hidden_weak.  Do not use libc_hidden_def.
35224         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
35225         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
35226         __GI___wcschr alias.
35227         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
35228         [IS_IN (libc)] (wcschr): Define as macro expanding to
35229         __redirect_wcschr.
35230         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
35231         [IS_IN (libc)] (__wcschr_power6): Likewise.
35232         [IS_IN (libc)] (__wcschr_power7): Likewise.
35233         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
35234         instead of wcschr.
35235         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
35236         __libc_wcschr.
35237         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
35238         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
35239         __wcschr and define as weak alias of __wcschr.  Use
35240         libc_hidden_builtin_def.
35241         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
35242         as weak alias of __wcschr.  Use libc_hidden_weak.
35243         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
35244         wcschr.
35245         * time/era.c (_nl_init_era_entries): Likewise.
35246         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
35247         variable.
35248         (test-xfail-XPG3/time.h/linknamespace): Likewise.
35249         (test-xfail-XPG4/time.h/linknamespace): Likewise.
35251 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35253         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
35254         format for long int variable.
35256 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
35258         [BZ #10672]
35259         * manual/search.texi: (Array Sort Function): Remove claim how to make
35260         qsort stable.
35262 2014-12-10  Andreas Schwab  <schwab@suse.de>
35264         [BZ #12847]
35265         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
35266         user-controlled locks.
35268 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
35270         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
35271         register.
35273 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35275         * configure.ac (--disable-werror): New configure option.
35276         (enable_werror): New AC_SUBST.
35277         * configure: Regenerated.
35278         * config.make.in (enable-werror): New variable.
35279         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
35280         -Wno-error=undef.
35281         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
35282         * manual/install.texi (Configuring and compiling): Document
35283         --disable-werror.
35284         * INSTALL: Regenerated.
35285         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
35286         (CFLAGS-tst-chk2.c): Likewise.
35287         (CFLAGS-tst-chk3.c): Likewise.
35288         (CFLAGS-tst-chk4.cc): Likewise.
35289         (CFLAGS-tst-chk5.cc): Likewise.
35290         (CFLAGS-tst-chk6.cc): Likewise.
35291         (CFLAGS-tst-lfschk1.c): Likewise.
35292         (CFLAGS-tst-lfschk2.c): Likewise.
35293         (CFLAGS-tst-lfschk3.c): Likewise.
35294         (CFLAGS-tst-lfschk4.cc): Likewise.
35295         (CFLAGS-tst-lfschk5.cc): Likewise.
35296         (CFLAGS-tst-lfschk6.cc): Likewise.
35298         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
35299         (main): Disable -Wdeprecated-declarations around calls to
35300         register_printf_function.
35302         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
35303         (do_test): Disable -Wdiv-by-zero around some calls to
35304         fwrite_unlocked and fread_unlocked.
35306         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
35307         (DIAG_POP_NEEDS_COMMENT): Likewise.
35308         (_DIAG_STR1): Likewise.
35309         (_DIAG_STR): Likewise.
35310         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
35311         * stdio-common/bug21.c: Include <libc-internal.h>.
35312         (do_test): Disable -Wformat around call to sscanf.
35313         * stdio-common/scanf14.c: Include <libc-internal.h>.
35314         (main): Disable -Wformat around some calls to scanf functions.
35316 2014-12-09  Torvald Riegel  <triegel@redhat.com>
35318         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
35320 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35322         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
35323         stack variable alignment.
35325 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
35327         [BZ #17682]
35328         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
35329         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
35330         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
35331         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
35332         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
35333         __getrlimit instead of getrlimit.
35334         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
35335         __gettimeofday instead of gettimeofday.
35336         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
35337         Likewise.
35338         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
35339         Likewise.
35340         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35341         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
35342         Remove variable.
35343         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
35344         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
35346 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35348         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
35349         for wide-character tests.
35351 2014-12-04  Roland McGrath  <roland@hack.frob.com>
35353         * io/openat64.c: #include <libc-internal.h>
35354         (__openat64): Prototypify.  Use ignore_value on MODE.
35355         * io/openat.c: Likewise.
35356         * misc/reboot.c: #include <libc-internal.h>
35357         (reboot): Prototypify.  Use ignore_value on HOWTO.
35358         * misc/ptrace.c: #include <libc-internal.h>
35359         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
35361 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
35363         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
35364         XPG4, UNIX98 and XOPEN2K.
35365         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
35366         Remove variable.
35367         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
35369 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35371         * libio/fileops.c: Use ISO C style for function definitions.
35372         * libio/iofopen.c: Likewise.
35373         * libio/wfileops.c: Likewise.
35375         [BZ #17653]
35376         * libio/fileops.c (_IO_new_file_underflow): Unset cached
35377         offset on EOF.
35378         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
35379         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
35380         (fgets_func): Function pointer to fgets and fgetws.
35381         (do_ftell_test): Add test to verify ftell value after read
35382         EOF.
35383         (do_test): Set fgets_func.
35385         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
35386         O_TRUNC flag for w and w+ modes.
35387         (do_rewind_test): Likewise.
35388         (do_ftell_test): Likewise.
35389         (do_write_test): Likewise.
35391         [BZ #17647]
35392         * libio/fileops.c (do_ftell): Seek only when there are
35393         unflushed writes.
35394         * libio/wfileops.c (do_ftell_wide): Likewise.
35395         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
35396         test case.
35397         (do_one_test): Call it.
35399 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
35401         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
35402         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
35403         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
35404         Remove variable.
35405         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
35406         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
35407         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
35409 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
35411         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
35412         Remove variable.
35413         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
35415         [BZ #17668]
35416         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
35417         as weak alias of __getifaddrs.  Use libc_hidden_weak.
35418         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
35419         __freeifaddrs.  Use libc_hidden_weak.
35420         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
35421         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
35422         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
35423         __freeifaddrs.  Use libc_hidden_weak.
35424         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
35425         __getifaddrs and define as weak alias of __getifaddrs.  Use
35426         libc_hidden_weak.
35427         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
35428         __freeifaddrs.  Use libc_hidden_weak.
35429         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
35430         Remove variable.
35431         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
35432         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
35434 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
35436         [BZ #17601]
35437         * sysdeps/mips/start.S (__start): Use indirect jump to call
35438         __libc_start_main.
35440 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
35442         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
35444         * nptl/tst-mutex1.c: Include <stdbool.h>.
35445         [!ATTR] (ATTR_NULL): New macro.
35446         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
35447         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
35448         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
35450         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
35451         to char *.
35453         [BZ #17665]
35454         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
35455         Change conditional to [__USE_MISC].
35457         [BZ #17664]
35458         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
35459         fgets_unlocked.
35460         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
35461         __fgets_unlocked.
35462         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
35463         fgets_unlocked.
35464         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
35465         Remove variable.
35466         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
35467         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
35468         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
35469         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
35470         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
35471         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
35472         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
35473         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
35474         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
35476         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
35478 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35480         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35481         Remove strpbrk objects.
35482         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35483         (__libc_ifunc_impl_list): Remove strpbrk implementation.
35484         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
35485         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
35486         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
35487         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
35489         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35490         Remove strcspn objects.
35491         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35492         (__libc_ifunc_impl_list): Remove strcspn implementation.
35493         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
35494         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
35495         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
35496         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
35498         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35499         Remove strspn objetcs.
35500         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35501         (__libc_ifunc_impl_list): Remove strspn implementation.
35502         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
35503         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
35504         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
35505         * sysdeps/powerpc/powerpc64/strspn.S: New file.
35507 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
35509         [BZ #17581]
35510         * malloc/hooks.c
35511         (mem2mem_check): Add a terminator to the chain of checking blocks.
35512         (malloc_check_get_size): Use it here.
35513         (mem2chunk_check): Ditto.
35515 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35517         * sysdeps/powerpc/powerpc64/strtok.S: New file.
35518         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
35520 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
35522         * bits/ioctl-types.h: Indent preprocessor directives correctly.
35524         * nptl/nptl-init.c: Include libc-internal.h.
35525         (__pthread_initialize_minimal_internal): Use ROUND_UP.
35527         * elf/ldconfig.c (search_dir): Expand comment.
35529 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
35531         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
35532         variable.
35533         (linknamespace-symlist-stdlibs-tests): Likewise.
35534         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
35535         instead of $(objpfx)symlist-stdlibs.
35536         (linknamespace-libs-isoc): New variable.
35537         (linknamespace-libs): Use $(linknamespace-libs-isoc).
35538         (linknamespace-libs-ISO): New variable.
35539         (linknamespace-libs-ISO99): Likewise.
35540         (linknamespace-libs-ISO11): Likewise.
35541         (linknamespace-libs-XPG3): Likewise.
35542         (linknamespace-libs-XPG4): Likewise.
35543         (linknamespace-libs-POSIX): Likewise.
35544         (linknamespace-libs-UNIX98): Likewise.
35545         (linknamespace-libs-XOPEN2K): Likewise.
35546         (linknamespace-libs-POSIX2008): Likewise.
35547         (linknamespace-libs-XOPEN2K8): Likewise.
35548         ($(objpfx)symlist-stdlibs): Replace by
35549         $(linknamespace-symlist-stdlibs-tests).  Use
35550         $(linknamespace-libs-$*) as set of libraries.
35551         ($(linknamespace-header-tests)): Update dependencies.  Use
35552         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
35553         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
35554         * conform/linknamespace.pl: Remove comment about considering
35555         definitions of symbols from irrelevant libraries.
35557 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
35559         [BZ #13862]
35560         * elf/dl-tls.c: Include <atomic.h>.
35561         (oom): Remove #ifdef SHARED/#endif.
35562         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
35563         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
35564         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
35565         big enough.
35566         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
35567         * nptl/Makefile (tests): Add tst-stack4.
35568         (modules-names): Add tst-stack4mod.
35569         ($(objpfx)tst-stack4): New.
35570         (tst-stack4mod.sos): Likewise.
35571         ($(objpfx)tst-stack4.out): Likewise.
35572         ($(tst-stack4mod.sos)): Likewise.
35573         (clean): Likewise.
35574         * nptl/tst-stack4.c: New file.
35575         * nptl/tst-stack4mod.c: Likewise.
35577 2014-11-27  J. Brown  <jb999@gmx.de>
35579         * sysdeps/x86/bits/string.h: Add recent CPUs.
35581 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
35583         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
35584         sigblock.
35586         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
35587         feof.
35589         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
35590         variable.
35592 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
35594         * nscd/connections.c: Include libc-internal.h because of macro
35595         usage ignore_value.
35597 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35599         * string/bits/string3.h (__warn_memset_zero_len): Don't
35600         declare for gcc newer than 5.0.
35601         (memset): Don't test for zero-length __LEN for gcc newer than
35602         5.0.
35604 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
35606         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
35607         size_t for %zu format.
35609         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
35610         difference, not %ju.
35612 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
35614         * include/libc-internal.h (ignore_value): New macro.
35615         * nscd/connections.c (restart): Wrap calls to setuid and setgid
35616         with ignore_value.
35618         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
35619         definition.
35621         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
35622         pthread_cleanup_push to void *.
35624         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
35625         Undefine.
35627         [BZ #16619]
35628         [BZ #16740]
35629         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
35630         instead of 1L << 52.
35632         * libio/bug-rewind.c (do_test): Check fwscanf return values.
35633         * libio/bug-rewind2.c (do_test): Likewise.
35635         * debug/test-stpcpy_chk-ifunc.c: Remove file.
35636         * debug/test-strcpy_chk-ifunc.c: Likewise.
35637         * wcsmbs/test-wcschr-ifunc.c: Likewise.
35638         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35639         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35640         * wcsmbs/test-wcslen-ifunc.c: Likewise.
35641         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35642         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35643         * Rules [$(multi-arch) = no] (tests): Do not filter out
35644         $(tests-ifunc).
35645         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
35646         * debug/Makefile (tests-ifunc): Remove variable.
35647         (tests): Do not add $(tests-ifunc).
35648         * wcsmbs/Makefile (tests-ifunc): Remove variable.
35649         (tests): Do not add $(tests-ifunc).
35650         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
35651         [TEST_IFUNC]: Remove conditionals.
35652         * string/test-string.h (TEST_IFUNC): Remove macro.
35653         [TEST_IFUNC]: Remove conditionals.
35655         * string/test-strchr.c [!WIDE] (L): New macro.
35656         [WIDE] (L): Likewise.
35657         (check1): Use CHAR instead of char.  Use L on string and character
35658         constants.
35660 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
35662         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
35663         tests.
35664         * sysdeps/powerpc/bits/atomic.h
35665         (__arch_atomic_exchange_and_add_32_acq): Add definition.
35666         (__arch_atomic_exchange_and_add_32_rel): Likewise.
35667         (atomic_exchange_and_add_acq): Likewise.
35668         (atomic_exchange_and_add_rel): Likewise.
35669         * sysdeps/powerpc/powerpc32/bits/atomic.h
35670         (__arch_atomic_exchange_and_add_64_acq): Add definition.
35671         (__arch_atomic_exchange_and_add_64_rel): Likewise.
35672         * sysdeps/powerpc/powerpc64/bits/atomic.h
35673         (__arch_atomic_exchange_and_add_64_acq): Add definition.
35674         (__arch_atomic_exchange_and_add_64_rel): Likewise.
35676 2014-11-26  Torvald Riegel  <triegel@redhat.com>
35678         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
35679         Change synchronization of __sched_fifo_min_prio and
35680         __sched_fifo_max_prio.
35681         * nptl/pthread_mutexattr_getprioceiling.c
35682         (pthread_mutexattr_getprioceiling): Likewise.
35683         * nptl/pthread_mutexattr_setprioceiling.c
35684         (pthread_mutexattr_setprioceiling): Likewise.
35685         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
35686         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
35687         Likewise.
35689 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
35691         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
35692         void.
35694 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
35696         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
35697         third argument const.
35699 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
35701         fnmatch: work around GCC compiler warning bug with uninit var
35702         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
35703         This works around a bug with x86-64 GCC 4.9.2 and earlier
35704         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
35705         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
35706         used uninitialized in this function [-Wmaybe-uninitialized]".
35708 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
35710         * posix/bug-regex31.c (main): Return RES not 0.
35712 2014-11-25  Anton Blanchard <anton@samba.org>
35714         * sysdeps/powerpc/bits/atomic.h
35715         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
35717 2014-11-24  Sterling Augustine  <saugustine@google.com>
35719         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
35721 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
35723         [BZ #17608]
35724         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
35726 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
35728         [BZ #17633]
35729         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
35730         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
35731         variable.
35732         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
35733         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
35735 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
35737         * string/strncpy.c (strncpy): Improve performance by using memset.
35739 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
35741         * string/strcpy.c (strcpy):
35742         Improve performance by using strlen and memcpy.
35744 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
35746         * string/strcoll_l.c (get_next_seq): __always_inline.
35747         * string/strcoll_l.c (do_compare): __always_inline.
35749 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35751         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
35752         defined.
35753         * include/mqueue.h: Likewise.
35754         * include/stdlib.h: Likewise.
35756         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
35757         (get_null_defines): Adjust.
35758         * sunrpc/Makefile: Adjust comment.
35759         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
35760         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
35761         (CFLAGS-interp.c): Likewise.
35762         (CFLAGS-ldconfig.c): Likewise.
35763         (CPPFLAGS-.os): Likewise.
35764         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35765         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
35766         * extra-modules.mk (extra-modules.mk): Likewise.
35767         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
35768         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
35769         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
35770         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
35771         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
35772         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
35773         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
35774         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
35775         * iconvdata/Makefile (CPPFLAGS): Likewise.
35776         (cpp-srcs-left): Add libof for all iconvdata routines.
35777         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
35778         * include/assert.h: Likewise.
35779         * include/ctype.h: Likewise.
35780         * include/errno.h: Likewise.
35781         * include/libc-symbols.h: Likewise.
35782         * include/math.h: Likewise.
35783         * include/netdb.h: Likewise.
35784         * include/resolv.h: Likewise.
35785         * include/stdio.h: Likewise.
35786         * include/stdlib.h: Likewise.
35787         * include/string.h: Likewise.
35788         * include/sys/stat.h: Likewise.
35789         * include/wctype.h: Likewise.
35790         * intl/l10nflist.c: Likewise.
35791         * libidn/idn-stub.c: Likewise.
35792         * libio/libioP.h: Likewise.
35793         * nptl/libc_multiple_threads.c: Likewise.
35794         * nptl/pthreadP.h: Likewise.
35795         * posix/regex_internal.h: Likewise.
35796         * resolv/res_hconf.c: Likewise.
35797         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
35798         * sysdeps/arm/memmove.S: Likewise.
35799         * sysdeps/arm/sysdep.h: Likewise.
35800         * sysdeps/generic/_itoa.h: Likewise.
35801         * sysdeps/generic/symbol-hacks.h: Likewise.
35802         * sysdeps/gnu/errlist.awk: Likewise.
35803         * sysdeps/gnu/errlist.c: Likewise.
35804         * sysdeps/i386/i586/memcpy.S: Likewise.
35805         * sysdeps/i386/i586/memset.S: Likewise.
35806         * sysdeps/i386/i686/memcpy.S: Likewise.
35807         * sysdeps/i386/i686/memmove.S: Likewise.
35808         * sysdeps/i386/i686/mempcpy.S: Likewise.
35809         * sysdeps/i386/i686/memset.S: Likewise.
35810         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35811         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35812         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
35813         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
35814         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35815         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35816         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
35817         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35818         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35819         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35820         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35821         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35822         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35823         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35824         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35825         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35826         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
35827         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
35828         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
35829         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35830         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35831         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35832         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35833         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35834         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35835         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35836         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
35837         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35838         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
35839         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35840         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35841         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35842         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35843         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35844         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35845         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35846         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35847         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35848         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35849         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35850         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35851         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35852         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35853         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35854         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35855         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35856         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
35857         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
35858         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35859         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
35860         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35861         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
35862         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
35863         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35864         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
35865         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
35866         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35867         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
35868         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
35869         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35870         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
35871         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35872         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
35873         * sysdeps/nptl/bits/libc-lock.h: Likewise.
35874         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
35875         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
35876         * sysdeps/posix/closedir.c: Likewise.
35877         * sysdeps/posix/opendir.c: Likewise.
35878         * sysdeps/posix/readdir.c: Likewise.
35879         * sysdeps/posix/rewinddir.c: Likewise.
35880         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
35881         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
35882         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
35883         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
35884         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
35885         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
35886         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
35887         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
35888         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
35889         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
35890         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
35891         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
35892         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
35893         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
35894         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
35895         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
35896         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
35897         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
35898         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
35899         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
35900         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
35901         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
35902         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
35903         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
35904         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
35905         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
35906         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
35907         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
35908         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
35909         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
35910         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
35911         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
35912         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
35913         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
35914         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
35915         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
35916         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
35917         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
35918         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
35919         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
35920         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
35921         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
35922         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
35923         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
35924         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
35925         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
35926         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
35927         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
35928         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
35929         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
35930         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
35931         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
35932         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
35933         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
35934         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
35935         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
35936         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
35937         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
35938         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
35939         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
35940         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
35941         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
35942         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
35943         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
35944         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
35945         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
35946         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
35947         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
35948         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
35949         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
35950         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
35951         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
35952         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
35953         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
35954         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
35955         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
35956         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
35957         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
35958         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
35959         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
35960         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
35961         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
35962         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
35963         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
35964         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
35965         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
35966         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
35967         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35968         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35969         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35970         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
35971         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
35972         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
35973         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35974         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35975         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
35976         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35977         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35978         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
35979         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
35980         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35981         * sysdeps/unix/alpha/sysdep.S: Likewise.
35982         * sysdeps/unix/alpha/sysdep.h: Likewise.
35983         * sysdeps/unix/make-syscalls.sh: Likewise.
35984         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
35985         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35986         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
35987         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
35988         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
35989         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
35990         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
35991         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
35992         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
35993         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
35994         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
35995         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
35996         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35997         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
35998         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
35999         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
36000         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36001         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
36002         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
36003         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36004         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
36005         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36006         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36007         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36008         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36009         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36010         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
36012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36013         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
36014         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36015         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36016         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
36017         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36018         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
36019         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36020         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
36021         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36022         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
36023         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
36024         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36025         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36026         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36027         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
36028         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36029         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36030         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36031         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36032         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36033         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36034         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36035         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36036         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36037         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36038         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
36039         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36040         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36041         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36042         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
36043         * sysdeps/x86_64/memcpy.S: Likewise.
36044         * sysdeps/x86_64/memmove.c: Likewise.
36045         * sysdeps/x86_64/memset.S: Likewise.
36046         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
36047         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36048         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
36049         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
36050         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
36051         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36052         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36053         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36054         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36055         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36056         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36057         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36058         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
36059         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36060         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36061         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
36062         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36063         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36064         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36065         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36066         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
36067         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36068         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36069         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36070         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36071         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36072         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36073         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
36074         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36075         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36076         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
36077         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36078         * sysdeps/x86_64/strcmp.S: Likewise.
36080         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
36082         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
36083         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
36084         * elf/rtld-Rules: Likewise.
36085         * elf/setup-vdso.h: Likewise.
36086         * include/assert.h: Likewise.
36087         * include/bits/stdlib-float.h: Likewise.
36088         * include/errno.h: Likewise.
36089         * include/sys/stat.h: Likewise.
36090         * include/unistd.h: Likewise.
36091         * sysdeps/aarch64/setjmp.S: Likewise.
36092         * sysdeps/alpha/setjmp.S: Likewise.
36093         * sysdeps/arm/__longjmp.S: Likewise.
36094         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
36095         * sysdeps/arm/setjmp.S: Likewise.
36096         * sysdeps/arm/sysdep.h: Likewise.
36097         * sysdeps/generic/_itoa.h: Likewise.
36098         * sysdeps/generic/dl-sysdep.h: Likewise.
36099         * sysdeps/generic/ldsodefs.h: Likewise.
36100         * sysdeps/i386/dl-tls.h: Likewise.
36101         * sysdeps/i386/setjmp.S: Likewise.
36102         * sysdeps/m68k/setjmp.c: Likewise.
36103         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
36104         * sysdeps/mach/hurd/opendir.c: Likewise.
36105         * sysdeps/posix/getcwd.c: Likewise.
36106         * sysdeps/posix/opendir.c: Likewise.
36107         * sysdeps/posix/profil.c: Likewise.
36108         * sysdeps/powerpc/dl-procinfo.h: Likewise.
36109         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36110         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36111         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
36112         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36113         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
36114         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
36115         * sysdeps/s390/dl-tls.h: Likewise.
36116         * sysdeps/s390/s390-32/setjmp.S: Likewise.
36117         * sysdeps/s390/s390-64/setjmp.S: Likewise.
36118         * sysdeps/sh/sh3/setjmp.S: Likewise.
36119         * sysdeps/sh/sh4/setjmp.S: Likewise.
36120         * sysdeps/unix/alpha/sysdep.h: Likewise.
36121         * sysdeps/unix/arm/sysdep.S: Likewise.
36122         * sysdeps/unix/i386/sysdep.S: Likewise.
36123         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36124         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
36125         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36126         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36127         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36128         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
36129         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
36130         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36131         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
36132         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
36133         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
36134         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36135         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36138         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36139         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36140         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36141         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36142         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36143         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36144         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36145         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36146         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36147         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36148         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36149         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36150         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36151         * sysdeps/x86_64/setjmp.S: Likewise.
36153         * include/math.h: Use IS_IN instead of IS_IN_libm.
36154         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
36155         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36156         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36157         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
36158         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36159         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36160         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36161         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36162         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36163         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36164         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
36165         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
36166         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
36167         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
36168         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
36169         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
36170         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
36171         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
36172         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
36173         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
36174         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
36175         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
36176         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
36177         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
36178         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
36179         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
36180         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
36181         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
36182         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
36183         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
36184         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
36185         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
36186         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
36187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
36188         Likewise.
36189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
36190         Likewise.
36191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
36192         Likewise.
36193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
36194         Likewise.
36195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
36196         Likewise.
36197         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
36198         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
36199         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
36200         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36201         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36202         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
36204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
36205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
36206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
36207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
36208         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
36209         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
36210         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
36211         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
36212         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36213         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
36214         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
36215         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36216         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
36217         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
36218         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
36219         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
36220         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
36221         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
36222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36223         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
36225         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
36226         * nptl/pthreadP.h: Likewise.
36227         * nptl_db/structs.def: Likewise.
36228         * sysdeps/arm/sysdep.h: Likewise.
36229         * sysdeps/nptl/bits/libc-lock.h: Likewise.
36230         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
36231         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
36232         * sysdeps/unix/alpha/sysdep.h: Likewise.
36233         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36234         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36235         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36236         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36237         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36238         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36239         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36240         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36241         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36242         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36243         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36244         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36245         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36246         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
36248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36249         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36250         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36251         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36252         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36253         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36254         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36255         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36256         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36257         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
36258         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36260         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
36261         * nptl/pthreadP.h: Likewise.
36262         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36263         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36264         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36265         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36266         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36267         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36268         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36269         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36270         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36271         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36272         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36273         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
36275         Likewise.
36276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
36277         Likewise.
36278         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36279         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36280         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36281         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36282         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36283         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36284         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36285         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36287         * dlfcn/dladdr.c: Use IS_IN.
36288         * dlfcn/dladdr1.c: Likewise.
36289         * dlfcn/dlclose.c: Likewise.
36290         * dlfcn/dlerror.c: Likewise.
36291         * dlfcn/dlinfo.c: Likewise.
36292         * dlfcn/dlmopen.c: Likewise.
36293         * dlfcn/dlopen.c: Likewise.
36294         * dlfcn/dlsym.c: Likewise.
36295         * dlfcn/dlvsym.c: Likewise.
36297         * include/ifaddrs.h: Use IS_IN.
36298         * inet/check_pf.c: Likewise.
36299         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36300         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
36302         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
36303         IS_IN_ldconfig.
36304         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
36305         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
36307         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
36308         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
36309         IS_IN (libc).
36311         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
36313         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
36314         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36315         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
36316         * include/libc-symbols.h (IS_IN_LIB): New macro.
36317         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
36318         * include/netdb.h: Likewise.
36319         * include/stap-probe.h: Remove all uses of IN_LIB.
36321         * Makeconfig (module-cppflags-real): Define MODULE_NAME
36322         instead of IN_MODULE.
36323         * include/libc-symbols.h (IN_MODULE): Define using
36324         MODULE_NAME.
36325         (PASTE_NAME, PASTE_NAME1): New macros.
36326         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
36327         of IN_LIB.
36328         (STAP_PROBE_ASM): Likewise.
36330 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36332         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
36333         __mach_init in dlopened libc.
36335 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
36337         * sysdeps/arm/preconfigure.ac: Delete EABI check.
36338         * sysdeps/arm/preconfigure: Regenerate.
36340 2014-11-21  Roland McGrath  <roland@hack.frob.com>
36342         * nptl/pthread_create.c (__pthread_create_2_1): Set
36343         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
36344         when copying values from IATTR into PD.
36346 2014-11-21  Will Newton  <will.newton@linaro.org>
36347             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
36349         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
36350         Refactor inline-asm.  Also add comment.
36352         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
36353         ElfW macro instead of hardcoded Elf64 types.
36354         (la_aarch64_gnu_pltenter): Likewise.
36355         * sysdeps/aarch64/dl-machine.h
36356         (elf_machine_runtime_setup): Use ElfW(Addr).
36358         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
36359         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
36360         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
36361         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
36362         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
36363         (R_AARCH64_TLS_DTPMOD64): Rename to ..
36364         (R_AARCH64_TLS_DTPMOD): This.
36365         (R_AARCH64_TLS_DTPREL64): Rename to ...
36366         (R_AARCH64_TLS_DTPREL): This.
36367         (R_AARCH64_TLS_TPREL64): Rename to ...
36368         (R_AARCH64_TLS_TPREL): This.
36369         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
36370         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
36371         R_AARCH64_TLS_TPREL64.
36372         (elf_machine_rela): Likewise.
36374 2014-11-21  Torvald Riegel  <triegel@redhat.com>
36376         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
36377         by setting it to 0.  64b atomics are not supported currently.
36379 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36381         [BZ #16469]
36382         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
36383         search domain names.
36385 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36387         [BZ #16469]
36388         * NEWS: Update.
36389         * resolv/res_query.c (__libc_res_nquerydomain): Retain
36390         trailing dot.
36391         * posix/tst-getaddrinfo5.c: New.
36392         * posix/Makefile (tests): Add it.
36394 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36396         [BZ #14498]
36397         * NEWS: Fixed.
36398         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
36399         after parsing line but before break_if_match.
36400         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
36401         if there is a protocol mismatch.
36403 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
36405         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
36406         because the potential race is on the user-supplied stream.
36408 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36410         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
36411         string literal if not passed a buffer.
36412         * manual/job.texi (ctermid): Update reasoning, note deviation
36413         from posix, suggest mtasurace when not passed a buffer, for
36414         future non-preliminary safety notes.
36416 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36418         * manual/users.texi (cuserid): Fix MT-Safety note for the case
36419         of not passing it a buffer.
36420         Reported by Peng Haitao.
36422 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36424         * manual/Makefile ($(objpfx)stamp-summary): Require
36425         check-safety.sh to pass.
36426         * manual/check-safety.sh: Wish for verification that every
36427         @deftypefn and @deftypefun is followed by a @safety remark.
36429 2014-11-20  Roland McGrath  <roland@hack.frob.com>
36431         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
36433         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
36434         PTHREAD_CANCEL_ASYNCHRONOUS.
36435         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
36436         send SIGCANCEL.
36438         * nptl/default-sched.h: New file.
36439         * sysdeps/unix/sysv/linux/default-sched.h: New file.
36440         * nptl/pthread_create.c: Include it.
36441         (__pthread_create_2_1): Use collect_default_sched instead of making
36442         Linux syscalls here directly.
36444 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36446         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
36447         __pthread_once): Use C11 atomics.
36449 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36451         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
36453 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36455         * include/atomic.h (__atomic_link_error, __atomic_check_size,
36456         atomic_thread_fence_acquire, atomic_thread_fence_release,
36457         atomic_thread_fence_seq_cst, atomic_load_relaxed,
36458         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
36459         atomic_compare_exchange_weak_relaxed,
36460         atomic_compare_exchange_weak_acquire,
36461         atomic_compare_exchange_weak_release,
36462         atomic_exchange_acquire, atomic_exchange_release,
36463         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
36464         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
36465         atomic_fetch_and_acquire,
36466         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
36468 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36470         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
36471         USE_ATOMIC_COMPILER_BUILTINS): Define.
36472         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
36473         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36474         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
36475         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36476         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
36477         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36478         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
36479         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36480         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
36481         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36482         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
36483         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36484         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
36485         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36486         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
36487         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36488         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
36489         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36490         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
36491         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36492         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
36493         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36494         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
36495         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36496         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
36497         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36498         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
36499         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36500         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
36501         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36502         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
36503         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36504         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
36505         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36506         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
36507         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36508         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
36509         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36510         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
36511         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36513 2014-11-19  Roland McGrath  <roland@hack.frob.com>
36515         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
36516         the sched_priority value here.  It was already checked when the user
36517         called pthread_attr_setschedparam.
36519         * nptl/tst-bad-schedattr.c: New file.
36520         * nptl/Makefile (tests): Add it.
36522 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
36523             Florian Weimer  <fweimer@redhat.com>
36524             Joseph Myers  <joseph@codesourcery.com>
36525             Adam Conrad  <adconrad@0c3.net>
36526             Andreas Schwab  <schwab@suse.de>
36527             Brooks  <bmoses@google.com>
36529         [BZ #17625]
36530         * wordexp-test.c (__dso_handle): Add prototype.
36531         (__register_atfork): Likewise.
36532         (__app_register_atfork): New function.
36533         (registered_forks): New global.
36534         (register_fork): New function.
36535         (test_case): Add 3 new tests for WRDE_CMDSUB.
36536         (main): Call __app_register_atfork.
36537         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
36538         fork count is non-zero fail the test.
36539         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
36540         is set.
36541         (parse_dollars): Remove check for WRDE_NOCMD.
36542         (parse_dquote): Likewise.
36544 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36546         * Makeconfig (built-modules): List non-library modules to be
36547         built.
36548         (module-cppflags): Include libc-modules.h for
36549         everything except shlib-versions.v.i.
36550         (CPPFLAGS): Use it.
36551         (before-compile): Add libc-modules.h.
36552         ($(common-objpfx)libc-modules.h,
36553         $(common-objpfx)libc-modules.stmp): New targets.
36554         (common-generated): Add libc-modules.h and libc-modules.stmp.
36555         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
36556         * include/libc-symbols.h: Don't include libc-modules.h.
36557         * include/libc-modules.h: Remove file.
36558         * scripts/gen-libc-modules.awk: New script to generate
36559         libc-modules.h.
36560         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
36561         Depend on libc-modules.stmp.
36563         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
36565         * Makeconfig (in-module): Get value of libof set for the
36566         translation unit.
36567         (CPPFLAGS): Use $(in-module).
36568         * Makerules: Don't suffix routine names for nonlib.
36569         * include/libc-modules.h: New file.
36570         * include/libc-symbols.h: Include libc-modules.h
36571         (IS_IN): New macro to replace IS_IN_* macros.
36572         * elf/Makefile: Set libof-* for each routine.
36573         * elf/rtld-Rules: Likewise.
36574         * extra-modules.mk: Likewise.
36575         * iconv/Makefile: Likewise.
36576         * iconvdata/Makefile: Likewise.
36577         * locale/Makefile: Likewise.
36578         * malloc/Makefile: Likewise.
36579         * nss/Makefile: Likewise.
36580         * sysdeps/gnu/Makefile: Likewise.
36581         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
36582         * sysdeps/unix/sysv/linux/Makefile: Likewise.
36583         * sysdeps/s390/s390-64/Makefile: Likewise.
36584         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
36585         CPPFLAGS for nscd instead of nonlib.
36587 2014-11-18  Roland McGrath  <roland@hack.frob.com>
36589         * nptl/createthread.c: New file.
36591         * nptl/createthread.c: Moved ...
36592         * sysdeps/unix/sysv/linux/createthread.c: ... here.
36594         * nptl/createthread.c: Add proper top-line comment.
36595         (do_clone): Folded into ...
36596         (create_thread): ... here.  Take new arguments STOPPED_START and
36597         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
36598         increment __nptl_threads, do event-reporting logic, do
36599         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
36600         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
36601         resource cleanup if sched_setaffinity or sched_setscheduler fails,
36602         just send SIGCANCEL.
36603         * nptl/pthread_create.c: Forward-declare create_thread before
36604         including createthread.c.
36605         (start_thread): Use new macro START_THREAD_DEFN to replace defining
36606         declaration, and new macro START_THREAD_SELF to replace argument.
36607         Remove return statement.
36608         (report_thread_creation): New function.
36609         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
36610         synchronization logic, and __nptl_nthreads increment here, around
36611         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
36612         PD->parent_cancelhandling here, before create_thread.  When
36613         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
36614         __deallocate_stack, and ENOMEM translation here.
36616 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
36618         [BZ #17616]
36619         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
36620         (mptwo): Rename to __mptwo.
36621         (__inv): Use __mptwo instead of mptwo.
36622         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
36623         (mptwo): Rename to __mptwo.
36624         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
36625         of mpone and __mptwo instead of mptwo.
36626         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
36627         instead of mpone.
36628         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36629         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
36630         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
36631         of mpone and __mptwo instead of mptwo.
36632         (__mpranred): Use __mpone instead of mpone.
36633         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
36634         variable.
36635         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
36636         (test-xfail-ISO99/math.h/linknamespace): Likewise.
36637         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
36638         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
36639         (test-xfail-ISO11/math.h/linknamespace): Likewise.
36640         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
36641         (test-xfail-XPG3/math.h/linknamespace): Likewise.
36642         (test-xfail-XPG4/math.h/linknamespace): Likewise.
36643         (test-xfail-POSIX/math.h/linknamespace): Likewise.
36644         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
36645         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
36646         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
36647         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
36648         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
36649         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
36650         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
36651         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
36652         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
36653         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
36655 2014-11-18  Tom de Vries  <tom@codesoucery.com>
36657         * manual/signal.texi (Primitives Interrupted by Signals): In section,
36658         replace BSD Handler xref with BSD Signal Handling.
36660 2014-11-17  Richard Henderson  <rth@redhat.com>
36662         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
36663         (_FP_PACK_RAW_2): Remove.
36664         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
36665         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
36666         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
36667         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
36668         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
36669         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
36670         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
36671         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
36672         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
36673         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
36674         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
36675         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
36676         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
36677         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
36678         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
36679         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
36681 2014-11-14  Roland McGrath  <roland@hack.frob.com>
36683         * signal/signal.h [__USE_MISC]
36684         (struct sigvec): Remove type.
36685         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
36686         (sigvec): Remove declaration.
36687         * sysdeps/posix/sigvec.c: Moved ...
36688         * signal/sigvec.c: ... here, replacing old file.
36689         (struct sigvec): New type, copied from old signal.h definition.
36690         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
36691         (__sigvec): Convert definition to prototype.
36692         (sigvec): Replace weak_alias with compat_symbol.
36693         * signal/Versions (libc: GLIBC_2.21): New version set.
36694         * include/signal.h: Remove __sigvec declaration.
36695         * sysdeps/unix/bsd/sigvec.c: Remove file.
36696         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
36697         * manual/signal.texi (BSD Handler): Remove subsection.
36698         Move siginterrupt up to ...
36699         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
36700         (Blocking in BSD): Fold subsection into its parent.
36701         * NEWS: Mention sigvec removal.
36703 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
36705         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
36706         (DLA_FMS): Make definition conditional only on [__FMA4__].
36707         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
36708         definition.
36710         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
36711         Make definition conditional only on [PROF].
36712         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
36713         definition.
36714         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
36715         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
36717         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
36718         !__GNUC__].
36719         * include/signal.h (__sigpause): Move declaration above call to
36720         libc_hidden_proto.
36721         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
36722         variable.
36723         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
36724         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
36726 2014-11-14  David S. Miller  <davem@davemloft.net>
36728         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
36729         Define before including <string/memcpy.c> and <string/mempcpy.c>.
36731 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
36733         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
36734         * configure: Regenerated.
36735         * manual/install.texi (Tools for Compilation): Document a
36736         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
36737         compiler verified to work.
36738         * INSTALL: Regenerated.
36740         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
36741         redeclare with asm name.
36742         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
36743         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
36744         including <string.h>.
36745         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36746         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
36747         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36748         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
36749         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36750         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
36751         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36753 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
36755         * stdlib/strtol.c (__strtol): Use prototype definition.
36757         [BZ #17594]
36758         * stdlib/strtol.c (SYM__): New macro.
36759         (SYM__1): Likewise.
36760         (__strtol): Likewise.
36761         (strtol): Rename to __strtol and define as weak alias of
36762         __strtol.  Use libc_hidden_weak.
36764 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36766         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
36767         Use numbered labels in inline assembly.
36769 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36771         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
36772         Add setjmp LIBC_PROBE.
36773         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
36774         Likewise.
36775         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
36776         Add longjmp, longjmp_target LIBC_PROBE.
36777         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
36778         Likewise.
36780 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36782         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
36783         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
36784         to get rid of unused variable warning.
36786 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36788         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
36789         Check for unwind_backtrace ==  NULL only in SHARED case.
36790         (__backchain_backtrace): Compile only in SHARED case.
36791         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
36792         Likewise.
36793         (__backchain_backtrace): Declare as static.
36795 2014-11-12  Roland McGrath  <roland@hack.frob.com>
36797         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
36798         (__libc_multiple_threads_ptr): Variable moved ...
36799         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
36801 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
36803         * conform/GlibcConform.pm: New file.
36804         * conform/conformtest.pl: Use GlibcConform module.
36805         * conform/linknamespace.pl: New file.
36806         * conform/list-header-symbols.pl: Likewise.
36807         * conform/Makefile (linknamespace-symlists-base): New variable.
36808         (linknamespace-symlists-tests): Likewise.
36809         (linknamespace-header-base): Likewise.
36810         (linknamespace-header-tests): Likewise.
36811         (tests-special): Add new tests.
36812         ($(linknamespace-symlists-tests)): New rule.
36813         (linknamespace-libs): New variable.
36814         ($(objpfx)symlist-stdlibs): New rule.
36815         ($(linknamespace-header-tests)): Likewise.
36816         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
36817         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
36818         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
36819         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
36820         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
36821         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
36822         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
36823         (test-xfail-ISO/math.h/linknamespace): Likewise.
36824         (test-xfail-ISO/signal.h/linknamespace): Likewise.
36825         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
36826         (test-xfail-ISO/time.h/linknamespace): Likewise.
36827         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
36828         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
36829         (test-xfail-ISO99/math.h/linknamespace): Likewise.
36830         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
36831         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
36832         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
36833         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
36834         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
36835         (test-xfail-ISO11/math.h/linknamespace): Likewise.
36836         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
36837         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
36838         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
36839         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
36840         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
36841         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
36842         (test-xfail-XPG3/math.h/linknamespace): Likewise.
36843         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
36844         (test-xfail-XPG3/search.h/linknamespace): Likewise.
36845         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
36846         (test-xfail-XPG3/time.h/linknamespace): Likewise.
36847         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
36848         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
36849         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
36850         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
36851         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
36852         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
36853         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
36854         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
36855         (test-xfail-XPG4/math.h/linknamespace): Likewise.
36856         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
36857         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
36858         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
36859         (test-xfail-XPG4/search.h/linknamespace): Likewise.
36860         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
36861         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
36862         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
36863         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
36864         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
36865         (test-xfail-XPG4/time.h/linknamespace): Likewise.
36866         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
36867         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
36868         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
36869         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
36870         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
36871         (test-xfail-POSIX/math.h/linknamespace): Likewise.
36872         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
36873         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
36874         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
36875         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
36876         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
36877         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
36878         (test-xfail-POSIX/time.h/linknamespace): Likewise.
36879         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
36880         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
36881         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
36882         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
36883         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
36884         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
36885         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
36886         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
36887         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
36888         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
36889         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
36890         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
36891         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
36892         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
36893         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
36894         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
36895         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
36896         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
36897         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
36898         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
36899         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
36900         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
36901         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
36902         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
36903         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
36904         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
36905         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
36906         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
36907         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
36908         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
36909         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
36910         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
36911         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
36912         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
36913         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
36914         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
36915         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
36916         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
36917         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
36918         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
36919         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
36920         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
36921         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
36922         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
36923         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
36924         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
36925         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
36926         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
36927         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
36928         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
36929         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
36930         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
36931         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
36932         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
36933         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
36934         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
36935         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
36936         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
36937         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
36938         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
36939         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
36940         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
36941         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
36942         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
36943         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
36944         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
36945         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
36946         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
36947         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
36948         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
36949         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
36950         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
36951         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
36952         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
36953         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
36954         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
36955         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
36956         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
36957         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
36958         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
36959         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
36960         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
36961         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
36962         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
36963         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
36964         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
36965         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
36966         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
36967         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
36968         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
36969         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
36970         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
36971         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
36972         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
36973         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
36974         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
36975         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
36976         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
36978         [BZ #17589]
36979         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
36980         of fgets_unlocked.
36982         [BZ #17585]
36983         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
36984         (memmem): Rename to __memmem and define as weak alias of
36985         __memmem.  Use libc_hidden_weak.
36986         (__memmem): Use libc_hidden_def.
36987         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
36988         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
36989         memmem.
36991         [BZ #17582]
36992         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
36993         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
36994         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
36995         and define as weak alias of __fgets_unlocked.  Use
36996         libc_hidden_weak.
36997         (__fgets_unlocked): Use libc_hidden_def.
36998         * include/stdio.h (__fgets_unlocked): Declare.  Use
36999         libc_hidden_proto.
37000         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
37001         __fgets_unlocked instead of fgets_unlocked.
37002         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
37003         (GET_NPROCS_CONF_PARSER): Likewise.
37004         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
37005         (GET_NPROCS_CONF_PARSER): Likewise.
37007         [BZ #17574]
37008         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
37009         weak alias of __wmemset.  Use libc_hidden_weak.
37010         (__wmemset): Use libc_hidden_def.
37011         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
37012         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
37013         of wmemset.
37015         [BZ #17573]
37016         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
37017         with asm name __mempcpy.
37018         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
37020         [BZ #17572]
37021         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
37022         and define as weak alias of __rawmemchr.
37023         (__rawmemchr): Do not define as strong alias of rawmemchr.
37025         [BZ #17571]
37026         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
37027         alias of __qsort_r.
37028         (qsort): Call __qsort_r instead of qsort_r.
37029         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
37030         (__qsort_r): Declare.  Call libc_hidden_proto.
37031         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
37032         instead of qsort_r.
37033         * nscd/gai.c (__qsort_r): Define to qsort_r.
37034         * posix/tst-rfc3484.c (__qsort_r): Likewise.
37035         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
37036         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
37038         [BZ #17570]
37039         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
37040         define as weak alias of __malloc_info.
37042         [BZ #17584]
37043         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
37044         as weak alias of __rewinddir.  Don't use libc_hidden_def.
37045         (__rewinddir): Use libc_hidden_def.
37046         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
37047         as weak alias of __rewinddir.  Don't use libc_hidden_def.
37048         (__rewinddir): Use libc_hidden_def.
37049         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
37050         weak alias of __rewinddir.  Don't use libc_hidden_def.
37051         (__rewinddir): Use libc_hidden_def.
37052         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
37053         (__rewinddir): Use libc_hidden_proto.
37054         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
37055         rewinddir.
37056         (__getcwd): Use __rewinddir instead of rewinddir.
37058         [BZ #17583]
37059         * libio/fileno.c (fileno): Rename to __fileno and define as weak
37060         alias of __fileno.  Use libc_hidden_weak.
37061         (__fileno): Use libc_hidden_def.
37062         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
37063         * libio/ftello.c (ftello): Rename to __ftello and define as weak
37064         alias of __ftello.
37065         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
37066         __ftello.
37067         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
37068         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
37069         libc_hidden_def.
37070         (fread_unlocked): Don't use libc_hidden_ver.
37071         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
37072         and define as weak alias of __fread_unlocked.  Don't use
37073         libc_hidden_def.
37074         (__fread_unlocked): Use libc_hidden_def.
37075         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
37076         (ftello): Don't use libc_hidden_proto.
37077         (__ftello): Declare.  Use libc_hidden_proto.
37078         (fread_unlocked): Don't use libc_hidden_proto.
37079         (__fread_unlocked): Declare.  Use libc_hidden_proto.
37080         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
37081         and __ftello instead of fileno, fread_unlocked and ftello.
37083 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37085         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
37086         GOT12.
37087         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
37088         Likewise.
37089         (_dl_start_user): Likewise.
37090         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
37092 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
37093             Siddhesh Poyarekar  <siddhesh@redhat.com>
37095         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
37096         Move argv and envp down instead of moving argc up.
37097         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
37099 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
37101         [BZ #17506]
37102         * test-skeleton.c (main): Return successful if one of
37103         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
37104         * string/tst-strcoll-overflow.c: Define expected status.
37106 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
37108         [BZ #17475]
37109         * locale/iso-639.def: Define Bhili and Tulu language codes.
37111 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
37113         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
37115 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
37117         [BZ #17555]
37118         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
37120 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
37122         * configure.ac: Updated check of minimal required version to
37123         2.22.
37124         * manual/install.texi (Tools for Compilation): Updated version
37125         number.
37126         * configure: Regenerated.
37127         * INSTALL: Likewise.
37129 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
37131         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
37132         __tls_get_addr.
37134 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
37136         * include/sys/wait.h (__libc_waitpid): Remove declaration.
37137         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
37138         (__waitpid): Don't define as alias.  Use libc_hidden_def not
37139         libc_hidden_weak.
37140         (waitpid): Define as alias of __waitpid.
37141         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
37142         __waitpid.
37143         (__waitpid): Don't define as alias.  Use libc_hidden_def not
37144         libc_hidden_weak.
37145         (waitpid): Define as alias of __waitpid.
37146         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
37147         __libc_waitpid alias.
37148         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
37149         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
37150         Likewise.
37151         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
37152         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
37153         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
37154         alias.
37155         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
37156         __waitpid.
37157         (__waitpid): Don't define as alias.  Use libc_hidden_def not
37158         libc_hidden_weak.
37159         (waitpid): Define as alias of __waitpid.
37161 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
37163         * manual/llio.texi: Add comment that write safety has been
37164         fixed in Linux.
37166         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
37167         (localplt-build-dso): Add elf/ld.so.
37168         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
37169         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
37170         and free for ld.so.
37171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
37172         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
37173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
37174         Likewise.
37175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
37176         Likewise.
37177         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
37178         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
37179         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
37180         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
37181         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
37182         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
37183         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
37184         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
37185         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
37186         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
37187         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
37189 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
37191         [BZ #14132]
37192         * include/libc-symbols.h (INTUSE): Remove macro.
37193         (INTDEF): Likewise.
37194         (INTVARDEF): Likewise.
37195         (_INTVARDEF): Likewise.
37196         (INTDEF2): Likewise.
37197         (INTVARDEF2): Likewise.
37198         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
37199         rtld_hidden_def instead of INTVARDEF.
37200         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
37201         (_dl_starting_up_internal): Remove declaration.
37202         (_dl_starting_up): Use rtld_hidden_proto.
37203         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
37204         declaration.
37205         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
37206         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
37207         _dl_starting_up.
37208         * elf/dl-writev.h (_dl_writev): Likewise.
37209         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
37210         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
37211         _dl_starting_up_internal.
37213 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37215         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
37216         test-skeleton.c.
37218 2014-11-05  Will Newton  <will.newton@linaro.org>
37220         * benchtests/Makefile: (bench-malloc): Add malloc thread
37221         scalability benchmark.
37222         * benchtests/bench-malloc-threads.c: New file.
37224 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
37226         * sysdeps/aarch64/strchrnul.S: New file.
37228 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37230         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
37231         definition.
37232         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
37233         Likewise.
37234         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
37235         Likewise.
37236         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
37237         Likewise.
37238         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
37239         Likewise.
37240         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
37241         Likewise.
37243 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
37245         * catgets/test-gencat.c: Use test-skeleton.c.
37246         * catgets/tst-catgets.c: Likewise.
37247         * csu/tst-empty.c: Likewise.
37248         * elf/tst-audit2.c: Likewise.
37249         * elf/tst-global1.c: Likewise.
37250         * elf/tst-pathopt.c: Likewise.
37251         * elf/tst-piemod1.c: Likewise.
37252         * elf/tst-tls10.c: Likewise.
37253         * elf/tst-tls11.c: Likewise.
37254         * elf/tst-tls12.c: Likewise.
37255         * gnulib/tst-gcc.c: Likewise.
37256         * iconvdata/tst-e2big.c: Likewise.
37257         * iconvdata/tst-loading.c: Likewise.
37258         * iconv/tst-iconv1.c: Likewise.
37259         * iconv/tst-iconv2.c: Likewise.
37260         * inet/test-inet6_opt.c: Likewise.
37261         * inet/tst-gethnm.c: Likewise.
37262         * inet/tst-network.c: Likewise.
37263         * inet/tst-ntoa.c: Likewise.
37264         * intl/tst-codeset.c: Likewise.
37265         * intl/tst-gettext2.c: Likewise.
37266         * intl/tst-gettext3.c: Likewise.
37267         * intl/tst-ngettext.c: Likewise.
37268         * intl/tst-translit.c: Likewise.
37269         * io/test-stat.c: Likewise.
37270         * libio/test-fmemopen.c: Likewise.
37271         * libio/tst-freopen.c: Likewise.
37272         * libio/tst-sscanf.c: Likewise.
37273         * libio/tst-ungetwc1.c: Likewise.
37274         * libio/tst-ungetwc2.c: Likewise.
37275         * libio/tst-widetext.c: Likewise.
37276         * localedata/tst-ctype.c: Likewise.
37277         * localedata/tst-digits.c: Likewise.
37278         * localedata/tst-leaks.c: Likewise.
37279         * localedata/tst-mbswcs1.c: Likewise.
37280         * localedata/tst-mbswcs2.c: Likewise.
37281         * localedata/tst-mbswcs3.c: Likewise.
37282         * localedata/tst-mbswcs4.c: Likewise.
37283         * localedata/tst-mbswcs5.c: Likewise.
37284         * localedata/tst-setlocale.c: Likewise.
37285         * localedata/tst-trans.c: Likewise.
37286         * localedata/tst-wctype.c: Likewise.
37287         * localedata/tst-xlocale1.c: Likewise.
37288         * login/tst-grantpt.c: Likewise.
37289         * malloc/tst-calloc.c: Likewise.
37290         * malloc/tst-malloc.c: Likewise.
37291         * malloc/tst-mallocstate.c: Likewise.
37292         * malloc/tst-mcheck.c: Likewise.
37293         * malloc/tst-mtrace.c: Likewise.
37294         * malloc/tst-obstack.c: Likewise.
37295         * math/atest-exp2.c: Likewise.
37296         * math/atest-exp.c: Likewise.
37297         * math/atest-sincos.c: Likewise.
37298         * math/test-matherr.c: Likewise.
37299         * math/test-misc.c: Likewise.
37300         * math/test-powl.c: Likewise.
37301         * math/tst-definitions.c: Likewise.
37302         * misc/tst-dirname.c: Likewise.
37303         * misc/tst-efgcvt.c: Likewise.
37304         * misc/tst-fdset.c: Likewise.
37305         * misc/tst-hsearch.c: Likewise.
37306         * misc/tst-mntent2.c: Likewise.
37307         * nptl/tst-sem7.c: Likewise.
37308         * nptl/tst-sem8.c: Likewise.
37309         * nptl/tst-sem9.c: Likewise.
37310         * nss/test-netdb.c: Likewise.
37311         * posix/tst-fnmatch.c: Likewise.
37312         * posix/tst-getlogin.c: Likewise.
37313         * posix/tst-gnuglob.c: Likewise.
37314         * posix/tst-mmap.c: Likewise.
37315         * pwd/tst-getpw.c: Likewise.
37316         * resolv/tst-inet_ntop.c: Likewise.
37317         * rt/tst-timer.c: Likewise.
37318         * stdio-common/test-fseek.c: Likewise.
37319         * stdio-common/test-popen.c: Likewise.
37320         * stdio-common/test-vfprintf.c: Likewise.
37321         * stdio-common/tst-cookie.c: Likewise.
37322         * stdio-common/tst-fileno.c: Likewise.
37323         * stdio-common/tst-gets.c: Likewise.
37324         * stdio-common/tst-obprintf.c: Likewise.
37325         * stdio-common/tst-perror.c: Likewise.
37326         * stdio-common/tst-sprintf2.c: Likewise.
37327         * stdio-common/tst-sprintf3.c: Likewise.
37328         * stdio-common/tst-sprintf.c: Likewise.
37329         * stdio-common/tst-swprintf.c: Likewise.
37330         * stdio-common/tst-tmpnam.c: Likewise.
37331         * stdio-common/tst-unbputc.c: Likewise.
37332         * stdio-common/tst-wc-printf.c: Likewise.
37333         * stdlib/tst-environ.c: Likewise.
37334         * stdlib/tst-fmtmsg.c: Likewise.
37335         * stdlib/tst-limits.c: Likewise.
37336         * stdlib/tst-rand48-2.c: Likewise.
37337         * stdlib/tst-rand48.c: Likewise.
37338         * stdlib/tst-random2.c: Likewise.
37339         * stdlib/tst-random.c: Likewise.
37340         * stdlib/tst-strtol.c: Likewise.
37341         * stdlib/tst-strtoll.c: Likewise.
37342         * stdlib/tst-tls-atexit.c: Likewise.
37343         * stdlib/tst-xpg-basename.c: Likewise.
37344         * string/test-ffs.c: Likewise.
37345         * string/tst-bswap.c: Likewise.
37346         * string/tst-inlcall.c: Likewise.
37347         * string/tst-strtok.c: Likewise.
37348         * string/tst-strxfrm.c: Likewise.
37349         * sysdeps/x86_64/tst-audit10.c: Likewise.
37350         * sysdeps/x86_64/tst-audit3.c: Likewise.
37351         * sysdeps/x86_64/tst-audit4.c: Likewise.
37352         * sysdeps/x86_64/tst-audit5.c: Likewise.
37353         * time/tst-ftime_l.c: Likewise.
37354         * time/tst-getdate.c: Likewise.
37355         * time/tst-mktime3.c: Likewise.
37356         * time/tst-mktime.c: Likewise.
37357         * time/tst-posixtz.c: Likewise.
37358         * time/tst-strptime2.c: Likewise.
37359         * time/tst-strptime3.c: Likewise.
37360         * wcsmbs/tst-btowc.c: Likewise.
37361         * wcsmbs/tst-mbrtowc.c: Likewise.
37362         * wcsmbs/tst-mbsrtowcs.c: Likewise.
37363         * wcsmbs/tst-wchar-h.c: Likewise.
37364         * wcsmbs/tst-wcpncpy.c: Likewise.
37365         * wcsmbs/tst-wcrtomb.c: Likewise.
37366         * wcsmbs/tst-wcsnlen.c: Likewise.
37367         * wcsmbs/tst-wcstof.c: Likewise.
37369 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
37371         [BZ #14132]
37372         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
37373         INTDEF.
37374         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
37375         declaration.
37376         (_dl_mcount): Use rtld_hidden_proto.
37377         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
37378         _dl_mcount.
37379         * elf/rtld.c (_rtld_global_ro): Likewise.
37381         [BZ #14132]
37382         * elf/dl-init.c (_dl_init): Don't use INTDEF.
37383         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
37384         of _dl_init_internal.
37385         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
37386         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
37387         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
37388         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
37389         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
37390         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
37391         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
37392         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
37393         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
37394         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
37395         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
37396         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
37397         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37398         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37399         * sysdeps/tile/dl-start.S (_start): Likewise.
37400         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
37401         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
37403         [BZ #14132]
37404         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
37405         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
37406         (rtld_progname): Make macro definition unconditional.
37407         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
37408         INTDEF.
37409         (dlmopen_doit): Do not use INTUSE with _dl_argv.
37410         (dl_main): Likewise.
37411         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37412         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
37413         instead of _dl_argv_internal.
37414         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37415         __GI__dl_argv instead of INTUSE(_dl_argv).
37416         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
37417         __GI__dl_argv instead of _dl_argv_internal.
37419         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
37420         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
37421         macro.
37422         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
37423         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
37424         New macro.
37425         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
37426         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
37427         macro.
37428         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
37429         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
37431 2014-11-04  Andreas Schwab  <schwab@suse.de>
37433         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
37435 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37437         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
37438         mtvsrd instruction in binary form.
37440 2014-11-03  Andreas Schwab  <schwab@suse.de>
37442         [BZ #17522]
37443         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
37444         for less than MB_LEN_MAX use a local buffer of that size.
37445         * libio/tst-fputws.c: New file.
37446         * libio/Makefile (tests): Add tst-fputws.
37448 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
37450         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
37451         the size of the fpu_fr.fpu_dregs[] array.
37453 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
37455         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
37456         (__nanosleep): Do not define as alias.
37457         (nanosleep): Define as alias of __nanosleep.
37458         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
37459         __libc_nanosleep name.
37461 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
37463         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
37464         install.texi in comment.
37466 2014-10-31  Torvald Riegel  <triegel@redhat.com>
37468         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
37469         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
37470         ... add here and use lwsync or sync ...
37471         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
37472         ... and add here using lwsync.
37474 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
37476         * elf/dl-machine-reject-phdr.h: New file.
37477         * elf/dl-load.c: #include that.
37478         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
37479         if that returned true.
37481 2014-10-31  Roland McGrath  <roland@hack.frob.com>
37483         [BZ #17496]
37484         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
37485         gen-as-const-headers chunk.  Add a big scare comment after the last
37486         safe place to touch before-compile.
37488 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
37490         * manual/install.texi (Tools for Compilation): Update autoconf
37491         version requirements.
37492         * INSTALL: Regenerated.
37494         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
37495         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
37496         (__libc_pselect): Likewise.
37498         [BZ #14138]
37499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
37500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37504 2014-10-31  Torvald Riegel  <triegel@redhat.com>
37506         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
37507         correct barrier instruction.
37508         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
37509         Likewise.
37510         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
37511         Likewise.
37513 2014-10-30  Roland McGrath  <roland@hack.frob.com>
37515         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
37516         after defining inlines.  Instead, just use parens to defeat macro
37517         expansion of __isctype in its declaration.
37519 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
37521         * include/sys/uio.h (__libc_readv): Remove declaration.
37522         (__libc_writev): Likewise.
37523         * misc/readv.c (__libc_readv): Rename to __readv.
37524         (__readv): Do not define as alias.
37525         (readv): Define as alias of __readv.
37526         * misc/writev.c (__libc_writev): Rename to __writev.
37527         (__writev): Do not define as alias.
37528         (writev): Define as alias of __writev.
37529         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
37530         (__readv): Do not define as alias.
37531         (readv): Define unconditionally as alias of __readv.
37532         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
37533         (__writev): Do not define as alias.
37534         (writev): Define unconditionally as alias of __writev.
37535         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
37536         name.
37537         (writev): Do not define __libc_writev name.
37539 2014-10-30  Roland McGrath  <roland@hack.frob.com>
37541         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
37542         (convert_charseq): New function, broken out of ...
37543         (use_from_charmap): ... here.  Call it.
37544         (use_to_charmap): Use convert_charseq and free instead of duplicating
37545         its code with a variable-length stack struct.
37547 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
37549         * include/fcntl.h (__libc_creat): Remove declaration.
37550         * io/creat.c (__libc_creat): Rename to creat.
37551         (creat): Do not define as alias.
37552         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
37553         of creat instead of __libc_creat.
37554         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
37555         to creat.
37556         (creat): Do not define as alias.
37557         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
37558         __libc_creat.
37559         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
37560         __libc_creat name.
37561         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
37562         Likewise.
37564 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
37566         * manual/llio.texi: Add comments discussing why write() may be
37567         considered MT-unsafe on Linux.
37569 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
37571         * dl-load.c (local_strdup): Remove.
37572         (expand_dynamic_string_token): Use __strdup.
37573         (decompose_rpath): Likewise.
37574         (_dl_map_object): Likewise.
37576 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
37578         [BZ #14132]
37579         * sysdeps/generic/unwind-dw2-fde.c
37580         (__register_frame_info_bases_internal): Do not declare.
37581         (__register_frame_info_table_bases_internal): Likewise.
37582         (__deregister_frame_info_bases_internal): Likewise.
37583         (__register_frame_info_bases): Declare and use hidden_proto before
37584         definition.  Use hidden_def instead of INTDEF.
37585         (__register_frame_info_table_bases): Likewise.
37586         (__deregister_frame_info_bases): Likewise.
37587         (__register_frame_info): Do not use INTUSE.
37588         (__register_frame): Likewise.
37589         (__register_frame_info_table): Likewise.
37590         (__register_frame_table): Likewise.
37591         (__deregister_frame_info): Likewise.
37592         (__deregister_frame): Likewise.
37594 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
37596         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37597         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
37598         not undefine.
37599         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
37600         Likewise.
37601         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
37602         Likewise.
37604 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
37606         [BZ #14138]
37607         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
37608         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
37609         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
37610         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
37611         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
37612         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
37613         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
37614         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
37615         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
37616         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
37617         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
37618         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
37619         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
37620         syscall.
37621         (setfsuid): Likewise.
37622         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
37623         (setfsuid): Likewise.
37624         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
37625         (setfsuid): Likewise.
37626         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
37627         Likewise.
37628         (setfsuid): Likewise.
37629         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
37630         (setfsuid): Likewise.
37631         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
37632         Likewise.
37633         (setfsuid): Likewise.
37635 2014-10-27  Andreas Schwab  <schwab@suse.de>
37637         [BZ #17501]
37638         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
37639         check for Slow_SSE4_2 feature bit.
37640         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
37641         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
37642         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
37643         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
37645 2014-10-24  Roland McGrath  <roland@hack.frob.com>
37647         * configure.ac: Validate compiler version with a empirical test of
37648         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
37649         $CC -v output.
37650         * configure: Regenerated.
37652         * inet/htons.c (htons): Prototypify.
37653         * inet/htonl.c (htonl): Likewise.
37655 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37657         * string/strncat.c (strncat): Improve performance by using strlen.
37659 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37661         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
37663 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37665         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
37666         Call libc_fetestexcept_aarch64.
37668 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37670         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
37671         Call libc_feholdexcept_aarch64.
37673 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37675         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
37676         Call get_rounding_mode.
37678 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37680         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
37681         Simplify logic.
37683 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37685         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
37686         Simplify logic.
37688 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
37690         [BZ #14138]
37691         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
37692         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
37693         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
37694         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
37695         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
37696         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
37697         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
37698         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
37699         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
37700         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
37701         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37702         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
37703         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
37704         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
37705         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
37706         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
37707         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
37708         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
37709         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
37710         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
37711         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
37712         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
37713         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
37714         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
37715         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
37716         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
37717         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
37718         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
37719         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
37720         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
37721         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
37722         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
37723         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
37724         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
37725         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
37726         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
37727         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
37728         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
37729         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
37730         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
37731         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
37732         syscall.
37733         (geteuid): Likewise.
37734         (getgid): Likewise.
37735         (getuid): Likewise.
37736         (getresgid): Likewise.
37737         (getresuid): Likewise.
37738         (getgroups): Likewise.
37739         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
37740         (geteuid): Likewise.
37741         (getgid): Likewise.
37742         (getuid): Likewise.
37743         (getresgid): Likewise.
37744         (getresuid): Likewise.
37745         (getgroups): Likewise.
37746         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
37747         (geteuid): Likewise.
37748         (getgid): Likewise.
37749         (getuid): Likewise.
37750         (getresgid): Likewise.
37751         (getresuid): Likewise.
37752         (getgroups): Likewise.
37753         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
37754         Likewise.
37755         (geteuid): Likewise.
37756         (getgid): Likewise.
37757         (getuid): Likewise.
37758         (getresgid): Likewise.
37759         (getresuid): Likewise.
37760         (getgroups): Likewise.
37761         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
37762         (geteuid): Likewise.
37763         (getgid): Likewise.
37764         (getuid): Likewise.
37765         (getresgid): Likewise.
37766         (getresuid): Likewise.
37767         (getgroups): Likewise.
37768         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
37769         Likewise.
37770         (geteuid): Likewise.
37771         (getgid): Likewise.
37772         (getuid): Likewise.
37773         (getgroups): Likewise.
37775         [BZ #14138]
37776         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
37777         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
37778         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
37779         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
37780         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
37781         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
37782         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
37783         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
37784         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
37785         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
37786         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
37787         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
37788         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
37789         __chown.
37790         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
37791         (lchown): Likewise.
37792         (fchown): Likewise.
37793         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
37794         Likewise.
37795         (lchown): Likewise.
37796         (fchown): Likewise.
37797         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
37798         (lchown): Likewise.
37799         (fchown): Likewise.
37800         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
37801         Likewise.
37802         (lchown): Likewise.
37803         (fchown): Likewise.
37805 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37807         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
37808         Simplify logic.
37810 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37812         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
37813         Cleanup logic.
37815 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37817         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
37818         Remove unused include.
37820 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37822         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
37823         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
37824         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
37825         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
37827 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
37828             Helge Deller <deller@gmx.de>
37830         [BZ #17508]
37831         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
37832         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
37833         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
37835 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
37837         [BZ #14132]
37838         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
37839         Remove macro definition.
37840         (__ashrdi3_v_glibc20): Likewise.
37841         (__lshrdi3_v_glibc20): Likewise.
37842         (__cmpdi2_v_glibc20): Likewise.
37843         (__ucmpdi2_v_glibc20): Likewise.
37844         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
37845         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
37846         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
37847         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
37848         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
37849         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
37851 2014-10-22  Roland McGrath  <roland@hack.frob.com>
37853         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
37854         old GNU extension [0] syntax.
37855         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
37856         alloca rather than an array member with variable length.
37857         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
37858         * nscd/nscd.c (invalidate_db): New function, broken out of ...
37859         (parse_opt): ... here.  Likewise use alloca there.
37860         Validate the -i argument before checking for rootness.
37861         (send_shutdown): New function, broken out of ...
37862         (parse_opt): ... here.
37864 2014-10-22  Roland McGrath  <roland@hack.frob.com>
37866         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
37867         macro to get at the _rt_local_ro field.
37868         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
37869         ([PIC] case) or _dl_hwcap ([!PIC] case).
37870         * sysdeps/arm/setjmp.S: Likewise.
37872         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
37873         * sysdeps/arm/configure.ac: New check to define it.
37874         * sysdeps/arm/configure: Regenerated.
37875         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
37876         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
37877         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
37878         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
37879         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
37880         Use move/movt pair instead of a load.
37881         (LDST_GLOBAL): Macro removed.
37882         (LDR_GLOBAL): New macro replaces it.
37883         (LDR_HIDDEN): New macro.
37884         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
37885         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
37887         * setjmp/tst-setjmp-static.c: New file.
37888         * setjmp/Makefile (tests): Add it.
37889         (tests-static): New variable.
37891 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
37893         [BZ #17485]
37894         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
37896 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
37898         [BZ #14132]
37899         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
37901 2014-10-21  Roland McGrath  <roland@hack.frob.com>
37903         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
37905 2014-10-20  Roland McGrath  <roland@hack.frob.com>
37907         * io/fts.c (dirent_not_directory): New function.
37908         (fts_build): Call it.
37910 2014-10-20  Roland McGrath  <roland@hack.frob.com>
37912         * nptl/version.c (__nptl_main): Use normal __write rather than
37913         INTERNAL_SYSCALL.
37914         (banner): Update copyright years.
37916         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
37917         gettimeofday.
37918         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
37919         * nptl/pthread_cond_timedwait.c: Likewise.
37920         * nptl/pthread_mutex_timedlock.c: Likewise.
37921         * nptl/sem_timedwait.c: Likewise.
37923         * sysdeps/nptl/bits/libc-lock.h
37924         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
37925         (__libc_lock_init_recursive): Return void, not 0.
37926         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
37927         (__libc_rwlock_init): Likewise.
37928         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
37930 2014-10-20  Torvald Riegel  <triegel@redhat.com>
37932         [BZ #15215]
37933         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
37934         (__pthread_once_slow): ... here.
37935         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
37936         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
37938 2014-10-20  Torvald Riegel  <triegel@redhat.com>
37940         [BZ #15215]
37941         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
37942         __PTHREAD_ONCE_FORK_GEN_INCR): New.
37943         * sysdeps/nptl/fork.c (__libc_fork): Use them.
37944         * nptl/pthread_once.c (__pthread_once): Likewise.
37945         Update comments.
37947 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
37949         [BZ #14138]
37950         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
37951         name.
37952         (writev): Use __libc_writev as strong name.
37953         * sysdeps/unix/sysv/linux/readv.c: Remove file.
37954         * sysdeps/unix/sysv/linux/writev.c: Likewise.
37956 2014-10-17  Roland McGrath  <roland@hack.frob.com>
37958         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
37960         * sysdeps/i386/nptl/tls.h
37961         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
37962         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
37963         New macros.
37964         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
37965         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
37966         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
37967         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
37968         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
37969         Call CHECK_THREAD_SYSINFO instead of doing an assert.
37971         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
37972         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
37973         on [__NR_futex].
37974         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
37975         broken out of ...
37976         (__pthread_mutex_init): ... here.  Call it.
37977         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
37978         Conditionalize PI cases on [__NR_futex].
37979         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
37980         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
37981         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
37983         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
37984         conditional on [SIGSETXID].
37985         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
37986         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
37987         is defined.  Likewise for SIGSETXID.
37988         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
37989         Conditionalize definitions on [SIGSETXID].
37990         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
37991         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
37992         unblocking on [SIGCANCEL].
37994         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
37995         [__NR_set_robust_list].
37997 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37999         * string/strcoll_l.c (get_next_seq): Fix up formatting.
38000         (do_compare): Likewise.
38002 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
38004         [BZ #15884]
38005         * string/strcoll_l.c: Don't include stdio.h.
38006         (coll_seq): Remove members idxarr and rulearr.
38007         (get_next_seq_cached): Remove function.
38008         (get_next_seq): Likewise.
38009         (get_next_seq_nocache): Rename to get_next_seq.
38010         (do_compare): Remove function.
38011         (do_compare_nocache): Rename to do_compare.
38012         (STRCOLL): Remove weight and rules cache.
38014 2014-10-16  Roland McGrath  <roland@hack.frob.com>
38016         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
38017         * sysdeps/arm/sfp-machine.h: ... to here.
38018         * sysdeps/arm/Implies: Remove arm/soft-fp.
38020 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
38022         * conform/data/sys/utsname.h-data (*_t): Allow.
38023         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
38024         [POSIX] (WEXITED): Do not expect constant.
38025         [POSIX] (WSTOPPED): Likewise.
38026         [POSIX] (WNOHANG): Likewise.
38027         [POSIX] (WNOWAIT): Likewise.
38028         [POSIX] (siginfo_t): Do not expect type or elements.
38029         [POSIX] (pid_t): Do not expect type.
38030         [POSIX] (signal.h): Do not allow header.
38031         [POSIX] (sys/resource.h): Likewise.
38032         [POSIX] (si_*): Do not allow pattern.
38033         [POSIX] (W*): Likewise.
38034         [POSIX] (P_*): Likewise.
38035         [POSIX] (BUS_*): Likewise.
38036         [POSIX] (CLD_*): Likewise.
38037         [POSIX] (FPE_*): Likewise.
38038         [POSIX] (ILL_*): Likewise.
38039         [POSIX] (POLL_*): Likewise.
38040         [POSIX] (SEGV_*): Likewise.
38041         [POSIX] (SI_*): Likewise.
38042         [POSIX] (TRAP_*): Likewise.
38043         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
38044         variable.
38046 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
38048         [BZ #12926]
38049         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
38050         infinite loop when __recvmsg returns 0.
38052 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
38054         * CANCEL-FCT-WAIVE: Remove file.
38055         * CANCEL-FILE-WAIVE: Likewise.
38057         [BZ #14132]
38058         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
38059         instead of INTVARDEF.
38060         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
38061         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
38062         rtld_hidden_data_def instead of INTVARDEF.
38063         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
38064         * elf/dl-deps.c (expand_dst): Likewise.
38065         * elf/dl-load.c (_dl_dst_count): Likewise.
38066         (_dl_dst_substitute): Likewise.
38067         (decompose_rpath): Likewise.
38068         (_dl_init_paths): Likewise.
38069         (open_path): Likewise.
38070         (_dl_map_object): Likewise.
38071         * elf/rtld.c (dl_main): Likewise.
38072         (process_dl_audit): Likewise.
38073         (process_envvars): Likewise.
38074         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
38075         Remove declaration.
38076         (__libc_enable_secure): Use rtld_hidden_proto.
38078 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38080         * elf/dl-load.c
38081         (add_path): New function broken out of _dl_rtld_di_serinfo.
38082         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
38084 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
38086         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
38087         parentheses around macro arguments.
38088         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
38089         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
38090         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
38091         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
38092         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
38093         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
38094         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
38095         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
38096         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
38097         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
38098         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
38099         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
38100         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
38101         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
38102         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
38103         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
38104         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
38105         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
38106         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
38107         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
38108         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
38109         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
38110         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
38111         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
38112         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
38113         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
38114         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
38115         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
38116         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
38117         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
38118         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
38119         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
38120         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
38121         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
38122         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
38123         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
38124         Likewise.
38125         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
38126         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
38127         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
38128         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
38129         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
38130         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
38131         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
38132         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
38133         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
38134         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
38135         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
38136         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
38137         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
38138         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
38139         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
38140         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
38141         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
38142         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
38143         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
38144         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
38145         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
38146         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
38147         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
38148         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
38149         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
38150         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
38151         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
38152         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
38153         (_FP_FRAC_SRS_1): Likewise.
38154         (_FP_FRAC_CLZ_1): Likewise.
38155         (_FP_MUL_MEAT_1_imm): Likewise.
38156         (_FP_MUL_MEAT_1_wide): Likewise.
38157         (_FP_MUL_MEAT_1_hard): Likewise.
38158         (_FP_SQRT_MEAT_1): Likewise.
38159         (_FP_FRAC_ASSEMBLE_1): Likewise.
38160         (_FP_FRAC_DISASSEMBLE_1): Likewise.
38161         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
38162         (__FP_CLZ_2): Likewise.
38163         (_FP_MUL_MEAT_2_wide): Likewise.
38164         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
38165         (_FP_MUL_MEAT_2_gmp): Likewise.
38166         (_FP_MUL_MEAT_2_120_240_double): Likewise.
38167         (_FP_SQRT_MEAT_2): Likewise.
38168         (_FP_FRAC_ASSEMBLE_2): Likewise.
38169         (_FP_FRAC_DISASSEMBLE_2): Likewise.
38170         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
38171         (_FP_FRAC_CLZ_4): Likewise.
38172         (_FP_MUL_MEAT_4_wide): Likewise.
38173         (_FP_MUL_MEAT_4_gmp): Likewise.
38174         (_FP_SQRT_MEAT_4): Likewise.
38175         (_FP_FRAC_ASSEMBLE_4): Likewise.
38176         (_FP_FRAC_DISASSEMBLE_4): Likewise.
38177         * soft-fp/op-common.h (_FP_CMP): Likewise.
38178         (_FP_CMP_EQ): Likewise.
38179         (_FP_CMP_UNORD): Likewise.
38180         (_FP_TO_INT): Likewise.
38181         (_FP_FROM_INT): Likewise.
38182         [!__FP_CLZ] (__FP_CLZ): Likewise.
38183         (_FP_DIV_HELP_imm): Likewise.
38184         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
38185         Likewise.
38186         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
38187         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
38188         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
38189         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
38190         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
38191         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
38192         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
38193         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
38194         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
38195         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
38196         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
38197         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
38198         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
38199         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
38200         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
38201         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
38202         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
38203         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
38204         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
38205         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
38206         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
38207         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
38208         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
38209         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
38210         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
38211         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
38212         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
38213         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
38214         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
38215         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
38216         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
38217         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
38218         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
38219         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
38220         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
38221         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
38222         (FP_UNPACK_RAW_SP): Likewise.
38223         (FP_PACK_RAW_S): Likewise.
38224         (FP_PACK_RAW_SP): Likewise.
38225         (FP_UNPACK_S): Likewise.
38226         (FP_UNPACK_SP): Likewise.
38227         (FP_UNPACK_SEMIRAW_S): Likewise.
38228         (FP_UNPACK_SEMIRAW_SP): Likewise.
38229         (FP_PACK_S): Likewise.
38230         (FP_PACK_SP): Likewise.
38231         (FP_PACK_SEMIRAW_S): Likewise.
38232         (FP_PACK_SEMIRAW_SP): Likewise.
38233         (_FP_SQRT_MEAT_S): Likewise.
38234         (FP_CMP_S): Likewise.
38235         (FP_CMP_EQ_S): Likewise.
38236         (FP_CMP_UNORD_S): Likewise.
38237         (FP_TO_INT_S): Likewise.
38238         (FP_FROM_INT_S): Likewise.
38240         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
38242         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
38243         (FP_EX_INVALID_IMZ): Likewise.
38244         (FP_EX_INVALID_IMZ_FMA): Likewise.
38245         (FP_EX_INVALID_ISI): Likewise.
38246         (FP_EX_INVALID_ZDZ): Likewise.
38247         (FP_EX_INVALID_IDI): Likewise.
38248         (FP_EX_INVALID_SQRT): Likewise.
38249         (FP_EX_INVALID_CVI): Likewise.
38250         (FP_EX_INVALID_VC): Likewise.
38251         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
38252         "invalid" exceptions.
38253         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
38254         (_FP_ADD_INTERNAL): Likewise.
38255         (_FP_MUL): Likewise.
38256         (_FP_FMA): Likewise.
38257         (_FP_DIV): Likewise.
38258         (_FP_CMP_CHECK_NAN): Likewise.
38259         (_FP_SQRT): Likewise.
38260         (_FP_TO_INT): Likewise.
38261         (FP_EXTEND): Likewise.
38263 2014-10-09  Allan McRae  <allan@archlinux.org>
38265         * po/fr.po: Update French translation from translation project.
38267 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
38269         [BZ #14132]
38270         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
38271         of INTDEF.
38272         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
38273         (__cxa_atexit): Use libc_hidden_proto.
38274         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
38276         [BZ #14132]
38277         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
38278         declaration.
38279         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
38280         [!_ISOMAC] (__iswspace_l_internal): Likewise.
38281         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
38282         [!_ISOMAC] (__iswctype_internal): Likewise.
38283         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
38284         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
38285         alias.
38286         (fcntl): Remove __fcntl_internal alias.
38287         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
38288         __connect_internal alias.
38289         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
38290         Likewise.
38292         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
38293         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
38294         FP_DENORM_ZERO.
38295         (_FP_CHECK_FLUSH_ZERO): New macro.
38296         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
38297         (_FP_CMP): Likewise.
38298         (_FP_CMP_EQ): Likewise.
38299         (_FP_TO_INT): Do not set inexact for subnormal arguments if
38300         FP_DENORM_ZERO.
38301         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
38302         (FP_TRUNC): Likewise.
38304         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
38305         treated as invalid conversion, not as normal exponent.
38307         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
38308         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
38309         (_FP_CMP_EQ): Likewise.
38310         (_FP_CMP_UNORD): Likewise.
38311         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
38312         (FP_CMP_EQ_D): Likewise.
38313         (FP_CMP_UNORD_D): Likewise.
38314         * soft-fp/extended.h (FP_CMP_E): Likewise.
38315         (FP_CMP_EQ_E): Likewise.
38316         (FP_CMP_UNORD_E): Likewise.
38317         * soft-fp/quad.h (FP_CMP_Q): Likewise.
38318         (FP_CMP_EQ_Q): Likewise.
38319         (FP_CMP_UNORD_Q): Likewise.
38320         * soft-fp/single.h (FP_CMP_S): Likewise.
38321         (FP_CMP_EQ_S): Likewise.
38322         (FP_CMP_UNORD_S): Likewise.
38323         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
38324         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
38325         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
38326         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
38327         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
38328         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
38329         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
38330         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
38331         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
38332         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
38333         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
38334         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
38335         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
38336         to FP_CMP_Q.
38337         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
38338         FP_CMP_Q.
38339         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
38340         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
38341         FP_CMP_EQ_Q.
38342         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
38343         FP_CMP_Q.
38344         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
38345         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
38346         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
38347         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
38348         FP_CMP_EQ_Q.
38349         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
38350         FP_CMP_Q.
38351         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
38352         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
38353         FP_CMP_EQ_Q.
38354         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
38355         FP_CMP_Q.
38356         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
38357         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
38358         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
38359         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
38360         FP_CMP_EQ_Q.
38362         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
38363         a subnormal result, set the underflow exception if trapping on
38364         underflow is enabled.
38365         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
38366         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
38367         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
38368         redefine to 0.
38369         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
38370         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
38371         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
38372         * soft-fp/extendxftf2.c (__extendxftf2): Use
38373         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
38375         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
38376         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
38377         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38378         FP_HANDLE_EXCEPTIONS.
38379         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
38380         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38381         FP_HANDLE_EXCEPTIONS.
38382         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
38383         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38384         FP_HANDLE_EXCEPTIONS.
38385         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
38386         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38387         FP_HANDLE_EXCEPTIONS.
38389 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
38391         [BZ #14132]
38392         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
38393         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
38394         use INTUSE.
38395         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
38396         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
38397         Remove alias.
38398         (__adjtimex): Define using libc_hidden_ver.
38399         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
38400         Remove declaration.
38401         (ntp_gettime): Call __adjtimex directly.
38402         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
38403         Remove declaration.
38404         (ntp_gettimex): Call __adjtimex directly.
38405         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
38406         __adjtimex_internal alias.
38408 2014-10-08  Roland McGrath  <roland@hack.frob.com>
38410         [BZ #17460]
38411         * nscd/nscd.c (more_help): Rewrite list of tables collection
38412         using xstrdup and asprintf.
38414         * nscd/nscd_conf.c: Remove local xstrdup declaration.
38416 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38417             Roland McGrath  <roland@hack.frob.com>
38419         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
38420         (do_lookup_unique): ... local function 'enter' here; update callers.
38422 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
38424         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
38425         compat_symbol calls on [SHARED].
38426         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
38427         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
38428         Remove.
38429         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38430         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
38431         (oldsetrlimit): Remove.
38432         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
38434         (lchown): New syscall entry.
38435         (oldsetrlimit): Remove.
38436         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38437         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
38438         (oldsetrlimit): Remove.
38439         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38441         [BZ #14138]
38442         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
38443         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
38444         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
38445         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
38446         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
38447         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
38448         (fchown): Likewise.
38449         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
38450         (fchown): Likewise.
38451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
38452         Likewise.
38454 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38456         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
38457         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
38458         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
38459         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
38460         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
38461         Likewise.
38462         (__old_sem_post): Likewise.
38464 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
38466         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
38467         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
38468         HAVE_CLOCK_GETTIME_VSYSCALL macros.
38469         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
38470         Use INLINE_VSYSCALL macro.
38471         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
38472         __vdso_clock_gettime.
38473         * sysdeps/unix/sysv/linux/tile/init-first.c
38474         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
38475         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
38476         __vdso_clock_gettime.
38478         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
38479         to set up frame more cleanly.
38481         * sysdeps/tile/memcmp.c: New file.
38483         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
38485         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
38486         * sysdeps/tile/tilegx/strcasestr.c: New file.
38487         * sysdeps/tile/tilegx/strnlen.c: New file.
38488         * sysdeps/tile/tilegx/strstr.c: New file.
38490         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
38492 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
38494         * nptl/tst-setuid3.c: Write errors to stdout.
38496 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38498         * elf/dl-deps.c
38499         (preload): New functions broken out of _dl_map_object_deps.
38500         (_dl_map_object_deps):  Remove a nested function. Update call sites.
38502 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
38504         [BZ #14138]
38505         * sysdeps/unix/sysv/linux/execve.c: Remove file.
38506         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
38508 2014-10-01  Steve Ellcey  <sellcey@mips.com>
38510         * sysdeps/mips/strcmp.S: New.
38512 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
38514         [BZ #14138]
38515         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
38516         (linkat): Likewise.
38517         (mkdirat): Likewise.
38518         (readlinkat): Likewise.
38519         (renameat): Likewise.
38520         (symlinkat): Likewise.
38521         (unlinkat): Likewise.
38522         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
38523         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
38524         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
38525         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
38526         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
38527         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
38528         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
38530 2014-09-30  Will Newton  <will.newton@linaro.org>
38532         * math/math.h: Define long double math functions if
38533         _LIBC_TEST is defined.
38534         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
38536         * localedata/Makefile: Move assignment to tests-special
38537         into an ifdef testing run-built-tests.
38538         * timezone/Makefile: Likewise.
38540 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
38542         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
38543         with $(BASH) not $(SHELL).
38545 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
38546             Matthew LeGendre  <legendre1@llnl.gov>
38548         [BZ #17411]
38549         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
38550         l_reloc_result.
38552 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38554         * stdio-common/printf_fp.c
38555         (hack_digit): New function, broken out of ...
38556         (__printf_fp): ... local function here.  Update call sites.
38557         hack_digit now takes an additional parameter that is a pointer
38558         to a struct of the referenced locals.  Those locals moved inside
38559         the struct and references updated.
38561 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
38563         * aclocal.m4: Require autoconf 2.69.
38564         * configure: Regenerated.
38565         * sysdeps/aarch64/configure: Likewise.
38566         * sysdeps/alpha/configure: Likewise.
38567         * sysdeps/arm/armv7/configure: Likewise.
38568         * sysdeps/arm/configure: Likewise.
38569         * sysdeps/ia64/configure: Likewise.
38570         * sysdeps/mach/configure: Likewise.
38571         * sysdeps/mips/configure: Likewise.
38572         * sysdeps/s390/configure: Likewise.
38573         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
38574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
38576         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
38577         file.
38578         * sysdeps/ia64/configure.ac: Likewise.
38580 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
38582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
38583         specify symbol version for ld.so.  Do not include entry for
38584         libpthread.
38585         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
38586         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
38587         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
38589         [BZ #14171]
38590         * Makeconfig [$(build-shared) = yes]
38591         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
38592         makefiles.
38593         [$(build-shared) = yes && $(soversions.mk-done) = t]
38594         ($(common-objpfx)gnu/lib-names.h): Remove rule.
38595         [$(build-shared) = yes && $(soversions.mk-done) = t]
38596         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
38597         to Makerules.
38598         [$(build-shared) = yes && $(soversions.mk-done) = t]
38599         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
38600         here.
38601         [$(build-shared) = yes && $(soversions.mk-done) = t]
38602         (common-generated): Don't append gnu/lib-names.h and
38603         gnu/lib-names.stmp here.
38604         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
38605         (lib-names-h-abi): New variable.
38606         [$(build-shared) = yes && $(soversions.mk-done) = t]
38607         (lib-names-stmp-abi): Likewise.
38608         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38609         abi-variants] (before-compile): Append
38610         $(common-objpfx)$(lib-names-h-abi).
38611         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38612         abi-variants] (common-generated): Append gnu/lib-names.h.
38613         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38614         abi-variants] (install-others-nosubdir): Depend on
38615         $(inst_includedir)/$(lib-names-h-abi).
38616         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38617         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
38618         [$(build-shared) = yes && $(soversions.mk-done) = t]
38619         ($(common-objpfx)$(lib-names-h-abi)): New rule.
38620         [$(build-shared) = yes && $(soversions.mk-done) = t]
38621         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
38622         [$(build-shared) = yes && $(soversions.mk-done) = t]
38623         (common-generated): Append $(lib-names-h-abi) and
38624         $(lib-names-stmp-abi).
38625         * scripts/lib-names.awk: Do not handle multi being set.
38626         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
38627         Remove variable.
38628         (abi-lp64_be-ld-soname): Likewise.
38629         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
38630         Likewise.
38631         (abi-hard-ld-soname): Likewise.
38632         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
38633         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
38634         Remove variable.
38635         (abi-o32_hard-ld-soname): Likewise.
38636         (abi-o32_soft_2008-ld-soname): Likewise.
38637         (abi-o32_hard_2008-ld-soname): Likewise.
38638         (abi-n32_soft-ld-soname): Likewise.
38639         (abi-n32_hard-ld-soname): Likewise.
38640         (abi-n32_soft_2008-ld-soname): Likewise.
38641         (abi-n32_hard_2008-ld-soname): Likewise.
38642         (abi-n64_soft-ld-soname): Likewise.
38643         (abi-n64_hard-ld-soname): Likewise.
38644         (abi-n64_soft_2008-ld-soname): Likewise.
38645         (abi-n64_hard_2008-ld-soname): Likewise.
38646         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
38647         Likewise.
38648         (abi-64-v2-ld-soname): Likewise.
38649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
38650         ld.so entries.
38651         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
38652         variable.
38653         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
38654         entry.
38655         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
38656         variable.
38657         (abi-64-ld-soname): Likewise.
38658         (abi-x32-ld-soname): Likewise.
38659         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
38660         entry.
38661         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
38663 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
38665         [BZ #14138]
38666         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
38667         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
38668         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
38669         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
38670         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
38671         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
38672         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
38673         syscall entry for GLIBC_2.2 symbol version.
38674         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
38675         Likewise.
38676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
38677         (setrlimit): Likewise.
38678         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
38679         Likewise.
38681 2014-09-23  Will Newton  <will.newton@linaro.org>
38683         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
38684         _LINUX_ARM_SYSDEP_H include guard too.
38685         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
38686         define.
38688 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
38690         * sysdeps/unix/sysv/linux/eventfd.c:
38691         Make first argument unsigned.
38692         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
38693         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
38695 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
38697         [BZ #16852]
38698         * socket/recvmmsg.c (recvmmsg): Drop const argument.
38699         * socket/sys/socket.h: Likewise.
38700         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
38702 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38704         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
38706 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
38708         * time/tst-ftime.c: New test.
38709         * time/Makefile (tests): Add tst-ftime.
38711 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
38713         * soft-fp/extended.h: Fix comment formatting.
38714         * soft-fp/op-1.h: Likewise.
38715         * soft-fp/op-2.h: Likewise.
38716         * soft-fp/op-4.h: Likewise.
38717         * soft-fp/op-8.h: Likewise.
38718         * soft-fp/op-common.h: Likewise.
38719         * soft-fp/soft-fp.h: Likewise.
38721         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
38723 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
38725         [BZ #6652]
38726         * Makeconfig (soversions-default-setname): Remove variable.
38727         ($(common-objpfx)soversions.i): Don't pass default_setname to
38728         soversions.awk.
38729         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
38730         oldest_abi to abi-versions.awk.
38731         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
38732         * config.make.in (oldest-abi): Remove variable.
38733         * configure.ac (--enable-oldest-abi): Remove configure option.
38734         * configure: Regenerated.
38735         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
38736         text.
38737         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
38738         * scripts/soversions.awk: Do not handle default_setname variable.
38739         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
38740         variable.
38741         * sysdeps/mach/hurd/configure: Regenerated.
38742         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
38743         variable.
38744         * sysdeps/unix/sysv/linux/configure: Regenerated.
38746 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38748         * elf/Makefile (CFLAGS-interp.c): Remove.
38749         ($(elf-objpfx)runtime-linker.h): Generate header with linker
38750         path string.
38751         * elf/interp.c: Include generated runtime-linker.h
38753         * Makerules (lib%.so): Don't include $(+interp) in
38754         prerequisites.
38755         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
38756         * dlfcn/eval.c: Remove file.
38758         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
38759         macros.
38761         [BZ #17266]
38762         * misc/sys/cdefs.h: Define __extern_always_inline for clang
38763         4.2 and newer.
38765         [BZ #17370]
38766         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
38768 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38769             Jakub Jelinek  <jakub@redhat.com>
38771         [BZ #17266]
38772         * libio/stdio.h: Check definition of __fortify_function
38773         instead of __extern_always_inline to include bits/stdio2.h.
38774         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
38775         check if __extern_always_inline is defined.
38776         [__USE_MISC || __USE_XOPEN]: Likewise.
38777         [__USE_ISOC99] Likewise.
38778         * misc/sys/cdefs.h (__fortify_function): Define only if
38779         __extern_always_inline is defined.
38780         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
38781         __extern_always_inline and __extern_inline only for g++-4.3
38782         and newer or a compatible gcc.
38784 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
38786         [BZ #17371]
38787         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
38788         last change to handle zero prefix length.
38790 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38792         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
38793         _SC_REGEX_VERSION.
38795         * posix/getconf.c (vars): Add _POSIX_IPV6 and
38796         _POSIX_RAW_SOCKETS.
38798 2014-09-13  Allan McRae  <allan@archlinux.org>
38800         * po/ru.po: Update Russian translation from translation project.
38802 2014-09-12  Roland McGrath  <roland@hack.frob.com>
38804         * locale/programs/locale.c (show_locale_vars): Inline local function
38805         into its sole call site.  Clean up some style nits.
38806         (print_item): New function, broken out of ...
38807         (show_info): ... local function here.  Clean up style nits.
38809         * locale/programs/ld-ctype.c (set_one_default): New function, broken
38810         out of ...
38811         (set_class_defaults): ... local function set_default here.
38812         Define set_default as a macro locally to pass constant parameters.
38813         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
38814         rather than a shared local.
38816         * stdlib/rpmatch.c (try): New function, broken out of ...
38817         (rpmatch): ... local function here.  Also, prototypify definition.
38819 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
38821         * scripts/soversions.awk: Do not handle configuration names.
38822         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
38823         vendor and os variables to soversions.awk.
38824         * configure.ac: Do not modify gnu-* host_os.
38825         * configure: Regenerated
38826         * shlib-versions: Remove first column with configuration names.
38827         * nptl/shlib-versions: Likewise.
38828         * nptl_db/shlib-versions: Likewise.
38829         * sysdeps/hppa/shlib-versions: Likewise.
38830         * sysdeps/m68k/shlib-versions: Likewise.
38831         * sysdeps/mach/hurd/shlib-versions: Likewise.
38832         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
38833         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
38834         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
38835         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
38836         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
38837         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
38838         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
38839         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
38840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
38841         Likewise.
38842         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
38843         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
38844         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
38845         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
38846         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
38847         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
38848         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
38849         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
38851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
38852         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
38853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
38854         Regenerated.
38855         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
38856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
38857         Condition symbol version definitions on [HAVE_ELFV2_ABI].
38859         * shlib-versions: Remove OS-specific entries.  Moved to files in
38860         sysdeps.
38861         * sysdeps/mach/hurd/shlib-versions: New file.
38862         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
38864         * nptl/shlib-versions: Remove architecture-specific entries.
38865         Moved to files in sysdeps.
38866         * shlib-versions: Likewise.
38867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
38868         file.
38869         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
38870         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
38871         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
38872         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
38874         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
38875         (UDP_NO_CHECK6_RX): Likewise.
38877 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38879         * sysdeps/posix/sysconf.c (__sysconf): Spell
38880         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
38882 2014-08-12  Florian Weimer  <fweimer@redhat.com>
38884         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
38885         loading.
38886         * iconv/Versions (__gconv_transliterate): Export for use from
38887         gconv modules.
38888         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
38889         (struct __gconv_trans_data, __gconv_trans_fct,
38890         __gconv_trans_context_fct, __gconv_trans_query_fct,
38891         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
38892         definitions.
38893         (struct __gconv_step_data): Remove __trans member.
38894         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
38895         longer hidden.  Remove unused trans_data argument.
38896         * iconv/gconv_int.h (struct trans_struct): Remove definition.
38897         (__gconv_translit_find): Remove declaration.
38898         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
38899         prototype.
38900         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
38901         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
38902         trans_data argument.  Add hidden definition.
38903         (__gconv_translit_find): Remove.
38904         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
38905         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
38906         * iconv/skeleton.c: Remove transliteration initialization.
38907         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
38908         __gconv_step_data initialization.
38909         * libio/iofwide.c (__libio_translit_): Remove.
38910         (_IO_fwide): Adjust struct __gconv_step_data initialization.
38911         * wcsmbs/btowc.c (__btowc): Likewise.
38912         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38913         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
38914         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
38915         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
38916         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
38917         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
38918         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
38919         * wcsmbs/wctob.c (wctob): Likewise.
38921 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38923         [BZ #16194]
38924         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
38925         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
38926         register usage.
38927         * sysdeps/x86/Makefile: Adjust.
38929 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38930             Roland McGrath  <roland@hack.frob.com>
38932         * locale/weight.h: Add include guard.
38933         (findidx): Make static rather than auto; take new parameters
38934         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
38935         * locale/weightwc.h: Likewise.
38936         * posix/fnmatch_loop.c
38937         (FCT): Change type of EXTRA from int32_t to wint_t.
38938         Don't include either header inside the function.
38939         Call FINDIDX rather than findidx, and pass new arguments.
38940         #undef FINDIDX at the end of the file.
38941         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
38942         FINDIDX before including fnmatch_loop.c for the non-wide version.
38943         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
38944         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
38945         for the wide version.
38946         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
38947         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
38948         Pass new arguments to findidx.
38949         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
38950         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
38951         Don't #include it inside the function.  Pass new arguments to findidx.
38952         * posix/regex_internal.h
38953         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
38954         (re_string_elem_size_at): Don't #include it inside the function.
38955         Pass new arguments to findidx.
38956         * string/strcoll_l.c: #include WEIGHT_H at top level.
38957         (get_next_seq): Don't #include it inside the function.
38958         Pass new arguments to findidx.
38959         (get_next_seq_nocache): Likewise.
38960         * string/strxfrm_l.c: #include WEIGHT_H at top level.
38961         (STRXFRM): Don't #include it inside the function.
38962         Pass new arguments to findidx.
38964 2014-09-11  Florian Weimer  <fweimer@redhat.com>
38966         [BZ #17344]
38967         * malloc/malloc.c (unlink): Turn asserts into a call to
38968         malloc_printerr.
38970 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
38972         [BZ #17370]
38973         * libio/wfileops (do_ftell_wide): Free OUT.
38975 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
38977         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
38979 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38981         [BZ #17363]
38982         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
38983         group if the current group is empty.
38985 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38987         * benchtests/bench-memset.c (test_main): Add more test from size
38988         from 32 to 512 bytes.
38989         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38990         Add POWER8 memset object.
38991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38992         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
38993         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
38994         implementation.
38995         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
38996         Likewise.
38997         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
38998         multiarch POWER8 memset optimization.
38999         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
39000         POWER8 memset optimization.
39002         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39003         Remove bzero multiarch objects.
39004         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
39005         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
39006         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
39007         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
39008         Remove define.
39009         [__bzero]: Redefine to specific name.
39010         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
39011         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
39012         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
39013         define.
39014         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39015         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
39017 2014-09-10  Florian Weimer  <fweimer@redhat.com>
39019         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
39020         warnings into errors.
39022         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
39023         __cxa_thread_atexit_impl prototype.
39025 2014-09-09  Steve Ellcey  <sellcey@mips.com>
39027         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
39028         Fix capitalization of error message.
39030 2014-09-09  Steve Ellcey  <sellcey@mips.com>
39032         * sysdeps/mips/preconfigure: Modify ABI tests.
39034 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
39036         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
39038 2014-09-07  Roland McGrath  <roland@hack.frob.com>
39039             Carlos O'Donell  <carlos@systemhalted.org>
39041         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
39042         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
39043         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
39044         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
39045         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
39046         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
39047         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
39048         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
39049         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
39050         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
39051         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
39052         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
39053         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
39054         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
39055         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
39056         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
39057         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
39058         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
39059         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
39060         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
39061         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
39062         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
39063         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
39064         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
39065         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
39066         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
39067         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
39068         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
39069         Deconditionalize the code that was previously under [RESET_PID].
39070         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
39071         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
39072         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
39073         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
39074         include sysdep.h.
39076 2014-09-08  Allan McRae  <allan@archlinux.org>
39078         * version.h (RELEASE): Set to "development".
39079         (VERSION): Set to "2.20.90"
39081 2014-09-07  Allan McRae  <allan@archlinux.org
39083         * version.h (RELEASE): Set to "stable".
39084         (VERSION): Set to "2.20"
39085         * include/features.h (__GLIBC_MINOR__): Set to 20.
39087         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
39088         Liebler.
39090         * po/ko.po: Update Korean translation from translation project.
39092 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
39094         [BZ #17354]
39095         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
39096         macro for handling signed relocations.
39098 2014-09-03  Florian Weimer  <fweimer@redhat.com>
39100         [BZ #17325]
39101         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
39102         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
39103         assert.
39104         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
39105         * iconvdata/ibm935.c (BODY): Likewise.
39106         * iconvdata/ibm937.c (BODY): Likewise.
39107         * iconvdata/ibm939.c (BODY): Likewise.
39108         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
39109         assert.
39110         * iconvdata/Makefile (iconv-test.out): Pass module list to test
39111         script.
39112         * iconvdata/run-iconv-test.sh: New test loop for checking for
39113         decoder crashers.
39115 2014-09-02  Khem Raj  <raj.khem@gmail.com>
39117         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
39118         libm_hidden_ver.
39120 2014-09-01  Allan McRae  <allan@archlinux.org>
39122         * po/eo.po: Update Esperanto translation from translation project.
39124         * po/ca.po: Update Catalan translation from translation project.
39126 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39128         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
39129         __proc_dostop call.
39131 2014-08-27  Mark Wielaard  <mjw@redhat.com>
39133         [BZ #17319]
39134         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
39135         to call set_thread_area instead of hand written asm.
39136         (__NR_set_thread_area): Removed define.
39137         (TLS_FLAG_WRITABLE): Likewise.
39138         (__ASSUME_SET_THREAD_AREA): Remove check.
39139         (TLS_EBX_ARG): Remove define.
39140         (TLS_LOAD_EBX): Likewise.
39142 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39144         Simplify atomicity of socket creation in bind.
39146         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
39147         looking up the name after linking the file.
39149 2014-08-27  Allan McRae  <allan@archlinux.org>
39151         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39153 2014-08-26  Florian Weimer  <fweimer@redhat.com>
39155         [BZ #17187]
39156         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
39157         trans_compare, open_translit, __gconv_translit_find):
39158         Remove module loading code.
39160 2014-08-26  Allan McRae  <allan@archlinux.org>
39162         * po/vi.po: Update Vietnamese translation from translation project.
39164         * po/uk.po: Update Ukrainian translation from translation project.
39166         * po/fr.po: Update French translation from translation project.
39168         * po/ru.po: Update Russian translation from translation project.
39170         * po/pl.po: Update Polish translation from translation project.
39172         * po/cs.po: Update Czech translation from translation project.
39174         * po/de.po: Update German translation from translation project.
39176         * po/bg.po: Update Bulgarian translation from translation project.
39178         * po/sv.po: Update Sweedish translation from translation project.
39180         * po/nl.po: Update Dutch translation from translation project.
39182         * po/es.po: Update Spanish translation from translation project.
39184 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39186         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
39188         * catgets/Makefile (CPPFLAGS-gencat): Remove.
39189         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
39190         (CPPFLAGS-iconvconfig): Likewise.
39191         * timezone/Makefile (CPPFLAGS-zic): Likewise.
39193         * include/libc-symbols.h: Remove unnecessary check for
39194         NOT_IN_libc.
39195         * nptl/pthreadP.h: Likewise.
39196         * sysdeps/aarch64/setjmp.S: Likewise.
39197         * sysdeps/alpha/setjmp.S: Likewise.
39198         * sysdeps/arm/sysdep.h: Likewise.
39199         * sysdeps/i386/setjmp.S: Likewise.
39200         * sysdeps/m68k/setjmp.c: Likewise.
39201         * sysdeps/posix/getcwd.c: Likewise.
39202         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
39203         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
39204         * sysdeps/s390/s390-32/setjmp.S: Likewise.
39205         * sysdeps/s390/s390-64/setjmp.S: Likewise.
39206         * sysdeps/sh/sh3/setjmp.S: Likewise.
39207         * sysdeps/sh/sh4/setjmp.S: Likewise.
39208         * sysdeps/unix/alpha/sysdep.h: Likewise.
39209         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39210         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39211         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
39212         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39215         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39216         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39217         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39218         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39219         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39220         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
39221         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39222         * sysdeps/x86_64/setjmp.S: Likewise.
39224 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
39226         [BZ #17263]
39227         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
39228         <stdint.h>.
39229         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
39230         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
39232 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39234         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
39236         [BZ #17262]
39237         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
39238         and __x86_64__ when disabling x87 inline functions.
39240 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
39242         [BZ #17259]
39243         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
39244         asm statement with __cpuid_count.
39246 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
39248         * configure.ac: Change __ehdr_start code to dereference the struct.
39249         Run readelf on the output to look for relocations.
39250         * configure: Regenerated.
39252 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
39254         [BZ #17261]
39255         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
39256         value to 0.
39257         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
39259 2014-08-12  Roland McGrath  <roland@hack.frob.com>
39261         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
39263 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
39265         [BZ #16892]
39266         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
39267         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
39269 2014-08-12  Sean Anderson  <seanga2@gmail.com>
39271         * malloc/malloc.c: Fix typo in comment.
39273 2014-08-09  Allan McRae  <allan@archlinux.org>
39275         * Regenerate libc.po.
39277 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
39279         * intl/tst-gettext2.sh: Check every lang file for creation.
39281 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
39283         * sysdeps/aarch64/fpu/math_private.h
39284         (libc_feholdsetround_noex_aarch64_ctx): New function.
39286 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
39288         * sysdeps/arm/armv6/strcpy.S (strcpy):
39289         Fix performance issue in misaligned cases.
39291 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39293         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
39294         Move definition from termios.h.
39295         (struct termio): Likewise.
39296         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
39297         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
39298         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
39299         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
39300         Likewise.
39301         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
39302         Move definition to ioctl-types.h
39303         (struct termio): Likewise.
39304         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
39305         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
39306         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
39307         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
39308         Likewise.
39310 2014-08-05  Richard Henderson  <rth@redhat.com>
39312         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
39313         exceptions.
39314         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
39315         Add fraiseexcpt.
39316         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
39317         Use __feraiseexcept.
39318         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
39319         Protect libm symbols with IS_IN_libm.
39321         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
39323 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
39325         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
39327 2014-08-04  Will Newton  <will.newton@linaro.org>
39329         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
39330         file.
39332 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
39334         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
39335         variants for each function.
39337 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39339         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
39340         appended ...
39341         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
39342         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
39343         appended ...
39344         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
39345         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
39346         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
39347         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
39348         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
39349         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
39350         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
39351         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
39352         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
39353         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
39354         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
39355         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
39356         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
39357         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
39358         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
39359         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
39360         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
39361         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
39362         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
39363         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
39364         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
39365         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
39366         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
39367         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
39368         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
39369         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
39370         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
39371         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
39372         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
39373         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
39374         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
39375         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
39376         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
39377         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
39378         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
39379         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
39380         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
39381         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
39382         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
39383         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
39384         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
39385         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
39386         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
39387         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
39388         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
39389         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
39390         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
39391         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
39392         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
39393         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
39394         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
39395         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
39396         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
39397         Update #include.
39398         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
39399         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
39401 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39403         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
39404         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
39405         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
39406         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
39407         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
39408         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
39410 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39412         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
39413         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
39414         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39415         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
39417 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39419         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
39420         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
39421         (__libc_vfork): Define function under this name.
39422         (__vfork): Define as an alias.
39423         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
39424         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
39426 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39428         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
39429         that was previously under [RESET_PID].
39430         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
39432 2014-08-04  Andreas Schwab  <schwab@suse.de>
39434         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
39436 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
39438         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
39439         (main): Likewise.
39441 2014-08-01  Roland McGrath  <roland@hack.frob.com>
39443         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
39445 2014-08-01  Richard Henderon  <rth@redhat.com>
39447         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
39448         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
39449         typo in exact zero test.
39450         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39451         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39452         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39454 2014-08-01  Roland McGrath  <roland@hack.frob.com>
39456         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
39457         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
39458         * sysdeps/arm/sysdep.h: ... here.
39459         [!__ASSEMBLER__]: Include <stdint.h>.
39461 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
39463         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
39464         (HAVE_WCTYPE_H): Likewise.
39465         (HAVE_ISWCTYPE): Likewise.
39466         (ENABLE_NLS): Likewise.
39467         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
39468         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
39470         * posix/regex_internal.c: Check if DEBUG is defined and is
39471         set.
39473         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
39474         (HAVE_MBSRTOWCS): Likewise.
39475         * posix/fnmatch.c: Include string.h unconditionally.
39477 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
39479         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
39480         reversal.
39482 2014-07-31  Roland McGrath  <roland@hack.frob.com>
39484         * sysdeps/generic/safe-fatal.h: New file.
39485         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
39486         * nptl/forward.c: Include it.
39487         (__pthread_unwind): Use __safe_fatal as default action, rather
39488         than a bogus use of INTERNAL_SYSCALL that could never work.
39490         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
39491         * configure.ac (libc_cv_builtin_trap): New test.
39492         * configure: Regenerated.
39493         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
39494         (ABORT_INSTRUCTION): Define using __builtin_trap.
39496         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
39497         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
39498         * sysdeps/nptl/nptl-signals.h: New file.
39499         * nptl/pthreadP.h: Include <nptl-signals.h>.
39501 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
39503         * sysdeps/s390/s390-64/utf16-utf32-z9.c
39504         (ONE_DIRECTION): Define.
39505         * sysdeps/s390/s390-64/utf8-utf16-z9.c
39506         (ONE_DIRECTION): Define.
39507         * sysdeps/s390/s390-64/utf8-utf32-z9.c
39508         (ONE_DIRECTION): Define.
39510 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
39512         * sysdeps/s390/Makefile: Delete file.
39513         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
39514         * sysdeps/s390/__longjmp.c: Delete file.
39515         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
39516         Remove fields __flags and __reserved.
39517         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
39518         and add versioning.
39519         * sysdeps/s390/rtld-__longjmp.c: Delete file.
39520         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
39521         * sysdeps/s390/rtld-setjmp.S: Likewise.
39522         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
39523         * sysdeps/s390/s390-32/__longjmp.c: ... here.
39524         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
39525         * sysdeps/s390/s390-32/setjmp.S: ... here.
39526         Add versioning.
39527         (__sigsetjmp): Remove setting __flags field.
39528         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
39529         * sysdeps/s390/s390-64/__longjmp.c: ... here.
39530         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
39531         * sysdeps/s390/s390-64/setjmp.S: ... here.
39532         Add versioning.
39533         (__sigsetjmp): Remove setting __flags field.
39534         * sysdeps/s390/setjmp.S: Delete file.
39535         * sysdeps/s390/sigjmp.c: Likewise.
39536         * sysdeps/s390/v1-longjmp.c: Likewise.
39537         * sysdeps/s390/v1-setjmp.h: Likewise.
39538         * sysdeps/s390/v1-sigjmp.c: Likewise.
39539         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
39540         Remove v1-longjmp_chk.
39541         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
39542         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
39543         Include debug/longjmp_chk.c and add versioning.
39544         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
39545         Include nptl/pt-longjmp.c and add versioning.
39546         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
39547         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
39548         Include __longjmp.c.
39549         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
39550         Move to ...
39551         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
39552         (__getcontext): Remove setting __flags field.
39553         Add versioning.
39554         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
39555         Don't restore upper high grps.
39556         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
39557         Likewise.
39558         (__swapcontext): Remove setting uc_flags field.
39559         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
39560         Delete file.
39561         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
39562         Include __longjmp.c.
39563         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
39564         Move to ...
39565         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
39566         (__getcontext): Remove setting __flags field.
39567         Add versioning.
39568         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
39569         (__swapcontext): Remove setting uc_flags field.
39570         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
39571         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
39572         Remove fields uc_high_gprs and __reserved.
39573         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
39574         New file with reverted content.
39575         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
39576         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
39577         Regenerated.
39578         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
39579         Regenerated.
39581 2014-07-31  Andreas Schwab  <schwab@suse.de>
39583         * config.h.in (HAVE_IFUNC): Define to 0.
39584         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
39585         definedness.
39587 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
39589         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39590         memmove-avx-unaligned, memcpy-avx-unaligned and
39591         mempcpy-avx-unaligned.
39592         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39593         Add tests for AVX memcpy functions.
39594         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
39595         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
39596         memcpy_chk.
39597         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
39598         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
39599         memmove_chk.
39600         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
39601         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
39602         mempcpy_chk.
39603         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
39604         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
39605         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
39607 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39609         [BZ #17213]
39610         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
39611         powerpc64le.
39613 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
39615         [BZ #16839]
39616         * manual/llio.texi: Add section about open file description locks.
39617         * manual/examples/ofdlocks.c: Example of open file description
39618         lock usage.
39619         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
39620         F_OFD_SETLK, and F_OFD_SETLKW.
39622 2014-07-23  Allan McRae  <allan@archlinux.org>
39624         * po/es.po: Update Spanish translation from translation project.
39626 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
39628         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
39630 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
39632         [BZ #17078]
39633         * sysdeps/arm/dl-machine.h (elf_machine_rela)
39634         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
39635         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
39637 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
39639         [BZ #17088]
39640         * math/fesetenv.c (__fesetenv)
39641         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
39642         * math/feupdateenv.c (__feupdateenv)
39643         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
39645         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
39646         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
39647         (__ASSUME_SOCKETCALL): Do not define.
39649         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
39650         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
39651         (__ASSUME_SOCKETCALL): Do not define.
39652         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
39653         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
39654         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39655         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
39656         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39657         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
39658         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39659         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39661         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
39662         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
39663         (__ASSUME_SOCKETCALL): Do not define.
39664         (__ASSUME_IPC64): Define unconditionally.
39665         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
39666         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39667         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
39668         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39669         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
39670         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39671         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
39672         Likewise.
39674         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
39675         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
39676         (__ASSUME_SOCKETCALL): Do not define.
39677         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
39678         (__ASSUME_FUTEX_LOCK_PI): Likewise.
39679         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39680         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
39681         (__ASSUME_REQUEUE_PI): Define unconditionally.
39682         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
39683         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
39684         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39685         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
39686         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39687         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39689         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
39690         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
39691         (__ASSUME_SOCKETCALL): Do not define.
39692         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
39693         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39694         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39695         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
39696         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39697         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39699         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
39700         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
39701         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39702         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
39703         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39704         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
39705         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39706         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
39707         (__ASSUME_GETCPU_SYSCALL): Likewise.
39709         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
39710         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
39711         cases for individual architectures.
39712         * sysdeps/gnu/configure: Regenerated.
39713         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
39714         LIBC_SLIBDIR_RTLDDIR.
39715         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
39716         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
39717         LIBC_SLIBDIR_RTLDDIR.
39718         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
39719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
39720         LIBC_SLIBDIR_RTLDDIR.
39721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
39722         Regenerated.
39723         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
39724         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
39725         file.
39726         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
39727         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
39728         file.
39729         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
39730         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
39731         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
39732         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
39734         * sysdeps/aarch64/shlib-versions: Move to ...
39735         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
39736         * sysdeps/alpha/shlib-versions: Move to ...
39737         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
39738         * sysdeps/arm/shlib-versions: Move to ...
39739         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
39740         * sysdeps/hppa/shlib-versions: Move all contents except for
39741         libgcc_s entry to ...
39742         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
39743         entry from ...
39744         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
39745         * sysdeps/ia64/shlib-versions: Move to ...
39746         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
39747         entry from ...
39748         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
39749         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
39750         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
39751         * sysdeps/microblaze/shlib-versions: Move to ...
39752         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
39753         * sysdeps/mips/shlib-versions: Move to ...
39754         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
39755         entry from ...
39756         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
39757         * sysdeps/tile/shlib-versions: Move to ...
39758         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
39759         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
39760         from ...
39761         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
39762         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
39763         entry from ...
39764         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
39766 2014-07-17  Will Newton  <will.newton@linaro.org>
39768         * sysdeps/arm/bits/atomic.h
39769         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
39770         (__arch_compare_and_exchange_bool_16_int): Likewise.
39771         (__arch_compare_and_exchange_bool_64_int): Likewise.
39773         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
39774         into an #else block.
39776 2014-07-16  Roland McGrath  <roland@hack.frob.com>
39778         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
39779         just Linux configurations.  Test empirically that the compiler sets
39780         __ARM_EABI__, rather than using the tuple to decide.
39781         * sysdeps/arm/preconfigure: Regenerated.
39782         * sysdeps/unix/sysv/linux/arm/configure: File removed.
39783         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
39784         contents appended ...
39785         * sysdeps/arm/configure.ac: ... here.
39786         * sysdeps/arm/configure: Regenerated.
39788 2014-07-15  Roland McGrath  <roland@hack.frob.com>
39790         * nptl/pthread_kill.c: New file.
39791         * nptl/pthread_sigmask.c: New file.
39792         * nptl/pthread_sigqueue.c: New file.
39794         * sysdeps/nptl/lowlevellock.h: New file.
39795         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
39796         * sysdeps/nptl/lowlevellock-futex.h: New file.
39798         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
39799         Remove dead declarations.
39801 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
39803         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
39804         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
39805         config-cflags-avx2.
39806         * sysdeps/x86_64/configure.ac: Likewise.
39807         * sysdeps/i386/configure: Regenerated.
39808         * sysdeps/x86_64/configure: Likewise.
39809         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39810         memset-avx2 only if config-cflags-avx2 is yes.
39811         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39812         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
39813         defined.
39814         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
39815         only if HAVE_AVX2_SUPPORT is defined.
39816         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39818 2014-07-14  Alan Modra  <amodra@gmail.com>
39820         [BZ #17153]
39821         * elf/elf.h (DT_PPC64_NUM): Correct value.
39822         * NEWS: Add to fixed bug list.
39824 2014-07-13  Jim Meyering  <meyering@fb.com>
39826         [BZ 17150]
39827         regex: don't deref NULL upon heap allocation failure
39828         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
39829         failure in one more place.
39830         To trigger the segfault, configure grep -with-included-regex,
39831         build it, and run these commands:
39832         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
39834 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
39836         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
39838 2014-07-11  Richard Henderson  <rth@redhat.com>
39840         * sysdeps/aarch64/libm-test-ulps: Update.
39842 2014-07-10  Florian Weimer  <fweimer@redhat.com>
39844         [BZ #17135]
39845         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
39846         * nptl/allocatestack.c (__nptl_setxid_error): New function.
39847         (__nptl_setxid): Initialize error member.  Call
39848         __nptl_setxid_error.
39849         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
39850         * nptl/descr.h (struct xid_command): Add error member.
39851         * nptl/tst-setuid3.c: New file.
39852         * nptl/Makefile (tests): Add it.
39854 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39856         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
39857         New define.
39858         (__lll_trylock): Use __lll_base_trylock.
39859         (__lll_cond_trylock): Likewise.
39861 2014-07-10  Roland McGrath  <roland@hack.frob.com>
39863         * nptl/pthread_create.c (start_thread): Use atomic_or and
39864         lll_futex_wake directly rather than lll_robust_dead.
39865         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
39866         (lll_robust_dead): Macro removed.
39867         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
39868         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
39869         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
39870         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39871         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39872         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
39873         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
39874         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39875         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
39876         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39877         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39878         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39879         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39880         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39881         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39883         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
39884         Use atomic_compare_and_exchange_val_acq directly rather than
39885         lll_robust_trylock.
39886         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
39887         (__lll_robust_trylock, lll_robust_trylock): Removed.
39888         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
39889         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
39890         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39891         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39892         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
39893         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
39894         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39895         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
39896         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39897         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39898         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39899         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39900         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39901         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39903 2014-07-02  Florian Weimer  <fweimer@redhat.com>
39905         * manual/locale.texi (Locale Names): New section documenting
39906         locale name syntax.  Adjust menu and node chaining accordingly.
39907         (Choosing Locale): Reference Locale Names, Locale Categories.
39908         Mention setting LC_ALL=C.  Reflect that name syntax is now
39909         documented.
39910         (Locale Categories): New section title.  Reference Locale Names.
39911         LC_ALL is an environment variable, but not a category.
39912         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
39913         description, now in Locale Name.  Reference that section.  Locale
39914         name syntax is now documented.
39916 2014-07-02  Florian Weimer  <fweimer@redhat.com>
39918         [BZ #17137]
39919         * locale/findlocale.c (name_present, valid_locale_name): New
39920         functions.
39921         (_nl_find_locale): Use the loc_name variable to store name
39922         candidates.  Call name_present and valid_locale_name to check and
39923         validate locale names.  Return an error if the locale is invalid.
39925 2014-07-02  Florian Weimer  <fweimer@redhat.com>
39927         * locale/setlocale.c (setlocale): Use strdup for allocating
39928         composite name copy.
39930 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39932         Sync up with gnulib.
39933         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
39934         [!_LIBC && ENABLE_NLS]: Include gettext.h.
39935         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
39936         and _GL_ARG_NONNULL.
39937         [USE_UNLOCKED_IO]: Include unlocked-io.h.
39938         [!_LIBC]: Include code for Windows and Cygwin.
39939         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
39940         Include prototype for int strerror_r.
39941         [!_LIBC] (is_open): New function.
39942         (flush_stdout): New function.
39943         (print_errno_message): Use it.
39944         (error): Likewise.
39945         (error_at_line): Likewise.
39946         (error_tail) Add function attribute macros.  Use
39947         __builtin_expect.
39949         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
39951         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
39953         * io/ftw.c: Include sys/param.h unconditionally.
39955         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
39957         [BZ #17125]
39958         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
39959         libc_freeres_ptr.
39960         (freecache): New function to free CACHE on exit.
39962         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
39963         initialization.
39965 2014-07-09  David S. Miller  <davem@davemloft.net>
39967         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39969         * sysdeps/sparc/nptl/internaltypes.h: Delete.
39970         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
39971         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
39972         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
39973         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
39974         * sysdeps/sparc/nptl/sem_init.c: Likewise.
39975         * sysdeps/sparc/nptl/sem_post.c: Likewise.
39976         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
39977         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
39978         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
39979         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
39980         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
39981         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
39983 2014-07-09  Andreas Schwab  <schwab@suse.de>
39985         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
39986         output.
39987         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
39988         (do_test): Likewise.
39990         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39992 2014-07-09  Will Newton  <will.newton@linaro.org>
39994         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
39995         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
39996         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
39997         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
39998         * sysdeps/hppa/start.S (_start): Likewise.
40000 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40002         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
40004         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
40005         defined.
40007 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40009         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
40010         after checking that it is non-NULL.
40012         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
40014 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40016         * sysdeps/powerpc/memmove.c: Remove file.
40017         * sysdeps/powerpc/powerpc32/power4/memcopy.h
40018         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
40019         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
40020         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
40021         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
40022         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
40023         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
40024         string memmove instead of removed powerpc one.
40026         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
40027         [weak_alias]: Fix compiler warning due trailing data.
40028         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
40029         [weak_alias]: Likewise.
40030         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
40031         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
40033         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40034         (__libc_ifunc_impl_list): Add memmove functions.
40036 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40038         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
40039         Remove code.
40040         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
40041         Likewise.
40042         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
40043         Likewise.
40044         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
40045         Likewise.
40046         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
40047         Likewise.
40048         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
40049         Likewise.
40050         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
40051         Likewise.
40052         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
40053         Likewise.
40054         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
40055         Likewise.
40056         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
40057         Likewise.
40058         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
40059         Likewise.
40060         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
40061         Likewise.
40062         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
40063         Likewise.
40064         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
40065         Likewise.
40066         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
40067         Likewise.
40068         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
40069         Likewise.
40070         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
40071         Likewise.
40073 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40075         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
40076         to avoid alignment traps in non-cacheable memory.
40077         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
40079         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
40080         multiarch objects.
40081         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
40082         file: multiarch power7 memmove.
40083         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
40084         multiarch default memmove.
40085         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
40086         multiarch memove for powerpc32/power4.
40088         * string/bcopy.c: Use full path to include memmove.c.
40089         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
40090         multiarch objects.
40091         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
40092         bcopy for powerpc64.
40093         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
40094         bcopy for powerpc64.
40095         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
40096         and memmove implementations.
40097         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
40098         optimized multiarch memmove for POWER7/powerpc64.
40099         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
40100         default multiarch memmove for powerpc64.
40101         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
40102         multiarch for powerpc64.
40103         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
40104         for POWER7/powerpc64.
40105         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
40106         memmove for POWER7/powerpc64.
40108         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
40109         glibc default one.
40111         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
40112         __ELF_NATIVE_CLASS equal to 64.
40114 2014-07-07  Roland McGrath  <roland@hack.frob.com>
40116         * sysdeps/nptl/lowlevellock.h: File removed.
40118         * NEWS: NPTL is no longer an add-on!
40119         * nptl/internaltypes.h: Moved ...
40120         * sysdeps/nptl/internaltypes.h: ... here.
40121         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
40122         * sysdeps/nptl/fork.c: Likewise.
40123         * sysdeps/nptl/gai_misc.h: Likewise.
40124         * sysdeps/nptl/librt-cancellation.c: Likewise.
40125         * sysdeps/nptl/jmp-unwind.c: Likewise.
40126         * sysdeps/nptl/setxid.h: Likewise.
40127         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
40128         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
40129         * sysdeps/unix/sysv/linux/arm/Implies: New file.
40130         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
40131         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
40132         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
40133         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
40134         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
40135         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
40136         * sysdeps/unix/sysv/linux/mips/Implies: New file.
40137         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
40138         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
40139         * sysdeps/unix/sysv/linux/sh/Implies: New file.
40140         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
40141         * sysdeps/unix/sysv/linux/tile/Implies: New file.
40142         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
40143         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
40144         * nptl/Makeconfig: Moved ...
40145         * sysdeps/nptl/Makeconfig: ... here.
40146         * nptl/configure: File removed.
40147         * nptl/ANNOUNCE: File removed.
40148         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
40149         * sysdeps/unix/sysv/linux/configure: Regenerated.
40151         * nptl/Makefile (routines): Add libc_pthread_init,
40152         libc_multiple_threads, register-atfork and unregister-atfork.
40153         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
40154         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
40155         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
40156         pthread-pi-defines.sym, structsem.sym.
40157         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
40158         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
40159         [$(subdir) = nptl] (tests): Add tst-setgetname.
40160         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
40161         * sysdeps/unix/sysv/linux/sigaction.c: Just include
40162         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
40163         [!LIBC_SIGACTION]: Remove aliases.
40164         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
40165         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
40166         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
40167         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
40168         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
40169         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
40170         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40171         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40172         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
40173         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
40174         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
40175         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
40176         __libc_allocate_rtsig_private.
40177         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
40178         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
40179         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
40180         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
40181         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
40182         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
40183         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
40184         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
40185         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
40186         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
40187         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
40188         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
40189         * nptl/internaltypes.h: ... here.
40190         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
40191         * sysdeps/nptl/jmp-unwind.c: ... here.
40192         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
40193         * nptl/libc-lowlevellock.c: ... here.
40194         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
40195         * nptl/libc_multiple_threads.c: ... here.
40196         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
40197         * nptl/libc_pthread_init.c: ... here.
40198         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
40199         * nptl/lowlevelbarrier.sym: ... here.
40200         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
40201         * nptl/lowlevelcond.sym: ... here.
40202         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
40203         * nptl/lowlevellock.c: ... here.
40204         * nptl/lowlevellock.h: Moved ...
40205         * sysdeps/nptl/lowlevellock.h: ... here.
40206         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
40207         * nptl/lowlevelrobustlock.c: ... here.
40208         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
40209         * nptl/lowlevelrobustlock.sym: ... here.
40210         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
40211         * nptl/lowlevelrwlock.sym: ... here.
40212         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
40213         * nptl/pt-fork.c: ... here.
40214         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
40215         * nptl/pthread-pi-defines.sym: ... here.
40216         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
40217         * nptl/pthread_attr_getaffinity.c: ... here.
40218         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
40219         * nptl/pthread_attr_setaffinity.c: ... here.
40220         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
40221         * nptl/pthread_mutex_cond_lock.c: ... here.
40222         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
40223         Update #include.
40224         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
40225         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
40226         * nptl/pthread_once.c: ... here, replacing old file.
40227         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
40228         * nptl/pthread_yield.c: ... here.
40229         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
40230         * nptl/register-atfork.c: ... here.
40231         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
40232         * nptl/sem_post.c: ... here.
40233         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
40234         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
40235         * nptl/sem_timedwait.c: ... here.
40236         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
40237         * nptl/sem_trywait.c: ... here.
40238         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
40239         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
40240         * nptl/sem_wait.c: ... here.
40241         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
40242         * nptl/structsem.sym: ... here.
40243         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
40244         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
40245         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
40246         * nptl/unregister-atfork.c: ... here.
40247         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
40248         * nptl/unwindbuf.sym: ... here.
40249         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
40250         * sysdeps/nptl/fork.c: ... here.
40251         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
40252         * sysdeps/nptl/fork.h: ... here.
40253         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
40254         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
40255         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
40256         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
40257         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
40258         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
40259         * sysdeps/unix/sysv/linux/getpid.c: ... here.
40260         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
40261         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
40262         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
40263         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
40264         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
40265         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
40266         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
40267         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
40268         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
40269         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
40270         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
40271         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
40272         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
40273         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
40274         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
40275         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
40276         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
40277         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
40278         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
40279         * sysdeps/unix/sysv/linux/raise.c: ... here.
40280         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
40281         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
40282         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
40283         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
40284         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
40285         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
40286         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
40287         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
40288         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
40289         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
40290         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
40291         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
40292         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
40293         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
40294         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
40296 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40298         * sysdeps/generic/memcopy.h: Add comment for
40299         MEMCPY_OK_FOR_FWD_MEMMOVE.
40301 2014-07-04  Will Newton  <will.newton@linaro.org>
40303         * string/memchr.c: Merge from gnulib.
40304         [_LIBC]: Remove conditionals.
40305         (__ptr_t): Remove define.
40306         (LONG_MAX_32_BITS): Likewise.
40307         (LONG_MAX): Likewise.
40308         (MEMCHR): Use ANSI prototype and optimize algorithm.
40310         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
40312 2014-07-03  Roland McGrath  <roland@hack.frob.com>
40314         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
40315         (lll_futex_timed_wait_bitset): Fix syscall argument count.
40317         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
40318         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
40319         in a bare environment with no <stdlib.h> installed.
40320         * sysdeps/nptl/configure: Regenerated.
40322         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
40324         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
40325         AC_EGREP_CPP for kernel header checks, so they only succeed if
40326         including <linux/version.h> actually works right.
40327         * sysdeps/unix/sysv/linux/configure: Regenerated.
40329         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
40330         value so it's not diagnosed as unused.
40332         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
40333         thing) with "ifeq ($(subdir),rt)".
40335 2014-07-03  Richard Henderson  <rth@redhat.com>
40337         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
40338         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
40339         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
40341         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
40342         (math_force_eval): New.
40344         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
40345         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
40347         * sysdeps/alpha/fpu/s_round.c: Remove file.
40348         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
40350         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
40351         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
40352         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
40353         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
40354         (_dl_start, print_statistics): Likewise.
40355         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
40356         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
40358         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40359         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40360         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40361         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40362         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
40363         (HP_SMALL_TIMING_AVAIL): Define.
40364         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40365         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
40366         (HP_SMALL_TIMING_AVAIL): Define.
40367         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40368         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40370         * sysdeps/aarch64/hp-timing.h: New file.
40372         * sysdeps/generic/hp-timing.h: Remove dead comment.
40373         * sysdeps/generic/hp-timing-common.h: New file.
40374         * sysdeps/alpha/hp-timing.h: Include it.
40375         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
40376         * sysdeps/i386/i686/hp-timing.h: Likewise.
40377         * sysdeps/ia64/hp-timing.h: Likewise.
40378         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40379         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40380         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40381         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40382         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
40383         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
40384         (hp_timing_t): New.
40386         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
40387         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
40388         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
40389         * elf/rtld.c (_dl_start_final): Likewise.
40390         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
40391         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40392         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40393         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40394         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40395         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
40396         (HP_TIMING_DIFF_INIT): Remove.
40397         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40398         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
40399         (HP_TIMING_DIFF_INIT): Remove.
40400         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40401         * sysdeps/i386/i686/hp-timing.c: Remove file.
40402         * sysdeps/x86_64/hp-timing.c: Remove file.
40403         * sysdeps/ia64/hp-timing.c: Remove file.
40404         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
40405         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
40406         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
40407         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
40409         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
40410         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
40411         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
40412         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
40413         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
40414         (HP_TIMING_ACCUM): Remove.
40415         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
40416         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
40417         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
40419         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
40420         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
40421         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
40422         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
40423         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
40424         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
40425         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
40426         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
40428         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
40430 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
40432         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
40434 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40436         Sync up with gettext.
40437         * intl/loadmsgcat.c: Define O_BINARY if not defined.
40438         [_MSC_VER]: Include malloc.h
40439         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
40440         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
40441         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
40442         TEMP_FAILURE_RETRY.  Cast return of alloca.
40443         [!_LIBC] Call gl_rwlock_init.
40444         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
40446 2014-07-02  Roland McGrath  <roland@hack.frob.com>
40448         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
40449         before checking its value.
40451 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40453         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
40455         * debug/memcpy_chk.c: Don't include pagecopy.h.
40456         * debug/mempcpy_chk.c: Likewise.
40457         * string/memcpy.c: Likewise.
40458         * string/memmove.c: Likewise.
40459         * sysdeps/powerpc/memmove.c: Likewise.
40460         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
40461         definition of PAGE_COPY_FWD_MAYBE here...
40462         * sysdeps/generic/pagecopy.h: ... from here.
40463         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
40465 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40466             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40468         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
40469         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
40470         optimizations.
40471         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40472         (__libc_ifunc_impl_list): Likewise.
40473         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
40474         multiarch strcat for PPC64.
40475         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
40476         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
40478 2014-07-02  Roland McGrath  <roland@hack.frob.com>
40480         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
40482 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40484         * intl/loadmsgcat.c: Remove declaration of
40485         get_sysdep_segment_value.
40486         (get_sysdep_segment_value): Use ISO C style.
40487         (_nl_load_domain): Use ISO C style.  Get rid of redundant
40488         semicolon.  Fix typo and formatting in comment.
40489         (_nl_unload_domain): Use ISO C style.
40491         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
40493 2014-07-02  Will Newton  <will.newton@linaro.org>
40495         * malloc/obstack.c: Merge from gnulib master.
40496         [HAVE_CONFIG_H]: Remove conditional code.
40497         [!_LIBC]: Include config.h.
40498         [!ELIDE_CODE]: Don't include inttypes.h, include
40499         stdint.h unconditionally.
40500         (print_and_abort): Mark as _Noreturn.
40501         (_obstack_allocated_p): Mark as __attribute_pure__.
40502         (obstack_free): Rename to __obstack_free.
40503         [!__attribute__]: Remove conditional code.
40504         * malloc/obstack.h: Merge from gnulib master.
40505         [__cplusplus]: Move conditional down.
40506         [!__attribute_pure__]: Define __attribute_pure__ here
40507         if it is not already defined.
40508         (_obstack_memory_used): Mark as __attribute_pure__.
40509         [!__obstack_free]: Define as obstack_free.
40510         [__GNUC__]: Remove check for ancient NeXT gcc.
40512 2014-07-02  Will Newton  <will.newton@linaro.org>
40513             Paul Eggert  <eggert@cs.ucla.edu>
40515         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
40517 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40519         * resolv/gethnamaddr.c: Add comment warning that the file is
40520         not maintained.
40522 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
40524         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
40525         entries.
40527         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
40528         entry for aio_cancel and aio_cancel64.
40529         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
40530         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
40531         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
40532         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
40533         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
40534         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
40535         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
40536         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
40537         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
40538         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
40539         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
40540         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
40541         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
40543 2014-07-01  Roland McGrath  <roland@hack.frob.com>
40545         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
40546         * nptl/pthread_mutex_lock.c: Likewise.
40547         * nptl/pthread_mutex_timedlock.c: Likewise.
40548         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
40550 2014-07-01  Richard henderson  <rth@redhat.com>
40552         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
40553         (__isnan, __isnanl): Remove.
40554         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
40556         * sysdeps/alpha/fpu/libm-test-ulps: Update.
40558 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
40560         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40562 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
40564         * resolv/nss_dns/dns-host.c (getanswer_r)
40565         [MULTI_PTRS_ARE_ALIASES]: Remove code.
40567 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
40569         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40570         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
40571         undefine.
40572         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
40573         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
40575 2014-07-01  Roland McGrath <roland@hack.frob.com>
40577         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
40578         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
40580         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
40581         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
40583         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
40584         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
40585         ... here.
40586         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
40587         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
40589         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
40590         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
40591         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
40592         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
40594         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
40595         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
40596         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
40597         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
40598         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
40599         Moved ...
40600         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
40601         ... here.
40602         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
40603         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
40604         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
40605         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
40606         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
40607         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
40608         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
40609         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
40610         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
40611         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
40612         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
40613         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
40614         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
40615         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
40616         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
40617         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
40618         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
40619         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
40620         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
40621         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
40622         ... here.
40623         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
40624         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
40625         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
40626         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
40627         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
40628         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
40629         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
40630         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
40632 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
40634         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
40635         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
40636         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
40637         Add sysdep.
40639 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40641         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40643 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
40645         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
40646         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
40648         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40650         * sysdeps/arm/libm-test-ulps: Regenerated.
40652 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
40653             Roland McGrath <roland@hack.frob.com>
40655         * test-skeleton.c (signal_handler): Kill the whole process group
40656         before killing the child individually.
40657         (main): Report any failure on `setpgid'.
40659 2014-06-30  Roland McGrath  <roland@hack.frob.com>
40661         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
40662         from _TLS_H to _ARM_NPTL_TLS_H.
40663         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
40664         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
40666 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
40668         [BZ #16539]
40669         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
40670         (__expm1l): Return argument unchanged when small but not
40671         subnormal.
40673         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
40674         include macro name.
40675         (_FP_UNPACK_RAW_1_P): Likewise.
40676         (_FP_PACK_RAW_1): Likewise.
40677         (_FP_PACK_RAW_1_P): Likewise.
40678         (_FP_MUL_MEAT_1_wide): Likewise.
40679         (_FP_MUL_MEAT_DW_1_hard): Likewise.
40680         (_FP_MUL_MEAT_1_hard): Likewise.
40681         (_FP_DIV_MEAT_1_imm): Likewise.
40682         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
40683         (_FP_DIV_MEAT_1_udiv): Likewise.
40684         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
40685         (_FP_UNPACK_RAW_2): Likewise.
40686         (_FP_UNPACK_RAW_2_P): Likewise.
40687         (_FP_PACK_RAW_2): Likewise.
40688         (_FP_PACK_RAW_2_P): Likewise.
40689         (_FP_MUL_MEAT_DW_2_wide): Likewise.
40690         (_FP_MUL_MEAT_2_wide): Likewise.
40691         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
40692         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
40693         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
40694         (_FP_MUL_MEAT_2_gmp): Likewise.
40695         (_FP_DIV_MEAT_2_udiv): Likewise.
40696         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
40697         (_FP_FRAC_SRL_4): Likewise.
40698         (_FP_FRAC_SRST_4): Likewise.
40699         (_FP_FRAC_SRS_4): Likewise.
40700         (_FP_UNPACK_RAW_4): Likewise.
40701         (_FP_UNPACK_RAW_4_P): Likewise.
40702         (_FP_PACK_RAW_4): Likewise.
40703         (_FP_PACK_RAW_4_P): Likewise.
40704         (_FP_MUL_MEAT_DW_4_wide): Likewise.
40705         (_FP_MUL_MEAT_4_wide): Likewise.
40706         (_FP_MUL_MEAT_4_gmp): Likewise.
40707         (umul_ppppmnnn): Likewise.
40708         (_FP_DIV_MEAT_4_udiv): Likewise.
40709         (__FP_FRAC_ADD_4): Likewise.
40710         (__FP_FRAC_SUB_3): Likewise.
40711         (__FP_FRAC_SUB_4): Likewise.
40712         (__FP_FRAC_DEC_3): Likewise.
40713         (__FP_FRAC_DEC_4): Likewise.
40714         (__FP_FRAC_ADDI_4): Likewise.
40715         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
40716         (_FP_FRAC_SRL_8): Likewise.
40717         (_FP_FRAC_SRS_8): Likewise.
40719         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
40720         include macro name.
40721         (FP_UNPACK_RAW_EP): Likewise.
40722         (FP_PACK_RAW_E): Likewise.
40723         (FP_PACK_RAW_EP): Likewise.
40724         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
40725         (_FP_ISSIGNAN): Likewise.
40726         (_FP_ADD_INTERNAL): Likewise.
40727         (_FP_FMA): Likewise.
40728         (_FP_CMP): Likewise.
40729         (_FP_SQRT): Likewise.
40730         (_FP_TO_INT): Likewise.
40731         (_FP_FROM_INT): Likewise.
40732         (FP_EXTEND): Likewise.
40733         (_FP_DIV_MEAT_N_loop): Likewise.
40735 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
40737         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
40738         throughout.
40740 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
40742         [BZ #17097]
40743         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
40744         result with correct sign in case of exponents that produce
40745         overflow except for X very close to 1.
40747 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
40749         mktime: merge #if/#ifdef usage from glibc
40750         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
40751         as that works with both Glibc's and Gnulib's style.
40752         See thread starting at Siddhesh Poyarekar's bug report at:
40753         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
40755 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40757         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
40758         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
40759         * sysdeps/tile/tilegx/memmove.c: Remove file.
40761 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
40763         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
40764         abi-name definition.
40765         * scripts/soversions.awk: Do not handle or generate ABI lines.
40766         * shlib-versions: Remove ABI entries.
40767         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
40768         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
40770 2014-06-27  Roland McGrath  <roland@hack.frob.com>
40772         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
40773         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
40774         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
40775         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
40776         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
40777         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
40778         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
40779         Moved ...
40780         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
40781         ... here.
40782         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
40783         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
40784         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
40785         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
40786         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
40787         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
40788         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
40789         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
40790         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
40791         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
40792         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
40793         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
40794         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
40795         Moved ...
40796         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
40797         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
40798         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
40799         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
40800         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
40801         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
40802         Moved ...
40803         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
40804         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
40805         Moved ...
40806         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
40807         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
40808         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
40809         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
40810         Moved ...
40811         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
40812         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
40813         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
40814         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
40815         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
40816         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
40817         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
40818         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
40819         Moved ...
40820         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
40821         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
40822         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
40823         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
40824         Moved ...
40825         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
40826         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
40827         Moved ...
40828         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
40829         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
40830         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
40831         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
40832         Moved ...
40833         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
40834         ... here.
40835         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
40836         Identical file removed.
40837         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
40838         Moved ...
40839         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
40840         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
40841         Identical file removed.
40842         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
40843         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
40844         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
40845         Moved ...
40846         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
40847         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
40848         Identical file removed.
40849         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
40850         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
40851         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
40852         Identical file removed.
40853         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
40854         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
40855         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
40856         Identical file removed.
40857         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
40858         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
40859         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
40860         Identical file removed.
40861         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
40862         Moved ...
40863         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
40864         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
40865         Identical file removed.
40866         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
40867         Moved ...
40868         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
40869         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
40870         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
40871         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
40872         Identical file removed.
40873         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
40874         Moved ...
40875         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
40876         ... here.
40877         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
40878         Identical file removed.
40879         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
40880         Moved ...
40881         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
40882         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
40883         Identical file removed.
40884         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
40885         Moved ...
40886         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
40887         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
40888         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
40889         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
40890         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
40891         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
40892         Moved ...
40893         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
40894         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
40895         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
40897         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
40898         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
40899         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
40900         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
40901         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
40903 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
40905         [BZ #17092]
40906         * nscd/nscd.c (monitor_child): Return exit status of child
40907         instead of return value from wait syscall.
40909 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
40911         * configure.ac (libc_commonpagesize): Remove variable.
40912         (libc_relro_required): Likewise.
40913         (libc_cv_z_relro): Remove configure test.
40914         * configure: Regenerated.
40915         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
40916         variable.
40917         (libc_relro_required): Likewise.
40918         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
40919         (libc_relro_required): Likewise.
40920         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
40921         (libc_relro_required): Likewise.
40922         * sysdeps/arm/preconfigure: Regenerated.
40923         * sysdeps/ia64/preconfigure: Remove file.
40924         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
40925         variable.
40926         (libc_relro_required): Likewise.
40928         [BZ #16561]
40929         [BZ #16562]
40930         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
40931         (__ieee754_yn): Set FE_TONEAREST mode internally and then
40932         recompute overflowing results in original rounding mode.
40933         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
40934         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
40935         recompute overflowing results in original rounding mode.
40936         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
40937         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
40938         recompute overflowing results in original rounding mode.
40939         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
40940         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
40941         recompute overflowing results in original rounding mode.
40942         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
40943         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
40944         recompute overflowing results in original rounding mode.
40945         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
40946         (libc_feholdsetround_ctx): New macro.
40947         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
40948         * sysdeps/i386/fpu/libm-test-ulps: Update.
40949         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
40951 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
40953         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
40954         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
40955         corresponding .cpsetup call.
40957 2014-06-26  Roland McGrath  <roland@hack.frob.com>
40959         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
40960         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
40961         * sysdeps/arm/Makefile [$(subdir) = csu]
40962         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
40963         (static-only-routines): Add aeabi_read_tp here.
40964         (shared-only-routines): Add libc-aeabi_read_tp here.
40965         (CFLAGS-libc-start.c): Add -fexceptions here.
40966         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
40967         (sysdep_routines, static-only-routines, shared-only-routines):
40968         Don't add to these here.
40969         (CFLAGS-libc-start.c): Likewise.
40971         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
40972         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
40973         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
40974         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
40975         * sysdeps/arm/Makefile [$(subdir) = rt]
40976         (librt-sysdep_routines, librt-shared-only-routines):
40977         Append rt-aeabi_unwind_cpp_pr1 here.
40978         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
40979         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
40980         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
40981         (libpthread-sysdep_routines, libpthread-shared-only-routines):
40982         Append nptl-aeabi_unwind_cpp_pr1 here.
40983         (tests): Filter out tst-cleanupx4 here.
40984         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
40985         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
40986         Don't do those here.
40988 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
40990         * scripts/list-sources.sh: Do not handle ports specially.
40992 2014-06-26  Roland McGrath  <roland@hack.frob.com>
40994         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
40995         * sysdeps/arm/feupdateenv.c: Likewise.
40997         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
40999 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41001         * manual/texinfo.tex: Update to version 2014-05-05.10 with
41002         trailing whitespace removed.
41003         * scripts/config.guess: Update to version 2014-03-23.
41004         * scripts/config.sub: Update to version 2014-05-01
41005         * scripts/install-sh: Update to version 2013-12-25.23.
41006         * scripts/move-if-change: Update from gnulib.
41008 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41010         * debug/memmove_chk.c: Remove pagecopy.h include.
41012 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
41014         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
41015         identical to gnulib mktime.
41017 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41019         * configure.ac: Do not test for machine being rs6000.  Do not test
41020         for powerpc*-*soft.
41021         * configure: Regenerated.
41023         [BZ #11505]
41024         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
41025         test.
41026         * configure: Regenerated.
41027         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
41028         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
41029         Remove configure test.
41030         * sysdeps/arm/configure: Regenerated.
41031         * sysdeps/nptl/configure.ac: Do not check
41032         libc_cv_asm_cfi_directives.
41033         * sysdeps/nptl/configure: Regenerated.
41034         * sysdeps/x86_64/nptl/configure.ac: Remove file.
41035         * sysdeps/x86_64/nptl/configure: Remove generated file.
41036         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
41037         unconditional.
41038         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
41040 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41042         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
41043         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
41044         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
41045         it is defined.
41047         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
41048         instead of whether it is defined.
41049         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
41050         * sysdeps/hppa/dl-machine.h: Likewise.
41051         * sysdeps/ia64/dl-machine.h: Likewise.
41052         * sysdeps/m68k/dl-machine.h: Likewise.
41053         * sysdeps/microblaze/dl-machine.h: Likewise.
41054         * sysdeps/mips/dl-machine.: Likewise.
41055         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41056         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41057         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41058         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41059         * sysdeps/sh/dl-machine.h: Likewise.
41060         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41061         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41062         * sysdeps/tile/dl-machine.h: Likewise.
41063         * sysdeps/x86_64/dl-machine.h: Likewise.
41065         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
41066         code.
41067         (verify_persistent_db): Likewise.
41069 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
41072         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
41073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
41074         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
41075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41076         Moved ...
41077         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
41078         ... here.
41079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
41080         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
41081         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
41082         Identical file removed.
41083         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
41084         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
41085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
41086         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
41087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
41088         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
41089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
41090         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
41091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
41092         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
41093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41094         Moved ...
41095         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
41096         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
41097         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
41098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
41099         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
41100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41101         Moved ...
41102         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
41103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
41104         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
41105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
41106         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
41107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41108         Identical file removed.
41109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
41110         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
41111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
41112         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
41113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41114         Moved ...
41115         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
41116         ... here.
41117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
41118         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
41119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
41120         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
41121         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
41122         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
41123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
41124         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
41125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
41126         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
41127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41128         Moved ...
41129         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
41130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
41131         Moved ...
41132         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
41133         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
41134         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
41135         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41136         Moved ...
41137         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
41138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
41139         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
41141         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
41142         folded into ...
41143         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
41144         * sysdeps/unix/sysv/linux/s390/Versions
41145         (libpthread: GLIBC_2.19): New version set.
41146         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
41147         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
41148         (librt: GLIBC_2.3.3): New version set.
41149         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
41150         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
41151         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
41152         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
41153         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
41154         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
41155         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
41156         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
41157         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
41158         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
41159         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
41160         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
41161         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
41162         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
41163         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
41164         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
41165         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
41166         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
41167         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
41168         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
41169         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
41170         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
41171         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
41172         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
41173         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
41174         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
41175         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
41176         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
41177         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
41178         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
41179         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
41180         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
41181         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
41182         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
41183         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
41184         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
41185         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
41186         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
41187         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
41188         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
41189         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
41190         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
41191         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
41192         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
41193         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
41195         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
41196         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
41197         (__libc_vfork): Define the function under this name.
41198         [!NOT_IN_libc] (__vfork): Make this an alias.
41199         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
41200         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
41201         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
41202         (__libc_vfork): Define the function under this name.
41203         [!NOT_IN_libc] (__vfork): Make this an alias.
41204         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
41205         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
41206         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
41207         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
41208         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
41209         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41211         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
41212         code that was previously under [RESET_PID].
41213         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
41214         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
41215         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
41217         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
41218         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
41219         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
41220         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
41221         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
41222         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
41223         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
41224         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
41225         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
41226         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
41227         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
41228         Moved ...
41229         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
41230         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
41231         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
41232         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
41233         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
41234         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
41235         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
41236         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
41237         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
41238         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
41239         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
41240         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
41241         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
41242         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
41243         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
41244         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
41245         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
41246         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
41247         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
41248         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
41249         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
41250         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
41251         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
41252         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
41253         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
41254         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
41255         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
41256         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
41257         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
41259 2014-06-25  Roland McGrath  <roland@hack.frob.com>
41261         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
41262         that was previously under [RESET_PID].
41263         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
41265 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
41267         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
41268         not undefine and redefine.
41269         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
41270         [O_CLOEXEC]: Make code unconditional.
41271         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
41272         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
41273         <kernel-features.h>.
41274         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
41275         conditional variable definition.
41276         (shm_open) [O_CLOEXEC]: Make code unconditional.
41277         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
41278         code.
41280         * configure.ac (USE_REGPARMS): Don't define here.
41281         * configure: Regenerated.
41282         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
41283         * sysdeps/i386/configure: Regenerated.
41285         * nptl/createthread.c: Don't include kernel-features.h.
41286         * nptl/pthread_cancel.c: Likewise.
41287         * nptl/pthread_condattr_setclock.c: Likewise.
41288         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
41289         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
41290         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
41291         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
41292         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
41293         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
41294         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
41295         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
41296         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
41297         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
41298         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
41299         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
41300         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
41301         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
41302         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
41303         * nscd/gai.c: Likewise.
41304         * nss/nss_db/db-open.c: Likewise.
41305         * sysdeps/generic/ldsodefs.h: Likewise.
41306         * sysdeps/sh/nptl/tls.h: Likewise.
41307         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
41308         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
41309         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
41310         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
41311         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
41312         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
41313         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
41314         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
41315         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41316         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
41317         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
41318         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41319         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
41320         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
41321         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
41322         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
41323         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
41324         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
41325         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
41326         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
41327         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
41328         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
41329         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
41330         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
41331         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
41332         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
41333         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
41334         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
41335         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
41336         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
41337         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
41338         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
41339         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
41340         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
41341         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
41342         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
41343         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
41344         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
41345         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
41346         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
41347         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
41348         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
41349         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
41350         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41351         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
41352         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
41353         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
41354         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
41355         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
41356         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
41357         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
41358         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
41359         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
41360         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
41361         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
41362         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
41363         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
41364         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
41365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
41366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
41367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
41368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
41369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
41370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
41371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
41372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
41373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
41374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
41375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
41376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
41377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
41378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
41379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
41380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
41385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
41386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
41387         * sysdeps/unix/sysv/linux/pread.c: Likewise.
41388         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
41389         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
41390         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
41391         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
41392         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
41393         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
41394         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
41395         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
41396         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
41397         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
41398         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
41399         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
41400         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
41401         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
41402         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
41403         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
41404         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
41405         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
41406         * sysdeps/unix/sysv/linux/system.c: Likewise.
41407         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
41408         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
41409         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41410         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41411         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41412         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
41413         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
41415         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
41416         * configure: Regenerated.
41417         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
41419         * configure.ac (base_machine): Do not set specially for particular
41420         machines here.
41421         * configure: Regenerated.
41422         * sysdeps/powerpc/preconfigure: Move machine and base_machine
41423         settings from configure.ac.
41424         * sysdeps/i386/preconfigure: New file.
41425         * sysdeps/s390/preconfigure: Likewise.
41426         * sysdeps/sh/preconfigure: Likewise.
41427         * sysdeps/sparc/preconfigure: Likewise.
41429 2014-06-25  Roland McGrath  <roland@hack.frob.com>
41431         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
41432         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
41433         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
41434         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
41435         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
41436         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
41437         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
41438         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
41439         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
41440         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
41441         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
41442         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
41443         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
41444         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
41445         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
41446         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
41447         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
41448         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
41449         * sysdeps/sparc/sparc64/Makefile: ... appended here.
41451         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
41452         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
41453         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
41454         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
41455         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
41456         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
41457         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
41458         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
41459         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
41460         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
41461         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
41462         * sysdeps/sparc/sparc32/sem_post.c: ... here.
41463         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
41464         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
41465         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
41466         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
41467         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
41468         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
41469         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
41470         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
41471         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
41472         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
41473         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
41474         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
41475         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
41476         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
41477         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
41478         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
41479         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
41480         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
41481         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
41482         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
41483         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
41484         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
41485         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
41486         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
41487         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
41488         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
41490         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
41491         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
41492         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
41493         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
41494         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41495         Moved ...
41496         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
41497         ... here.
41498         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
41499         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
41500         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
41501         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
41502         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
41503         Moved ...
41504         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
41505         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
41506         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
41507         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
41508         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
41509         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
41510         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
41511         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41512         Moved ...
41513         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
41514         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41515         Moved ...
41516         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
41517         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
41518         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
41519         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41520         Moved ...
41521         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
41522         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
41523         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
41524         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
41525         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
41526         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
41527         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
41528         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
41529         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
41530         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41531         Moved ...
41532         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
41533         ... here.
41534         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
41535         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
41536         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
41537         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
41538         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
41539         Moved ...
41540         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
41541         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
41542         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
41543         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
41544         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
41545         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
41546         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
41547         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41548         Moved ...
41549         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
41550         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41551         Moved ...
41552         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
41553         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
41554         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
41555         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41556         Moved ...
41557         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
41558         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
41559         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
41560         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
41561         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
41563 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
41565         * timezone/checktab.awk: Update from tzcode 2014e.
41566         * timezone/private.h: Likewise.
41567         * timezone/tzfile.h: Likewise.
41568         * timezone/zdump.c: Likewise.
41569         * timezone/zic.c: Likewise.
41571         * sysdeps/unix/sysv/linux/kernel-features.h
41572         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
41573         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
41574         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
41575         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
41576         Remove conditional code.
41578 2014-06-25  Will Newton  <will.newton@linaro.org>
41580         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
41581         (_dl_arm_cap_flags): Add HWCAP2 values.
41582         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
41583         (_DL_HWCAP_COUNT): Increase to 37.
41584         (_DL_HWCAP_LAST): New define.
41585         (_DL_HWCAP2_LAST): New define.
41586         (_dl_procinfo): Add support for printing
41587         AT_HWCAP2 entries.
41588         (_dl_string_hwcap): Use _dl_hwcap_string.
41590 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41594 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
41596         * README: Do not mention ports directory.
41598         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
41599         Remove macro.
41600         * sysdeps/unix/sysv/linux/futimes.c: Do not include
41601         <kernel-features.h>.
41602         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
41603         conditional variable definition.
41604         (__futimes): Update comment.
41605         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
41606         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
41608         [BZ #16560]
41609         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
41610         arguments close to 0.
41611         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
41612         Likewise.
41613         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
41614         Likewise.
41615         * math/auto-libm-test-in: Add more tests of exp10.
41616         * math/auto-libm-test-out: Regenerated.
41617         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41619         * sysdeps/unix/sysv/linux/kernel-features.h
41620         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
41621         * sysdeps/unix/sysv/linux/readv.c: Do not include
41622         <kernel-features.h>.
41623         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
41624         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
41625         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
41626         unconditional.
41627         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
41628         conditional code.
41629         * sysdeps/unix/sysv/linux/writev.c: Do not include
41630         <kernel-features.h>.
41631         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
41632         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
41633         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
41634         unconditional.
41635         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
41636         conditional code.
41638 2014-06-25  Will Newton  <will.newton@linaro.org>
41640         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
41641         comment changes throughout the file.  Remove checks
41642         for HAVE_*_H definitions that are not required.
41643         (__gen_tempname): Call abort if an unknown kind value is
41644         passed.
41646 2014-06-25  Andreas Schwab  <schwab@suse.de>
41648         [BZ #17086]
41649         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
41650         scalbln, scalblnf, scalblnl in libc.
41652 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41654         [BZ #17086]
41655         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
41656         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
41657         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
41659 2014-06-24  Roland McGrath  <roland@hack.frob.com>
41661         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
41662         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
41663         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
41664         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
41665         Update #include.
41666         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
41667         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
41668         Update #include.
41669         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
41670         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
41671         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
41672         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
41673         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
41674         * sysdeps/x86/bits/pthreadtypes.h: ... here.
41675         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
41676         * sysdeps/x86/bits/semaphore.h: ... here.
41677         * sysdeps/x86/nptl/elide.h: Moved ...
41678         * sysdeps/x86/elide.h: ... here.
41679         * sysdeps/x86_64/nptl/Implies: File removed.
41680         * sysdeps/i386/nptl/Implies: File removed.
41682 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
41684         [BZ #16539]
41685         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
41686         return the argument for normal arguments with exponent below -64.
41687         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
41688         Likewise.
41689         * math/auto-libm-test-in: Add another test of expm1.
41690         * math/auto-libm-test-out: Regenerated.
41692         [BZ #16287]
41693         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
41694         calling __erfcl for arguments at least 16.
41695         * math/auto-libm-test-in: Add more tests of erf.
41696         * math/auto-libm-test-out: Regenerated.
41698         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
41699         individual architectures.
41700         * sysdeps/unix/sysv/linux/configure: Regenerated.
41701         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
41702         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
41703         * sysdeps/unix/sysv/linux/powerpc/configure.ac
41704         (ldd_rewrite_script): Define variable.
41705         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
41707         file.
41708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
41709         generated file.
41710         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
41711         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
41712         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
41713         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
41714         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
41715         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
41716         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
41717         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
41719 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41721         [BZ #17084]
41722         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
41723         Rename member __data.d to __data.__elision_data.
41725 2014-06-24  Wilco  <wdijkstr@arm.com>
41727         * NEWS: Add 16918 to fixed bug list.
41729 2014-06-24  Wilco  <wdijkstr@arm.com>
41731         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
41733 2014-06-24  Wilco  <wdijkstr@arm.com>
41735         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
41736         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
41737         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
41738         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
41739         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
41740         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
41741         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
41742         Use _FPU_MASK_RM.
41744 2014-06-24  Wilco  <wdijkstr@arm.com>
41746         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
41748 2014-06-24  Wilco  <wdijkstr@arm.com>
41750         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
41751         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
41752         * sysdeps/arm/fesetround.c (fesetround): Remove space.
41753         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
41755 2014-06-24  Wilco  <wdijkstr@arm.com>
41757         [BZ #16918]
41758         * sysdeps/arm/feupdateenv.c (feupdateenv):
41759         Rewrite to reduce FPSCR accesses and fix return value.
41761 2014-06-24  Wilco  <wdijkstr@arm.com>
41763         * sysdeps/arm/fclrexcpt.c (feclearexcept):
41764         Optimize to avoid unnecessary FPSCR writes.
41765         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
41766         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
41767         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
41768         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
41770 2014-06-24  Wilco  <wdijkstr@arm.com>
41772         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
41773         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
41774         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
41775         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
41776         Call libc_fetestexcept_vfp.
41777         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
41778         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
41779         __SOFTFP__ ifdef so that they can be built for softfp.
41781 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41783         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
41784         argument type signed char.
41786         * Makerules (check-abi): Dump diff of symlist if the test
41787         fails.
41789 2014-06-23  Roland McGrath  <roland@hack.frob.com>
41791         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
41792         using abort.
41794         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
41795         Remove unused variable ST.
41797 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
41799         [BZ #16354]
41800         [BZ #17061]
41801         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
41802         small arguments before calling __expm1.
41803         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
41804         small arguments before calling __expm1f.
41805         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
41806         small arguments before calling __expm1l.
41807         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
41808         Likewise.
41809         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
41810         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
41811         spurious underflow for some cosh tests.
41812         * math/auto-libm-test-out: Regenerated.
41813         * sysdeps/i386/fpu/libm-test-ulps: Update.
41815         [BZ #17050]
41816         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
41817         (__ieee754_y1): Set errno if return value overflows.
41818         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
41819         (__ieee754_y1f): Set errno if return value overflows.
41820         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
41821         (__ieee754_y1l): Set errno if return value overflows.
41822         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
41823         (__ieee754_y1l): Set errno if return value overflows.
41824         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
41825         * math/auto-libm-test-out: Regenerated.
41827         * math/gen-auto-libm-tests.c: Document use of
41828         ignore-zero-inf-sign.
41829         (input_flag_type): Add value flag_ignore_zero_inf_sign.
41830         (input_flags): Add ignore-zero-inf-sign.
41831         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
41832         * math/gen-libm-test.pl (generate_testfile): Handle
41833         ignore-zero-inf-sign.
41834         * math/auto-libm-test-in: Mark some cpow tests with
41835         ignore-zero-inf-sign and some with xfail-rounding.
41836         * math/auto-libm-test-out: Regenerated.
41837         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
41838         * sysdeps/i386/fpu/libm-test-ulps: Update.
41839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41841         [BZ #16315]
41842         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
41843         overflowing or underflowing operations take place with sign of
41844         result.
41845         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41846         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
41847         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
41848         (__ieee754_pow): Recompute overflowing and underflowing results in
41849         original rounding mode.
41850         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
41851         (__powl_helper): Allow negative argument X and scale negated value
41852         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
41853         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
41854         overflowing or underflowing operations take place with sign of
41855         result.
41856         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
41857         Include <math.h>.
41858         * math/auto-libm-test-in: Add more tests of pow.
41859         * math/auto-libm-test-out: Regenerated.
41860         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
41861         (pow_tonearest_test_data): Remove.
41862         (pow_test_tonearest): Likewise.
41863         (pow_towardzero_test_data): Likewise.
41864         (pow_test_towardzero): Likewise.
41865         (pow_downward_test_data): Likewise.
41866         (pow_test_downward): Likewise.
41867         (pow_upward_test_data): Likewise.
41868         (pow_test_upward): Likewise.
41869         (main): Don't call removed functions.
41870         * sysdeps/i386/fpu/libm-test-ulps: Update.
41871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41873 2014-06-23  Roland McGrath  <roland@hack.frob.com>
41875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
41876         Moved ...
41877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
41878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41879         Moved ...
41880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
41881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41882         Moved ...
41883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
41884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
41885         Moved ...
41886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
41887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41888         File removed.
41889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41890         File removed.
41891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
41892         File removed.
41893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
41894         File removed.
41895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
41896         File removed.
41897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
41898         File removed.
41899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
41900         File removed.
41901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41902         File removed.
41903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
41904         File removed.
41905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41906         File removed.
41907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
41908         File removed.
41909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
41910         File removed.
41911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
41912         Moved ...
41913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
41914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
41915         Moved ...
41916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
41917         ... here.
41918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
41919         Moved ...
41920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
41921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
41922         Moved ...
41923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
41924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
41925         Moved ...
41926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
41927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
41928         Moved ...
41929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
41930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
41931         Moved ...
41932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
41933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
41934         Moved ...
41935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
41936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
41937         Moved ...
41938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
41939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
41940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
41941         ... here.
41942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
41943         Moved ...
41944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
41945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
41946         Moved ...
41947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
41948         ... here.
41949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
41950         Moved ...
41951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
41952         ... here.
41953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41954         Moved ...
41955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
41956         ... here.
41957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
41958         Moved ...
41959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
41960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
41961         Moved ...
41962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
41963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
41964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
41965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
41966         Moved ...
41967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
41968         ... here.
41969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41970         Moved ...
41971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
41972         ... here.
41973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
41974         Moved ...
41975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
41976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41977         Moved ...
41978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
41979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
41980         Moved ...
41981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
41982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41983         Moved ...
41984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
41985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
41986         Moved ...
41987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
41988         ... here.
41989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41990         Moved ...
41991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
41992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
41993         Moved ...
41994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
41995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41996         Moved ...
41997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
41998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
41999         Moved ...
42000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
42001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
42002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
42003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
42004         Moved ...
42005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
42006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42007         Moved ...
42008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
42009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
42010         Moved ...
42011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
42012         ... here.
42013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42014         Moved ...
42015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
42016         ... here.
42017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
42018         Moved ...
42019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
42020         ... here.
42021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42022         Moved ...
42023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
42024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
42025         Moved ...
42026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
42027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42028         Moved ...
42029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
42030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
42031         Moved ...
42032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
42033         ... here.
42034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42035         Moved ...
42036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
42037         ... here.
42038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
42039         Moved ...
42040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
42041         ... here.
42042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42043         Moved ...
42044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
42045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
42046         Moved ...
42047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
42049 2014-06-23  Will Newton  <will.newton@linaro.org>
42050             Wilco  <wdijkstr@arm.com>
42052         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
42053         implementation.  Include get-rounding-mode.h.
42054         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
42055         [!libc_feholdsetround_noex_ctx]: Define
42056         libc_feholdsetround_noex_ctx.
42057         [!libc_feholdsetround_noexf_ctx]: Define
42058         libc_feholdsetround_noexf_ctx.
42059         [!libc_feholdsetround_noexl_ctx]: Define
42060         libc_feholdsetround_noexl_ctx.
42061         (libc_feholdsetround_ctx): New function.
42062         (libc_feresetround_ctx): New function.
42063         (libc_feholdsetround_noex_ctx): New function.
42064         (libc_feresetround_noex_ctx): New function.
42066 2014-06-23  Roland McGrath  <roland@hack.frob.com>
42068         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
42069         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
42070         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
42071         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
42072         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
42073         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
42075         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
42076         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
42077         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
42078         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
42079         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
42080         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
42081         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
42082         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
42083         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
42084         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
42085         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
42086         Moved ...
42087         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
42088         ... here.
42089         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
42090         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
42091         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
42092         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
42093         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
42094         Moved ...
42095         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
42096         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
42097         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
42098         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
42099         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
42100         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
42101         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
42102         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
42103         Moved ...
42104         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
42105         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
42106         Moved ...
42107         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
42108         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
42109         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
42110         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
42111         Moved ...
42112         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
42113         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
42114         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
42115         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
42116         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
42117         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
42118         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
42119         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
42120         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
42121         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
42122         Moved ...
42123         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
42124         ... here.
42125         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
42126         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
42127         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
42128         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
42129         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
42130         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
42131         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
42132         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
42133         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
42134         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
42135         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
42136         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
42137         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
42138         Moved ...
42139         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
42140         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
42141         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
42142         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
42143         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
42144         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
42145         Moved ...
42146         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
42147         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
42148         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
42149         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
42150         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
42152         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
42153         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
42154         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
42155         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
42156         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
42157         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
42158         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
42159         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
42160         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
42161         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
42162         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
42163         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
42164         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
42165         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
42166         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
42167         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
42168         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
42169         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
42170         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
42171         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
42172         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
42173         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
42174         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
42175         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
42176         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
42177         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
42178         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
42179         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
42181 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
42183         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
42184         (FALLOC_FL_COLLAPSE_RANGE): New macro.
42185         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
42186         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
42187         (IPV6_PMTUDISC_INTERFACE): Likewise.
42188         (IPV6_PMTUDISC_OMIT): Likewise.
42190 2014-06-23  Andreas Schwab  <schwab@suse.de>
42192         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
42193         Remove unused errout label.
42195 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42197         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
42198         macro: hardware supports Vector Crypto instructions.
42200 2014-06-23  Will Newton  <will.newton@linaro.org>
42202         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
42203         rather than __builtin_expect.
42205         * elf/dl-lookup.c (undefined_msg): Remove variable.
42206         (_dl_lookup_symbol_x): Replace undefined_msg with string
42207         literal.
42209         * elf/dl-lookup.c (do_lookup_unique): New function.
42210         (do_lookup_x): Move STB_GNU_UNIQUE handling code
42211         to a separate function.
42213 2014-06-23  Andreas Schwab  <schwab@suse.de>
42215         [BZ #17079]
42216         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
42217         before reading the next line.
42219 2014-06-23  Will Newton  <will.newton@linaro.org>
42221         * test-skeleton.c (signal_handler): Use printf and %m
42222         rather than perror.  Use printf rather than fprintf to
42223         stderr.  Use puts rather than fputs to stderr.
42224         (main): Likewise.
42226 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
42228         * nscd/nscd.c (thread_info_t): Remove typedef.
42229         (thread_info): Remove variable.
42231 2014-06-21  Allan McRae  <allan@archlinux.org>
42233         * NEWS: Mention CVE-2014-4043.
42235 2014-06-20  Roland McGrath  <roland@hack.frob.com>
42237         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
42238         * nptl/smp.h: ... here.
42240         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
42242         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
42243         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
42244         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
42245         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
42247         * nptl/allocatestack.c: Include <stack-aliasing.h>.
42248         * nptl/stack-aliasing.h: New file.
42249         * sysdeps/i386/i686/stack-aliasing.h: New file.
42250         * sysdeps/i386/i686/nptl/Makefile: File removed.
42251         * sysdeps/x86_64/stack-aliasing.h: New file.
42252         * sysdeps/x86_64/nptl/Makefile
42253         (CFLAGS-pthread_create.c): Variable removed.
42255         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
42256         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
42257         old file.
42258         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
42259         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
42260         old file.
42262 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
42264         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42265         (__ASSUME_SIGFRAME_V2): Remove macro.
42266         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
42267         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
42268         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
42269         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
42270         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
42271         Declare as function.  Remove conditional macro definitions.
42272         (__default_rt_sa_restorer): Likewise.
42273         (__default_sa_restorer_v1): Remove declaration.
42274         (__default_sa_restorer_v2): Likewise.
42275         (__default_rt_sa_restorer_v1): Likewise.
42276         (__default_rt_sa_restorer_v2): Likewise.
42277         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
42278         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
42279         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
42281 2014-06-20  Roland McGrath  <roland@hack.frob.com>
42283         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
42284         (libpthread-routines): Add sysdep.
42285         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
42286         * sysdeps/unix/sysv/linux/sparc/Versions
42287         (libpthread: GLIBC_2.3.3): New version set.
42288         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
42289         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
42290         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
42291         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
42292         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
42293         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
42294         Moved ...
42295         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
42296         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
42297         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
42298         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
42299         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
42300         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
42301         * sysdeps/sparc/nptl/sem_init.c: ... here.
42302         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
42303         * sysdeps/sparc/nptl/sem_post.c: ... here.
42304         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
42305         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
42306         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
42307         * sysdeps/sparc/nptl/sem_wait.c: ... here.
42308         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
42309         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
42310         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
42311         (libpthread-routines): Add cpu_relax.
42312         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
42313         File removed.
42314         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
42315         (librt: GLIBC_2.3.3): New version set.
42316         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
42317         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
42318         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
42319         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
42320         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
42321         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
42322         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
42323         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
42324         Moved ...
42325         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
42326         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
42327         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
42328         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
42329         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
42330         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
42331         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
42332         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
42333         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
42334         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
42335         Moved ...
42336         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
42337         Update #include.
42338         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
42339         Moved ...
42340         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
42341         Update #include.
42342         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
42343         Moved ...
42344         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
42345         Update #include.
42346         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
42347         Moved ...
42348         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
42349         Update #include.
42350         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
42351         Moved ...
42352         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
42353         Update #include.
42354         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
42355         Moved ...
42356         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
42357         Update #include.
42358         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
42359         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
42360         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
42361         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
42362         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
42363         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
42364         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
42365         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
42366         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
42367         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
42368         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
42369         Moved ...
42370         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
42371         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
42372         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
42373         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
42374         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
42376 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
42378         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
42379         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
42380         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
42381         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
42382         * nscd/nscd.c: Likewise.
42383         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
42384         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
42385         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
42386         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
42388         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
42389         <kernel-features.h>.
42390         (init_mq_netlink): Remove conditional have_sock_cloexec
42391         definitions.  Remove code conditional on have_sock_cloexec < 0.
42392         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
42393         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
42394         * sysdeps/unix/sysv/linux/opensock.c: Do not include
42395         <kernel-features.h>.
42396         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
42397         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
42399 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
42401         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42402         Add tests for memset_chk and memset.
42404         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
42405         with AVX2_Usable.
42407 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
42409         [BZ #16046]
42410         * elf/tst-dl-iter-static.c: New file.
42411         * elf/Makefile (tests-static): Add tst-dl-iter-static.
42413         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
42414         error.
42416 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
42418         * sysdeps/unix/sysv/linux/kernel-features.h
42419         (__ASSUME_F_GETOWN_EX): Remove macro.
42420         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
42421         <kernel-features.h>.
42422         (miss_F_GETOWN_EX): Remove variable or macro.
42423         (do_fcntl): Do not check miss_F_GETOWN_EX.
42424         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
42426         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
42427         Remove macro.
42428         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
42429         [!__ASSUME_AT_RANDOM]: Remove conditional code.
42430         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
42432         * sysdeps/unix/sysv/linux/kernel-features.h
42433         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
42434         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
42435         [ADJ_OFFSET_SS_READ]: Make code unconditional.
42436         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
42438 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
42440         [BZ #17075]
42441         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
42442         Fix calculation of the symbol's value.
42443         * sysdeps/arm/tst-armtlsdescloc.c: New file.
42444         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
42445         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
42446         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
42447         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
42448         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
42449         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
42450         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
42451         (modules-names): Add `tst-armtlsdescmod',
42452         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
42453         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
42454         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
42455         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
42456         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
42457         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
42458         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
42459         ($(objpfx)tst-armtlsdescloc): New dependency.
42460         ($(objpfx)tst-armtlsdescextnow): Likewise.
42461         ($(objpfx)tst-armtlsdescextlazy): Likewise.
42462         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
42463         TLS scheme support.
42464         * sysdeps/arm/configure: Regenerate.
42466 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
42468         * include/fcntl.h (__atfct_seterrno): Remove prototype.
42469         (__atfct_seterrno_2): Likewise.
42470         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
42471         <kernel-features.h>.
42472         (__ASSUME_ATFCTS): Do not undefine and redefine.
42473         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
42474         (__have_atfcts): Remove conditional definition.
42475         (__fxstatat([__NR_fstatat64]: Make code unconditional.
42476         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
42477         unreachable if [__ASSUME_ATFCTS].
42478         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
42479         not undefine and redefine.
42480         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
42481         <kernel-features.h>.
42482         (faccessat) [__NR_faccessat]: Make code unconditional.
42483         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
42484         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
42485         <kernel-features.h>.
42486         (fchmodat) [__NR_fchmodat]: Make code unconditional.
42487         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
42488         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
42489         <kernel-features.h>.
42490         (fchownat) [__NR_fchownat]: Make code unconditional.
42491         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
42492         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
42493         <kernel-features.h>.
42494         (futimesat) [__NR_futimesat]: Make code unconditional.
42495         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
42496         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
42497         <kernel-features.h>.
42498         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
42499         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42500         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
42501         <kernel-features.h>.
42502         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
42503         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
42504         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
42505         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
42506         <kernel-features.h>.
42507         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
42508         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42509         * sysdeps/unix/sysv/linux/linkat.c: Do not include
42510         <kernel-features.h>.
42511         (linkat) [__NR_linkat]: Make code unconditional.
42512         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42513         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
42514         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
42515         <kernel-features.h>.
42516         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
42517         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
42518         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
42519         <kernel-features.h>.
42520         (mkdirat) [__NR_mkdirat]: Make code unconditional.
42521         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
42522         * sysdeps/unix/sysv/linux/openat.c: Do not include
42523         <kernel-features.h>.
42524         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
42525         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
42526         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
42527         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
42528         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
42529         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
42530         <kernel-features.h>.
42531         (readlinkat) [__NR_readlinkat]: Make code unconditional.
42532         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
42533         result of INLINE_SYSCALL directly, not via int variable.
42534         * sysdeps/unix/sysv/linux/renameat.c: Do not include
42535         <kernel-features.h>.
42536         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
42537         (renameat) [__NR_renameat]: Make code unconditional.
42538         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
42539         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
42540         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
42541         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
42542         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
42543         (__ASSUME_ATFCTS): Do not undefine and redefine.
42544         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
42545         <kernel-features.h>.
42546         (symlinkat) [__NR_symlinkat]: Make code unconditional.
42547         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42548         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
42549         <kernel-features.h>.
42550         (unlinkat) [__NR_unlinkat]: Make code unconditional.
42551         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42552         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
42553         (__ASSUME_ATFCTS): Do not undefine and redefine.
42554         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
42555         <kernel-features.h>.
42556         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
42557         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42558         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
42559         <kernel-features.h>.
42560         (__xmknodat) [__NR_mknodat]: Make code unconditional.
42561         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
42563 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
42565         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
42567 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
42569         [BZ #17069]
42570         * posix/regcomp.c (parse_reg_exp): Deallocate partially
42571         constructed tree before returning error.
42572         * posix/bug-regexp36.c: Expand test case.
42574 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
42576         [BZ #6803]
42577         * math/libm-test.inc (scalbln_test_date):
42578         Add errno expectations.
42579         * math/w_scalblnf.c: New File.
42580         Add wrapper which checks for setting errno to ERANGE.
42581         Add weak_alias for corresponding scalbln function.
42582         * math/w_scalbln.c: Likewise.
42583         * math/w_scalblnl.c: Likewise.
42584         * math/Makefile (libm-calls): Add w_scalbln.
42585         * sysdeps/ieee754/flt-32/s_scalblnf.c:
42586         Remove weak_alias for corresponding scalbln function.
42587         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42588         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42589         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42590         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42591         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
42592         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
42593         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
42594         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
42595         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
42596         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
42597         Remove long_double_symbol for scalblnl function in libm, libc.
42598         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
42599         Add wrapper which checks for setting errno to ERANGE.
42600         Add long_double_symbol for scalblnl function in libm, libc.
42601         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
42602         Remove long_double_symbol for scalblnl in libm.
42603         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
42604         Add wrapper which checks for setting errno to ERANGE.
42605         Add long_double_symbol for scalblnl function in libm.
42606         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
42607         Do not use wrapper because of own implementation.
42609 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
42611         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
42612         3 bytes for __pad1 for x32.
42613         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
42615 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
42616             H.J. Lu  <hongjiu.lu@intel.com>
42618         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
42619         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
42620         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42621         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42622         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
42624 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
42626         [BZ #17069]
42627         * posix/regcomp.c (parse_expression): Deallocate partially
42628         constructed tree before returning error.
42629         * posix/Makefile.c (tests): Add bug-regex36.
42630         (generated): Add bug-regex36.mtrace.
42631         (tests-special): Add $(objpfx)bug-regex36-mem.out
42632         (bug-regex36-ENV): New variable.
42633         ($(objpfx)bug-regex36-mem.out): New rule.
42634         * posix/bug-regex36.c: New file.
42636 2014-06-19  Will Newton  <will.newton@linaro.org>
42638         * malloc/malloc.c (systrim): If extra is zero then return
42639         early.
42641 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42643         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
42645 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
42647         * sysdeps/aarch64/strchr.S: New file.
42649 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
42651         [BZ #17022]
42652         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
42653         from arguments -2 or below.
42654         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
42655         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
42657 2014-06-18  Andreas Schwab  <schwab@suse.de>
42659         [BZ #17062]
42660         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
42661         of a bracket expr not to run off the end of the string.
42662         * posix/Makefile (tests): Add tst-fnmatch3.
42663         * posix/tst-fnmatch3.c: New file.
42665 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
42667         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
42668         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
42669         [$(cross-compiling) = no]: Likewise.
42670         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
42671         [$(cross-compiling) = no]: Likewise.
42673 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42675         [BZ #17031]
42676         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
42677         double, adjusted for any remainder from the high double.
42678         * math/libm-test.inc (nearbyint): Add tests.
42679         (rint): Likewise.
42681 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42683         * nptl/sysdeps/powerpc/Makefile: Moved ...
42684         * sysdeps/powerpc/nptl/Makefile: ... here.
42685         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
42686         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
42687         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
42688         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
42689         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
42690         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
42691         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
42692         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
42693         * nptl/sysdeps/powerpc/tls.h: Moved ...
42694         * sysdeps/powerpc/nptl/tls.h: ... here.
42696 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
42698         [BZ #16681]
42699         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
42700         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
42701         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
42702         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
42703         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
42704         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
42705         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
42706         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
42707         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
42709 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
42711         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
42713 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
42715         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
42716         defined operator.
42718         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
42719         $TIMEOUTFACTOR.
42721 2014-06-16  Florian Weimer  <fweimer@redhat.com>
42723         [BZ #17058]
42724         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
42725         non-executed part of the test.
42727 2014-06-16  Andreas Schwab  <schwab@suse.de>
42729         * string/bits/string2.h (strdup, strndup): Update feature guard.
42731 2014-06-14  David S. Miller  <davem@davemloft.net>
42733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42735 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
42737         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
42738         that was previously under [RESET_PID].
42739         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
42741         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
42742         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
42743         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
42744         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42745         (__libc_vfork): New strong alias.
42746         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
42748 2014-06-14 Andi Kleen  <ak@linux.intel.com>
42750         * sysdeps/generic/elide.h: New file.
42752 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42754         * Makefile (installed-headers): Adjust path of pthread.h header.
42756 2014-06-13  Roland McGrath  <roland@hack.frob.com>
42758         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
42759         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
42760         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
42761         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
42763         * nptl/sysdeps/s390/Makefile: Moved ...
42764         * sysdeps/s390/nptl/Makefile: ... here.
42765         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
42766         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
42767         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
42768         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
42769         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
42770         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
42771         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
42772         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
42773         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
42774         * sysdeps/s390/nptl/pthreaddef.h: ... here.
42775         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
42776         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
42777         * nptl/sysdeps/s390/tls.h: Moved ...
42778         * sysdeps/s390/nptl/tls.h: ... here.
42780         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
42781         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
42783 2014-06-13  David S. Miller  <davem@davemloft.net>
42785         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
42786         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
42787         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
42788         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
42789         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
42790         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
42791         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
42792         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
42793         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
42794         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
42795         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
42796         Remove RESET_PID cpp guards.
42797         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
42798         Remove RESET_PID cpp guards.
42799         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
42801 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
42803         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
42804         __sp to uintptr_t.
42806 2014-06-13  Andi Kleen  <ak@linux.intel.com>
42808         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
42809         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
42810         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
42811         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
42812         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
42813         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
42814         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
42815         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
42816         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
42817         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
42818         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
42819         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
42820         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
42821         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
42822         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
42823         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
42824         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
42825         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
42826         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
42827         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
42829         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
42830         (pthread_rwlock_rdlock): Add elision.
42831         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
42832         (pthread_rwlock_wrlock): Add elision.
42833         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
42834         (pthread_rwlock_trywrlock): Add elision.
42835         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
42836         (pthread_rwlock_tryrdlock): Add elision.
42837         * nptl/pthread_rwlock_unlock.c: Include elide.h.
42838         (pthread_rwlock_tryrdlock): Add elision unlock.
42839         * nptl/sysdeps/pthread/pthread.h:
42840         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
42841         (PTHREAD_RWLOCK_INITIALIZER,
42842         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
42843         Handle new elision field.
42844         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
42845         * sysdeps/arm/nptl/bits/pthreadtypes.h
42846         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42847         * sysdeps/sh/nptl/bits/pthreadtypes.h
42848         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42849         * sysdeps/tile/nptl/bits/pthreadtypes.h
42850         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42851         * sysdeps/a/nptl/bits/pthreadtypes.h
42852         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42853         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
42854         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42855         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
42856         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42857         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
42858         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42859         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
42860         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42861         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
42862         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42863         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
42864         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42865         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
42866         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42867         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
42868         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42869         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
42870         (elision_init): Set try_xbegin to zero when no RTM.
42871         * sysdeps/x86/nptl/bits/pthreadtypes.h
42872         (pthread_rwlock_t): Change __pad1 to __rwelision.
42873         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42875 2014-06-13  Andi Kleen  <ak@linux.intel.com>
42877         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
42878         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
42879         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
42880         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
42882 2014-06-13  Meador Inge  <meadori@codesourcery.com>
42884         [BZ #16996]
42885         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
42886         that the cached result has been set before returning it.
42888 2014-06-12  Roland McGrath  <roland@hack.frob.com>
42890         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
42891         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
42892         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
42893         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
42894         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
42895         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
42897         * nptl/sysdeps/sparc/Makefile: Moved ...
42898         * sysdeps/sparc/nptl/Makefile: ... here.
42899         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
42900         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
42901         * nptl/sysdeps/sparc/tls.h: Moved ...
42902         * sysdeps/sparc/nptl/tls.h: ... here.
42903         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
42904         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
42905         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
42906         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
42907         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
42908         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
42909         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
42910         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
42911         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
42912         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
42913         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
42914         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
42915         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
42916         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
42917         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
42918         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
42919         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
42920         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
42921         Update #include.
42922         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
42923         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
42924         Update #include.
42925         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
42926         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
42927         Update #include.
42928         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
42929         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
42930         Update #include.
42932         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
42934         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
42935         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
42937         * sysdeps/pthread/posix-timer.h: Include <list.h>.
42938         (struct list_links): Type removed.
42939         (struct thread_node, struct timer_node): Replace struct list_links
42940         with struct list_head.
42941         (list_unlink_ip): Likewise.
42942         * sysdeps/pthread/timer_routines.c
42943         (timer_free_list, thread_free_list, thread_active_list): Likewise.
42944         (list_append, list_insbefore): Likewise.
42945         (list_init): Function removed.
42946         (thread_init, init_module): Use INIT_LIST_HEAD instead.
42947         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
42948         * sysdeps/pthread/Makefile: ... here, new file.
42950         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
42951         * sysdeps/nptl/Implies: ... here.
42952         * sysdeps/unix/sysv/linux/Implies: Add nptl.
42953         * nptl/sysdeps/pthread/list.h: Moved ...
42954         * include/list.h: ... here.
42955         * nptl/sysdeps/pthread/createthread.c: Moved ...
42956         * nptl/createthread.c: ... here.
42957         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
42958         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
42959         * nptl/pt-longjmp.c: ... here.
42960         * nptl/sysdeps/pthread/Makefile: Moved ...
42961         * sysdeps/nptl/Makefile: ... here.
42962         * nptl/sysdeps/pthread/Subdirs: Moved ...
42963         * sysdeps/nptl/Subdirs: ... here.
42964         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
42965         * sysdeps/nptl/aio_misc.h: ... here.
42966         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
42967         * sysdeps/nptl/bits/libc-lock.h: ... here.
42968         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
42969         * sysdeps/nptl/bits/libc-lockP.h: ... here.
42970         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
42971         * sysdeps/nptl/bits/stdio-lock.h: ... here.
42972         * nptl/sysdeps/pthread/configure: Moved ...
42973         * sysdeps/nptl/configure: ... here.
42974         * nptl/sysdeps/pthread/configure.ac: Moved ...
42975         * sysdeps/nptl/configure.ac: ... here.
42976         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
42977         * sysdeps/nptl/gai_misc.h: ... here.
42978         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
42979         * sysdeps/nptl/librt-cancellation.c: ... here.
42980         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
42981         * sysdeps/nptl/malloc-machine.h: ... here.
42982         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
42983         * sysdeps/nptl/pthread-functions.h: ... here.
42984         * nptl/sysdeps/pthread/pthread.h: Moved ...
42985         * sysdeps/nptl/pthread.h: ... here.
42986         * nptl/sysdeps/pthread/setxid.h: Moved ...
42987         * sysdeps/nptl/setxid.h: ... here.
42988         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
42989         * sysdeps/nptl/sigfillset.c: ... here.
42990         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
42991         * sysdeps/nptl/tcb-offsets.h: ... here.
42992         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
42993         * sysdeps/nptl/tst-mqueue8x.c: ... here.
42994         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
42995         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
42996         * nptl/sysdeps/pthread/allocalim.h: Moved ...
42997         * sysdeps/pthread/allocalim.h: ... here.
42998         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
42999         * sysdeps/pthread/bits/sigthread.h: ... here.
43000         * nptl/sysdeps/pthread/flockfile.c: Moved ...
43001         * sysdeps/pthread/flockfile.c: ... here.
43002         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
43003         * sysdeps/pthread/ftrylockfile.c: ... here.
43004         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
43005         * sysdeps/pthread/funlockfile.c: ... here.
43006         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
43007         * sysdeps/pthread/posix-timer.h: ... here.
43008         * nptl/sysdeps/pthread/timer_create.c: Moved ...
43009         * sysdeps/pthread/timer_create.c: ... here.
43010         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
43011         * sysdeps/pthread/timer_delete.c: ... here.
43012         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
43013         * sysdeps/pthread/timer_getoverr.c: ... here.
43014         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
43015         * sysdeps/pthread/timer_gettime.c: ... here.
43016         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
43017         * sysdeps/pthread/timer_routines.c: ... here.
43018         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
43019         * sysdeps/pthread/timer_settime.c: ... here.
43020         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
43021         * sysdeps/pthread/tst-timer.c: ... here.
43022         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
43023         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
43025         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
43026         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
43028         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
43029         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
43030         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
43031         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
43032         Update #include target.
43033         * nptl/sysdeps/i386/i686/Makefile: Moved ...
43034         * sysdeps/i386/i686/nptl/Makefile: ... here.
43035         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
43036         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
43037         Update #include target.
43038         * nptl/sysdeps/i386/i686/tls.h: Moved ...
43039         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
43040         * nptl/sysdeps/i386/Makefile: Moved ...
43041         * sysdeps/i386/nptl/Makefile: ... here.
43042         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
43043         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
43044         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
43045         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
43046         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
43047         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
43048         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
43049         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
43050         * sysdeps/i386/nptl/pthreaddef.h: ... here.
43051         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
43052         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
43053         * nptl/sysdeps/i386/tls.h: Moved ...
43054         * sysdeps/i386/nptl/tls.h: ... here.
43056         * sysdeps/sh/Makefile [$(subdir) = csu]
43057         (gen-as-const-headers): Add tcb-offsets.sym.
43058         * nptl/sysdeps/sh/Makefile: File removed.
43059         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
43060         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
43061         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
43062         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
43063         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
43064         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
43065         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
43066         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
43067         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
43068         * sysdeps/sh/nptl/pthreaddef.h: ... here.
43069         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
43070         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
43071         * nptl/sysdeps/sh/tls.h: Moved ...
43072         * sysdeps/sh/nptl/tls.h: ... here.
43073         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
43074         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
43075         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
43076         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
43077         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
43078         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
43079         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
43080         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
43081         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
43082         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
43083         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
43084         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
43085         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
43086         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
43087         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
43088         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
43089         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
43090         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
43091         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
43092         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
43093         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
43094         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
43095         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
43096         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
43097         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
43098         Moved ...
43099         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
43100         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
43101         Moved ...
43102         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
43103         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
43104         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
43105         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
43106         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
43107         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
43108         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
43109         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
43110         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
43111         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
43112         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
43113         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
43114         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
43115         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
43116         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
43117         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
43118         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
43119         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
43120         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
43122 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
43124         * posix/spawn_faction_addopen.c: Include string.h.
43126 2014-06-11  Roland McGrath  <roland@hack.frob.com>
43128         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
43129         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
43130         * nptl/sysdeps/x86_64/Makefile: Moved ...
43131         * sysdeps/x86_64/nptl/Makefile: ... here.
43132         * nptl/sysdeps/x86_64/configure: Moved ...
43133         * sysdeps/x86_64/nptl/configure: ... here.
43134         * nptl/sysdeps/x86_64/configure.ac: Moved ...
43135         * sysdeps/x86_64/nptl/configure.ac: ... here.
43136         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
43137         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
43138         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
43139         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
43140         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
43141         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
43142         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
43143         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
43144         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
43145         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
43146         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
43147         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
43148         * nptl/sysdeps/x86_64/tls.h: Moved ...
43149         * sysdeps/x86_64/nptl/tls.h: ... here.
43150         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
43151         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
43152         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
43153         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
43155         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
43157 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43161 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
43163         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
43164         type.
43165         [POSIX] (off_t): Likewise.
43166         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
43167         [POSIX] (S_ISBLK): Require macro.
43168         [POSIX] (S_ISCHR): Likewise.
43169         [POSIX] (S_ISDIR): Likewise.
43170         [POSIX] (S_ISFIFO): Likewise.
43171         [POSIX] (S_ISREG): Likewise.
43172         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
43173         optional-macro.
43174         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
43175         type.
43176         [POSIX] (time_t): Likewise.
43177         [POSIX] (timer_t): Likewise.
43179 2014-06-11  Florian Weimer  <fweimer@redhat.com>
43181         [BZ #17048]
43182         * posix/spawn_int.h (struct __spawn_action): Make the path string
43183         non-const to support deallocation.
43184         * posix/spawn_faction_addopen.c
43185         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
43186         * posix/spawn_faction_destroy.c
43187         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
43188         path in all spawn_do_open actions.
43189         * posix/tst-spawn.c (do_test): Exercise the copy operation in
43190         posix_spawn_file_actions_addopen.
43192 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
43194         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
43195         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
43196         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
43197         conditional code always true.
43198         (__libc_vfork): New alias.
43200 2014-06-11  Roland McGrath  <roland@hack.frob.com>
43202         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43203         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
43205         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
43207         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43208         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
43210         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
43211         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
43213         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43214         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
43216 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43218         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
43219         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
43220         multiarch strcmp for PPC64.
43221         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
43222         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
43223         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
43224         multiarch optimizations.
43225         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43226         (__libc_ifunc_impl_list): Likewise.
43228 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43230         * benchtests/scripts/validate_benchout.py: New script.
43231         * benchtests/Makefile (bench-func): Call it.
43232         * benchtests/scripts/benchout.schema.json: New file.
43234 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
43236         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
43237         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
43238         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
43239         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
43240         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
43241         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
43242         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
43243         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
43244         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
43245         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
43246         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
43247         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
43248         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
43249         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
43250         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
43251         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
43252         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
43253         Moved ...
43254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
43255         ... here.
43256         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
43257         Moved ...
43258         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
43259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
43260         Moved ...
43261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
43262         ... here.
43263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
43264         Moved ...
43265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
43266         ... here.
43267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
43268         Moved ...
43269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
43270         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
43271         Moved ...
43272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
43273         ... here.
43274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
43275         Moved ...
43276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
43277         ... here.
43278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
43279         Moved ...
43280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
43281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
43282         Moved ...
43283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
43284         ... here.
43285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
43286         Moved ...
43287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
43288         ... here.
43289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
43290         Moved ...
43291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
43292         ... here.
43293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
43294         Moved ...
43295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
43296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
43297         Moved ...
43298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
43299         ... here.
43300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
43301         Moved ...
43302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
43303         ... here.
43304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
43305         Moved ...
43306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
43307         ... here.
43308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
43309         Moved ...
43310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
43311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
43312         Moved ...
43313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
43314         ... here.
43315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
43316         Moved ...
43317         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
43318         ... here.
43319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
43320         Moved ...
43321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
43322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
43323         Moved ...
43324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
43325         ... here.
43326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
43327         Moved ...
43328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
43329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
43330         Moved ...
43331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
43332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
43333         Moved ...
43334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
43335         ... here.
43336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
43337         Moved ...
43338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
43339         ... here.
43340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
43341         Moved ...
43342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
43343         ... here.
43344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
43345         Moved ...
43346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
43347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
43348         Moved ...
43349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
43350         ... here.
43351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
43352         Moved ...
43353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
43354         ... here.
43355         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
43356         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
43357         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
43358         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
43359         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
43360         Moved ...
43361         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
43362         ... here.
43363         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
43364         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
43365         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
43366         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
43367         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
43368         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
43369         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
43370         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
43371         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
43372         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
43373         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
43374         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
43375         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
43376         Moved ...
43377         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
43378         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
43379         Moved ...
43380         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
43381         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
43382         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
43383         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
43384         Moved ...
43385         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
43386         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
43387         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
43388         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
43389         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
43390         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
43391         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
43393 2014-06-10  Wilco  <wdijkstr@arm.com>
43395         * math/test-fenv-return.c: New file.
43396         * math/Makefile: Add new test test-fenv-return.
43398 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
43400         [BZ #17042]
43401         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
43402         when x - 1 is zero.
43403         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
43404         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
43405         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
43406         0.0L for an argument of 1.0L.
43407         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
43408         Likewise.
43409         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
43410         value when x - 1 is zero.
43411         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
43412         * sysdeps/i386/fpu/libm-test-ulps: Update.
43413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43415 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
43417         [BZ #15119]
43418         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
43420 2014-06-09  Roland McGrath  <roland@hack.frob.com>
43422         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
43423         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
43425 2014-06-09  Roland McGrath  <roland@hack.frob.com>
43427         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43428         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
43430         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43431         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
43433         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43434         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
43436         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43437         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
43439         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
43440         if not already defined.
43441         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
43442         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
43443         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
43444         (TLS_INIT_TP): Use it.
43445         (TLS_DEFINE_INIT_TP): New macro.
43446         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
43448 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
43450         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
43451         constant.
43452         [POSIX] (IXANY): Likewise.
43453         [POSIX] (OLCUC): Likewise.
43454         [POSIX || POSIX2008] (CBAUD): Do not allow.
43455         [POSIX || POSIX2008] (DEFECHO): Likewise.
43456         [POSIX || POSIX2008] (ECHOCTL): Likewise.
43457         [POSIX || POSIX2008] (ECHOKE): Likewise.
43458         [POSIX || POSIX2008] (ECHOPRT): Likewise.
43459         [POSIX || POSIX2008] (EXTA): Likewise.
43460         [POSIX || POSIX2008] (EXTB): Likewise.
43461         [POSIX || POSIX2008] (FLUSHO): Likewise.
43462         [POSIX || POSIX2008] (LOBLK): Likewise.
43463         [POSIX || POSIX2008] (PENDIN): Likewise.
43464         [POSIX || POSIX2008] (SWTCH): Likewise.
43465         [POSIX || POSIX2008] (VDISCARD): Likewise.
43466         [POSIX || POSIX2008] (VDSUSP): Likewise.
43467         [POSIX || POSIX2008] (VLNEXT): Likewise.
43468         [POSIX || POSIX2008] (VREPRINT): Likewise.
43469         [POSIX || POSIX2008] (VSTATUS): Likewise.
43470         [POSIX || POSIX2008] (VWERASE): Likewise.
43471         (B*): Change to B[0123456789]*.
43472         * conform/data/time.h-data [POSIX || UNIX98]
43473         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
43474         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
43475         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
43476         [POSIX] (tm_*): Do not allow.
43478 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
43480         * Makefile (install): Don't set LANGUAGE.
43481         * Makefile.in (install): Likewise.
43482         * assert/Makefile (test-assert-ENV): Remove variable.
43483         (test-assert-perr-ENV): Likewise.
43484         * elf/Makefile (neededtest4-ENV): Likewise.
43485         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
43486         [$(cross-compiling) = no]: Don't set LANGUAGE.
43487         * io/ftwtest-sh (LANG): Remove variable.
43488         * libio/Makefile (tst-widetext-ENV): Likewise.
43489         * manual/install.texi (Running make install): Don't refer to
43490         environment settings for make install.
43491         * INSTALL: Regenerated.
43492         * nptl/tst-tls6.sh: Don't set LANG.
43493         * posix/globtest.sh (LANG): Remove variable.
43494         * string/Makefile (tester-ENV): Likewise.
43495         (inl-tester-ENV): Likewise.
43496         (noinl-tester-ENV): Likewise.
43497         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
43498         [$(cross-compiling) = no]: Don't set LANGUAGE.
43499         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
43500         without explicit environment settings.
43502 2014-06-06  Roland McGrath  <roland@hack.frob.com>
43504         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
43505         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
43506         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
43507         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
43509 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
43511         * crypt/crypt-private.h [DOS]: Add some includes taken from the
43512         other files in the crypt directory.
43513         * crypt/crypt.c: Remove duplicate includes.
43514         * crypt/crypt-entry.c: Likewise.
43515         * crypt/crypt_util.c: Likewise.
43517 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
43519         * Makeconfig (run-program-env): New variable.
43520         (run-program-prefix-before-env): Likewise.
43521         (run-program-prefix-after-env): Likewise.
43522         (run-program-prefix): Define in terms of new variables.
43523         (built-program-cmd-before-env): New variable.
43524         (built-program-cmd-after-env): Likewise.
43525         (built-program-cmd): Define in terms of new variables.
43526         (test-program-prefix-before-env): New variable.
43527         (test-program-prefix-after-env): Likewise.
43528         (test-program-prefix): Define in terms of new variables.
43529         (test-program-cmd-before-env): New variable.
43530         (test-program-cmd-after-env): Likewise.
43531         (test-program-cmd): Define in terms of new variables.
43532         * Rules (make-test-out): Use $(run-program-env).
43533         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
43534         (help): Do not mention environment variables.  Mention
43535         --timeoutfactor option.
43536         (timeoutfactor): New variable.
43537         (blacklist_exports): Remove function.
43538         (exports): Remove variable.
43539         (command): Do not include ${exports}.
43540         * manual/install.texi (Configuring and compiling): Do not mention
43541         test wrappers preserving environment variables.  Mention that last
43542         assignment to a variable must take precedence.
43543         * INSTALL: Regenerated.
43544         * benchtests/Makefile (run-bench): Use $(run-program-env).
43545         * catgets/Makefile ($(objpfx)test1.cat): Use
43546         $(built-program-cmd-before-env), $(run-program-env) and
43547         $(built-program-cmd-after-env).
43548         ($(objpfx)test2.cat): Do not specify environment variables
43549         explicitly.
43550         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
43551         $(run-program-env) and $(built-program-cmd-after-env).
43552         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
43553         $(run-program-env) and $(test-program-cmd-after-env).
43554         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
43555         explicitly.
43556         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
43557         run_program_env and test_program_cmd_after_env arguments.
43558         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
43559         * elf/tst-pathopt.sh: Use run_program_env argument.
43560         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
43561         $(test-wrapper-env) and $(run-program-env).
43562         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
43563         run_program_env arguments.
43564         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
43565         * intl/Makefile ($(objpfx)tst-gettext.out): Use
43566         $(test-program-prefix-before-env), $(run-program-env) and
43567         $(test-program-prefix-after-env).
43568         ($(objpfx)tst-gettext2.out): Likewise.
43569         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
43570         run_program_env and test_program_prefix_after_env arguments.
43571         * intl/tst-gettext2.sh: Likewise.
43572         * intl/tst-gettext4.sh: Do not set environment variables
43573         explicitly.
43574         * intl/tst-gettext6.sh: Likewise.
43575         * intl/tst-translit.sh: Likewise.
43576         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
43577         $(test-program-prefix-before-env), $(run-program-env) and
43578         $(test-program-prefix-after-env).
43579         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
43580         run_program_env and test_program_prefix_after_env arguments.
43581         * math/Makefile (run-regen-ulps): Use $(run-program-env).
43582         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
43583         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
43584         explicitly with each use of ${test_wrapper_env}.
43585         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
43586         $(test-program-prefix-before-env), $(run-program-env) and
43587         $(test-program-prefix-after-env).
43588         * posix/tst-getconf.sh: Do not set environment variables
43589         explicitly.
43590         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
43591         run_program_env and test_program_prefix_after_env arguments.
43592         * stdio-common/tst-printf.sh: Do not set environment variables
43593         explicitly.
43594         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
43595         $(test-program-prefix-before-env), $(run-program-env) and
43596         $(test-program-prefix-after-env).
43597         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
43598         run_program_env and test_program_prefix_after_env arguments.
43599         Split $test calls into $test_pre and $test.
43600         * timezone/Makefile (build-testdata): Use
43601         $(built-program-cmd-before-env), $(run-program-env) and
43602         $(built-program-cmd-after-env).
43604 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43606         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
43607         strlen for non SHARED builds.
43609 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43611         * nptl/allocatestack.c (check_list): Inlined function...
43612         (__reclaim_stacks): ... here.
43614 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
43616         [BZ #15698]
43617         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
43618         memory overrun.
43620 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
43622         * Rules (make-test-out): Include
43623         LOCPATH=$(common-objpfx)localedata in default environment.
43624         * debug/Makefile (tst-chk1-ENV): Remove variable.
43625         (tst-chk2-ENV): Likewise.
43626         (tst-chk3-ENV): Likewise.
43627         (tst-chk4-ENV): Likewise.
43628         (tst-chk5-ENV): Likewise.
43629         (tst-chk6-ENV): Likewise.
43630         (tst-lfschk1-ENV): Likewise.
43631         (tst-lfschk2-ENV): Likewise.
43632         (tst-lfschk3-ENV): Likewise.
43633         (tst-lfschk4-ENV): Likewise.
43634         (tst-lfschk5-ENV): Likewise.
43635         (tst-lfschk6-ENV): Likewise.
43636         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
43637         (tst-iconv7-ENV): Likewise.
43638         * intl/Makefile (LOCPATH-ENV): Likewise.
43639         (tst-codeset-ENV): Likewise.
43640         (tst-gettext3-ENV): Likewise.
43641         (tst-gettext5-ENV): Likewise.
43642         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
43643         (tst-fopenloc-ENV): Likewise.
43644         (tst-fgetws-ENV): Remove variable.
43645         (tst-ungetwc1-ENV): Likewise.
43646         (tst-ungetwc2-ENV): Likewise.
43647         (bug-ungetwc2-ENV): Likewise.
43648         (tst-swscanf-ENV): Likewise.
43649         (bug-ftell-ENV): Likewise.
43650         (tst-fgetwc-ENV): Likewise.
43651         (tst-fseek-ENV): Likewise.
43652         (tst-ftell-partial-wide-ENV): Likewise.
43653         (tst-ftell-active-handler-ENV): Likewise.
43654         (tst-ftell-append-ENV): Likewise.
43655         * posix/Makefile (tst-fnmatch-ENV): Likewise.
43656         (tst-regexloc-ENV): Likewise.
43657         (bug-regex1-ENV): Likewise.
43658         (tst-regex-ENV): Likewise.
43659         (tst-regex2-ENV): Likewise.
43660         (bug-regex5-ENV): Likewise.
43661         (bug-regex6-ENV): Likewise.
43662         (bug-regex17-ENV): Likewise.
43663         (bug-regex18-ENV): Likewise.
43664         (bug-regex19-ENV): Likewise.
43665         (bug-regex20-ENV): Likewise.
43666         (bug-regex22-ENV): Likewise.
43667         (bug-regex23-ENV): Likewise.
43668         (bug-regex25-ENV): Likewise.
43669         (bug-regex26-ENV): Likewise.
43670         (bug-regex30-ENV): Likewise.
43671         (bug-regex32-ENV): Likewise.
43672         (bug-regex33-ENV): Likewise.
43673         (bug-regex34-ENV): Likewise.
43674         (bug-regex35-ENV): Likewise.
43675         (tst-rxspencer-ENV): Likewise.
43676         (tst-rxspencer-no-utf8-ENV): Likewise.
43677         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
43678         (tst-sscanf-ENV): Likewise.
43679         (tst-swprintf-ENV): Likewise.
43680         (tst-swscanf-ENV): Likewise.
43681         (test-vfprintf-ENV): Likewise.
43682         (scanf13-ENV): Likewise.
43683         (bug14-ENV): Likewise.
43684         (tst-grouping-ENV): Likewise.
43685         * stdlib/Makefile (tst-strtod-ENV): Likewise.
43686         (tst-strtod3-ENV): Likewise.
43687         (tst-strtod4-ENV): Likewise.
43688         (tst-strtod5-ENV): Likewise.
43689         (testmb2-ENV): Likewise./
43690         * string/Makefile (tst-strxfrm-ENV): Likewise.
43691         (tst-strxfrm2-ENV): Likewise.
43692         (bug-strcoll1-ENV): Likewise.
43693         (test-strcasecmp-ENV): Likewise.
43694         (test-strncasecmp-ENV): Likewise.
43695         * time/Makefile (tst-strptime-ENV): Likewise.
43696         (tst-ftime_l-ENV): Likewise.
43697         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
43698         (tst-mbrtowc-ENV): Likewise.
43699         (tst-wcrtomb-ENV): Likewise.
43700         (tst-mbrtowc2-ENV): Likewise.
43701         (tst-c16c32-1-ENV): Likewise.
43702         (tst-mbsnrtowcs-ENV): Likewise.
43704 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
43706         * manual/resource.texi (How to get information about the memory
43707         subsystem?): Fix typo.
43708         Reported by Peon de la Parra Ivan <peon@keba.com>
43710 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
43712         [BZ #16882]
43713         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
43714         (pthread_spin_lock): Branch out of spin loop to proper location.
43715         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
43716         (pthread_spin_lock): Likewise.
43718         * nptl/tst-spin4.c: New test.
43719         * nptl/Makefile (tests): Add tst-spin4.
43721 2014-06-03  Andreas Schwab  <schwab@suse.de>
43723         [BZ #15946]
43724         * resolv/res_send.c (send_dg): Reload file descriptor after
43725         calling reopen.
43727 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
43729         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43731 2014-06-03  Richard Henderson  <rth@redhat.com>
43733         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
43734         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
43735         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
43736         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
43737         in the SAVE_PID block.
43738         (__libc_vfork): New alias.
43739         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
43741         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
43742         child in registers, not on the stack.  Remove RESET_PID conditionals.
43743         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
43745 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
43747         * sysdeps/aarch64/libm-test-ulps: Regenerate.
43749 2014-06-03  Wilco  <wdijkstr@arm.com>
43751         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
43752         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
43753         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
43754         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
43755         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
43756         Likewise.
43758 2014-06-03  Wilco  <wdijkstr@arm.com>
43760         * sysdeps/aarch64/fpu/math_private.h
43761         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
43762         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
43763         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
43764         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
43765         Fix declarations.
43767 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43769         * crypt/crypt-private.h: Include ufc-crypt.h.
43770         (__b64_from_24bit): Declare extern.
43771         * crypt/crypt_util.c(__b64_from_24bit): New function.
43772         (b64t): New static const variable.
43773         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
43774         (b64t): Remove variable.
43775         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
43776         * crypt/sha256-crypt.c: Include crypt-private.h.
43777         (b64t): Remove variable.
43778         (__sha256_crypt_r): Remove b64_from_24bit and replace
43779         with __b64_from_24bit.
43780         * crypt/sha512-crypt.c: Likewise.
43782 2014-06-02  Roland McGrath  <roland@hack.frob.com>
43784         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
43785         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
43786         Label the code __libc_vfork rather than __vfork.
43787         [!NOT_IN_libc] (vfork): Define as weak alias.
43788         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
43789         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
43790         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
43792 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43794         * malloc/malloc.c (malloc_info): Fix format specifier for
43795         n_mmaps.
43797 2014-06-02  Wilco  <wdijkstr@arm.com>
43799         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
43800         FPCR write.
43802 2014-06-02  Wilco  <wdijkstr@arm.com>
43804         [BZ #17009]
43805         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
43806         Rewrite to reduce FPCR/FPSR accesses.
43808 2014-06-01  David S. Miller  <davem@davemloft.net>
43810         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43812 2014-05-31  David S. Miller  <davem@davemloft.net>
43814         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
43815         to occur in round to nearest mode when |x| >= 2.0
43817 2014-05-30  Richard Henderson  <rth@twiddle.net>
43819         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
43820         (PSEUDO_RET_NOERRNO): Remove.
43821         (ret): Don't redefine.
43822         (ret_NOERRNO): Define in terms of ret.
43823         (ret_ERRVAL): Likewise.
43825         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
43826         use of PSEUDO_RET; perform the error check directly.
43828 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
43830         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
43831         with __int128_t.
43833 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43835         * malloc/malloc (malloc_info): Fix formatting.
43837 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43838             Roland McGrath  <roland@hack.frob.com>
43840         * malloc/malloc (malloc_info): Also print mmapped statistics.
43842 2014-05-30  Roland McGrath  <roland@hack.frob.com>
43844         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
43845         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
43847 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
43849         * malloc/malloc.c (malloc_info): Inline mi_arena.
43851 2014-05-29  Richard Henderson  <rth@twiddle.net>
43853         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
43854         Remove comma before expanding ASM_ARGS_##nr.
43855         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
43856         Make _x0 a strict output; make _x8 a strict input; adjust expansion
43857         of ASM_ARGS_##nr.
43858         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
43859         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
43860         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
43861         (ASM_ARGS_1): Add leading comma.
43863         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
43864         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
43865         to __errno_location.
43866         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
43867         Remove the expected plt for __errno_location.
43869         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43870         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
43871         call to __read_tp.
43873         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43874         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
43875         it and break it down.
43876         (DOCARGS_0, DOCARGS_1): Do nothing.
43877         (DOCARGS_2): Update to store into the new stack frame.
43878         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
43879         (UNDOCARGS_1): Update to restore from the new stack frame.
43880         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
43881         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
43883         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43884         (SINGLE_THREAD_P): New parameter for result regno.
43885         (PSEUDO): Update to match; use cbz instead of beq.
43887         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43888         Use ENTRY to define the _nocancel entry point.  Share the syscall
43889         and syscall error check paths with the cancel path.
43890         (PSEUDO_END): New.
43892         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
43893         whitespace; tabs before and after asm mnemonics.
43895 2014-05-29  Eric Wong  <normalperson@yhbt.net>
43897         [BZ #15132]
43898         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43899         Call fstat64 or stat64 internally, depending on arguments passed.
43900         Replace stat buffer argument with file descriptor argument.
43901         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
43902         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
43903         Pass fd to __internal_statvfs instead of calling fstat64.
43904         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
43905         Pass fd to __internal_statvfs64 instead of calling fstat64.
43906         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
43907         Pass -1 to __internal_statvfs instead of calling stat64.
43908         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
43909         Pass -1 to __internal_statvfs64 instead of calling stat64.
43911 2014-05-28  Roland McGrath  <roland@hack.frob.com>
43913         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
43914         that was previously under [RESET_PID].
43915         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
43917         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
43918         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
43920 2014-05-27  Roland McGrath  <roland@hack.frob.com>
43922         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
43924         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
43925         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
43927 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
43929         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
43931 2014-05-27  Andreas Schwab  <schwab@suse.de>
43933         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
43934         TLS_INIT_TP macro.
43935         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
43936         * elf/rtld.c (init_tls, dl_main): Likewise.
43937         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
43938         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
43939         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
43940         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
43941         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
43942         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
43943         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
43944         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
43945         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
43946         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
43947         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
43948         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
43949         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
43950         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
43951         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
43952         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
43953         * sysdeps/generic/tls.h: Update description.
43955 2014-05-27  Will Newton  <will.newton@linaro.org>
43957         [BZ #16990]
43958         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
43959         and restore r2 rather than just restoring.
43961 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43963         [BZ #16724]
43964         * libio/tst-ftell-append.c: New test case.
43965         * libio/Makefile (tests): Add test case.
43966         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
43967         append mode.
43968         * libio/wfileops.c (do_ftell_wide): Likewise.
43970 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43974         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
43975         ...
43976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
43977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
43978         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
43979         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
43980         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
43981         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
43982         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
43983         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
43984         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
43985         Moved ...
43986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
43987         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
43988         Moved ...
43989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
43990         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
43991         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
43992         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
43993         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
43994         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
43995         ...
43996         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
43997         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
43998         Moved ...
43999         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
44000         here.
44001         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
44002         ...
44003         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
44004         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
44005         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
44007         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
44008         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
44009         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
44010         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
44012         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
44013         merge into ...
44014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
44015         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
44016         ...
44017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
44018         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
44019         ...
44020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
44021         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
44022         Moved ...
44023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
44024         here.
44025         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
44026         Moved ...
44027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
44028         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
44029         Moved ...
44030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
44032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
44033         conditional [RESET_PID].
44034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
44035         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
44036         removed.
44037         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
44038         removed.
44040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
44041         <tcb-offsets.h>.
44042         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44043         (__libc_vfork): New strong alias.
44044         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
44045         removed.
44046         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
44047         Removed.
44049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
44050         <tcb-offsets.h>.
44051         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
44052         (__libc_vfork): New strong alias.
44053         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
44054         removed.
44055         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
44056         removed.
44058 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
44060         * malloc/malloc.c (mi_arena): New function.
44061         (malloc_info): Remove nested function mi_arena. Call non-nosted
44062         function mi_arena.
44064 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44066         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
44067         by insrwi.
44068         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
44069         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
44070         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
44071         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
44072         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
44073         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
44074         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
44076 2014-05-26  Andreas Schwab  <schwab@suse.de>
44078         [BZ #16984]
44079         * locale/programs/repertoire.c (repertoire_read): Add slash
44080         between I18NPATH element and file name.
44081         * locale/programs/locfile.c (locfile_read): Likewise.
44083 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
44085         * nptl/pthread_mutexattr_settype.c
44086         (__pthread_mutexattr_settype):
44087         Disable lock elision for PTHREAD_MUTEX_NORMAL.
44089 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
44091         * nptl/tst-mutex5 (do_test):
44092         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
44094 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44096         * benchtests/README: Document 'init' directive.
44097         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
44098         BENCH_INIT.
44099         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
44100         (parse_file): Recognize 'init' directive.
44102 2014-05-26  Kyle McMartin  <kyle@redhat.com>
44104         [BZ #16796]
44105         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
44106         alignment of struct pthread.
44108 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44110         [BZ #16878]
44111         * nscd/netgroupcache.c (addgetnetgrentX): Look for
44112         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
44113         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
44114         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
44116 2014-05-25  Richard Henderson  <rth@twiddle.net>
44118         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44119         (SINGLE_THREAD_P_PIC): Remove.
44120         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
44121         (SINGLE_THREAD_P_PIC): Remove.
44123         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
44124         branch to syscall error ...
44125         (PSEUDO): ... here.
44126         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
44127         from __local_syscall_error to .Lsyscall_error.
44128         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
44129         (SYSCALL_ERROR): Update label name.
44131         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44132         Do not use DOARGS/UNDOARGS.
44133         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
44134         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
44135         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
44136         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
44137         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
44139         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
44140         block comment.
44142         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
44143         define if !NOT_IN_libc.
44144         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
44145         define with non-default symbol versions.
44147 2014-05-23  Richard Henderson  <rth@twiddle.net>
44149         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
44150         (vfork, __vfork): Define via compat_symbol.
44152         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
44153         [!HAVE_IFUNC] (vfork_compat): Remove.
44154         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
44156 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
44158         [BZ #16978]
44159         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
44160         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
44161         variable.
44163 2014-05-23  Richard Henderson  <rth@twiddle.net>
44165         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
44166         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
44167         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
44168         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
44170         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
44171         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
44172         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
44173         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
44174         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
44175         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
44176         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
44177         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
44178         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
44179         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
44180         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
44181         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
44182         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
44183         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
44184         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
44185         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
44186         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
44187         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
44188         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
44189         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
44190         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
44191         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
44192         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
44193         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
44194         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
44195         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
44196         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
44197         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
44198         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
44199         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
44200         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
44201         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
44202         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
44203         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
44204         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
44205         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
44206         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
44207         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
44208         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
44209         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
44210         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
44211         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
44212         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
44213         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
44214         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
44215         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
44216         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
44217         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
44218         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
44219         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
44220         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
44221         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
44222         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
44223         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
44224         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
44225         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
44227         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
44228         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
44229         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
44230         before exiting on error.
44231         (__libc_vfork): New strong alias.
44232         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
44233         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
44235         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
44236         that was previously under [RESET_PID].
44237         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
44239         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
44241 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
44243         [BZ #16977]
44244         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
44245         value when x - 1 is zero.
44246         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
44247         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
44248         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
44249         0.0L for an argument of 1.0L.
44250         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
44251         Likewise.
44252         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
44253         value when x - 1 is zero.
44254         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
44255         * sysdeps/i386/fpu/libm-test-ulps: Update.
44256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44258 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
44260         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
44261         alphasort and versionsort.
44263 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44265         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
44266         macro.
44267         [copysignf]: Likewise.
44269 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44271         * crypt/md5-crypt.c: Fix formatting.
44273 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44275         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
44276         (b64_from_24bit): New function.
44278 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44280         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
44281         libc_hidden_builtin_def to ifunc.
44282         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
44283         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
44285 2014-05-21  Roland McGrath  <roland@hack.frob.com>
44287         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
44288         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
44290 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
44292         * nscd/Depend (linuxthreads): Remove.
44293         (nptl): Add.
44294         * resolv/Depend (linuxthreads): Remove.
44295         * rt/Depend (linuxthreads): Remove.
44297         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
44298         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
44299         $(common-objpfx)elf/.
44300         (link-libc-before-gnulib): Likewise.
44301         (elfobjdir): Remove variable.
44302         * Makefile (install): Use $(elf-objpfx) instead of
44303         $(common-objpfx)elf/.
44304         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
44305         $(elfobjdir)/.
44306         (link-libc-deps): Likewise.
44307         ($(common-objpfx)libc.so): Likewise.
44308         ($(common-objpfx)linkobj/libc.so): Likewise.
44309         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
44310         instead of $(common-objpfx)elf/.
44311         (symbolic-link-list): Likewise.
44312         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44313         [$(cross-compiling) = no]: Likewise.
44314         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
44315         $(elfobjdir)/.
44316         (static-gnulib-arch): Likewise.
44317         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44318         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
44319         $(common-objpfx)elf/.
44321 2014-05-21  Richard Henderson  <rth@redhat.com>
44323         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44324         (SINGLE_THREAD_P): Use the correct width load.  Fold
44325         into the ldr offset.
44327         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
44328         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
44330 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
44332         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
44333         (libgcc_s_resume): Use __attribute_used__.
44334         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
44335         Likewise.
44337 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44339         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
44340         optimization when used with float constants.
44342         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44344 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
44346         [BZ #16915]
44347         * locale/nl_langinfo_l.c: Make direct reference to every
44348         _nl_current_CATEGORY symbol.
44349         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
44350         (tests-static): Add tst-langinfo-static.
44351         (tests-special): Add tst-langinfo-static.out.
44352         ($(objpfx)tst-langinfo.out): Redirect output.
44353         ($(objpfx)tst-langinfo-static.out): New.
44354         * localedata/tst-langinfo.sh: Send output to stdout.
44355         * localedata/tst-langinfo-static.c: New file.
44357         [BZ #16965]
44358         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
44359         when the shift amount is modulo the limb size.
44361 2014-05-20  Richard Henderson  <rth@redhat.com>
44363         [BZ #16967]
44364         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
44365         Change type of sa_flags from unsigned int to int.
44367         [BZ #16966]
44368         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
44370         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
44372 2014-05-20  Will Newton  <will.newton@linaro.org>
44374         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44375         Test the return value of the system call in the nocancel case.
44377 2014-05-20  Will Newton  <will.newton@linaro.org>
44378             Yvan Roux  <yvan.roux@linaro.org>
44380         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
44381         #include of asm/ptrace.h.
44382         (PTRACE_GET_THREAD_AREA): Remove #undef.
44383         (PTRACE_GETHBPREGS): Likewise.
44384         (PTRACE_SETHBPREGS): Likewise.
44385         (struct user_regs_struct): New structure.
44386         (struct user_fpsimd_struct): New structure.
44387         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
44388         #include of asm/ptrace.h and second #include of sys/user.h.
44389         (PTRACE_GET_THREAD_AREA): Remove #undef.
44390         (PTRACE_GETHBPREGS): Likewise.
44391         (PTRACE_SETHBPREGS): Likewise.
44392         (ELF_NGREG): Use new struct user_regs_struct.
44393         (elf_fpregset_t): Use new struct user_fpsimd_struct.
44395 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44397         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
44398         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
44400 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
44402         [BZ #16958]
44403         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
44404         membar to avoid block loads/stores to overlap previous stores.
44406 2014-05-17  Richard Henderson  <rth@redhat.com>
44408         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
44409         Create the __##syscall_name##_nocancel entry point.
44410         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
44411         Remove; let the sysdep-cancel.h code create it.
44413 2014-05-17  David S. Miller  <davem@davemloft.net>
44415         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
44416         Protect with __USE_GNU.
44417         (TIOCSET_TEMPT): Likewise.
44418         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
44419         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
44420         these are already provided in bits/ioctl-types.h
44422 2014-05-16  Roland McGrath  <roland@hack.frob.com>
44424         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
44425         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
44427         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
44428         Use wait4 regardless of [__NR_waitpid].
44430 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
44432         PR libgcc/60166
44433         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
44434         (_FP_NANSIGN_Q): Set the quiet bit.
44436 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
44438         * benchtests/Makefile
44439         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
44440         not $(common-objpfx)math/libm.so.
44441         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
44442         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
44443         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
44444         $(common-objpfx)dlfcn/libdl.so.
44445         ($(objpfx)tst-audit8): Depend on $(libm), not
44446         $(common-objpfx)math/libm.so.
44447         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
44448         not $(common-objpfx)dlfcn/libdl.so.
44449         * math/Makefile
44450         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
44451         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
44452         [$(build-shared) = yes].
44453         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
44454         $(common-objpfx)nptl/libpthread.so.
44455         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
44456         $(common-objpfx)math/libm.so$(libm.so-version) or
44457         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
44458         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
44459         $(common-objpfx)dlfcn/libdl.so.
44460         * setjmp/Makefile (link-libm): Remove variable.
44461         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
44462         * stdio-common/Makefile (link-libm): Remove variable.
44463         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
44464         * stdlib/Makefile (link-libm): Remove variable.
44465         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
44466         ($(objpfx)tst-strtod-round): Likewise.
44467         ($(objpfx)tst-tininess): Likewise.
44468         ($(objpfx)tst-strtod-underflow): Likewise.
44469         ($(objpfx)tst-strtod6): Likewise.
44470         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
44471         $(libdl), not $(common-objpfx)nptl/libpthread.so and
44472         $(common-objpfx)dlfcn/libdl.so.
44474 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44476         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
44477         BSD terminal modes definitions.
44479 2014-05-16  Roland McGrath  <roland@hack.frob.com>
44481         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
44482         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
44484         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
44485         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
44486         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
44487         Don't do #include_next.
44488         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
44489         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
44490         Don't do #include_next.
44491         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
44492         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
44493         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
44494         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
44496 2014-05-16  Allan McRae  <allan@archlinux.org>
44498         * po/sv.po: Update Swedish translation from translation project.
44500         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
44501         in sed expression.
44503 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
44505         [BZ #16917]
44506         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
44507         errno if the TIOCGPTN ioctl fails with an error different than
44508         EINVAL.
44509         * login/tst-ptsname.c: New file.
44510         * login/Makefile (tests): Add tst-ptsname.
44512         [BZ #16943]
44513         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
44514         and prlimit64.
44516 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44518         [BZ #16849]
44519         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
44520         herrno to return EAI_AGAIN.
44522 2014-05-14  Roland McGrath  <roland@hack.frob.com>
44524         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
44525         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
44526         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
44527         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
44528         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
44529         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
44530         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
44531         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
44532         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
44533         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
44534         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
44535         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
44536         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
44537         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
44538         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
44539         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
44540         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
44541         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
44542         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
44543         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
44544         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
44545         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
44546         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
44547         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
44548         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
44549         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
44550         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
44551         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
44552         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
44553         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
44554         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
44555         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
44556         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
44557         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
44558         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44559         Moved ...
44560         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
44561         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
44562         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
44563         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
44564         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
44565         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
44566         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
44567         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
44568         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
44569         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
44570         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
44571         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
44572         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
44573         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
44574         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
44575         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
44576         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
44577         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
44578         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
44579         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
44580         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
44581         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
44582         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
44583         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
44584         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
44585         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
44586         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
44587         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
44588         Moved ...
44589         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
44590         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
44591         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
44592         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
44593         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
44594         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
44595         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
44596         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
44597         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
44598         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
44599         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
44600         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
44601         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
44602         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
44603         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
44604         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
44605         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
44606         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
44607         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
44608         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
44609         Moved ...
44610         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
44611         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
44612         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
44614         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
44615         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
44616         (libpthread-sysdep_routines): Add elision-related stuff here instead.
44617         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
44618         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
44619         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
44620         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
44621         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
44622         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
44623         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
44624         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
44625         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
44626         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
44627         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
44628         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
44629         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
44630         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
44631         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
44632         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
44633         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
44634         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
44635         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
44636         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
44637         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
44638         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
44639         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
44640         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
44641         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
44642         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
44643         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
44644         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
44646         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
44647         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
44649         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
44650         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
44651         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
44652         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
44653         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
44654         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
44655         Moved ...
44656         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
44657         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
44658         Moved ...
44659         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
44660         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
44661         Moved ...
44662         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
44663         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
44664         Moved ...
44665         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
44666         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
44667         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
44668         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
44669         Moved ...
44670         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
44671         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
44672         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
44673         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
44674         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
44675         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
44676         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
44677         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
44678         Moved ...
44679         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
44680         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
44681         Moved ...
44682         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
44683         ... here.
44684         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
44685         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
44686         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
44687         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
44688         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
44689         Moved ...
44690         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
44691         ... here.
44692         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
44693         Moved ...
44694         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
44695         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
44696         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
44697         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
44698         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
44699         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
44700         Moved ...
44701         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
44702         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
44703         Moved ...
44704         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
44705         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
44706         Moved ...
44707         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
44708         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
44709         Moved ...
44710         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
44711         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
44712         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
44713         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
44714         Moved ...
44715         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
44716         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
44717         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
44718         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
44719         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
44720         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
44721         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
44722         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
44723         Moved ...
44724         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
44725         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
44726         Moved ...
44727         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
44728         ... here.
44729         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
44730         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
44731         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
44732         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
44733         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
44734         Moved ...
44735         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
44736         ... here.
44737         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
44738         Moved ...
44739         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
44740         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
44741         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
44742         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
44743         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
44744         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
44745         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
44746         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
44747         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
44748         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
44749         Moved ...
44750         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
44751         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
44752         Moved ...
44753         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
44754         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
44755         Moved ...
44756         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
44757         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
44758         Moved ...
44759         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
44760         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
44761         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
44762         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
44763         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
44764         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
44765         Moved ...
44766         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
44767         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
44768         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
44769         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
44770         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
44771         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
44772         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
44773         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
44774         Moved ...
44775         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
44776         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
44777         Moved ...
44778         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
44779         ... here.
44780         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
44781         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
44782         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
44783         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
44784         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
44785         Moved ...
44786         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
44787         ... here.
44788         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
44789         Moved ...
44790         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
44791         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
44792         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
44793         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
44794         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
44795         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
44796         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
44797         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
44798         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
44799         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
44800         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
44802         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
44803         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
44805         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
44806         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
44808         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
44809         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
44810         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
44811         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
44812         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
44813         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
44814         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
44815         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
44816         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
44817         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
44818         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
44819         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
44820         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
44821         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
44822         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
44823         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
44824         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
44825         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
44826         Moved ...
44827         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
44828         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
44829         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
44830         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
44831         Moved ...
44832         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
44833         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
44834         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
44835         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
44836         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
44837         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
44838         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
44839         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
44840         Moved ...
44841         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
44842         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
44843         Moved ...
44844         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
44845         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
44846         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
44847         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
44848         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
44849         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
44850         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
44851         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
44852         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
44853         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
44854         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
44855         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
44856         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
44857         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
44858         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
44859         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
44860         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
44862         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
44863         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
44864         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
44865         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
44866         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
44868         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
44869         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
44870         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
44871         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
44872         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
44873         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
44874         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
44875         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
44876         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
44877         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
44879         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
44880         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
44882         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
44883         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
44884         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
44885         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
44886         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
44887         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
44888         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
44889         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
44890         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
44891         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
44892         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
44893         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
44894         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
44895         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
44896         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
44897         Update #include.
44898         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
44899         Likewise.
44900         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
44901         Likewise.
44902         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
44903         Likewise.
44904         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
44905         Likewise.
44906         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
44907         Likewise.
44908         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
44909         Likewise.
44910         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
44911         Likewise.
44912         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
44913         Likewise.
44914         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
44915         Likewise.
44916         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
44917         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
44918         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
44919         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
44920         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
44921         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
44922         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
44923         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
44924         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
44925         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
44926         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
44927         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
44928         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
44929         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
44930         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
44932         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
44933         that was previously under [RESET_PID].
44934         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44935         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
44936         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
44938         * sysdeps/i386/nptl/Implies: New file.
44939         * sysdeps/x86_64/nptl/Implies: New file.
44940         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
44941         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
44942         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
44943         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
44945         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
44946         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44947         (__libc_vfork): New strong alias.
44948         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
44949         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
44951         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
44952         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44953         (__libc_vfork): New strong alias.
44954         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
44955         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
44957         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
44958         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44959         (__libc_vfork): New strong alias.
44960         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
44961         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
44962         * nptl/pt-vfork.c: New file.
44963         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
44964         (libpthread: GLIBC_2.20): New version set (empty).
44966 2014-05-14  Will Newton  <will.newton@linaro.org>
44968         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
44969         rather than #if.
44971 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
44973         [BZ #16564]
44974         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
44975         arguments with exponent 65 or above.
44976         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
44977         arguments 0x1p113L or above.
44978         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
44979         to arguments 0x1p107L or above.
44980         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
44981         positive arguments with exponent 65 or above.
44982         * math/auto-libm-test-in: Add more tests of log1p.
44983         * math/auto-libm-test-out: Regenerated.
44985         [BZ #16928]
44986         * math/s_cacos.c (__cacos): Ensure zero real part of result from
44987         non-finite arguments is +0.
44988         * math/s_cacosf.c (__cacosf): Likewise.
44989         * math/s_cacosl.c (__cacosl): Likewise.
44990         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
44991         * sysdeps/i386/fpu/libm-test-ulps: Update.
44992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44994         [BZ #16927]
44995         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
44996         value.
44997         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
44998         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
44999         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
45000         for explicit high bit of mantissa when testing for argument equal
45001         to 1.
45002         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
45003         * sysdeps/i386/fpu/libm-test-ulps: Update.
45004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45006         [BZ #16516]
45007         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
45008         (__erf): Scale by 16 instead of 8 in potentially underflowing
45009         case.  Ensure exception if result actually underflows.
45010         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
45011         (__erff): Scale by 16 instead of 8 in potentially underflowing
45012         case.  Ensure exception if result actually underflows.
45013         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
45014         (efx8): Remove variable.
45015         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45016         case.  Ensure exception if result actually underflows.
45017         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
45018         (efx8): Remove variable.
45019         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45020         case.  Ensure exception if result actually underflows.
45021         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
45022         (efx8): Remove variable.
45023         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45024         case.  Ensure exception if result actually underflows.
45025         * math/auto-libm-test-in: Add more tests of erf.
45026         * math/auto-libm-test-out: Regenerated.
45028 2014-05-14  Andreas Schwab  <schwab@suse.de>
45030         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
45031         Remove code conditionalized on USE___THREAD.
45033         * config.h.in (HAVE_PT_CHOWN): Define as 0.
45034         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
45035         not definedness.
45037 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
45039         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
45040         Define unconditionally.
45041         (__ASSUME_O_CLOEXEC): Likewise.
45042         (__ASSUME_SOCK_CLOEXEC): Likewise.
45043         (__ASSUME_IN_NONBLOCK): Likewise.
45044         (__ASSUME_PIPE2): Likewise.
45045         (__ASSUME_EVENTFD2): Likewise.
45046         (__ASSUME_SIGNALFD4): Likewise.
45047         (__ASSUME_DUP3): Likewise.
45048         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45049         (__ASSUME_DUP3): Do not define.
45050         (__ASSUME_EVENTFD2): Likewise.
45051         (__ASSUME_IN_NONBLOCK): Likewise.
45052         (__ASSUME_O_CLOEXEC): Likewise.
45053         (__ASSUME_PIPE2): Likewise.
45054         (__ASSUME_SIGNALFD4): Likewise.
45055         (__ASSUME_SOCK_CLOEXEC): Likewise.
45056         (__ASSUME_UTIMES): Undefine.
45057         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45058         (__ASSUME_UTIMES): Do not define.
45059         (__ASSUME_O_CLOEXEC): Likewise.
45060         (__ASSUME_SOCK_CLOEXEC): Likewise.
45061         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
45062         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
45063         0x020621].
45064         (__ASSUME_PIPE2): Likewise.
45065         (__ASSUME_EVENTFD2): Likewise.
45066         (__ASSUME_SIGNALFD4): Likewise.
45067         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
45068         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
45069         Do not define.
45070         (__ASSUME_EVENTFD2): Likewise.
45071         (__ASSUME_SIGNALFD4): Likewise.
45072         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
45073         (__ASSUME_32BITUIDS): Likewise.
45074         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45075         (__ASSUME_IPC64): Likewise.
45076         (__ASSUME_ST_INO_64_BIT): Likewise.
45077         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
45078         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
45079         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45080         (__ASSUME_UTIMES): Do not define.
45081         (__ASSUME_PSELECT): Likewise.
45082         (__ASSUME_PPOLL): Likewise.
45083         (__ASSUME_O_CLOEXEC): Likewise.
45084         (__ASSUME_SOCK_CLOEXEC): Likewise.
45085         (__ASSUME_IN_NONBLOCK): Likewise.
45086         (__ASSUME_PIPE2): Likewise.
45087         (__ASSUME_EVENTFD2): Likewise.
45088         (__ASSUME_SIGNALFD4): Likewise.
45089         (__ASSUME_DUP3): Likewise.
45090         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45091         (__ASSUME_UTIMES): Likewise.
45092         (__ASSUME_O_CLOEXEC): Likewise.
45093         (__ASSUME_SOCK_CLOEXEC): Likewise.
45094         (__ASSUME_IN_NONBLOCK): Likewise.
45095         (__ASSUME_PIPE2): Likewise.
45096         (__ASSUME_EVENTFD2): Likewise.
45097         (__ASSUME_SIGNALFD4): Likewise.
45098         (__ASSUME_DUP3): Likewise.
45099         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45100         (__ASSUME_UTIMES): Likewise.
45101         (__ASSUME_O_CLOEXEC): Likewise.
45102         (__ASSUME_SOCK_CLOEXEC): Likewise.
45103         (__ASSUME_IN_NONBLOCK): Likewise.
45104         (__ASSUME_PIPE2): Likewise.
45105         (__ASSUME_EVENTFD2): Likewise.
45106         (__ASSUME_SIGNALFD4): Likewise.
45107         (__ASSUME_DUP3): Likewise.
45108         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
45109         Likewise.
45110         (__ASSUME_UTIMES): Likewise.
45111         (__ASSUME_EVENTFD2): Likewise.
45112         (__ASSUME_SIGNALFD4): Likewise.
45113         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45114         (__ASSUME_O_CLOEXEC): Likewise.
45115         (__ASSUME_SOCK_CLOEXEC): Likewise.
45116         (__ASSUME_IN_NONBLOCK): Likewise.
45117         (__ASSUME_PIPE2): Likewise.
45118         (__ASSUME_EVENTFD2): Likewise.
45119         (__ASSUME_SIGNALFD4): Likewise.
45120         (__ASSUME_DUP3): Likewise.
45121         (__ASSUME_UTIMES): Undefine.
45123         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
45124         feclearexcept.  Remove symbol versioning code.
45125         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
45126         symbol versioning code.
45127         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
45128         symbol versioning code.
45129         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
45130         feupdateenv.  Remove symbol versioning code.
45131         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
45132         fegetexceptflag.  Remove symbol versioning code.
45133         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
45134         fesetexceptflag.  Remove symbol versioning code.
45135         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
45136         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
45137         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
45138         (__posix_fadvise64_l32): Remove prototype.
45139         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
45140         code.
45142 2014-05-13  Roland McGrath  <roland@hack.frob.com>
45144         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
45145         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
45146         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
45147         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
45149 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
45151         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
45152         current working directory
45154 2014-05-13  Roland McGrath  <roland@hack.frob.com>
45156         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
45157         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
45158         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
45159         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
45160         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
45161         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
45162         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
45163         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
45164         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
45165         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
45166         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
45167         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
45168         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
45169         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
45170         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
45171         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
45172         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
45173         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
45174         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
45175         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
45176         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
45177         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
45178         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
45179         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
45180         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
45181         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
45182         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
45183         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
45184         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
45185         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
45186         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
45187         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
45188         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
45189         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
45190         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
45191         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
45192         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
45193         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
45194         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
45195         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
45196         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
45197         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
45199         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
45200         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
45202         * sysdeps/unix/sysv/linux/arm/Makefile
45203         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
45204         Add rt-aeabi_unwind_cpp_pr1.
45205         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
45206         Add nptl-aeabi_unwind_cpp_pr1.
45207         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
45208         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
45209         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
45210         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
45211         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
45212         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
45214         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
45215         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
45216         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
45217         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
45219         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
45220         Deconditionalize the code that was previously under [RESET_PID].
45221         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
45223         * sysdeps/generic/exit-thread.h: New file.
45224         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
45225         * include/unistd.h (__exit_thread): Remove declaration.
45226         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
45227         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
45228         * csu/libc-start.c: Include <exit-thread.h>.
45229         (LIBC_START_MAIN): Pass no argument to __exit_thread.
45230         * nptl/pthread_create.c: Include <exit-thread.h>.
45231         (start_thread): Call __exit_thread in place of __exit_thread_inline.
45232         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
45233         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
45234         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
45235         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
45236         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
45237         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
45238         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
45239         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
45240         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
45241         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
45242         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
45243         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
45244         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
45245         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
45246         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
45247         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
45249 2014-05-13  Andreas Schwab  <schwab@suse.de>
45251         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
45253 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
45255         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
45256         (__ASSUME_UTIMES): Do not condition on kernel version.
45257         (__ASSUME_PSELECT): Define unconditionally.
45258         (__ASSUME_PPOLL): Likewise.
45259         (__ASSUME_ATFCTS): Likewise.
45260         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
45261         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
45262         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
45263         (__ASSUME_UTIMENSAT): Define unconditionally.
45264         (__ASSUME_PRIVATE_FUTEX): Likewise.
45265         (__ASSUME_FALLOCATE): Likewise.
45266         (__ASSUME_O_CLOEXEC): Likewise.
45267         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
45268         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
45269         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
45270         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
45271         (__ASSUME_IN_NONBLOCK): Likewise.
45272         (__ASSUME_PIPE2): Likewise.
45273         (__ASSUME_EVENTFD2): Likewise.
45274         (__ASSUME_SIGNALFD4): Likewise.
45275         (__ASSUME_DUP3): Likewise.
45276         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45277         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
45278         (__ASSUME_AT_RANDOM): Likewise.
45279         (__ASSUME_PREADV): Likewise.
45280         (__ASSUME_PWRITEV): Likewise.
45281         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
45282         (__ASSUME_F_GETOWN_EX): Define unconditionally.
45283         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
45284         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
45285         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
45286         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45287         (__ASSUME_O_CLOEXEC): Define unconditionally.
45288         (__ASSUME_PSELECT): Do not undefine conditionally.
45289         (__ASSUME_PPOLL): Likewise.
45290         (__ASSUME_ATFCTS): Likewise.
45291         (__ASSUME_SET_ROBUST_LIST): Likewise.
45292         (__ASSUME_UTIMENSAT): Likewise.
45293         (__ASSUME_FDATASYNC): Define unconditionally.
45294         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45295         (__ASSUME_SIGFRAME_V2): Likewise.
45296         )__ASSUME_EVENTFD2): Likewise.
45297         (__ASSUME_SIGNALFD4): Likewise.
45298         (__ASSUME_PSELECT): Do not undefine conditionally.
45299         (__ASSUME_PPOLL): Likewise.
45300         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45301         (__ASSUME_PSELECT): Define unconditionally.
45302         (__ASSUME_PPOLL): Likewise.
45303         (__ASSUME_O_CLOEXEC): Likewise.
45304         (__ASSUME_SOCK_CLOEXEC): Likewise.
45305         (__ASSUME_IN_NONBLOCK): Likewise.
45306         (__ASSUME_PIPE2): Likewise.
45307         (__ASSUME_EVENTFD2): Likewise.
45308         (__ASSUME_SIGNALFD4): Likewise.
45309         (__ASSUME_DUP3): Likewise.
45310         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45311         (__ASSUME_O_CLOEXEC): Likewise.
45312         (__ASSUME_SOCK_CLOEXEC): Likewise.
45313         (__ASSUME_IN_NONBLOCK): Likewise.
45314         (__ASSUME_PIPE2): Likewise.
45315         (__ASSUME_EVENTFD2): Likewise.
45316         (__ASSUME_SIGNALFD4): Likewise.
45317         (__ASSUME_DUP3): Likewise.
45318         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45319         (__ASSUME_EVENTFD2): Likewise.
45320         (__ASSUME_SIGNALFD4): Likewise.
45321         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45323 2014-05-12  Andreas Schwab  <schwab@suse.de>
45325         [BZ #16932]
45326         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
45327         (_nss_nis_gethostbyname4_r): Return error if item length is larger
45328         than maximum RPC packet size.
45329         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
45330         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
45331         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
45332         (_nss_nis_getservbyport_r): Likewise.
45334 2014-05-12  Will Newton  <will.newton@linaro.org>
45336         * malloc/Makefile (tests): Add tst-mallopt.
45337         * malloc/tst-mallopt.c: New file.
45339 2014-05-09  Roland McGrath  <roland@hack.frob.com>
45341         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
45342         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
45344 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45346         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
45347         (tst-tlsmod6.so): Likewise.
45349 2014-05-09  Roland McGrath  <roland@hack.frob.com>
45351         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
45353 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
45355         [BZ #16064]
45356         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
45357         and <dl-procinfo.h>.
45358         (__fegetenv): Save SSE state in envp->__eip if supported.
45359         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
45360         envp->__eip if supported.
45361         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
45362         and <dl-procinfo.h>.
45363         (__fesetenv): Always set __eip, __cs_selector, __opcode,
45364         __data_offset and __data_selector in environment to 0.  Set SSE
45365         state if supported.
45366         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
45367         test-fenv-sse.
45368         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
45369         -mfpmath=sse.
45370         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
45372 2014-05-09  Will Newton  <will.newton@linaro.org>
45374         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
45375         and libc_relro_required for ARM.
45376         * sysdeps/arm/preconfigure: Regenerate.
45378 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
45379             Stefan Liebler  <stli@linux.vnet.ibm.com>
45381         * config.make.in (enable-lock-elision): New Makefile variable.
45382         * configure.ac: Likewise.
45383         * configure: Regenerate.
45384         * sysdeps/s390/configure.ac:
45385         Add check for gcc transactions support.
45386         * sysdeps/s390/configure: Regenerate.
45387         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
45388         Build elision files if enabled.
45389         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
45390         Add lock elision support for s390.
45391         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
45392         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
45393         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
45394         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
45395         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
45396         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
45397         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
45398         Likewise.
45399         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
45400         Likewise.
45401         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
45402         Likewise.
45403         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
45404         Likewise.
45405         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
45406         (__lll_timedlock_elision, __lll_lock_elision)
45407         (__lll_unlock_elision, __lll_trylock_elision)
45408         (lll_timedlock_elision, lll_lock_elision)
45409         (lll_unlock_elision, lll_trylock_elision): Add.
45410         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
45411         (pthread_mutex_t): Add lock elision support for s390.
45413 2014-05-14  Wilco  <wdijkstr@arm.com>
45415         * sysdeps/arm/fclrexcpt.c: Cleanup.
45416         * sysdeps/arm/fedisblxcpt.c: Cleanup.
45417         * sysdeps/arm/feenablxcpt.c: Cleanup.
45418         * sysdeps/arm/fegetenv.c: Cleanup.
45419         * sysdeps/arm/fegetexcept.c: Cleanup.
45420         * sysdeps/arm/fegetround.c: Cleanup.
45421         * sysdeps/arm/feholdexcpt.c: Cleanup.
45422         * sysdeps/arm/fesetenv.c: Cleanup.
45423         * sysdeps/arm/fesetround.c: Cleanup.
45424         * sysdeps/arm/feupdateenv.c: Cleanup.
45425         * sysdeps/arm/fgetexcptflg.c: Cleanup.
45426         * sysdeps/arm/fraiseexcpt.c: Cleanup.
45427         * sysdeps/arm/fsetexcptflg.c: Cleanup.
45428         * sysdeps/arm/ftestexcept.c: Cleanup.
45429         * sysdeps/arm/get-rounding-mode.h: Cleanup.
45430         * sysdeps/arm/setfpucw.c: Cleanup.
45432 2014-05-09  Will Newton  <will.newton@linaro.org>
45434         * sysdeps/arm/armv7/strcmp.S: New file.
45435         * NEWS: Mention addition of ARMv7 optimized strcmp.
45437 2014-05-08  Roland McGrath  <roland@hack.frob.com>
45439         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
45440         look for %.ac rather than %.in.
45442         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
45443         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
45444         * sysdeps/mach/hurd/configure: Regenerated.
45445         * sysdeps/unix/sysv/linux/configure: Regenerated.
45447         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
45449 2014-05-07  Steve Ellcey  <sellcey@mips.com>
45451         [BZ# 16922]
45452         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
45453         (LONG_SUB): Ditto.
45454         (PTR_SUB): Ditto.
45456 2014-05-07  Andreas Schwab  <schwab@suse.de>
45458         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
45459         when skipping over non-matching result from nscd.
45461 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
45463         [BZ #16876]
45464         * nptl/sockperf.c (client): Check socket return value.
45466         [BZ #16877]
45467         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
45468         nscd security class.
45470 2014-05-06  Roland McGrath  <roland@hack.frob.com>
45472         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
45473         * sysdeps/arm/unwind.h: ... here.
45475 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
45477         [BZ# 16916]
45478         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
45479         Define.
45481 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45483         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
45484         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
45485         multiarch strncpy for PPC64.
45486         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
45487         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
45488         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
45489         multiarch optimizations.
45490         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45491         (__libc_ifunc_impl_list): Likewise.
45492         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
45493         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
45494         multiarch stpncpy for PPC64.
45495         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
45496         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
45498 2014-05-06  Andreas Schwab  <schwab@suse.de>
45500         [BZ #16912]
45501         * gmon/mcount.c (_MCOUNT_DECL): Use
45502         atomic_compare_and_exchange_bool_acq instead of
45503         catomic_compare_and_exchange_bool_acq.
45505 2014-05-05  Roland McGrath  <roland@hack.frob.com>
45507         * elf/Makefile (others, install-bin): Remove pldd.
45508         (pldd-modules): Variable removed.
45509         ($(objpfx)pldd): Target removed.
45510         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
45511         (others, install-bin): Append pldd here.
45512         ($(objpfx)pldd): New target.
45514         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
45515         to 0, so the first #if test emitted later doesn't see it undefined.
45516         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
45517         * sysdeps/gnu/errlist.c: Regenerated.
45519 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45521         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
45522         [libc_hidden_builtin_def]: Define to empty value.
45523         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
45524         [libc_hidden_builtin_def]: Likewise.
45525         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
45526         [libc_hidden_builtin_def]: Likewise.
45527         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
45528         [libc_hidden_builtin_def]: Likewise.
45529         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
45530         __redirect_memcpy and define ifunc as default hidden symbol.
45531         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
45532         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
45534 2014-05-04  Adam Conrad  <adconrad@0c3.net>
45536         * locale/iso-4217.def: Reintroduce XDR currency.
45538 2014-05-04  Allan McRae  <allan@archlinux.org>
45540         * po/eo.po: Update Esperanto translation from translation project.
45542 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
45544         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
45545         and FEATURE_INDEX_MAX to 1.
45546         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
45548 2014-05-01  Steve Ellcey  <sellcey@mips.com>
45550         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
45551         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
45552         * iconvdata/big5.c (ONE_DIRECTION): Define.
45553         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
45554         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
45555         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
45556         * iconvdata/cp932.c (ONE_DIRECTION): Define.
45557         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
45558         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
45559         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
45560         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
45561         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
45562         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
45563         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
45564         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
45565         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
45566         * iconvdata/gbk.c (ONE_DIRECTION): Define.
45567         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
45568         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
45569         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
45570         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
45571         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
45572         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
45573         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
45574         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
45575         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
45576         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
45577         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
45578         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
45579         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
45580         * iconvdata/iso646.c (ONE_DIRECTION): Define.
45581         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
45582         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
45583         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
45584         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
45585         * iconvdata/johab.c (ONE_DIRECTION): Define.
45586         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
45587         * iconvdata/sjis.c (ONE_DIRECTION): Define.
45588         * iconvdata/t.61.c (ONE_DIRECTION): Define.
45589         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
45590         * iconvdata/tscii.c (ONE_DIRECTION): Define.
45591         * iconvdata/uhc.c (ONE_DIRECTION): Define.
45592         * iconvdata/unicode.c (ONE_DIRECTION): Define.
45593         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
45594         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
45595         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
45597 2014-05-01  Roland McGrath  <roland@hack.frob.com>
45599         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
45600         (_IO_JUMPS_OFFSET): Define to 0.
45602         * nptl/sysdeps/pthread/bits/libc-lock.h
45603         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
45604         (__libc_lock_define_initialized_recursive): Always define using
45605         initializer.  Modern compilers treat uninitialized (implicit zero) and
45606         explicit zero initializers the same (i.e. put the datum in bss).
45608 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45610         * nscd/nscd-client.h: Include <string.h>.
45612 2014-05-01  David S. Miller  <davem@davemloft.net>
45614         [BZ #16885]
45615         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
45616         multiple zero bytes exist at the end of a string.
45617         Reported by Aurelien Jarno <aurelien@aurel32.net>
45619         * string/test-strcmp.c (check): Add explicit test for situations where
45620         there are multiple zero bytes after the first.
45622 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45624         [BZ #16890]
45625         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
45626         when compiling wprintf.
45627         * stdio-common/tstdiomisc.c (t3): New function.
45628         (main): Call it.
45630 2014-05-01  Steve Ellcey  <sellcey@mips.com>
45632         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
45633         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
45634         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
45635         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
45637 2014-05-01  Steve Ellcey  <sellcey@mips.com>
45639         * stdlib/longlong.h: Updated from GCC.
45641 2014-05-01  Will Newton  <will.newton@linaro.org>
45642             Bernard Ogden  <bernie.ogden@linaro.org>
45644         * NEWS: Update fixed bug list.
45646         [BZ #15119]
45647         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
45649 2014-04-30  David S. Miller  <davem@davemloft.net>
45651         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
45652         (libc_feholdexcept_setround_sparc_ctx): New function.
45653         (libc_fesetenv_sparc_ctx): Likewise.
45654         (libc_feupdateenv_sparc_ctx): Likewise.
45655         (libc_feholdsetround_sparc_ctx): Likewise.
45656         (libc_feholdexcept_setround_ctx): Define.
45657         (libc_feholdexcept_setroundf_ctx): Likewise.
45658         (libc_feholdexcept_setroundl_ctx): Likewise.
45659         (libc_fesetenv_ctx): Likewise.
45660         (libc_fesetenvf_ctx): Likewise.
45661         (libc_fesetenvl_ctx): Likewise.
45662         (libc_feupdateenv_ctx): Likewise.
45663         (libc_feupdateenvf_ctx): Likewise.
45664         (libc_feupdateenvl_ctx): Likewise.
45665         (libc_feresetround_ctx): Likewise.
45666         (libc_feresetroundf_ctx): Likewise.
45667         (libc_feresetroundl_ctx): Likewise.
45668         (libc_feholdsetround_ctx): Likewise.
45669         (libc_feholdsetroundf_ctx): Likewise.
45670         (libc_feholdsetroundl_ctx): Likewise.
45672         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
45673         with __USE_GNU instead of XOPEN cpp guards.
45675         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
45676         0.
45678         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
45679         with XOPEN cpp guards.
45681 2014-04-30  Julian Brown  <julian@codesourcery.com>
45683         [BZ #16888]
45684         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
45685         handling.
45687 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
45689         [BZ #9894]
45690         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
45691         Change to 2.6.32.
45692         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
45693         * sysdeps/unix/sysv/linux/configure: Regenerated.
45694         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
45695         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
45696         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
45697         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
45698         * README: Update reference to required Linux kernel version.
45699         * manual/install.texi (Linux): Update reference to required Linux
45700         kernel headers version.
45701         * INSTALL: Regenerated.
45703         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
45704         header inclusion.
45705         [POSIX] (limits.h): Likewise.
45706         [POSIX] (math.h): Likewise.
45707         [POSIX] (sys/wait.h): Likewise.
45708         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
45709         function.
45710         [POSIX] (stddef.h): Do not allow header inclusion.
45712 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45714         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
45716 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
45718         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
45719         Return immediately after lll_futex_wake.
45721 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45723         [BZ #16791]
45724         * nscd/nscd-client.h (datahead_init_common): Initialize entire
45725         structure.
45726         (datahead_init_pos): Call datahead_init_common early.
45727         (datahead_init_neg): Likewise.
45729         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
45730         datahead_init_neg): New functions.
45731         * nscd/aicache.c (addhstaiX): Use them.
45732         * nscd/grpcache.c (cache_addgr): Likewise.
45733         * nscd/hstcache.c (cache_addhst): Likewise.
45734         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45735         * nscd/netgroupcache.c (do_notfound): Likewise.
45736         (addgetnetgrentX): Likewise.
45737         (addinnetgrX): Likewise.
45738         * nscd/pwdcache.c (cache_addpw): Likewise.
45739         * nscd/servicescache.c (cache_addserv): Likewise.
45741 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45742             Atsushi Onoe  <atsushi@onoe.org>
45744         [BZ #14308]
45745         [BZ #12994]
45746         [BZ #13651]
45747         * resolv/res_query.c (__libc_res_nsearch): Return if at least
45748         one response is valid.
45749         * resolv/res_send.c (send_dg): Check for validity of other
45750         response if the current response is a referral.
45752 2014-04-29  Steve Ellcey  <sellcey@mips.com>
45754         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
45756 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
45758         [BZ #16823]
45759         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
45760         Always divide by positive zero when computing -Inf result.
45761         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
45762         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
45764 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45766         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
45767         FPSCR if value do not change.
45768         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45769         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
45770         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
45771         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
45772         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
45773         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
45774         function.
45776 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
45778         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
45779         * sysdeps/unix/sysv/linux/hppa: Move directory from
45780         ports/systeps/unix/sysv/linux/hppa.
45781         * README: Update listing for hppa-*-linux-gnu.
45783 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
45785         [BZ #16754]
45786         * manual/stdio.texi (Hook functions): Fix types of stream hook
45787         functions.
45788         [BZ #16854]
45789         * socket/sys/socket.h: Fix typo in comment.
45791 2014-04-28  Wilco  <wdijkstr@arm.com>
45793         * sysdeps/arm/fenv_private.h: New file.
45794         * sysdeps/arm/math_private.h: New file.
45795         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
45797 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
45799         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
45800         with __int128_t.
45801         (La_x86_64_retval): Likewise.
45803 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
45805         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
45806         fpsr if value didn't change.
45807         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
45808         to fpcr if value didn't change.
45809         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
45810         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
45811         fpsr or fpcr if value didn't change.
45812         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
45813         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
45814         fpcr if value didn't change.
45815         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
45816         to fpsr if value didn't change.
45818 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
45820         * nptl/tst-sem3.c: Use test-skeleton.c
45821         (main): Rename to do_test.  Use return instead of
45822         exit.
45823         * nptl/tst-sem4.c: Use test-skeleton.c
45824         (main): Rename to do_test.
45826 2014-04-22  David S. Miller  <davem@davemloft.net>
45828         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
45829         (struct sigaction): New struct member __glibc_reserved0, change
45830         type of sa_flags to int.
45832 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
45834         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
45835         (COUNT_LEADING_ZEROS_0): Define for AArch64.
45837 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45839         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
45840         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
45842 2014-04-22  Will Newton  <will.newton@linaro.org>
45843             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
45845         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
45846         (__longjmp): Add longjmp and longjmp_target SystemTap
45847         probes.
45848         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
45849         (__sigsetjmp): Add setjmp SystemTap probe.
45851 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
45853         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
45854         match manual order.
45856 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45858         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
45860         * sysdeps/powerpc/fpu/fenv_private.h
45861         (libc_feholdexcept_setroundl_ctx): Define to
45862         libc_feholdexcept_setround_ppc_ctx.
45863         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
45864         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
45865         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
45866         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
45868 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
45870         * sysdeps/aarch64/math-tests.h: New file.
45872 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
45874         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
45875         New.
45876         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45877         Check and set bit_AVX2_Usable.
45878         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
45879         macro.
45880         (bit_AVX2): Likewise.
45881         (index_AVX2_Usable): Likewise.
45882         (CPUID_AVX2): Likewise.
45883         (HAS_AVX2): Likewise.
45885 2014-04-17  Will Newton  <will.newton@linaro.org>
45887         * manual/setjmp.texi (System V contexts): Add note that
45888         calling setcontext on a context created by a call to a
45889         signal handler is undefined.  Update text to note that
45890         setcontext from a signal handler is possible but not
45891         recommended.
45893         [BZ #16629]
45894         * stdlib/tst-setcontext.c: Include signal.h.
45895         (main): Check that the signal stack before and
45896         after swapcontext is the same.
45898         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
45899         Re-implement to restore registers in user code and avoid
45900         rt_sigreturn system call.
45902 2014-04-17  Wilco  <wdijkstr@arm.com>
45904         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
45905         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
45906         * math/test-fenv.c: Skip exception trap tests on targets which only
45907         support non-stop mode.
45909 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
45910             Wilco Dijkstra  <wilco.dijkstra@arm.com>
45912         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
45913         (libc_feholdsetround_aarch64_ctx)
45914         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
45915         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
45916         (libc_feresetround_ctx, libc_feresetroundf_ctx)
45917         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
45918         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
45919         (libc_feresetround_noexl_ctx): Define.
45921 2014-04-16  Richard Henderson  <rth@redhat.com>
45923         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
45925         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
45926         unwind tables.
45928         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
45929         const from the non-libc, non-ldso copy.
45931         * sysdeps/alpha/libm-test-ulps: Regenerate.
45933 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
45934             Wilco Dijkstra  <wilco.dijkstra@arm.com>
45936         * sysdeps/aarch64/fpu/math_private.h: New file.
45938 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
45940         * sysdeps/aarch64/libm-test-ulps: Regenerate.
45942 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
45944         [BZ #16275]
45945         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
45946         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
45947         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
45948         Intel MPX bound registers before _dl_profile_fixup.
45949         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
45950         registers after _dl_profile_fixup.  Save and restore bound
45951         registers bnd0/bnd1 when calling _dl_call_pltexit.
45952         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
45953         (LR_BND_OFFSET): Likewise.
45954         (LRV_BND0_OFFSET): Likewise.
45955         (LRV_BND1_OFFSET): Likewise.
45957 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45959         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
45960         to...
45961         * sysdeps/mach/hurd/i386/tls.h: ... here.
45962         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
45963         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
45964         fields.
45966 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45968         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
45970 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
45972         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45974 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
45976         [BZ #14770]
45977         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
45978         * sysdeps/s390/configure: Regenerate.
45980         [BZ #16824]
45981         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
45982         Set round-to-nearest internally to reduce error accumulation.
45984 2014-04-16  Alan Modra  <amodra@gmail.com>
45986         [BZ #16740]
45987         [BZ #16619]
45988         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
45989         * math/libm-test.inc (frexp_test_data): Add tests.
45990         * NEWS: Update fixed bug list.
45992 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45994         * benchtests/Makefile: Depend on libraries in build directory.
45995         (bench-math): Separate out math tests.
45996         (bench-pthread): Separate out pthread tests.
45997         (bench): Include math and pthread tests.
45999 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
46001         [BZ #16831]
46002         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
46003         _dl_debug_initialize.
46005         * configure.ac: Remove SELinux header check.
46006         * configure: Regenerate.
46007         * nscd/selinux.c (perms): Array of const char* to permission names.
46008         (nscd_request_avc_has_perm): Call security_deny_unknown to find
46009         default policy. Call string_to_security_class and string_to_av_perm to
46010         translate strings. Enforce default policy and call avs_has_perm with
46011         results of translated strings.
46013 2014-04-13  David S. Miller  <davem@davemloft.net>
46015         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46017 2014-04-12  Allan McRae  <allan@archlinux.org>
46019         [BZ #16838]
46020         * manual/string.texi (Collation Functions): Fix qsort argument
46021         order in example.
46022         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
46024 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
46026         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
46027         Make the test a no-op if there are no exceptions defined.
46029 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
46031         * elf/Makefile (tests): make tst-dlopen-aout conditional on
46032         enable-hardcoded-path-in-tests
46034 2014-04-11  Will Newton  <will.newton@linaro.org>
46036         * benchtests/Makefile (extra-objs): Add json-lib.o.
46037         (bench-func): Tidy up JSON output.
46038         * benchtests/bench-skeleton.c: Include json-lib.h.
46039         (main): Use JSON library functions to do output of
46040         benchmark results.
46041         * benchtests/bench-timing-type.c (main): Output the
46042         timing type simply, leaving formatting to the user.
46043         * benchtests/json-lib.c: New file.
46044         * benchtests/json-lib.h: Likewise.
46046 2014-04-11  Torvald Riegel  <triegel@redhat.com>
46048         [BZ #15215]
46049         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
46050         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
46051         memory barriers.  Add comments.
46052         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
46053         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
46054         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
46055         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
46056         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
46057         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
46059 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
46061         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
46062         * sysdeps/s390/s390-64/configure.ac: ... this ...
46063         * sysdeps/s390/configure.ac: ... to here.
46064         * sysdeps/s390/s390-32/configure: Delete file.
46065         * sysdeps/s390/s390-64/configure: Delete file.
46066         * sysdeps/s390/configure: Regenerate.
46068 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
46070         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
46072 2014-04-11  Will Newton  <will.newton@linaro.org>
46074         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
46075         to zero if it is not defined elsewhere.  (mtrim): Test
46076         the value of MALLOC_DEBUG with #if rather than #ifdef.
46078 2014-04-10 Torvald Riegel  <triegel@redhat.com>
46080         * benchtests/pthread_once-inputs: New file.
46081         * benchtests/pthread_once-source.c: New file.
46082         * benchtests/README: Update documentation.
46084 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
46085             H.J. Lu  <hongjiu.lu@intel.com>
46087         [BZ #16275]
46088         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
46089         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
46090         * sysdeps/x86_64/configure: Regenerated.
46091         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
46092         macro.
46093         (REGISTER_SAVE_RAX): Likewise.
46094         (REGISTER_SAVE_RCX): Likewise.
46095         (REGISTER_SAVE_RDX): Likewise.
46096         (REGISTER_SAVE_RSI): Likewise.
46097         (REGISTER_SAVE_RDI): Likewise.
46098         (REGISTER_SAVE_R8): Likewise.
46099         (REGISTER_SAVE_R9): Likewise.
46100         (REGISTER_SAVE_BND0): Likewise.
46101         (REGISTER_SAVE_BND1): Likewise.
46102         (REGISTER_SAVE_BND2): Likewise.
46103         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
46104         bound registers when calling _dl_fixup.
46106 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46108         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
46109         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
46110         of its definition.
46111         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
46112         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
46113         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
46114         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
46115         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
46116         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
46117         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
46119 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
46121         [BZ #15514]
46122         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
46123         pathconf(_PC_NAME_MAX).
46125 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46127         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
46128         Remove macro usage.
46129         (__PTHREAD_SPINS): Move definition to ...
46130         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
46131         (__PTHREAD_SPINS): ... here.
46132         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46133         (__PTHREAD_SPIN): Likewise.
46134         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
46135         (__PTHREAD_SPIN): Likewise.
46136         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
46137         (__PTHREAD_SPIN): Likewise.
46138         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
46139         (__PTHREAD_SPIN): Likewise.
46140         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
46141         (__PTHREAD_SPIN): Likewise.
46142         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
46143         (__PTHREAD_SPIN): Likewise.
46144         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
46145         (__PTHREAD_SPIN): Likewise.
46146         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
46147         (__PTHREAD_SPIN): Likewise.
46148         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
46149         (__PTHREAD_SPIN): Likewise.
46150         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
46151         (__PTHREAD_SPIN): Likewise.
46152         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
46153         (__PTHREAD_SPIN): Likewise.
46154         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
46155         (__PTHREAD_SPIN): Likewise.
46157         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
46158         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
46159         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
46160         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
46161         imply folder.
46162         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
46163         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
46164         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
46165         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
46166         correct imply path.
46167         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
46168         strlen symbol for non multi-arch builds.
46169         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
46170         missing hidden_def and weak_alias.
46172 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
46174         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
46176 2014-04-07  Will Newton  <will.newton@linaro.org>
46178         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
46179         and contents.  [!_LIBC] Remove #ifndef and contents.
46180         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
46181         * string/memccpy.c (__memccpy): Use ANSI prototype.
46182         * string/memfrob.c (memfrob): Likewise.
46183         * string/strcoll.c (STRCOLL): Likewise.
46184         * string/strlen.c (strlen): Likewise.
46185         * string/strtok.c (STRTOK): Likewise.
46186         * string/strcat.c: Remove unused #include of memcopy.h.
46187         (strcat): Use ANSI prototype.
46188         * string/strchr.c: Remove unused #include of memcopy.h.
46189         (strchr): Use ANSI prototype.
46190         * string/strcmp.c: Remove unused #include of memcopy.h.
46191         (strcmp): Use ANSI prototype.
46192         * string/strcpy.c: Remove unused #include of memcopy.h.
46193         (strcpy): Use ANSI prototype.
46195 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46197         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
46198         * config.make.in (config-extra-cppflags): Set it from
46199         libc_extra_cppflags.
46200         * configure.ac (libc_extra_cflags): Make it accumulate over
46201         configure fragments.
46202         (libc_extra_cppflags): New flag.
46203         * configure. Regenerate.
46204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
46205         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
46206         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
46207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
46209         [BZ #16815]
46210         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
46211         result for FE_DOWNWARD rounding mode.
46212         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
46213         Likewise.
46214         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46216 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
46218         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
46219         in function argument name.
46221 2014-04-03  David Svoboda  <svoboda@cert.org>
46223         [BZ #5666]
46224         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
46225         explicitly.
46227 2014-04-03  Roland McGrath  <roland@hack.frob.com>
46229         * elf/dl-unmap-segments.h: New file.
46230         * sysdeps/generic/ldsodefs.h
46231         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
46232         * elf/dl-close.c: Include <dl-unmap-segments.h>.
46233         * elf/dl-fptr.c: Likewise.
46234         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
46235         * sysdeps/aarch64/tlsdesc.c: Likewise.
46236         * sysdeps/arm/tlsdesc.c: Likewise.
46237         * sysdeps/i386/tlsdesc.c: Likewise.
46238         * sysdeps/tile/dl-runtime.c: Likewise.
46239         * sysdeps/x86_64/tlsdesc.c: Likewise.
46240         * elf/dl-load.h: New file.
46241         * elf/dl-load.c: Include it.
46242         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
46243         Macros moved to dl-load.h.
46244         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
46245         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
46246         Use _dl_unmap_segments in place of __munmap.
46247         Break out segment-mapping loop into ...
46248         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
46250 2014-04-03  Will Newton  <will.newton@linaro.org>
46252         * elf/dl-lookup.c (do_lookup_x): Remove comment
46253         referring to nested function and move variable
46254         declarations down to before first use.
46256 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
46258         [BZ #16799]
46259         [BZ #16800]
46260         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
46261         with 0 numerator.
46262         * math/s_catanf.c (__catanf): Likewise.
46263         * math/s_catanh.c (__catanh): Likewise.
46264         * math/s_catanhf.c (__catanhf): Likewise.
46265         * math/s_catanhl.c (__catanhl): Likewise.
46266         * math/s_catanl.c (__catanl): Likewise.
46267         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
46268         by positive zero when computing -Inf result.
46269         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
46270         (catanh_test): Likewise.
46271         * sysdeps/i386/fpu/libm-test-ulps: Update.
46272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46274         [BZ #16789]
46275         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
46276         instead of using underflowing value in computing result.
46277         * math/s_clog10.c (__clog10): Likewise.
46278         * math/s_clog10f.c (__clog10f): Likewise.
46279         * math/s_clog10l.c (__clog10l): Likewise.
46280         * math/s_clogf.c (__clogf): Likewise.
46281         * math/s_clogl.c (__clogl): Likewise.
46282         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
46283         (clog10_test): Likewise.
46284         * sysdeps/i386/fpu/libm-test-ulps: Update.
46285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46287 2014-04-02  Alan Modra  <amodra@gmail.com>
46289         [BZ #16739]
46290         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
46291         output when value is near a power of two.  Use int64_t for lx and
46292         remove casts.  Use decimal rather than hex exponent constants.
46293         Don't use long double multiplication when double will suffice.
46294         * math/libm-test.inc (nextafter_test_data): Add tests.
46295         * NEWS: Add 16739 and 16786 to bug list.
46297         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
46299         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
46301 2014-04-01  Will Newton  <will.newton@linaro.org>
46303         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
46304         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
46306 2014-04-01  Florian Weimer  <fweimer@redhat.com>
46308         [BZ #13347]
46309         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
46310         * nptl/tst-setuid2.c: New file.
46311         * nptl/Makefile (xtests): Add tst-setuid2.
46313 2014-04-01  Alan Modra  <amodra@gmail.com>
46315         [BZ #16786]
46316         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
46318 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
46320         [BZ #6803]
46321         [BZ #6804]
46322         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
46323         set errno as appropriate.
46324         * math/w_scalbf.c (__scalbf): Likewise.
46325         * math/w_scalbl.c (__scalbl): Likewise.
46326         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
46327         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
46328         * math/libm-test.inc (scalb_test_data): Add errno expectations.
46329         Add more NaN tests.
46331         [BZ #16349]
46332         * math/w_atan2.c: Include <errno.h>.
46333         (__atan2): Set errno for result underflowing to zero.
46334         * math/w_atan2f.c: Include <errno.h>.
46335         (__atan2f): Set errno for result underflowing to zero.
46336         * math/w_atan2l.c: Include <errno.h>.
46337         (__atan2l): Set errno for result underflowing to zero.
46338         * math/auto-libm-test-in: Don't allow missing errno for some atan2
46339         tests.
46340         * math/auto-libm-test-out: Regenerated.
46342 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46344         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
46345         Encode instruction correctly in little endian.
46346         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
46347         Likewise.
46348         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
46349         Likewise.
46350         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
46351         Likewise.
46352         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
46353         Likewise.
46355 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
46357         [BZ #9894]
46358         * sysdeps/unix/sysv/linux/kernel-features.h
46359         [__sparc__ && !__arch64__ && !__sparc_v9__]
46360         (__ASSUME_SET_ROBUST_LIST): Do not define.
46361         [__sparc__ && !__arch64__ && !__sparc_v9__]
46362         (__ASSUME_FUTEX_LOCK_PI): Likewise.
46363         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
46364         Likewise.
46365         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46366         (__ASSUME_FUTEX_LOCK_PI): Undefine.
46367         (__ASSUME_REQUEUE_PI): Likewise.
46368         (__ASSUME_SET_ROBUST_LIST): Likewise.
46369         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46370         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
46371         Undefine.
46372         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46373         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
46374         Likewise.
46375         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
46376         Likewise.
46377         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
46378         Likewise.
46379         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46380         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
46381         Undefine.
46382         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
46383         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
46384         Likewise.
46386         [BZ #16648]
46387         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46388         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
46389         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
46391 2014-03-31  Will Newton  <will.newton@linaro.org>
46393         * benchtests/Makefile (bench): Add ffs and ffsll to list
46394         of tests.
46395         * benchtests/ffs-inputs: New file.
46396         * benchtests/ffsll-inputs: Likewise.
46398 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
46400         [BZ #16770]
46401         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
46402         too large before casting to int.
46403         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
46404         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
46405         * math/libm-test.inc (scalb_test_data): Add more tests.
46407 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46409         * benchtests/Makefile (DETAILED_OPT): New make option.
46410         (bench-func): Run benchmark program with -d if DETAILED_OPT is
46411         set.
46412         * benchtests/bench-skeleton.c: Include stdbool.h.
46413         (main): Store and print timings per input.
46414         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
46415         member to each argument value.
46416         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
46417         (_print_arg_data): Initialize per-input timing to 0.
46419         * benchtests/Makefile (timing-type): New binary.
46420         (bench-clean): Also remove bench-timing-type.
46421         (bench): New target for timing-type.
46422         (bench-func): Print output in JSON format.
46423         * benchtests/bench-skeleton.c (main): Print output in JSON
46424         format.
46425         * benchtests/bench-timing-type.c: New file.
46426         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
46427         (TIMING_PRINT_STATS): Remove.
46428         * benchtests/scripts/bench.py (_print_arg_data): Store variant
46429         name separately.
46431         * benchtests/bench-modf.c: Remove.
46432         * benchtests/modf-inputs: New inputs file.
46434 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
46436         [BZ #16362]
46437         * math/s_clog10.c (M_PI_LOG10E): New macro.
46438         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
46439         imaginary parts are 0.
46440         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
46441         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
46442         imaginary parts are 0.
46443         * math/s_clog10l.c (M_PI_LOG10El): New macro.
46444         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
46445         imaginary parts are 0.
46446         * math/libm-test.inc (clog10_test_data): Update expected results
46447         for when real and imaginary parts are 0.
46449 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
46451         * elf/dl-load.c: Finish conversion of __builtin_expect into
46452         __glibc_{un}likely.
46454 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
46456         [BZ #16348]
46457         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
46458         1+x for argument with exponent below -67.
46459         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
46460         Likewise.
46461         * math/auto-libm-test-in: Add more tests of exp.
46462         * math/auto-libm-test-out: Regenerated.
46464 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46466         [BZ #16759]
46467         * inet/getnetgrent_r.c (get_nonempty_val): New function.
46468         (nscd_getnetgrent): Use it.
46470         [BZ #16760]
46471         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
46472         of stpcpy.
46474 2014-03-27  Andi Kleen  <ak@linux.intel.com>
46476         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
46477         (lll_robust_lock, lll_cond_lock, lll_timedlock)
46478         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
46479         (lll_robust_unlock): Remove out of line section. Use cfi
46480         intrinsics.
46481         (LLL_STUB_UNWIND_INFO*): Remove.
46482         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
46483         (lll_robust_lock, lll_cond_lock, lll_timedlock)
46484         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
46485         (lll_robust_unlock): Remove out of line section. Use cfi
46486         intrinsics.
46487         (LLL_STUB_UNWIND_INFO*): Remove.
46489 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46491         [BZ #16758]
46492         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
46493         blank values.
46495 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
46497         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
46499 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
46501         [BZ #16198]
46502         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
46503         fnstenv.
46504         * math/test-fenv-preserve.c: New file.
46505         * math/Makefile (tests): Add test-fenv-preserve.
46507 2014-03-26  Will Newton <will.newton@linaro.org>
46509         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
46511 2014-03-25  Roland McGrath  <roland@hack.frob.com>
46513         * scripts/versionlist.awk: Partition the version sets and emit all
46514         GLIBC_* (sorted) before all others (sorted).
46516 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
46518         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
46519         GLIBC_2.2.5 version.
46521 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46523         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
46524         calls.
46526         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
46527         previous change.
46529         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46531 2014-03-25  Andreas Schwab  <schwab@suse.de>
46533         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
46534         label to be used after in6ailist is initialized.
46536 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46538         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
46539         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
46541 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
46543         [BZ #16357]
46544         [BZ #16599]
46545         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
46546         min_plus_half.
46547         (fp_formats): Update initializers.
46548         (init_fp_formats): Initialize new field.
46549         (output_for_one_input_case): Allow underflow for results up to
46550         min_plus_half.
46551         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
46552         * math/auto-libm-test-in: Don't mark some underflows from asin and
46553         atanh as spurious.
46554         * math/auto-libm-test-out: Regenerated.
46555         * sysdeps/i386/fpu/libm-test-ulps: Update.
46556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46558 2014-03-25  Andreas Schwab  <schwab@suse.de>
46560         * libio/Makefile (tst-ftell-partial-wide-ENV)
46561         (tst-ftell-active-handler-ENV): Define.
46563 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
46565         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
46567 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
46569         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
46571 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
46573         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
46574         * sysdeps/x86_64/fpu/multiarch/e_exp.c
46575         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
46577 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
46579         [BZ #16634]
46580         * elf/dl-load.c (open_verify): Add mode parameter.
46581         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
46582         (open_path): Change from boolean 'secure' to complete flag 'mode'
46583         (_dl_map_object): Adjust.
46584         * elf/Makefile (tests): Add tst-dlopen-aout.
46585         * elf/tst-dlopen-aout.c: New test.
46587 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
46589         [BZ #16714]
46590         * sysdeps/unix/sysv/linux/s390/bits/stat.h
46591         (struct stat): Rename member pad0 to __glibc_reserved0.
46593         [BZ #16712]
46594         * sysdeps/s390/s390-32/bits/wordsize.h
46595         (__WORDSIZE32_SIZE_ULONG): New define.
46596         * sysdeps/s390/s390-64/bits/wordsize.h
46597         (__WORDSIZE32_SIZE_ULONG): Likewise.
46598         * sysdeps/generic/stdint.h (SIZE_MAX):
46599         Define as UL if __WORDSIZE32_SIZE_ULONG.
46601         [BZ #16713]
46602         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
46603         (__glibc_reserved0): New variable.
46604         (sa_flags): Change type to int.
46606         * posix/Makefile (before-compile): Use += before-compile instead
46607         of a :=.
46609         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46610         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
46612 2014-03-20  Andreas Schwab  <schwab@suse.de>
46614         [BZ #16743]
46615         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
46616         non-matching result from nscd.
46618 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46620         * scripts/bench.py: Moved to ...
46621         * benchtests/scripts/bench.py: ... here.
46622         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
46624 2014-03-24  Andreas Schwab  <schwab@suse.de>
46626         [BZ #16002]
46627         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
46628         alloca_account and account alloca use for struct in6ailist.
46630 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
46632         [BZ #16284]
46633         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
46634         rounding mode to recompute results that overflow to infinity or
46635         underflow to zero.
46636         * math/auto-libm-test-in: Don't mark tests as expected to fail for
46637         bug 16284.
46638         * math/auto-libm-test-out: Regenerated.
46639         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
46640         (ccosh_test): Likewise.
46641         (csin_test_data): Use plus_oflow.
46642         (csin_test): Use ALL_RM_TEST.
46643         (csinh_test_data): Use plus_oflow.
46644         (csinh_test): Use ALL_RM_TEST.
46645         * sysdeps/i386/fpu/libm-test-ulps: Update.
46646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46648 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
46650         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
46651         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
46652         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
46654         [BZ #16731]
46655         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
46656         when x - 1 is zero.
46657         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
46658         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
46659         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
46660         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
46661         argument is 1.
46662         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
46663         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
46664         zero.
46665         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
46666         * sysdeps/i386/fpu/libm-test-ulps: Update.
46667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46669 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46671         * scripts/bench.pl: Remove file.
46672         * scripts/bench.py: New benchmark script.
46673         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
46674         * benchtests/README: Mention python dependency.
46675         * scripts/pylintrc: New file.
46676         * scripts/pylint: New file.
46678         * bits/mathdef.h: Use #ifdef instead of #if.
46679         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
46680         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46681         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
46682         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46683         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
46684         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46686 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46687             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46689         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
46690         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
46691         and strpbrk-ppc64 objects.
46692         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46693         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
46694         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
46695         multiarch strpbrk for POWER7.
46696         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
46697         multiarch strpbrk for PPC64.
46698         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
46699         ifunc selector.
46700         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
46701         strpbrk for POWER7.
46703 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
46705         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
46706         (atan_test): Likewise.
46707         (atanh_test_data): Use NO_TEST_INLINE for two tests.
46708         (atanh_test): Use ALL_RM_TEST.
46709         (atan2_test_data): Likewise.
46710         (cabs_test): Likewise.
46711         (cacosh_test): Likewise.
46712         (carg_test): Likewise.
46713         (casin_test): Likewise.
46714         (casinh_test): Likewise.
46715         (cbrt_test): Likewise.
46716         (csqrt_test): Likewise.
46717         (erf_test): Likewise.
46718         (erfc_test): Likewise.
46719         (pow10_test): Likewise.
46720         (exp2_test): Likewise.
46721         (hypot_test): Likewise.
46722         (j0_test): Likewise.
46723         (j1_test): Likewise.
46724         (lgamma_test): Likewise.
46725         (gamma_test): Likewise.
46726         (sincos_test): Likewise.
46727         (tanh_test): Likewise.
46728         (y0_test): Likewise.
46729         (y1_test): Likewise.
46730         * sysdeps/i386/fpu/libm-test-ulps: Update.
46731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46733 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46735         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
46736         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
46737         and strcspn-ppc64 objects.
46738         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46739         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
46740         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
46741         multiarch strcspn for POWER7.
46742         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
46743         multiarch strcspn for PPC64.
46744         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
46745         ifunc selector.
46746         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
46747         strcspn for POWER7.
46749 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
46751         * math/gen-libm-test.pl (generate_testfile): Expect only function
46752         name as argument to AUTO_TESTS_* and pass results for all rounding
46753         modes to parse_args.
46754         (parse_auto_input): Separate inputs of automatic tests from
46755         outputs before storing in %auto_tests.
46756         * math/libm-test.inc (acos_test_data): Update call to
46757         AUTO_TESTS_f_f.
46758         (acos_test): Use ALL_RM_TEST.
46759         (acos_tonearest_test_data): Remove.
46760         (acos_test_tonearest): Likewise.
46761         (acos_towardzero_test_data): Likewise.
46762         (acos_test_towardzero): Likewise.
46763         (acos_downward_test_data): Likewise.
46764         (acos_test_downward): Likewise.
46765         (acos_upward_test_data): Likewise.
46766         (acos_test_upward): Likewise.
46767         (acosh_test_data): Update call to AUTO_TESTS_f_f.
46768         (asin_test_data): Likewise.
46769         (asin_test): Use ALL_RM_TEST.
46770         (asin_tonearest_test_data): Remove.
46771         (asin_test_tonearest): Likewise.
46772         (asin_towardzero_test_data): Likewise.
46773         (asin_test_towardzero): Likewise.
46774         (asin_downward_test_data): Likewise.
46775         (asin_test_downward): Likewise.
46776         (asin_upward_test_data): Likewise.
46777         (asin_test_upward): Likewise.
46778         (asinh_test_data): Update call to AUTO_TESTS_f_f.
46779         (atan_test_data): Likewise.
46780         (atanh_test_data): Likewise.
46781         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
46782         (cabs_test_data): Update call to AUTO_TESTS_c_f.
46783         (carg_test_data): Likewise.
46784         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
46785         (ccos_test_data): Update call to AUTO_TESTS_c_c.
46786         (ccosh_test_data): Likewise.
46787         (cexp_test_data): Likewise.
46788         (clog_test_data): Likewise.
46789         (clog10_test_data): Likewise.
46790         (cos_test_data): Update call to AUTO_TESTS_f_f.
46791         (cos_test): Use ALL_RM_TEST.
46792         (cos_tonearest_test_data): Remove.
46793         (cos_test_tonearest): Likewise.
46794         (cos_towardzero_test_data): Likewise.
46795         (cos_test_towardzero): Likewise.
46796         (cos_downward_test_data): Likewise.
46797         (cos_test_downward): Likewise.
46798         (cos_upward_test_data): Likewise.
46799         (cos_test_upward): Likewise.
46800         (cosh_test_data): Update call to AUTO_TESTS_f_f.
46801         (cosh_test): Use ALL_RM_TEST.
46802         (cosh_tonearest_test_data): Remove.
46803         (cosh_test_tonearest): Likewise.
46804         (cosh_towardzero_test_data): Likewise.
46805         (cosh_test_towardzero): Likewise.
46806         (cosh_downward_test_data): Likewise.
46807         (cosh_test_downward): Likewise.
46808         (cosh_upward_test_data): Likewise.
46809         (cosh_test_upward): Likewise.
46810         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
46811         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
46812         (ctan_test_data): Likewise.
46813         (ctan_test): Use ALL_RM_TEST.
46814         (ctan_tonearest_test_data): Remove.
46815         (ctan_test_tonearest): Likewise.
46816         (ctan_towardzero_test_data): Likewise.
46817         (ctan_test_towardzero): Likewise.
46818         (ctan_downward_test_data): Likewise.
46819         (ctan_test_downward): Likewise.
46820         (ctan_upward_test_data): Likewise.
46821         (ctan_test_upward): Likewise.
46822         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
46823         (ctanh_test): Use ALL_RM_TEST.
46824         (ctanh_tonearest_test_data): Remove.
46825         (ctanh_test_tonearest): Likewise.
46826         (ctanh_towardzero_test_data): Likewise.
46827         (ctanh_test_towardzero): Likewise.
46828         (ctanh_downward_test_data): Likewise.
46829         (ctanh_test_downward): Likewise.
46830         (ctanh_upward_test_data): Likewise.
46831         (ctanh_test_upward): Likewise.
46832         (erf_test_data): Update call to AUTO_TESTS_f_f.
46833         (erfc_test_data): Likewise.
46834         (exp_test_data): Likewise.
46835         (exp_test): Use ALL_RM_TEST.
46836         (exp_tonearest_test_data): Remove.
46837         (exp_test_tonearest): Likewise.
46838         (exp_towardzero_test_data): Likewise.
46839         (exp_test_towardzero): Likewise.
46840         (exp_downward_test_data): Likewise.
46841         (exp_test_downward): Likewise.
46842         (exp_upward_test_data): Likewise.
46843         (exp_test_upward): Likewise.
46844         (exp10_test_data): Update call to AUTO_TESTS_f_f.
46845         (exp10_test): Use ALL_RM_TEST.
46846         (exp10_tonearest_test_data): Remove.
46847         (exp10_test_tonearest): Likewise.
46848         (exp10_towardzero_test_data): Likewise.
46849         (exp10_test_towardzero): Likewise.
46850         (exp10_downward_test_data): Likewise.
46851         (exp10_test_downward): Likewise.
46852         (exp10_upward_test_data): Likewise.
46853         (exp10_test_upward): Likewise.
46854         (exp2_test_data): Update call to AUTO_TESTS_f_f.
46855         (expm1_test_data): Likewise.
46856         (expm1_test): Use ALL_RM_TEST.
46857         (expm1_tonearest_test_data): Remove.
46858         (expm1_test_tonearest): Likewise.
46859         (expm1_towardzero_test_data): Likewise.
46860         (expm1_test_towardzero): Likewise.
46861         (expm1_downward_test_data): Likewise.
46862         (expm1_test_downward): Likewise.
46863         (expm1_upward_test_data): Likewise.
46864         (expm1_test_upward): Likewise.
46865         (fma_test_data): Update call to AUTO_TESTS_fff_f.
46866         (fma_test): Use ALL_RM_TEST.
46867         (fma_towardzero_test_data): Remove.
46868         (fma_test_towardzero): Likewise.
46869         (fma_downward_test_data): Likewise.
46870         (fma_test_downward): Likewise.
46871         (fma_upward_test_data): Likewise.
46872         (fma_test_upward): Likewise.
46873         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
46874         (j0_test_data): Update call to AUTO_TESTS_f_f.
46875         (j1_test_data): Likewise.
46876         (jn_test_data): Update call to AUTO_TESTS_if_f.
46877         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
46878         (log_test_data): Update call to AUTO_TESTS_f_f.
46879         (log10_test_data): Likewise.
46880         (log1p_test_data): Likewise.
46881         (log2_test_data): Likewise.
46882         (pow_test_data): Update call to AUTO_TESTS_ff_f.
46883         (pow_tonearest_test_data): Likewise.
46884         (sin_test_data): Update call to AUTO_TESTS_f_f.
46885         (sin_test): Use ALL_RM_TEST.
46886         (sin_tonearest_test_data): Remove.
46887         (sin_test_tonearest): Likewise.
46888         (sin_towardzero_test_data): Likewise.
46889         (sin_test_towardzero): Likewise.
46890         (sin_downward_test_data): Likewise.
46891         (sin_test_downward): Likewise.
46892         (sin_upward_test_data): Likewise.
46893         (sin_test_upward): Likewise.
46894         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
46895         (sinh_test_data): Update call to AUTO_TESTS_f_f.
46896         (sinh_test): Use ALL_RM_TEST.
46897         (sinh_tonearest_test_data): Remove.
46898         (sinh_test_tonearest): Likewise.
46899         (sinh_towardzero_test_data): Likewise.
46900         (sinh_test_towardzero): Likewise.
46901         (sinh_downward_test_data): Likewise.
46902         (sinh_test_downward): Likewise.
46903         (sinh_upward_test_data): Likewise.
46904         (sinh_test_upward): Likewise.
46905         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
46906         (sqrt_test): Use ALL_RM_TEST.
46907         (sqrt_tonearest_test_data): Remove.
46908         (sqrt_test_tonearest): Likewise.
46909         (sqrt_towardzero_test_data): Likewise.
46910         (sqrt_test_towardzero): Likewise.
46911         (sqrt_downward_test_data): Likewise.
46912         (sqrt_test_downward): Likewise.
46913         (sqrt_upward_test_data): Likewise.
46914         (sqrt_test_upward): Likewise.
46915         (tan_test_data): Update call to AUTO_TESTS_f_f.
46916         (tan_test): Use ALL_RM_TEST.
46917         (tan_tonearest_test_data): Remove.
46918         (tan_test_tonearest): Likewise.
46919         (tan_towardzero_test_data): Likewise.
46920         (tan_test_towardzero): Likewise.
46921         (tan_downward_test_data): Likewise.
46922         (tan_test_downward): Likewise.
46923         (tan_upward_test_data): Likewise.
46924         (tan_test_upward): Likewise.
46925         (tanh_test_data): Update call to AUTO_TESTS_f_f.
46926         (tgamma_test_data): Likewise.
46927         (y0_test_data): Likewise.
46928         (y1_test_data): Likewise.
46929         (yn_test_data): Update call to AUTO_TESTS_if_f.
46930         (main): Do not call removed functions.
46932 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
46934         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
46935         (ldexp_test_data): Remove.
46936         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
46937         scalbn_test_data.
46938         (scalb_test): Use ALL_RM_TEST.
46940 2014-03-19  Andreas Schwab  <schwab@suse.de>
46942         * nscd/nscd.service: Also invalidate netgroup cache on reload.
46944 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
46946         [BZ #16649]
46947         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46948         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
46949         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
46950         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46951         (__ASSUME_PREADV): Undefine.
46952         (__ASSUME_PWRITEV): Likewise.
46954 2014-03-18  Roland McGrath  <roland@hack.frob.com>
46956         * bits/mman-linux.h: Add comment about non-Linux use.
46957         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
46958         bits/mman-linux.h resting place.
46960         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
46961         * bits/mman-linux.h: ... here.
46963 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46965         * conform/conformtest.pl: Add standard definition when calling C
46966         preprocessor on data files.
46967         (checknamespace): Remove unused variable.
46969 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
46971         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
46972         minus_oflow, plus_uflow and minus_uflow in expected results.
46973         * math/libm-test.inc (scalbn_test_data): Add more tests of
46974         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
46975         minus_uflow.
46976         (scalbn_test): Use ALL_RM_TEST.
46977         (scalbln_test_data): Add more tests of negative arguments.  Use
46978         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
46979         (scalbln_test): Use ALL_RM_TEST.
46981 2014-03-18  Roland McGrath  <roland@hack.frob.com>
46983         * scripts/abilist.awk: Ignore symbols marked with .hidden.
46985 2014-03-18  Will Newton  <will.newton@linaro.org>
46987         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
46988         inaccurate comment.
46990 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
46992         * Makerules [!subdir] (check-abi): Exit with error status if a
46993         test failed.
46995 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
46997         * math/libm-test.inc (nearbyint_test_data): Include all tests used
46998         for rint.  Include results for all rounding modes.
46999         (nearbyint_test): Use ALL_RM_TEST.
47000         (rint_test_data): Include all tests used for nearbyint.
47002 2014-03-17  Will Newton  <will.newton@linaro.org>
47004         * nptl/sysdeps/pthread/pthread.h: Revert previous
47005         change.
47007         * sysdeps/generic/ldsodefs.h: Revert previous
47008         change.
47010         * libio/genops.c: Revert previous change.
47011         * libio/libioP.h: Likewise.
47012         * stdio-common/vfprintf.c: Likewise.
47014         * sysdeps/generic/math_private.h: Revert previous
47015         change.
47017         * sysdeps/generic/math_private.h: Check whether
47018         HAVE_RM_CTX is defined with #ifdef rather
47019         than #if.
47021         * argp/argp-fmtstream.h: Check whether
47022         __STRICT_ANSI__ is defined with #ifdef rather
47023         than #if.
47024         * argp/argp.h: Likewise.
47026         * libio/genops.c: Check whether
47027         _IO_JUMPS_OFFSET is defined with #ifdef rather
47028         than #if.
47029         * libio/libioP.h: Likewise.
47030         * stdio-common/vfprintf.c: Likewise.
47032         * sysdeps/generic/ldsodefs.h: Check whether
47033         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
47034         than #if.
47036         * nptl/sysdeps/pthread/pthread.h: Check
47037         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
47038         its value.
47040 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47042         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
47043         setting O_APPEND.
47044         * libio/tst-ftell-active-handler.c (do_append_test): Add a
47045         test case.
47047         [BZ #16680]
47048         * libio/fileops.c (_IO_file_open): Seek to end of file but
47049         don't cache the offset.
47050         (get_file_offset): Remove function.
47051         (do_ftell): Use cached offset when available.
47052         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
47053         don't cache the offset.
47054         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
47055         case.
47056         (do_one_test): Call it.
47057         (do_ftell_test): Fix up expected old offset for a+ mode.
47058         * libio/wfileops.c (do_ftell_wide): Used cached offset when
47059         available.
47061         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
47062         up test status with function return status.
47063         (do_write_test): Likewise.
47064         (do_append_test): Likewise.
47066         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
47067         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
47068         Remove.
47070 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
47072         * math/gen-libm-test.pl (parse_args): Handle results specified for
47073         each rounding mode separately.
47074         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
47075         tests and results from lrint_tonearest_test_data,
47076         lrint_towardzero_test_data, lrint_downward_test_data and
47077         lrint_upward_test_data.
47078         (lrint_test): Use ALL_RM_TEST.
47079         (lrint_tonearest_test_data): Remove.
47080         (lrint_test_tonearest): Likewise.
47081         (lrint_towardzero_test_data): Likewise.
47082         (lrint_test_towardzero): Likewise.
47083         (lrint_downward_test_data): Likewise.
47084         (lrint_test_downward): Likewise.
47085         (lrint_upward_test_data): Likewise.
47086         (lrint_test_upward): Likewise.
47087         (llrint_test_data): Merge in per-rounding-mode tests and results
47088         from llrint_tonearest_test_data, llrint_towardzero_test_data,
47089         llrint_downward_test_data and llrint_upward_test_data.
47090         (llrint_test): Use ALL_RM_TEST.
47091         (llrint_tonearest_test_data): Remove.
47092         (llrint_test_tonearest): Likewise.
47093         (llrint_towardzero_test_data): Likewise.
47094         (llrint_test_towardzero): Likewise.
47095         (llrint_downward_test_data): Likewise.
47096         (llrint_test_downward): Likewise.
47097         (llrint_upward_test_data): Likewise.
47098         (llrint_test_upward): Likewise.
47099         (rint_test_data): Merge in per-rounding-mode tests and results
47100         from rint_tonearest_test_data, rint_towardzero_test_data,
47101         rint_downward_test_data and rint_upward_test_data.  Add
47102         per-rounding-mode results for tests not in those arrays.
47103         (rint_test): Use ALL_RM_TEST.
47104         (rint_tonearest_test_data): Remove.
47105         (rint_test_tonearest): Likewise.
47106         (rint_towardzero_test_data): Likewise.
47107         (rint_test_towardzero): Likewise.
47108         (rint_downward_test_data): Likewise.
47109         (rint_test_downward): Likewise.
47110         (rint_upward_test_data): Likewise.
47111         (rint_test_upward): Likewise.
47112         (main): Don't call removed functions.
47114 2014-03-14  Roland McGrath  <roland@hack.frob.com>
47116         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
47117         "Compiled on ..." crapola.  It is anti-useful.
47119 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
47121         * scripts/evaluate-test.sh: Handle fourth argument to determine
47122         whether test run should stop on failure.
47123         * Makeconfig (stop-on-test-failure): New variable.
47124         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
47125         $(stop-on-test-failure).
47126         * Makefile (tests): Give a summary of results from testing and
47127         exit with failure status if they include an ERROR or FAIL.
47128         (xtests): Likewise.
47129         * manual/install.texi (Configuring and compiling): Mention
47130         stop-on-test-failure=y.
47131         * INSTALL: Regenerated.
47133 2014-03-14  Roland McGrath  <roland@hack.frob.com>
47135         * scripts/versionlist.awk: New file.
47136         * Makerules [$(build-shared) = yes]
47137         (postclean-generated): Add Versions.def, not Versions.def.v and
47138         Versions.def.v.i.
47139         ($(common-objpfx)Versions.def.v.i): Target removed.
47140         ($(common-objpfx)Versions.def): New target.
47141         ($(common-objpfx)Versions.all): Depend on that rather that
47142         $(common-objpfx)Versions.def.v.
47143         * Versions.def: File removed.
47145         * Makeconfig (+gccwarn): Add -Wundef.
47146         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
47147         a dl-sysdep.h breaking its contract.
47148         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
47149         * include/stackinfo.h: New file.
47150         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
47151         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
47152         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
47153         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
47154         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
47155         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
47156         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47157         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47158         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47159         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47160         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47161         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
47162         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47163         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47164         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47166 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47168         [BZ #16707]
47169         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
47170         implementation.
47171         * math/libm-test.inc (round_test_data): Add more tests.
47173         [BZ #16706]
47174         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
47175         implementation.
47176         * math/libm-test.inc (nearbyint_test_data): Add more tests.
47178         [BZ #16701]
47179         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
47180         implementation.
47181         * math/libm-test.inc (ceil_test_data): Add more tests.
47183         * math/libm-test.inc (trunc_test_data): Add more tests related to
47184         BZ#16414.
47186 2014-03-14  Roland McGrath  <roland@hack.frob.com>
47188         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
47189         with #if rather than #ifdef.
47190         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
47192 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
47194         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
47195         first.  Disable AVX-512 GCC support if assembler doesn't support
47196         it.
47197         * sysdeps/x86_64/configure: Regenerated.
47199 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
47201         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
47202         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
47203         (__old_pthread_attr_setstack): Likewise.
47204         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
47205         [!_STACK_GROWS_DOWN]: Likewise.
47207 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
47209         * config.make.in (have-bash2): Delete.
47210         * configure.ac (libc_cv_have_bash2): Delete.
47211         * configure: Regenerate.
47212         * elf/Makefile (common-ldd-rewrite): Rename to ...
47213         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
47214         (sh-ldd-rewrite): Delete.
47215         (bash-ldd-rewrite): Delete.
47216         (have-bash2): Delete checks.
47217         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
47218         ldd-rewrite.
47220         * config.make.in (have-ksh): Delete.
47221         (KSH): Delete.
47222         * configure.ac (libc_cv_have_ksh): Delete.
47223         * configure: Regenerate.
47225         * elf/Makefile: Delete $(have-ksh) check.
47226         ($(objpfx)sotruss): Change KSH to BASH.
47227         * elf/sotruss.ksh: Rename to ...
47228         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
47229         function style to match POSIX.  Drop ksh vim mode setting.
47231         * manual/time.texi (Specifying the Time Zone with TZ): Change
47232         Tuesday to Thursday.
47234         * debug/tst-longjmp_chk2.c: Update header comment.
47235         (stackoverflow_handler): Add comment.  Call assert on pass value.
47237 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
47239         [BZ #16194]
47240         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
47241         (HAVE_AVX512_ASM_SUPPORT): Likewise.
47242         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
47243         (La_x86_64_vector): Add zmm.
47244         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
47245         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
47246         ($(objpfx)tst-audit10): New target.
47247         ($(objpfx)tst-audit10.out): Likewise.
47248         (tst-audit10-ENV): New.
47249         (AVX512-CFLAGS): Likewise.
47250         (CFLAGS-tst-audit10.c): Likewise.
47251         (CFLAGS-tst-auditmod10a.c): Likewise.
47252         (CFLAGS-tst-auditmod10b.c): Likewise.
47253         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
47254         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
47255         * sysdeps/x86_64/configure: Regenerated.
47256         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
47257         AVX-512 zmm register support.
47258         (_dl_x86_64_save_sse): Likewise.
47259         (_dl_x86_64_restore_sse): Likewise.
47260         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
47261         size vector registers.
47262         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
47263         (ZMM_SIZE): Likewise.
47264         * sysdeps/x86_64/tst-audit10.c: New file.
47265         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
47266         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
47268 2014-03-13  Roland McGrath  <roland@hack.frob.com>
47270         * configure.ac (HAVE_EHDR_START): New check.
47271         * configure: Regenerated.
47272         * config.h.in (HAVE_EHDR_START): New #undef.
47273         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
47274         assuming the lowest-addressed segment maps the start of the file.
47276 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
47278         * INSTALL: Regenerated.
47280 2014-03-13  Will Newton  <will.newton@linaro.org>
47282         * manual/setjmp.texi (System V contexts): Improve
47283         clarity and grammar of documentation.
47285 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
47287         [BZ #16381]
47288         * elf/Makefile (tests): Add tst-pie2.
47289         (tests-pie): Add tst-pie2.
47290         * elf/tst-pie2.c: New file.
47291         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
47292         for ET_EXEC.
47293         * elf/rtld.c (map_doit): Load executable as lt_executable.
47294         (dl_main): Likewise.
47296 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
47298         [BZ #16642]
47299         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47300         (__ASSUME_PSELECT): Undefine.
47302 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47304         [BZ #16689]
47305         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
47306         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
47307         static build.
47308         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
47309         selector for static builds.
47311 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47313         [BZ #16695]
47314         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
47315         key in the buffer.
47317 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47319         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
47320         IFUNC selector for static builds.
47322 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
47324         * sysdeps/mips/math_private.h [__mips_hard_float]
47325         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
47326         libc_feresetround_mips_ctx.
47327         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
47328         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
47329         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
47331         [BZ #16677]
47332         * math/s_nextafter.c (__nextafter): Do not return value from
47333         overflowing computation.
47334         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
47335         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
47336         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
47337         Likewise.
47338         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
47339         Likewise.
47340         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
47341         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
47343 2014-03-11  Roland McGrath  <roland@hack.frob.com>
47345         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
47346         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
47347         Move sfi_sp use from the load-multiple (that no longer sets sp) to
47348         the new mov targetting sp.
47350 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47352         [BZ #16683]
47353         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
47354         Define it for static builds as well.
47355         (NO_BZERO_IMPL): Likewise.
47357 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47359         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
47360         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
47361         multiarch strspn for PPC64.
47362         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
47363         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
47364         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47365         (__libc_ifunc_impl_list): Likewise.
47366         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
47367         multiarch optimizations
47368         * string/strspn.c (strspn): Using macro to redefine symbol name.
47370 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47371             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47373         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
47374         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
47375         multiarch strncat for PPC64.
47376         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
47377         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
47378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47379         (__libc_ifunc_impl_list): Likewise.
47380         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
47381         multiarch optimizations
47383 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47385         [BZ #16639]
47386         * nscd/nscd.service: Make service type forking.
47388 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47390         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
47391         sign in non default rounding modes.
47392         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
47394 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
47396         * math/libm-test.inc (ALL_RM_TEST): New macro.
47397         (ceil_test): Use ALL_RM_TEST.
47398         (cimag_test): Likewise.
47399         (conj_test): Likewise.
47400         (copysign_test): Likewise.
47401         (cproj_test): Likewise.
47402         (creal_test): Likewise.
47403         (fabs_test): Likewise.
47404         (floor_test): Likewise.
47405         (fmax_test): Likewise.
47406         (fmin_test): Likewise.
47407         (fmod_test): Likewise.
47408         (fpclassify_test): Likewise.
47409         (frexp_test): Likewise.
47410         (ilogb_test): Likewise.
47411         (isfinite_test): Likewise.
47412         (finite_test): Likewise.
47413         (isgreater_test): Likewise.
47414         (isgreaterequal_test): Likewise.
47415         (isinf_test): Likewise.
47416         (isless_test): Likewise.
47417         (islessequal_test): Likewise.
47418         (islessgreater_test): Likewise.
47419         (isnan_test): Likewise.
47420         (isnormal_test): Likewise.
47421         (issignaling_test): Likewise.
47422         (isunordered_test): Likewise.
47423         (logb_test): Likewise.
47424         (logb_downward_test_data): Remove.
47425         (logb_test_downward): Likewise.
47426         (lround_test): Use ALL_RM_TEST.
47427         (llround_test): Likewise.
47428         (modf_test): Likewise.
47429         (nexttoward_test): Likewise.
47430         (remainder_test): Likewise.
47431         (drem_test): Likewise.
47432         (remainder_tonearest_test_data): Likewise.
47433         (remainder_test_tonearest): Likewise.
47434         (drem_test_tonearest): Likewise.
47435         (remainder_towardzero_test_data): Likewise.
47436         (remainder_test_towardzero): Likewise.
47437         (drem_test_towardzero): Likewise.
47438         (remainder_downward_test_data): Likewise.
47439         (remainder_test_downward): Likewise.
47440         (drem_test_downward): Likewise.
47441         (remainder_upward_test_data): Likewise.
47442         (remainder_test_upward): Likewise.
47443         (drem_test_upward): Likewise.
47444         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
47445         (round_test): Use ALL_RM_TEST.
47446         (signbit_test): Likewise.
47447         (trunc_test): Likewise.
47448         (significand_test): Likewise.
47449         (main): Don't call removed functions.
47451 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
47453         [BZ #16674]
47454         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
47455         || __USE_XOPEN2K8].
47456         (ILL_ILLOPN): Likewise.
47457         (ILL_ILLADR): Likewise.
47458         (ILL_ILLTRP): Likewise.
47459         (ILL_PRVOPC): Likewise.
47460         (ILL_PRVREG): Likewise.
47461         (ILL_COPROC): Likewise.
47462         (ILL_BADSTK): Likewise.
47463         (FPE_INTDIV): Likewise.
47464         (FPE_INTOVF): Likewise.
47465         (FPE_FLTDIV): Likewise.
47466         (FPE_FLTOVF): Likewise.
47467         (FPE_FLTUND): Likewise.
47468         (FPE_FLTRES): Likewise.
47469         (FPE_FLTINV): Likewise.
47470         (FPE_FLTSUB): Likewise.
47471         (SEGV_MAPERR): Likewise.
47472         (SEGV_ACCERR): Likewise.
47473         (BUS_ADRALN): Likewise.
47474         (BUS_ADRERR): Likewise.
47475         (BUS_OBJERR): Likewise.
47476         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47477         (TRAP_TRACE): Likewise.
47478         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47479         __USE_XOPEN2K8].
47480         (CLD_KILLED): Likewise.
47481         (CLD_DUMPED): Likewise.
47482         (CLD_TRAPPED): Likewise.
47483         (CLD_STOPPED): Likewise.
47484         (CLD_CONTINUED): Likewise.
47485         (POLL_IN): Likewise.
47486         (POLL_OUT): Likewise.
47487         (POLL_MSG): Likewise.
47488         (POLL_ERR): Likewise.
47489         (POLL_PRI): Likewise.
47490         (POLL_HUP): Likewise.
47491         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
47492         Likewise.
47493         (ILL_ILLOPN): Likewise.
47494         (ILL_ILLADR): Likewise.
47495         (ILL_ILLTRP): Likewise.
47496         (ILL_PRVOPC): Likewise.
47497         (ILL_PRVREG): Likewise.
47498         (ILL_COPROC): Likewise.
47499         (ILL_BADSTK): Likewise.
47500         (FPE_INTDIV): Likewise.
47501         (FPE_INTOVF): Likewise.
47502         (FPE_FLTDIV): Likewise.
47503         (FPE_FLTOVF): Likewise.
47504         (FPE_FLTUND): Likewise.
47505         (FPE_FLTRES): Likewise.
47506         (FPE_FLTINV): Likewise.
47507         (FPE_FLTSUB): Likewise.
47508         (SEGV_MAPERR): Likewise.
47509         (SEGV_ACCERR): Likewise.
47510         (BUS_ADRALN): Likewise.
47511         (BUS_ADRERR): Likewise.
47512         (BUS_OBJERR): Likewise.
47513         (BUS_MCEERR_AR): Likewise.
47514         (BUS_MCEERR_AO): Likewise.
47515         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47516         (TRAP_TRACE): Likewise.
47517         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47518         __USE_XOPEN2K8].
47519         (CLD_KILLED): Likewise.
47520         (CLD_DUMPED): Likewise.
47521         (CLD_TRAPPED): Likewise.
47522         (CLD_STOPPED): Likewise.
47523         (CLD_CONTINUED): Likewise.
47524         (POLL_IN): Likewise.
47525         (POLL_OUT): Likewise.
47526         (POLL_MSG): Likewise.
47527         (POLL_ERR): Likewise.
47528         (POLL_PRI): Likewise.
47529         (POLL_HUP): Likewise.
47530         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
47531         (ILL_ILLOPN): Likewise.
47532         (ILL_ILLADR): Likewise.
47533         (ILL_ILLTRP): Likewise.
47534         (ILL_PRVOPC): Likewise.
47535         (ILL_PRVREG): Likewise.
47536         (ILL_COPROC): Likewise.
47537         (ILL_BADSTK): Likewise.
47538         (FPE_INTDIV): Likewise.
47539         (FPE_INTOVF): Likewise.
47540         (FPE_FLTDIV): Likewise.
47541         (FPE_FLTOVF): Likewise.
47542         (FPE_FLTUND): Likewise.
47543         (FPE_FLTRES): Likewise.
47544         (FPE_FLTINV): Likewise.
47545         (FPE_FLTSUB): Likewise.
47546         (SEGV_MAPERR): Likewise.
47547         (SEGV_ACCERR): Likewise.
47548         (BUS_ADRALN): Likewise.
47549         (BUS_ADRERR): Likewise.
47550         (BUS_OBJERR): Likewise.
47551         (BUS_MCEERR_AR): Likewise.
47552         (BUS_MCEERR_AO): Likewise.
47553         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47554         (TRAP_TRACE): Likewise.
47555         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47556         __USE_XOPEN2K8].
47557         (CLD_KILLED): Likewise.
47558         (CLD_DUMPED): Likewise.
47559         (CLD_TRAPPED): Likewise.
47560         (CLD_STOPPED): Likewise.
47561         (CLD_CONTINUED): Likewise.
47562         (POLL_IN): Likewise.
47563         (POLL_OUT): Likewise.
47564         (POLL_MSG): Likewise.
47565         (POLL_ERR): Likewise.
47566         (POLL_PRI): Likewise.
47567         (POLL_HUP): Likewise.
47568         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
47569         Likewise.
47570         (ILL_ILLOPN): Likewise.
47571         (ILL_ILLADR): Likewise.
47572         (ILL_ILLTRP): Likewise.
47573         (ILL_PRVOPC): Likewise.
47574         (ILL_PRVREG): Likewise.
47575         (ILL_COPROC): Likewise.
47576         (ILL_BADSTK): Likewise.
47577         (ILL_BADIADDR): Likewise.
47578         (ILL_BREAK): Likewise.
47579         (FPE_INTDIV): Likewise.
47580         (FPE_INTOVF): Likewise.
47581         (FPE_FLTDIV): Likewise.
47582         (FPE_FLTOVF): Likewise.
47583         (FPE_FLTUND): Likewise.
47584         (FPE_FLTRES): Likewise.
47585         (FPE_FLTINV): Likewise.
47586         (FPE_FLTSUB): Likewise.
47587         (FPE_DECOVF): Likewise.
47588         (FPE_DECDIV): Likewise.
47589         (FPE_DECERR): Likewise.
47590         (FPE_INVASC): Likewise.
47591         (FPE_INVDEC): Likewise.
47592         (SEGV_MAPERR): Likewise.
47593         (SEGV_ACCERR): Likewise.
47594         (SEGV_PSTKOVF): Likewise.
47595         (BUS_ADRALN): Likewise.
47596         (BUS_ADRERR): Likewise.
47597         (BUS_OBJERR): Likewise.
47598         (BUS_MCEERR_AR): Likewise.
47599         (BUS_MCEERR_AO): Likewise.
47600         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47601         (TRAP_TRACE): Likewise.
47602         (TRAP_BRANCH): Likewise.
47603         (TRAP_HWBKPT): Likewise.
47604         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47605         __USE_XOPEN2K8].
47606         (CLD_KILLED): Likewise.
47607         (CLD_DUMPED): Likewise.
47608         (CLD_TRAPPED): Likewise.
47609         (CLD_STOPPED): Likewise.
47610         (CLD_CONTINUED): Likewise.
47611         (POLL_IN): Likewise.
47612         (POLL_OUT): Likewise.
47613         (POLL_MSG): Likewise.
47614         (POLL_ERR): Likewise.
47615         (POLL_PRI): Likewise.
47616         (POLL_HUP): Likewise.
47617         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
47618         (ILL_ILLOPN): Likewise.
47619         (ILL_ILLADR): Likewise.
47620         (ILL_ILLTRP): Likewise.
47621         (ILL_PRVOPC): Likewise.
47622         (ILL_PRVREG): Likewise.
47623         (ILL_COPROC): Likewise.
47624         (ILL_BADSTK): Likewise.
47625         (FPE_INTDIV): Likewise.
47626         (FPE_INTOVF): Likewise.
47627         (FPE_FLTDIV): Likewise.
47628         (FPE_FLTOVF): Likewise.
47629         (FPE_FLTUND): Likewise.
47630         (FPE_FLTRES): Likewise.
47631         (FPE_FLTINV): Likewise.
47632         (FPE_FLTSUB): Likewise.
47633         (SEGV_MAPERR): Likewise.
47634         (SEGV_ACCERR): Likewise.
47635         (BUS_ADRALN): Likewise.
47636         (BUS_ADRERR): Likewise.
47637         (BUS_OBJERR): Likewise.
47638         (BUS_MCEERR_AR): Likewise.
47639         (BUS_MCEERR_AO): Likewise.
47640         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47641         (TRAP_TRACE): Likewise.
47642         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47643         __USE_XOPEN2K8].
47644         (CLD_KILLED): Likewise.
47645         (CLD_DUMPED): Likewise.
47646         (CLD_TRAPPED): Likewise.
47647         (CLD_STOPPED): Likewise.
47648         (CLD_CONTINUED): Likewise.
47649         (POLL_IN): Likewise.
47650         (POLL_OUT): Likewise.
47651         (POLL_MSG): Likewise.
47652         (POLL_ERR): Likewise.
47653         (POLL_PRI): Likewise.
47654         (POLL_HUP): Likewise.
47655         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
47656         (ILL_ILLOPN): Likewise.
47657         (ILL_ILLADR): Likewise.
47658         (ILL_ILLTRP): Likewise.
47659         (ILL_PRVOPC): Likewise.
47660         (ILL_PRVREG): Likewise.
47661         (ILL_COPROC): Likewise.
47662         (ILL_BADSTK): Likewise.
47663         (FPE_INTDIV): Likewise.
47664         (FPE_INTOVF): Likewise.
47665         (FPE_FLTDIV): Likewise.
47666         (FPE_FLTOVF): Likewise.
47667         (FPE_FLTUND): Likewise.
47668         (FPE_FLTRES): Likewise.
47669         (FPE_FLTINV): Likewise.
47670         (FPE_FLTSUB): Likewise.
47671         (SEGV_MAPERR): Likewise.
47672         (SEGV_ACCERR): Likewise.
47673         (BUS_ADRALN): Likewise.
47674         (BUS_ADRERR): Likewise.
47675         (BUS_OBJERR): Likewise.
47676         (BUS_MCEERR_AR): Likewise.
47677         (BUS_MCEERR_AO): Likewise.
47678         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47679         (TRAP_TRACE): Likewise.
47680         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47681         __USE_XOPEN2K8].
47682         (CLD_KILLED): Likewise.
47683         (CLD_DUMPED): Likewise.
47684         (CLD_TRAPPED): Likewise.
47685         (CLD_STOPPED): Likewise.
47686         (CLD_CONTINUED): Likewise.
47687         (POLL_IN): Likewise.
47688         (POLL_OUT): Likewise.
47689         (POLL_MSG): Likewise.
47690         (POLL_ERR): Likewise.
47691         (POLL_PRI): Likewise.
47692         (POLL_HUP): Likewise.
47693         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
47694         (ILL_ILLOPN): Likewise.
47695         (ILL_ILLADR): Likewise.
47696         (ILL_ILLTRP): Likewise.
47697         (ILL_PRVOPC): Likewise.
47698         (ILL_PRVREG): Likewise.
47699         (ILL_COPROC): Likewise.
47700         (ILL_BADSTK): Likewise.
47701         (FPE_INTDIV): Likewise.
47702         (FPE_INTOVF): Likewise.
47703         (FPE_FLTDIV): Likewise.
47704         (FPE_FLTOVF): Likewise.
47705         (FPE_FLTUND): Likewise.
47706         (FPE_FLTRES): Likewise.
47707         (FPE_FLTINV): Likewise.
47708         (FPE_FLTSUB): Likewise.
47709         (SEGV_MAPERR): Likewise.
47710         (SEGV_ACCERR): Likewise.
47711         (BUS_ADRALN): Likewise.
47712         (BUS_ADRERR): Likewise.
47713         (BUS_OBJERR): Likewise.
47714         (BUS_MCEERR_AR): Likewise.
47715         (BUS_MCEERR_AO): Likewise.
47716         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47717         (TRAP_TRACE): Likewise.
47718         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47719         __USE_XOPEN2K8].
47720         (CLD_KILLED): Likewise.
47721         (CLD_DUMPED): Likewise.
47722         (CLD_TRAPPED): Likewise.
47723         (CLD_STOPPED): Likewise.
47724         (CLD_CONTINUED): Likewise.
47725         (POLL_IN): Likewise.
47726         (POLL_OUT): Likewise.
47727         (POLL_MSG): Likewise.
47728         (POLL_ERR): Likewise.
47729         (POLL_PRI): Likewise.
47730         (POLL_HUP): Likewise.
47731         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
47732         (ILL_ILLOPN): Likewise.
47733         (ILL_ILLADR): Likewise.
47734         (ILL_ILLTRP): Likewise.
47735         (ILL_PRVOPC): Likewise.
47736         (ILL_PRVREG): Likewise.
47737         (ILL_COPROC): Likewise.
47738         (ILL_BADSTK): Likewise.
47739         (ILL_DBLFLT): Likewise.
47740         (ILL_HARDWALL): Likewise.
47741         (FPE_INTDIV): Likewise.
47742         (FPE_INTOVF): Likewise.
47743         (FPE_FLTDIV): Likewise.
47744         (FPE_FLTOVF): Likewise.
47745         (FPE_FLTUND): Likewise.
47746         (FPE_FLTRES): Likewise.
47747         (FPE_FLTINV): Likewise.
47748         (FPE_FLTSUB): Likewise.
47749         (SEGV_MAPERR): Likewise.
47750         (SEGV_ACCERR): Likewise.
47751         (BUS_ADRALN): Likewise.
47752         (BUS_ADRERR): Likewise.
47753         (BUS_OBJERR): Likewise.
47754         (BUS_MCEERR_AR): Likewise.
47755         (BUS_MCEERR_AO): Likewise.
47756         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47757         (TRAP_TRACE): Likewise.
47758         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47759         __USE_XOPEN2K8].
47760         (CLD_KILLED): Likewise.
47761         (CLD_DUMPED): Likewise.
47762         (CLD_TRAPPED): Likewise.
47763         (CLD_STOPPED): Likewise.
47764         (CLD_CONTINUED): Likewise.
47765         (POLL_IN): Likewise.
47766         (POLL_OUT): Likewise.
47767         (POLL_MSG): Likewise.
47768         (POLL_ERR): Likewise.
47769         (POLL_PRI): Likewise.
47770         (POLL_HUP): Likewise.
47771         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
47772         (ILL_ILLOPN): Likewise.
47773         (ILL_ILLADR): Likewise.
47774         (ILL_ILLTRP): Likewise.
47775         (ILL_PRVOPC): Likewise.
47776         (ILL_PRVREG): Likewise.
47777         (ILL_COPROC): Likewise.
47778         (ILL_BADSTK): Likewise.
47779         (FPE_INTDIV): Likewise.
47780         (FPE_INTOVF): Likewise.
47781         (FPE_FLTDIV): Likewise.
47782         (FPE_FLTOVF): Likewise.
47783         (FPE_FLTUND): Likewise.
47784         (FPE_FLTRES): Likewise.
47785         (FPE_FLTINV): Likewise.
47786         (FPE_FLTSUB): Likewise.
47787         (SEGV_MAPERR): Likewise.
47788         (SEGV_ACCERR): Likewise.
47789         (BUS_ADRALN): Likewise.
47790         (BUS_ADRERR): Likewise.
47791         (BUS_OBJERR): Likewise.
47792         (BUS_MCEERR_AR): Likewise.
47793         (BUS_MCEERR_AO): Likewise.
47794         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47795         (TRAP_TRACE): Likewise.
47796         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47797         __USE_XOPEN2K8].
47798         (CLD_KILLED): Likewise.
47799         (CLD_DUMPED): Likewise.
47800         (CLD_TRAPPED): Likewise.
47801         (CLD_STOPPED): Likewise.
47802         (CLD_CONTINUED): Likewise.
47803         (POLL_IN): Likewise.
47804         (POLL_OUT): Likewise.
47805         (POLL_MSG): Likewise.
47806         (POLL_ERR): Likewise.
47807         (POLL_PRI): Likewise.
47808         (POLL_HUP): Likewise.
47809         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
47810         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
47812         [BZ #16670]
47813         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
47814         before #include of <time.h>.
47815         [!__USE_XOPEN2K] (__need_timespec): Likewise.
47816         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
47817         (test-xfail-UNIX98/sched.h/conform): Likewise.
47819 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47821         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
47822         error absence of trapping exception support.
47823         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
47825 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
47827         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
47828         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
47829         * timezone/Makefile (testdata): Move definition above include of
47830         Rules.
47831         (test-zones): New variable.
47832         (tests-special): Add zone files.
47833         (build-testdata): Use $(evaluate-test).
47835         * elf/Makefile (tests-special): Rename tests to end with .out.
47836         ($(objpfx)noload-mem): Likewise.
47837         ($(objpfx)tst-leaks1-mem): Likewise.
47838         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
47839         * iconv/Makefile (xtests-special): Change test-iconvconfig to
47840         $(objpfx)test-iconvconfig.out.
47841         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
47842         set -e inside subshell and redirect output to file.
47843         * iconvdata/Makefile (generated): Rename tests to end with .out.
47844         Correct type.
47845         (tests-special): Rename tests to end with .out.
47846         ($(objpfx)mtrace-tst-loading): Likewise.
47847         * intl/Makefile (generated): Likewise.
47848         (tests-special): Likewise.
47849         ($(objpfx)mtrace-tst-gettext): Likewise.
47850         * misc/Makefile (generated): Likewise.
47851         (tests-special): Likewise.
47852         ($(objpfx)tst-error1-mem): Likewise.
47853         * nptl/Makefile (tests-special): Likewise.
47854         ($(objpfx)tst-stack3-mem): Likewise.
47855         (generated): Likewise.
47856         * posix/Makefile (generated): Likewise.
47857         (tests-special): Likewise.
47858         (xtests-special): Likewise.
47859         ($(objpfx)tst-fnmatch-mem): Likewise.
47860         ($(objpfx)bug-regex2-mem): Likewise.
47861         ($(objpfx)bug-regex14-mem): Likewise.
47862         ($(objpfx)bug-regex21-mem): Likewise.
47863         ($(objpfx)bug-regex31-mem): Likewise.
47864         ($(objpfx)tst-vfork3-mem): Likewise.
47865         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
47866         ($(objpfx)tst-pcre-mem): Likewise.
47867         ($(objpfx)tst-boost-mem): Likewise.
47868         ($(objpfx)bug-ga2-mem): Likewise.
47869         ($(objpfx)bug-glob2-mem): Likewise.
47870         * resolv/Makefile (generate): Likewise.
47871         (tests-special): Likewise.
47872         (xtests-special): Likewise.
47873         (generated): Likewise.
47874         ($(objpfx)mtrace-tst-leaks): Likewise.
47875         ($(objpfx)mtrace-tst-leaks2): Likewise.
47877         * scripts/merge-test-results.sh: New file.
47878         * Makefile (tests-special-notdir): New variable.
47879         (tests): Run merge-test-results.sh.
47880         (xtests): Likewise.
47881         * Rules (tests-special-notdir): New variable.
47882         (xtests-special-notdir): Likewise.
47883         (tests): Run merge-test-results.sh
47884         (xtests): Likewise.
47886         * Makeconfig (test-xfail-name): New variable.
47887         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
47888         compute variable name for expected failures.
47889         * conform/Makefile (conformtest-headers-data): New variable.
47890         (conformtest-standards): Likewise.
47891         (conformtest-headers-ISO): Likewise.
47892         (conformtest-headers-ISO99): Likewise.
47893         (conformtest-headers-ISO11): Likewise.
47894         (conformtest-headers-POSIX): Likewise.
47895         (conformtest-headers-XPG3): Likewise.
47896         (conformtest-headers-XPG4): Likewise.
47897         (conformtest-headers-UNIX98): Likewise.
47898         (conformtest-headers-XOPEN2K): Likewise.
47899         (conformtest-headers-POSIX2008): Likewise.
47900         (conformtest-headers-XOPEN2K8): Likewise.
47901         (conformtest-header-list-base): Likewise.
47902         (conformtest-header-list-tests): Likewise.
47903         (conformtest-header-base): Likewise.
47904         (conformtest-header-tests): Likewise.
47905         (tests-special): Add $(conformtest-header-list-tests).  If
47906         [$(fast-check) && !$(cross-compiling)], add
47907         $(conformtest-header-tests) instead of
47908         $(objpfx)run-conformtest.out.
47909         (generated): Add $(conformtest-header-list-base).  If
47910         [$(fast-check) && !$(cross-compiling)], add
47911         $(conformtest-header-base).  Remove previous setting.
47912         ($(conformtest-header-list-tests)): New target.
47913         (test-xfail-run-conformtest): Remove variable.
47914         ($(objpfx)run-conformtest.out): Remove target.
47915         (test-xfail-ISO11/complex.h/conform): New variable.
47916         (test-xfail-ISO11/stdalign.h/conform): Likewise.
47917         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
47918         (test-xfail-XPG3/varargs.h/conform): Likewise.
47919         (test-xfail-XPG4/varargs.h/conform): Likewise.
47920         (test-xfail-UNIX98/varargs.h/conform): Likewise.
47921         (test-xfail-XPG4/ndbm.h/conform): Likewise.
47922         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
47923         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
47924         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
47925         (test-xfail-XPG3/fcntl.h/conform): Likewise.
47926         (test-xfail-XPG3/ftw.h/conform): Likewise.
47927         (test-xfail-XPG3/grp.h/conform): Likewise.
47928         (test-xfail-XPG3/langinfo.h/conform): Likewise.
47929         (test-xfail-XPG3/limits.h/conform): Likewise.
47930         (test-xfail-XPG3/pwd.h/conform): Likewise.
47931         (test-xfail-XPG3/search.h/conform): Likewise.
47932         (test-xfail-XPG3/signal.h/conform): Likewise.
47933         (test-xfail-XPG3/stdio.h/conform): Likewise.
47934         (test-xfail-XPG3/stdlib.h/conform): Likewise.
47935         (test-xfail-XPG3/string.h/conform): Likewise.
47936         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
47937         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
47938         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
47939         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
47940         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
47941         (test-xfail-XPG3/sys/types.h/conform): Likewise.
47942         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
47943         (test-xfail-XPG3/termios.h/conform): Likewise.
47944         (test-xfail-XPG3/time.h/conform): Likewise.
47945         (test-xfail-XPG3/unistd.h/conform): Likewise.
47946         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
47947         (test-xfail-XPG4/fcntl.h/conform): Likewise.
47948         (test-xfail-XPG4/langinfo.h/conform): Likewise.
47949         (test-xfail-XPG4/netdb.h/conform): Likewise.
47950         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
47951         (test-xfail-XPG4/signal.h/conform): Likewise.
47952         (test-xfail-XPG4/stdio.h/conform): Likewise.
47953         (test-xfail-XPG4/stdlib.h/conform): Likewise.
47954         (test-xfail-XPG4/stropts.h/conform): Likewise.
47955         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
47956         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
47957         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
47958         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
47959         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
47960         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
47961         (test-xfail-XPG4/sys/time.h/conform): Likewise.
47962         (test-xfail-XPG4/sys/types.h/conform): Likewise.
47963         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
47964         (test-xfail-XPG4/termios.h/conform): Likewise.
47965         (test-xfail-XPG4/ucontext.h/conform): Likewise.
47966         (test-xfail-XPG4/unistd.h/conform): Likewise.
47967         (test-xfail-XPG4/utmpx.h/conform): Likewise.
47968         (test-xfail-POSIX/sched.h/conform): Likewise.
47969         (test-xfail-POSIX/signal.h/conform): Likewise.
47970         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
47971         (test-xfail-POSIX/tar.h/conform): Likewise.
47972         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
47973         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
47974         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
47975         (test-xfail-UNIX98/netdb.h/conform): Likewise.
47976         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
47977         (test-xfail-UNIX98/sched.h/conform): Likewise.
47978         (test-xfail-UNIX98/signal.h/conform): Likewise.
47979         (test-xfail-UNIX98/stdio.h/conform): Likewise.
47980         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
47981         (test-xfail-UNIX98/stropts.h/conform): Likewise.
47982         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
47983         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
47984         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
47985         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
47986         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
47987         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
47988         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
47989         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
47990         (test-xfail-UNIX98/unistd.h/conform): Likewise.
47991         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
47992         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
47993         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
47994         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
47995         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
47996         (test-xfail-XOPEN2K/math.h/conform): Likewise.
47997         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
47998         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
47999         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
48000         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
48001         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
48002         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
48003         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
48004         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
48005         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
48006         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
48007         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
48008         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
48009         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
48010         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
48011         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
48012         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
48013         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
48014         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
48015         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
48016         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
48017         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
48018         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
48019         (test-xfail-POSIX2008/signal.h/conform): Likewise.
48020         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
48021         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
48022         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
48023         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
48024         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
48025         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
48026         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
48027         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
48028         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
48029         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
48030         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
48031         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
48032         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
48033         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
48034         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
48035         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
48036         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
48037         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
48038         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
48039         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
48040         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
48041         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
48042         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
48043         (conformtest-cc-flags): Likewise.
48044         ($(conformtest-header-tests): New target.
48045         * conform/check-header-lists.sh: New file.
48046         * conform/run-conformtest.sh: Remove.
48048         * conform/conformtest.pl: Allow ' and \ in values given for
48049         constants.
48050         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
48051         inclusion.
48052         [POSIX] (sys/types.h): Likewise.
48053         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
48054         inclusion.
48055         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
48056         inclusion.
48057         * conform/data/signal.h-data (SIGIO): Remove expectation.
48058         [XPG3] (SIGBUS): Do not expect.
48059         [POSIX || XPG3] (SIGPOLL): Likewise.
48060         [POSIX || XPG3] (SIGPROF): Likewise.
48061         [POSIX || XPG3] (SIGSYS): Likewise.
48062         [XPG3] (SIGTRAP): Likewise.
48063         [POSIX || XPG3] (SIGURG): Likewise.
48064         [POSIX || XPG3] (SIGVTALRM): Likewise.
48065         [POSIX || XPG3] (SIGXCPU): Likewise.
48066         [POSIX || XPG3] (SIGXFSZ): Likewise.
48067         [POSIX] (SA_SIGINFO): Expect.
48068         [XPG3] (siginfo_t): Do not expect type or contents.
48069         [POSIX] (si_pid): Do not expect element.
48070         [POSIX] (si_uid): Likewise.
48071         [POSIX] (si_addr): Likewise.
48072         [POSIX] (si_status): Likewise.
48073         [POSIX] (si_band): Likewise.
48074         [XPG4] (si_value): Likewise.
48075         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
48076         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
48077         [POSIX || XPG3] (ILL_ILLADR): Likewise.
48078         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
48079         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
48080         [POSIX || XPG3] (ILL_PRVREG): Likewise.
48081         [POSIX || XPG3] (ILL_COPROC): Likewise.
48082         [POSIX || XPG3] (ILL_BADSTK): Likewise.
48083         [POSIX || XPG3] (FPE_INTDIV): Likewise.
48084         [POSIX || XPG3] (FPE_INTOVF): Likewise.
48085         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
48086         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
48087         [POSIX || XPG3] (FPE_FLTUND): Likewise.
48088         [POSIX || XPG3] (FPE_FLTRES): Likewise.
48089         [POSIX || XPG3] (FPE_FLTINV): Likewise.
48090         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
48091         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
48092         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
48093         [POSIX || XPG3] (BUS_ADRALN): Likewise.
48094         [POSIX || XPG3] (BUS_ADRERR): Likewise.
48095         [POSIX || XPG3] (BUS_OBJERR): Likewise.
48096         [POSIX || XPG3] (CLD_EXITED): Likewise.
48097         [POSIX || XPG3] (CLD_KILLED): Likewise.
48098         [POSIX || XPG3] (CLD_DUMPED): Likewise.
48099         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
48100         [POSIX || XPG3] (CLD_STOPPED): Likewise.
48101         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
48102         [POSIX || XPG3] (POLL_IN): Likewise.
48103         [POSIX || XPG3] (POLL_OUT): Likewise.
48104         [POSIX || XPG3] (POLL_MSG): Likewise.
48105         [POSIX || XPG3] (POLL_ERR): Likewise.
48106         [POSIX || XPG3] (POLL_PRI): Likewise.
48107         [POSIX || XPG3] (POLL_HUP): Likewise.
48108         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
48109         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
48110         (SIG*): Do not allow.
48111         [XPG3] (si_*): Likewise.
48112         [XPG3] (SI_*): Likewise.
48113         [XPG3 || XPG4] (sigev_*): Likewise.
48114         [XPG3 || XPG4] (SIGEV_*): Likewise.
48115         [XPG3 || XPG4] (sival_*): Likewise.
48116         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
48117         [POSIX || XPG3] (BUS_*): Likewise.
48118         [POSIX || XPG3] (CLD_*): Likewise.
48119         [POSIX || XPG3] (FPE_*): Likewise.
48120         [POSIX || XPG3] (ILL_*): Likewise.
48121         [POSIX || XPG3] (POLL_*): Likewise.
48122         [POSIX || XPG3] (SEGV_*): Likewise.
48123         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
48124         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
48125         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
48126         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
48127         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
48128         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
48129         Specify type and value.
48130         (TVERSLEN): Likewise.
48131         (REGTYPE): Likewise.
48132         (AREGTYPE): Likewise.
48133         (LNKTYPE): Likewise.
48134         (SYMTYPE): Likewise.
48135         (CHRTYPE): Likewise.
48136         (BLKTYPE): Likewise.
48137         (DIRTYPE): Likewise.
48138         (FIFOTYPE): Likewise.
48139         (CONTTYPE): Likewise.
48140         (TSUID): Likewise.
48141         (TSGID): Likewise.
48142         (TSVTX): Likewise.
48143         (TUREAD): Likewise.
48144         (TUWRITE): Likewise.
48145         (TUEXEC): Likewise.
48146         (TGREAD): Likewise.
48147         (TGWRITE): Likewise.
48148         (TGEXEC): Likewise.
48149         (TOREAD): Likewise.
48150         (TOWRITE): Likewise.
48151         (TOEXEC): Likewise.
48152         [POSIX] (TSVTX): Expect constant.
48154 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
48156         * Makefile (tests): Change dependencies to ....
48157         (tests-special): ... additions to this variable.
48158         (tests): Depend on $(tests-special).
48159         * Makerules (check-abi-list): New variable.
48160         (check-abi): Depend on $(check-abi-list).
48161         [$(subdir) = elf] (tests-special): Add
48162         $(objpfx)check-abi-libc.out.
48163         [$(build-shared) = yes && subdir] (tests-special): Add
48164         $(check-abi-list).
48165         [$(build-shared) = yes && subdir] (tests): Do not depend on
48166         check-abi.
48167         * Rules (tests): Depend on $(tests-special).
48168         (xtests): Depend on $(xtests-special).
48169         * catgets/Makefile (tests): Change dependencies to ....
48170         (tests-special): ... additions to this variable.
48171         * conform/Makefile (tests): Change dependencies to ....
48172         (tests-special): ... additions to this variable.
48173         * elf/Makefile (tests): Change dependencies to ....
48174         (tests-special): ... additions to this variable.
48175         * grp/Makefile (tests): Change dependencies to ....
48176         (tests-special): ... additions to this variable.
48177         * iconv/Makefile (xtests): Change dependencies to ....
48178         (xtests-special): ... additions to this variable.
48179         * iconvdata/Makefile (tests): Change dependencies to ....
48180         (tests-special): ... additions to this variable.
48181         * intl/Makefile (tests): Change dependencies to ....
48182         (tests-special): ... additions to this variable.  Also add
48183         $(objpfx)tst-gettext.out.
48184         * io/Makefile (tests): Change dependencies to ....
48185         (tests-special): ... additions to this variable.
48186         * libio/Makefile (tests): Change dependencies to ....
48187         (tests-special): ... additions to this variable.
48188         * malloc/Makefile (tests): Change dependencies to ....
48189         (tests-special): ... additions to this variable.
48190         * misc/Makefile (tests): Change dependencies to ....
48191         (tests-special): ... additions to this variable.
48192         * nptl/Makefile (tests): Change dependencies to ....
48193         (tests-special): ... additions to this variable.
48194         * nptl_db/Makefile (tests): Change dependencies to ....
48195         (tests-special): ... additions to this variable.
48196         * posix/Makefile (tests): Change dependencies to ....
48197         (tests-special): ... additions to this variable.
48198         (xtests): Change dependencies to ....
48199         (xtests-special): ... additions to this variable.
48200         * resolv/Makefile (tests): Change dependencies to ....
48201         (tests-special): ... additions to this variable.
48202         (xtests): Change dependencies to ....
48203         (xtests-special): ... additions to this variable.
48204         * stdio-common/Makefile (tests): Change dependencies to ....
48205         (tests-special): ... additions to this variable.
48206         (do-tst-unbputc): Remove target.
48207         (do-tst-printf): Likewise.
48208         * stdlib/Makefile (tests): Change dependencies to ....
48209         (tests-special): ... additions to this variable.
48210         * string/Makefile (tests): Change dependencies to ....
48211         (tests-special): ... additions to this variable.
48212         * sysdeps/x86/Makefile (tests): Change dependencies to ....
48213         (tests-special): ... additions to this variable.
48215         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
48216         whole file.
48217         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
48218         whole file.
48219         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
48220         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
48222         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
48223         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
48224         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
48225         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
48226         * conform/data/libgen.h-data [XPG3]: Likewise.
48227         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
48228         * conform/data/ndbm.h-data [XPG3]: Likewise.
48229         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
48230         * conform/data/netdb.h-data [XPG3]: Likewise.
48231         * conform/data/netinet/in.h-data [XPG3]: Likewise.
48232         * conform/data/poll.h-data [XPG3]: Likewise.
48233         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
48234         * conform/data/strings.h-data [XPG3]: Likewise.
48235         * conform/data/stropts.h-data [XPG3]: Likewise.
48236         * conform/data/sys/mman.h-data [XPG3]: Likewise.
48237         * conform/data/sys/resource.h-data [XPG3]: Likewise.
48238         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
48239         Likewise.
48240         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
48241         * conform/data/sys/time.h-data [XPG3]: Likewise.
48242         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
48243         * conform/data/sys/uio.h-data [XPG3]: Likewise.
48244         * conform/data/sys/un.h-data [XPG3]: Likewise.
48245         * conform/data/syslog.h-data [XPG3]: Likewise.
48246         * conform/data/ucontext.h-data [XPG3]: Likewise.
48247         * conform/data/utmpx.h-data [XPG3]: Likewise.
48248         * conform/data/varargs.h-data [UNIX98]: Enable file.
48250         * manual/Makefile (INSTALL_INFO): Remove variable setting.
48252         * math/libm-test.inc (struct test_f_f_data): Move expected results
48253         into structure for each rounding mode.
48254         (struct test_ff_f_data): Likewise.
48255         (struct test_ff_f_data_nexttoward): Likewise.
48256         (struct test_fi_f_data): Likewise.
48257         (struct test_fl_f_data): Likewise.
48258         (struct test_if_f_data): Likewise.
48259         (struct test_fff_f_data): Likewise.
48260         (struct test_c_f_data): Likewise.
48261         (struct test_f_f1_data): Likewise.
48262         (struct test_fF_f1_data): Likewise.
48263         (struct test_ffI_f1_data): Likewise.
48264         (struct test_c_c_data): Likewise.
48265         (struct test_cc_c_data): Likewise.
48266         (struct test_f_i_data): Likewise.
48267         (struct test_ff_i_data): Likewise.
48268         (struct test_f_l_data): Likewise.
48269         (struct test_f_L_data): Likewise.
48270         (struct test_fFF_11_data): Likewise.
48271         (RM_): New macro.
48272         (RM_FE_DOWNWARD): Likewise.
48273         (RM_FE_TONEAREST): Likewise.
48274         (RM_FE_TOWARDZERO): Likewise.
48275         (RM_FE_UPWARD): Likewise.
48276         (RUN_TEST_LOOP_f_f): Update references to expected results.
48277         (RUN_TEST_LOOP_2_f): Likewise.
48278         (RUN_TEST_LOOP_fff_f): Likewise.
48279         (RUN_TEST_LOOP_c_f): Likewise.
48280         (RUN_TEST_LOOP_f_f1): Likewise.
48281         (RUN_TEST_LOOP_fF_f1): Likewise.
48282         (RUN_TEST_LOOP_fI_f1): Likewise.
48283         (RUN_TEST_LOOP_ffI_f1): Likewise.
48284         (RUN_TEST_LOOP_c_c): Likewise.
48285         (RUN_TEST_LOOP_cc_c): Likewise.
48286         (RUN_TEST_LOOP_f_i): Likewise.
48287         (RUN_TEST_LOOP_f_i_tg): Likewise.
48288         (RUN_TEST_LOOP_ff_i_tg): Likewise.
48289         (RUN_TEST_LOOP_f_b): Likewise.
48290         (RUN_TEST_LOOP_f_b_tg): Likewise.
48291         (RUN_TEST_LOOP_f_l): Likewise.
48292         (RUN_TEST_LOOP_f_L): Likewise.
48293         (RUN_TEST_LOOP_fFF_11): Likewise.
48294         * math/gen-libm-test.pl (parse_args): Output four copies of
48295         expected results for each test.
48297         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48298         (__ASSUME_UTIMES): Remove.
48299         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48300         (__ASSUME_UTIMES): Likewise.
48302         * math/gen-auto-libm-tests.c: Update comment on output format.
48303         (output_for_one_input_case): Generate before-rounding and
48304         after-rounding information as conditions on output flags not
48305         floating-point format.
48306         * math/auto-libm-test-out: Regenerated.
48307         * math/gen-libm-test.pl (cond_value): New function.
48308         (or_cond_value): Use cond_value.
48309         (generate_testfile): Handle conditional exceptions.
48311 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
48313         * math/libm-test.inc (max_valid_error): New variable.
48314         (init_max_error): Take new argument specifying whether function
48315         results are exactly determined.  Set max_valid_error and bound
48316         other variables for errors based on this argument.
48317         (set_max_error): Do not record results above max_valid_error.
48318         (check_float_internal): Only accept errors of up to 0.5ulps if
48319         also at most max_valid_error.
48320         (START): Take new argument EXACT and pass it to init_max_error.
48321         (acos_test): Update call to START.
48322         (acos_test_tonearest): Likewise.
48323         (acos_test_towardzero): Likewise.
48324         (acos_test_downward): Likewise.
48325         (acos_test_upward): Likewise.
48326         (acosh_test): Likewise.
48327         (asin_test): Likewise.
48328         (asin_test_tonearest): Likewise.
48329         (asin_test_towardzero): Likewise.
48330         (asin_test_downward): Likewise.
48331         (asin_test_upward): Likewise.
48332         (asinh_test): Likewise.
48333         (atan_test): Likewise.
48334         (atanh_test): Likewise.
48335         (atan2_test): Likewise.
48336         (cabs_test): Likewise.
48337         (cacos_test): Likewise.
48338         (cacosh_test): Likewise.
48339         (carg_test): Likewise.
48340         (casin_test): Likewise.
48341         (casinh_test): Likewise.
48342         (catan_test): Likewise.
48343         (catanh_test): Likewise.
48344         (cbrt_test): Likewise.
48345         (ccos_test): Likewise.
48346         (ccosh_test): Likewise.
48347         (ceil_test): Likewise.
48348         (cexp_test): Likewise.
48349         (cimag_test): Likewise.
48350         (clog_test): Likewise.
48351         (clog10_test): Likewise.
48352         (conj_test): Likewise.
48353         (copysign_test): Likewise.
48354         (cos_test): Likewise.
48355         (cos_test_tonearest): Likewise.
48356         (cos_test_towardzero): Likewise.
48357         (cos_test_downward): Likewise.
48358         (cos_test_upward): Likewise.
48359         (cosh_test): Likewise.
48360         (cosh_test_tonearest): Likewise.
48361         (cosh_test_towardzero): Likewise.
48362         (cosh_test_downward): Likewise.
48363         (cosh_test_upward): Likewise.
48364         (cpow_test): Likewise.
48365         (cproj_test): Likewise.
48366         (creal_test): Likewise.
48367         (csin_test): Likewise.
48368         (csinh_test): Likewise.
48369         (csqrt_test): Likewise.
48370         (ctan_test): Likewise.
48371         (ctan_test_tonearest): Likewise.
48372         (ctan_test_towardzero): Likewise.
48373         (ctan_test_downward): Likewise.
48374         (ctan_test_upward): Likewise.
48375         (ctanh_test): Likewise.
48376         (ctanh_test_tonearest): Likewise.
48377         (ctanh_test_towardzero): Likewise.
48378         (ctanh_test_downward): Likewise.
48379         (ctanh_test_upward): Likewise.
48380         (erf_test): Likewise.
48381         (erfc_test): Likewise.
48382         (exp_test): Likewise.
48383         (exp_test_tonearest): Likewise.
48384         (exp_test_towardzero): Likewise.
48385         (exp_test_downward): Likewise.
48386         (exp_test_upward): Likewise.
48387         (exp10_test): Likewise.
48388         (exp10_test_tonearest): Likewise.
48389         (exp10_test_towardzero): Likewise.
48390         (exp10_test_downward): Likewise.
48391         (exp10_test_upward): Likewise.
48392         (pow10_test): Likewise.
48393         (exp2_test): Likewise.
48394         (expm1_test): Likewise.
48395         (expm1_test_tonearest): Likewise.
48396         (expm1_test_towardzero): Likewise.
48397         (expm1_test_downward): Likewise.
48398         (expm1_test_upward): Likewise.
48399         (fabs_test): Likewise.
48400         (fdim_test): Likewise.
48401         (floor_test): Likewise.
48402         (fma_test): Likewise.
48403         (fma_test_towardzero): Likewise.
48404         (fma_test_downward): Likewise.
48405         (fma_test_upward): Likewise.
48406         (fmax_test): Likewise.
48407         (fmin_test): Likewise.
48408         (fmod_test): Likewise.
48409         (fpclassify_test): Likewise.
48410         (frexp_test): Likewise.
48411         (hypot_test): Likewise.
48412         (ilogb_test): Likewise.
48413         (isfinite_test): Likewise.
48414         (finite_test): Likewise.
48415         (isgreater_test): Likewise.
48416         (isgreaterequal_test): Likewise.
48417         (isinf_test): Likewise.
48418         (isless_test): Likewise.
48419         (islessequal_test): Likewise.
48420         (islessgreater_test): Likewise.
48421         (isnan_test): Likewise.
48422         (isnormal_test): Likewise.
48423         (issignaling_test): Likewise.
48424         (isunordered_test): Likewise.
48425         (j0_test): Likewise.
48426         (j1_test): Likewise.
48427         (jn_test): Likewise.
48428         (ldexp_test): Likewise.
48429         (lgamma_test): Likewise.
48430         (gamma_test): Likewise.
48431         (lrint_test): Likewise.
48432         (lrint_test_tonearest): Likewise.
48433         (lrint_test_towardzero): Likewise.
48434         (lrint_test_downward): Likewise.
48435         (lrint_test_upward): Likewise.
48436         (llrint_test): Likewise.
48437         (llrint_test_tonearest): Likewise.
48438         (llrint_test_towardzero): Likewise.
48439         (llrint_test_downward): Likewise.
48440         (llrint_test_upward): Likewise.
48441         (log_test): Likewise.
48442         (log10_test): Likewise.
48443         (log1p_test): Likewise.
48444         (log2_test): Likewise.
48445         (logb_test): Likewise.
48446         (logb_test_downward): Likewise.
48447         (lround_test): Likewise.
48448         (llround_test): Likewise.
48449         (modf_test): Likewise.
48450         (nearbyint_test): Likewise.
48451         (nextafter_test): Likewise.
48452         (nexttoward_test): Likewise.
48453         (pow_test): Likewise.
48454         (pow_test_tonearest): Likewise.
48455         (pow_test_towardzero): Likewise.
48456         (pow_test_downward): Likewise.
48457         (pow_test_upward): Likewise.
48458         (remainder_test): Likewise.
48459         (drem_test): Likewise.
48460         (remainder_test_tonearest): Likewise.
48461         (drem_test_tonearest): Likewise.
48462         (remainder_test_towardzero): Likewise.
48463         (drem_test_towardzero): Likewise.
48464         (remainder_test_downward): Likewise.
48465         (drem_test_downward): Likewise.
48466         (remainder_test_upward): Likewise.
48467         (drem_test_upward): Likewise.
48468         (remquo_test): Likewise.
48469         (rint_test): Likewise.
48470         (rint_test_tonearest): Likewise.
48471         (rint_test_towardzero): Likewise.
48472         (rint_test_downward): Likewise.
48473         (rint_test_upward): Likewise.
48474         (round_test): Likewise.
48475         (scalb_test): Likewise.
48476         (scalbn_test): Likewise.
48477         (scalbln_test): Likewise.
48478         (signbit_test): Likewise.
48479         (sin_test): Likewise.
48480         (sin_test_tonearest): Likewise.
48481         (sin_test_towardzero): Likewise.
48482         (sin_test_downward): Likewise.
48483         (sin_test_upward): Likewise.
48484         (sincos_test): Likewise.
48485         (sinh_test): Likewise.
48486         (sinh_test_tonearest): Likewise.
48487         (sinh_test_towardzero): Likewise.
48488         (sinh_test_downward): Likewise.
48489         (sinh_test_upward): Likewise.
48490         (sqrt_test): Likewise.
48491         (sqrt_test_tonearest): Likewise.
48492         (sqrt_test_towardzero): Likewise.
48493         (sqrt_test_downward): Likewise.
48494         (sqrt_test_upward): Likewise.
48495         (tan_test): Likewise.
48496         (tan_test_tonearest): Likewise.
48497         (tan_test_towardzero): Likewise.
48498         (tan_test_downward): Likewise.
48499         (tan_test_upward): Likewise.
48500         (tanh_test): Likewise.
48501         (tgamma_test): Likewise.
48502         (trunc_test): Likewise.
48503         (y0_test): Likewise.
48504         (y1_test): Likewise.
48505         (yn_test): Likewise.
48506         (significand_test): Likewise.
48508         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
48509         individual tests in comment.
48510         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
48511         (prev_max_error): New variable.
48512         (prev_real_max_error): Likewise.
48513         (prev_imag_max_error): Likewise.
48514         (compare_ulp_data): Don't refer to test names in comment.
48515         (find_test_ulps): Remove function.
48516         (find_function_ulps): Likewise.
48517         (find_complex_function_ulps): Likewise.
48518         (init_max_error): Take function name as argument.  Look up ulps
48519         for that function.
48520         (print_ulps): Remove function.
48521         (print_max_error): Use prev_max_error instead of calling
48522         find_function_ulps.
48523         (print_complex_max_error): Use prev_real_max_error and
48524         prev_imag_max_error instead of calling find_complex_function_ulps.
48525         (check_float_internal): Take max_ulp parameter instead of calling
48526         find_test_ulps.  Don't call print_ulps.
48527         (check_float): Update call to check_float_internal.
48528         (check_complex): Update calls to check_float_internal.
48529         (START): Pass argument to init_max_error.
48530         * math/gen-libm-test.pl (%results): Don't include "kind"
48531         information.
48532         (parse_ulps): Don't handle ulps of individual tests.
48533         (print_ulps_file): Likewise.
48534         (output_ulps): Likewise.
48535         * math/README.libm-test: Update.
48536         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
48537         individual tests.
48538         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
48539         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
48540         * sysdeps/arm/libm-test-ulps: Likewise.
48541         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
48542         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
48543         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
48544         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
48545         * sysdeps/microblaze/libm-test-ulps: Likewise.
48546         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
48547         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
48548         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48549         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
48550         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48551         * sysdeps/sh/libm-test-ulps: Likewise.
48552         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48553         * sysdeps/tile/libm-test-ulps: Likewise.
48554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48556 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
48558         * math/libm-test.inc (print_complex_max_error): Check separately
48559         whether real and imaginary errors are within allowed range and
48560         pass 0 to print_complex_function_ulps instead of value within
48561         allowed range.
48563 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48565         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
48566         formatting.
48567         (get_handles_fopen): Likewise.
48568         (do_write_test): Likewise.
48570         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
48572         * libio/fileops.c (do_ftell): Use cached offset when
48573         available.
48574         * libio/iofwide.c (do_ftell_wide): Likewise.
48575         * libio/iofdopen.c (_IO_new_fdopen): Don't use
48576         _IO_file_attach.
48577         * libio/wfileops.c (_IO_fwide): Don't cache offset.
48579         [BZ #16532]
48580         * libio/libioP.h (get_file_offset): New function.
48581         * libio/fileops.c (get_file_offset): Likewise.
48582         (do_ftell): Likewise.
48583         (_IO_new_file_seekoff): Split out ftell logic.
48584         * libio/wfileops.c (do_ftell_wide): Likewise.
48585         (_IO_wfile_seekoff): Split out ftell logic.
48586         * libio/tst-ftell-active-handler.c: New test case.
48587         * libio/Makefile (tests): Add it.
48589 2014-03-03  Roland McGrath  <roland@hack.frob.com>
48591         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
48592         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
48594 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48596         [BZ #16639]
48597         * nscd/connections.c (nscd_init): Call do_exit.
48598         (start_threads): Call do_exit and notify_parent.
48599         (begin_drop_privileges): Call do_exit.
48600         (finish_drop_privileges): Likewise.
48601         * nscd/selinux.c (preserve_capabilities): Likewise.
48602         (install_real_capabilities): Likewise.
48603         (nscd_selinux_enabled): Likewise.
48604         (avc_create_thread): Likewise.
48605         (avc_alloc_lock): Likewise.
48606         (nscd_avc_init): Likewise.
48607         * nscd/nscd.c (parent_fd): New static variable.
48608         (main): Create a pipe between parent and child processes.
48609         Skip closing parent_fd.
48610         (monitor_child): New function.
48611         (do_exit): Likewise.
48612         (notify_parent): Likewise.
48613         * nscd/nscd.h (notify_parent): Likewise.
48614         (do_exit): Likewise.
48616 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
48618         * malloc/malloc.c (__libc_calloc): Revert last change.
48620 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48624 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
48626         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
48627         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
48628         implementation.
48629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48630         (__libc_ifunc_impl_list): Likewise.
48631         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
48632         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
48633         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
48634         * string/strrchr.c: Define STRRCHR.
48636 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
48638         * benchtest/bench-strtok.c (simple_strtok): Delete.
48639         (strtok_string): Use as benchmark.
48640         * string/strtok (STRTOK): New macro.
48642 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
48644         * manual/threads.texi: Add header and standard comments to all
48645         functions.
48647         * elf/dl-lookup.c (check_match): New function.
48648         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
48649         (do_lookup_x): Remove nested function check_match. Use non-nested
48650         function check_match.
48652 2014-02-28  Roland McGrath  <roland@hack.frob.com>
48654         * csu/Makefile (generated, before-compile): Use += rather than =.
48655         * catgets/Makefile (generated, generated-dirs): Likewise.
48656         * debug/Makefile (generated): Likewise.
48657         * dlfcn/Makefile (generated): Likewise.
48658         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
48659         * iconvdata/Makefile (before-compile, generated): Likewise.
48660         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
48661         * libio/Makefile (generated): Likewise.
48662         * malloc/Makefile (generated): Likewise.
48663         * manual/Makefile (generated, generated-dirs): Likewise.
48664         * misc/Makefile (generated): Likewise.
48665         * posix/Makefile (generated): Likewise.
48666         * resolv/Makefile (generated): Likewise.
48667         * sunrpc/Makefile (generated, generated-dirs): Likewise.
48668         * timezone/Makefile (generated, generated-dirs): Likewise.
48670         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
48672 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48674         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
48675         power8 implementation.
48676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
48677         file: POWER8 llround ifunc implementation.
48678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
48679         (__lllround): Add POWER8 implementation.
48680         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
48681         POWER8 llround implementation.
48683         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
48684         power8 implementation.
48685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
48686         file: POWER8 llrint ifunc implementation.
48687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
48688         Add POWER8 implementation.
48689         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
48690         POWER8 llrint implementation.
48692         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
48693         power8 implementation.
48694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
48695         file: POWER8 finite ifunc implementation.
48696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
48697         Add POWER8 implementation.
48698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
48699         Likewise.
48700         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
48701         POWER8 finite implementation.
48702         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
48704         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
48705         power8 implementation.
48706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
48707         file: POWER8 isinf ifunc implementation.
48708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
48709         POWER8 implementation.
48710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
48711         Likewise.
48712         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
48713         isinf implementation.
48714         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
48716         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
48717         (INIT_ARCH): Add hwcap2 initialization.
48718         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
48719         power8 implementation.
48720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
48721         file: POWER8 isnan ifunc implementation.
48722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
48723         POWER8 implementation.
48724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
48725         Likewise.
48726         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
48727         isnan implementation.
48728         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
48730 2014-02-27  Joey Ye  <joey.ye@arm.com>
48732         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
48733         (_FP_NANFRAC_Q): Set to zero.
48735 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48737         [BZ #16623]
48738         * math/auto-libm-test-in: New test inputs.
48739         * math/auto-libm-test-out: Regenerate.
48740         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
48741         and DA.
48742         (__cos): Likewise.
48743         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
48745 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
48747         * scripts/evaluate-test.sh: Take new argument indicating whether
48748         failure is expected.
48749         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
48750         indicating whether failure is expected.
48751         * conform/Makefile (test-xfail-run-conformtest): New variable.
48752         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
48753         level.
48754         * posix/Makefile (test-xfail-annexc): New variable.
48755         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
48757 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
48759         * argp/Makefile: Include Makeconfig immediately after defining
48760         subdir.
48761         * assert/Makefile: Likewise.
48762         * benchtests/Makefile: Likewise.
48763         * catgets/Makefile: Likewise.
48764         * conform/Makefile: Likewise.
48765         * crypt/Makefile: Likewise.
48766         * csu/Makefile: Likewise.
48767         (all): Remove target.
48768         * ctype/Makefile: Include Makeconfig immediately after defining
48769         subdir.
48770         * debug/Makefile: Likewise.
48771         * dirent/Makefile: Likewise.
48772         * dlfcn/Makefile: Likewise.
48773         * gmon/Makefile: Likewise.
48774         * gnulib/Makefile: Likewise.
48775         * grp/Makefile: Likewise.
48776         * gshadow/Makefile: Likewise.
48777         * hesiod/Makefile: Likewise.
48778         * hurd/Makefile: Likewise.
48779         (all): Remove target.
48780         * iconvdata/Makefile: Include Makeconfig immediately after
48781         defining subdir.
48782         * inet/Makefile: Likewise.
48783         * intl/Makefile: Likewise.
48784         * io/Makefile: Likewise.
48785         * libio/Makefile: Likewise.
48786         (all): Remove target.
48787         * locale/Makefile: Include Makeconfig immediately after defining
48788         subdir.
48789         * login/Makefile: Likewise.
48790         * mach/Makefile: Likewise.
48791         (all): Remove target.
48792         * malloc/Makefile: Include Makeconfig immediately after defining
48793         subdir.
48794         (all): Remove target.
48795         * manual/Makefile: Include Makeconfig immediately after defining
48796         subdir.
48797         * math/Makefile: Likewise.
48798         * misc/Makefile: Likewise.
48799         * nis/Makefile: Likewise.
48800         * nss/Makefile: Likewise.
48801         * po/Makefile: Likewise.
48802         (all): Remove target.
48803         * posix/Makefile: Include Makeconfig immediately after defining
48804         subdir.
48805         * pwd/Makefile: Likewise.
48806         * resolv/Makefile: Likewise.
48807         * resource/Makefile: Likewise.
48808         * rt/Makefile: Likewise.
48809         * setjmp/Makefile: Likewise.
48810         * shadow/Makefile: Likewise.
48811         * signal/Makefile: Likewise.
48812         * socket/Makefile: Likewise.
48813         * soft-fp/Makefile: Likewise.
48814         * stdio-common/Makefile: Likewise.
48815         * stdlib/Makefile: Likewise.
48816         * streams/Makefile: Likewise.
48817         * string/Makefile: Likewise.
48818         * sunrpc/Makefile: Likewise.
48819         (all): Remove target.
48820         * sysvipc/Makefile: Include Makeconfig immediately after defining
48821         subdir.
48822         * termios/Makefile: Likewise.
48823         * time/Makefile: Likewise.
48824         * timezone/Makefile: Likewise.
48825         (all): Remove target.
48826         * wcsmbs/Makefile: Include Makeconfig immediately after defining
48827         subdir.
48828         * wctype/Makefile: Likewise.
48830 2014-02-26  Steve Ellcey  <sellcey@mips.com>
48832         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
48833         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
48834         (libc_feholdexcept_setround_mips): Ditto.
48835         (libc_feholdsetround): New.
48836         (libc_feholdsetroundf): New.
48837         (libc_feholdsetroundl): New.
48838         (libc_feupdateenv_test_mips): New.
48839         (libc_feupdateenv_test): New.
48840         (libc_feupdateenv_testf): New.
48841         (libc_feupdateenv_testl): New.
48842         (libc_feresetround): New.
48843         (libc_feresetroundf): New.
48844         (libc_feresetroundl): New.
48845         (libc_fetestexcept_mips): New.
48846         (libc_fetestexcept): New.
48847         (libc_fetestexceptf): New.
48848         (libc_fetestexceptl): New.
48849         (HAVE_RM_CTX): New.
48850         (libc_feholdexcept_setround_mips_ctx): New.
48851         (libc_feholdexcept_setround_ctx): New.
48852         (libc_feholdexcept_setroundf_ctx): New.
48853         (libc_feholdexcept_setroundl_ctx): New.
48854         (libc_fesetenv_mips_ctx): New.
48855         (libc_fesetenv_ctx): New.
48856         (libc_fesetenv_ctxf): New.
48857         (libc_fesetenv_ctxl): New.
48858         (libc_feupdateenv_mips_ctx): New.
48859         (libc_feupdateenv_ctx): New.
48860         (libc_feupdateenvf_ctx): New.
48861         (libc_feupdateenvl_ctx): New.
48862         (libc_feholdsetround_mips_ctx): New.
48863         (libc_feholdsetround_ctx): New.
48864         (libc_feholdsetroundf_ctx): New.
48865         (libc_feholdsetroundl_ctx): New.
48866         (libc_feresetround_mips_ctx): New.
48867         (libc_feresetround_ctx): New.
48868         (libc_feresetroundf_ctx): New.
48869         (libc_feresetroundl_ctx): New.
48871 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
48873         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
48875         * manual/ipc.texi: New file.
48876         * manual/Makefile (chapters): Add ipc.
48877         * manual/job.texi: Add "Inter-Process Communication" to next.
48878         * manual/process.texi: Add "Inter-Process Communication" to prev.
48880 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48882         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48884 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
48886         * malloc/malloc.c (__libc_calloc): Simplify implementation.
48888         * manual/arith.texi: Fix spaces after sentences.
48889         * manual/charset.texi: Likewise.
48890         * manual/errno.texi: Likewise.
48891         * manual/install.texi: Likewise.
48892         * manual/llio.texi: Likewise.
48893         * manual/locale.texi: Likewise.
48894         * manual/maint.texi: Likewise.
48895         * manual/math.texi: Likewise.
48896         * manual/memory.texi: Likewise.
48897         * manual/message.texi: Likewise.
48898         * manual/probes.texi: Likewise.
48899         * manual/resource.texi: Likewise.
48900         * manual/signal.texi: Likewise.
48901         * manual/socket.texi: Likewise.
48902         * manual/stdio.texi: Likewise.
48903         * manual/string.texi: Likewise.
48904         * manual/time.texi: Likewise.
48905         * manual/users.texi: Likewise.
48907 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
48909         [BZ #16632]
48910         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
48911         _DEFAULT_SOURCE is defined.
48913 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
48914             Carlos O'Donell  <carlos@redhat.com>
48916         [BZ #16613]
48917         * elf/dl-tls.c (_dl_count_modids): New function.
48918         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
48919         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
48920         audit library and increment generation counter.
48921         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
48922         * elf/tst-audit9.c: New file.
48923         * elf/tst-auditmod9a.c: New file.
48924         * elf/tst-auditmod9b.c: New file.
48925         * elf/Makefile: Add rules to build and run tst-audit9.
48927 2014-02-25  Florian Weimer  <fweimer@redhat.com>
48929         [BZ #15347]
48930         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
48932 2014-02-25  Will Newton  <will.newton@linaro.org>
48934         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
48935         (__longjmp): Restore sp and lr before restoring callee
48936         saved registers.  Add longjmp and longjmp_target
48937         SystemTap probe point.
48938         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
48939         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
48940         Define to zero to match jmpbuf layout.
48941         * sysdeps/arm/setjmp.S: Include stap-probe.h.
48942         (__sigsetjmp): Save sp and lr before saving callee
48943         saved registers.  Add setjmp SystemTap probe point.
48945 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
48947         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48949 2014-02-24  Andreas Schwab  <schwab@suse.de>
48951         [BZ #15804]
48952         * elf/pldd.c (wait_for_ptrace_stop): New function.
48953         (main): Call it after attaching.
48955 2014-02-22  Roland McGrath  <roland@hack.frob.com>
48957         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
48958         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
48959         Versions files is now verboten.
48960         * hurd/Versions (libc: GLIBC_2.0):
48961         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
48962         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
48963         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
48964         * mach/Versions: Likewise.
48966         * csu/Versions: Remove unused %include.
48967         * resolv/Versions: Likewise.
48969 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
48971         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
48972         ($(objpfx)check-local-headers.out): Likewise.
48973         ($(objpfx)begin-end-check.out): Likewise.
48974         * Makerules (check-abi-%.out): Likewise.
48975         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
48976         ($(objpfx)test2.cat): Likewise.
48977         ($(objpfx)de/libc.cat): Likewise.
48978         ($(objpfx)test-gencat.out): Likewise.
48979         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
48980         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
48981         ($(objpfx)noload-mem): Likewise.
48982         ($(objpfx)tst-pathopt.out): Likewise.
48983         ($(objpfx)tst-rtld-load-self.out): Likewise.
48984         ($(objpfx)tst-array1-cmp.out): Likewise.
48985         ($(objpfx)tst-array1-static-cmp.out): Likewise.
48986         ($(objpfx)tst-array2-cmp.out): Likewise.
48987         ($(objpfx)tst-array3-cmp.out): Likewise.
48988         ($(objpfx)tst-array4-cmp.out): Likewise.
48989         ($(objpfx)tst-array5-cmp.out): Likewise.
48990         ($(objpfx)tst-array5-static-cmp.out): Likewise.
48991         ($(objpfx)check-textrel.out): Likewise.
48992         ($(objpfx)check-execstack.out): Likewise.
48993         ($(objpfx)check-localplt.out): Likewise.
48994         ($(objpfx)order2-cmp.out): Likewise.
48995         ($(objpfx)tst-leaks1-mem): Likewise.
48996         ($(objpfx)tst-leaks1-static-mem): Likewise.
48997         ($(objpfx)tst-initorder-cmp.out): Likewise.
48998         ($(objpfx)tst-initorder2-cmp.out): Likewise.
48999         ($(objpfx)tst-unused-dep.out): Likewise.
49000         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
49001         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
49002         * iconv/Makefile (test-iconvconfig): Likewise.
49003         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
49004         ($(objpfx)iconv-test.out): Likewise.
49005         ($(objpfx)tst-tables.out): Likewise.
49006         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
49007         ($(objpfx)tst-gettext.out): Likewise.
49008         ($(objpfx)tst-translit.out): Likewise.
49009         ($(objpfx)tst-gettext2.out): Likewise.
49010         ($(objpfx)tst-gettext4.out): Likewise.
49011         ($(objpfx)tst-gettext6.out): Likewise.
49012         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
49013         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
49014         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
49015         ($(objpfx)tst-fopenloc-mem.out): Likewise.
49016         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
49017         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
49018         * posix/Makefile ($(objpfx)globtest.out): Likewise.
49019         ($(objpfx)wordexp-tst.out): Likewise.
49020         ($(objpfx)annexc.out): Likewise.
49021         ($(objpfx)tst-fnmatch-mem): Likewise.
49022         ($(objpfx)bug-regex2-mem): Likewise.
49023         ($(objpfx)bug-regex14-mem): Likewise.
49024         ($(objpfx)bug-regex21-mem): Likewise.
49025         ($(objpfx)bug-regex31-mem): Likewise.
49026         ($(objpfx)tst-vfork3-mem): Likewise.
49027         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
49028         ($(objpfx)tst-pcre-mem): Likewise.
49029         ($(objpfx)tst-boost-mem): Likewise.
49030         ($(objpfx)tst-getconf.out): Likewise.
49031         ($(objpfx)bug-ga2-mem): Likewise.
49032         ($(objpfx)bug-glob2-mem): Likewise.
49033         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
49034         ($(objpfx)mtrace-tst-leaks2): Likewise.
49035         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
49036         ($(objpfx)tst-printf.out): Likewise.
49037         ($(objpfx)tst-setvbuf1.out): Likewise.
49038         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
49039         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
49040         ($(objpfx)tst-fmtmsg.out): Likewise.
49041         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
49042         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
49044         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
49045         * bits/sigaction.h [__USE_MISC]: Likewise.
49046         * bits/waitstatus.h: Update #endif comments.
49047         * ctype/ctype.h: Likewise.
49048         * dirent/dirent.h: Likewise.
49049         [__USE_MISC]: Remove redundant conditionals.
49050         * grp/grp.h: Update #endif comments.
49051         [__USE_GNU]: Remove redundant conditionals.
49052         [__USE_MISC]: Likewise.
49053         * inet/netinet/in.h [__USE_GNU]: Likewise.
49054         * io/sys/stat.h [__USE_MISC]: Likewise.
49055         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
49056         * libio/bits/stdio.h: Update #endif comments.
49057         [__USE_MISC]: Remove redundant conditionals.
49058         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
49059         * libio/stdio.h: Update #endif comments.
49060         [__USE_MISC]: Remove redundant conditionals.
49061         * math/bits/math-finite.h [__USE_MISC]: Likewise.
49062         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
49063         * math/math.h: Update #else and #endif comments.
49064         [__USE_MISC]: Remove redundant conditionals.
49065         * misc/sys/uio.h: Update #endif comments.
49066         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
49067         * posix/glob.h [__USE_MISC]: Likewise.
49068         * posix/sys/types.h: Update #endif comments.
49069         [__USE_MISC]: Remove redundant conditionals.
49070         * posix/sys/wait.h: Update #endif comments.
49071         [__USE_MISC]: Remove redundant conditionals.
49072         * posix/unistd.h: Update #endif comments.
49073         [__USE_MISC]: Remove redundant conditionals.
49074         * pwd/pwd.h [__USE_GNU]: Likewise.
49075         [__USE_MISC]: Likewise.
49076         * resolv/netdb.h [__USE_GNU]: Likewise.
49077         * signal/signal.h: Update #endif comments.
49078         [__USE_MISC]: Remove redundant conditionals.
49079         * stdlib/stdlib.h: Update #else and #endif comments.
49080         [__USE_MISC]: Remove redundant conditionals.
49081         [__USE_GNU]: Likewise.
49082         * string/bits/string2.h [__USE_MISC]: Likewise.
49083         * string/string.h: Update #endif comments.
49084         [__USE_MISC]: Remove redundant conditionals.
49085         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
49086         Likewise.
49087         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
49088         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
49089         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
49090         Likewise.
49091         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
49092         Likewise.
49093         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
49094         comments.
49095         [__USE_MISC]: Remove redundant conditionals.
49096         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
49097         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
49098         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
49099         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
49100         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
49101         Likewise.
49102         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
49103         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
49104         Likewise.
49105         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
49106         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
49107         Likewise.
49108         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
49109         Likewise.
49110         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
49111         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
49112         Likewise.
49113         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
49114         Likewise.
49115         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
49116         * sysdeps/x86/bits/string.h: Update #endif comments.
49117         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
49118         conditionals.
49119         * time/sys/time.h: Update #endif comments.
49120         * time/time.h: Likewise.
49121         [__USE_MISC]: Remove redundant conditionals.
49123 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
49125         [BZ #16600]
49126         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
49128 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
49130         * Versions.def (librt): Add GLIBC_2.17.
49132 2014-02-21  Adam Conrad  <adconrad@0c3.net>
49134         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
49135         synonym for _SYS_AUXV_H to allow direct inclusion.
49136         * sysdeps/sparc/bits/hwcap.h: Likewise.
49137         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
49138         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
49139         * sysdeps/sparc/sysdep.h: Likewise.
49141 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49143         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
49145 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
49147         * benchtests/bench-strrchr.c: Print length instead of position.
49149 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
49151         [BZ #16611]
49152         * sysdeps/unix/sysv/linux/kernel-features.h
49153         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
49154         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
49155         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
49156         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
49157         Likewise.
49158         [__i386__ || __powerpc__ || __sh__ || __sparc__]
49159         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
49160         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
49161         (__ASSUME_SENDMMSG): Define instead of using previous
49162         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
49163         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49164         (__ASSUME_SENDMMSG_SYSCALL): Define.
49165         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49166         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
49167         Likewise.
49168         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49169         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
49170         Likewise.
49171         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49172         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
49173         Likewise.
49174         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
49175         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
49176         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
49177         [__ASSUME_SENDMMSG]: Change conditionals to
49178         [__ASSUME_SENDMMSG_SOCKETCALL].
49179         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49180         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
49181         Define.
49182         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49183         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
49184         Likewise.
49185         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
49186         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
49187         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
49188         [!__ASSUME_SENDMMSG]: Change conditional to
49189         [!__ASSUME_SENDMMSG_SOCKETCALL].
49190         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49191         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
49192         Define.
49194         [BZ #16610]
49195         * sysdeps/unix/sysv/linux/kernel-features.h
49196         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
49197         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
49198         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
49199         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
49200         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
49201         [__i386__ || __sparc__]
49202         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
49203         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
49204         (__ASSUME_RECVMMSG): Define instead of using previous
49205         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
49206         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49207         (__ASSUME_RECVMMSG_SYSCALL): Define.
49208         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49209         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49210         Likewise.
49211         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49212         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49213         Likewise.
49214         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49215         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49216         Likewise.
49217         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
49218         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
49219         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
49220         [__ASSUME_RECVMMSG]: Change condition to
49221         [__ASSUME_RECVMMSG_SOCKETCALL].
49222         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49223         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49224         Define.
49225         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
49226         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49227         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49228         Likewise.
49229         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
49230         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
49231         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
49232         [!__ASSUME_RECVMMSG]: Change condition to
49233         [!__ASSUME_RECVMMSG_SOCKETCALL].
49234         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49235         (__ASSUME_RECVMMSG_SYSCALL): Define.
49237         [BZ #16609]
49238         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
49239         __powerpc__ || __s390__ || __sh__ || __sparc__]
49240         (__ASSUME_SOCKETCALL): Define.
49241         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
49242         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
49243         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
49244         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
49245         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
49246         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
49247         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
49248         (__ASSUME_ACCEPT4): Define instead of using previous
49249         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
49250         __powerpc__ || __sparc__ || __s390__)] condition.
49251         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49252         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
49253         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
49254         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
49255         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
49256         [!__ASSUME_ACCEPT4]: Change condition to
49257         [!__ASSUME_ACCEPT4_SOCKETCALL].
49258         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49259         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
49260         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
49261         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49262         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
49263         __ASSUME_ACCEPT4_SYSCALL.
49264         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
49265         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
49266         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49267         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
49268         __ASSUME_ACCEPT4_SYSCALL.
49269         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
49270         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
49271         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
49272         [__ASSUME_ACCEPT4]: Change condition to
49273         [__ASSUME_ACCEPT4_SOCKETCALL].
49274         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49275         (__ASSUME_SOCKETCALL): Define.
49276         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
49277         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49278         (__ASSUME_SOCKETCALL): Define.
49279         (__ASSUME_ACCEPT4): Remove.
49280         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
49281         Define.
49282         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49283         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
49284         Likewise.
49285         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49286         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
49288         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
49289         macro.
49290         (HWCAP_ARM_LPAE): Likewise.
49291         (HWCAP_ARM_EVTSTRM): Likewise.
49292         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
49293         Add vpfd32, lpae and evtstrm.
49294         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
49295         Increase to 22.
49297 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
49299         * math/auto-libm-test-in: Add tests of clog10.
49300         * math/auto-libm-test-out: Regenerated.
49301         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
49302         * sysdeps/i386/fpu/libm-test-ulps: Update.
49303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49305 2014-02-18  Andreas Schwab  <schwab@suse.de>
49307         [BZ #16574]
49308         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
49309         Store non-zero if the second buffer was newly allocated.
49310         (send_dg): Likewise.
49311         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
49312         to send_vc and send_dg.
49313         (res_nsend): Pass NULL for ansp2_malloced.
49314         * resolv/res_query.c (__libc_res_nquery): Add parameter
49315         answerp2_malloced and pass it down to __libc_res_nsend.
49316         (res_nquery): Pass additional NULL to __libc_res_nquery.
49317         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
49318         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
49319         second answer buffer if answerp2_malloced was set.
49320         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
49321         (__libc_res_nquerydomain): Add parameter
49322         answerp2_malloced and pass it down to __libc_res_nquery.
49323         (res_nquerydomain): Pass additional NULL to
49324         __libc_res_nquerydomain.
49325         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
49326         additional NULL to __libc_res_nsend and __libc_res_nquery.
49327         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
49328         additional NULL to __libc_res_nsearch.
49329         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
49330         parameter of __libc_res_nsearch to check for separately allocated
49331         second buffer.
49332         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
49333         __libc_res_nquery.
49334         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
49335         additional NULL to __libc_res_nquery.
49336         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
49337         __libc_res_nsearch.
49338         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
49339         * include/resolv.h: Update prototypes of __libc_res_nquery,
49340         __libc_res_nsearch, __libc_res_nsend.
49342 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
49344         * math/auto-libm-test-in: Add tests of fma.
49345         * math/auto-libm-test-out: Regenerated.
49346         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
49347         (fma_towardzero_test_data): Likewise.
49348         (fma_downward_test_data): Likewise.
49349         (fma_upward_test_data): Likewise.
49350         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
49351         mpc_mode.
49352         (rounding_modes): Add values for new field.
49353         (func_calc_method): Add value mpfr_fff_f.
49354         (func_calc_desc): Add mpfr_fff_f union field.
49355         (test_function): Add field exact_args.
49356         (FUNC): Add macro argument EXACT_ARGS.
49357         (FUNC_mpfr_f_f): Update call to FUNC.
49358         (FUNC_mpfr_f_f): Likewise.
49359         (FUNC_mpfr_ff_f): Likewise.
49360         (FUNC_mpfr_if_f): Likewise.
49361         (FUNC_mpc_c_f): Likewise.
49362         (FUNC_mpc_c_c): Likewise.
49363         (test_functions): Add fma.  Update calls to FUNC.
49364         (handle_input_arg): Add argument exact_args.
49365         (add_test): Update call to handle_input_arg.
49366         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
49367         (output_for_one_input_case): Update call to calc_generic_results.
49368         Recalculate exact zero results in each rounding mode.
49370         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
49371         non-negative before setting low bit.
49372         * math/auto-libm-test-in: Mark one asin test possibly having
49373         spurious underflow.
49374         * math/auto-libm-test-out: Regenerated.
49375         * sysdeps/i386/fpu/libm-test-ulps: Update.
49376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49378 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
49380         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
49381         * sysdeps/unix/sysv/linux/microblaze: Move directory from
49382         ports/sysdeps/unix/sysv/linux/microblaze.
49383         * README: Add missing listing for microblaze*-*-linux-gnu.
49385 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
49387         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
49388         duplicate code
49390 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
49392         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
49393         * sysdeps/unix/sysv/linux/ia64: Move directory from
49394         ports/sysdeps/unix/sysv/linux/ia64.
49395         * README: Update listing for ia64-*-linux-gnu.
49397 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
49398             Joseph Myers  <joseph@codesourcery.com>
49400         * Makeconfig (test-name): New variable.
49401         (evaluate-test): Likewise.
49402         * Makerules (do-test-clean): Remove .test-result files.
49403         (common-mostlyclean): Likewise.
49404         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
49405         * scripts/evaluate-test.sh: New file.
49407 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
49409         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
49410         separate $(objpfx)tst-fopenloc-cmp.out and
49411         $(objpfx)tst-fopenloc-mem.out targets.
49412         (tests): Update dependencies.
49413         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
49414         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
49415         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
49416         (tst-rxspencer-no-utf8-ARGS): New variable.
49417         (tst-rxspencer-no-utf8-ENV): Likewise.
49418         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
49419         instead of $(objpfx)tst-rxspencer-mem.
49420         ($(objpfx)tst-rxspencer-mem): Change target to
49421         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
49422         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
49423         * posix/tst-rxspencer-no-utf8.c: New file.
49425         * elf/Makefile ($(objpfx)order.out): Remove rule.
49426         [$(run-built-tests) = yes] (tests): Depend on
49427         $(objpfx)order-cmp.out.
49428         ($(objpfx)order-cmp.out): New rule.
49429         [$(run-built-tests) = yes] (tests): Depend on
49430         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
49431         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
49432         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
49433         $(objpfx)tst-array5-static-cmp.out.
49434         ($(objpfx)tst-array1.out): Remove rule.
49435         ($(objpfx)tst-array1-cmp.out): New rule.
49436         ($(objpfx)tst-array1-static.out): Remove rule.
49437         ($(objpfx)tst-array1-static-cmp.out): New rule.
49438         ($(objpfx)tst-array2.out): Remove rule.
49439         ($(objpfx)tst-array2-cmp.out): New rule.
49440         ($(objpfx)tst-array3.out): Remove rule.
49441         ($(objpfx)tst-array3-cmp.out): New rule.
49442         ($(objpfx)tst-array4.out): Remove rule.
49443         ($(objpfx)tst-array4-cmp.out): New rule.
49444         ($(objpfx)tst-array5.out): Remove rule.
49445         ($(objpfx)tst-array5-cmp.out): New rule.
49446         ($(objpfx)tst-array5-static.out): Remove rule.
49447         ($(objpfx)tst-array5-static-cmp.out): New rule.
49448         [$(run-built-tests) = yes] (tests): Depend on
49449         $(objpfx)order2-cmp.out.
49450         ($(objpfx)order2.out): Remove rule.
49451         ($(objpfx)order2-cmp.out): New rule.
49452         ($(objpfx)tst-initorder.out): Remove rule.
49453         [$(run-built-tests) = yes] (tests): Depend on
49454         $(objpfx)tst-initorder-cmp.out.
49455         ($(objpfx)tst-initorder-cmp.out): New rule.
49456         ($(objpfx)tst-initorder2.out): Remove rule.
49457         [$(run-built-tests) = yes] (tests): Depend on
49458         $(objpfx)tst-initorder2-cmp.out.
49459         ($(objpfx)tst-initorder2-cmp.out): New rule.
49460         [$(run-built-tests) = yes] (tests): Depend on
49461         $(objpfx)tst-unused-dep-cmp.out.
49462         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
49463         ($(objpfx)tst-unused-dep-cmp.out): New rule.
49464         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
49465         on $(objpfx)tst-setvbuf1-cmp.out.
49466         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
49467         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
49468         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
49469         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
49470         ($(objpfx)tst-svc.out): Remove rule.
49471         ($(objpfx)tst-svc-cmp.out): New rule.
49473 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
49475         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
49476         * ctype/ctype.h [__USE_MISC]: Likewise.
49477         * dirent/dirent.h [__USE_MISC]: Likewise.
49478         * grp/grp.h [__USE_MISC]: Likewise.
49479         * io/fcntl.h [__USE_MISC]: Likewise.
49480         * io/sys/stat.h [__USE_MISC]: Likewise.
49481         * libio/stdio.h [__USE_MISC]: Likewise.
49482         * posix/unistd.h [__USE_MISC]: Likewise.
49483         * pwd/pwd.h [__USE_MISC]: Likewise.
49484         * stdlib.h [__USE_MISC]: Likewise.
49485         * string/bits/string2.h [__USE_MISC]: Likewise.
49486         * string/string.h [__USE_MISC]: Likewise.
49487         * time/time.h [__USE_MISC]: Likewise.
49489 2014-02-13  Andreas Schwab  <schwab@suse.de>
49491         [BZ #16574]
49492         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
49493         second answer buffer if it was separately allocated.
49495 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
49497         * sysdeps/mips/math-tests.h: Include <features.h>.
49498         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
49499         (ROUNDING_TESTS_long_double): Do not define.
49500         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
49501         (EXCEPTION_TESTS_long_double): Likewise.
49502         * sysdeps/mips/mips64/libm-test-ulps: Update.
49504         * include/features.h (__USE_BSD): Remove macro definitions.
49505         (__USE_SVID): Likewise.
49506         (_BSD_SOURCE): Likewise.
49507         (_SVID_SOURCE): Likewise.
49508         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
49509         from definition of _DEFAULT_SOURCE.
49510         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
49511         [_DEFAULT_SOURCE].
49512         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
49513         * bits/mman.h [__USE_BSD]: Likewise.
49514         * bits/termios.h [__USE_BSD]: Likewise.
49515         * bits/waitstatus.h [__USE_BSD]: Likewise.
49516         * ctype/ctype.h [__USE_SVID]: Likewise.
49517         * dirent/dirent.h [__USE_BSD]: Likewise.
49518         * grp/grp.h [__USE_SVID]: Likewise.
49519         [__USE_BSD]: Likewise.
49520         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
49521         * io/fcntl.h [__USE_BSD]: Likewise.
49522         * io/ftw.h [__USE_BSD]: Likewise.
49523         * io/sys/stat.h [__USE_BSD]: Likewise.
49524         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
49525         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
49526         * libio/stdio.h [__USE_SVID]: Likewise.
49527         [__USE_BSD]: Likewise.
49528         * math/math.h [__USE_SVID]: Likewise.
49529         [__USE_BSD]: Likewise.
49530         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
49531         * misc/bits/syslog.h [__USE_BSD]: Likewise.
49532         * misc/search.h [__USE_SVID]: Likewise.
49533         * misc/sys/mman.h [__USE_BSD]: Likewise.
49534         * misc/sys/syslog.h [__USE_BSD]: Likewise.
49535         * misc/sys/uio.h [__USE_BSD]: Likewise.
49536         * posix/bits/unistd.h [__USE_BSD]: Likewise.
49537         * posix/glob.h [__USE_BSD]: Likewise.
49538         * posix/regex.h [__USE_BSD]: Likewise.
49539         * posix/sys/types.h [__USE_BSD]: Likewise.
49540         [__USE_SVID]: Likewise.
49541         * posix/sys/utsname.h [__USE_SVID]: Likewise.
49542         * posix/sys/wait.h [__USE_BSD]: Likewise.
49543         [__USE_SVID]: Likewise.
49544         * posix/unistd.h [__USE_BSD]: Likewise.
49545         [__USE_SVID]: Likewise.
49546         * pwd/pwd.h [__USE_SVID]: Likewise.
49547         * resolv/netdb.h [__USE_BSD]: Likewise.
49548         * setjmp/setjmp.h [__USE_BSD]: Likewise.
49549         * signal/signal.h [__USE_BSD]: Likewise.
49550         [__USE_SVID]: Likewise.
49551         * socket/sys/socket.h [__USE_BSD]: Likewise.
49552         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
49553         * stdlib/stdlib.h [__USE_BSD]: Likewise.
49554         [__USE_SVID]: Likewise.
49555         * string/bits/string2.h [__USE_BSD]: Likewise.
49556         [__USE_SVID]: Likewise.
49557         * string/bits/string3.h [__USE_BSD]: Likewise.
49558         * string/endian.h [__USE_BSD]: Likewise.
49559         * string/string.h [__USE_SVID]: Likewise.
49560         [__USE_BSD]: Likewise.
49561         * string/strings.h [__USE_BSD]: Likewise.
49562         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
49563         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
49564         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
49565         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
49566         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
49567         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
49568         Likewise.
49569         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
49570         Likewise.
49571         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
49572         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
49573         Likewise.
49574         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
49575         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
49576         Likewise.
49577         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
49578         Likewise.
49579         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
49580         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
49581         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
49582         Likewise.
49583         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
49584         Likewise.
49585         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
49586         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
49587         * termios/termios.h [__USE_BSD]: Likewise.
49588         * time/sys/time.h [__USE_BSD]: Likewise.
49589         * time/time.h [__USE_BSD]: Likewise.
49590         [__USE_SVID]: Likewise.
49592         * Makefile (subdir_targets): Remove subdir_lint.out.
49594         * stdio-common/Makefile (do-tst-unbputc): Remove target.
49595         (do-tst-printf): Likewise.
49596         (tests): Depend directly on $(objpfx)tst-unbputc.out and
49597         $(objpfx)tst-printf.out.
49599         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
49601         * Makerules (check-abi-%): Change target to
49602         $(objpfx)check-abi-%.out.
49603         (check-abi target): Update dependencies.
49604         (check-abi-pattern variable): Redirect output of diff to $@.
49605         (check-abi variable): Likewise.
49606         * elf/Makefile (check-abi): Update dependencies.
49608         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
49609         unused.
49610         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
49611         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
49612         subnormal range.
49613         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
49614         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
49615         value has largest subnormal exponent.
49616         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
49617         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
49618         * sysdeps/aarch64/soft-fp/sfp-machine.h
49619         (_FP_TININESS_AFTER_ROUNDING): New macro.
49620         * sysdeps/alpha/soft-fp/sfp-machine.h
49621         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49622         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49623         Likewise.
49624         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
49625         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49626         * sysdeps/mips/soft-fp/sfp-machine.h
49627         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49628         * sysdeps/powerpc/soft-fp/sfp-machine.h
49629         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49630         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49631         Likewise.
49632         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
49633         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49634         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
49635         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49636         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49637         Likewise.
49639 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
49641         [BZ #16545]
49642         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
49643         model 1.
49645 2014-02-12  Richard Henderson  <rth@redhat.com>
49647         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
49648         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
49649         * sysdeps/unix/sysv/linux/alpha: Move directory from
49650         ports/sysdeps/unix/sysv/linux/alpha.
49651         * README: Update listing for alpha-*-linux-gnu.
49653 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
49655         * include/features.h: Update comment documenting feature test
49656         macros.
49657         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
49658         _DEFAULT_SOURCE.
49659         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
49660         (_SVID_SOURCE): Likewise.
49661         (_DEFAULT_SOURCE): Update description of default features.
49662         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
49663         with _GNU_SOURCE.
49664         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
49665         (S_ISVTX): Likewise.
49666         * manual/math.texi (Mathematical Constants): Likewise.
49667         * manual/signal.texi (Interrupted Primitives): Likewise.
49668         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
49669         * math/test-matherr.c (_SVID_SOURCE): Do not define.
49670         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
49671         Don't refer to _SVID_SOURCE in warning text.
49673         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49675         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
49676         already defined.
49677         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
49678         * sysdeps/mips/dl-lookup.c: Remove.
49679         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
49681 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
49683         [BZ #16447]
49684         * math/auto-libm-test-in: Add testcase for expl.
49685         * math/auto-libm-test-out: Regenerate.
49686         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
49687         calculation of unsafe.
49688         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
49690 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49692         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
49693         * sysdeps/unix/sysv/linux/aarch64: Move directory from
49694         ports/sysdeps/unix/sysv/linux/aarch64.
49695         * README: Update listing for aarch64*-*-linux-gnu.
49697 2014-02-11  Will Newton  <will.newton@linaro.org>
49699         * manual/probes.texi (Mathematical Function Probes): Use
49700         "triggered" instead of "hit".
49702         * manual/probes.texi (Internal Probes): Add documentation
49703         of setjmp, longjmp and longjmp_target probes.
49705         * include/stap-probe.h: Add comment about probe argument
49706         format.
49708         * malloc/mtrace.c (attribute_hidden): Remove unused macro
49709         definition.  (tr_where, tr_freehook, tr_mallochook,
49710         tr_reallochook, tr_memalignhook): Use ANSI protoype.
49712 2014-02-11  David S. Miller  <davem@davemloft.net>
49714         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
49715         processing int_tests.
49717 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
49719         * sysdeps/mips: Move directory from ports/sysdeps/mips.
49720         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
49721         * sysdeps/unix/sysv/linux/mips: Move directory from
49722         ports/sysdeps/unix/sysv/linux/mips.
49723         * README: Update listing for mips-*-linux-gnu and
49724         mips64-*-linux-gnu.
49726 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
49728         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
49729         * sysdeps/unix/sysv/linux/m68k: Move directory from
49730         ports/sysdeps/unix/sysv/linux/m68k.
49731         * README: Update listing for m68k-*-linux-gnu.
49733 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
49735         * sysdeps/tile: Move directory from ports/sysdeps/tile.
49736         * sysdeps/unix/sysv/linux/generic: Move directory from
49737         ports/sysdeps/unix/sysv/linux/generic.
49738         * sysdeps/unix/sysv/linux/tile: Move directory from
49739         ports/sysdeps/unix/sysv/linux/tile.
49740         * README: Update listing for tile*-*-linux-gnu.
49742 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
49744         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
49745         __builtin_expect.
49746         * benchtests/bench-memmem.c (simple_memmem): Likewise.
49747         * catgets/open_catalog.c (__open_catalog): Likewise.
49748         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
49749         * debug/confstr_chk.c: Likewise.
49750         * debug/fread_chk.c (__fread_chk): Likewise.
49751         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
49752         * debug/getgroups_chk.c: Likewise.
49753         * debug/mbsnrtowcs_chk.c: Likewise.
49754         * debug/mbsrtowcs_chk.c: Likewise.
49755         * debug/mbstowcs_chk.c: Likewise.
49756         * debug/memcpy_chk.c: Likewise.
49757         * debug/memmove_chk.c: Likewise.
49758         * debug/mempcpy_chk.c: Likewise.
49759         * debug/memset_chk.c: Likewise.
49760         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49761         * debug/strcat_chk.c (__strcat_chk): Likewise.
49762         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
49763         * debug/strncat_chk.c (__strncat_chk): Likewise.
49764         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
49765         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
49766         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
49767         * debug/wcpncpy_chk.c: Likewise.
49768         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49769         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
49770         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
49771         * debug/wcsncpy_chk.c: Likewise.
49772         * debug/wcsnrtombs_chk.c: Likewise.
49773         * debug/wcsrtombs_chk.c: Likewise.
49774         * debug/wcstombs_chk.c: Likewise.
49775         * debug/wmemcpy_chk.c: Likewise.
49776         * debug/wmemmove_chk.c: Likewise.
49777         * debug/wmempcpy_chk.c: Likewise.
49778         * debug/wmemset_chk.c: Likewise.
49779         * dirent/scandirat.c (SCANDIRAT): Likewise.
49780         * dlfcn/dladdr1.c (dladdr1): Likewise.
49781         * dlfcn/dladdr.c (dladdr): Likewise.
49782         * dlfcn/dlclose.c (dlclose_doit): Likewise.
49783         * dlfcn/dlerror.c (__dlerror): Likewise.
49784         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
49785         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
49786         * dlfcn/dlopen.c (dlopen_doit): Likewise.
49787         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
49788         * dlfcn/dlsym.c (dlsym_doit): Likewise.
49789         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
49790         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
49791         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
49792         Likewise.
49793         * elf/dl-conflict.c: Likewise.
49794         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
49795         * elf/dl-dst.h: Likewise.
49796         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
49797         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
49798         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
49799         * elf/dl-init.c (call_init, _dl_init): Likewise.
49800         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
49801         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
49802         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
49803         Likewise.
49804         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
49805         Likewise.
49806         * elf/dl-minimal.c (__libc_memalign): Likewise.
49807         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
49808         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
49809         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
49810         * elf/dl-sym.c (do_sym): Likewise.
49811         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
49812         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
49813         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
49814         * elf/dl-writev.h (_dl_writev): Likewise.
49815         * elf/ldconfig.c (search_dir): Likewise.
49816         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
49817         (dl_main): Likewise.
49818         * elf/setup-vdso.h (setup_vdso): Likewise.
49819         * grp/compat-initgroups.c (compat_call): Likewise.
49820         * grp/fgetgrent.c (fgetgrent): Likewise.
49821         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
49822         * grp/putgrent.c (putgrent): Likewise.
49823         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
49824         Likewise.
49825         * hurd/hurdinit.c: Likewise.
49826         * iconvdata/8bit-gap.c (struct): Likewise.
49827         * iconvdata/ansi_x3.110.c : Likewise.
49828         * iconvdata/big5.c : Likewise.
49829         * iconvdata/big5hkscs.c : Likewise.
49830         * iconvdata/cp1255.c: Likewise.
49831         * iconvdata/cp1258.c : Likewise.
49832         * iconvdata/cp932.c : Likewise.
49833         * iconvdata/euc-cn.c: Likewise.
49834         * iconvdata/euc-jisx0213.c : Likewise.
49835         * iconvdata/euc-jp.c: Likewise.
49836         * iconvdata/euc-jp-ms.c : Likewise.
49837         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
49838         * iconvdata/gb18030.c : Likewise.
49839         * iconvdata/gbbig5.c (const): Likewise.
49840         * iconvdata/gbgbk.c: Likewise.
49841         * iconvdata/gbk.c : Likewise.
49842         * iconvdata/ibm1364.c : Likewise.
49843         * iconvdata/ibm930.c : Likewise.
49844         * iconvdata/ibm932.c: Likewise.
49845         * iconvdata/ibm933.c : Likewise.
49846         * iconvdata/ibm935.c : Likewise.
49847         * iconvdata/ibm937.c : Likewise.
49848         * iconvdata/ibm939.c : Likewise.
49849         * iconvdata/ibm943.c: Likewise.
49850         * iconvdata/iso_11548-1.c: Likewise.
49851         * iconvdata/iso-2022-cn.c : Likewise.
49852         * iconvdata/iso-2022-cn-ext.c : Likewise.
49853         * iconvdata/iso-2022-jp-3.c: Likewise.
49854         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
49855         * iconvdata/iso-2022-kr.c : Likewise.
49856         * iconvdata/iso646.c (gconv_end): Likewise.
49857         * iconvdata/iso_6937-2.c : Likewise.
49858         * iconvdata/iso_6937.c : Likewise.
49859         * iconvdata/iso8859-1.c: Likewise.
49860         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
49861         * iconvdata/shift_jisx0213.c : Likewise.
49862         * iconvdata/sjis.c : Likewise.
49863         * iconvdata/t.61.c : Likewise.
49864         * iconvdata/tcvn5712-1.c : Likewise.
49865         * iconvdata/tscii.c: Likewise.
49866         * iconvdata/uhc.c : Likewise.
49867         * iconvdata/unicode.c (gconv_end): Likewise.
49868         * iconvdata/utf-16.c (gconv_end): Likewise.
49869         * iconvdata/utf-32.c (gconv_end): Likewise.
49870         * iconvdata/utf-7.c (base64): Likewise.
49871         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
49872         * iconv/gconv_close.c (__gconv_close): Likewise.
49873         * iconv/gconv_open.c (__gconv_open): Likewise.
49874         * iconv/gconv_simple.c (internal_ucs4_loop_single)
49875         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
49876         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
49877         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
49878         (ucs4le_internal_loop_single): Likewise.
49879         * iconv/iconv.c (iconv): Likewise.
49880         * iconv/iconv_close.c: Likewise.
49881         * iconv/loop.c (SINGLE): Likewise.
49882         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
49883         * include/atomic.h: Likewise.
49884         * inet/inet6_option.c (option_alloc): Likewise.
49885         * intl/bindtextdom.c (set_binding_values): Likewise.
49886         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
49887         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
49888         * intl/localealias.c (read_alias_file): Likewise.
49889         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
49890         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
49891         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
49892         * libio/fmemopen.c (fmemopen): Likewise.
49893         * libio/iofgets.c (_IO_fgets): Likewise.
49894         * libio/iofgets_u.c (fgets_unlocked): Likewise.
49895         * libio/iofgetws.c (fgetws): Likewise.
49896         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
49897         * libio/iogetdelim.c (_IO_getdelim): Likewise.
49898         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
49899         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
49900         * locale/findlocale.c (_nl_find_locale): Likewise.
49901         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
49902         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
49903         Likewise.
49904         * locale/setlocale.c (setlocale): Likewise.
49905         * login/programs/pt_chown.c (main): Likewise.
49906         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
49907         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
49908         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
49909         (mmap, mmap64, mremap, munmap): Likewise.
49910         * math/e_exp2l.c: Likewise.
49911         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
49912         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
49913         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
49914         * math/s_catan.c (__catan): Likewise.
49915         * math/s_catanf.c (__catanf): Likewise.
49916         * math/s_catanh.c (__catanh): Likewise.
49917         * math/s_catanhf.c (__catanhf): Likewise.
49918         * math/s_catanhl.c (__catanhl): Likewise.
49919         * math/s_catanl.c (__catanl): Likewise.
49920         * math/s_ccosh.c (__ccosh): Likewise.
49921         * math/s_ccoshf.c (__ccoshf): Likewise.
49922         * math/s_ccoshl.c (__ccoshl): Likewise.
49923         * math/s_cexp.c (__cexp): Likewise.
49924         * math/s_cexpf.c (__cexpf): Likewise.
49925         * math/s_cexpl.c (__cexpl): Likewise.
49926         * math/s_clog10.c (__clog10): Likewise.
49927         * math/s_clog10f.c (__clog10f): Likewise.
49928         * math/s_clog10l.c (__clog10l): Likewise.
49929         * math/s_clog.c (__clog): Likewise.
49930         * math/s_clogf.c (__clogf): Likewise.
49931         * math/s_clogl.c (__clogl): Likewise.
49932         * math/s_csin.c (__csin): Likewise.
49933         * math/s_csinf.c (__csinf): Likewise.
49934         * math/s_csinh.c (__csinh): Likewise.
49935         * math/s_csinhf.c (__csinhf): Likewise.
49936         * math/s_csinhl.c (__csinhl): Likewise.
49937         * math/s_csinl.c (__csinl): Likewise.
49938         * math/s_csqrt.c (__csqrt): Likewise.
49939         * math/s_csqrtf.c (__csqrtf): Likewise.
49940         * math/s_csqrtl.c (__csqrtl): Likewise.
49941         * math/s_ctan.c (__ctan): Likewise.
49942         * math/s_ctanf.c (__ctanf): Likewise.
49943         * math/s_ctanh.c (__ctanh): Likewise.
49944         * math/s_ctanhf.c (__ctanhf): Likewise.
49945         * math/s_ctanhl.c (__ctanhl): Likewise.
49946         * math/s_ctanl.c (__ctanl): Likewise.
49947         * math/w_pow.c: Likewise.
49948         * math/w_powf.c: Likewise.
49949         * math/w_powl.c: Likewise.
49950         * math/w_scalb.c (sysv_scalb): Likewise.
49951         * math/w_scalbf.c (sysv_scalbf): Likewise.
49952         * math/w_scalbl.c (sysv_scalbl): Likewise.
49953         * misc/error.c (error_tail): Likewise.
49954         * misc/pselect.c (__pselect): Likewise.
49955         * nis/nis_callback.c (__nis_create_callback): Likewise.
49956         * nis/nis_call.c (__nisfind_server): Likewise.
49957         * nis/nis_creategroup.c (nis_creategroup): Likewise.
49958         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
49959         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
49960         * nis/nis_getservlist.c (nis_getservlist): Likewise.
49961         * nis/nis_lookup.c (nis_lookup): Likewise.
49962         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
49963         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
49964         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
49965         * nis/nis_xdr.c (xdr_endpoint): Likewise.
49966         * nis/nss_compat/compat-grp.c (getgrent_next_file)
49967         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
49968         * nis/nss_compat/compat-initgroups.c (add_group)
49969         (internal_getgrent_r): Likewise.
49970         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
49971         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
49972         * nis/nss_compat/compat-spwd.c (getspent_next_file)
49973         (internal_getspnam_r): Likewise.
49974         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
49975         (_nss_nis_getaliasbyname_r): Likewise.
49976         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
49977         (_nss_nis_getntohost_r): Likewise.
49978         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
49979         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
49980         (_nss_nis_getgrgid_r): Likewise.
49981         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
49982         (internal_nis_gethostent_r, internal_gethostbyname2_r)
49983         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
49984         (_nss_nis_gethostbyname4_r): Likewise.
49985         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
49986         (initgroups_netid): Likewise.
49987         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
49988         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
49989         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
49990         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
49991         (_nss_nis_getprotobynumber_r): Likewise.
49992         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
49993         (_nss_nis_getsecretkey): Likewise.
49994         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
49995         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
49996         (_nss_nis_getpwuid_r): Likewise.
49997         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
49998         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
49999         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
50000         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
50001         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
50002         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
50003         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
50004         Likewise.
50005         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
50006         (_nss_nisplus_getntohost_r): Likewise.
50007         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
50008         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
50009         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
50010         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
50011         Likewise.
50012         * nis/nss_nisplus/nisplus-initgroups.c
50013         (_nss_nisplus_initgroups_dyn): Likewise.
50014         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
50015         (_nss_nisplus_getnetbyaddr_r): Likewise.
50016         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
50017         (_nss_nisplus_getprotobynumber_r): Likewise.
50018         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
50019         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
50020         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
50021         Likewise.
50022         * nis/nss_nisplus/nisplus-service.c
50023         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
50024         (_nss_nisplus_getservbyport_r): Likewise.
50025         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
50026         (_nss_nisplus_getspnam_r): Likewise.
50027         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
50028         Likewise.
50029         * nscd/aicache.c (addhstaiX): Likewise.
50030         * nscd/cache.c (cache_search, prune_cache): Likewise.
50031         * nscd/connections.c (register_traced_file, send_ro_fd)
50032         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
50033         (main_loop_epoll): Likewise.
50034         * nscd/grpcache.c (addgrbyX): Likewise.
50035         * nscd/hstcache.c (addhstbyX): Likewise.
50036         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50037         * nscd/mem.c (gc, mempool_alloc): Likewise.
50038         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
50039         (addinnetgrX): Likewise.
50040         * nscd/nscd-client.h (__nscd_acquire_maplock)
50041         (__nscd_drop_map_ref): Likewise.
50042         * nscd/nscd_getai.c (__nscd_getai): Likewise.
50043         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
50044         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
50045         Likewise.
50046         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
50047         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50048         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
50049         (__nscd_get_map_ref): Likewise.
50050         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
50051         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
50052         Likewise.
50053         * nscd/pwdcache.c (addpwbyX): Likewise.
50054         * nscd/selinux.c (preserve_capabilities): Likewise.
50055         * nscd/servicescache.c (addservbyX): Likewise.
50056         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
50057         * posix/fnmatch.c (fnmatch): Likewise.
50058         * posix/getopt.c (_getopt_internal_r): Likewise.
50059         * posix/glob.c (glob, glob_in_dir): Likewise.
50060         * posix/wordexp.c (exec_comm_child): Likewise.
50061         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
50062         (getanswer_r, gaih_getanswer_slice): Likewise.
50063         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
50064         * resolv/res_init.c: Likewise.
50065         * resolv/res_mkquery.c (res_nmkquery): Likewise.
50066         * resolv/res_query.c (__libc_res_nquery): Likewise.
50067         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
50068         Likewise.
50069         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
50070         * stdio-common/perror.c (perror): Likewise.
50071         * stdio-common/printf_fp.c (___printf_fp): Likewise.
50072         * stdio-common/tmpnam.c (tmpnam): Likewise.
50073         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
50074         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
50075         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
50076         Likewise.
50077         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
50078         * stdlib/putenv.c (putenv): Likewise.
50079         * stdlib/setenv.c (__add_to_environ): Likewise.
50080         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
50081         * stdlib/strtol_l.c (INTERNAL): Likewise.
50082         * string/memmem.c (memmem): Likewise.
50083         * string/strerror.c (strerror): Likewise.
50084         * string/strnlen.c (__strnlen): Likewise.
50085         * string/test-memmem.c (simple_memmem): Likewise.
50086         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
50087         * sunrpc/pm_getport.c (__get_socket): Likewise.
50088         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
50089         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
50090         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
50091         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
50092         Likewise.
50093         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
50094         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
50095         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
50096         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
50097         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
50098         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
50099         Likewise.
50100         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
50101         Likewise.
50102         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
50103         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
50104         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50105         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
50106         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
50107         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
50108         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
50109         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
50110         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
50111         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
50112         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
50113         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
50114         Likewise.
50115         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
50116         Likewise.
50117         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
50118         Likewise.
50119         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
50120         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50121         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
50122         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
50123         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
50124         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
50125         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
50126         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
50127         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
50128         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
50129         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
50130         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50131         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
50132         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
50133         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50134         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
50135         Likewise.
50136         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
50137         Likewise.
50138         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
50139         Likewise.
50140         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
50141         Likewise.
50142         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50143         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50144         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
50145         Likewise.
50146         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
50147         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
50148         * sysdeps/posix/opendir.c (__opendirat): Likewise.
50149         * sysdeps/posix/sleep.c: Likewise.
50150         * sysdeps/posix/tempname.c: Likewise.
50151         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
50152         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
50153         Likewise.
50154         * sysdeps/powerpc/powerpc32/dl-machine.h
50155         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
50156         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
50157         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
50158         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
50159         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
50160         Likewise.
50161         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
50162         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
50163         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
50164         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
50165         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
50166         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
50167         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
50168         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
50169         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50170         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
50171         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
50172         (elf_machine_lazy_rel): Likewise.
50173         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
50174         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
50175         (elf_machine_lazy_rel): Likewise.
50176         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
50177         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
50178         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
50179         * sysdeps/unix/grantpt.c (grantpt): Likewise.
50180         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
50181         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
50182         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
50183         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50184         Likewise.
50185         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
50186         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
50187         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
50188         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
50189         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
50190         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
50191         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
50192         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
50193         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
50194         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
50195         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
50196         Likewise.
50197         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
50198         (__posix_fallocate64_l64): Likewise.
50199         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
50200         (posix_fallocate): Likewise.
50201         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
50202         Likewise.
50203         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50204         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
50205         (getifaddrs_internal): Likewise.
50206         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
50207         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
50208         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
50209         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
50210         * sysdeps/unix/sysv/linux/posix_fallocate64.c
50211         (__posix_fallocate64_l64): Likewise.
50212         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
50213         Likewise.
50214         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
50215         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
50216         (__get_clockfreq): Likewise.
50217         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
50218         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
50219         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
50220         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50221         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50222         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
50223         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
50224         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
50225         Likewise.
50226         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
50227         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
50228         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
50229         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
50230         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50231         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
50232         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
50233         Likewise.
50234         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
50235         (posix_fallocate): Likewise.
50236         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50237         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
50238         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
50239         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
50240         (elf_machine_rela, elf_machine_rela_relative)
50241         (elf_machine_lazy_rel): Likewise.
50242         * time/asctime.c (asctime_internal): Likewise.
50243         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
50244         * time/tzset.c (__tzset_parse_tz): Likewise.
50245         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
50246         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
50247         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
50248         * wcsmbs/wcsmbsload.h: Likewise.
50250         [BZ #15894]
50251         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
50253         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
50254         (arena_get2): Remove THREAD_STATS conditionals.
50255         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
50256         (__malloc_stats, int): Likewise.
50258 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
50260         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
50261         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
50263         * manual/setjmp.texi: Fix typos/grammar errors.
50265         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
50266         Only return early when n is <= 0.  Delete unused return statement.
50268         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
50269         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
50270         * debug/tst-longjmp_chk3.c: New file.
50272         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
50273         (test_main): Replace code with set_fortify_handler call.
50274         * debug/test-strcpy_chk.c: Likewise.
50275         * debug/tst-chk1.c: Likewise.
50276         * debug/tst-longjmp_chk.c: Likewise.
50277         * test-skeleton.c: Include fcntl.h & paths.h
50278         (set_fortify_handler): Define.
50280         * debug/tst-longjmp_chk.c: Add header comment and include
50281         ../test-skeleton.c.
50282         (do_test): Mark static.
50283         (TEST_FUNCTION): Define.
50285         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
50286         (IP_PMTUDISC_INTERFACE): Likewise.
50287         (IP_MULTICAST_IF): Likewise.
50288         (IP_MULTICAST_TTL): Likewise.
50289         (IP_MULTICAST_LOOP): Likewise.
50290         (IP_ADD_MEMBERSHIP): Likewise.
50291         (IP_DROP_MEMBERSHIP): Likewise.
50292         (IP_UNBLOCK_SOURCE): Likewise.
50293         (IP_BLOCK_SOURCE): Likewise.
50294         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
50295         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
50296         (IP_MSFILTER): Likewise.
50297         (MCAST_JOIN_GROUP): Likewise.
50298         (MCAST_BLOCK_SOURCE): Likewise.
50299         (MCAST_UNBLOCK_SOURCE): Likewise.
50300         (MCAST_LEAVE_GROUP): Likewise.
50301         (MCAST_JOIN_SOURCE_GROUP): Likewise.
50302         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
50303         (MCAST_MSFILTER): Likewise.
50304         (IP_MULTICAST_ALL): Likewise.
50305         (IP_UNICAST_IF): Likewise.
50307         * timezone/Makefile: Delete $(have-ksh) check.
50308         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
50309         * timezone/tzselect.ksh: Add +x mode bits.
50311         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
50312         (ANON_INODE_FS_MAGIC): Likewise.
50313         (BDEVFS_MAGIC): Likewise.
50314         (BINFMTFS_MAGIC): Likewise.
50315         (BTRFS_TEST_MAGIC): Likewise.
50316         (CRAMFS_MAGIC_WEND): Likewise.
50317         (DEBUGFS_MAGIC): Likewise.
50318         (ECRYPTFS_SUPER_MAGIC): Likewise.
50319         (EXT3_SUPER_MAGIC): Likewise.
50320         (EXT4_SUPER_MAGIC): Likewise.
50321         (FUTEXFS_SUPER_MAGIC): Likewise.
50322         (HOSTFS_SUPER_MAGIC): Likewise.
50323         (HUGETLBFS_MAGIC): Likewise.
50324         (MINIX3_SUPER_MAGIC): Likewise.
50325         (MTD_INODE_FS_MAGIC): Likewise.
50326         (NILFS_SUPER_MAGIC): Likewise.
50327         (OPENPROM_SUPER_MAGIC): Likewise.
50328         (PIPEFS_MAGIC): Likewise.
50329         (PSTOREFS_MAGIC): Likewise.
50330         (QNX6_SUPER_MAGIC): Likewise.
50331         (RAMFS_MAGIC): Likewise.
50332         (REISERFS_SUPER_MAGIC_STRING): Likewise.
50333         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
50334         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
50335         (SECURITYFS_MAGIC): Likewise.
50336         (SELINUX_MAGIC): Likewise.
50337         (SMACK_MAGIC): Likewise.
50338         (SOCKFS_MAGIC): Likewise.
50339         (SQUASHFS_MAGIC): Likewise.
50340         (STACK_END_MAGIC): Likewise.
50341         (TMPFS_MAGIC): Likewise.
50342         (USBDEVICE_SUPER_MAGIC): Likewise.
50343         (V9FS_MAGIC): Likewise.
50344         (XENFS_SUPER_MAGIC): Likewise.
50345         (CRAMFS_MAGIC): Fix typo in comment.
50346         (EXT2_SUPER_MAGIC): Update comment.
50347         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
50349 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
50351         * sysdeps/arm: Move directory from ports/sysdeps/arm.
50352         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
50353         * sysdeps/unix/sysv/linux/arm: Move directory from
50354         ports/sysdeps/unix/sysv/linux/arm.
50355         * README: Update listing for arm-*-linux-gnueabi.
50357         * README: Remove mention of am33.
50359 2014-02-07  Roland McGrath  <roland@hack.frob.com>
50361         * bits/sigset.h (__sigemptyset): Use a statement expression rather
50362         than the comma operator, to avoid "rhs of comma has no effect"
50363         compiler warnings.
50364         (__sigfillset, __sigandset, __sigorset): Likewise.
50365         * include/signal.h (__sigemptyset): Likewise.
50366         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
50368 2014-02-07  Allan McRae  <allan@archlinux.org>
50370         * version.h (RELEASE): Set to "development".
50371         (VERSION): Set to "2.19.90"
50372         * NEWS: Add 2.20 section.
50374 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
50376         [BZ #16529]
50377         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
50379 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
50381         * manual/contrib.texi: Update entry for Carlos O'Donell,
50382         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
50384 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
50386         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
50388         * sysdeps/unix/sysv/linux/kernel-features.h
50389         [__LINUX_KERNEL_VERSION >= 0x020621]
50390         (__ASSUME_PROC_PID_TASK_COMM): Define.
50392 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50394         [BZ #16398]
50395         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
50396         conversion when destination buffer does not have enough space.
50397         * libio/tst-ftell-partial-wide.c: New test case.
50398         * libio/Makefile (tests): Add tst-ftell-partial-wide.
50400         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
50401         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
50402         Leonard and Allan McRae.
50404 2014-02-04  David S. Miller  <davem@davemloft.net>
50406         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
50407         32-bit.
50409 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
50412         New file
50413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
50414         New file
50415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
50416         New file.
50417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
50418         New file.
50419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
50420         New file.
50421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
50422         New file.
50423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
50424         New file.
50425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
50426         New file.
50427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
50428         New file.
50429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
50430         New file.
50431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
50432         New file.
50433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
50434         New file.
50435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
50436         New file.
50438 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50440         * nptl/shlib-versions: Change powerpc*le start to 2.17.
50441         * shlib-versions: Likewise.
50443 2014-02-04  Roland McGrath  <roland@hack.frob.com>
50444             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50446         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
50447         (abilist-pattern): New variable, set to %-le.abilist.
50449         * Makerules (abilist-pattern): New variable.
50450         (vpath): Use $(abilist-pattern) in place of %.abilist.
50451         (check-abi-% pattern rule): Likewise.
50452         (check-abi, update-abi): Likewise.
50454 2014-02-04  Eric Wong  <normalperson@yhbt.net>
50456         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50458 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
50460         * manual/startup.texi: Add next, previous, and top entries for
50461         the `Program Arguments' and `Environment Variables' nodes.
50463 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
50465         * manual/macros.texi: Add comments before MTASC-safety macros.
50467         * manual/users.texi: Document MTASC-safety properties.
50469         * manual/threads.texi (pthread_key_create, pthread_key_delete)
50470         (pthread_getspecific, pthread_setspecific): Format with
50471         @deftypefun, and add @safety note.
50472         * manual/signal.texi: Move comments that analyze the above
50473         functions to their home place.
50475 2014-02-03  Allan McRae  <allan@archlinux.org>
50477         * po/sl.po: Update Slovenian translation from translation project.
50479 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
50481         * manual/time.texi (timegm): Add missing blank after @c.
50482         Reported by Joseph Myers <joseph@codesourcery.com>.
50484 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
50486         * manual/check-safety.sh: New.
50487         * manual/Makefile ($(objpfx)stamp-summary): Run it.
50489         * manual/terminal.texi: Document MTASC-safety properties.
50491         * manual/filesys.texi: Document MTASC-safety properties.
50493         * manual/errno.texi: Document MTASC-safety properties.
50495         * manual/intro.texi: Document safety identifiers and
50496         conditionals.
50498         * manual/string.texi (wcstok): Fix prototype.
50499         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
50501         * manual/time.texi: Document MTASC-safety properties.
50503         * manual/string.texi: Document MTASC-safety properties.
50505         * manual/threads.texi: Document MTASC-safety properties.
50507         * manual/stdio.texi: Document MTASC-safety properties.
50509         * manual/syslog.texi: Document MTASC-safety properties.
50511         * manual/sysinfo.texi: Document MTASC-safety properties.
50513         * manual/startup.texi: Document MTASC-safety properties.
50515         * manual/socket.texi: Document MTASC-safety properties.
50517         * manual/signal.texi: Document MTASC-safety properties.
50519 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
50521         * manual/setjmp.texi: Document MTASC-safety properties.
50523         * manual/search.texi: Document MTASC-safety properties.
50525         * manual/resource.texi: Document MTASC-safety properties.
50527         * manual/process.texi: Document MTASC-safety properties.
50529         * manual/platform.texi: Document MTASC-safety properties.
50531         * manual/pipe.texi: Document MTASC-safety properties.
50533         * manual/pattern.texi: Document MTASC-safety properties.
50535         * manual/message.texi: Document MTASC-safety properties.
50537         [BZ #12751]
50538         * manual/memory.texi: Document MTASC-safety properties.
50540         * manual/math.texi: Document MTASC-safety properties.
50542         * manual/locale.texi: Document MTASC-safety properties.
50544         * manual/llio.texi: Document MTASC-safety properties.
50546         * manual/libdl.texi: New.
50548         * manual/lang.texi: Document MTASC-safety properties.
50550         * manual/job.texi: Document MTASC-safety properties.
50552         * manual/getopt.texi: Document MTASC-safety properties.
50554         * manual/ctype.texi: Document MTASC-safety properties.
50556 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
50558         [BZ #16046]
50559         * csu/libc-tls.c (static_map): Remove variable.
50560         (__libc_setup_tls): Use main executable's link map for TLS data.
50561         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
50562         casing for LM_ID_BASE and GL(dl_nns).
50563         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
50564         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
50565         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
50566         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
50567         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
50568         member.
50569         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
50570         l_phnum members.
50572 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
50574         * manual/debug.texi: Document MTASC-safety properties.
50576 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
50578         [BZ #16510]
50579         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
50580         of __x86_64__ when disabling x87 inline functions.
50582 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
50584         * manual/charset.texi: Document MTASC-safety properties.
50586         * manual/crypt.texi: Document MTASC-safety properties.
50588         * manual/conf.texi: Document MTASC-safety properties.
50590         * manual/arith.texi: Document MTASC-safety properties.
50592         * manual/argp.texi: Document MTASC-safety properties.
50594         * manual/macros.texi: Introduce macros to document multi
50595         thread, asynchronous signal and asynchronous cancellation
50596         safety properties.
50597         * manual/intro.texi: Introduce the properties themselves.
50599 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50601         * sysdeps/sh/sh4/Makefile: New file.
50603 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
50605         * math/gen-libm-test.pl ($srcdir): New variable.
50606         ($auto_input): Use it.
50608 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50610         [BZ #16506]
50611         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
50612         access beyond array bounds when parsing netgroups file.
50614         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
50615         the old buffer before realloc.
50617 2014-01-27  Allan McRae  <allan@archlinux.org>
50619         * po/fr.po: Update French translation from translation project.
50621 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50623         * sysdeps/sh/libm-test-ulps: Regenerate.
50625 2014-01-24  David S. Miller  <davem@davemloft.net>
50627         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
50629 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50631         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
50632         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
50634 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50636         [BZ #16474]
50637         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
50638         string pointers after reallocation.
50640 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50642         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
50643         __SH4A__ instead of __SH_FPU_ANY__.
50645 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50647         * sysdeps/sh/fpu_control.h: New file.
50648         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
50649         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
50650         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
50651         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
50652         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
50653         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
50654         * sysdeps/sh/sys/ucontext.h: Remove.
50655         * sysdeps/sh/sys: Remove directory.
50657 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50659         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
50660         s390/sys/ucontext.h.
50661         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
50662         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
50664 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
50666         [BZ #15605]
50667         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
50669 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50671         [BZ#16431]
50672         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
50673         Adjust the vDSO correctly for internal calls.
50674         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
50676 2014-01-20  Allan McRae  <allan@archlinux.org>
50678         * po/ca.po: Update Catalan translation from translation project.
50680 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
50682         * sysdeps/s390/sotruss-lib.c: New file.
50684 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50686         [BZ#16430]
50687         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
50688         (__GI___gettimeofday): Alias for a different internal symbol to avoid
50689         local calls issues by not having a PLT stub required for IFUNC calls.
50690         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
50692 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
50694         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
50695         * math/test-fpucw-static.c: Likewise.
50697 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50699         [BZ #16453]
50700         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
50702 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50704         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
50705         implementation for powerpc.
50707 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
50709         [BZ #14782]
50710         * sysdeps/posix/system.c (__libc_system): Do not enable
50711         asynchronous cancellation.
50713 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50715         [BZ #16427]
50716         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
50717         handling only for numbers special also in the IEEE case.
50719 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50721         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50723 2014-01-11  Allan McRae  <allan@archlinux.org>
50725         * po/bg.po: Update Bulgarian translation from translation project.
50727         * po/de.po: Update German translation from translation project.
50729 2014-01-10  Roland McGrath  <roland@hack.frob.com>
50731         * sysdeps/generic/gcc-compat.h: New file.
50733 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50735         * benchtests/asin-inputs: Correct slow inputs.
50736         * benchtests/acos-inputs: Likewise.
50738 2014-01-10  Allan McRae  <allan@archlinux.org>
50740         * po:sv.po: Update Swedish translation from translation project.
50742         * po/vi.po: Update Vietnamese translation from translation project.
50744         * po/eo.po: Update Esperanto translation from translation project.
50746         * po/cs.po: Update Czech translation from translation project.
50748         * po/nl.po: Update Dutch translation from translation project.
50750         * po/pl.po: Update Polish translation from translation project.
50752         * po/ru.po: Update Russian translation from translation project.
50754         * po/uk.po: Update Ukrainian translation from translation project.
50756 2014-01-08  Brooks Moses  <bmoses@google.com>
50758         * elf/dl-load.c: Fix comment typo.
50760 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
50762         * po/header.pot: Rename to...
50763         * po/pot.header: ... this.
50764         * po/Makefile: Use pot.header.
50766 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
50767             Maxim Kuvyrkov  <maxim@kugelworks.com>
50769         [BZ #16394]
50770         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
50771         SRC and DEST against LEN.
50773 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50775         [BZ #16414]
50776         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
50777         implementation.
50778         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
50780 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50782         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50784 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
50786         [BZ #16408]
50787         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
50788         for large positive arguments.
50790 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
50792         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
50794         * math/auto-libm-test-in: Mark various tests with
50795         xfail-rounding:ldbl-128ibm.
50796         * math/auto-libm-test-out: Regenerated.
50798         [BZ #16407]
50799         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
50800         Increase overflow threshold.
50802 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
50804         [BZ #14286]
50805         * stdio-common/vfprintf.c: Check for integer overflow.
50807 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50809         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
50810         the first argument and return value of __tls_get_addr_internal.
50812 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50814         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
50815         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
50817 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50819         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
50820         * sysdeps/s390/rtld-global-offsets.sym: New file.
50821         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
50822         GLIBC_2.19 symbol.
50823         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
50824         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
50825         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
50826         ... this.
50827         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
50828         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
50829         ... this.
50830         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50831         Regenerate.
50832         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50833         Regenerate.
50834         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
50835         halfs of GPRs for high_gprs contexts.
50836         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
50837         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
50838         field.
50839         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
50840         uc_flags field.
50841         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
50842         64 bit versions:
50843         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
50844         for high GPRs (uc_high_gprs) and for future extensions
50845         (__reserved).
50846         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
50847         for future extensions (__reserved).
50848         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
50849         64 bit versions:
50850         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
50851         SC_HIGHGPRS offset definition.
50852         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
50853         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
50855         * Versions.def: Add GLIBC_2.19 for libpthread.
50856         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
50857         siglongjmp for libpthread with GLIBC_2.19 symver.
50858         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
50859         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
50860         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
50861         * sysdeps/s390/__longjmp.c: New file.
50862         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
50863         * sysdeps/s390/longjmp.c: New file.
50864         * sysdeps/s390/setjmp.S: New file.
50865         * sysdeps/s390/sigjmp.S: New file.
50866         * sysdeps/s390/v1-longjmp.c: New file.
50867         * sysdeps/s390/v1-setjmp.h: New file.
50868         * sysdeps/s390/v1-sigjmp.c: New file.
50869         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
50870         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
50871         GLIBC_2.19 version.
50872         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
50873         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
50874         versioned symbols for ____longjmp_chk.
50875         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
50876         Likewise.
50877         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50878         Regenerate.
50879         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50880         Regenerate.
50881         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50882         Regenerate.
50883         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50884         Regenerate.
50885         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
50886         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
50887         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
50888         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
50889         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
50890         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
50891         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
50892         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
50893         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
50894         * sysdeps/s390/rtld-__longjmp.c: New file.
50895         * sysdeps/s390/rtld-setjmp.S: New file.
50897 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
50899         [BZ #16400]
50900         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
50901         Return -__logl (x) for small positive arguments without evaluating
50902         a polynomial.
50904 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
50906         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
50907         Rename to ...
50908         (__ptrace_peeksiginfo_args): ... this.
50909         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50910         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50911         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50913 2014-01-06  Allan McRae  <allan@archlinux.org>
50915         * inet/netinet/in.h: Fix typo in comment.
50917 2014-01-05  Andreas Jaeger  <aj@suse.de>
50919         * sysdeps/i386/fpu/libm-test-ulps: Update.
50921 2014-01-05  Allan McRae  <allan@archlinux.org>
50923         * po/libc.pot: Regenerated.
50925         * malloc/memusagestat.c: Fix gettext call formatting.
50927 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
50929         * nscd/nscd.c: Improve usage() output.
50931 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
50933         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
50934         * sysdeps/unix/sysv/linux/configure: Regenerated.
50935         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
50936         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
50938 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
50940         [BZ #16390]
50941         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
50942         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
50944 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50946         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
50947         extra tokens at end of #undef directive.
50948         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
50949         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
50950         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
50952 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
50954         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
50956         * math/auto-libm-test-in: Mark various tests with
50957         xfail-rounding:ldbl-128ibm.
50958         * math/auto-libm-test-out: Regenerated.
50960 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
50962         [BZ #16386]
50963         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
50964         numbers with subnormal high part when calculating exponent.
50966         [BZ #16385]
50967         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
50968         fabs.
50970         [BZ #16384]
50971         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
50972         M_LN2l.
50973         (__ieee754_acoshl): Use __log1pl not __log1p.
50975 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
50977         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
50978         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
50979         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
50980         (grow_heap, heap_trim, _int_new_arena, get_free_list)
50981         (reused_arena, arena_get2): Convert to GNU style.
50982         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
50983         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
50984         (memalign_check, __malloc_set_state): Likewise.
50985         * malloc/mallocbug.c (main): Likewise.
50986         * malloc/malloc.c (__malloc_assert, malloc_init_state)
50987         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
50988         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
50989         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
50990         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
50991         (__posix_memalign, malloc_info): Likewise.
50992         * malloc/malloc.h: Likewise.
50993         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
50994         (mallochook, memalignhook, reallochook, mabort): Likewise.
50995         * malloc/mcheck.h: Likewise.
50996         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
50997         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
50998         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
50999         * malloc/morecore.c (__default_morecore): Likewise.
51000         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
51001         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
51002         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
51003         (print_and_abort): Likewise.
51004         * malloc/obstack.h: Likewise.
51005         * malloc/set-freeres.c (__libc_freeres): Likewise.
51006         * malloc/tst-mallocstate.c (main): Likewise.
51007         * malloc/tst-mtrace.c (main): Likewise.
51008         * malloc/tst-realloc.c (do_test): Likewise.
51010 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51012         [BZ #16366]
51013         * nscd/netgroupcache.c (do_notfound): New function.
51014         (addgetnetgrentX): Use it.
51016         [BZ # 16365]
51017         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
51018         NSS_STATUS_NOTFOUND.
51020 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
51022         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
51023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51025 2014-01-01  Allan McRae  <allan@archlinux.org>
51027         * scripts/update-copyrights: Update configure input file suffix.
51029         * NEWS: Update copyright year.
51030         * catgets/gencat.c: Likewise.
51031         * csu/version.c: Likewise.
51032         * debug/catchsegv.sh: Likewise.
51033         * debug/pcprofiledump.c: Likewise.
51034         * debug/xtrace.sh: Likewise.
51035         * elf/ldconfig.c: Likewise.
51036         * elf/ldd.bash.in: Likewise.
51037         * elf/pldd.c: Likewise.
51038         * elf/sotruss.ksh: Likewise.
51039         * elf/sprof.c: Likewise.
51040         * iconv/iconv_prog.c: Likewise.
51041         * iconv/iconvconfig.c: Likewise.
51042         * locale/programs/locale.c: Likewise.
51043         * locale/programs/localedef.c: Likewise.
51044         * login/programs/pt_chown.c: Likewise.
51045         * malloc/memusage.sh: Likewise.
51046         * malloc/memusagestat.c: Likewise.
51047         * malloc/mtrace.pl: Likewise.
51048         * manual/libc.texinfo: Likewise.
51049         * nscd/nscd.c: Likewise.
51050         * nss/getent.c: Likewise.
51051         * nss/makedb.c: Likewise.
51052         * posix/getconf.c: Likewise.
51053         * scripts/test-installation.pl: Likewise.
51055         * All files with FSF copyright notices: Update copyright dates
51056         using scripts/update-copyrights.
51057         * intl/plural.c: Regenerated.
51058         * locale/programs/charmap-kw.h: Likewise.
51059         * locale/programs/locfile-kw.h: Likewise.
51061 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
51063         * sysdeps/unix/sysv/linux/configure: Regenerated.
51064         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
51065         the linux/fanotify.h header.
51066         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
51067         HAVE_LINUX_FANOTIFY_H is defined.
51069 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51071         * benchtests/cos-inputs: New inputs.
51072         * benchtests/sin-inputs: Likewise.
51074         * benchtests/atan-inputs: New inputs. Fix name of multiple
51075         precision fallback inputs.
51077         * benchtests/atanh-inputs: New inputs.
51078         * benchtests/tanh-inputs: Likewise.
51080         * benchtests/acosh-inputs: New inputs.
51081         * benchtests/asinh-inputs: Likewise.
51083         * benchtests/cosh-inputs: New inputs.
51084         * benchtests/sinh-inputs: Likewise.
51086         * benchtests/acos-inputs: Add more inputs.
51087         * benchtests/asin-inputs: Likewise.
51089 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
51091         [BZ #16375]
51092         * manual/arith.texi: Fix spelling.
51093         * manual/charset.texi: Likewise.
51094         * manual/errno.texi: Likewise.
51095         * manual/filesys.texi: Likewise.
51096         * manual/lang.texi: Likewise.
51097         * manual/llio.texi: Likewise.
51098         * manual/locale.texi: Likewise.
51099         * manual/message.texi: Likewise.
51100         * manual/resource.texi: Likewise.
51101         * manual/search.texi: Likewise.
51102         * manual/setjmp.texi: Likewise.
51103         * manual/stdio.texi: Likewise.
51104         * manual/string.texi: Likewise.
51105         * manual/sysinfo.texi: Likewise.
51106         * manual/time.texi: Likewise.
51108 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
51110         * po/sl.po: New file.
51112 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
51114         * .gitignore: Add core/.gdbinit/.gdb_history.
51116 2013-12-27  Allan McRae  <allan@archlinux.org>
51118         [BZ #16369]
51119         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
51120         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
51122 2013-12-24  Brooks Moses  <bmoses@google.com>
51124         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
51125         all compilers that claim C++98 compliance, not just GCC.
51126         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
51127         Likewise.
51129 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
51131         * NEWS: Restore accidentally deleted bug-fix entries.
51133 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
51134             Ondřej Bílka  <neleai@seznam.cz>
51136         [BZ #15073]
51137         * malloc/malloc.c (_int_free): Perform sanity check only if we
51138         have_lock.
51140 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
51142         [BZ #12986]
51143         * manual/stdio.texi (String Input Conversions): Clarify that character
51144         classes are not supported.
51146 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51148         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51150 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
51152         [BZ #16337]
51153         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
51154         Calculate results for small negative arguments directly rather
51155         than using reflection formula with special underflow handling.
51157         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
51158         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
51159         sysdeps/unix/bsd/bsd4.4/syscalls.list.
51160         (fchflags): Likewise.
51161         (revoke): Likewise.
51162         (setlogin): Likewise.
51163         (sigaltstack): Likewise.
51164         (wait4): Likewise.
51165         (sigblock): Remove.
51166         (sigsetmask): Likewise.
51167         (wait3): Likewise.
51168         (waitpid): Likewise.
51169         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
51170         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
51171         file.
51172         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
51173         * sysdeps/unix/bsd/Makefile: ... here.
51174         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
51175         * sysdeps/unix/bsd/Versions: ... here.
51176         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
51177         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
51178         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
51179         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
51180         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
51181         * sysdeps/unix/bsd/sigblock.c: ... here.
51182         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
51183         * sysdeps/unix/bsd/sigsetmask.c: ... here.
51184         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
51185         * sysdeps/unix/bsd/sigvec.c: ... here.
51186         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
51187         * sysdeps/unix/bsd/tcdrain.c: ... here.
51188         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
51189         * sysdeps/unix/bsd/tcgetattr.c: ... here.
51190         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
51191         * sysdeps/unix/bsd/tcsetattr.c: ... here.
51192         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
51193         * sysdeps/unix/bsd/wait.c: ... here.
51194         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
51195         * sysdeps/unix/bsd/wait3.c: ... here.
51196         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
51197         * sysdeps/unix/bsd/waitpid.c: ... here.
51199 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
51201         [BZ #16356]
51202         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
51203         round-to-nearest for [!USE_AS_EXPM1L].
51204         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
51205         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
51206         more tests of exp and exp10.  Expect some exp10 tests to miss
51207         exceptions or fail in directed rounding modes.
51208         * math/auto-libm-test-out: Regenerated.
51209         * math/libm-test.inc (exp10_tonearest_test_data): New array.
51210         (exp10_test_tonearest): New function.
51211         (exp10_towardzero_test_data): New array.
51212         (exp10_test_towardzero): New function.
51213         (exp10_downward_test_data): New array.
51214         (exp10_test_downward): New function.
51215         (exp10_upward_test_data): New array.
51216         (exp10_test_upward): New function.
51217         (main): Call the new functions.
51218         * sysdeps/i386/fpu/libm-test-ulps: Update.
51219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51221 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
51223         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
51224         asinh, atan, atan2, atanh, cbrt, cos and cosh.
51225         * math/auto-libm-test-out: Regenerated.
51226         * math/libm-test.inc (acosh_test_data): Add more tests.
51227         (atanh_test_data): Likewise.
51228         (ceil_test_data): Likewise.
51229         (copysign_test_data): Likewise.
51230         * sysdeps/i386/fpu/libm-test-ulps: Update.
51231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51233         * timezone/checktab.awk: Update from tzcode 2013i.
51234         * timezone/private.h: Likewise.
51235         * timezone/scheck.c: Likewise.
51236         * timezone/tzfile.h: Likewise.
51237         * timezone/tzselect.ksh: Likewise.
51238         * timezone/zdump.c: Likewise.
51239         * timezone/zic.c: Likewise.
51241         * math/auto-libm-test-in: Add tests of cpow.
51242         * math/auto-libm-test-out: Regenerated.
51243         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
51244         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51245         mpc_cc_c.
51246         (func_calc_desc): Add mpc_cc_c union field.
51247         (test_functions): Add cpow.
51248         (special_fill_2pi): New function.
51249         (special_real_inputs): Add 2pi.
51250         (calc_generic_results): Handle mpc_cc_c.
51251         * sysdeps/i386/fpu/libm-test-ulps: Update.
51252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51254         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
51255         csqrt, ctan and ctanh.
51256         * math/auto-libm-test-out: Regenerated.
51257         * math/libm-test.inc (TEST_COND_x86_64): New macro.
51258         (TEST_COND_x86): Likewise.
51259         (ccos_test_data): Use AUTO_TESTS_c_c.
51260         (ccosh_test_data): Likewise.
51261         (cexp_test_data): Likewise.
51262         (clog_test_data): Likewise.
51263         (csqrt_test_data): Likewise.
51264         (ctan_test_data): Likewise.
51265         (ctan_tonearest_test_data): Likewise.
51266         (ctan_towardzero_test_data): Likewise.
51267         (ctan_downward_test_data): Likewise.
51268         (ctan_upward_test_data): Likewise.
51269         (ctanh_test_data): Likewise.
51270         (ctanh_tonearest_test_data): Likewise.
51271         (ctanh_towardzero_test_data): Likewise.
51272         (ctanh_downward_test_data): Likewise.
51273         (ctanh_upward_test_data): Likewise.
51274         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51275         mpc_c_c.
51276         (func_calc_desc): Add mpc_c_c union field.
51277         (FUNC_mpc_c_c): New macro.
51278         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
51279         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
51280         ctanh.
51281         (special_fill_min_subnorm_p120): New function.
51282         (special_real_inputs): Add min_subnorm_p120.
51283         (calc_generic_results): Handle mpc_c_c.
51284         * sysdeps/i386/fpu/libm-test-ulps: Update.
51285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51287 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51289         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
51290         (do_sin_slow): New functions.
51291         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
51292         (cslow2, csloww1, csloww2): Use the new functions.
51294         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
51295         Use M to change sign of result instead of X.  Assume X is
51296         positive.
51297         (csloww1): Likewise.
51298         (__sin): Adjust.
51299         (__cos): Adjust.
51301         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
51302         arguments A and DA.
51303         (__sin): Adjust.
51304         (__cos): Likewise.
51306         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
51307         (__cos): Likewise.
51308         (sloww1): Don't adjust sign of DX.
51309         (csloww1): Likewise.
51310         (sloww2): Use X directly and don't adjust sign of DX.
51311         (csloww2): Likewise.
51313 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
51315         * math/auto-libm-test-in: Add tests of cabs and carg.
51316         * math/auto-libm-test-out: Regenerated.
51317         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
51318         (carg_test_data): Likewise.
51319         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51320         mpc_c_f.
51321         (func_calc_desc): Add mpc_c_f union field.
51322         (test_functions): Add cabs and carg.
51323         (calc_generic_results): Handle mpc_c_f.
51325         * sysdeps/powerpc/powerpc32/libgcc-compat.S
51326         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
51327         as a macro and a compat symbol.
51328         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
51329         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
51330         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
51331         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
51332         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
51333         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
51334         not use .hidden.
51335         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
51336         Likewise.
51337         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
51338         Likewise.
51339         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
51340         Likewise.
51341         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
51342         Likewise.
51343         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
51344         Likewise.
51345         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
51346         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
51347         from GLIBC_2.3.2.
51349 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51353 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
51355         * manual/texinfo.tex: Update to version 2013-11-26.10 with
51356         trailing whitespace removed.
51357         * scripts/config.guess: Update to version 2013-11-29.
51358         * scripts/config.sub: Update to version 2013-10-01.
51360         * math/auto-libm-test-in: Add tests of sincos.
51361         * math/auto-libm-test-out: Regenerated.
51362         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
51363         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51364         mpfr_f_11.
51365         (func_calc_desc): Add mpfr_f_11 union field.
51366         (test_functions): Add sincos.
51367         (calc_generic_results): Handle mpfr_f_11.
51368         * sysdeps/i386/fpu/libm-test-ulps: Update.
51369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51371 2013-12-19  Andreas Schwab  <schwab@suse.de>
51373         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
51374         CALL_MCOUNT.
51375         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
51376         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
51377         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
51379 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
51381         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
51382         * sysdeps/i386/fpu/libm-test-ulps: Update.
51383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51385         [BZ #16293]
51386         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
51387         round-to-nearest mode when using frndint.
51388         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
51389         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
51390         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
51391         Likewise.
51392         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
51393         sinh test to fail.
51394         * math/auto-libm-test-out: Regenerated.
51395         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
51396         (TEST_COND_x86): Likewise.
51397         (expm1_tonearest_test_data): New array.
51398         (expm1_test_tonearest): New function.
51399         (expm1_towardzero_test_data): New array.
51400         (expm1_test_towardzero): New function.
51401         (expm1_downward_test_data): New array.
51402         (expm1_test_downward): New function.
51403         (expm1_upward_test_data): New array.
51404         (expm1_test_upward): New function.
51405         (main): Run the new test functions.
51406         * sysdeps/i386/fpu/libm-test-ulps: Update.
51407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51409         * include/features.h: Update comment documenting feature test
51410         macros.  Mention _DEFAULT_SOURCE in comment.
51411         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
51412         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
51413         _BSD_SOURCE and _SVID_SOURCE.
51414         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
51415         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
51416         !_SVID_SOURCE]: Likewise.
51417         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
51418         (__USE_POSIX_IMPLICITLY): Define.
51419         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
51420         (_POSIX_SOURCE): Undefine and redefine.
51421         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
51422         (_POSIX_C_SOURCE): Likewise.
51423         * manual/creature.texi (_DEFAULT_SOURCE): Document.
51424         (Feature Test Macros): Update documentation of default features.
51426 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
51428         * benchtests/Makefile: Add bench-strtok.
51429         * benchtests/bench-strtok.c: New file: strtok benchtest.
51431 2013-12-19  Allan McRae  <allan@archlinux.org>
51433         * manual/install.texi: Suppress menu for plain text output.
51434         * INSTALL: Regenerated.
51436 2013-12-18  Brooks Moses  <bmoses@google.com>
51438         [BZ #15846]
51439         * misc/getauxval.c: Include errno.h.
51440         (__getauxval): Set errno to ENOENT if the requested type is not
51441         found.
51442         * misc/sys/auxv.h (getauxval): Document that it may set errno;
51443         don't declare with __attribute_const__.
51444         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
51445         * manual/startup.texi: Document that getauxval sets errno.
51447 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
51449         * math/auto-libm-test-in: Add tests of jn and yn.
51450         * math/auto-libm-test-out: Regenerated.
51451         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
51452         (yn_test_data): Likewise.
51453         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51454         mpfr_if_f.
51455         (func_calc_desc): Add mpfr_if_f union field.
51456         (FUNC_mpfr_if_f): New macro.
51457         (test_functions): Add jn and yn.
51458         (calc_generic_results): Assert type of second input for
51459         mpfr_ff_f.  Handle mpfr_if_f.
51460         (output_for_one_input_case): Disable all checking for arguments
51461         fitting floating-point types in case of an integer argument.
51462         * sysdeps/i386/fpu/libm-test-ulps: Update.
51463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
51466         Don't expect fegetround reference in libm.so.
51468 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51470         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
51471         $(config-cflags-nofma).
51473 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
51475         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
51476         * math/auto-libm-test-out: Regenerated.
51478         [BZ #16338]
51479         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
51480         to determine exponent and adjust argument to have exponent of -1.
51481         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
51482         log2.
51483         * math/auto-libm-test-out: Regenerated.
51484         * sysdeps/i386/fpu/libm-test-ulps: Update.
51485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51487 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
51489         * manual/probes.texi: Remove cases when per-thread arenas are
51490         disabled.
51492 2013-12-18  Andreas Schwab  <schwab@suse.de>
51494         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
51495         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
51496         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
51497         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
51498         * sysdeps/i386/i686/multiarch/Makefile: Update.
51499         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
51501 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51503         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
51504         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
51506 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
51508         [BZ #15968]
51509         Support TZ transition times < 00:00:00.
51510         This is needed for version-3 tz-format files; it supports time
51511         stamps past 2037 for America/Godthab (the only entry in the tz
51512         database for which this change is relevant).
51513         * manual/time.texi (TZ Variable): Document transition times
51514         from -167:59:59 through -00:00:01.
51515         * time/tzset.c (tz_rule): Time of day is now signed.
51516         (__tzset_parse_tz): Parse negative time of day.
51518         Document TZ transition times >= 25:00:00.
51519         * manual/time.texi (TZ Variable): Document transition times from
51520         25:00:00 through 167:59:59.  These are already supported, and this
51521         support will help with version-3 tz-format files.
51523         * manual/time.texi (TZ Variable): Modernize North America example
51524         to reflect current (i.e., 2007-and-later) daylight saving rules.
51526         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
51528 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51530         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
51531         * sysdeps/unix/bsd/bits/stat.h: Likewise.
51532         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
51533         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
51534         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
51535         * sysdeps/unix/bsd/bsdstat.h: Likewise.
51536         * sysdeps/unix/bsd/clock.c: Likewise.
51537         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
51538         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
51539         * sysdeps/unix/bsd/init-posix.c: Likewise.
51540         * sysdeps/unix/bsd/poll.c: Likewise.
51541         * sysdeps/unix/bsd/ptsname.c: Likewise.
51542         * sysdeps/unix/bsd/seekdir.c: Likewise.
51543         * sysdeps/unix/bsd/setegid.c: Likewise.
51544         * sysdeps/unix/bsd/seteuid.c: Likewise.
51545         * sysdeps/unix/bsd/setgid.c: Likewise.
51546         * sysdeps/unix/bsd/setrgid.c: Likewise.
51547         * sysdeps/unix/bsd/setruid.c: Likewise.
51548         * sysdeps/unix/bsd/setsid.c: Likewise.
51549         * sysdeps/unix/bsd/setuid.c: Likewise.
51550         * sysdeps/unix/bsd/sigaction.c: Likewise.
51551         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
51552         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
51553         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
51554         * sysdeps/unix/bsd/telldir.c: Likewise.
51555         * sysdeps/unix/bsd/times.c: Likewise.
51556         * sysdeps/unix/bsd/usleep.c: Likewise.
51558         * misc/Makefile (install-lib): Remove libbsd-compat.a.
51559         ($(objpfx)libbsd-compat.a): Remove rule.
51561         * include/features.h (__FAVOR_BSD): Do not define.
51562         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
51563         features conflicting with POSIX.
51564         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
51565         (_BSD_SOURCE): Remove description of not being a subset of other
51566         feature test macros.
51567         * manual/job.texi (getpgrp): Do not document BSD version.
51568         (getpgid): Do not document by reference to BSD getpgrp.
51569         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
51570         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
51571         * signal/signal.h [__FAVOR_BSD]: Likewise.
51572         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
51573         instead of making contents conditional on [__FAVOR_BSD].
51574         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
51576 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51578         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51580 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51582         [BZ #16314]
51583         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
51584         values below 2**-450, not 2**-500.
51585         * math/auto-libm-test-in: Don't allow spurious underflow from
51586         hypot.
51587         * math/auto-libm-test-out: Regenerated.
51589         [BZ #16316]
51590         [BZ #16330]
51591         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
51592         values of ha and hb and sort them after adjusting subnormal
51593         arguments.
51594         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
51595         Likewise.
51596         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
51597         values of ea and eb and sort them after adjusting subnormal
51598         arguments.
51599         * math/auto-libm-test-in: Do not expect some hypot tests of
51600         subnormals to fail.  Add more hypot tests.
51601         * math/auto-libm-test-out: Regenerated.
51603 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51605         [BZ #13304]
51606         * sysdeps/sh/s_fma.c: New file.
51607         * sysdeps/sh/s_fmaf.c: New file.
51608         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
51609         version.
51610         * sysdeps/sh/Implies: Add sh/soft-fp.
51612 2013-12-16  Roland McGrath  <roland@hack.frob.com>
51614         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
51615         level of indirection to members `objname', `errstring', `malloced'.
51616         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
51617         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
51618         it as the __longjmp argument (just pass 1 instead).
51619         (_dl_catch_error): Initialize C with argument pointers and address of
51620         volatile local ERRCODE rather than copying values out of C at return.
51622 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
51624         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
51625         * math/auto-libm-test-out: Regenerated.
51626         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
51627         (hypot_test_data): Likewise.
51628         (pow_test_data): Likewise.
51629         (pow_tonearest_test_data): Likewise.
51630         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51631         mpfr_ff_f.
51632         (func_calc_desc): Add mpfr_ff_f union field.
51633         (FUNC_mpfr_ff_f): New macro.
51634         (test_functions): Add atan2, hypot and pow.
51635         (special_fill_min): New function.
51636         (special_fill_minus_min): Likewise.
51637         (special_fill_min_subnorm): Likewise.
51638         (special_fill_minus_min_subnorm): Likewise.
51639         (special_real_inputs): Add min, -min, min_subnorm and
51640         -min_subnorm.
51641         (calc_generic_results): Handle mpfr_ff_f.
51642         * sysdeps/i386/fpu/libm-test-ulps: Update.
51643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51645 2013-12-16  Will Newton  <will.newton@linaro.org>
51647         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
51648         (Aligned Memory Blocks): Add documentation for aligned_alloc
51649         and suggest it as an alternative to posix_memalign.
51650         (Hooks for Malloc): Document __memalign_hook is also called
51651         for aligned_alloc.  (Summary of Malloc): Add summary for
51652         aligned alloc.  Document __memalign_hook is also called
51653         for aligned_alloc.
51655 2013-12-16  Will Newton  <will.newton@linaro.org>
51657         * manual/memory.texi (Malloc Examples): Clarify default
51658         alignment documentation.  Suggest posix_memalign rather
51659         than memalign or valloc.
51660         (Aligned Memory Blocks): Remove suggestion to use memalign
51661         or valloc.  Remove obsolete comment about BSD.
51662         Document memalign errno values and mark the function obsolete.
51663         Document posix_memalign returned error codes.  Mark valloc
51664         as obsolete.  (Hooks for Malloc): __memalign_hook is also
51665         called for posix_memalign and valloc.
51666         (Summary of Malloc): Add posix_memalign to function summary.
51667         __memalign_hook is also called for posix_memalign and valloc.
51669 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51671         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
51672         TAYLOR_SIN.
51673         (__sin): Adjust.
51674         (__cos): Likewise.
51675         (sloww): Use mynumber union.  Expand ternary operator into
51676         if-else statements.
51677         (cslow): use mynumber union.
51679 2013-12-16  Allan McRae  <allan@archlinux.org>
51681         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
51682         * configure: Regenerated.
51684         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
51686         [BZ #14120]
51687         * configure.ac: Added --enable-maintainer-mode. Check for
51688         autoconf when enabled.
51689         * configure: Regenerated.
51691         * nscd/nscd.service: New file.
51692         * nscd/nscd.tmpfiles: New file.
51694 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
51696         [BZ #12100]
51697         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
51698         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
51699         * sysdeps/x86_64/multiarch/strstr.c: ... here.
51700         (strstr): Add __strstr_sse2_unaligned ifunc.
51701         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
51702         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
51703         (strcasestr): Remove __strcasestr_sse42 ifunc.
51704         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
51705         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
51706         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
51708 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51710         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
51711         * sysdeps/sh/bits/fenv.h: ... here.
51712         * sysdeps/sh/sh4/fpu/bits: Remove directory.
51714 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51716         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
51718         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
51719         hypotf multiarch implementations.
51720         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
51721         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
51722         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
51723         multiarch hypot for PPC64.
51724         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
51725         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
51726         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
51727         multiarch hypotf for PPC64.
51729         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
51730         modff multiarch implementations.
51731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
51732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
51733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
51734         multiarch modf for PPC64.
51735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
51736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
51737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
51738         multiarch modff for PPC64.
51740         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
51741         and logl multiarch implementations.
51742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
51743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
51744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
51745         multiarch logb for PPC64.
51746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
51747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
51748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
51749         multiarch logb for PPC64.
51750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
51751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
51752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
51753         multiarch logb for PPC64.
51755         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
51756         isinff multiarch implementation.
51757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
51758         file.
51759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
51760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
51761         multiarch isinf for PPC64.
51762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
51763         file.
51764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
51765         multiarch isinff for PPC64.
51767         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
51768         finitef multiarch implementation.
51769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
51770         file.
51771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
51772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
51773         multiarch finite for PPC64.
51774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
51775         file.
51776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
51777         multiarch finitef for PPC64.
51779         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
51780         lrint multiarch implementation.
51781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
51782         file.
51783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
51784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
51785         multiarch llrint for PPC64.
51786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
51787         multiarch lrint for PPC64.
51789         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
51790         copysignf multiarch implementation.
51791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
51792         file.
51793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
51794         file.
51795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
51796         multiarch copysign for PPC64.
51797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
51798         multiarch copysignf for PPC64.
51800         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
51801         multiarch implementation.
51802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
51803         file.
51804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
51805         file.
51806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
51807         file.
51808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
51809         file.
51810         multiarch llround for PPC64.
51811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
51812         multiarch trunc for PPC64.
51813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
51814         multiarch truncf for PPC64.
51816         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
51817         multiarch implementation.
51818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
51819         file.
51820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
51821         file.
51822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
51823         file.
51824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
51825         file.
51826         multiarch llround for PPC64.
51827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
51828         multiarch round for PPC64.
51829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
51830         multiarch roundf for PPC64.
51832         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
51833         multiarch implementation.
51834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
51835         file.
51836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
51837         file.
51838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
51839         file.
51840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
51841         file.
51842         multiarch llround for PPC64.
51843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
51844         multiarch floor for PPC64.
51845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
51846         multiarch floorf for PPC64.
51848         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
51849         multiarch implementation.
51850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
51851         file.
51852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
51853         file.
51854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
51855         file.
51856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
51857         file.
51858         multiarch llround for PPC64.
51859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
51860         multiarch ceil for PPC64.
51861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
51862         multiarch ceilf for PPC64.
51864         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
51865         multiarch implementation.
51866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
51867         file.
51868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
51869         file.
51870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
51871         file.
51872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
51873         multiarch llround for PPC64.
51874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
51875         multiarch lround for PPC64.
51877         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
51878         multiarch implementation.
51879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
51880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
51881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
51882         file.
51883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
51884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
51885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
51886         multiarch isnan for PPC64.
51887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
51888         multiarch isnanf for PPC64.
51890         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
51891         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
51892         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
51893         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
51894         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
51895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
51897         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
51898         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51899         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51900         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51902         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
51903         multiarch implementations.
51904         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51905         (__libc_ifunc_impl_list): Likewise.
51906         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
51907         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
51908         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
51909         multiarch stpcpy for PPC64.
51911         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
51912         multiarch implementations.
51913         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51914         (__libc_ifunc_impl_list): Likewise.
51915         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
51916         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
51917         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
51918         multiarch strcpy for PPC64.
51920         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
51921         redefine function name.
51922         (_wordcopy_fwd_dest_aligned): Likewise.
51923         (_wordcopy_bwd_aligned): Likewise.
51924         (_wordcopy_bwd_dest_aligned): Likewise.
51925         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
51926         multiarch implementations.
51927         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51928         (__libc_ifunc_impl_list): Likewise.
51929         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
51930         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
51931         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
51932         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
51933         multiarch wcscpy for PPC64.
51935         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
51936         multiarch implementations.
51937         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51938         (__libc_ifunc_impl_list): Likewise.
51939         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
51940         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
51941         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
51942         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
51943         multiarch wcscpy for PPC64.
51945         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
51946         multiarch implementations.
51947         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51948         (__libc_ifunc_impl_list): Likewise.
51949         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
51950         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
51951         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
51952         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
51953         multiarch wcsrchr for PPC64.
51955         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
51956         multiarch implementations.
51957         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51958         (__libc_ifunc_impl_list): Likewise.
51959         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
51960         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
51961         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
51962         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
51963         multiarch wcschr for PPC64.
51965         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
51966         multiarch implementations.
51967         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51968         (__libc_ifunc_impl_list): Likewise.
51969         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
51970         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
51971         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
51972         multiarch strchrnul for PPC64.
51974         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
51975         implementations.
51976         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51977         (__libc_ifunc_impl_list): Likewise.
51978         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
51979         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
51980         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
51981         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
51982         strchr for PPC64.
51984         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
51985         implementations.
51986         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51987         (__libc_ifunc_impl_list): Likewise.
51988         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
51989         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
51990         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
51991         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
51992         strncmp for PPC64.
51994         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
51995         multiarch implementations.
51996         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51997         (__libc_ifunc_impl_list): Likewise.
51998         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
51999         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
52000         strncasecmp for PPC64.
52001         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
52002         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
52003         multiarch strncasecmp_l for PPC64.
52005         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
52006         multiarch implementations.
52007         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52008         (__libc_ifunc_impl_list): Likewise.
52009         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
52010         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
52011         multiarch strcasecmp for PPC64.
52012         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
52013         file.
52014         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
52015         multiarch strcasecmp_l for PPC64.
52017         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
52018         implementations.
52019         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52020         (__libc_ifunc_impl_list): Likewise.
52021         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
52022         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
52023         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
52024         strnlen for PPC64.
52026         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
52027         implementations.
52028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52029         (__libc_ifunc_impl_list): Likewise.
52030         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
52031         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
52032         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
52033         strlen for PPC64.
52035         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
52036         implementations.
52037         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52038         (__libc_ifunc_impl_list): Likewise.
52039         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
52040         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
52041         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
52042         rawmemrchr for PPC64.
52044         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
52045         implementation.
52046         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52047         (__libc_ifunc_impl_list): Likewise.
52048         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
52049         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
52050         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
52051         memrchr for PPC64.
52053         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
52054         implementation.
52055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52056         (__libc_ifunc_impl_list): Likewise.
52057         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
52058         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
52059         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
52060         memchr for PPC64.
52062         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
52063         implementation.
52064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52065         (__libc_ifunc_impl_list): Likewise.
52066         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
52067         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
52068         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
52069         mempcpy for PPC64.
52071         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
52072         avoid cretion of __bzero symbol.
52073         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
52074         Likewise.
52075         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
52076         Likewise.
52077         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
52078         Likewise.
52079         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
52080         multiarch implementations.
52081         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52082         (__libc_ifunc_impl_list): Likewise.
52083         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
52084         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
52085         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
52086         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
52087         bzero for PPC32.
52088         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
52089         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
52090         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
52091         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
52092         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
52093         memset for PPC64.
52094         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
52096         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
52097         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
52098         implementations.
52099         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52100         (__libc_ifunc_impl_list): Likewise.
52101         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
52102         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
52103         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
52104         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
52105         memcmp for PPC64.
52107         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
52108         multiarch for POWER/PPC64.
52109         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
52110         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
52111         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
52112         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
52113         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
52114         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
52115         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
52116         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
52117         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
52118         memcpy for PPC64.
52120         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
52121         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
52122         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
52123         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
52124         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
52125         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
52126         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
52127         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
52128         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
52129         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
52130         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
52131         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
52132         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
52133         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
52134         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
52135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
52136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
52137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
52138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
52139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
52140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
52141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
52143 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52145         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
52147 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52149         * benchtests/Makefile (bench): Add exp2 and log2.
52150         (LDLIBS-bench-exp2): Add -lm.
52151         (LDLIBS-bench-log2): Likewise.
52152         * benchtests/exp2-inputs: New inputs file.
52153         * benchtests/log2-inputs: New inputs file.
52154         * benchtests/log-inputs: Add new inputs.
52155         * benchtests/tan-inputs: Likewise.
52157 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52159         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
52160         definition...
52161         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
52162         (csloww2): ... from here.
52164         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
52165         instead of structures.
52166         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
52167         (POLYNOMIAL): Likewise.
52168         (TAYLOR_SLOW): Likewise.
52169         (__sin): Likewise.
52170         (__cos): Likewise.
52171         (slow1): Likewise.
52172         (slow2): Likewise.
52173         (sloww): Likewise.
52174         (sloww1); Likewise.
52175         (sloww2): Likewise.
52176         (bsloww1): Likewise.
52177         (bsloww2): Likewise.
52178         (cslow2): Likewise.
52179         (csloww): Likewise.
52180         (csloww1): Likewise.
52181         (csloww2): Likewise.
52183 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
52185         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
52186         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
52187         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
52188         * malloc/hooks.c (realloc_check): Likewise.
52190         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
52191         * malloc/arena.c: Remove PER_THREAD conditional.
52192         [!PER_THREAD]: Remove code.
52193         (ptmalloc_unlock_all2): Likewise.
52194         (ptmalloc_init): Likewise.
52195         (_int_new_arena): Likewise.
52196         (arena_get2): Likewise.
52197         * malloc/hooks.c (__malloc_get_state): Likewise.
52198         (__malloc_set_state): Likewise.
52199         * malloc/malloc.c: Likewise.
52200         (struct malloc_state): Likewise.
52201         (struct malloc_par): Likewise.
52202         (__libc_realloc): Likewise.
52203         (__libc_mallopt): Likewise.
52205 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52207         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
52209 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
52211         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
52212         macro to a function.  Check for zero perturb_byte.
52213         (_int_malloc, _int_free): Remove zero perturb_byte checks.
52215         * malloc/malloc.c: (force_reg): Remove.
52216         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
52217         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
52218         force_reg by atomic_forced_read.
52219         * malloc/arena.c (ptmalloc_init): Likewise.
52220         * malloc/hooks.c (top_check): Likewise.
52222 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52224         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52226 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
52228         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52230 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
52232         * math/auto-libm-test-in: Add tests of lgamma.
52233         * math/auto-libm-test-out: Regenerated.
52234         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
52235         (M_LOG_2_SQRT_PIl): Likewise.
52236         (lgamma_test_data): Use AUTO_TESTS_f_f1.
52237         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52238         mpfr_f_f1.
52239         (func_calc_desc): Add mpfr_f_f1 union field.
52240         (ARGS1): New macro.
52241         (ARGS2): Likewise.
52242         (ARGS3): Likewise.
52243         (ARGS4): Likewise.
52244         (RET1): Likewise.
52245         (RET2): Likewise.
52246         (CALC): Likewise.
52247         (FUNC): Likewise.
52248         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
52249         (test_functions): Add lgamma.
52250         (calc_generic_results): Handle mpfr_f_f1.
52251         * sysdeps/i386/fpu/libm-test-ulps: Update.
52252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52254 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52256         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
52257         __mpn_add_n for PowerPC64/POWER7.
52258         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
52259         __mpn_sub_n for PowerPC64/POWER7.
52261         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
52262         __mpn_addmul_1 for PowerPC64.
52263         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
52264         __mpn_submul_1 for PowerPC64.
52265         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
52266         for PowerPC64.
52267         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
52268         for PowerPC64.
52270 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
52272         [BZ #15089]
52273         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
52275 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52277         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
52279         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
52280         add multiarch folders.
52281         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
52282         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
52283         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
52284         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
52285         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
52286         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
52287         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
52288         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
52289         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
52290         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
52291         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
52292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
52293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
52294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
52295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
52296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
52297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
52299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
52300         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
52301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
52302         New file.
52303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
52304         New file.
52305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
52306         multiarch __ieee754_hypot for PowerPC32.
52307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
52308         New file.
52309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
52310         New file.
52311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
52312         multiarch __ieee754_hypotf for PowerPC32.
52314         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
52315         long_double_symbol only if __logbl is defined.
52316         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
52317         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
52318         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
52319         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
52320         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
52321         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
52322         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
52323         path for implementation.
52324         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
52325         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
52326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
52327         logb, and logbl multiarch implementations for PowerPC32.
52328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
52329         file.
52330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
52331         file.
52332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
52333         multiarch logb for PowerPC32.
52334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
52335         file.
52336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
52337         file.
52338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
52339         multiarch logbf for PowerPC32.
52340         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
52341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
52342         file.
52343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
52344         multiarch logbl implementation for PowerPC32.
52346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
52347         and modff multiarch implementations.
52348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
52349         New file.
52350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
52351         New file.
52352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
52353         multiarch modf for PowerPC32.
52354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
52355         New file.
52356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
52357         New file.
52358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
52359         multiarch modff for PowerPC32.
52361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
52362         and lrintf multiarch implementations.
52363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
52364         New file.
52365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
52366         New file.
52367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
52368         multiarch lrint for PowerPC32.
52369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
52370         file: multiarch lrintf for PowerPC32.
52372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
52373         and lroundf multiarch implementations.
52374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
52375         New file.
52376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
52377         New file.
52378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
52379         New file.
52380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
52381         multiarch lround for PowerPC32.
52382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
52383         file: multiarch lroundf for PowerPC32.
52385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
52386         copysign and copysignf multiarch implementations.
52387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
52388         New file.
52389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
52390         New file.
52391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
52392         file: multiarch copysign for PowerPC32.
52393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
52394         file: multiarch copysignf for PowerPC32.
52396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
52397         and truncf multiarch implementations.
52398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
52399         New file.
52400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
52401         file.
52402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
52403         multiarch trunc for PowerPC32.
52404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
52405         New file.
52406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
52407         New file.
52408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
52409         multiarch truncf for PowerPC32.
52411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
52412         and roundf multiarch implementations.
52413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
52414         New file.
52415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
52416         file.
52417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
52418         multiarch round for PowerPC32.
52419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
52420         New file.
52421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
52422         New file.
52423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
52424         multiarch roundf for PowerPC32.
52426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
52427         and floorf multiarch implementations.
52428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
52429         New file.
52430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
52431         file.
52432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
52433         multiarch floor for PowerPC32.
52434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
52435         New file.
52436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
52437         New file.
52438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
52439         multiarch floorf for PowerPC32.
52441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
52442         and ceilf multiarch implementations.
52443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
52444         New file.
52445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
52446         file.
52447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
52448         multiarch ceil for PowerPC32.
52449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
52450         New file.
52451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
52452         file.
52453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
52454         multiarch ceilf for PowerPC32.
52456         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
52457         is defined.
52458         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
52459         FINITEF is defined.
52460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
52461         and finitef multiarch implementations.
52462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
52463         New file.
52464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
52465         file.
52466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
52467         multiarch finite for PowerPC32.
52468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
52469         New file.
52470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
52471         file: multiarch finitef for PowerPC32.
52473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
52474         and isinff multiarch implementations.
52475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
52476         file.
52477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
52478         file.
52479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
52480         multiarch isinf for PowerPC32.
52481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
52482         New file.
52483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
52484         multiarch isinff for PowerPC32.
52486         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
52487         alias when __isnan is defined.
52488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
52489         and isnanf multiarch implementations.
52490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
52491         file.
52492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
52493         file.
52494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
52495         file.
52496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
52497         file.
52498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
52499         multiarch isnan for PowerPC32.
52500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
52501         New file.
52502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
52503         New file.
52504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
52505         multiarch isnanf for PowerPC32.
52507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
52508         and sqrtf multiarch implementations.
52509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
52510         file.
52511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
52512         file.
52513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
52514         multiarch sqrt for PowerPC32.
52515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
52516         file.
52517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
52518         file.
52519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
52520         multiarch sqrtf for PowerPC32.
52522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
52523         and llroundf multiarch implementations.
52524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
52525         New file.
52526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
52527         New file.
52528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
52529         New file.
52530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
52531         file: multiarch llround for PowerPC32.
52532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
52533         file: multiarch llroundf for PowerPC32.
52535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
52536         multiarch PowerPC32 fpu implementations.
52537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
52538         New file.
52539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
52540         New file.
52541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
52542         multiarch llrint for PowerPC32.
52543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
52544         New file.
52545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
52546         New file.
52547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
52548         file.
52550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
52552         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
52553         file.
52554         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
52555         file.
52556         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
52557         file.
52558         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
52559         multiarch wordcopy for PPC32.
52560         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
52561         wordcopy objects.
52562         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52563         (__libc_ifunc_impl_list): Likewise.
52564         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
52565         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
52566         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
52567         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
52568         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
52569         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
52571         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
52572         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
52573         file.
52574         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
52575         file.
52576         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
52577         file.
52578         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
52579         multiarch wcscpy for PPC32.
52580         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
52581         multiarch objects.
52582         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52583         (__libc_ifunc_impl_list): Likewise.
52584         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
52585         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
52586         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
52587         sysdeps/powerpc/power6/wcscpy.c.
52589         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
52590         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
52591         file.
52592         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
52593         file.
52594         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
52595         file.
52596         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
52597         multiarch wcsrchr for PPC32.
52598         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
52599         multiarch objects.
52600         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52601         (__libc_ifunc_impl_list): Likewise.
52602         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
52603         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
52604         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
52605         sysdeps/powerpc/power6/wcsrchr.c.
52607         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
52608         file.
52609         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
52610         file.
52611         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
52612         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
52613         multiarch wcschr for PPc32.
52614         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
52615         multiarch objects.
52616         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52617         (__libc_ifunc_impl_list): Likewise.
52618         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
52619         * sysdeps/powerpc/power6/wcschr.c: ... to here.
52620         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
52621         sysdeps/powerpc/power6/wcschr.c.
52623         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
52624         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
52625         file.
52626         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
52627         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
52628         file: multiarch strchr for PPC32.
52629         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
52630         multiarch objects.
52631         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52632         (__libc_ifunc_impl_list): Likewise.
52634         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
52635         name.
52636         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
52637         file.
52638         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
52639         file.
52640         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
52641         multiarch strchrnul for PPC32.
52642         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
52643         multiarch objects.
52644         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52645         (__libc_ifunc_impl_list): Likewise.
52647         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
52648         file.
52649         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
52650         multiarch strncasecmp for PPC32.
52651         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
52652         file.
52653         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
52654         multiarch strncasecmp_l for PPC32.
52655         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
52656         strncasecmp multiarch objects.
52657         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52658         (__libc_ifunc_impl_list): Likewise.
52660         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
52661         file.
52662         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
52663         multiarch strncasecmp for PPC32.
52664         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
52665         New file.
52666         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
52667         multiarch strcasecmp_l for PPC32.
52668         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
52669         multiarch objects.
52670         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52671         (__libc_ifunc_impl_list): Likewise.
52673         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
52674         file.
52675         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
52676         file.
52677         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
52678         multiarch strncmp for PPC32.
52679         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
52680         multiarch objects.
52681         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52682         (__libc_ifunc_impl_list): Likewise.
52684         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
52685         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
52686         file.
52687         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
52688         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
52689         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
52690         multiarch objects.
52691         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52692         (__libc_ifunc_impl_list): Likewise.
52694         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
52695         file.
52696         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
52697         file.
52698         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
52699         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
52700         multiarch objects.
52701         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52702         (__libc_ifunc_impl_list): Likewise.
52704         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
52705         file.
52706         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
52707         file.
52708         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
52709         multiarch rawmemchr for PPC32.
52710         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
52711         multiarch objects.
52712         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52713         (__libc_ifunc_impl_list): Likewise.
52715         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
52716         file.
52717         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
52718         file.
52719         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
52720         file: memrchr multiarch for PPC32.
52721         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
52722         multiarch objects.
52723         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52724         (__libc_ifunc_impl_list): Likewise.
52726         * string/memchr.c (__memchr): Using macro to redefine symbol name.
52727         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
52728         file.
52729         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
52730         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
52731         multiarch memchr for PPC32.
52732         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
52733         multiarch objects.
52734         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52735         (__libc_ifunc_impl_list): Likewise.
52737         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
52738         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
52739         file.
52740         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
52741         file.
52742         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
52743         file: multiarch mempcpy for PPC32.
52744         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
52745         multiarch objects.
52746         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52747         (__libc_ifunc_impl_list): Likewise.
52749         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
52750         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
52751         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
52752         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
52753         multiarch bzero for PPC32.
52754         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
52755         file.
52756         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
52757         file.
52758         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
52759         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
52760         file: multiarch memset for PPC32.
52761         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
52762         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
52763         memset multiarch objects.
52764         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52765         (__libc_ifunc_impl_list): Likewise.
52767         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
52768         file.
52769         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
52770         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
52771         memcmp for PPC32.
52772         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
52773         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
52774         multiarch objects.
52775         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52776         (__libc_ifunc_impl_list): Likewise.
52778         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
52779         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
52780         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
52781         file.
52782         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
52783         file.
52784         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
52785         file.
52786         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
52787         multiarch memcpy for PPC32.
52788         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
52789         multiarch objects.
52790         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52791         (__libc_ifunc_impl_list): Likewise.
52793         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
52794         support multiarch for POWER/PPC32.
52795         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
52796         Likewise.
52797         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
52798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
52799         Implies file to make multiarch folder appers before the fpu and
52800         default folder for power4 configuration.
52802 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52804         * scripts/bench.pl: Append volatile keyword to type.
52806 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52808         * sysdeps/sh/sotruss-lib.c: New file.
52809         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
52811 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52815 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
52817         [BZ #6810]
52818         * math/w_tgamma.c: Include <errno.h>.
52819         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
52820         * math/w_tgammaf.c: Include <errno.h>.
52821         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
52822         * math/w_tgammal.c: Include <errno.h>.
52823         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
52824         * math/auto-libm-test-in: Do not allow missing errno on tgamma
52825         underflow.  Add more tgamma tests.
52826         * math/auto-libm-test-out: Regenerated.
52827         * sysdeps/i386/fpu/libm-test-ulps: Update.
52828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52830         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
52831         sin, sinh, tan, tanh, tgamma, y0 and y1.
52832         * math/auto-libm-test-out: Regenerated.
52833         * math/libm-test.inc (TEST_COND_x86_64): New macro.
52834         (TEST_COND_x86): Likewise.
52835         (M_E2l): Remove macro.
52836         (M_E3l): Likewise.
52837         (M_2_SQRT_PIl): Likewise.
52838         (M_SQRT_PIl): Likewise.
52839         (M_1_DIV_El): Likewise.
52840         (log_test_data): Use AUTO_TESTS_f_f.
52841         (log10_test_data): Likewise.
52842         (log1p_test_data): Likewise.
52843         (log2_test_data): Likewise.
52844         (sin_test_data): Likewise.
52845         (sin_tonearest_test_data): Likewise.
52846         (sin_towardzero_test_data): Likewise.
52847         (sin_downward_test_data): Likewise.
52848         (sin_upward_test_data): Likewise.
52849         (sinh_test_data): Likewise.
52850         (sinh_tonearest_test_data): Likewise.
52851         (sinh_towardzero_test_data): Likewise.
52852         (sinh_downward_test_data): Likewise.
52853         (sinh_upward_test_data): Likewise.
52854         (tan_test_data): Likewise.
52855         (tan_tonearest_test_data): Likewise.
52856         (tan_towardzero_test_data): Likewise.
52857         (tan_downward_test_data): Likewise.
52858         (tan_upward_test_data): Likewise.
52859         (tanh_test_data): Likewise.
52860         (tgamma_test_data): Likewise.
52861         (y0_test_data): Likewise.
52862         (y1_test_data): Likewise.
52863         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
52864         (special_real_inputs): Add pi/4.
52865         * sysdeps/i386/fpu/libm-test-ulps: Update.
52866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52868 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52870         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
52871         "longjmp_target" static probes.
52872         (__longjmp): Rename to __longjmp_symbol.
52873         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
52874         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
52875         on which longjmp to generate.
52876         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
52877         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
52878         probe.
52879         (__sigsetjmp): Rename to __sigsetjmp_symbol.
52880         (__sigjmp_save): Rename to __sigjmp_save_symbol.
52881         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
52882         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
52883         and __sigjmp_save_symbol based on which sigsetjmp to generated.
52884         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
52885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
52886         __longjmp_symbol based on which __longjmp to generate.
52887         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
52888         probe.
52889         (setjmp): Rename to setjmp_symbol.
52890         (__sigsetjmp): Rename to __sigsetjmp_symbol.
52891         (_setjmp): Rename to _setjmp_symbol.
52892         (__sigsetjmp): Rename to __sigsetjmp_symbol.
52893         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
52894         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
52895         which setjmp to generate.
52896         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
52897         "longjmp_target" static probes.
52899 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52901         * benchtests/README: Add note about output arguments.
52902         * benchtests/bench-sincos.c: Remove file.
52903         * benchtests/sincos-inputs: New file.
52904         * scripts/bench.pl: Identify output arguments and define
52905         static variables for them.
52907         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
52909         [BZ #15941]
52910         * Makefile (INSTALL): Add install-plain.texi as the primary
52911         dependency.
52912         * manual/install-plain.texi: New file.
52913         * manual/install.texi: Include node directive only for
52914         non-plaintext output.
52916 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
52918         * stdlib/longlong.h: Update from GCC.
52920         [BZ #6807]
52921         [BZ #15901]
52922         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
52923         * math/w_j0f.c (y0f): Likewise.
52924         * math/w_j0l.c (__y0l): Likewise.
52925         * math/w_j1.c (y1): Likewise.
52926         * math/w_j1f.c (y1f): Likewise.
52927         * math/w_j1l.c (__y1l): Likewise.
52928         * math/w_jn.c (yn): Likewise.
52929         * math/w_jnf.c (ynf): Likewise.
52930         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
52931         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
52932         value for Bessel function domain errors outside _SVID_ mode.
52933         Adjust sign of return value for yn (negative integer, 0).
52934         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
52935         by zero in return for negative x and set sign appropriately for
52936         negative n.
52937         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
52938         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
52939         * math/libm-test.inc (y0_test_data): Add more tests and adjust
52940         expectations in error cases.
52941         (y1_test_data): Likewise.
52942         (yn_test_data): Likewise.
52943         * sysdeps/i386/fpu/libm-test-ulps: Update.
52944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52946 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52948         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
52949         "64" to "64-v1".  Add "64-v2".
52950         (abi-64-options): Rename to ...
52951         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
52952         (abi-64-condition): Rename to ...
52953         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
52954         (abi-64-ld-soname): Rename to ...
52955         (abi-64-v1-ld-soname): ... this.
52956         (abi-64-v2-options): Define.
52957         (abi-64-v2-condition): Likewise.
52958         (abi-64-v2-ld-soname): Likewise.
52959         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
52960         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
52961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
52962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
52963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
52965 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52966             Alan Modra  <amodra@gmail.com>
52968         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
52969         New versions for use with the ELFv2 ABI.
52970         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
52971         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
52972         declaration.
52973         (struct La_ppc64v2_retval): Likewise.
52974         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
52975         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
52976         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
52977         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
52978         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
52979         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52980         Do not save or restore CR.
52981         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
52982         (_dl_profile_resolve): Do no save or restore CR.  Support extended
52983         return values for ELFv2 ABI.  Fix location of FPR return registers.
52984         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
52985         updated values for _CALL_ELF == 2.
52986         (La_regs, La_retval, int_retval): Likewise.
52988 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52990         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
52991         (FRAME_MIN_SIZE_PARM): Likewise.
52992         (FRAME_BACKCHAIN): Likewise.
52993         (FRAME_CR_SAVE): Likewise.
52994         (FRAME_LR_SAVE): Likewise.
52995         (FRAME_TOC_SAVE): Likewise.
52996         (FRAME_PARM_SAVE): Likewise.
52997         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
52998         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
52999         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
53000         (call_mcount_parm_offset): New macro.
53001         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
53002         (PROF): Use symbolic stack frame offsets.
53003         (TAIL_CALL_SYSCALL_ERROR): Likewise.
53004         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
53005         Redefine in terms of FRAME_MIN_SIZE.
53006         (_dl_runtime_resolve): Use symbolic stack frame offsets.
53007         (_dl_profile_resolve): Likewise.  Update comment.
53008         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
53009         symbols stack frame offsets.
53010         (__sigsetjmp): Likewise.
53011         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
53012         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
53013         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
53014         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
53016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
53017         (FRAME_BACKCHAIN): Remove.
53018         (FRAME_CR_SAVE): Likewise.
53019         (FRAME_LR_SAVE): Likewise.
53020         (FRAME_COMPILER_DW): Likewise.
53021         (FRAME_LINKER_DW): Likewise.
53022         (FRAME_TOC_SAVE): Likewise.
53023         (FRAME_PARM_SAVE): Likewise.
53024         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
53025         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
53026         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
53027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
53028         (CHECK_SP): Use symbolic stack frame offsets.
53029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
53030         zone" instead of caller's parameter save area for temp storage.
53031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53032         Likewise.  Also, use symbolic stack frame offsets.
53033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
53034         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
53035         our own stack frame instead of the caller's.
53036         (__socket): Use symbolic stack frame offsets.
53038 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53039             Alan Modra  <amodra@gmail.com>
53041         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
53042         Define.
53043         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
53044         (PPC64_LOCAL_ENTRY_OFFSET): Define.
53045         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
53046         New function.
53047         (elf_machine_fixup_plt): Call it.
53048         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
53049         reloc arguments.
53050         (elf_machine_rela): Update call to elf_machine_plt_conflict.
53051         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
53052         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
53053         r2 before calling target.
53055 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53056             Alan Modra  <amodra@gmail.com>
53058         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
53059         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
53060         versions of macros to support ELFv2 ABI.
53061         (LOCALENTRY): New macro.
53062         (ENTRY, EALIGN): Use it.
53063         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
53064         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
53065         fall through into ENTRY entry point.
53066         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
53067         Only define if _CALL_ELF != 2.
53069         (elf_machine_matches_host): Verify ABI version matches.
53070         (RTLD_START): Use LOCALENTRY.
53071         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
53072         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
53073         (PLT_ENTRY_WORDS): New macro.
53074         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
53075         (elf_machine_runtime_setup): Support ELFv2 ABI.
53076         (elf_machine_fixup_plt): Likewise.
53077         (elf_machine_plt_conflict): Likewise.
53078         (resolve_ifunc): Likewise.
53079         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
53080         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
53081         Likewise.
53082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
53083         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
53084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53085         (makecontext): Support ELFv2 ABI.
53086         * elf/elf.h (EF_PPC64_ABI): Define.
53088 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53090         * sysdeps/powerpc/powerpc64/sysdep.h
53091         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
53092         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
53093         (ENTRY) [ASSEMBLER]: ... but instead here ...
53094         (EALIGN) [ASSEMBLER]: ... and here.
53095         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
53096         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
53097         (ENTRY_2) [!ASSEMBLER]: Use it.
53098         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
53099         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
53100         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
53101         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
53102         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
53103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
53104         Use PPC64_LOAD_FUNCPTR.
53106         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
53108 2013-12-04  Alan Modra  <amodra@gmail.com>
53110         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
53111         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
53112         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
53113         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
53115         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
53116         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
53117         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
53118         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
53119         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
53120         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
53122 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53125         (__makecontext): Fix incorrect CFI when backtracing out of
53126         context created via makecontext.
53127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
53128         (__setcontext): Fix incorrect CFI during switch to new context.
53129         (__novec_setcontext): Likewise.
53131 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
53133         [BZ #4772]
53134         * time/strptime_l.c (__strptime_internal): Allow modifiers
53135         in strptime.
53136         * time/tst-strptime.c (day_tests): Add testcase.
53138 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53140         * scripts/bench.pl: Skip over blank lines.
53142 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
53144         [BZ #926]
53145         * manual/time.texi (Calendar Time): Clarify what timezone functions
53146         use.
53148 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53150         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53152 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
53154         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
53155         implementation.
53156         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
53157         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
53158         * debug/memset_chk.c (__memset_chk): Likewise.
53159         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
53160         * debug/strncpy_chk.c: Likewise.
53162 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
53164         [BZ #15268]
53165         [BZ #15425]
53166         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
53167         (__ieee754_exp): For possibly underflowing results, check size of
53168         result and force underflow exception if required.
53169         * math/auto-libm-test-in: Add more tests of exp.
53170         * math/auto-libm-test-out: Regenerated.
53171         * sysdeps/i386/fpu/libm-test-ulps: Update.
53172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53174         [BZ #16283]
53175         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
53176         * math/w_exp2f.c (__exp2f): Likewise.
53177         * math/w_exp2l.c (__exp2l): Likewise.
53178         * math/auto-libm-test-in: Do not allow missing errno on exp2
53179         underflow.
53180         * math/auto-libm-test-out: Regenerated.
53182 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
53184         [BZ #16274]
53185         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
53186         handle filename validation.
53187         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
53188         (do_open): Delete.
53190 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
53192         [BZ #6786]
53193         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
53194         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
53195         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
53196         <float.h>.
53197         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
53198         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
53199         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
53200         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
53201         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
53202         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
53203         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
53204         * math/auto-libm-test-in: Don't allow missing errno from erfc.
53205         Add more erfc tests.
53206         * math/auto-libm-test-out: Regenerated.
53207         * sysdeps/i386/fpu/libm-test-ulps: Update.
53208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53210         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
53211         exp2, expm1, j0 and j1.
53212         * math/auto-libm-test-out: Regenerated.
53213         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
53214         (erfc_test_data): Likewise.
53215         (exp_test_data): Likewise.
53216         (exp_tonearest_test_data): Likewise.
53217         (exp_towardzero_test_data): Likewise.
53218         (exp_downward_test_data): Likewise.
53219         (exp_upward_test_data): Likewise.
53220         (exp10_test_data): Likewise.
53221         (exp2_test_data): Likewise.
53222         (expm1_test_data): Likewise.
53223         (j0_test_data): Likewise.
53224         (j1_test_data): Likewise.
53225         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
53226         (input_flag_type): Add flag_xfail_rounding.
53227         (input_flags): Add xfail-rounding.
53228         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
53229         (output_for_one_input_case): Handle flag_xfail_rounding.
53230         * sysdeps/i386/fpu/libm-test-ulps: Update.
53231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53233 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
53235         [BZ #16289]
53236         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
53237         division by 0.
53239 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53241         [BZ #16195]
53242         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
53243         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
53244         (STAP_PROBE0): New macro.
53245         (STAP_PROBE1): Likewise.
53246         (STAP_PROBE2): Likewise.
53247         (STAP_PROBE3): Likewise.
53248         (STAP_PROBE4): Likewise.
53250 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
53252         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
53254 2013-12-02  Steve Ellcey  <sellcey@mips.com>
53256         * benchtests/Makefile (bench): Add sqrt.
53257         (LDLIBS-bench-sqrt): New.
53258         * benchtests/sqrt-input: New.
53260 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
53262         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
53263         (GAIH_EAI): Likewise.
53264         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
53265         (gaih_inet): Likewise.
53266         (getaddrinfo): Don't use GAIH_EAI.
53268         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
53269         (struct gaih): Remove definition.
53271 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53273         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
53274         Use HERRNOP directly.
53276 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53280 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
53282         * math/gen-auto-libm-tests.c (test_functions): Add more
53283         single-argument functions.
53284         (special_fill_pi_2): New function.
53285         (special_fill_minus_pi_2): Likewise.
53286         (special_fill_pi_6): Likewise.
53287         (special_fill_minus_pi_6): Likewise.
53288         (special_fill_pi_3): Likewise.
53289         (special_fill_2pi_3): Likewise.
53290         (special_fill_e): Likewise.
53291         (special_fill_1_e): Likewise.
53292         (special_fill_e_minus_1): Likewise.
53293         (special_real_inputs): Add more special inputs.
53294         (output_for_one_input_case): Do not require ERANGE on underflow to
53295         zero if round-to-nearest result does not underflow to zero, unless
53296         exact results required.
53297         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
53298         atan, atanh, cbrt, cos and cosh.
53299         * math/auto-libm-test-out: Regenerated.
53300         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
53301         (acos_tonearest_test_data): Likewise.
53302         (acos_towardzero_test_data): Likewise.
53303         (acos_downward_test_data): Likewise.
53304         (acos_upward_test_data): Likewise.
53305         (acosh_test_data): Likewise.
53306         (asin_test_data): Likewise.
53307         (asin_tonearest_test_data): Likewise.
53308         (asin_towardzero_test_data): Likewise.
53309         (asin_upward_test_data): Likewise.
53310         (asinh_test_data): Likewise.
53311         (atan_test_data): Likewise.
53312         (atanh_test_data): Likewise.
53313         (cbrt_test_data): Likewise.
53314         (cos_test_data): Likewise.
53315         (cos_tonearest_test_data): Likewise.
53316         (cos_towardzero_test_data): Likewise.
53317         (cos_downward_test_data): Likewise.
53318         (cos_upward_test_data): Likewise.
53319         (cosh_test_data): Likewise.
53320         (cosh_tonearest_test_data): Likewise.
53321         (cosh_towardzero_test_data): Likewise.
53322         (cosh_downward_test_data): Likewise.
53323         (cosh_upward_test_data): Likewise.
53324         * sysdeps/i386/fpu/libm-test-ulps: Update.
53325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53327 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
53329         [BZ #6787]
53330         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
53331         * math/w_exp10f.c (__exp10f): Likewise.
53332         * math/w_exp10l.c (__exp10l): Likewise.
53333         * math/libm-test.inc (exp10_test_data): Add more tests and expect
53334         errno settings in existing tests.
53336         [BZ #14032]
53337         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
53338         precision control set to double precision.
53339         * sysdeps/i386/fpu/w_sqrt.c: New file.
53340         * math/auto-libm-test-in: Add more tests.
53341         * math/auto-libm-test-out: Update.
53343         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
53344         (sqrt_test_tonearest): New function.
53345         (sqrt_towardzero_test_data): New variable.
53346         (sqrt_test_towardzero): New function.
53347         (sqrt_downward_test_data): New variable.
53348         (sqrt_test_downward): New function.
53349         (sqrt_upward_test_data): New variable.
53350         (sqrt_test_upward): New function.
53351         (main): Call the new functions.
53353         * math/gen-auto-libm-tests.c: New file.
53354         * math/auto-libm-test-in: Likewise.
53355         * math/auto-libm-test-out: New generated file.
53356         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
53357         variables.
53358         (%beautify): Add generated representations of zero.
53359         (top level): Set $auto_input and call parse_auto_input.
53360         (beautify): Remove trailing "f" from hex float constants.
53361         (parse_args): Handle XFAIL_TEST.
53362         (convert_condition): New function.
53363         (or_value): Likewise.
53364         (or_cond_value): Likewise.
53365         (generate_testfile): Handle AUTO_TESTS_* lines.
53366         (parse_auto_input): New function.
53367         * math/libm-test.inc (XFAIL_TEST): New macro.
53368         (ERRNO_UNCHANGED): Update value.
53369         (ERRNO_EDOM): Likewise.
53370         (ERRNO_ERANGE): Likewise.
53371         (IGNORE_RESULT): Likewise.
53372         (TEST_COND_flt_32): New macro.
53373         (TEST_COND_dbl_64): Likewise.
53374         (TEST_COND_ldbl_96_intel): Likewise.
53375         (TEST_COND_ldbl_96_m68k): Likewise.
53376         (TEST_COND_ldbl_128): Likewise.
53377         (TEST_COND_ldbl_128ibm): Likewise.
53378         (TEST_COND_long32): Likewise.
53379         (TEST_COND_long64): Likewise.
53380         (TEST_COND_before_rounding): Likewise.
53381         (TEST_COND_after_rounding): Likewise.
53382         (enable_test): Handle XFAIL_TEST flag.
53383         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
53384         with finite results.
53385         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
53386         auto-libm-test-out.
53388 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53389             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53391         [BZ #16214]
53392         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
53393         __tls_get_addr_internal instead of __tls_get_offset in order to
53394         avoid GOT pointer dependency.  Make rtld export
53395         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
53396         __tls_get_addr since we are a __tls_get_offset platform.
53397         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
53398         GOT pointer being set up before.
53399         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
53401 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
53403         * manual/math.texi (Errors in Math Functions): Document accuracy
53404         goals.
53406         [BZ #15004]
53407         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
53408         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
53409         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53410         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53411         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53412         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53413         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53414         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
53415         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
53416         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53417         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53418         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53419         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53420         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53421         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53422         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
53424         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
53425         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
53426         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
53427         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
53428         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
53429         Likewise.
53430         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
53431         Likewise.
53432         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
53433         Likewise.
53434         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
53435         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
53436         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
53437         atomic-feupdateenv and flt-rounds.
53438         * sysdeps/powerpc/nofpu/Versions (libc): Add
53439         __atomic_feholdexcept, __atomic_feclearexcept,
53440         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
53441         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
53442         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
53443         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
53444         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
53445         here.
53446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
53447         Update.
53449         * manual/arith.texi (FP Exceptions): Document that exceptions may
53450         not be raised when matherr is used.
53451         (Math Error Reporting): Document overflow in directed rounding
53452         modes.  Document that errno may not be set when finite values are
53453         returned on overflow.  Document intent to set errno on underflow
53454         only for underflow to zero.
53456         [BZ #16271]
53457         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
53458         round-to-nearest then adjust result for other rounding modes.
53459         * include/fenv.h (fegetround): Use libm_hidden_proto.
53460         * math/fegetround.c (fegetround): Use libm_hidden_def.
53461         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
53462         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
53463         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
53464         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
53465         Likewise.
53466         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
53467         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
53468         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
53469         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
53471 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53473         [BZ #16077]
53474         * nss/Versions (libnss_files): Add
53475         _nss_files_gethostbyname3_r.
53476         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
53477         New function.
53478         (HOST_DB_LOOKUP): Remove macro.
53479         (_nss_files_gethostbyname_r): Implement function without the
53480         HOST_DB_LOOKUP macro.
53481         (_nss_files_gethostbyname2_r): Likewise.
53483 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
53485         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
53487 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
53489         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
53490         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
53491         warning.
53493 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53495         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
53496         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
53497         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
53498         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
53499         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
53500         __fe_nomask_env_priv and attribute_hidden.
53501         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
53502         (libc_feupdateenv_test_ppc): Likewise.
53503         (libc_feresetround_ppc): Likewise.
53504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53505         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
53506         compat_symbol macro.
53507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53508         (__fe_nomask_env): Likewise.
53509         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
53511 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53513         * string/Makefile: Remove ifunc tests.
53514         * string/test-string.h: Define TEST_IFUNC.
53515         * string/test-bcopy-ifunc.c: Remove.
53516         * string/test-bzero-ifunc.c: Likewise.
53517         * string/test-memccpy-ifunc.c: Likewise.
53518         * string/test-memchr-ifunc.c: Likewise.
53519         * string/test-memcmp-ifunc.c: Likewise.
53520         * string/test-memcpy-ifunc.c: Likewise.
53521         * string/test-memmem-ifunc.c: Likewise.
53522         * string/test-memmove-ifunc.c: Likewise.
53523         * string/test-mempcpy-ifunc.c: Likewise.
53524         * string/test-memrchr-ifunc.c: Likewise.
53525         * string/test-memset-ifunc.c: Likewise.
53526         * string/test-rawmemchr-ifunc.c: Likewise.
53527         * string/test-stpcpy-ifunc.c: Likewise.
53528         * string/test-stpncpy-ifunc.c: Likewise.
53529         * string/test-strcasecmp-ifunc.c: Likewise.
53530         * string/test-strcasestr-ifunc.c: Likewise.
53531         * string/test-strcat-ifunc.c: Likewise.
53532         * string/test-strchr-ifunc.c: Likewise.
53533         * string/test-strchrnul-ifunc.c: Likewise.
53534         * string/test-strcmp-ifunc.c: Likewise.
53535         * string/test-strcpy-ifunc.c: Likewise.
53536         * string/test-strcspn-ifunc.c: Likewise.
53537         * string/test-strlen-ifunc.c: Likewise.
53538         * string/test-strncasecmp-ifunc.c: Likewise.
53539         * string/test-strncat-ifunc.c: Likewise.
53540         * string/test-strncmp-ifunc.c: Likewise.
53541         * string/test-strncpy-ifunc.c: Likewise.
53542         * string/test-strnlen-ifunc.c: Likewise.
53543         * string/test-strpbrk-ifunc.c: Likewise.
53544         * string/test-strrchr-ifunc.c: Likewise.
53545         * string/test-strspn-ifunc.c: Likewise.
53546         * string/test-strstr-ifunc.c: Likewise.
53548 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53550         * benchtests/Makefile: Remove ifunc tests.
53551         * benchtests/bench-string.h: Define TEST_IFUNC.
53552         * benchtests/bench-bcopy-ifunc.c: Remove.
53553         * benchtests/bench-bzero-ifunc.c: Likewise.
53554         * benchtests/bench-memccpy-ifunc.c: Likewise.
53555         * benchtests/bench-memchr-ifunc.c: Likewise.
53556         * benchtests/bench-memcmp-ifunc.c: Likewise.
53557         * benchtests/bench-memcpy-ifunc.c: Likewise.
53558         * benchtests/bench-memmem-ifunc.c: Likewise.
53559         * benchtests/bench-memmove-ifunc.c: Likewise.
53560         * benchtests/bench-mempcpy-ifunc.c: Likewise.
53561         * benchtests/bench-memrchr-ifunc.c: Likewise.
53562         * benchtests/bench-memset-ifunc.c: Likewise.
53563         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
53564         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
53565         * benchtests/bench-stpcpy-ifunc.c: Likewise.
53566         * benchtests/bench-stpncpy-ifunc.c: Likewise.
53567         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
53568         * benchtests/bench-strcasestr-ifunc.c: Likewise.
53569         * benchtests/bench-strcat-ifunc.c: Likewise.
53570         * benchtests/bench-strchr-ifunc.c: Likewise.
53571         * benchtests/bench-strchrnul-ifunc.c: Likewise.
53572         * benchtests/bench-strcmp-ifunc.c: Likewise.
53573         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
53574         * benchtests/bench-strcpy-ifunc.c: Likewise.
53575         * benchtests/bench-strcspn-ifunc.c: Likewise.
53576         * benchtests/bench-strlen-ifunc.c: Likewise.
53577         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
53578         * benchtests/bench-strncat-ifunc.c: Likewise.
53579         * benchtests/bench-strncmp-ifunc.c: Likewise.
53580         * benchtests/bench-strncpy-ifunc.c: Likewise.
53581         * benchtests/bench-strnlen-ifunc.c: Likewise.
53582         * benchtests/bench-strpbrk-ifunc.c: Likewise.
53583         * benchtests/bench-strrchr-ifunc.c: Likewise.
53584         * benchtests/bench-strsep-ifunc.c: Likewise.
53585         * benchtests/bench-strspn-ifunc.c: Likewise.
53586         * benchtests/bench-strstr-ifunc.c: Likewise.
53588 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53590         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
53592 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53594         * resolv/netdb.h: Use __glibc_reserved instead __unused.
53595         * rt/aio.h: Likewise.
53596         * sysdeps/gnu/bits/utmp.h: Likewise.
53597         * sysdeps/gnu/bits/utmpx.h: Likewise.
53598         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
53599         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
53600         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
53601         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
53602         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
53603         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
53604         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
53605         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
53606         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
53607         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
53608         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
53609         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
53610         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
53611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
53612         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
53613         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
53614         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
53615         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
53616         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
53617         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
53618         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
53619         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
53620         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
53621         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
53622         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
53623         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53624         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
53625         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
53626         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
53627         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
53628         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
53629         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
53630         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
53631         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
53632         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
53633         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
53634         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
53635         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
53636         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
53637         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
53638         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
53639         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
53641 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
53643         [BZ #16245]
53644         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
53645         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
53647 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
53649         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
53650         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
53651         Likewise.
53653 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53655         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
53656         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
53657         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
53658         (__fesetround): Remove define.
53659         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
53660         rounding and exceptions handling.
53661         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
53662         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
53663         (__fe_nomask_env): Likewise.
53664         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
53665         __fegetround instead of fegetround.
53666         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
53667         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
53669 2013-11-21  Roland McGrath  <roland@hack.frob.com>
53671         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
53672         it's there.
53674         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
53676 2013-11-21  Meador Inge  <meadori@codesourcery.com>
53678         [BZ #11157]
53679         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
53680         (encrypt_r): Likewise.
53681         * malloc/obstack.h (obstack_free): Likewise.
53682         * posix/unistd.h (encrypt): Likewise.
53684 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
53686         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
53687         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
53688         DL_CALL_DT_FINI() that call the functions directly.
53689         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
53690         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
53691         * elf/dl-fini.c: Likewise.
53693 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
53695         * malloc/hooks.c (memalign_check): Add alignment rounding.
53696         * malloc/malloc.c (_mid_memalign): New function.
53697         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
53698         Implement by calling _mid_memalign.
53699         * manual/probes.texi (Memory Allocation Probes): Remove
53700         memory_valloc_retry and memory_pvalloc_retry.
53702 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53704         * locale/programs/locarchive.c (open_archive): Add const
53705         qualifier to ARCHIVEFNAME and copy default fname to
53706         DEFAULT_FNAME.
53708         [BZ #15601]
53709         * libio/tst-widetext.input: Rename Oriya to Odia.
53710         * locale/iso-639.def: Likewise.
53712         * manual/probes.texi (Mathematical Function Probes): Add
53713         documentation for sin, cos, asin and acos probes.
53714         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
53715         (__sin32): Add slowasin probe.
53716         (__cos32): Add slowacos probe.
53717         (__mpsin): Add slowsin probe.
53718         (__mpcos): Add slowcos probe.
53720 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
53722         [BZ #15483]
53723         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
53724         thread-local __sim_exceptions_thread and global
53725         __sim_exceptions_global.
53726         (__sim_disabled_exceptions): Change to thread-local
53727         __sim_disabled_exceptions_thread and global
53728         __sim_disabled_exceptions_global.
53729         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
53730         and global __sim_round_mode_global.
53731         (__simulate_exceptions): Use thread-local floating-point state and
53732         set global state from it as needed.
53733         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
53734         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
53735         __sim_round_mode_thread.
53736         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
53737         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
53738         and global __sim_exceptions_global.
53739         (__sim_disabled_exceptions): Change to thread-local
53740         __sim_disabled_exceptions_thread and global
53741         __sim_disabled_exceptions_global.
53742         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
53743         and global __sim_round_mode_global.
53744         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
53745         (SIM_SET_GLOBAL): Likewise.
53746         * sysdeps/powerpc/soft-fp/sfp-machine.h
53747         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
53748         __sim_round_mode_thread.
53749         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
53750         __sim_disabled_exceptions_thread.
53751         (__sim_exceptions): Change to __sim_exceptions_thread.
53752         (__sim_disabled_exceptions): Change to
53753         __sim_disabled_exceptions_thread.
53754         (__sim_round_mode): Change to __sim_round_mode_thread.
53755         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
53756         thread-local floating-point state and set global state from it as
53757         needed.
53758         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
53759         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
53760         (__sim_disabled_exceptions): Remove extern declaration.
53761         (feenableexcept): Use thread-local floating-point state and set
53762         global state from it as needed.
53763         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
53764         extern declaration.
53765         (__sim_disabled_exceptions): Likewise.
53766         (__sim_round_mode): Likewise.
53767         (__fegetenv): Use thread-local floating-point state.
53768         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
53769         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
53770         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
53771         floating-point state and set global state from it as needed.
53772         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
53773         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
53774         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
53775         Likewise.
53776         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
53777         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
53778         Likewise.
53779         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
53780         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
53781         Use __sim_round_mode_thread.
53782         * math/test-fenv-tls.c: New file.
53783         * math/Makefile (tests): Add test-fenv-tls.
53784         ($(objpfx)test-fenv-tls): Depend on
53785         $(common-objpfx)nptl/libpthread.so.
53787 2013-11-19  Andreas Schwab  <schwab@suse.de>
53789         * locale/programs/locale.c (show_info): Decode wordarray elements.
53790         * locale/categories.def (LC_MONETARY): Add element for
53791         _NL_MONETARY_CRNCYSTR.
53792         * locale/C-monetary.c (conversion_rate): New variable.
53793         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
53794         element.
53796 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
53798         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
53799         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
53801 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
53803         * elf/Makefile (tst-auxv): New test.
53804         * elf/tst-auxv.c: New
53805         * elf/rtld.c (dl_main): Adjust AT_EXECFN
53807 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
53809         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
53810         (hidden_proto): Caller changed.
53811         (hidden_tls_proto): New macro.
53812         (libc_hidden_tls_proto): Likewise.
53813         (rtld_hidden_tls_proto): Likewise.
53814         (libm_hidden_tls_proto): Likewise.
53815         (libresolv_hidden_tls_proto): Likewise.
53816         (librt_hidden_tls_proto): Likewise.
53817         (libdl_hidden_tls_proto): Likewise.
53818         (libnss_files_hidden_tls_proto): Likewise.
53819         (libnsl_hidden_tls_proto): Likewise.
53820         (libnss_nisplus_hidden_tls_proto): Likewise.
53821         (libutil_hidden_tls_proto): Likewise.
53823 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
53825         [BZ #10253]
53826         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
53827         (decompose_rpath): Defer expansion to fillin_rpath.
53828         (_dl_init_paths): Pass linkmap to fillin_rpath.
53830 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
53832         * benchtests/Makefile: Add strsep.
53833         * benchtests/bench-strsep.c: New file: strsep benchtest.
53834         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
53836 2013-11-18  Andreas Schwab  <schwab@suse.de>
53838         * locale/programs/locale.c (show_info) [case byte]: Check for
53839         '\377' instead of '\177'.
53840         * locale/C-monetary.c (not_available): Always use "\377".
53841         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
53842         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
53843         detect unavailable sign_posn locale elements.
53844         * locale/localeconv.c (__localeconv): For grouping and
53845         mon_grouping handle "\177" and "\377" like no grouping.
53846         (INT_ELEM): New macro.  Use it to set all numeric members.
53847         * locale/programs/ld-monetary.c (monetary_read)
53848         <tok_mon_grouping>: Normalize single -1 to the empty string.
53849         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
53850         Likewise.
53852 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
53854         [BZ #16055]
53855         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
53856         when we match (nil).
53857         * stdio-common/tst-sscanf.c (struct test): Add testcase.
53859 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
53861         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
53862         (NO_TEST_INLINE): Update value.
53863         (ERRNO_UNCHANGED): Likewise.
53864         (ERRNO_EDOM): Likewise.
53865         (ERRNO_ERANGE): Likewise.
53866         (IGNORE_RESULT): Likewise.
53867         (check_float_internal): Check signs of NaN results if
53868         TEST_NAN_SIGN used.
53869         (check_complex): Pass TEST_NAN_SIGN flag through to second
53870         check_float_internal call.
53871         (copysign_test_data): Add tests with quiet NaNs as second
53872         argument.  Use TEST_NAN_SIGN.
53873         (fabs_test_data): Add test of negative quiet NaN argument.  Use
53874         TEST_NAN_SIGN.
53875         (signbit_test_data): Add tests of quiet NaN argument.
53876         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
53878         * math/gen-libm-test.pl (show_exceptions): Take extra argument
53879         $ignore_result.
53880         (parse_args): Handle function results specified as IGNORE.
53881         * math/libm-test.inc (IGNORE_RESULT): New macro.
53882         (check_float_internal): Do not check numerical result if flag
53883         IGNORE_RESULT set.
53884         (check_complex): Pass through IGNORE_RESULT to second
53885         check_float_internal call.
53886         (check_int): Do not check numerical result if flag IGNORE_RESULT
53887         set.
53888         (check_long): Likewise.
53889         (check_bool): Likewise.
53890         (check_longlong): Likewise.
53891         (lrint_test_data): Add tests of infinite and NaN arguments.
53892         (lrint_tonearest_test_data): Likewise.
53893         (lrint_towardzero_test_data): Likewise.
53894         (lrint_downward_test_data): Likewise.
53895         (lrint_upward_test_data): Likewise.
53896         (llrint_test_data): Likewise.
53897         (llrint_tonearest_test_data): Likewise.
53898         (llrint_towardzero_test_data): Likewise.
53899         (llrint_downward_test_data): Likewise.
53900         (llrint_upward_test_data): Likewise.
53901         (lround_test_data): Likewise.
53902         (llround_test_data): Likewise.
53904         * math/libm-test.inc (NO_TEST_INLINE): New macro.
53905         (ERRNO_UNCHANGED): Update value.
53906         (ERRNO_EDOM): Likewise.
53907         (ERRNO_ERANGE): Likewise.
53908         (NO_TEST_INLINE_FLOAT): New macro.
53909         (NO_TEST_INLINE_DOUBLE): Likewise.
53910         (enable_test): New function.
53911         (RUN_TEST_f_f): Check enable_test before running test.
53912         (RUN_TEST_2_f): Likewise.
53913         (RUN_TEST_fff_f): Likewise.
53914         (RUN_TEST_c_f): Likewise.
53915         (RUN_TEST_f_f1): Likewise.
53916         (RUN_TEST_fF_f1): Likewise.
53917         (RUN_TEST_fI_f1): Likewise.
53918         (RUN_TEST_ffI_f1): Likewise.
53919         (RUN_TEST_c_c): Likewise.
53920         (RUN_TEST_cc_c): Likewise.
53921         (RUN_TEST_f_i): Likewise.
53922         (RUN_TEST_f_i_tg): Likewise.
53923         (RUN_TEST_ff_i_tg): Likewise.
53924         (RUN_TEST_f_b): Likewise.
53925         (RUN_TEST_f_b_tg): Likewise.
53926         (RUN_TEST_f_l): Likewise.
53927         (RUN_TEST_f_L): Likewise.
53928         (RUN_TEST_fFF_11): Likewise.
53929         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
53930         conditionals.
53931         (cosh_test_data): Likewise.
53932         (exp_test_data): Likewise.
53933         (expm1_test_data): Likewise.
53934         (hypot_test_data): Likewise.
53935         (pow_test_data): Likewise.
53936         (sinh_test_data): Likewise.
53937         (tanh_test_data): Likewise.
53938         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
53939         flags argument.
53941         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
53942         tests with quiet NaN input and output.
53943         (acosh_test_data): Likewise.
53944         (asin_test_data): Likewise.
53945         (asinh_test_data): Likewise.
53946         (atan_test_data): Likewise.
53947         (atanh_test_data): Likewise.
53948         (atan2_test_data): Likewise.
53949         (cbrt_test_data): Likewise.
53950         (cos_test_data): Likewise.
53951         (cosh_test_data): Likewise.
53952         (erf_test_data): Likewise.
53953         (erfc_test_data): Likewise.
53954         (exp_test_data): Likewise.
53955         (exp10_test_data): Likewise.
53956         (exp2_test_data): Likewise.
53957         (expm1_test_data): Likewise.
53958         (hypot_test_data): Likewise.
53959         (j0_test_data): Likewise.
53960         (j1_test_data): Likewise.
53961         (jn_test_data): Likewise.
53962         (lgamma_test_data): Likewise.
53963         (log_test_data): Likewise.
53964         (log10_test_data): Likewise.
53965         (log1p_test_data): Likewise.
53966         (log2_test_data): Likewise.
53967         (pow_test_data): Likewise.
53968         (scalb_test_data): Likewise.
53969         (sin_test_data): Likewise.
53970         (sincos_test_data): Likewise.
53971         (sinh_test_data): Likewise.
53972         (tan_test_data): Likewise.
53973         (tanh_test_data): Likewise.
53974         (tgamma_test_data): Likewise.
53975         (y0_test_data): Likewise.
53976         (y1_test_data): Likewise.
53977         (yn_test_data): Likewise.
53979         [BZ #16167]
53980         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
53981         argument being NaN and avoid computations with second argument in
53982         that case.
53983         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
53984         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
53985         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
53987 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
53989         * locale/iso-639.def: Add Chitwani Tharu (the).
53991 2013-11-14  Andreas Schwab  <schwab@suse.de>
53993         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
53994         word instead of empty string.
53996 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53999         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
54000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54001         (__fe_nomask_env): Likewise.
54003 2013-11-13  Steve Ellcey  <sellcey@mips.com>
54005         * benchtests/bench-timing.h: Include time.h.
54007 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
54009         [BZ #15997]
54010         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
54011         to 3.4.0 for x32.
54012         * sysdeps/unix/sysv/linux/configure: Regenerated.
54014 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
54016         [BZ #16151]
54017         * stdlib/strtod_l.c (round_and_return): Do not consider
54018         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
54019         exponent one less than half the least subnormal exponent.
54020         * stdlib/test-strtod-round-data: Add more tests.
54021         * stdlib/tst-strtod-round.c (tests): Regenerated.
54023 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54025         [BZ #14143]
54026         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
54027         (__fe_mask_env): Likewise.
54028         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
54029         libm_hidden_proto and add function prototype.
54030         (__fe_mask_env): Add function prototype.
54031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54032         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
54033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
54034         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
54035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54036         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
54038 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54040         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
54041         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
54043 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54045         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
54046         of htab_find_slot().
54048 2013-11-11  David S. Miller  <davem@davemloft.net>
54050         [BZ #16150]
54051         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
54052         symbol in the non-vis3 case in static builds.
54053         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
54054         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
54055         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
54056         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
54058 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
54060         [BZ #387]
54061         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
54062         it is empty.
54064 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54066         * benchtests/Makefile: Add bench-strtod.
54067         * benchtests/bench-strtod.c: New file: strtod benchtest
54069 2013-11-11  Andreas Schwab  <schwab@suse.de>
54071         [BZ #16153]
54072         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
54073         terminating NUL in key length.
54075 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54077         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
54078         Add artificial ODP entry for vDSO symbol for PPC64.
54079         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
54080         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
54082 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
54084         [BZ #15374]
54085         * nss/getent.c (services_keys): Recognize services starting with digit.
54087 2013-11-06  David S. Miller  <davem@davemloft.net>
54089         [BZ #15985]
54090         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
54091         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
54093 2013-11-06  Will Newton  <will.newton@linaro.org>
54095         * manual/memory.texi (Malloc Examples): Remove register
54096         keyword from examples.
54098 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
54100         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
54102 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
54104         [BZ #6981]
54105         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
54106         depending on [__GCC_IEC_559 > 0].
54107         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
54108         depending on [__GCC_IEC_559_COMPLEX > 0].
54110 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
54112         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
54113         to iso-639.def.
54115 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
54117         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
54119 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
54121         [BZ #16112]
54122         * malloc/malloc (malloc_info): Do not handle first bin as
54123         special case.
54125 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
54127         * locale/iso-639.def: Add Central Nahuatl (nhn).
54129 2013-11-01  Bruno Haible  <bruno@clisp.org>
54131         [BZ #7003]
54132         * manual/math.texi (BSD Random): Specify range upper bound as
54133         in POSIX.
54135 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
54137         * locale/iso-639.def: Add Meadow Mari (mhr).
54139 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
54141         [BZ #14752], [BZ #15763]
54142         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
54143         Validate name.
54144         * rt/tst_shm.c: Add test for escaping directory.
54146 2013-10-31  Andreas Schwab  <schwab@suse.de>
54148         [BZ #15917]
54149         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
54150         followed by 'x' as part of digit sequence.
54151         * stdio-common/tst-sscanf.c (double_tests2): New tests.
54153 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
54155         [BZ #16037]
54156         * configure.ac: allow GNU Make 4.0 and greater.
54157         * configure: Regenerated.
54159 2013-10-30  Will Newton  <will.newton@linaro.org>
54161         [BZ #16038]
54162         * malloc/hooks.c (memalign_check): Limit alignment to the
54163         maximum representable power of two.
54164         * malloc/malloc.c (__libc_memalign): Likewise.
54165         * malloc/tst-memalign.c (do_test): Add test for very
54166         large alignment values.
54167         * malloc/tst-posix_memalign.c (do_test): Likewise.
54169 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
54171         [BZ #11087]
54172         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
54173         (munmap_chunk): Likewise.
54174         (mremap_chunk): Likewise.
54176 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
54178         [BZ #15799]
54179         * stdlib/div.c (div): Remove obsolete code.
54180         * stdlib/ldiv.c (ldiv): Likewise.
54181         * stdlib/lldiv.c (lldiv): Likewise.
54183 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54185         [BZ #16071]
54186         * nss/nss_files/files-XXX.c (get_contents_ret): New
54187         enumerator.
54188         (get_contents): New function.
54189         (internal_getent): Use it.  Expand size of LINEBUFLEN.
54191 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
54193         * configure.in: Moved to ...
54194         * configure.ac: ... here. Change reference to configure.in
54195         to configure.ac.
54196         * sysdeps/arm/preconfigure.ac: ... here.
54197         configure.in to configure.ac.
54198         * sysdeps/gnu/configure.in: Moved to ...
54199         * sysdeps/gnu/configure.ac: ... here.
54200         * sysdeps/i386/configure.in: Moved to ...
54201         * sysdeps/i386/configure.ac: ... here.
54202         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
54203         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
54204         * sysdeps/mach/configure.in: Moved to ...
54205         * sysdeps/mach/configure.ac: ... here.
54206         * sysdeps/mach/hurd/configure.in: Moved to ...
54207         * sysdeps/mach/hurd/configure.ac: ... here.
54208         * sysdeps/powerpc/configure.in: Moved to ...
54209         * sysdeps/powerpc/configure.ac: ... here.
54210         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
54211         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
54212         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
54213         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
54214         * sysdeps/s390/s390-32/configure.in: Moved to ...
54215         * sysdeps/s390/s390-32/configure.ac: ... here.
54216         * sysdeps/s390/s390-64/configure.in: Moved to ...
54217         * sysdeps/s390/s390-64/configure.ac: ... here.
54218         * sysdeps/sh/configure.in: Moved to ...
54219         * sysdeps/sh/configure.ac: ... here.
54220         * sysdeps/sparc/configure.in: Moved to ...
54221         * sysdeps/sparc/configure.ac: ... here.
54222         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
54223         * sysdeps/unix/sysv/linux/configure.ac: ... here.
54224         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
54225         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
54226         * sysdeps/x86_64/configure.in: Moved to ...
54227         * sysdeps/x86_64/configure.ac: ... here.
54228         * sysdeps/x86_64/preconfigure.in: Moved to ...
54229         * sysdeps/x86_64/preconfigure.ac: ... here.
54230         * aclocal.m4: Change reference to configure.in to configure.ac.
54231         * config.h.in: Likewise.
54232         * manual/install.texi: Likewise.
54233         * manual/maint.texi: Likewise.
54234         * Makefile: Likewise.
54235         * malloc/Makefile: Likewise.
54236         * nscd/Makefile: Likewise.
54237         * Makeconfig: Change reference to configure.in and
54238         preconfigure.in to configure.ac and preconfigure.ac
54239         respectively.
54240         * INSTALL: Regenerated.
54241         * configure: Likewise.
54242         * sysdeps/gnu/configure: Likewise.
54243         * sysdeps/i386/configure: Likewise.
54244         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
54245         * sysdeps/mach/configure: Likewise.
54246         * sysdeps/mach/hurd/configure: Likewise.
54247         * sysdeps/powerpc/configure: Likewise.
54248         * sysdeps/powerpc/powerpc32/configure: Likewise.
54249         * sysdeps/powerpc/powerpc64/configure: Likewise.
54250         * sysdeps/s390/s390-32/configure: Likewise.
54251         * sysdeps/s390/s390-64/configure: Likewise.
54252         * sysdeps/sh/configure: Likewise.
54253         * sysdeps/sparc/configure: Likewise.
54254         * sysdeps/unix/sysv/linux/configure: Likewise.
54255         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
54256         * sysdeps/x86_64/configure: Likewise.
54257         * sysdeps/x86_64/preconfigure: Likewise.
54259 2013-10-29  Andreas Schwab  <schwab@suse.de>
54261         * stdio-common/Makefile (tst-swscanf-ENV): Define.
54263 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54265         * benchtests/pow-inputs: Add new inputs.
54267         * benchtests/exp-inputs: Add new inputs.
54269         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
54270         conditional check for return value.
54271         (__cos32): Likewise.
54273 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54275         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
54276         to provide a boost for large inputs with word alignment.
54277         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
54278         implementation based on optimized PPC64 strcpy.
54279         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
54280         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
54281         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
54282         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
54284 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
54286         [BZ #2801]
54287         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
54289 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
54291         [BZ #14876]
54292         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
54293         * time/tst-strptime.c (day_tests): Add testcase.
54295 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
54297         [BZ #14029]
54298         * manual/pattern.texi: Acknowledge that fnmatch can fail.
54300 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
54302         [BZ #16074]
54303         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
54304         MAP_FAILED on error.
54306 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54308         [BZ #16072]
54309         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
54310         heap for large requests.
54312 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
54314         [BZ #9954]
54315         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
54316         result if the result has no associated interface.
54317         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
54318         interface for all 127.X.Y.Z addresses.
54320 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
54322         * locale/iso-639.def: Add Ligurian (lij)
54324 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
54326         [BZ #15825]
54327         * sunrpc/rpc_main.c: Document rpcgen -5.
54329 2013-10-19  Michael Stahl  <mstahl@redhat.com>
54331         * elf/rtld.c (do_preload): Print the reason why preloading failed.
54333 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
54335         [BZ #10278]
54336         * posix/glob.c: Match only directories when trailing slash is present.
54337         * posix/tst-gnuglob.c (my_opendir): Do not open files.
54338         (main): Add testcase.
54340 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
54342         [BZ #15670]
54343         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
54345 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
54347         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
54348         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
54349         AUTH_DES and cindex for FIPS 140-2.
54350         (DES Encryption): Add cindex FIPS 46-3.
54352         * locale/locarchive.h (struct locarhandle): Add fname.
54353         * locale/programs/localedef.c (main): Pass ARGV[remaining]
54354         if an optional argument was specified to --list-archive,
54355         otherwise NULL.
54356         * locale/programs/locarchive.c (show_archive_content): Take new
54357         argument fname and pass it via ah.fname to open_archive.
54358         * locale/programs/localedef.h: Update decl.
54359         (open_archive): If AH->fname is non-null, open that file
54360         rather than the default file name, and don't ignore ENOENT.
54361         (create_archive): Set AH.fname to NULL.
54362         (delete_locales_from_archive): Likewise.
54363         (add_locales_to_archive): Likewise.
54364         * locale/programs/locfile.c (write_all_categories): Likewise.
54366 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
54367             Aldy Hernandez  <aldyh@redhat.com>
54369         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
54370         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
54371         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
54372         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
54373         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
54374         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
54375         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
54376         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
54377         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
54378         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
54379         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
54380         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
54381         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
54382         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
54383         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
54384         Likewise.
54385         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
54386         Likewise.
54387         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
54388         Likewise.
54389         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
54390         Likewise.
54391         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
54392         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
54393         Likewise.
54394         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
54395         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
54396         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
54397         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
54398         Likewise.
54399         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
54400         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
54401         * sysdeps/powerpc/preconfigure: Likewise.
54402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
54403         Likewise.
54404         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
54405         Replace contents of file by #include of <fenv_libc.h>.
54406         * sysdeps/powerpc/soft-fp/sfp-machine.h
54407         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
54408         and <sys/prctl.h>.
54409         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
54410         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
54411         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
54412         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
54413         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
54414         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
54415         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
54416         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
54417         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
54418         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
54419         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
54420         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
54421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
54422         Allow copysignl PLT reference to be missing.
54424 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
54425             Joseph Myers  <joseph@codesourcery.com
54427         [BZ #15948]
54428         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
54429         single character.
54430         (add_to_tablewc): Assert sequence of wide characters is nonempty.
54432 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54434         * elf/tst-tls-dlinfo.c: Don't include tls.h.
54435         * elf/tst-tls1.c: Likewise.
54436         * elf/tst-tls10.h: Likewise.
54437         * elf/tst-tls14.c: Likewise.
54438         * elf/tst-tls2.c: Likewise.
54439         * elf/tst-tls3.c: Likewise.
54440         * elf/tst-tls4.c: Likewise.
54441         * elf/tst-tls5.c: Likewise.
54442         * elf/tst-tls6.c: Likewise.
54443         * elf/tst-tls7.c: Likewise.
54444         * elf/tst-tls8.c: Likewise.
54445         * elf/tst-tls9.c: Likewise.
54446         * elf/tst-tlsmod1.c: Likewise.
54447         * elf/tst-tlsmod13.c: Likewise.
54448         * elf/tst-tlsmod13a.c: Likewise.
54449         * elf/tst-tlsmod14a.c: Likewise.
54450         * elf/tst-tlsmod16a.c: Likewise.
54451         * elf/tst-tlsmod16b.c: Likewise.
54452         * elf/tst-tlsmod2.c: Likewise.
54453         * elf/tst-tlsmod3.c: Likewise.
54454         * elf/tst-tlsmod4.c: Likewise.
54455         * elf/tst-tlsmod5.c: Likewise.
54456         * elf/tst-tlsmod6.c: Likewise.
54458 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
54460         [BZ #12486]
54461         * malloc/malloc.c: remove checks for statistics.
54463 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
54465         [BZ #15277]
54466         * inet/inet_net.c (inet_network): Detect additional invalid strings.
54467         * inet/tst-network.c: Add testcase.
54469 2013-10-17  Andreas Schwab  <schwab@suse.de>
54471         [BZ #15218]
54472         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
54473         to determine canonical name.
54475 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
54477         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
54478         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
54479         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54480         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54481         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54482         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54483         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54484         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54485         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
54486         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54487         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
54488         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54489         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54490         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54491         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54492         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54493         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54494         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54495         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54496         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54497         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54498         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54499         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54500         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
54501         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
54502         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54503         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54504         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
54505         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54506         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
54507         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54508         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54509         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54510         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54511         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54512         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54513         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54514         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54515         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54516         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54517         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54518         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54519         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54520         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54521         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54522         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54523         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54524         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54525         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54526         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54527         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54528         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54529         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54530         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54531         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54532         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54533         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54534         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54536 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
54538         [BZ #16041]
54539         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
54540         make result into a quiet NaN.
54542 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
54544         * soft-fp/adddf3.c: Fix horizontal whitespace.
54545         * soft-fp/addsf3.c: Likewise.
54546         * soft-fp/addtf3.c: Likewise.
54547         * soft-fp/divdf3.c: Likewise.
54548         * soft-fp/divsf3.c: Likewise.
54549         * soft-fp/divtf3.c: Likewise.
54550         * soft-fp/double.h: Likewise.
54551         * soft-fp/eqdf2.c: Likewise.
54552         * soft-fp/eqsf2.c: Likewise.
54553         * soft-fp/eqtf2.c: Likewise.
54554         * soft-fp/extenddftf2.c: Likewise.
54555         * soft-fp/extended.h: Likewise.
54556         * soft-fp/extendsfdf2.c: Likewise.
54557         * soft-fp/extendsftf2.c: Likewise.
54558         * soft-fp/extendxftf2.c: Likewise.
54559         * soft-fp/fixdfdi.c: Likewise.
54560         * soft-fp/fixdfsi.c: Likewise.
54561         * soft-fp/fixdfti.c: Likewise.
54562         * soft-fp/fixsfdi.c: Likewise.
54563         * soft-fp/fixsfsi.c: Likewise.
54564         * soft-fp/fixsfti.c: Likewise.
54565         * soft-fp/fixtfdi.c: Likewise.
54566         * soft-fp/fixtfsi.c: Likewise.
54567         * soft-fp/fixtfti.c: Likewise.
54568         * soft-fp/fixunsdfdi.c: Likewise.
54569         * soft-fp/fixunsdfsi.c: Likewise.
54570         * soft-fp/fixunsdfti.c: Likewise.
54571         * soft-fp/fixunssfdi.c: Likewise.
54572         * soft-fp/fixunssfsi.c: Likewise.
54573         * soft-fp/fixunssfti.c: Likewise.
54574         * soft-fp/fixunstfdi.c: Likewise.
54575         * soft-fp/fixunstfsi.c: Likewise.
54576         * soft-fp/fixunstfti.c: Likewise.
54577         * soft-fp/floatdidf.c: Likewise.
54578         * soft-fp/floatdisf.c: Likewise.
54579         * soft-fp/floatditf.c: Likewise.
54580         * soft-fp/floatsidf.c: Likewise.
54581         * soft-fp/floatsisf.c: Likewise.
54582         * soft-fp/floatsitf.c: Likewise.
54583         * soft-fp/floattidf.c: Likewise.
54584         * soft-fp/floattisf.c: Likewise.
54585         * soft-fp/floattitf.c: Likewise.
54586         * soft-fp/floatundidf.c: Likewise.
54587         * soft-fp/floatundisf.c: Likewise.
54588         * soft-fp/floatunditf.c: Likewise.
54589         * soft-fp/floatunsidf.c: Likewise.
54590         * soft-fp/floatunsisf.c: Likewise.
54591         * soft-fp/floatunsitf.c: Likewise.
54592         * soft-fp/floatuntidf.c: Likewise.
54593         * soft-fp/floatuntisf.c: Likewise.
54594         * soft-fp/floatuntitf.c: Likewise.
54595         * soft-fp/fmadf4.c: Likewise.
54596         * soft-fp/fmasf4.c: Likewise.
54597         * soft-fp/fmatf4.c: Likewise.
54598         * soft-fp/gedf2.c: Likewise.
54599         * soft-fp/gesf2.c: Likewise.
54600         * soft-fp/getf2.c: Likewise.
54601         * soft-fp/ledf2.c: Likewise.
54602         * soft-fp/lesf2.c: Likewise.
54603         * soft-fp/letf2.c: Likewise.
54604         * soft-fp/muldf3.c: Likewise.
54605         * soft-fp/mulsf3.c: Likewise.
54606         * soft-fp/multf3.c: Likewise.
54607         * soft-fp/negdf2.c: Likewise.
54608         * soft-fp/negsf2.c: Likewise.
54609         * soft-fp/negtf2.c: Likewise.
54610         * soft-fp/op-1.h: Likewise.
54611         * soft-fp/op-2.h: Likewise.
54612         * soft-fp/op-4.h: Likewise.
54613         * soft-fp/op-8.h: Likewise.
54614         * soft-fp/op-common.h: Likewise.
54615         * soft-fp/quad.h: Likewise.
54616         * soft-fp/single.h: Likewise.
54617         * soft-fp/soft-fp.h: Likewise.
54618         * soft-fp/sqrtdf2.c: Likewise.
54619         * soft-fp/sqrtsf2.c: Likewise.
54620         * soft-fp/sqrttf2.c: Likewise.
54621         * soft-fp/subdf3.c: Likewise.
54622         * soft-fp/subsf3.c: Likewise.
54623         * soft-fp/subtf3.c: Likewise.
54624         * soft-fp/truncdfsf2.c: Likewise.
54625         * soft-fp/trunctfdf2.c: Likewise.
54626         * soft-fp/trunctfsf2.c: Likewise.
54627         * soft-fp/trunctfxf2.c: Likewise.
54628         * soft-fp/unorddf2.c: Likewise.
54629         * soft-fp/unordsf2.c: Likewise.
54630         * soft-fp/unordtf2.c: Likewise.
54632 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
54634         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
54635         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
54637 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
54639         * elf/dl-libc.c: Clear initfini list after freeing.
54641 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
54643         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
54644         * soft-fp/addsf3.c: Likewise.
54645         * soft-fp/addtf3.c: Likewise.
54646         * soft-fp/divdf3.c: Likewise.
54647         * soft-fp/divsf3.c: Likewise.
54648         * soft-fp/divtf3.c: Likewise.
54649         * soft-fp/double.h: Likewise.
54650         * soft-fp/eqdf2.c: Likewise.
54651         * soft-fp/eqsf2.c: Likewise.
54652         * soft-fp/eqtf2.c: Likewise.
54653         * soft-fp/extenddftf2.c: Likewise.
54654         * soft-fp/extended.h: Likewise.
54655         * soft-fp/extendsfdf2.c: Likewise.
54656         * soft-fp/extendsftf2.c: Likewise.
54657         * soft-fp/extendxftf2.c: Likewise.
54658         * soft-fp/fixdfdi.c: Likewise.
54659         * soft-fp/fixdfsi.c: Likewise.
54660         * soft-fp/fixdfti.c: Likewise.
54661         * soft-fp/fixsfdi.c: Likewise.
54662         * soft-fp/fixsfsi.c: Likewise.
54663         * soft-fp/fixsfti.c: Likewise.
54664         * soft-fp/fixtfdi.c: Likewise.
54665         * soft-fp/fixtfsi.c: Likewise.
54666         * soft-fp/fixtfti.c: Likewise.
54667         * soft-fp/fixunsdfdi.c: Likewise.
54668         * soft-fp/fixunsdfsi.c: Likewise.
54669         * soft-fp/fixunsdfti.c: Likewise.
54670         * soft-fp/fixunssfdi.c: Likewise.
54671         * soft-fp/fixunssfsi.c: Likewise.
54672         * soft-fp/fixunssfti.c: Likewise.
54673         * soft-fp/fixunstfdi.c: Likewise.
54674         * soft-fp/fixunstfsi.c: Likewise.
54675         * soft-fp/fixunstfti.c: Likewise.
54676         * soft-fp/floatdidf.c: Likewise.
54677         * soft-fp/floatdisf.c: Likewise.
54678         * soft-fp/floatditf.c: Likewise.
54679         * soft-fp/floatsidf.c: Likewise.
54680         * soft-fp/floatsisf.c: Likewise.
54681         * soft-fp/floatsitf.c: Likewise.
54682         * soft-fp/floattidf.c: Likewise.
54683         * soft-fp/floattisf.c: Likewise.
54684         * soft-fp/floattitf.c: Likewise.
54685         * soft-fp/floatundidf.c: Likewise.
54686         * soft-fp/floatundisf.c: Likewise.
54687         * soft-fp/floatunsidf.c: Likewise.
54688         * soft-fp/floatunsisf.c: Likewise.
54689         * soft-fp/floatuntidf.c: Likewise.
54690         * soft-fp/floatuntisf.c: Likewise.
54691         * soft-fp/floatuntitf.c: Likewise.
54692         * soft-fp/fmadf4.c: Likewise.
54693         * soft-fp/fmasf4.c: Likewise.
54694         * soft-fp/fmatf4.c: Likewise.
54695         * soft-fp/gedf2.c: Likewise.
54696         * soft-fp/gesf2.c: Likewise.
54697         * soft-fp/getf2.c: Likewise.
54698         * soft-fp/ledf2.c: Likewise.
54699         * soft-fp/lesf2.c: Likewise.
54700         * soft-fp/letf2.c: Likewise.
54701         * soft-fp/muldf3.c: Likewise.
54702         * soft-fp/mulsf3.c: Likewise.
54703         * soft-fp/multf3.c: Likewise.
54704         * soft-fp/negdf2.c: Likewise.
54705         * soft-fp/negsf2.c: Likewise.
54706         * soft-fp/negtf2.c: Likewise.
54707         * soft-fp/op-1.h: Likewise.
54708         * soft-fp/op-2.h: Likewise.
54709         * soft-fp/op-4.h: Likewise.
54710         * soft-fp/op-8.h: Likewise.
54711         * soft-fp/op-common.h: Likewise.
54712         * soft-fp/quad.h: Likewise.
54713         * soft-fp/single.h: Likewise.
54714         * soft-fp/soft-fp.h: Likewise.
54715         * soft-fp/sqrtdf2.c: Likewise.
54716         * soft-fp/sqrtsf2.c: Likewise.
54717         * soft-fp/sqrttf2.c: Likewise.
54718         * soft-fp/subdf3.c: Likewise.
54719         * soft-fp/subsf3.c: Likewise.
54720         * soft-fp/subtf3.c: Likewise.
54721         * soft-fp/truncdfsf2.c: Likewise.
54722         * soft-fp/trunctfdf2.c: Likewise.
54723         * soft-fp/trunctfsf2.c: Likewise.
54724         * soft-fp/trunctfxf2.c: Likewise.
54725         * soft-fp/unorddf2.c: Likewise.
54726         * soft-fp/unordsf2.c: Likewise.
54727         * soft-fp/unordtf2.c: Likewise.
54729 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
54731         [BZ #15672]
54732         * misc/error.c (error_tail): Fix possible buffer overflow.
54734 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
54736         [BZ #13028]
54737         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
54738         address.
54740 2013-10-14  P. J. McDermott  <pj@pehjota.net>
54742         [BZ #832]
54743         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
54744         testing pipefail option.
54746 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
54748         * soft-fp/double.h: Indent preprocessor directives inside #if.
54749         * soft-fp/extended.h: Likewise.
54750         * soft-fp/op-2.h: Likewise.
54751         * soft-fp/op-4.h: Likewise.
54752         * soft-fp/op-common.h: Likewise.
54753         * soft-fp/quad.h: Likewise.
54754         * soft-fp/single.h: Likewise.
54755         * soft-fp/soft-fp.h: Likewise.
54757 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
54759         * iconv/iconv_prog.c: Fix typos.
54760         * stdio-common/psiginfo-data.h: Likewise.
54762 2013-10-12   Reuben Thomas <rrt@sc3d.org>
54764         [BZ #15764]
54765         * locale/setlocale.c: Fix typo.
54767 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
54769         [BZ #16036]
54770         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
54771         signaling NaN arguments.
54772         * soft-fp/unordsf2.c (__unordsf2): Likewise.
54773         * soft-fp/unordtf2.c (__unordtf2): Likewise.
54775         [BZ #14910]
54776         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
54777         unordered operands.
54778         * soft-fp/gesf2.c (__gesf2): Likewise.
54779         * soft-fp/getf2.c (__getf2): Likewise.
54780         * soft-fp/ledf2.c (__ledf2): Likewise.
54781         * soft-fp/lesf2.c (__lesf2): Likewise.
54782         * soft-fp/letf2.c (__letf2): Likewise.
54784         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
54785         * soft-fp/eqsf2.c (__eqsf2): Likewise.
54786         * soft-fp/eqtf2.c (__eqtf2): Likewise.
54787         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
54788         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
54789         * soft-fp/fixdfti.c (__fixdfti): Likewise.
54790         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
54791         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
54792         * soft-fp/fixsfti.c (__fixsfti): Likewise.
54793         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
54794         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
54795         * soft-fp/fixtfti.c (__fixtfti): Likewise.
54796         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
54797         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
54798         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
54799         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
54800         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
54801         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
54802         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
54803         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
54804         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
54805         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
54806         * soft-fp/floatdisf.c (__floatdisf): Likewise.
54807         * soft-fp/floatsisf.c (__floatsisf): Likewise.
54808         * soft-fp/floattidf.c (__floattidf): Likewise.
54809         * soft-fp/floattisf.c (__floattisf): Likewise.
54810         * soft-fp/floattitf.c (__floattitf): Likewise.
54811         * soft-fp/floatundidf.c (__floatundidf): Likewise.
54812         * soft-fp/floatundisf.c (__floatundisf): Likewise.
54813         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
54814         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
54815         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
54816         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
54817         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
54818         * soft-fp/gesf2.c (__gesf2): Likewise.
54819         * soft-fp/getf2.c (__getf2): Likewise.
54820         * soft-fp/ledf2.c (__ledf2): Likewise.
54821         * soft-fp/lesf2.c (__lesf2): Likewise.
54822         * soft-fp/letf2.c (__letf2): Likewise.
54824         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
54825         Undefine and redefine.
54826         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
54827         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
54828         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
54829         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
54830         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54831         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
54832         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54833         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
54834         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54835         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
54836         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54837         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
54838         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54839         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
54840         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54842         [BZ #16032]
54843         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
54844         without decrementing exponent if mantissa >= that for the
54845         denominator, not >.
54846         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
54847         denominator, not >.  Decrement exponent in < case instead of
54848         incrementing in >= case.
54849         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
54850         without decrementing exponent if mantissa >= that for the
54851         denominator, not >.
54853         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
54854         computing saturated result for unsigned overflow.
54856 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54857             Jeff Law  <law@redhat.com>
54859         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
54860         (atan2Mp): Add systemtap probe marker.
54861         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
54862         (__ieee754_log): Add systemtap probe marker.
54863         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
54864         (atanMp): Add systemtap probe marker.
54865         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
54866         (tanMp): Add systemtap probe marker.
54867         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
54868         (__slowexp): Add systemtap probe marker.
54869         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
54870         (__slowpow): Add systemtap probe marker.
54871         * manual/probes.texi: Document probes.
54873 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
54875         [BZ #15362]
54876         * libio/fileops.c (_IO_new_file_write): Return count of bytes
54877         written.
54878         (_IO_new_file_xsputn): Don't return EOF if nothing has been
54879         written.
54880         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
54881         written to buffer but not flushed.
54882         * libio/iofwrite_u.c:  Likewise.
54883         * libio/iopadn.c:  Return bytes returned even if EOF was
54884         encountered.
54885         * libio/iowpadn.c:  Likewise.
54886         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
54887         if _IO_padn does not write the whole buffer.
54888         [!COMPILE_WPRINTF] (PAD): Likewise.
54890 2013-10-10  David S. Miller  <davem@davemloft.net>
54892         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
54893         directory block.
54895 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
54897         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
54898         instead of FSF address.
54899         * soft-fp/fixdfti.c: Likewise.
54900         * soft-fp/fixsfti.c: Likewise.
54901         * soft-fp/fixtfti.c: Likewise.
54902         * soft-fp/fixunsdfti.c: Likewise.
54903         * soft-fp/fixunssfti.c: Likewise.
54904         * soft-fp/fixunstfti.c: Likewise.
54905         * soft-fp/floattidf.c: Likewise.
54906         * soft-fp/floattisf.c: Likewise.
54907         * soft-fp/floattitf.c: Likewise.
54908         * soft-fp/floatuntidf.c: Likewise.
54909         * soft-fp/floatuntisf.c: Likewise.
54910         * soft-fp/floatuntitf.c: Likewise.
54911         * soft-fp/trunctfxf2.c: Likewise.
54913         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
54914         * soft-fp/fixdfti.c: Likewise.
54915         * soft-fp/fixsfti.c: Likewise.
54916         * soft-fp/fixtfti.c: Likewise.
54917         * soft-fp/fixunsdfti.c: Likewise.
54918         * soft-fp/fixunssfti.c: Likewise.
54919         * soft-fp/fixunstfti.c: Likewise.
54920         * soft-fp/floattidf.c: Likewise.
54921         * soft-fp/floattisf.c: Likewise.
54922         * soft-fp/floattitf.c: Likewise.
54923         * soft-fp/floatuntidf.c: Likewise.
54924         * soft-fp/floatuntisf.c: Likewise.
54925         * soft-fp/floatuntitf.c: Likewise.
54926         * soft-fp/trunctfxf2.c: Likewise.
54928 2013-10-10  David S. Miller  <davem@davemloft.net>
54930         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54932 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
54934         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
54935         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
54936         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
54937         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
54938         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
54939         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
54940         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
54942         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
54943         for NaNs before doing comparisons on argument.
54944         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
54945         Likewise.
54947 2013-10-10  Will Newton  <will.newton@linaro.org>
54949         * malloc/hooks.c (memalign_check): Ensure the value of bytes
54950         passed to _int_memalign does not overflow.
54952 2013-10-10  Torvald Riegel  <triegel@redhat.com>
54954         * scripts/bench.pl: Add include-sources directive.
54955         * benchtests/README: Update documentation.
54957 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
54959         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
54960         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
54961         instead of FP_INIT_ROUNDMODE.
54962         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
54963         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
54965         [BZ #16034]
54966         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
54967         copy class of input value.
54968         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
54969         not handle exceptions.
54970         * soft-fp/negsf2.c (__negsf2): Likewise.
54971         * soft-fp/negtf2.c (__negtf2): Likewise.
54972         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
54974 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
54976         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
54977         semicolon.  From Linux kernel.
54979 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
54981         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
54983 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
54985         [BZ #156]
54986         * manual/socket.texi: Added statement about buffer
54987         for gethostbyname2_r.
54989 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
54991         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
54992         Use .p2align directive instead, throughout.
54993         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
54994         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
54995         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
54996         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54997         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54998         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
54999         * sysdeps/x86_64/strchr.S: Likewise.
55000         * sysdeps/x86_64/strrchr.S: Likewise.
55002 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
55004         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
55006         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
55008         * sysdeps/generic/math_private.h (__mpsin1): Remove
55009         declaration.
55010         (__mpcos1): Likewise.
55011         (__mpsin): New argument __range_reduce.
55012         (__mpcos): Likewise.
55013         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55014         (slow): Use __mpsin and __mpcos.
55015         (slow1): Likewise.
55016         (slow2): Likewise.
55017         (sloww): Likewise.
55018         (sloww1): Likewise.
55019         (sloww2): Likewise.
55020         (bsloww): Likewise.
55021         (bsloww1): Likewise.
55022         (bsloww2): Likewise.
55023         (cslow2): Likewise.
55024         (csloww): Likewise.
55025         (csloww1): Likewise.
55026         (csloww2): Likewise.
55027         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
55028         range_reduce.  Merge in __mpsin1.
55029         (__mpcos): Likewise.
55030         (__mpsin1): Remove.
55031         (__mpcos1): Likewise.
55033 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
55035         * locale/loadlocale.c (_nl_intern_locale_data): Use
55036         LOCFILE_ALIGNED_P.
55037         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
55038         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
55039         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
55040         obstack data is appropriately aligned.
55041         (obstack_int32_grow_fast): Likewise.
55042         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
55043         * locale/programs/locfile.c (add_locale_uint32): Likewise.
55044         (add_locale_uint32_array): Likewise.
55046 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
55048         * benchtests/Makefile: Remove ARGLIST and RET variables.
55049         ($(objpfx)bench-%.c): Pass only function name to the script.
55050         * benchtests/README: Update documentation.
55051         * benchtests/acos-inputs: Add new directives.
55052         * benchtests/acosh-inputs: Likewise.
55053         * benchtests/asin-inputs: Likewise.
55054         * benchtests/asinh-inputs: Likewise.
55055         * benchtests/atan-inputs: Likewise.
55056         * benchtests/atanh-inputs: Likewise.
55057         * benchtests/cos-inputs: Likewise.
55058         * benchtests/cosh-inputs: Likewise.
55059         * benchtests/exp-inputs: Likewise.
55060         * benchtests/log-inputs: Likewise.
55061         * benchtests/pow-inputs: Likewise.
55062         * benchtests/rint-inputs: Likewise.
55063         * benchtests/sin-inputs: Likewise.
55064         * benchtests/sinh-inputs: Likewise.
55065         * benchtests/tan-inputs: Likewise.
55066         * benchtests/tanh-inputs: Likewise.
55067         * scripts/bench.pl: Add support for new directives.
55069 2013-10-07  Alan Modra  <amodra@gmail.com>
55071         * README: Fix careless merge.
55073 2013-10-05  Alan Modra  <amodra@gmail.com>
55075         * NEWS: Mention powerpc64le support and bugs fixed.
55076         * README: Both big-endian and little-endian powerpc64 supported.
55078 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55080         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
55081         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
55082         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
55083         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
55085 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
55087         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
55088         match prototype.
55090 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
55092         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
55093         Move -mhard-float appending from
55094         ports/sysdeps/powerpc/powerpc32/Makefile.
55095         [$(with-fp) = yes] (ASFLAGS): Likewise.
55096         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
55097         * sysdeps/powerpc/nofpu: Move directory from
55098         ports/sysdeps/powerpc/nofpu.
55099         * sysdeps/powerpc/soft-fp: Move directory from
55100         ports/sysdeps/powerpc/soft-fp.
55101         * sysdeps/powerpc/powerpc32/405: Move directory from
55102         ports/sysdeps/powerpc/powerpc32/405.
55103         * sysdeps/powerpc/powerpc32/440: Move directory from
55104         ports/sysdeps/powerpc/powerpc32/440.
55105         * sysdeps/powerpc/powerpc32/464: Move directory from
55106         ports/sysdeps/powerpc/powerpc32/464.
55107         * sysdeps/powerpc/powerpc32/476: Move directory from
55108         ports/sysdeps/powerpc/powerpc32/476.
55109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
55110         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
55111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
55112         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
55113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
55114         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
55115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
55116         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
55117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
55118         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
55119         * README: Update for powerpc-*-linux-gnu software floating point
55120         support in libc.
55122         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
55123         case to powerpc/powerpc32*.
55124         * sysdeps/unix/sysv/linux/configure: Regenerated.
55126         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
55127         (_FPU_MASK_OM): Define as 0x04.
55128         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
55129         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
55130         0x00c10080.
55131         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
55132         0x0000003c.
55133         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
55135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
55136         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
55137         getcontext_e500.
55138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
55139         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
55140         setcontext_e500.
55141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
55142         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
55143         and setcontext_e500.
55145 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
55147         * locale/iso-3166.def: Update iso-1366.def and related occurrences
55149 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55151         * manual/threads.texi (Default Thread Attributes): Fix typo.
55153 2013-10-04  Will Newton  <will.newton@linaro.org>
55155         * malloc/Makefile: Add tst-memalign.
55156         * malloc/tst-memalign.c: New file.
55158         * malloc/tst-posix_memalign.c: Add comments.
55159         (do_test): Add comments and call free on all potentially
55160         allocated pointers. Add space after cast.
55162         * malloc/tst-pvalloc.c: Add comments.
55163         (do_test): Add comments and call free on all potentially
55164         allocated pointers. Remove duplicate check for NULL pointer.
55165         Add space after cast.
55167         * malloc/tst-valloc.c: Add comments.
55168         (do_test): Add comments and call free on all potentially
55169         allocated pointers. Remove duplicate check for NULL pointer.
55170         Add space after cast.
55172 2013-10-04  Alan Modra  <amodra@gmail.com>
55174         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
55175         Use stdint types in rather than __attribute__((mode())).
55176         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
55178 2013-10-04  Alan Modra  <amodra@gmail.com>
55180         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
55181         Correct handling of unaligned relocs for little-endian.
55182         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
55184 2013-10-04  Alan Modra  <amodra@gmail.com>
55186         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
55187         * configure: Regenerate.
55188         * nptl/shlib-versions: Powerpc*le starts at 2.18.
55189         * shlib-versions: Likewise.
55191 2013-10-04  Alan Modra  <amodra@gmail.com>
55193         * string/tester.c (test_memrchr): Increment reported test cycle.
55195 2013-10-04  Alan Modra  <amodra@gmail.com>
55197         * string/test-memcpy.c (do_one_test): When reporting errors, print
55198         string address and don't overrun end of string.
55200 2013-10-04  Alan Modra  <amodra@gmail.com>
55202         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
55203         insrdi.  Make better use of reg selection to speed exit slightly.
55204         Schedule entry path a little better.  Remove useless "are we done"
55205         checks on entry to main loop.  Handle wrapping around zero address.
55206         Correct main loop count.  Handle single left-over word from main
55207         loop inline rather than by using loop_small.  Remove extra word
55208         case in loop_small caused by wrong loop count.  Add little-endian
55209         support.
55210         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
55211         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
55212         cache hint.
55213         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
55214         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
55215         support.  Avoid rlwimi.
55216         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
55218 2013-10-04  Alan Modra  <amodra@gmail.com>
55220         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
55221         insrdi.  Formatting.
55222         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
55223         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
55224         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
55225         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
55226         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
55227         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
55229 2013-10-04  Alan Modra  <amodra@gmail.com>
55231         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
55232         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55233         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
55234         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
55235         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
55236         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55237         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55238         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
55239         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
55240         use of regs.  Use power7 mtocrf.  Tidy function tails.
55242 2013-10-04  Alan Modra  <amodra@gmail.com>
55244         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
55245         Formatting.  Consistently use rXXX register defines or rN defines.
55246         Use early exit labels that avoid restoring unused non-volatile regs.
55247         Make cr field use more consistent with rWORDn compares.  Rename
55248         regs used as shift registers for unaligned loop, using rN defines
55249         for short lifetime/multiple use regs.
55250         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55251         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
55252         addi 1,1,64 to pop stack frame.  Simplify return value code.
55253         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55255 2013-10-04  Alan Modra  <amodra@gmail.com>
55257         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
55258         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
55259         rather than rlwimi.
55260         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
55261         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
55262         little-endian support.  Correct typos.
55263         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
55264         rather than rlwimi.
55265         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
55266         in loop and entry code to keep "and." results.
55267         (strchr): Add little-endian support.  Comment.  Move cntlzd
55268         earlier in tail.
55269         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
55271 2013-10-04  Alan Modra  <amodra@gmail.com>
55273         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
55274         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
55275         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
55276         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
55278 2013-10-04  Alan Modra  <amodra@gmail.com>
55280         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
55281         (rTMP): Define as r11.
55282         (strcmp): Add little-endian support.  Optimise tail.
55283         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
55284         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55285         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
55286         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55287         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
55288         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55289         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55291 2013-10-04  Alan Modra  <amodra@gmail.com>
55293         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
55294         little-endian support.  Remove unnecessary "are we done" tests.
55295         Handle "s" wrapping around zero and extremely large "size".
55296         Correct main loop count.  Handle single left-over word from main
55297         loop inline rather than by using small_loop.  Correct comments.
55298         Delete "zero" tail, use "end_max" instead.
55299         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
55301 2013-10-04  Alan Modra  <amodra@gmail.com>
55303         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
55304         support.  Don't branch over align.
55305         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
55306         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
55307         support.  Rearrange tmp reg use to suit.  Comment.
55308         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
55310 2013-10-04  Alan Modra  <amodra@gmail.com>
55312         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
55314 2013-10-04  Alan Modra  <amodra@gmail.com>
55316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
55317         conditional form of branch and link when obtaining pc.
55318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
55320 2013-10-04  Alan Modra  <amodra@gmail.com>
55322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
55323         HIWORD/LOWORD.
55324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
55325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
55327 2013-10-04  Alan Modra  <amodra@gmail.com>
55329         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
55330         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
55331         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
55332         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
55333         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
55334         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
55335         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
55336         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
55337         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
55338         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
55340 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55341             Alistair Popple <alistair@ozlabs.au.ibm.com>
55342             Alan Modra <amodra@gmail.com>
55344         [BZ #15723]
55345         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
55346         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
55347         _dl_hwcap access for little-endian.
55348         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
55349         destroy vmx regs when saving unaligned.
55350         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
55351         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
55352         destroy vmx regs when saving unaligned.
55354 2013-10-04  Alan Modra  <amodra@gmail.com>
55356         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
55357         Don't use a union to pack hi/low value.
55359 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55361         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
55362         for little-endian.
55363         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
55364         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
55365         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
55366         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
55367         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
55369 2013-10-04  Alan Modra  <amodra@gmail.com>
55371         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
55372         constants to usual value for .cst8 section, and remove redundant
55373         high address load.
55374         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
55375         constant for 0x1p52.  Load little-endian words of double from
55376         correct stack offsets.
55378 2013-10-04  Alan Modra  <amodra@gmail.com>
55380         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
55381         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
55382         words of double from correct stack offsets.
55383         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
55384         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
55385         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
55386         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
55387         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
55388         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
55389         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
55390         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
55391         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
55392         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
55393         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
55394         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
55395         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55396         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55397         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55398         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
55399         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
55401 2013-10-04  Alan Modra  <amodra@gmail.com>
55403         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
55404         64-bit int/double union.
55405         (_FPU_SETCW): Likewise.
55406         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
55407         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
55409 2013-10-04  Alan Modra  <amodra@gmail.com>
55411         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
55412         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
55414 2013-10-04  Alan Modra  <amodra@gmail.com>
55416         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
55417         use vector int constants.
55418         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
55420 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55422         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
55423         array with long long.
55424         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
55425         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
55426         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
55427         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
55428         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
55429         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
55430         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
55431         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
55432         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
55433         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
55434         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
55435         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
55436         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
55438 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55440         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
55441         (__signbit): Likewise.  Correct for little-endian.
55442         (__signbitl): Call __signbit.
55443         (lrint): Correct for little-endian.
55444         (lrintf): Call lrint.
55446 2013-10-04  Alan Modra  <amodra@gmail.com>
55448         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
55449         union 32-bit int array member with 64-bit int array.
55450         (t515, tm256): Double rather than long double.
55451         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
55453 2013-10-04  Alan Modra  <amodra@gmail.com>
55455         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
55456         Delete.
55457         (IEEE854_LONG_DOUBLE_BIAS): Delete.
55458         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
55459         version of math_ldbl.h.
55461 2013-10-04  Alan Modra  <amodra@gmail.com>
55463         [BZ #15734], [BZ #15735]
55464         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
55465         all uses of ieee875 long double macros and unions.  Simplify test
55466         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
55467         ldbl_extract_mantissa value for ix,iy exponents.  Properly
55468         normalize after ldbl_extract_mantissa, and don't add hidden bit
55469         already handled.  Don't treat low word of ieee854 mantissa like
55470         low word of IBM long double and mask off bit when testing for
55471         zero.
55472         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
55473         all uses of ieee875 long double macros and unions.  Simplify tests
55474         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
55475         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
55476         two1022, instead use their values.  Recognise that tests for large
55477         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
55478         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
55479         Rewrite all uses of ieee875 long double macros and unions.  Simplify
55480         test for 0.0L and nan.  Correct negation.
55481         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
55482         ieee875 long double macros and unions.  Correct output for large
55483         magnitude x.  Correct absolute value calculation.
55484         (__erfcl): Likewise.
55485         * math/libm-test.inc: Add tests for errors discovered in IBM long
55486         double versions of fmodl, remainderl, erfl and erfcl.
55488 2013-10-04  Alan Modra  <amodra@gmail.com>
55490         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
55491         all uses of ieee854 long double macros and unions.  Simplify tests
55492         for long doubles that are fully specified by the high double.
55493         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
55494         Likewise.
55495         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
55496         Remove dead code too.
55497         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
55498         (__ieee754_ynl): Likewise.
55499         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
55500         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
55501         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
55502         Remove dead code too.
55503         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
55504         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
55505         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
55506         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
55507         Simplify.
55508         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
55509         Simplify.
55510         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
55511         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
55512         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
55513         Comment on variable precision.
55514         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
55515         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
55516         Likewise.
55517         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
55518         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
55519         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
55520         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
55521         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
55523 2013-10-04  Alan Modra  <amodra@gmail.com>
55525         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
55526         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
55527         all uses of ieee854 long double macros and unions.
55528         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
55529         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
55530         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
55531         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
55532         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
55533         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
55534         Likewise.
55535         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
55536         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
55537         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
55538         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
55539         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
55540         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
55541         Simplify sign and nan test too.
55542         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
55543         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
55544         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
55545         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
55546         Likewise.
55547         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
55548         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
55549         Likewise.
55550         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55551         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
55552         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
55553         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
55554         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
55555         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
55557 2013-10-04  Alan Modra  <amodra@gmail.com>
55559         * stdio-common/printf_size.c (__printf_size): Don't use
55560         union ieee854_long_double in fpnum union.
55561         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
55562         signbit macro to retrieve sign from long double.
55563         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
55564         retrieve sign from long double.
55565         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
55566         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
55567         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
55568         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
55569         * math/test-misc.c (main): Don't use union ieee854_long_double.
55571 2013-10-04  Alan Modra  <amodra@gmail.com>
55573         [BZ #15680]
55574         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
55575         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
55576         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
55577         calculation.  Remove unnecessary test for denormal exponent.
55578         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
55579         Correct handling of denormals.  Avoid undefined shift behaviour.
55580         Correct normalisation of low mantissa when low double is denormal.
55581         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
55582         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
55583         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
55584         Correct normalisation of low mantissa.  Test for overflow of high
55585         mantissa and normalise.
55586         (ldbl_nearbyint): Use more readable constant for two52.
55587         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
55588         (__mpn_construct_long_double): Fix test for overflow of high
55589         mantissa and correct normalisation.  Avoid undefined shift.
55591 2013-10-04  Alan Modra  <amodra@gmail.com>
55593         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
55594         (union ibm_extended_long_double): Define as an array of ieee754_double.
55595         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
55596         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
55597         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
55598         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
55599         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55600         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
55601         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55602         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
55603         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55604         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
55605         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
55607 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
55609         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
55610         page size instead of calling getpagesize.
55612         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
55613         (LOCFILE_ALIGN_MASK): Likewise.
55614         (LOCFILE_ALIGN_UP): Likewise.
55615         (LOCFILE_ALIGNED_P): Likewise.
55616         * locale/programs/ld-collate.c (collate_output): Use the new
55617         macros instead of __alignof__ (int32_t).
55618         * locale/weight.h (findidx): Likewise.
55620 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
55622         [BZ #431]
55623         * manual/string.texi: Fix strncat and wcsncat.
55625 2013-10-03  Brooks Moses  <bmoses@google.com>
55627         [BZ #15915]
55628         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
55629         * Makerules: ...here, and adjust associated comments.
55631 2013-10-02  Will Newton  <will.newton@linaro.org>
55633         * malloc/Makefile: Add tst-pvalloc.
55634         * malloc/tst-pvalloc.c: New file.
55636 2013-10-02  Will Newton  <will.newton@linaro.org>
55638         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
55639         improve test coverage.
55641 2013-10-02  Will Newton  <will.newton@linaro.org>
55643         * malloc/Makefile: Add tst-posix_memalign.
55644         * malloc/tst-posix_memalign.c: New file.
55646 2013-10-01  Eric Blake  <eblake@redhat.com>
55648         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
55649         Use __THROWNL rather than __THROW on static functions.
55651 2013-09-30  Petr Machata  <pmachata@redhat.com>
55653         * elf/elf.h (R_AARCH64_ABS16): New macro.
55654         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
55655         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
55656         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
55657         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
55658         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
55659         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
55660         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
55661         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
55662         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
55663         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
55664         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
55665         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
55666         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
55667         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
55668         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
55669         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
55670         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
55671         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
55672         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
55673         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
55674         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
55675         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
55676         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
55677         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
55678         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
55679         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
55680         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
55681         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
55682         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
55683         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
55684         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
55685         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
55686         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
55687         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
55688         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
55689         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
55690         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
55691         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
55692         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
55693         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
55694         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
55695         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
55696         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
55697         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
55698         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
55699         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
55700         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
55701         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
55702         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
55703         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
55704         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
55705         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
55706         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
55707         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
55708         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
55709         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
55710         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
55711         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
55712         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
55713         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
55714         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
55715         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
55716         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
55717         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
55718         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
55719         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
55720         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
55721         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
55722         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
55723         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
55724         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
55725         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
55726         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
55727         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
55728         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
55729         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
55730         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
55731         (R_AARCH64_TLSDESC_LDR): Likewise.
55732         (R_AARCH64_TLSDESC_ADD): Likewise.
55733         (R_AARCH64_TLSDESC_CALL): Likewise.
55735 2013-09-30  Andreas Schwab  <schwab@suse.de>
55737         [BZ #15048]
55738         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
55739         the nss database lookup.
55740         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55741         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55743 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
55745         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
55747 2013-09-28  P. J. McDermott  <pj@pehjota.net>
55749         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
55750         ${Bash-specific parameter/pattern/string} parameter expansion.
55751         * sysdeps/unix/make-syscalls.sh: Likewise.
55753 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55755         * sysdeps/sh/stackguard-macros.h: New file.
55757 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
55759         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
55760         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
55761         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
55762         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
55763         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55764         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
55766 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55768         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
55769         Fix thread ID register.
55771 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
55773         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
55774         [POSIX || UNIX98]: Require rather than permitting all symbols from
55775         <time.h>.
55776         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
55777         element of struct sched_param.
55778         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
55779         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
55780         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
55781         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
55782         constant.
55784 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
55786         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
55787         argument calculation.
55789 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
55791         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
55792         Expect macro.
55793         [POSIX] (pthread_attr_t): Do not require type.
55794         [POSIX] (pthread_cond_t): Likewise.
55795         [POSIX] (pthread_condattr_t): Likewise.
55796         [POSIX] (pthread_key_t): Likewise.
55797         [POSIX] (pthread_mutex_t): Likewise.
55798         [POSIX] (pthread_mutexattr_t): Likewise.
55799         [POSIX] (pthread_once_t): Likewise.
55800         [POSIX] (pthread_t): Likewise.
55801         [POSIX-based standards] (pthread_atfork): Expect function.
55803 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
55804             Richard Sandiford  <richard@codesourcery.com>
55806         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
55807         (swap_endianness_p): New extern variable.
55808         (set_big_endian): New inline function.
55809         (maybe_swap_uint32): Likewise.
55810         (maybe_swap_uint32_array): Likewise.
55811         (maybe_swap_uint32_obstack): Likewise.
55812         * locale/programs/locfile.c: Include <stdbool.h>.
55813         (swap_endianness_p): New variable.
55814         (add_locale_uint32): Call maybe_swap_uint32.
55815         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
55816         (write_locale_data): Call maybe_swap_uint32_array.
55817         * locale/programs/ld-collate.c (obstack_int32_grow): Call
55818         maybe_swap_uint32.
55819         (obstack_int32_grow_fast): Likewise.
55820         (output_weightwc): Call maybe_swap_uint32_obstack.
55821         (collate_output): Likewise.
55822         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
55823         (OPT_LITTLE_ENDIAN): Likewise.
55824         (options): Add --little-endian and --big-endian options.
55825         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
55826         * locale/programs/locarchive.c: Include "locfile.h".
55827         (GET): New macro.
55828         (SET): Likewise.
55829         (INC): Likewise.
55830         (create_archive): Use the new macros to access fields of
55831         structures directly mapped from or written to locale archives.
55832         (oldlocrecentcmp): Likewise.
55833         (enlarge_archive): Likewise.
55834         (insert_name): Likewise.
55835         (add_alias): Likewise.
55836         (add_locale): Likewise.
55837         (delete_locales_from_archive): Likewise.
55838         (show_archive_content): Likewise.
55839         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
55840         locale data.
55842 2013-09-24  Roland McGrath  <roland@hack.frob.com>
55844         * manual/freemanuals.texi: Updated from (newly) canonical copy at
55845         http://www.gnu.org/doc/freemanuals.texi.
55846         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
55848 2013-09-24  Will Newton  <will.newton@linaro.org>
55850         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
55851         macro.
55853 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
55855         * locale/hashval.h (compute_hashval): Interpret bytes of key as
55856         unsigned char.
55858 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
55860         * manual/threads.texi (POSIX Threads): Fix a typo.
55862 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
55864         [BZ #14547]
55865         * string/tst-strcoll-overflow.c: New test case.
55866         * string/Makefile (xtests): Add tst-strcoll-overflow.
55867         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
55868         cache if string sizes may cause integer overflow.
55870         [BZ #14547]
55871         * string/strcoll_l.c (coll_seq): New members rule, idx,
55872         save_idx and back_us.
55873         (get_next_seq_nocache): New function.
55874         (do_compare_nocache): New function.
55875         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
55876         when malloc fails.
55878 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
55880         [BZ #15754]
55881         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
55882         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
55883         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
55885         [BZ #15754]
55886         * elf/Makefile (tests): Add tst-ptrguard1.
55887         (tests-static): Add tst-ptrguard1-static.
55888         (tst-ptrguard1-ARGS): Define.
55889         (tst-ptrguard1-static-ARGS): Define.
55890         * elf/tst-ptrguard1.c: New file.
55891         * elf/tst-ptrguard1-static.c: New file.
55892         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
55893         * sysdeps/i386/stackguard-macros.h: Likewise.
55894         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
55895         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
55896         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
55897         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
55898         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
55899         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
55901 2013-09-23  Hector Marco  <hecmargi@upv.es>
55902             Ismael Ripoll  <iripoll@disca.upv.es>
55903             Carlos O'Donell  <carlos@redhat.com>
55905         [BZ #15754]
55906         * sysdeps/generic/stackguard-macros.h: Define
55907         __pointer_chk_guard_local and POINTER_CHK_GUARD.
55908         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
55909         Define __pointer_chk_guard_local.
55910         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
55911         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
55913 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
55915         [BZ #15859]
55916         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
55918 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
55920         * include/string.h (__ffs): Declare as hidden.
55921         * string/ffs.c (__ffs): Define as hidden.
55922         * sysdeps/i386/ffs.c (__ffs): Likewise.
55923         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
55924         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
55925         * sysdeps/s390/ffs.c (__ffs): Likewise.
55926         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
55928 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
55930         * NEWS: Mention malloc probes.
55932         * malloc/arena.c (new_heap): New memory_heap_new probe.
55933         (grow_heap): New memory_heap_more probe.
55934         (shrink_heap): New memory_heap_less probe.
55935         (heap_trim): New memory_heap_free probe.
55936         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
55937         (systrim): New memory_sbrk_less probe.
55938         * manual/probes.texi: Document them.
55940         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
55941         * manual/probes.texi: Document it.
55943         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
55944         (__libc_realloc): Add memory_realloc_retry probe.
55945         (__libc_memalign): Add memory_memalign_retry probe.
55946         (__libc_valloc): Add memory_valloc_retry probe.
55947         (__libc_pvalloc): Add memory_pvalloc_retry probe.
55948         (__libc_calloc): Add memory_calloc_retry probe.
55949         * manual/probes.texi: Document them.
55951         * malloc/arena.c (get_free_list): Add probe
55952         memory_arena_reuse_free_list.
55953         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
55954         and memory_arena_reuse.
55955         (arena_get2) [!PER_THREAD]: Likewise.
55956         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
55957         memory_arena_reuse_realloc.
55958         * manual/probes.texi: Document them.
55960         * malloc/malloc.c (__libc_free): Add
55961         memory_mallopt_free_dyn_thresholds probe.
55962         (__libc_mallopt): Add multiple memory_mallopt probes.
55963         * manual/probes.texi: Document them.
55965         * malloc/malloc.c: Include stap-probe.h.
55966         (__libc_mallopt): Add memory_mallopt probe.
55967         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
55968         * manual/probes.texi: New.
55969         * manual/Makefile (chapters): Add probes.
55970         * manual/threads.texi: Set next node.
55972 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
55974         [BZ #15963, #13985]
55975         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
55976         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
55977         Add `Chinese' to `nan' entry name.
55979 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55981         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
55982         (POLYNOMIAL): Likewise.
55983         (TAYLOR_SINCOS): Likewise.
55984         (TAYLOR_SLOW): Likewise.
55985         (__sin): Use TAYLOR_SINCOS.
55986         (__cos): Likewise.
55987         (slow): Use TAYLOR_SLOW.
55988         (sloww): Likewise.
55989         (bsloww): Likewise.
55990         (csloww): Likewise.
55992 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55994         * stdlib/strtod_l.c: Fix buffer overrun.
55996 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55998         * benchtests/Makefile (bench): Add sincos.
55999         * benchtests/bench-sincos.c: New file.
56001         * math/libm-test.inc (cos_test_data): New test inputs.
56002         (sin_test_data): Likewise.
56004         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
56005         macro.
56006         (__sin): Use it.
56007         (__cos): Likewise.
56008         (slow1): Likewise.
56009         (slow2): Likewise.
56010         (sloww1): Likewise.
56011         (sloww2): Likewise.
56012         (bsloww1): Likewise.
56013         (bsloww2): Likewise.
56014         (cslow2): Likewise.
56015         (csloww1): Likewise.
56016         (csloww2): Likewise.
56018         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
56019         function.
56020         (__sin): Use it.
56021         (__cos): Likewise.
56023         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
56024         gotos.
56025         (__cos): Likewise.
56027 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
56029         * config.h.in (HAVE_MIPS_NAN2008): New macro.
56030         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
56031         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
56032         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
56033         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
56034         * elf/cache.c (print_entry): Handle the new cache flags.
56036 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
56037             Aldy Hernandez  <aldyh@redhat.com>
56039         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
56040         Change condition to [_SOFT_FLOAT].
56041         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
56042         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
56043         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
56044         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
56045         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
56046         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
56047         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
56048         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
56049         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
56050         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
56051         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
56052         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
56053         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
56054         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
56055         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
56056         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
56057         declaration.
56059 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
56061         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
56062         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
56063         (__longjmp): Use LOAD_GP to load saved GPRs.
56064         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
56065         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
56066         (__sigsetjmp): Use SAVE_GP to save GPRs.
56068         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
56069         Do not append -msoft-float.
56070         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
56072 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56074         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
56076 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
56078         [BZ #15966]
56079         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
56080         (_FPU_GETCW): Use initial "__" on variable and field names but not
56081         on macro parameter name.
56082         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
56083         parentheses around reference to macro parameter.
56085 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
56087         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
56088         prototype.
56089         (ctype_startup): Use uint32_t in cast and sizeof for
56090         ctype->charnames.
56092 2013-09-11  Jia Liu  <proljc@gmail.com>
56094         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
56095         __daddr_t_defined.
56096         [__FreeBSD__]: Likewise.
56098 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
56100         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
56101         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
56102         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
56103         (strchr): Remove __strchr_sse42 ifunc selection.
56104         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
56105         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
56107 2013-09-11  Will Newton  <will.newton@linaro.org>
56109         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
56110         parameter to RES. Remove hardcoded 1000 value.
56111         * benchtests/bench-skeleton.c (main): Pass RES parameter
56112         to TIMING_INIT and multiply result by 1000.
56114 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56116         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56118 2013-09-11  Andreas Schwab  <schwab@suse.de>
56120         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
56121         if not defined.
56122         (O_TMPFILE) [__USE_GNU]: Define.
56123         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
56124         Define.
56126 2013-09-11  Will Newton  <will.newton@linaro.org>
56128         [BZ #15857]
56129         * malloc/malloc.c (__libc_memalign): Check the value of bytes
56130         does not overflow.
56132 2013-09-11  Will Newton  <will.newton@linaro.org>
56134         [BZ #15856]
56135         * malloc/malloc.c (__libc_valloc): Check the value of bytes
56136         does not overflow.
56138 2013-09-11  Will Newton  <will.newton@linaro.org>
56140         [BZ #15855]
56141         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
56142         does not overflow.
56144 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
56146         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
56147         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56148         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56149         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56150         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56152 2013-09-10  Allan McRae  <allan@archlinux.org>
56154         [BZ #15748]
56155         * manual/arith.texi (Parsing of Floats): Clarify
56156         cross-reference.
56158         [BZ #15849]
56159         * manual/install.texi (Running make install): Mention
56160         --enable-pt-chown.
56161         * INSTALL: Regenerated.
56163 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
56165         * csu/init-first.c (_init): Remove the !SHARED condition around
56166         FPU control word initialization.
56167         * elf/dl-support.c (_dl_fpu_control): New variable.
56168         (_dl_aux_init) <AT_FPUCW>: Initialize it.
56169         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
56170         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
56171         * math/test-fpucw-static.c: New file.
56172         * math/test-fpucw-ieee.c: New file.
56173         * math/test-fpucw-ieee-static.c: New file.
56174         * math/Makefile (tests): Add `test-fpucw-ieee' and
56175         `$(tests-static)'.
56176         (tests-static): New variable.
56177         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
56178         dependency to...
56179         [($(build-shared),yes)]
56180         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
56181         ... this.
56182         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
56183         New dependency.
56185 2013-09-09  Allan McRae  <allan@archlinux.org>
56187         [BZ #15939]
56188         * manual/string.texi (Collation Functions): Fix typo in
56189         strcoll example.
56190         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
56192         [BZ #15893]
56193         * stdlib/isomac.c (get_null_defines): Fix memory leak.
56195         [BZ #15892]
56196         * libio/memstream.c (open_memstream): Fix memory leak.
56197         * libio/wmemstream.c (open_wmemstream): Likewise.
56199         [BZ #15895]
56200         * nscd/netgroupcache.c: Fix nesting of ifdefs.
56202 2013-09-09  Will Newton  <will.newton@linaro.org>
56204         * malloc/Makefile: Add tst-realloc to tests.
56205         * malloc/tst-realloc.c: New file.
56207 2013-09-09  Allan McRae  <allan@archlinux.org>
56209         [BZ #15844]
56210         * COPYING: Update from GNU website to fix FSF address.
56211         * COPYING.LIB: Likewise.
56213 2013-09-06  David S. Miller  <davem@davemloft.net>
56215         * po/zh_TW.po: Update Chinese (traditional) translation from
56216         translation project.
56218 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
56219             Joseph Myers  <joseph@codesourcery.com>
56221         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
56222         "localeinfo.h".
56223         (obstack_chunk_alloc): New macro.
56224         (obstack_chunk_free): Likewise.
56225         (record_offset): New function.
56226         (init_locale_data): Likewise.
56227         (align_locale_data): Likewise.
56228         (add_locale_empty): Likewise.
56229         (add_locale_raw_data): Likewise.
56230         (add_locale_raw_obstack): Likewise.
56231         (add_locale_string): Likewise.
56232         (add_locale_wstring): Likewise.
56233         (add_locale_uint32): Likewise.
56234         (add_locale_uint32_array): Likewise.
56235         (add_locale_char): Likewise.
56236         (start_locale_structure): Likewise.
56237         (end_locale_structure): Likewise.
56238         (start_locale_prelude): Likewise.
56239         (end_locale_prelude): Likewise.
56240         (write_locale_data): Take locale_file structure rather than an
56241         iovec.
56242         * locale/programs/locfile.h: Include "obstack.h".
56243         (struct locale_file): Change to store locale file contents instead
56244         of header.
56245         (init_locale_data): New prototype.
56246         (align_locale_data): Likewise.
56247         (add_locale_empty): Likewise.
56248         (add_locale_raw_data): Likewise.
56249         (add_locale_raw_obstack): Likewise.
56250         (add_locale_string): Likewise.
56251         (add_locale_wstring): Likewise.
56252         (add_locale_uint32): Likewise.
56253         (add_locale_uint32_array): Likewise.
56254         (add_locale_char): Likewise.
56255         (start_locale_structure): Likewise.
56256         (end_locale_structure): Likewise.
56257         (start_locale_prelude): Likewise.
56258         (end_locale_prelude): Likewise.
56259         (write_locale_data): Update prototype.
56260         * locale/programs/3level.h (struct TABLE): Remove result field.
56261         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
56262         Use new locale_file interface.
56263         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
56264         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
56265         * locale/programs/ld-address.c (address_output): Use new
56266         locale_file interface.
56267         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
56268         NO_ADD_LOCALE.
56269         (collate_finish): Don't call collseq_table_finalize.
56270         (collate_output): Use new locale_file interface.
56271         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
56272         in file.
56273         (NO_FINALIZE): Change to NO_ADD_LOCALE.
56274         (TABLE): Move defines earlier in file.
56275         (ELEMENT): Likewise.
56276         (DEFAULT): Likewise.
56277         (wctrans_table_add): Move macro and inline function earlier in
56278         file.
56279         (struct wctype_table): Move type earlier in file.
56280         (add_locale_wctype_table): New static prototype.
56281         (struct locale_ctype_t): Use logical types instead of struct iovec
56282         pointers for members.
56283         (ctype_output): Use new locale_file interface.
56284         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
56285         new locale_file interface.
56286         (allocate_arrays): Update for use of new locale_file interface.
56287         * locale/programs/ld-identification.c (identification_output): Use
56288         new locale_file interface.
56289         * locale/programs/ld-measurement.c (measurement_output): Likewise.
56290         * locale/programs/ld-messages.c (messages_output): Likewise.
56291         * locale/programs/ld-monetary.c (monetary_output): Likewise.
56292         * locale/programs/ld-name.c (name_output): Likewise.
56293         * locale/programs/ld-numeric.c (numeric_output): Likewise.
56294         * locale/programs/ld-paper.c (paper_output): Likewise.
56295         * locale/programs/ld-telephone.c (telephone_output): Likewise.
56296         * locale/programs/ld-time.c (time_output): Likewise.
56298 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56300         * benchtests/Makefile: Add memrchr benchmark.
56301         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
56302         benchmark as memrchr.
56303         * benchtests/bench-memrchr-ifunc.c: New file.
56304         * benchtests/bench-memrchr.c: New file.
56306 2013-09-06   Will Newton  <will.newton@linaro.org>
56308         * benchtests/Makefile (string-bench): Add memcpy.
56310 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
56311             Cong Wang  <amwang@redhat.com>
56313         [BZ #15850]
56314         * sysdeps/unix/sysv/linux/bits/in.h
56315         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
56316         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
56317         before __USE_KERNEL_IPV6_DEFS uses.
56318         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
56319         IPPROTO_BEETPH.
56320         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
56321         sockaddr_in6, or ipv6_mreq.
56323 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56325         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
56326         memory access for final bytes in some large inputs.
56327         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
56329 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56331         * string/test-memrchr.c: New file.
56332         * string/test-memrchr-ifunc.c: New file.
56333         * string/Makefile: Add new memrchr testcase.
56335 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
56337         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
56338         fanotify_init returns EPERM.
56340 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
56342         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
56343         errors.
56344         (top level): Treat second token from macro or constant entries for
56345         allowed headers as allowed.
56346         * include/complex.h: Condition internal declarations on
56347         [!_ISOMAC].
56348         * include/fenv.h: Condition include of <stdbool.h> and internal
56349         declarations on [!_ISOMAC].
56351 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
56353         [BZ #15923]
56354         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
56356 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
56358         * configure.in (--enable-versioning): Remove configure option.
56359         (libc_cv_asm_symver_directive): Remove configure test.
56360         (libc_cv_ld_version_script_option): Likewise.
56361         (VERSIONING): Remove variable and AC_SUBST.
56362         (DO_VERSIONING): Remove AC_DEFINE.
56363         * configure: Regenerated.
56364         * config.h.in (DO_VERSIONING): Remove macro.
56365         * Makerules [$(versioning) = yes]: Change conditionals to
56366         [$(build-shared) = yes].
56367         * config.make.in (versioning): Remove variable.
56368         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
56369         [$(build-shared) = yes].
56370         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
56371         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
56372         * elf/Makefile [$(versioning) = yes]: Change conditionals to
56373         [$(build-shared) = yes].
56374         * extra-lib.mk [$(versioning) = yes]: Likewise.
56375         * hurd/Makefile [$(versioning) = yes]: Likewise.
56376         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
56377         [SHARED].
56378         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
56379         [SHARED].
56380         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
56381         [SHARED && !NO_HIDDEN].
56382         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
56383         [SHARED].
56384         [SHARED && DO_VERSIONING]: Likewise..
56385         * libio/Makefile [$(versioning) = yes]: Change conditionals to
56386         [$(build-shared) = yes].
56387         * manual/install.texi (--disable-versioning): Remove
56388         documentation.
56389         * INSTALL: Regenerated.
56390         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
56391         to [SHARED].
56392         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
56393         [$(build-shared) = yes].
56394         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
56395         * sysdeps/i386/i686/multiarch/strstr-c.c
56396         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
56397         [SHARED && !NO_HIDDEN].
56398         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
56399         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
56400         * sysdeps/powerpc/powerpc32/dl-machine.c
56401         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
56402         * sysdeps/powerpc/powerpc32/sysdep.h
56403         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
56404         to [SHARED && PIC && !NO_HIDDEN].
56405         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
56406         conditional to [SHARED].
56408 2013-09-04   Will Newton  <will.newton@linaro.org>
56410         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
56411         * benchtests/bench-string.h: Include bench-timing.h instead
56412         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
56413         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
56414         call to HP_TIMING_DIFF_INIT.
56415         * benchtests/bench-memccpy.c: Use bench-timing.h macros
56416         instead of hp-timing.h macros.
56417         * benchtests/bench-memchr.c: Likewise.
56418         * benchtests/bench-memcmp.c: Likewise.
56419         * benchtests/bench-memcpy.c: Likewise.
56420         * benchtests/bench-memmem.c: Likewise.
56421         * benchtests/bench-memmove.c: Likewise.
56422         * benchtests/bench-memset.c: Likewise.
56423         * benchtests/bench-rawmemchr.c: Likewise.
56424         * benchtests/bench-strcasecmp.c: Likewise.
56425         * benchtests/bench-strcasestr.c: Likewise.
56426         * benchtests/bench-strcat.c: Likewise.
56427         * benchtests/bench-strchr.c: Likewise.
56428         * benchtests/bench-strcmp.c: Likewise.
56429         * benchtests/bench-strcpy.c: Likewise.
56430         * benchtests/bench-strcpy_chk.c: Likewise.
56431         * benchtests/bench-strlen.c: Likewise.
56432         * benchtests/bench-strncasecmp.c: Likewise.
56433         * benchtests/bench-strncat.c: Likewise.
56434         * benchtests/bench-strncmp.c: Likewise.
56435         * benchtests/bench-strncpy.c: Likewise.
56436         * benchtests/bench-strnlen.c: Likewise.
56437         * benchtests/bench-strpbrk.c: Likewise.
56438         * benchtests/bench-strrchr.c: Likewise.
56439         * benchtests/bench-strspn.c: Likewise.
56440         * benchtests/bench-strstr.c: Likewise.
56442 2013-09-04  Will Newton  <will.newton@linaro.org>
56444         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
56446 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
56448         [BZ #15427]
56449         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
56450         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
56451         * math/libm-test.inc (lgamma_test_data): Add more tests.
56452         * sysdeps/i386/fpu/libm-test-ulps: Update.
56453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56455 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
56457         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
56458         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56459         Add ifunc.
56460         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56461         Add strcmp-sse2-unaligned
56462         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
56464 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
56466         * Versions.def (libc): Add GLIBC_2.19.
56468 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
56470         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
56471         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
56473 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
56475         [BZ #14155]
56476         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
56477         intermediate calculations in recurrence.
56478         (__ieee754_ynf): Likewise.
56479         * math/libm-test.inc (jn_test_data): Do not allow spurious
56480         underflow exception.  Add more tests.
56481         (yn_test_data): Add more tests.
56482         * sysdeps/i386/fpu/libm-test-ulps: Update.
56483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56485 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
56487         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
56489 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
56491         * csu/init-first.c: Fix then/than typos.
56492         * locale/programs/ld-collate.c: Likewise.
56493         * locale/programs/linereader.h: Likewise.
56494         * manual/charset.texi: Likewise.
56495         * manual/filesys.texi: Likewise.
56496         * manual/stdio.texi: Likewise.
56497         * manual/string.texi: Likewise.
56498         * stdlib/fmtmsg.c: Likewise.
56499         * sysdeps/i386/stpncpy.S: Likewise.
56500         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56501         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
56502         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56503         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
56505 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
56507         * elf/dl-open.c: Fix typos.
56508         * iconvdata/gbbig5.c: Likewise.
56509         * iconvdata/iso-2022-jp.c: Likewise.
56510         * iconv/gconv_int.h: Likewise.
56511         * iconv/loop.c: Likewise.
56512         * nis/rpcsvc/nis.h: Likewise.
56513         * resolv/ns_name.c: Likewise.
56514         * stdio-common/vfscanf.c: Likewise.
56515         * streams/stropts.h: Likewise.
56516         * sunrpc/rpc_thread.c: Likewise.
56517         * sysdeps/i386/strpbrk.S: Likewise.
56518         * sysdeps/ieee754/k_standard.c: Likewise.
56519         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56520         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56521         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
56522         * sysdeps/mach/hurd/profil.c: Likewise.
56523         * sysdeps/s390/dl-procinfo.h: Likewise.
56524         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
56525         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
56526         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
56527         * sysdeps/x86_64/dl-trampoline.S: Likewise.
56528         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56530 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
56532         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
56533         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
56535 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
56537         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
56538         aix specific files.
56539         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
56540         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
56541         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
56542         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
56543         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
56544         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
56545         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
56546         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
56548 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
56549             Roland McGrath  <roland@hack.frob.com>
56551         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
56552         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
56554 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56556         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
56557         __executable_start symbol instead of _start.
56559 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
56561         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
56562         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
56563         Move macros to...
56564         * sysdeps/gnu/ldsodefs.h: ... this new file.
56566         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
56567         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
56568         instead of ELFOSABI_LINUX.
56570         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
56571         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
56572         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
56573         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
56574         Likewise.
56575         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
56576         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
56577         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
56578         Likewise.
56579         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
56580         (ibm_extended_long_double): Add ieee_nan member.
56581         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
56582         (do_test): New function.
56584         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
56585         TEST_TRUNC.
56586         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
56587         functions, renamed from truncdfsf_test, trunctfsf_test,
56588         trunctfdf_test.
56589         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
56590         functions.
56591         (do_test): Run all these.
56593 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
56595         * argp/argp-help.c: Fix typos.
56596         * argp/argp-parse.c: Likewise.
56597         * debug/backtracesyms.c: Likewise.
56598         * elf/elf.h: Likewise.
56599         * malloc/malloc.c: Likewise.
56600         * nis/nis_print.c: Likewise.
56601         * resolv/res_comp.c: Likewise.
56602         * stdlib/stdlib.h: Likewise.
56603         * sunrpc/clnt_tcp.c: Likewise.
56604         * sunrpc/clnt_udp.c: Likewise.
56605         * sunrpc/clnt_unix.c: Likewise.
56606         * sysdeps/unix/bsd/ptsname.c: Likewise.
56607         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
56608         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
56609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
56610         Likewise.
56611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
56612         Likewise.
56613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
56614         Likewise.
56615         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
56617 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56619         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
56620         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56622 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
56624         [BZ #15897]
56625         * dlfcn/Makefile (tests): Add bug-dl-leaf.
56626         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
56627         ($(objpfx)bug-dl-leaf): New rule.
56628         ($(objpfx)bug-dl-leaf.so): Likewise.
56629         ($(objpfx)bug-dl-leaf.out): Likewise.
56630         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
56631         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
56632         * dlfcn/bug-dl-leaf.c: New test.
56633         * dlfcn/bug-dl-leaf-lib.c: Likewise.
56634         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
56635         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
56636         (dlclose): Likewise.
56637         (dlmopen): Likewise.
56639 2013-08-27  Roland McGrath  <roland@hack.frob.com>
56641         * include/netdb.h [!_ISOMAC]:
56642         Don't include <tls.h>.
56643         (h_errno, __libc_h_errno): Move declaration and macros out of
56644         [_LIBC_REENTRANT].
56646         * include/resolv.h [_RESOLV_H_]:
56647         Don't include <tls.h>.
56648         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
56649         * resolv/res_libc.c: Don't include <tls.h>.
56650         (_res): Use __attribute__ ((nocommon)) in place of
56651         __attribute__ ((section (".bss"))).
56653         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
56654         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
56656         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
56658         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
56659         only under [SIOCGIFCONF && SIOCGIFNETMASK].
56661         * resolv/res_mkquery.c: Include <sys/time.h>.
56663         * inet/ifreq.c: Moved to ...
56664         * sysdeps/unix/ifreq.c: ... here.
56665         * inet/ifreq.c: New file, true stub version.
56667         * socket/sa_len.c: New file.
56668         * socket/Makefile (aux): Add it.
56669         * sysdeps/unix/sysv/linux/Makefile
56670         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
56671         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
56672         and #include <socket/sa_len.c>.
56673         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
56674         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
56676         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
56677         * bits/socket.h: ... here.
56679         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
56680         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
56681         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
56683 2013-08-27  Andreas Schwab  <schwab@suse.de>
56685         [BZ #15736]
56686         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
56687         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
56688         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
56689         * string/test-strcasecmp.c (test_main): Run tests in several
56690         locales.
56691         * string/test-strncasecmp.c (test_main): Likewise.
56693         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
56694         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
56695         to __strcasecmp_nonascii and __strncasecmp_nonascii.
56696         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
56697         (__strncasecmp_ssse3) [PIC]: Likewise.
56699 2013-08-26  Roland McGrath  <roland@hack.frob.com>
56701         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
56703         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
56704         instead of explicitly declaring xdecrypt.
56705         * nis/nss_nis/nis-publickey.c: Likewise.
56707 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56709         [BZ #15890]
56710         * nscd/aicache.c: Include res_hconf.h.
56711         (addhstaiX): Initialize res_hconf.
56713 2013-08-26  Andreas Schwab  <schwab@suse.de>
56715         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
56716         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
56718 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56720         * nscd/aicache.c (addhstaiX): Fix indentation.
56722 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
56724         * configure.ac: Quote $build_pt_chown test.
56725         * configure: Regenerated.
56727 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
56729         [BZ #15532]
56730         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
56731         * math/s_cexpf.c (__cexpf): Likewise.
56732         * math/s_cexpl.c (__cexpl): Likewise.
56733         * math/libm-test.inc (cexp_test_data): Correct expected return
56734         value for NaN + i0.  Add another test.
56736 2013-08-22  David S. Miller  <davem@davemloft.net>
56738         * po/ca.po: Update Catalan translation from translation project.
56739         * po/uk.po: Add Ukrainian translations from translation project.
56741 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
56743         [BZ #15797]
56744         * math/s_fdim.c (__fdim): Check for infinite arguments if result
56745         is infinite, not alongside NaN test.
56746         * math/s_fdimf.c (__fdimf): Likewise.
56747         * math/s_fdiml.c (__fdiml): Likewise.
56748         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
56749         errno is unchanged.
56751 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
56753         * argp/argp-help.c: Fix typos.
56754         * crypt/speeds.c: Likewise.
56755         * csu/check_fds.c: Likewise.
56756         * elf/dl-load.c: Likewise.
56757         * elf/dl-open.c: Likewise.
56758         * elf/reldep3.c: Likewise.
56759         * elf/reldep.c: Likewise.
56760         * elf/sprof.c: Likewise.
56761         * iconv/iconv_charmap.c: Likewise.
56762         * iconv/skeleton.c: Likewise.
56763         * iconv/strtab.c: Likewise.
56764         * io/lockf64.c: Likewise.
56765         * libio/libioP.h: Likewise.
56766         * resolv/gai_notify.c: Likewise.
56767         * resolv/ns_name.c: Likewise.
56768         * resolv/ns_samedomain.c: Likewise.
56769         * resolv/res_send.c: Likewise.
56770         * stdlib/random.c: Likewise.
56771         * sunrpc/rpc/xdr.h: Likewise.
56772         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
56773         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56774         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56775         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56776         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56777         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56778         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56779         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56780         * sysdeps/mach/hurd/check_fds.c: Likewise.
56781         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
56782         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
56783         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56784         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
56785         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
56786         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
56787         * sysdeps/pthread/aio_notify.c: Likewise.
56788         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
56789         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
56790         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
56791         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
56792         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
56794 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56796         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
56797         version if bit_Slow_SSE4_2 is set.
56798         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56799         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56801 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56803         [BZ #15867]
56804         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
56805         trampoline stack frame information.
56806         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
56807         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
56808         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
56809         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
56810         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
56811         * sysdeps/unix/sysv/linux/powerpc/init-first.c
56812         (_libc_vdso_platform_setup): Initialize the signal trampolines.
56813         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
56814         sa_flags value.
56815         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
56816         interrupting a syscall and set with option SA_SIGINFO.
56818 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
56820         [BZ #15531]
56821         * math/s_cproj.c (__cproj): Only return an infinity if one part of
56822         argument is infinite.
56823         * math/s_cprojf.c (__cprojf): Likewise.
56824         * math/s_cprojl.c (__cprojl): Likewise.
56825         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
56826         * math/libm-test.inc (cproj_test_data): Add more tests.
56828         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
56830         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
56831         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
56832         size.  Use __ffs to determine corresponding shift.
56834 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
56835             Roland McGrath  <roland@hack.frob.com>
56837         * Makefile (INSTALL): Remove trailing blank lines from output of
56838         makeinfo.
56840 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56842         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
56843         Align 32 bit compat elf_greg to 8 bytes.
56845 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
56847         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
56849 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56851         * string/strcoll_l.c (coll_seq): New structure.
56852         (get_next_seq_cached): New function.
56853         (get_next_seq): New function.
56854         (do_compare): New function.
56855         (STRCOLL): Use GNU style definition.  Simplify implementation
56856         by using get_next_seq, get_next_seq_cached and do_compare.
56858 2013-08-16  Florian Weimer  <fweimer@redhat.com>
56860         [BZ #14699]
56861         CVE-2013-4237
56862         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
56863         member.
56864         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
56865         member.
56866         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
56867         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
56868         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
56869         conditional.
56870         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
56871         GETDENTS_64BIT_ALIGNED.
56872         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
56873         * manual/filesys.texi (Reading/Closing Directory): Document
56874         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
56875         strongly.
56876         * manual/conf.texi (Limits for Files): Add portability note to
56877         NAME_MAX, PATH_MAX.
56878         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
56880 2013-08-13  Andreas Schwab  <schwab@suse.de>
56882         [BZ #15749]
56883         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
56884         of fabs.
56885         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
56886         LDBL_MAX_EXP >= 16384]: Add tests for it.
56888 2013-08-12  David S. Miller  <davem@davemloft.net>
56890         * version.h (RELEASE): Set to "development".
56891         (VERSION): Set to "2.18.90".
56892         * NEWS: Add 2.19 section.
56894 2013-08-03  David S. Miller  <davem@davemloft.net>
56896         * po/ko.po: Update Korean translation from translation project.
56898 2013-08-01  David S. Miller  <davem@davemloft.net>
56900         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
56901         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
56902         Bilka.
56904 2013-07-30  David S. Miller  <davem@davemloft.net>
56906         * po/fr.po: Update French translation from translation project.
56908 2013-07-28  David S. Miller  <davem@davemloft.net>
56910         * po/cs.po: Update Czech translation from translation project.
56912         * po/sv.po: Update Swedish translation from translation project.
56914 2013-07-27  David S. Miller  <davem@davemloft.net>
56916         * po/eo.po: Update Esperanto translation from translation project.
56918         * po/vi.po: Update Vietnamese translation from translation project.
56920         * po/de.po: Update German translation from translation project.
56922 2013-07-26  David S. Miller  <davem@davemloft.net>
56924         * po/bg.po: Update Bulgarian translation from translation project.
56926         * po/nl.po: Update Dutch translation from translation project.
56927         * po/pl.po: Update Polish translation from translation project.
56928         * po/ru.po: Update Russian translation from translation project.
56930 2013-07-24  David S. Miller  <davem@davemloft.net>
56932         * po/libc.pot: Update.
56934 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56936         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
56937         variable page size.
56938         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
56939         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
56940         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
56942 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56944         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
56946 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56947             Andreas Schwab  <schwab@suse.de>
56948             Roland McGrath  <roland@hack.frob.com>
56949             Joseph Myers  <joseph@codesourcery.com>
56950             Carlos O'Donell  <carlos@redhat.com>
56952         [BZ #15755]
56953         * config.h.in: Define HAVE_PT_CHOWN.
56954         * config.make.in (build-pt-chown): New variable.
56955         * configure.in (--enable-pt_chown): New configure option.
56956         * configure: Regenerate.
56957         * login/Makefile: Include Makeconfig.  Build pt_chown only if
56958         build-pt-chown is enabled.
56959         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
56960         pt_chown to fix pty ownership.
56961         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
56962         CLOSE_ALL_FDS.
56963         * manual/install.texi (Configuring and compiling): Mention
56964         --enable-pt_chown. Add @findex for grantpt.
56965         * INSTALL: Regenerate.
56967 2013-07-20  David S. Miller  <davem@davemloft.net>
56969         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
56970         difference between 32-bit and 64-bit.
56972 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
56974         [BZ #15711]
56975         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
56976         Avoid system header dependency with -ffreestanding.
56977         ($(objpfx)bits/syscall%d): Likewise.
56979 2013-07-13  David S. Miller  <davem@davemloft.net>
56981         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
56982         underflows from atanl/atan2l due to bug 15319.
56983         (casinh_test_data): Likewise.
56985 2013-07-07  David S. Miller  <davem@davemloft.net>
56987         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
56989 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
56991         * sysdeps/i386/fpu/libm-test-ulps: Update.
56992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56994 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56996         * configure.in (--enable-lock-elision): Fix message text.
56997         * INSTALL: Regenerate.
56998         * configure: Regenerate.
57000 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57002         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57004 2013-07-03  Andreas Jaeger  <aj@suse.de>
57006         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
57007         define.
57008         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
57009         (ptrace_peeksiginfo_args): Add.
57010         (__ptrace_peeksiginfo_flags): Add.
57011         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57012         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57013         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57015 2013-07-03  Allan McRae  <allan@archlinux.org>
57017         * sysdeps/i386/fpu/libm-test-ulps: Update.
57019 2013-07-02  David S. Miller  <davem@davemloft.net>
57021         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57023 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
57025         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57027 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
57029         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
57030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57032 2013-07-02  Andi Kleen <ak@linux.intel.com>
57034         * config.h.in (ENABLE_LOCK_ELISION): Add.
57035         * configure.in (--enable-lock-elision): Add option.
57036         * manual/install.texi: Document --enable lock elision.
57037         * configure: Regenerate
57038         * INSTALL: Regenerate.
57040 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
57042         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
57043         SSE4.2 strcasecmp for libc.a.
57044         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
57046 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
57048         [BZ #13304]
57049         * soft-fp/op-common.h (_FP_FMA): New macro.
57050         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
57051         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
57052         (_FP_MUL_MEAT_1_imm): ... here.
57053         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
57054         (_FP_MUL_MEAT_1_wide): ... here.
57055         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
57056         (_FP_MUL_MEAT_1_hard): ... here.
57057         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
57058         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
57059         (_FP_MUL_MEAT_2_wide): ... here.
57060         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
57061         (_FP_MUL_MEAT_2_wide_3mul): ... here.
57062         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
57063         (_FP_MUL_MEAT_2_gmp): ... here.
57064         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
57065         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
57066         (_FP_MUL_MEAT_4_wide): ... here.
57067         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
57068         (_FP_MUL_MEAT_4_gmp): ... here.
57069         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
57070         (_FP_WFRACBITS_DW_S): Likewise.
57071         (_FP_WFRACXBITS_DW_S): Likewise.
57072         (_FP_HIGHBIT_DW_S): Likewise.
57073         (FP_FMA_S): Likewise.
57074         (_FP_FRAC_HIGH_DW_S): Likewise.
57075         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
57076         (_FP_WFRACBITS_DW_D): Likewise.
57077         (_FP_WFRACXBITS_DW_D): Likewise.
57078         (_FP_HIGHBIT_DW_D): Likewise.
57079         (FP_FMA_D): Likewise.
57080         (_FP_FRAC_HIGH_DW_D): Likewise.
57081         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
57082         (_FP_WFRACBITS_DW_E): Likewise.
57083         (_FP_WFRACXBITS_DW_E): Likewise.
57084         (_FP_HIGHBIT_DW_E): Likewise.
57085         (FP_FMA_E): Likewise.
57086         (_FP_FRAC_HIGH_DW_E): Likewise.
57087         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
57088         (_FP_WFRACBITS_DW_Q): Likewise.
57089         (_FP_WFRACXBITS_DW_Q): Likewise.
57090         (_FP_HIGHBIT_DW_Q): Likewise.
57091         (FP_FMA_Q): Likewise.
57092         (_FP_FRAC_HIGH_DW_Q): Likewise.
57093         * soft-fp/fmasf4.c: New file.
57094         * soft-fp/fmadf4.c: Likewise.
57095         * soft-fp/fmatf4.c: Likewise.
57097 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57099         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57100         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
57101         Silvermont.
57102         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
57103         macro.
57104         (index_Slow_SSE4_2): Likewise.
57105         (index_Prefer_PMINUB_for_stringop): Likewise.
57106         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
57107         bit_Slow_SSE4_2 is set.
57108         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57109         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57111 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57113         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
57114         rtld_global._dl_hwcap2.
57115         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
57116         POWER8.
57117         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
57118         POWER8 feature descriptions defined in _dl_hwcap2.
57119         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
57120         string handling for POWER8 feature bits.
57121         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
57122         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
57123         _dl_powerpc_cap_flags.
57124         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
57125         * sysdeps/powerpc/rtld-global-offsets.sym
57126         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
57127         _dl_hwcap2 in the rtld_global_ro structure.
57129 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57131         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
57132         hardware capabilities in support of AT_HWCAP2.
57133         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
57134         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
57135         GLRO(dl_hwcap2).
57136         (_dl_show_auxv): Add support for calling _dl_procinfo to display
57137         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
57138         explicitly the unknown a_type display mechanism is used.
57139         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
57140         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
57141         struct member.
57142         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
57143         to macro prototype for AT_HWCAP2 support.
57144         * sysdeps/i386/dl-procinfo.h: Likewise.
57145         * sysdeps/s390/dl-procinfo.h: Likewise.
57146         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
57147         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
57148         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
57149         return -1 for unknown a_type display fallback.
57150         * sysdeps/sparc/dl-procinfo.h: Likewise.
57151         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
57152         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
57154 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
57156         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
57157         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
57159 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
57161         [BZ #12492]
57162         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
57163         mprotect making __stack_prot writable.
57165 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
57166             Joseph Myers  <joseph@codesourcery.com>
57168         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
57169         as being properly aligned.
57171 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
57173         * dlfcn/modstatic5.c: New file.
57174         * dlfcn/tststatic5.c: New file.
57175         * dlfcn/Makefile (tests): Add tststatic5.
57176         (tests-static): Likewise.
57177         (modules-names): Add modstatic5.
57178         (tststatic5-ENV): New variable.
57179         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
57181         [BZ #15022]
57182         * elf/dl-support.c (_dl_main_map): New variable.
57183         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
57184         (_dl_nns, _dl_load_adds): Set to 1.
57185         (_dl_initial_searchlist): Refer to _dl_main_map.
57186         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
57187         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
57188         call to _dl_get_origin.
57189         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
57190         around call_map.
57191         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
57192         * dlfcn/modstatic3.c: New file.
57193         * dlfcn/tststatic3.c: New file.
57194         * dlfcn/tststatic4.c: New file.
57195         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
57196         (tests-static): Likewise.
57197         (modules-names): Add modstatic3.
57198         (tststatic3-ENV, tststatic4-ENV): New variables.
57199         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
57200         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
57202 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
57204         * configure.in (CC): Require GCC version 4.4 or later.
57205         * configure: Regenerated.
57206         * manual/install.texi (Tools for Compilation): Update GCC version
57207         requirement.
57208         * INSTALL: Regenerated.
57210 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57212         [BZ #15674]
57213         * string/test-memcmp.c (check2): New.
57214         (main): Call check2.
57216         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
57218 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
57220         [BZ #15022]
57221         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
57222         over to...
57223         (dl_open_worker) [!SHARED]: ... here.
57225 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57227         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
57229 2013-06-25  Richard Henderson  <rth@redhat.com>
57231         * locale/programs/locarchive.c: Include <libc-internal.h>
57233 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
57235         * manual/texinfo.tex: Update to version 2013-06-21.17, with
57236         trailing whitespace removed.
57238 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
57240         [BZ #10283]
57241         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
57242         * locale/programs/locarchive.c: Include libc-mmap.h.
57243         (prepare_address_space): Take two new outputs (the mmap base and len).
57244         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
57245         values.
57246         (create_archive): Declare new mmap base and len values for
57247         prepare_address_space, and store the result in ah.
57248         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
57249         (enlarge_archive): If ah->mmap_base is not NULL, use that and
57250         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
57251         Declare new mmap base and len values for
57252         prepare_address_space, and store the result in new_ah.
57253         (open_archive): Declare new mmap base and len values for
57254         prepare_address_space, and store the result in ah.
57255         (close_archive): If ah->mmap_base is not NULL, use that and
57256         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
57257         * sysdeps/generic/libc-mmap.h: New file.
57259 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
57261         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
57262         (ALIGN_UP): Likewise.
57263         (PTR_ALIGN_DOWN): Likewise.
57264         (PTR_ALIGN_UP): Likewise.
57266 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57268         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
57269         entry mapped to PPC_PLATFORM_POWER8.
57270         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
57271         POWER8.
57272         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
57273         (_dl_string_platform): Add case for exporting platform position for
57274         POWER8.
57275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
57276         search path to sysdeps/powerpc/powerpc32/power8 directory.
57277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
57278         search path to sysdeps/powerpc/powerpc64/power8 directory.
57279         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
57280         power7 directories.
57281         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
57282         power7 directories.
57284 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
57286         * INSTALL: Regenerate.
57288         * nscd/connections.c (nscd_init): Fix comment.
57290 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
57292         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
57294         [BZ #15667]
57295         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
57296         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
57298 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
57300         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
57301         DL_DST_REQ_STATIC.
57302         (DL_DST_REQ_STATIC): Remove macro.
57304 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
57306         [BZ #7006]
57307         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
57308         with a shift of 0 bits.
57310 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
57312         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
57313         $(tststatic-ENV).
57315 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57317         [BZ #15655]
57318         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
57320 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57322         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
57323         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
57324         accepts -fno-tree-loop-distribute-patterns.
57325         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
57326         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
57327         recursive call.
57328         * string/memset.c (memset): Likewise.
57329         * string/test-memmove.c (simple_memmove): Disable loop transformation
57330         to library calls.
57331         * string/test-memset.c (simple_memset): Likewise.
57332         * benchtests/bench-memmove.c (simple_memmove): Likewise.
57333         * benchtests/bench-memset.c (simple_memset): Likewise.
57334         * configure: Regenerated.
57336 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
57338         * math/test-misc.c (main): Ignore fesetround failure when failures
57339         of subsequent rounding tests would be ignored.
57341         [BZ #15654]
57342         * math/fedisblxcpt.c (fedisableexcept): Return 0.
57343         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
57344         * math/fegetenv.c (__fegetenv): Return 0.
57345         * math/fegetexcept.c (fegetexcept): Return 0.
57346         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
57347         FE_TONEAREST.
57348         * math/feholdexcpt.c (feholdexcept): Return 0.
57349         * math/fesetenv.c (__fesetenv): Return 0.
57350         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
57351         argument FE_TONEAREST.
57352         * math/feupdateenv.c (__feupdateenv): Return 0.
57353         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
57355 2013-06-18  Roland McGrath  <roland@hack.frob.com>
57357         * elf/rtld-Rules (rtld-compile-command.S): New variable.
57358         (rtld-compile-command.s, rtld-compile-command.c): New variables.
57359         ($(objpfx)rtld-%.os rules): Use them.
57361 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57363         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
57364         fields.
57366 2013-06-17  Roland McGrath  <roland@hack.frob.com>
57368         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
57369         length of target pattern, then descending length of dependency pattern.
57370         * configure.in (AWK): Require gawk 3.1.2 or newer.
57371         * manual/install.texi (Tools for Compilation): Say that we do.
57372         * configure: Regenerated.
57374         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
57375         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
57376         * scripts/sysd-rules.awk: ... this new script.
57377         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
57378         than a glob-style pattern.
57380 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
57382         * math/test-misc.c (main): Do not treat incorrectly rounded
57383         conversions as failure unless ROUNDING_TESTS passes.
57385 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
57387         [BZ #15631]
57388         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
57389         restore exception state around main square root computation, then
57390         check for inexactness explicitly.
57392         * math/libm-test.inc (fma_test_data): Add another test.
57394 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57396         * manual/threads.texi (Non-POSIX Extensions): New document
57397         node.  Document pthread_getattr_default_np and
57398         pthread_setattr_default_np.
57400         * Versions.def (libpthread): Add GLIBC_2.18.
57401         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
57402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
57403         Likewise.
57404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
57405         Likewise.
57406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57407         Likewise.
57408         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57409         Likewise.
57410         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
57411         Likewise.
57412         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
57413         Likewise.
57414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
57415         Likewise.
57416         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
57417         Likewise.
57418         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
57419         Likewise.
57421 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57423         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57424         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
57426 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
57427             H.J. Lu  <hjl.tools@gmail.com>
57429         [BZ #15627]
57430         * sysdeps/x86_64/rtld-memset.c: Remove file.
57431         * sysdeps/x86_64/rtld-memset.S: New file.
57433 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
57435         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
57436         (test_in_one_mode): Take arguments for whether the rounding mode
57437         is supported for each floating-point type.
57438         (do_test): Pass new arguments to test_in_one_mode using
57439         ROUNDING_TESTS.
57441 2013-06-13  Roland McGrath  <roland@hack.frob.com>
57443         * posix/tst-waitid.c (do_test): Distinguish different instances of
57444         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
57445         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
57446         before entering the kernel for waitpid.
57448 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57450         * NEWS: Fix note on clock function precision.  Text by Roland
57451         McGrath.
57453 2013-06-13  Roland McGrath  <roland@hack.frob.com>
57455         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
57456         it into place only when and if the sanity check passes.
57458 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
57460         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
57461         output for whether conversion result is exact.  Take argument
57462         indicating whether type is IBM long double.
57463         (round_for_all): Change need_exact field to ibm_ld.
57464         * stdlib/tst-strtod-round.c (struct exactness): New type.
57465         (struct test): Change bool ld_ok field to struct exactness exact.
57466         (TEST): Update all definitions for change to field.
57467         (tests): Regenerate array contents.
57468         (test_in_one_mode): Take pointer to new field instead of old ld_ok
57469         field value.  Check for IBM long double here.
57470         (do_test): Update calls to test_in_one_mode.
57472 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57474         [BZ #12515]
57475         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
57476         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
57478 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57480         [BZ #15605]
57481         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
57482         generated by the compiler on loop optimizations.
57483         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
57484         general definitions.
57486 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
57488         * math/bug-nextafter.c: Include <math-tests.h>.
57489         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57490         the relevant type.
57491         * math/bug-nexttoward.c: Include <math-tests.h>.
57492         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57493         the relevant type.
57494         * math/test-misc.c: Include <math-tests.h>.
57495         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57496         the relevant type.
57498 2013-06-12  Andreas Jaeger  <aj@suse.de>
57500         * po/ia.po: Update Interlingua translation from translation
57501         project.
57503 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
57505         * include/fenv.h: Include stdbool.h.
57506         (struct rm_ctx): New structure.
57507         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
57508         Define macro.
57509         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
57510         (SET_RESTORE_ROUNDF): Likewise.
57511         (SET_RESTORE_ROUNDL): Likewise.
57512         (SET_RESTORE_ROUND_NOEX): Likewise.
57513         (SET_RESTORE_ROUND_NOEXF): Likewise.
57514         (SET_RESTORE_ROUND_NOEXL): Likewise.
57515         (SET_RESTORE_ROUND_53BIT): Likewise.
57516         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
57517         (libc_feresetround_noexf_ctx): Likewise.
57518         (libc_feresetround_noexl_ctx): Likewise.
57519         (libc_feholdsetround_53bit_ctx): Likewise.
57520         (libc_feresetround_53bit_ctx): Likewise.
57521         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
57522         (libc_feholdexcept_setround_sse_ctx): New function.
57523         (libc_fesetenv_sse_ctx): Likewise.
57524         (libc_feupdateenv_sse_ctx): Likewise.
57525         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
57526         (libc_feholdexcept_setround_387_ctx): Likewise.
57527         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
57528         (libc_feholdsetround_387_prec_ctx): Likewise.
57529         (libc_feholdsetround_387_ctx): Likewise.
57530         (libc_feholdsetround_387_53bit_ctx): Likewise.
57531         (libc_feholdsetround_sse_ctx): Likewise.
57532         (libc_feresetround_sse_ctx): Likewise.
57533         (libc_feresetround_387_ctx): Likewise.
57534         (libc_feupdateenv_387_ctx): Likewise.
57535         (libc_feholdexcept_setroundf_ctx): Define macro.
57536         (libc_fesetenvf_ctx): Likewise.
57537         (libc_feupdateenvf_ctx): Likewise.
57538         (libc_feholdsetroundf_ctx): Likewise.
57539         (libc_feresetroundf_ctx): Likewise.
57540         (libc_feholdexcept_setround_ctx): Likewise.
57541         (libc_fesetenv_ctx): Likewise.
57542         (libc_feupdateenv_ctx): Likewise.
57543         (libc_feholdsetround_ctx): Likewise.
57544         (libc_feresetround_ctx): Likewise.
57545         (libc_feholdexcept_setroundl_ctx): Likewise.
57546         (libc_feupdateenvl_ctx): Likewise.
57547         (libc_feholdsetroundl_ctx): Likewise.
57548         (libc_feresetroundl_ctx): Likewise.
57549         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
57550         (libc_feresetround_53bit_ctx): Likewise.
57552 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57554         * locale/iso-639.def: Convert to UTF-8.
57556 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
57558         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
57559         (EXCEPTION_TESTS_double): Likewise.
57560         (EXCEPTION_TESTS_long_double): Likewise.
57561         (EXCEPTION_TESTS): Likewise.
57562         * math/libm-test.inc (test_exceptions): Only test exceptions if
57563         EXCEPTION_TESTS (FLOAT).
57565 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57567         * benchtests/Makefile (string-bench): Add strcpy_chk and
57568         stpcpy_chk.
57569         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
57570         * benchtests/bench-stpcpy_chk.c: New file.
57571         * benchtests/bench-strcpy_chk-ifunc.c: New file.
57572         * benchtests/bench-strcpy_chk.c: New file.
57573         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
57574         code.
57575         (do_test): Likewise.
57577 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57579         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
57580         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
57581         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
57582         with tabs where appropriate.
57583         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
57584         dl-procinfo.h.
57585         [PPC_PLATFORM_PPC440]: Likewise.
57586         [PPC_PLATFORM_PPC464]: Likewise.
57587         [PPC_PLATFORM_PPC476]: Likewise.
57588         (_dl_string_platform): Add support for detecting ppc405, ppc440,
57589         ppc464, and ppc476 platform strings merging from ports/
57590         dl-procinfo.h.
57592 2013-06-11  Andreas Schwab  <schwab@suse.de>
57594         [BZ #14991]
57595         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
57596         (from_ucs4_idx): Regenerate.
57597         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
57598         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
57599         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
57600         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
57601         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
57602         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
57603         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
57604         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
57605         from FROM_LOOP and TO_LOOP specific macros.
57606         (BODY): Handle combining characters.
57607         * iconvdata/BIG5HKSCS.irreversible: Update.
57608         * iconvdata/BIG5HKSCS.precomposed: New file.
57609         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
57610         characters.
57611         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
57613 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57615         * include/sys/time.h: Fix indentation and add copyright header.
57617         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
57618         (do_test): Likewise.
57619         * string/test-memchr.c (do_one_test): Likewise.
57620         (do_test): Likewise.
57621         * string/test-memcmp.c (do_one_test): Likewise.
57622         (do_test): Likewise.
57623         * string/test-memcpy.c (do_one_test): Likewise.
57624         (do_test): Likewise.
57625         * string/test-memmem.c (do_one_test): Likewise.
57626         (do_test): Likewise.
57627         (do_random_tests): Likewise.
57628         * string/test-memmove.c (do_one_test): Likewise.
57629         (do_test): Likewise.
57630         * string/test-memset.c (do_one_test): Likewise.
57631         (do_test): Likewise.
57632         * string/test-rawmemchr.c (do_one_test): Likewise.
57633         (do_test): Likewise.
57634         * string/test-strcasecmp.c (do_one_test): Likewise.
57635         (do_test): Likewise.
57636         * string/test-strcasestr.c (do_one_test): Likewise.
57637         (do_test): Likewise.
57638         * string/test-strcat.c (do_one_test): Likewise.
57639         (do_test): Likewise.
57640         * string/test-strchr.c (do_one_test): Likewise.
57641         (do_test): Likewise.
57642         * string/test-strcmp.c (do_one_test): Likewise.
57643         (do_test): Likewise.
57644         * string/test-strcpy.c (do_one_test): Likewise.
57645         (do_test): Likewise.
57646         * string/test-string.h: Likewise.
57647         (test_init): Likewise.
57648         * string/test-strlen.c (do_one_test): Likewise.
57649         (do_test): Likewise.
57650         * string/test-strncasecmp.c (do_one_test): Likewise.
57651         (do_test): Likewise.
57652         * string/test-strncat.c (do_one_test): Likewise.
57653         (do_test): Likewise.
57654         * string/test-strncmp.c (do_one_test): Likewise.
57655         (do_test_limit): Likewise.
57656         (do_test): Likewise.
57657         * string/test-strncpy.c (do_one_test): Likewise.
57658         (do_test): Likewise.
57659         * string/test-strnlen.c (do_one_test): Likewise.
57660         (do_test): Likewise.
57661         * string/test-strpbrk.c (do_one_test): Likewise.
57662         (do_test): Likewise.
57663         * string/test-strrchr.c (do_one_test): Likewise.
57664         (do_test): Likewise.
57665         * string/test-strspn.c (do_one_test): Likewise.
57666         (do_test): Likewise.
57667         * string/test-strstr.c (do_one_test): Likewise.
57668         (do_test): Likewise.
57670         * benchtests/Makefile (string-bench): Add string benchmarks.
57671         * benchtests/bench-bcopy-ifunc.c: New file.
57672         * benchtests/bench-bcopy.c: New file.
57673         * benchtests/bench-bzero-ifunc.c: New file.
57674         * benchtests/bench-bzero.c: New file.
57675         * benchtests/bench-memccpy-ifunc.c: New file.
57676         * benchtests/bench-memccpy.c: New file.
57677         * benchtests/bench-memchr-ifunc.c: New file.
57678         * benchtests/bench-memchr.c: New file.
57679         * benchtests/bench-memcmp-ifunc.c: New file.
57680         * benchtests/bench-memcmp.c: New file.
57681         * benchtests/bench-memmem-ifunc.c: New file.
57682         * benchtests/bench-memmem.c: New file.
57683         * benchtests/bench-memmove-ifunc.c: New file.
57684         * benchtests/bench-memmove.c: New file.
57685         * benchtests/bench-mempcpy-ifunc.c: New file.
57686         * benchtests/bench-mempcpy.c: New file.
57687         * benchtests/bench-memset-ifunc.c: New file.
57688         * benchtests/bench-memset.c: New file.
57689         * benchtests/bench-rawmemchr-ifunc.c: New file.
57690         * benchtests/bench-rawmemchr.c: New file.
57691         * benchtests/bench-stpcpy-ifunc.c: New file.
57692         * benchtests/bench-stpcpy.c: New file.
57693         * benchtests/bench-stpncpy-ifunc.c: New file.
57694         * benchtests/bench-stpncpy.c: New file.
57695         * benchtests/bench-strcasecmp-ifunc.c: New file.
57696         * benchtests/bench-strcasecmp.c: New file.
57697         * benchtests/bench-strcasestr-ifunc.c: New file.
57698         * benchtests/bench-strcasestr.c: New file.
57699         * benchtests/bench-strcat-ifunc.c: New file.
57700         * benchtests/bench-strcat.c: New file.
57701         * benchtests/bench-strchr-ifunc.c: New file.
57702         * benchtests/bench-strchr.c: New file.
57703         * benchtests/bench-strchrnul-ifunc.c: New file.
57704         * benchtests/bench-strchrnul.c: New file.
57705         * benchtests/bench-strcmp-ifunc.c: New file.
57706         * benchtests/bench-strcmp.c: New file.
57707         * benchtests/bench-strcpy-ifunc.c: New file.
57708         * benchtests/bench-strcpy.c: New file.
57709         * benchtests/bench-strcspn-ifunc.c: New file.
57710         * benchtests/bench-strcspn.c: New file.
57711         * benchtests/bench-strlen-ifunc.c: New file.
57712         * benchtests/bench-strlen.c: New file.
57713         * benchtests/bench-strncasecmp-ifunc.c: New file.
57714         * benchtests/bench-strncasecmp.c: New file.
57715         * benchtests/bench-strncat-ifunc.c: New file.
57716         * benchtests/bench-strncat.c: New file.
57717         * benchtests/bench-strncmp-ifunc.c: New file.
57718         * benchtests/bench-strncmp.c: New file.
57719         * benchtests/bench-strncpy-ifunc.c: New file.
57720         * benchtests/bench-strncpy.c: New file.
57721         * benchtests/bench-strnlen-ifunc.c: New file.
57722         * benchtests/bench-strnlen.c: New file.
57723         * benchtests/bench-strpbrk-ifunc.c: New file.
57724         * benchtests/bench-strpbrk.c: New file.
57725         * benchtests/bench-strrchr-ifunc.c: New file.
57726         * benchtests/bench-strrchr.c: New file.
57727         * benchtests/bench-strspn-ifunc.c: New file.
57728         * benchtests/bench-strspn.c: New file.
57729         * benchtests/bench-strstr-ifunc.c: New file.
57730         * benchtests/bench-strstr.c: New file.
57732         * benchtests/Makefile: Disable parallel execution of targets.
57733         (string-bench): Add memcpy.
57734         (benchset): New variable to store a list of benchmark sets.
57735         (bench-func): Renamed from bench.
57736         (bench-set): New target.
57737         (bench): Depend on bench-func and bench-set.
57738         * benchtests/README: Add section on benchmark sets.
57739         * benchtests/bench-memcpy-ifunc.c: New file.
57740         * benchtests/bench-memcpy.c: New file.
57741         * benchtests/bench-string.h: New file.
57743 2013-06-11  Andreas Schwab  <schwab@suse.de>
57745         [BZ #15577]
57746         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
57747         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
57748         values in the triple.
57749         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
57750         terminator in the group key.
57752 2013-06-11  Andreas Jaeger  <aj@suse.de>
57754         * po/zh_TW.po: Update Chinese (traditional) translation from
57755         translation project.
57757 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57759         * include/time.h (__clock_gettime): Add libc_hidden_proto.
57760         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
57761         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
57762         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57763         (clock_getcpuclockid): Likewise.
57764         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
57765         Add weak_alias and libc_hidden_def.
57766         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
57767         * rt/clock_gettime.c (clock_gettime): Rename to
57768         __clock_gettime.  Add weak_alias and libc_hidden_def.
57769         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
57770         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
57771         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
57772         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
57773         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
57774         Likewise.
57775         * rt/clock_settime.c (clock_settime): Rename to
57776         __clock_settime.  Add weak_alias and libc_hidden_def.
57777         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
57779 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
57781         * mach/err_boot.sub: Remove trailing whitespace.
57782         * mach/err_ipc.sub: Likewise.
57783         * mach/err_mach.sub: Likewise.
57785         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
57786         (ROUNDING_TESTS_double): Likewise.
57787         (ROUNDING_TESTS_long_double): Likewise.
57788         (ROUNDING_TESTS): Likewise.
57789         * math/libm-test.inc: Include <math-tests.h>.
57790         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
57791         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
57792         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
57793         (IF_ROUND_INIT_FE_UPWARD): Likewise.
57795 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57797         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
57798         of assigning.
57800 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
57802         * sysdeps/gnu/errlist.awk: Do not generate space at end of
57803         otherwise empty TRANS lines.
57804         * sysdeps/gnu/errlist.c: Regenerated.
57806         * catgets/gencat.c (error_print): Use (void) in function
57807         definition.
57808         * crypt/crypt_util.c (__init_des): Likewise.
57809         * crypt/speeds.c (Stop): Likewise.
57810         (main): Likewise.
57811         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
57812         * inet/ruserpass.c (token): Likewise.
57813         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
57814         * intl/localealias.c (extend_alias_table): Likewise.
57815         * intl/plural-exp.c (init_germanic_plural): Likewise.
57816         * libio/fcloseall.c (__fcloseall): Likewise.
57817         * libio/genops.c (_IO_flush_all): Likewise.
57818         (_IO_flush_all_linebuffered): Likewise.
57819         (_IO_cleanup): Likewise.
57820         (_IO_iter_begin): Likewise.
57821         (_IO_iter_end): Likewise.
57822         (_IO_list_lock): Likewise.
57823         (_IO_list_unlock): Likewise.
57824         (_IO_list_resetlock): Likewise.
57825         * libio/getchar.c (getchar): Likewise.
57826         * libio/getchar_u.c (getchar_unlocked): Likewise.
57827         * libio/getwchar.c (getwchar): Likewise.
57828         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
57829         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
57830         * login/getpt.c (__getpt): Likewise.
57831         * login/tst-utmp.c (main): Likewise.
57832         * malloc/hooks.c (__malloc_check_init): Likewise.
57833         * malloc/malloc.c (__malloc_stats): Likewise.
57834         * malloc/mtrace.c (tr_break): Likewise.
57835         (mtrace): Likewise.
57836         (muntrace): Likewise.
57837         * misc/fstab.c (endfsent): Likewise.
57838         * misc/getclktck.c (__getclktck): Likewise.
57839         * misc/getdtsz.c (__getdtablesize): Likewise.
57840         * misc/gethostid.c (gethostid): Likewise.
57841         * misc/getpagesize.c (__getpagesize): Likewise.
57842         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
57843         (__get_nprocs): Likewise.
57844         (__get_phys_pages): Likewise.
57845         (__get_avphys_pages): Likewise.
57846         * misc/getttyent.c (getttyent): Likewise.
57847         (setttyent): Likewise.
57848         (endttyent): Likewise.
57849         * misc/getusershell.c (getusershell): Likewise.
57850         (endusershell): Likewise.
57851         (setusershell): Likewise.
57852         (initshells): Likewise.
57853         * misc/hsearch.c (__hdestroy): Likewise.
57854         * misc/sync.c (sync): Likewise.
57855         * misc/syslog.c (closelog_internal): Likewise.
57856         (closelog): Likewise.
57857         * misc/ttyslot.c (ttyslot): Likewise.
57858         * misc/vhangup.c (vhangup): Likewise.
57859         * posix/fork.c (__fork): Likewise.
57860         * posix/getegid.c (__getegid): Likewise.
57861         * posix/geteuid.c (__geteuid): Likewise.
57862         * posix/getgid.c (__getgid): Likewise.
57863         * posix/getpid.c (__getpid): Likewise.
57864         * posix/getppid.c (__getppid): Likewise.
57865         * posix/getuid.c (__getuid): Likewise.
57866         * posix/pause.c (pause): Likewise.
57867         * posix/setpgrp.c (setpgrp): Likewise.
57868         * posix/setsid.c (__setsid): Likewise.
57869         * posix/test-vfork.c (noop): Likewise.
57870         * resolv/gethnamaddr.c (_endhtent): Likewise.
57871         (_gethtent): Likewise.
57872         (ht_endhostent): Likewise.
57873         (gethostent): Likewise.
57874         (dns_service): Likewise.
57875         * stdlib/drand48.c (drand48): Likewise.
57876         * stdlib/lrand48.c (lrand48): Likewise.
57877         * stdlib/mrand48.c (mrand48): Likewise.
57878         * stdlib/rand.c (rand): Likewise.
57879         * stdlib/random.c (__random): Likewise.
57880         * stdlib/setenv.c (clearenv): Likewise.
57881         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
57882         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
57883         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
57884         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
57885         (__get_nprocs): Likewise.
57886         (__get_phys_pages): Likewise.
57887         (__get_avphys_pages): Likewise.
57888         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
57889         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
57890         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
57891         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
57892         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
57893         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
57894         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
57895         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
57896         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
57897         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
57898         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
57899         * sysdeps/mach/hurd/sync.c (sync): Likewise.
57900         * sysdeps/posix/clock.c (clock): Likewise.
57901         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
57902         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
57903         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
57904         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
57905         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
57906         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
57907         (__get_nprocs_conf): Likewise.
57908         (__get_phys_pages): Likewise.
57909         (__get_avphys_pages): Likewise.
57910         * time/clock.c (clock): Likewise.
57911         * time/tzset.c (__tzname_max): Likewise.
57913 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
57915         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
57916         (__bswap_32): Do not use "register".
57917         * crypt/crypt.c (_ufc_doit_r): Likewise.
57918         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
57919         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
57920         * gmon/gmon.c (__monstartup): Likewise.
57921         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
57922         * hurd/hurdmalloc.c (more_memory): Likewise.
57923         (malloc): Likewise.
57924         (free): Likewise.
57925         (realloc): Likewise.
57926         (malloc_fork_prepare): Likewise.
57927         (malloc_fork_parent): Likewise.
57928         (malloc_fork_child): Likewise.
57929         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
57930         (_svcauth_des): Likewise.
57931         * inet/inet_lnaof.c (inet_lnaof): Likewise.
57932         * inet/inet_net.c (inet_network): Likewise.
57933         * inet/inet_netof.c (inet_netof): Likewise.
57934         * inet/rcmd.c (__validuser2_sa): Likewise.
57935         * io/fts.c (fts_open): Likewise.
57936         (fts_load): Likewise.
57937         (fts_close): Likewise.
57938         (fts_read): Likewise.
57939         (fts_children): Likewise.
57940         (fts_build): Likewise.
57941         (fts_stat): Likewise.
57942         (fts_sort): Likewise.
57943         (fts_alloc): Likewise.
57944         (fts_lfree): Likewise.
57945         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
57946         (_IO_file_xsgetn): Likewise.
57947         (_IO_file_xsgetn_mmap): Likewise.
57948         * libio/iofopncook.c (_IO_cookie_read): Likewise.
57949         (_IO_cookie_write): Likewise.
57950         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
57951         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
57952         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
57953         * malloc/obstack.c (_obstack_begin): Likewise.
57954         (_obstack_begin_1): Likewise.
57955         (_obstack_newchunk): Likewise.
57956         (_obstack_allocated_p): Likewise.
57957         (obstack_free): Likewise.
57958         (_obstack_memory_used): Likewise.
57959         * misc/getttyent.c (getttynam): Likewise.
57960         (getttyent): Likewise.
57961         (skip): Likewise.
57962         (value): Likewise.
57963         * misc/getusershell.c (initshells): Likewise.
57964         * misc/syslog.c (__vsyslog_chk): Likewise.
57965         * misc/ttyslot.c (ttyslot): Likewise.
57966         * nis/nis_hash.c (__nis_hash): Likewise.
57967         * posix/fnmatch_loop.c (FCT): Likewise.
57968         * posix/getconf.c (print_all): Likewise.
57969         (main): Likewise.
57970         * posix/getopt.c (exchange): Likewise.
57971         * posix/glob.c (globfree): Likewise.
57972         (prefix_array): Likewise.
57973         (__glob_pattern_type): Likewise.
57974         * resolv/arpa/nameser.h (NS_GET16): Likewise.
57975         (NS_GET32): Likewise.
57976         (NS_PUT16): Likewise.
57977         (NS_PUT32): Likewise.
57978         * resolv/gethnamaddr.c (getanswer): Likewise.
57979         (gethostbyname2): Likewise.
57980         (gethostbyaddr): Likewise.
57981         (_gethtent): Likewise.
57982         (_gethtbyname2): Likewise.
57983         (_gethtbyaddr): Likewise.
57984         * resolv/ns_print.c (dst_s_get_int16): Likewise.
57985         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
57986         * resolv/res_init.c (__res_vinit): Likewise.
57987         (net_mask): Likewise.
57988         * resolv/res_mkquery.c (outchar): Likewise.
57989         (PRINT): Likewise.
57990         * stdio-common/printf_fp.c (outchar): Likewise.
57991         (PRINT): Likewise.
57992         * stdio-common/printf_fphex.c (outchar): Likewise.
57993         (PRINT): Likewise.
57994         * stdio-common/printf_size.c (outchar): Likewise.
57995         (PRINT): Likewise.
57996         * stdio-common/test_rdwr.c (main): Likewise.
57997         * stdio-common/tfformat.c (matches): Likewise.
57998         * stdio-common/vfprintf.c (outchar): Likewise.
57999         (printf_unknown): Likewise.
58000         (buffered_vfprintf): Likewise.
58001         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
58002         * stdio-common/xbug.c (AppendToBuffer): Likewise.
58003         (ReadFile): Likewise.
58004         * stdlib/qsort.c (SWAP): Likewise.
58005         (_quicksort): Likewise.
58006         * stdlib/setenv.c (__add_to_environ): Likewise.
58007         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
58008         * stdlib/strtol_l.c (__strtol_l): Likewise.
58009         * stdlib/tst-strtod.c (main): Likewise.
58010         * stdlib/tst-strtol.c (main): Likewise.
58011         * stdlib/tst-strtoll.c (main): Likewise.
58012         * string/bits/string2.h (__strcmp_cc): Likewise.
58013         (__strcmp_cg): Likewise.
58014         (__strcspn_c1): Likewise.
58015         (__strcspn_c2): Likewise.
58016         (__strcspn_c3): Likewise.
58017         (__strspn_c1): Likewise.
58018         (__strspn_c2): Likewise.
58019         (__strspn_c3): Likewise.
58020         (__strsep_1c): Likewise.
58021         (__strsep_2c): Likewise.
58022         (__strsep_3c): Likewise.
58023         * string/memccpy.c (__memccpy): Likewise.
58024         * string/stpcpy.c (__stpcpy): Likewise.
58025         * string/strcmp.c (strcmp): Likewise.
58026         * string/strrchr.c (strrchr): Likewise.
58027         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
58028         Likewise.
58029         * sysdeps/mach/hurd/getcwd.c
58030         (_hurd_canonicalize_directory_name_internal): Likewise.
58031         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
58032         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
58033         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
58034         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
58035         Likewise, in both definitions.
58036         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
58037         definitions.
58038         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
58039         64] (__bswap_64): Likewise.
58040         * time/test_time.c (main): Likewise.
58041         * time/tzfile.c (__tzfile_read): Likewise.
58042         (__tzfile_compute): Likewise.
58043         * time/tzset.c (__tzset_parse_tz): Likewise.
58044         (tzset_internal): Likewise.
58045         (compute_change): Likewise.
58046         * wcsmbs/wcscat.c (__wcscat): Likewise.
58047         * wcsmbs/wcschr.c (wcschr): Likewise.
58048         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
58049         * wcsmbs/wcscspn.c (wcscspn): Likewise.
58050         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
58051         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
58052         * wcsmbs/wcsspn.c (wcsspn): Likewise.
58053         * wcsmbs/wcsstr.c (wcsstr): Likewise.
58054         * wcsmbs/wmemchr.c (wmemchr): Likewise.
58055         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58056         * wcsmbs/wmemset.c (wmemset): Likewise.
58058 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
58060         * scripts/config.guess: Update to version 2013-05-16.
58061         * scripts/config.sub: Update to version 2013-04-24.
58062         * scripts/install-sh: Update to version 2011-11-20.07.
58063         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
58064         * scripts/move-if-change: Update to version 2012-01-06 07:23.
58066 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
58068         * debug/fgetws_u_chk.c: Fix leading whitespaces.
58069         * elf/sln.c: Likewise.
58070         * hurd/hurd/ioctl.h: Likewise.
58071         * hurd/hurdmalloc.c: Likewise.
58072         * hurd/xattr.c: Likewise.
58073         * include/shlib-compat.h: Likewise.
58074         * inet/ruserpass.c: Likewise.
58075         * libio/iofgets_u.c: Likewise.
58076         * libio/iofgetws_u.c: Likewise.
58077         * locale/programs/ld-identification.c: Likewise.
58078         * locale/programs/ld-time.c: Likewise.
58079         * mach/msg-destroy.c: Likewise.
58080         * nss/nss_files/files-netgrp.c: Likewise.
58081         * resolv/res_data.c: Likewise.
58082         * soft-fp/op-1.h: Likewise.
58083         * soft-fp/op-2.h: Likewise.
58084         * soft-fp/op-4.h: Likewise.
58085         * soft-fp/op-common.h: Likewise.
58086         * stdio-common/printf_fphex.c: Likewise.
58087         * stdlib/strtod_l.c: Likewise.
58088         * sunrpc/rpc/clnt.h: Likewise.
58089         * sysdeps/generic/framestate.c: Likewise.
58090         * sysdeps/i386/bsd-_setjmp.S: Likewise.
58091         * sysdeps/i386/bsd-setjmp.S: Likewise.
58092         * sysdeps/i386/__longjmp.S: Likewise.
58093         * sysdeps/i386/setjmp.S: Likewise.
58094         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58095         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
58096         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58097         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58098         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58099         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
58100         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
58101         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
58102         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
58103         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
58104         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
58105         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
58106         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
58107         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
58108         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
58109         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
58110         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
58111         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
58112         * sysdeps/ieee754/support.c: Likewise.
58113         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
58114         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
58115         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
58116         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
58117         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
58118         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
58119         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
58120         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
58121         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
58122         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
58123         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
58124         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
58125         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
58126         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
58127         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
58128         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
58129         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
58130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
58132 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
58134         * posix/transbug.c: Remove executable mode.
58136 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
58138         * crypt/speeds.c: Remove trailing whitespace.
58139         * dlfcn/default.c: Likewise.
58140         * elf/ifuncdep2.c: Likewise.
58141         * elf/ifuncmain1.c: Likewise.
58142         * elf/ifuncmain1vis.c: Likewise.
58143         * elf/testobj.h: Likewise.
58144         * elf/tst-stackguard1.c: Likewise.
58145         * gmon/sys/gmon.h: Likewise.
58146         * hurd/hurdmsg.c: Likewise.
58147         * hurd/new-fd.c: Likewise.
58148         * hurd/ports-get.c: Likewise.
58149         * iconvdata/ibm1008_420.c: Likewise.
58150         * inet/tst-getni1.c: Likewise.
58151         * inet/tst-getni2.c: Likewise.
58152         * libio/ioungetc.c: Likewise.
58153         * libio/wfiledoalloc.c: Likewise.
58154         * manual/libm-err-tab.pl: Likewise.
58155         * math/w_dremf.c: Likewise.
58156         * misc/ftruncate.c: Likewise.
58157         * posix/bug-glob2.c: Likewise.
58158         * posix/tst-pcre.c: Likewise.
58159         * posix/wait4.c: Likewise.
58160         * resolv/README: Likewise.
58161         * resolv/res_debug.h: Likewise.
58162         * resolv/tst-inet_ntop.c: Likewise.
58163         * setjmp/bug269-setjmp.c: Likewise.
58164         * soft-fp/extended.h: Likewise.
58165         * soft-fp/op-1.h: Likewise.
58166         * soft-fp/op-2.h: Likewise.
58167         * soft-fp/op-4.h: Likewise.
58168         * soft-fp/op-8.h: Likewise.
58169         * soft-fp/testit.c: Likewise.
58170         * stdio-common/bug16.c: Likewise.
58171         * stdlib/random.c: Likewise.
58172         * sunrpc/rpcsvc/rquota.x: Likewise.
58173         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
58174         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
58175         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58176         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
58177         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
58178         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
58179         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
58180         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
58181         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
58182         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
58183         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
58184         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
58185         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
58186         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
58187         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
58188         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
58189         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
58190         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
58191         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
58192         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
58193         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
58194         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
58195         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
58196         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
58197         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
58198         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
58199         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
58200         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
58201         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
58202         * sysdeps/ieee754/s_lib_version.c: Likewise.
58203         * sysdeps/mach/hurd/check_fds.c: Likewise.
58204         * sysdeps/mach/hurd/getsockname.c: Likewise.
58205         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
58206         * sysdeps/mach/hurd/recvfrom.c: Likewise.
58207         * sysdeps/powerpc/bits/link.h: Likewise.
58208         * sysdeps/powerpc/dl-procinfo.c: Likewise.
58209         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
58210         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
58211         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
58212         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
58213         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
58214         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
58215         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
58216         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
58217         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
58218         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
58219         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
58220         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
58221         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
58222         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
58223         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
58224         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
58225         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
58226         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
58227         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58228         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58229         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
58230         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58231         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
58232         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
58233         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
58234         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
58235         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58236         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58237         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
58238         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
58239         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
58240         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58241         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58242         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
58243         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
58244         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
58245         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
58246         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
58247         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
58248         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
58249         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
58250         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
58251         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
58252         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
58253         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
58254         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
58255         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
58256         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
58257         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
58258         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58259         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
58260         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
58261         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
58262         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
58263         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
58264         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
58265         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58266         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
58267         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
58268         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
58269         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
58270         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
58271         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
58272         * sysdeps/powerpc/sysdep.h: Likewise.
58273         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58274         * sysdeps/s390/s390-64/sub_n.S: Likewise.
58275         * sysdeps/sh/dl-trampoline.S: Likewise.
58276         * sysdeps/sh/memset.S: Likewise.
58277         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
58278         * sysdeps/sh/strlen.S: Likewise.
58279         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
58280         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
58281         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
58282         * sysdeps/sparc/sparc32/rem.S: Likewise.
58283         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
58284         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
58285         * sysdeps/sparc/sparc32/strchr.S: Likewise.
58286         * sysdeps/sparc/sparc32/udiv.S: Likewise.
58287         * sysdeps/sparc/sparc32/urem.S: Likewise.
58288         * sysdeps/sparc/sparc64/add_n.S: Likewise.
58289         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
58290         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
58291         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
58292         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
58293         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
58294         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
58295         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
58296         * sysdeps/unix/bsd/times.c: Likewise.
58297         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
58298         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
58299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
58300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
58301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
58302         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
58303         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
58304         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
58305         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
58306         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
58307         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
58308         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
58309         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
58310         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
58311         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
58312         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
58313         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
58314         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
58315         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
58316         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
58317         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
58318         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
58319         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
58320         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
58321         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
58322         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
58323         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
58324         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
58325         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
58326         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
58327         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
58328         * sysdeps/x86_64/strcspn.S: Likewise.
58330 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58332         * locale/C-translit.h: Revert #include <stdint.h> because this is a
58333         generated file.  Regenerate properly from gen-translit.pl.
58334         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
58335         locale/C-translit.h.
58337 2013-06-05  Andreas Schwab  <schwab@suse.de>
58339         [BZ #15100]
58340         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
58341         week as 6 instead of -1.
58342         * time/tst-strptime.c (day_tests): Add test case.
58344 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58346         * sysdeps/generic/math_private.h
58347         (libc_feholdexcept_setround_53bit): Replace with
58348         libc_feholdsetround_53bit.
58349         (libc_feupdateenv_53bit): Replace with
58350         libc_feresetround_53bit.
58351         (SET_RESTORE_ROUND_53BIT): Adjust.
58353 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
58355         * string/test-strchrnul.c: Add copyright header.
58357         * posix/tst-getaddrinfo4.c: Increase test timeout.
58359 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
58361         [BZ #15536]
58362         * math/libm-test.inc (MAX_EXP): Remove
58363         (MIN_EXP): Define.
58364         (ulp): Use MIN_EXP - MANT_DIG.
58365         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
58367 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
58369         * po/be.po: Revert last change.
58370         * po/zh_CN.po: Likewise.
58371         * po/header.pot: Likewise.
58373 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
58375         * Makefile ($(common-objpfx)linkobj/libc.so): Define
58376         link-libc-deps to empty as target-specific variable.
58377         * Makerules (link-libc-args): New variable.
58378         (libc-for-link): Likewise.
58379         (link-libc-deps): Likewise.
58380         (lib%.so): Depend on $(link-libc-deps).  Link with
58381         $(link-libc-args).
58382         (build-module): Link with $(link-libc-args).
58383         (build-module-asneeded): Likewise.
58384         (build-module-helper-objlist): Filter out $(link-libc-deps) from
58385         list of objects.
58386         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
58387         target-specific variable.
58388         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
58389         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
58390         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
58391         libc.
58392         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
58393         libc and ld.so.
58394         ($(objpfx)libpcprofile.so): Likewise.
58395         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
58396         libc_nonshared.a.
58397         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
58398         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
58399         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
58400         $(link-libc-deps).
58401         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
58402         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
58403         * login/Makefile ($(objpfx)libutil.so): Likewise.
58404         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
58405         * math/Makefile ($(objpfx)libm.so): Likewise.
58406         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
58407         $(objpfx)libnsl.so): Define libc-for-link as target-specific
58408         variable instead of depending directly on libc.
58409         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
58410         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
58411         $(link-libc-deps).
58412         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
58413         libc.
58414         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
58415         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
58416         ($(objpfx)libanl.so): Likewise.
58417         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
58418         ld.so.
58419         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
58420         $(link-libc-deps).
58421         * sysdeps/i386/fpu/Makefile: Remove file.
58422         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
58423         ($(objpfx)libm.so): Remove dependency on ld.so.
58425 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
58427         [BZ # 15553]
58428         * nis/yp_xdr.c (XDRMAXNAME): Define.
58429         (XDRMAXRECORD): Define.
58430         (xdr_domainname): Use XDRMAXNAME.
58431         (xdr_mapname): Likewise.
58432         (xdr_peername): Likewise.
58433         (xdr_keydat): Use XDRMAXRECORD.
58434         (xdr_valdat): Likewise.
58436 2013-05-30  Jeff Law  <law@redhat.com>
58438         [BZ #14256]
58439         * manual/errno.texi (ESTALE): Update to account for more than
58440         just NFS file systems.
58441         * sysdeps/gnu/errlist.c: Regenerated.
58443 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58445         [BZ #15465]
58446         * elf/Makefile (tests): Add tst-null-argv.
58447         (modules-names):  Add tst-null-argv-lib.
58448         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
58449         (tst-null-argv-ENV): Set environment for tst-null-argv.
58450         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
58451         (RTLD_PROGNAME): New macro.
58452         * elf/tst-null-argv.c: New test case.
58453         * elf/tst-null-argv-lib.c: Library for test case.
58454         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
58455         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
58456         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
58457         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
58458         * elf/dl-init.c (call_init): Likewise.
58459         (_dl_init): Likewise.
58460         * elf/dl-load.c (print_search_path): Likewise.
58461         (_dl_map_object): Likewise.
58462         * elf/dl-lookup.c (do_lookup_x): Likewise.
58463         (add_dependency): Likewise.
58464         (_dl_lookup_symbol_x): Likewise.
58465         (_dl_debug_bindings): Likewise.
58466         * elf/dl-open.c (_dl_show_scope): Likewise.
58467         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
58468         * elf/dl-version.c (match_symbol): Likewise.
58469         (_dl_check_map_versions): Likewise.
58470         * elf/rtld.c (dl_main): Likewise.
58471         (print_unresolved): Use RTLD_PROGNAME.
58472         (print_missing_version): Likewise.
58473         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
58474         (elf_machine_rela): Likewise.
58475         * sysdeps/powerpc/powerpc32/dl-machine.c
58476         (__process_machine_rela): Likewise.
58477         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58478         Likewise.
58479         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
58480         Likewise.
58481         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
58482         Likewise.
58483         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58484         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
58485         Likewise.
58486         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
58487         Likewise.
58488         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58490 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
58492         * po/be.po: Add descriptive title.
58493         * po/zh_CN.po: Likewise.
58494         * po/header.pot: Likewise.
58496 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
58498         * locale/programs/locarchive.c (create_archive): Inlucde fname in
58499         error message.
58500         (enlarge_archive): Likewise.
58502 2013-05-28  Ben North  <ben@redfrontdoor.org>
58504         * manual/arith.texi (frexp): It is the magnitude of the return
58505         value which lies in [0.5, 1), not the return value itself.
58507 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58509         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58511 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
58513         * stdio-common/bug26.c (main): Correct fscanf template.
58515         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
58516         declare _dl_skip_args.
58518         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
58519         Don't declare.
58521         * manual/platform.texi: Add missing @end deftypefun.
58523 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
58525         [BZ #15529]
58526         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
58527         bit of mantissa of 2^16382.
58528         * math/libm-test.inc (hypot_test_data): Add more tests.
58530         * math/libm-test.inc: Add drem and pow10 to list of tested
58531         functions.
58532         (pow10_test): New function.
58533         (drem_test): Likewise.
58534         (drem_test_tonearest): Likewise.
58535         (drem_test_towardzero): Likewise.
58536         (drem_test_downward): Likewise.
58537         (drem_test_upward): Likewise.
58538         (main): Call the new functions.
58540         * math/libm-test.inc (finite_test_data): Remove.
58541         (finite_test): Run tests from isfinite_test_data.
58542         (gamma_test_data): Remove.
58543         (gamma_test): Run tests from lgamma_test_data.
58544         * sysdeps/i386/fpu/libm-test-ulps: Update.
58545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58547 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58549         * manual/platform.texi: Add PowerPC PPR function set documentation.
58550         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
58551         implementation.
58553 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
58555         * math/libm-test.inc (MAX_EXP): Define.
58556         (ULPDIFF): Define.
58557         (ulp): New function.
58558         (check_float_internal): Use ULPDIFF.
58559         (cpow_test): Disable failing test.
58560         (check_ulp): Test ulp() implementation.
58561         (main): Call check_ulp before starting tests.
58563 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
58565         * math/gen-libm-test.pl (generate_testfile): Do not handle
58566         START_DATA and END_DATA.
58567         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
58568         END_DATA.
58569         (acos_tonearest_test_data): Likewise.
58570         (acos_towardzero_test_data): Likewise.
58571         (acos_downward_test_data): Likewise.
58572         (acos_upward_test_data): Likewise.
58573         (acosh_test_data): Likewise.
58574         (asin_test_data): Likewise.
58575         (asin_tonearest_test_data): Likewise.
58576         (asin_towardzero_test_data): Likewise.
58577         (asin_downward_test_data): Likewise.
58578         (asin_upward_test_data): Likewise.
58579         (asinh_test_data): Likewise.
58580         (atan_test_data): Likewise.
58581         (atanh_test_data): Likewise.
58582         (atan2_test_data): Likewise.
58583         (cabs_test_data): Likewise.
58584         (cacos_test_data): Likewise.
58585         (cacosh_test_data): Likewise.
58586         (carg_test_data): Likewise.
58587         (casin_test_data): Likewise.
58588         (casinh_test_data): Likewise.
58589         (catan_test_data): Likewise.
58590         (catanh_test_data): Likewise.
58591         (cbrt_test_data): Likewise.
58592         (ccos_test_data): Likewise.
58593         (ccosh_test_data): Likewise.
58594         (ceil_test_data): Likewise.
58595         (cexp_test_data): Likewise.
58596         (cimag_test_data): Likewise.
58597         (clog_test_data): Likewise.
58598         (clog10_test_data): Likewise.
58599         (conj_test_data): Likewise.
58600         (copysign_test_data): Likewise.
58601         (cos_test_data): Likewise.
58602         (cos_tonearest_test_data): Likewise.
58603         (cos_towardzero_test_data): Likewise.
58604         (cos_downward_test_data): Likewise.
58605         (cos_upward_test_data): Likewise.
58606         (cosh_test_data): Likewise.
58607         (cosh_tonearest_test_data): Likewise.
58608         (cosh_towardzero_test_data): Likewise.
58609         (cosh_downward_test_data): Likewise.
58610         (cosh_upward_test_data): Likewise.
58611         (cpow_test_data): Likewise.
58612         (cproj_test_data): Likewise.
58613         (creal_test_data): Likewise.
58614         (csin_test_data): Likewise.
58615         (csinh_test_data): Likewise.
58616         (csqrt_test_data): Likewise.
58617         (ctan_test_data): Likewise.
58618         (ctan_tonearest_test_data): Likewise.
58619         (ctan_towardzero_test_data): Likewise.
58620         (ctan_downward_test_data): Likewise.
58621         (ctan_upward_test_data): Likewise.
58622         (ctanh_test_data): Likewise.
58623         (ctanh_tonearest_test_data): Likewise.
58624         (ctanh_towardzero_test_data): Likewise.
58625         (ctanh_downward_test_data): Likewise.
58626         (ctanh_upward_test_data): Likewise.
58627         (erf_test_data): Likewise.
58628         (erfc_test_data): Likewise.
58629         (exp_test_data): Likewise.
58630         (exp_tonearest_test_data): Likewise.
58631         (exp_towardzero_test_data): Likewise.
58632         (exp_downward_test_data): Likewise.
58633         (exp_upward_test_data): Likewise.
58634         (exp10_test_data): Likewise.
58635         (exp2_test_data): Likewise.
58636         (expm1_test_data): Likewise.
58637         (fabs_test_data): Likewise.
58638         (fdim_test_data): Likewise.
58639         (finite_test_data): Likewise.
58640         (floor_test_data): Likewise.
58641         (fma_test_data): Likewise.
58642         (fma_towardzero_test_data): Likewise.
58643         (fma_downward_test_data): Likewise.
58644         (fma_upward_test_data): Likewise.
58645         (fmax_test_data): Likewise.
58646         (fmin_test_data): Likewise.
58647         (fmod_test_data): Likewise.
58648         (fpclassify_test_data): Likewise.
58649         (frexp_test_data): Likewise.
58650         (gamma_test_data): Likewise.
58651         (hypot_test_data): Likewise.
58652         (ilogb_test_data): Likewise.
58653         (isfinite_test_data): Likewise.
58654         (isgreater_test_data): Likewise.
58655         (isgreaterequal_test_data): Likewise.
58656         (isinf_test_data): Likewise.
58657         (isless_test_data): Likewise.
58658         (islessequal_test_data): Likewise.
58659         (islessgreater_test_data): Likewise.
58660         (isnan_test_data): Likewise.
58661         (isnormal_test_data): Likewise.
58662         (issignaling_test_data): Likewise.
58663         (isunordered_test_data): Likewise.
58664         (j0_test_data): Likewise.
58665         (j1_test_data): Likewise.
58666         (jn_test_data): Likewise.
58667         (ldexp_test_data): Likewise.
58668         (lgamma_test_data): Likewise.
58669         (lrint_test_data): Likewise.
58670         (lrint_tonearest_test_data): Likewise.
58671         (lrint_towardzero_test_data): Likewise.
58672         (lrint_downward_test_data): Likewise.
58673         (lrint_upward_test_data): Likewise.
58674         (llrint_test_data): Likewise.
58675         (llrint_tonearest_test_data): Likewise.
58676         (llrint_towardzero_test_data): Likewise.
58677         (llrint_downward_test_data): Likewise.
58678         (llrint_upward_test_data): Likewise.
58679         (log_test_data): Likewise.
58680         (log10_test_data): Likewise.
58681         (log1p_test_data): Likewise.
58682         (log2_test_data): Likewise.
58683         (logb_test_data): Likewise.
58684         (logb_downward_test_data): Likewise.
58685         (lround_test_data): Likewise.
58686         (llround_test_data): Likewise.
58687         (modf_test_data): Likewise.
58688         (nearbyint_test_data): Likewise.
58689         (nextafter_test_data): Likewise.
58690         (nexttoward_test_data): Likewise.
58691         (pow_test_data): Likewise.
58692         (pow_tonearest_test_data): Likewise.
58693         (pow_towardzero_test_data): Likewise.
58694         (pow_downward_test_data): Likewise.
58695         (pow_upward_test_data): Likewise.
58696         (remainder_test_data): Likewise.
58697         (remainder_tonearest_test_data): Likewise.
58698         (remainder_towardzero_test_data): Likewise.
58699         (remainder_downward_test_data): Likewise.
58700         (remainder_upward_test_data): Likewise.
58701         (remquo_test_data): Likewise.
58702         (rint_test_data): Likewise.
58703         (rint_tonearest_test_data): Likewise.
58704         (rint_towardzero_test_data): Likewise.
58705         (rint_downward_test_data): Likewise.
58706         (rint_upward_test_data): Likewise.
58707         (round_test_data): Likewise.
58708         (scalb_test_data): Likewise.
58709         (scalbn_test_data): Likewise.
58710         (scalbln_test_data): Likewise.
58711         (signbit_test_data): Likewise.
58712         (sin_test_data): Likewise.
58713         (sin_tonearest_test_data): Likewise.
58714         (sin_towardzero_test_data): Likewise.
58715         (sin_downward_test_data): Likewise.
58716         (sin_upward_test_data): Likewise.
58717         (sincos_test_data): Likewise.
58718         (sinh_test_data): Likewise.
58719         (sinh_tonearest_test_data): Likewise.
58720         (sinh_towardzero_test_data): Likewise.
58721         (sinh_downward_test_data): Likewise.
58722         (sinh_upward_test_data): Likewise.
58723         (sqrt_test_data): Likewise.
58724         (tan_test_data): Likewise.
58725         (tan_tonearest_test_data): Likewise.
58726         (tan_towardzero_test_data): Likewise.
58727         (tan_downward_test_data): Likewise.
58728         (tan_upward_test_data): Likewise.
58729         (tanh_test_data): Likewise.
58730         (tgamma_test_data): Likewise.
58731         (trunc_test_data): Likewise.
58732         (y0_test_data): Likewise.
58733         (y1_test_data): Likewise.
58734         (yn_test_data): Likewise.
58735         (significand_test_data): Likewise.
58737         * math/gen-libm-test.pl (@functions): Remove variable.
58738         (generate_testfile): Don't handle START and END lines.
58739         * math/libm-test.inc (START): New macro.
58740         (END): Likewise.
58741         (END_COMPLEX): Likewise.
58742         (acos_test): Use END macro without arguments.
58743         (acos_test_tonearest): Likewise.
58744         (acos_test_towardzero): Likewise.
58745         (acos_test_downward): Likewise.
58746         (acos_test_upward): Likewise.
58747         (acosh_test): Likewise.
58748         (asin_test): Likewise.
58749         (asin_test_tonearest): Likewise.
58750         (asin_test_towardzero): Likewise.
58751         (asin_test_downward): Likewise.
58752         (asin_test_upward): Likewise.
58753         (asinh_test): Likewise.
58754         (atan_test): Likewise.
58755         (atanh_test): Likewise.
58756         (atan2_test): Likewise.
58757         (cabs_test): Likewise.
58758         (cacos_test): Use END_COMPLEX macro without arguments.
58759         (cacosh_test): Likewise.
58760         (carg_test): Use END macro without arguments.
58761         (casin_test): Use END_COMPLEX macro without arguments.
58762         (casinh_test): Likewise.
58763         (catan_test): Likewise.
58764         (catanh_test): Likewise.
58765         (cbrt_test): Use END macro without arguments.
58766         (ccos_test): Use END_COMPLEX macro without arguments.
58767         (ccosh_test): Likewise.
58768         (ceil_test): Use END macro without arguments.
58769         (cexp_test): Use END_COMPLEX macro without arguments.
58770         (cimag_test): Use END macro without arguments.
58771         (clog_test): Use END_COMPLEX macro without arguments.
58772         (clog10_test): Likewise.
58773         (conj_test): Likewise.
58774         (copysign_test): Use END macro without arguments.
58775         (cos_test): Likewise.
58776         (cos_test_tonearest): Likewise.
58777         (cos_test_towardzero): Likewise.
58778         (cos_test_downward): Likewise.
58779         (cos_test_upward): Likewise.
58780         (cosh_test): Likewise.
58781         (cosh_test_tonearest): Likewise.
58782         (cosh_test_towardzero): Likewise.
58783         (cosh_test_downward): Likewise.
58784         (cosh_test_upward): Likewise.
58785         (cpow_test): Use END_COMPLEX macro without arguments.
58786         (cproj_test): Likewise.
58787         (creal_test): Use END macro without arguments.
58788         (csin_test): Use END_COMPLEX macro without arguments.
58789         (csinh_test): Likewise.
58790         (csqrt_test): Likewise.
58791         (ctan_test): Likewise.
58792         (ctan_test_tonearest): Likewise.
58793         (ctan_test_towardzero): Likewise.
58794         (ctan_test_downward): Likewise.
58795         (ctan_test_upward): Likewise.
58796         (ctanh_test): Likewise.
58797         (ctanh_test_tonearest): Likewise.
58798         (ctanh_test_towardzero): Likewise.
58799         (ctanh_test_downward): Likewise.
58800         (ctanh_test_upward): Likewise.
58801         (erf_test): Use END macro without arguments.
58802         (erfc_test): Likewise.
58803         (exp_test): Likewise.
58804         (exp_test_tonearest): Likewise.
58805         (exp_test_towardzero): Likewise.
58806         (exp_test_downward): Likewise.
58807         (exp_test_upward): Likewise.
58808         (exp10_test): Likewise.
58809         (exp2_test): Likewise.
58810         (expm1_test): Likewise.
58811         (fabs_test): Likewise.
58812         (fdim_test): Likewise.
58813         (finite_test): Likewise.
58814         (floor_test): Likewise.
58815         (fma_test): Likewise.
58816         (fma_test_towardzero): Likewise.
58817         (fma_test_downward): Likewise.
58818         (fma_test_upward): Likewise.
58819         (fmax_test): Likewise.
58820         (fmin_test): Likewise.
58821         (fmod_test): Likewise.
58822         (fpclassify_test): Likewise.
58823         (frexp_test): Likewise.
58824         (gamma_test): Likewise.
58825         (hypot_test): Likewise.
58826         (ilogb_test): Likewise.
58827         (isfinite_test): Likewise.
58828         (isgreater_test): Likewise.
58829         (isgreaterequal_test): Likewise.
58830         (isinf_test): Likewise.
58831         (isless_test): Likewise.
58832         (islessequal_test): Likewise.
58833         (islessgreater_test): Likewise.
58834         (isnan_test): Likewise.
58835         (isnormal_test): Likewise.
58836         (issignaling_test): Likewise.
58837         (isunordered_test): Likewise.
58838         (j0_test): Likewise.
58839         (j1_test): Likewise.
58840         (jn_test): Likewise.
58841         (ldexp_test): Likewise.
58842         (lgamma_test): Likewise.
58843         (lrint_test): Likewise.
58844         (lrint_test_tonearest): Likewise.
58845         (lrint_test_towardzero): Likewise.
58846         (lrint_test_downward): Likewise.
58847         (lrint_test_upward): Likewise.
58848         (llrint_test): Likewise.
58849         (llrint_test_tonearest): Likewise.
58850         (llrint_test_towardzero): Likewise.
58851         (llrint_test_downward): Likewise.
58852         (llrint_test_upward): Likewise.
58853         (log_test): Likewise.
58854         (log10_test): Likewise.
58855         (log1p_test): Likewise.
58856         (log2_test): Likewise.
58857         (logb_test): Likewise.
58858         (logb_test_downward): Likewise.
58859         (lround_test): Likewise.
58860         (llround_test): Likewise.
58861         (modf_test): Likewise.
58862         (nearbyint_test): Likewise.
58863         (nextafter_test): Likewise.
58864         (nexttoward_test): Likewise.
58865         (pow_test): Likewise.
58866         (pow_test_tonearest): Likewise.
58867         (pow_test_towardzero): Likewise.
58868         (pow_test_downward): Likewise.
58869         (pow_test_upward): Likewise.
58870         (remainder_test): Likewise.
58871         (remainder_test_tonearest): Likewise.
58872         (remainder_test_towardzero): Likewise.
58873         (remainder_test_downward): Likewise.
58874         (remainder_test_upward): Likewise.
58875         (remquo_test): Likewise.
58876         (rint_test): Likewise.
58877         (rint_test_tonearest): Likewise.
58878         (rint_test_towardzero): Likewise.
58879         (rint_test_downward): Likewise.
58880         (rint_test_upward): Likewise.
58881         (round_test): Likewise.
58882         (scalb_test): Likewise.
58883         (scalbn_test): Likewise.
58884         (scalbln_test): Likewise.
58885         (signbit_test): Likewise.
58886         (sin_test): Likewise.
58887         (sin_test_tonearest): Likewise.
58888         (sin_test_towardzero): Likewise.
58889         (sin_test_downward): Likewise.
58890         (sin_test_upward): Likewise.
58891         (sincos_test): Likewise.
58892         (sinh_test): Likewise.
58893         (sinh_test_tonearest): Likewise.
58894         (sinh_test_towardzero): Likewise.
58895         (sinh_test_downward): Likewise.
58896         (sinh_test_upward): Likewise.
58897         (sqrt_test): Likewise.
58898         (tan_test): Likewise.
58899         (tan_test_tonearest): Likewise.
58900         (tan_test_towardzero): Likewise.
58901         (tan_test_downward): Likewise.
58902         (tan_test_upward): Likewise.
58903         (tanh_test): Likewise.
58904         (tgamma_test): Likewise.
58905         (trunc_test): Likewise.
58906         (y0_test): Likewise.
58907         (y1_test): Likewise.
58908         (yn_test): Likewise.
58909         (significand_test): Likewise.
58911 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
58913         [BZ #15381]
58914         * libio/genops.c (_IO_no_init): Initialize wide struct info.
58916 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
58918         [BZ #14894]
58919         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
58920         __ppc_mdoio and __ppc_mdoom.
58921         * manual/platform.texi: Document new functions __ppc_yield,
58922         __ppc_mdoio and __ppc_mdoom.
58924 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
58926         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
58927         (main): Mention "tls" pseudo-hwcap is legacy.
58928         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
58930 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
58932         * math/gen-libm-test.pl (parse_args): Output only string of
58933         arguments as text for test name, not full call or descriptions of
58934         tests for extra outputs.
58935         (generate_testfile): Do not pass function name to parse_args.
58936         Generate this_func variable from START.
58937         * math/libm-test.inc (struct test_f_f_data): Rename test_name
58938         field to arg_str.
58939         (struct test_ff_f_data): Likewise.
58940         (test_ff_f_data_nexttoward): Likewise.
58941         (struct test_fi_f_data): Likewise.
58942         (struct test_fl_f_data): Likewise.
58943         (struct test_if_f_data): Likewise.
58944         (struct test_fff_f_data): Likewise.
58945         (struct test_c_f_data): Likewise.
58946         (struct test_f_f1_data): Likewise.  Remove field extra_name.
58947         (struct test_fF_f1_data): Likewise.
58948         (struct test_ffI_f1_data): Likewise.
58949         (struct test_c_c_data): Rename test_name field to arg_str.
58950         (struct test_cc_c_data): Likewise.
58951         (struct test_f_i_data): Likewise.
58952         (struct test_ff_i_data): Likewise.
58953         (struct test_f_l_data): Likewise.
58954         (struct test_f_L_data): Likewise.
58955         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
58956         and extra2_name.
58957         (COMMON_TEST_SETUP): New macro.
58958         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
58959         (COMMON_TEST_CLEANUP): Likewise.
58960         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
58961         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
58962         macros.
58963         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
58964         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
58965         macros.
58966         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
58967         (RUN_TEST_fff_f): Take argument string.  Call new setup and
58968         cleanup macros.
58969         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
58970         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
58971         macros.
58972         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
58973         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
58974         macros.
58975         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
58976         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
58977         cleanup macros.
58978         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
58979         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
58980         cleanup macros.
58981         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
58982         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
58983         cleanup macros.
58984         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
58985         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
58986         macros.
58987         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
58988         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
58989         macros.
58990         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
58991         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
58992         macros.
58993         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
58994         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
58995         cleanup macros.
58996         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
58997         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
58998         cleanup macros.
58999         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
59000         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
59001         macros.
59002         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
59003         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
59004         cleanup macros.
59005         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
59006         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
59007         macros.
59008         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
59009         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
59010         macros.
59011         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
59012         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
59013         cleanup macros.
59014         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
59016 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
59018         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
59019         to _sifields.sigfault.
59020         (si_addr_lsb): Define new macro.
59021         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
59022         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59023         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
59025 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
59027         [BZ #15441]
59028         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
59029         returns -1.
59030         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
59031         null return -1.
59032         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
59033         loading the domain.
59035 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
59037         * math/gen-libm-test.pl (parse_args): Do not include expected
59038         result in test name.
59039         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
59040         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59041         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59042         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
59043         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59046 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
59048         * benchtests/Makefile: Sort function entries.
59050         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
59051         tanh, asinh, acosh, atanh.
59052         * benchtests/acos-inputs: New file.
59053         * benchtests/acosh-inputs: New file.
59054         * benchtests/asin-inputs: New file.
59055         * benchtests/asinh-inputs: New file.
59056         * benchtests/atanh-inputs: New file.
59057         * benchtests/cosh-inputs: New file.
59058         * benchtests/log-inputs: New file.
59059         * benchtests/sinh-inputs: New file.
59060         * benchtests/tanh-inputs: New file.
59062 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
59064         [BZ #15339]
59065         * posix/tst-getaddrinfo4.c: New test.
59066         * posix/Makefile (tests): Add it.
59068 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59070         [BZ #15339]
59071         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
59072         when no services were used.
59073         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
59074         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
59076 2013-05-21  Andreas Schwab  <schwab@suse.de>
59078         [BZ #15014]
59079         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
59080         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
59081         successful.
59082         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
59083         redundant variable declarations and reallocation of buffer when
59084         parsing as IPv6 address.  Always set NSS status when called from
59085         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
59086         buffer too small.  Correct computation of needed size.
59087         * nss/Makefile (tests): Add test-digits-dots.
59088         * nss/test-digits-dots.c: New test.
59090 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59092         * benchtests/Makefile: Remove instructions for adding
59093         benchmark tests.
59094         * benchtests/README: New file to explain how to execute and
59095         enhance the benchmark tests.
59097 2013-05-21  Andreas Schwab  <schwab@suse.de>
59099         [BZ #15493]
59100         * setjmp/Makefile (tests): Add tst-sigsetjmp.
59101         * setjmp/tst-sigsetjmp.c: New test.
59103 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
59105         * sysdeps/x86_64/memset.S (memset): New implementation.
59106         (__bzero): Likewise.
59107         (__memset_tail): New function.
59109 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
59111         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
59112         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
59113         __memcpy_sse2_unaligned ifunc selection.
59114         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
59115         Add memcpy-sse2-unaligned.S.
59116         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
59117         Add: __memcpy_sse2_unaligned.
59119 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
59121         [BZ #15490]
59122         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
59123         math_force_eval before restoring floating-point envrionment.
59124         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
59125         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
59126         Likewise.
59127         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
59128         <math_private.h>.
59129         (__nearbyintl): Use math_force_eval before restoring
59130         floating-point environment.
59131         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
59133         * math/gen-libm-test.pl (special_functions): Remove.
59134         (parse_args): Don't handle TEST_extra.  Handle functions with no
59135         return value.
59136         * math/libm-test.inc (struct test_sincos_data): Replace with
59137         struct test_fFF_11_data.
59138         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
59139         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
59140         (sincos_test_data): Change element type to struct
59141         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
59142         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
59143         RUN_TEST_LOOP_sincos.
59144         * math/README.libm-test: Don't mention special handling of
59145         individual functions.
59146         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
59147         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59148         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59149         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
59150         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59153         * math/gen-libm-test.pl (get_variable): Remove function.
59154         (parse_args): Don't show pointer parameters to call in test
59155         names.  Use "extra output N" in test names for extra outputs
59156         rather than naming variables.
59158 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
59160         [BZ #15488]
59161         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
59162         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
59163         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
59164         double tests.
59165         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
59166         disable.
59167         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
59168         check_long_double.
59170         * math/gen-libm-test.pl (@tests): Remove variable.
59171         ($count): Likewise.
59172         (new_test): Remove function.
59173         (show_exceptions): New function.
59174         (special_functions): Use show_exceptions instead of new_test.
59175         (parse_args): Likewise.
59176         (generate_testfile): Pass only function name in generated call to
59177         print_max_error or print_complex_max_error.
59178         (get_ulps): Do not handle complex tests specially.
59179         (output_test): Rename to ...
59180         (get_all_ulps_for_test): ... this.  Return a string rather than
59181         printing to a file.  Require ulps to be present.
59182         (output_ulps): Generate arrays rather than #defines.
59183         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
59184         (struct ulp_data): New type.
59185         (BUILD_COMPLEX_ULP): Remove macro.
59186         (compare_ulp_data): New function.
59187         (find_ulps): Likewise.
59188         (find_test_ulps): Likewise.
59189         (find_function_ulps): Likewise.
59190         (find_complex_function_ulps): Likewise.
59191         (print_max_error): Determine allowed ulps using
59192         find_function_ulps.
59193         (print_complex_max_error): Determine allowed ulps using
59194         find_complex_function_ulps.
59195         (check_float_internal): Determine max ulps using find_test_ulps.
59196         (check_float): Do not take max_ulp parameter.  Update call to
59197         check_float_internal.
59198         (check_complex): Likewise.
59199         (check_int): Do not take max_ulp parameter.
59200         (check_long): Likewise.
59201         (check_bool): Likewise.
59202         (check_longlong): Likewise.
59203         (struct test_f_f_data): Remove max_ulp field.
59204         (struct test_ff_f_data): Likewise.
59205         (struct test_ff_f_data_nexttoward): Likewise.
59206         (struct test_fi_f_data): Likewise.
59207         (struct test_fl_f_data): Likewise.
59208         (struct test_if_f_data): Likewise.
59209         (struct test_fff_f_data): Likewise.
59210         (struct test_c_f_data): Likewise.
59211         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
59212         (struct test_fF_f1_data): Likewise.
59213         (struct test_ffI_f1_data): Likewise.
59214         (struct test_c_c_data): Remove max_ulp field.
59215         (struct test_cc_c_data): Likewise.
59216         (struct test_f_i_data): Likewise.
59217         (struct test_ff_i_data): Likewise.
59218         (struct test_f_l_data): Likewise.
59219         (struct test_f_L_data): Likewise.
59220         (struct test_sincos_data): Likewise.
59221         (RUN_TEST_f_f): Do not handle ulps.
59222         (RUN_TEST_LOOP_f_f): Likewise.
59223         (RUN_TEST_2_f): Likewise.
59224         (RUN_TEST_LOOP_2_f): Likewise.
59225         (RUN_TEST_fff_f): Likewise.
59226         (RUN_TEST_LOOP_fff_f): Likewise.
59227         (RUN_TEST_c_f): Likewise.
59228         (RUN_TEST_LOOP_c_f): Likewise.
59229         (RUN_TEST_f_f1): Likewise.
59230         (RUN_TEST_LOOP_f_f1): Likewise.
59231         (RUN_TEST_fF_f1): Likewise.
59232         (RUN_TEST_LOOP_fF_f1): Likewise.
59233         (RUN_TEST_fI_f1): Likewise.
59234         (RUN_TEST_LOOP_fI_f1): Likewise.
59235         (RUN_TEST_ffI_f1): Likewise.
59236         (RUN_TEST_LOOP_ffI_f1): Likewise.
59237         (RUN_TEST_c_c): Likewise.
59238         (RUN_TEST_LOOP_c_c): Likewise.
59239         (RUN_TEST_cc_c): Likewise.
59240         (RUN_TEST_LOOP_cc_c): Likewise.
59241         (RUN_TEST_f_i): Likewise.
59242         (RUN_TEST_LOOP_f_i): Likewise.
59243         (RUN_TEST_f_i_tg): Likewise.
59244         (RUN_TEST_LOOP_f_i_tg): Likewise.
59245         (RUN_TEST_ff_i_tg): Likewise.
59246         (RUN_TEST_LOOP_ff_i_tg): Likewise.
59247         (RUN_TEST_f_b): Likewise.
59248         (RUN_TEST_LOOP_f_b): Likewise.
59249         (RUN_TEST_f_b_tg): Likewise.
59250         (RUN_TEST_LOOP_f_b_tg): Likewise.
59251         (RUN_TEST_f_l): Likewise.
59252         (RUN_TEST_LOOP_f_l): Likewise.
59253         (RUN_TEST_f_L): Likewise.
59254         (RUN_TEST_LOOP_f_L): Likewise.
59255         (RUN_TEST_sincos): Likewise.
59256         (RUN_TEST_LOOP_sincos): Likewise.
59258 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
59260         [BZ #15480]
59261         [BZ #15485]
59262         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
59263         main case of finite arguments, set rounding mode to FE_TONEAREST
59264         and discard exceptions.
59265         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
59266         exceptions.
59267         (remainder_tonearest_test_data): New variable.
59268         (remainder_test_tonearest): New function.
59269         (remainder_towardzero_test_data): New variable.
59270         (remainder_test_towardzero): New function.
59271         (remainder_downward_test_data): New variable.
59272         (remainder_test_downward): New function.
59273         (remainder_upward_test_data): New variable.
59274         (remainder_test_upward): New function.
59275         (main): Call the new test functions.
59277         * math/libm-test.inc (struct test_f_f1_data): Remove field
59278         extra_init.
59279         (struct test_fF_f1_data): Likewise.
59280         (struct test_ffI_f1_data): Likewise.
59281         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
59282         based on value of EXTRA_EXPECTED.
59283         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
59284         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
59285         EXTRA_VAR based on value of EXTRA_EXPECTED.
59286         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
59287         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
59288         EXTRA_VAR based on value of EXTRA_EXPECTED.
59289         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
59290         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
59291         EXTRA_VAR based on value of EXTRA_EXPECTED.
59292         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
59293         * math/gen-libm-test.pl (parse_args): Don't output initializers
59294         for extra output values.
59296         * math/libm-test.inc (check_int): Expect result to be exactly
59297         equal to expected value and do not handle ulps.
59298         (check_long): Likewise.
59299         (check_longlong): Likewise.
59301         * math/libm-test.inc (ceil_test_data): Test for "inexact"
59302         exceptions.
59303         (cimag_test_data): Likewise.
59304         (conj_test_data): Likewise.
59305         (copysign_test_data): Likewise.
59306         (cproj_test_data): Likewise.
59307         (creal_test_data): Likewise.
59308         (fabs_test_data): Likewise.
59309         (fdim_test_data): Likewise.
59310         (finite_test_data): Likewise.
59311         (floor_test_data): Likewise.
59312         (fmax_test_data): Likewise.
59313         (fmin_test_data): Likewise.
59314         (fmod_test_data): Likewise.
59315         (fpclassify_test_data): Likewise.
59316         (frexp_test_data): Likewise.
59317         (ilogb_test_data): Likewise.
59318         (isfinite_test_data): Likewise.
59319         (isgreater_test_data): Likewise.
59320         (isgreaterequal_test_data): Likewise.
59321         (isinf_test_data): Likewise.
59322         (isless_test_data): Likewise.
59323         (islessequal_test_data): Likewise.
59324         (islessgreater_test_data): Likewise.
59325         (isnan_test_data): Likewise.
59326         (isnormal_test_data): Likewise.
59327         (issignaling_test_data): Likewise.
59328         (isunordered_test_data): Likewise.
59329         (ldexp_test_data): Likewise.
59330         (lrint_test_data): Likewise.
59331         (lrint_test_data) [TEST_FLOAT]: Disable one test.
59332         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
59333         (lrint_tonearest_test_data): Test for "inexact" exceptions.
59334         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
59335         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
59336         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
59337         test input.
59338         (lrint_towardzero_test_data): Test for "inexact" exceptions.
59339         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
59340         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
59341         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
59342         that test input.
59343         (lrint_downward_test_data): Test for "inexact" exceptions.
59344         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
59345         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
59346         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
59347         test input.
59348         (lrint_upward_test_data): Test for "inexact" exceptions.
59349         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
59350         test input.
59351         (llrint_test_data): Test for "inexact" exceptions.
59352         (llrint_test_data) [TEST_FLOAT]: Disable one test.
59353         (llrint_tonearest_test_data): Test for "inexact" exceptions.
59354         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
59355         (llrint_towardzero_test_data): Test for "inexact" exceptions.
59356         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
59357         (llrint_downward_test_data): Test for "inexact" exceptions.
59358         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
59359         (llrint_upward_test_data): Test for "inexact" exceptions.
59360         (logb_test_data): Likewise.
59361         (logb_downward_test_data): Likewise.
59362         (nextafter_test_data): Likewise.
59363         (nexttoward_test_data): Likewise.
59364         (remainder_test_data): Likewise.
59365         (remquo_test_data): Likewise.
59366         (scalbn_test_data): Likewise.
59367         (scalbln_test_data): Likewise.
59368         (signbit_test_data): Likewise.
59369         (sqrt_test_data): Likewise.
59370         (significand_test_data): Likewise.
59372 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
59374         [BZ #15424]
59375         * benchtests/bench-modf.c (struct args): Mark arg0 as
59376         volatile.
59377         * scripts/bench.pl: Mark members of struct args as volatile.
59379 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59381         [BZ # 15497]
59382         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
59383         negative infinity on POWER6 or lower.
59384         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
59386 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
59388         [BZ #15442]
59389         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
59390         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
59391         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
59392         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
59393         (_FP_SETQNAN): New macro.
59394         (_FP_SETQNAN_SEMIRAW): Likewise.
59395         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
59396         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
59397         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
59398         (FP_EXTEND): Use _FP_FRAC_SNANP.
59399         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
59400         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
59401         into account.
59402         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
59403         New macro.
59404         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
59405         Likewise.
59407 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
59409         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
59410         with DIVIDE_BY_ZERO_EXCEPTION.
59411         (gamma_test_data): Likewise.
59412         (lgamma_test_data): Likewise.
59413         (log_test_data): Likewise.
59414         (log10_test_data): Likewise.
59415         (log2_test_data): Likewise.
59416         (tgamma_test_data): Likewise.
59418         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
59419         (acos_test_tonearest): Likewise.
59420         (acos_test_towardzero): Likewise.
59421         (acos_test_downward): Likewise.
59422         (acos_test_upward): Likewise.
59423         (acosh_test): Likewise.
59424         (asin_test): Likewise.
59425         (asin_test_tonearest): Likewise.
59426         (asin_test_towardzero): Likewise.
59427         (asin_test_downward): Likewise.
59428         (asin_test_upward): Likewise.
59429         (asinh_test): Likewise.
59430         (atan_test): Likewise.
59431         (atanh_test): Likewise.
59432         (atan2_test): Likewise.
59433         (cabs_test): Likewise.
59434         (cacos_test): Likewise.
59435         (cacosh_test): Likewise.
59436         (casin_test): Likewise.
59437         (casinh_test): Likewise.
59438         (catan_test): Likewise.
59439         (catanh_test): Likewise.
59440         (cbrt_test): Likewise.
59441         (ccos_test): Likewise.
59442         (ccosh_test): Likewise.
59443         (cexp_test): Likewise.
59444         (clog_test): Likewise.
59445         (clog10_test): Likewise.
59446         (cos_test): Likewise.
59447         (cos_test_tonearest): Likewise.
59448         (cos_test_towardzero): Likewise.
59449         (cos_test_downward): Likewise.
59450         (cos_test_upward): Likewise.
59451         (cosh_test): Likewise.
59452         (cosh_test_tonearest): Likewise.
59453         (cosh_test_towardzero): Likewise.
59454         (cosh_test_downward): Likewise.
59455         (cosh_test_upward): Likewise.
59456         (cpow_test): Likewise.
59457         (csin_test): Likewise.
59458         (csinh_test): Likewise.
59459         (csqrt_test): Likewise.
59460         (ctan_test): Likewise.
59461         (ctan_test_tonearest): Likewise.
59462         (ctan_test_towardzero): Likewise.
59463         (ctan_test_downward): Likewise.
59464         (ctan_test_upward): Likewise.
59465         (ctanh_test): Likewise.
59466         (ctanh_test_tonearest): Likewise.
59467         (ctanh_test_towardzero): Likewise.
59468         (ctanh_test_downward): Likewise.
59469         (ctanh_test_upward): Likewise.
59470         (erf_test): Likewise.
59471         (erfc_test): Likewise.
59472         (exp_test): Likewise.
59473         (exp_test_tonearest): Likewise.
59474         (exp_test_towardzero): Likewise.
59475         (exp_test_downward): Likewise.
59476         (exp_test_upward): Likewise.
59477         (exp10_test): Likewise.
59478         (exp2_test): Likewise.
59479         (expm1_test): Likewise.
59480         (fmod_test): Likewise.
59481         (gamma_test): Likewise.
59482         (hypot_test): Likewise.
59483         (j0_test): Likewise.
59484         (j1_test): Likewise.
59485         (jn_test): Likewise.
59486         (lgamma_test): Likewise.
59487         (log_test): Likewise.
59488         (log10_test): Likewise.
59489         (log1p_test): Likewise.
59490         (log2_test): Likewise.
59491         (logb_test_downward): Likewise.
59492         (pow_test): Likewise.
59493         (pow_test_tonearest): Likewise.
59494         (pow_test_towardzero): Likewise.
59495         (pow_test_downward): Likewise.
59496         (pow_test_upward): Likewise.
59497         (remainder_test): Likewise.
59498         (remquo_test): Likewise.
59499         (sin_test): Likewise.
59500         (sin_test_tonearest): Likewise.
59501         (sin_test_towardzero): Likewise.
59502         (sin_test_downward): Likewise.
59503         (sin_test_upward): Likewise.
59504         (sincos_test): Likewise.
59505         (sinh_test): Likewise.
59506         (sinh_test_tonearest): Likewise.
59507         (sinh_test_towardzero): Likewise.
59508         (sinh_test_downward): Likewise.
59509         (sinh_test_upward): Likewise.
59510         (sqrt_test): Likewise.
59511         (tan_test): Likewise.
59512         (tan_test_tonearest): Likewise.
59513         (tan_test_towardzero): Likewise.
59514         (tan_test_downward): Likewise.
59515         (tan_test_upward): Likewise.
59516         (tanh_test): Likewise.
59517         (tgamma_test): Likewise.
59518         (y0_test): Likewise.
59519         (y1_test): Likewise.
59520         (yn_test): Likewise.
59522         * math/gen-libm-test.pl (adjust_arg): Remove function.
59523         (special_function): Remove argument $in_func.  Only handle
59524         generating output for tables of tests, not inside functions.
59525         (parse_args): Likewise.
59526         (generate_testfile): Remove variable $in_func.  Update call to
59527         parse_args.
59528         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
59529         (MINUS_ZERO_INIT): Rename macro to minus_zero.
59530         (PLUS_INFTY_INIT): Rename macro to plus_infty.
59531         (MINUS_INFTY_INIT): Rename macro to minus_infty.
59532         (QNAN_VALUE_INIT): Rename macro to qnan_value.
59533         (MAX_VALUE_INIT): Rename macro to max_value.
59534         (MIN_VALUE_INIT): Rename macro to min_value.
59535         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
59536         (plus_zero): Remove variable.
59537         (minus_zero): Likewise.
59538         (plus_infty): Likewise.
59539         (minus_infty): Likewise.
59540         (qnan_value): Likewise.
59541         (max_value): Likewise.
59542         (min_value): Likewise.
59543         (min_subnorm_value): Likewise.
59545 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59547         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
59548         uint64_t or uint32_t usage.
59549         * crypt/sha256-block.c: Likewise.
59550         * crypt/sha256-crypt.c: Likewise.
59551         * crypt/sha256.c: Likewise.
59552         * crypt/sha512-block.c: Likewise.
59553         * crypt/sha512-crypt.c: Likewise.
59554         * crypt/sha512.c: Likewise.
59555         * debug/backtrace-tst.c: Likewise.
59556         * debug/pcprofiledump.c: Likewise.
59557         * elf/cache.c: Likewise.
59558         * elf/dl-cache.c: Likewise.
59559         * elf/dl-misc.c: Likewise.
59560         * elf/dl-profile.c: Likewise.
59561         * elf/dl-support.c: Likewise.
59562         * elf/ldconfig.c: Likewise.
59563         * elf/sprof.c: Likewise.
59564         * iconv/dummy-repertoire.c: Likewise.
59565         * iconv/iconv_charmap.c: Likewise.
59566         * iconv/skeleton.c: Likewise.
59567         * iconvdata/8bit-generic.c: Likewise.
59568         * iconvdata/cp737.h: Likewise.
59569         * iconvdata/cp775.h: Likewise.
59570         * iconvdata/ibm1008.h: Likewise.
59571         * iconvdata/ibm1025.h: Likewise.
59572         * iconvdata/ibm1046.h: Likewise.
59573         * iconvdata/ibm1097.h: Likewise.
59574         * iconvdata/ibm1112.h: Likewise.
59575         * iconvdata/ibm1122.h: Likewise.
59576         * iconvdata/ibm1123.h: Likewise.
59577         * iconvdata/ibm1124.h: Likewise.
59578         * iconvdata/ibm1129.h: Likewise.
59579         * iconvdata/ibm1130.h: Likewise.
59580         * iconvdata/ibm1132.h: Likewise.
59581         * iconvdata/ibm1133.h: Likewise.
59582         * iconvdata/ibm1137.h: Likewise.
59583         * iconvdata/ibm1140.h: Likewise.
59584         * iconvdata/ibm1141.h: Likewise.
59585         * iconvdata/ibm1142.h: Likewise.
59586         * iconvdata/ibm1143.h: Likewise.
59587         * iconvdata/ibm1144.h: Likewise.
59588         * iconvdata/ibm1145.h: Likewise.
59589         * iconvdata/ibm1146.h: Likewise.
59590         * iconvdata/ibm1147.h: Likewise.
59591         * iconvdata/ibm1148.h: Likewise.
59592         * iconvdata/ibm1149.h: Likewise.
59593         * iconvdata/ibm1153.h: Likewise.
59594         * iconvdata/ibm1154.h: Likewise.
59595         * iconvdata/ibm1155.h: Likewise.
59596         * iconvdata/ibm1156.h: Likewise.
59597         * iconvdata/ibm1157.h: Likewise.
59598         * iconvdata/ibm1158.h: Likewise.
59599         * iconvdata/ibm1160.h: Likewise.
59600         * iconvdata/ibm1161.h: Likewise.
59601         * iconvdata/ibm1162.h: Likewise.
59602         * iconvdata/ibm1163.h: Likewise.
59603         * iconvdata/ibm1164.h: Likewise.
59604         * iconvdata/ibm1166.h: Likewise.
59605         * iconvdata/ibm1167.h: Likewise.
59606         * iconvdata/ibm12712.h: Likewise.
59607         * iconvdata/ibm1390.h: Likewise.
59608         * iconvdata/ibm1399.h: Likewise.
59609         * iconvdata/ibm16804.h: Likewise.
59610         * iconvdata/ibm4517.h: Likewise.
59611         * iconvdata/ibm4899.h: Likewise.
59612         * iconvdata/ibm4909.h: Likewise.
59613         * iconvdata/ibm4971.h: Likewise.
59614         * iconvdata/ibm5347.h: Likewise.
59615         * iconvdata/ibm803.h: Likewise.
59616         * iconvdata/ibm856.h: Likewise.
59617         * iconvdata/ibm901.h: Likewise.
59618         * iconvdata/ibm902.h: Likewise.
59619         * iconvdata/ibm9030.h: Likewise.
59620         * iconvdata/ibm9066.h: Likewise.
59621         * iconvdata/ibm921.h: Likewise.
59622         * iconvdata/ibm922.h: Likewise.
59623         * iconvdata/ibm9448.h: Likewise.
59624         * iconvdata/isiri-3342.h: Likewise.
59625         * iconvdata/jis0201.h: Likewise.
59626         * include/link.h: Likewise.
59627         * include/netdb.h: Likewise.
59628         * inet/check_native.c: Likewise.
59629         * inet/check_pf.c: Likewise.
59630         * inet/getipv4sourcefilter.c: Likewise.
59631         * inet/getnameinfo.c: Likewise.
59632         * inet/getsourcefilter.c: Likewise.
59633         * inet/htonl.c: Likewise.
59634         * inet/setipv4sourcefilter.c: Likewise.
59635         * inet/setsourcefilter.c: Likewise.
59636         * inet/test-inet6_opt.c: Likewise.
59637         * inet/tst-network.c: Likewise.
59638         * locale/C-collate.c: Likewise.
59639         * locale/C-ctype.c: Likewise.
59640         * locale/C-time.c: Likewise.
59641         * locale/C-translit.h: Likewise.
59642         * locale/loadarchive.c: Likewise.
59643         * locale/programs/3level.h: Likewise.
59644         * locale/programs/charmap.c: Likewise.
59645         * locale/programs/charmap.h: Likewise.
59646         * locale/programs/ld-address.c: Likewise.
59647         * locale/programs/ld-collate.c: Likewise.
59648         * locale/programs/ld-ctype.c: Likewise.
59649         * locale/programs/ld-identification.c: Likewise.
59650         * locale/programs/ld-measurement.c: Likewise.
59651         * locale/programs/ld-messages.c: Likewise.
59652         * locale/programs/ld-monetary.c: Likewise.
59653         * locale/programs/ld-name.c: Likewise.
59654         * locale/programs/ld-numeric.c: Likewise.
59655         * locale/programs/ld-paper.c: Likewise.
59656         * locale/programs/ld-telephone.c: Likewise.
59657         * locale/programs/ld-time.c: Likewise.
59658         * locale/programs/linereader.c: Likewise.
59659         * locale/programs/locale.c: Likewise.
59660         * locale/programs/locarchive.c: Likewise.
59661         * locale/programs/locfile.h: Likewise.
59662         * locale/programs/repertoire.c: Likewise.
59663         * locale/programs/simple-hash.c: Likewise.
59664         * locale/programs/simple-hash.h: Likewise.
59665         * malloc/memusage.c: Likewise.
59666         * malloc/memusagestat.c: Likewise.
59667         * nis/nis_defaults.c: Likewise.
59668         * nis/nis_hash.c: Likewise.
59669         * nis/nis_print.c: Likewise.
59670         * nis/nis_xdr.c: Likewise.
59671         * nscd/connections.c: Likewise.
59672         * nscd/hstcache.c: Likewise.
59673         * nscd/nscd_gethst_r.c: Likewise.
59674         * nscd/nscd_getserv_r.c: Likewise.
59675         * nscd/nscd_helper.c: Likewise.
59676         * nscd/servicescache.c: Likewise.
59677         * nss/makedb.c: Likewise.
59678         * nss/nss_db/db-XXX.c: Likewise.
59679         * nss/nss_db/db-initgroups.c: Likewise.
59680         * nss/nss_db/db-netgrp.c: Likewise.
59681         * nss/nss_files/files-network.c: Likewise.
59682         * nss/nss_files/files-parse.c: Likewise.
59683         * posix/bug-regex5.c: Likewise.
59684         * posix/fnmatch_loop.c: Likewise.
59685         * posix/regcomp.c: Likewise.
59686         * posix/regexec.c: Likewise.
59687         * posix/tst-rfc3484-2.c: Likewise.
59688         * posix/tst-rfc3484-3.c: Likewise.
59689         * posix/tst-rfc3484.c: Likewise.
59690         * resolv/nss_dns/dns-canon.c: Likewise.
59691         * resolv/nss_dns/dns-network.c: Likewise.
59692         * resolv/res_init.c: Likewise.
59693         * resolv/res_mkquery.c: Likewise.
59694         * resolv/tst-aton.c: Likewise.
59695         * stdlib/cxa_atexit.c: Likewise.
59696         * stdlib/cxa_finalize.c: Likewise.
59697         * stdlib/gen-fpioconst.c: Likewise.
59698         * stdlib/strtol_l.c: Likewise.
59699         * string/tst-endian.c: Likewise.
59700         * sunrpc/auth_des.c: Likewise.
59701         * sunrpc/clnt_udp.c: Likewise.
59702         * sunrpc/rtime.c: Likewise.
59703         * sunrpc/svcauth_des.c: Likewise.
59704         * sunrpc/xdr.c: Likewise.
59705         * sunrpc/xdr_intXX_t.c: Likewise.
59706         * sunrpc/xdr_rec.c: Likewise.
59707         * sysdeps/generic/ldconfig.h: Likewise.
59708         * sysdeps/generic/ldsodefs.h: Likewise.
59709         * sysdeps/generic/memusage.h: Likewise.
59710         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
59711         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
59712         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
59713         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
59714         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59715         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
59716         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
59717         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
59718         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59719         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
59720         * sysdeps/posix/getaddrinfo.c: Likewise.
59721         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59722         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59723         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
59724         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59725         * sysdeps/powerpc/test-gettimebase.c: Likewise.
59726         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
59727         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
59728         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
59729         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
59730         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
59731         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
59732         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
59733         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
59734         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
59735         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
59736         * sysdeps/x86_64/dl-tls.h: Likewise.
59737         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
59738         * time/alt_digit.c: Likewise.
59739         * time/era.c: Likewise.
59740         * wcsmbs/tst-c16c32-1.c: Likewise.
59742 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
59744         * math/libm-test.inc (struct test_sincos_data): New type.
59745         (RUN_TEST_LOOP_sincos): New macro.
59746         (sincos_test_data): New variable.
59747         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
59749 2013-05-16  Richard Henderson  <rth@redhat.com>
59751         * math/atest-exp2.c (LIMB64): New macro.
59752         (CONSTSZ): New macro.
59753         (mp_exp1, mp_exp_m1, mp_log2): New variables.
59754         (hexdig): Move ...
59755         (print_mpn_fp): ... to function scope.
59756         (read_mpn_hex): Remove.
59757         (get_log2): Remove.
59758         (exp2_mpn): Use mp_log2.
59759         (main): Use mp_exp1.
59761 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
59763         * math/libm-test.inc: Remove comment about not testing "inexact"
59764         exceptions.
59765         (INEXACT_EXCEPTION): New macro.
59766         (NO_INEXACT_EXCEPTION): Likewise.
59767         (INVALID_EXCEPTION_OK): Update value.
59768         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
59769         (OVERFLOW_EXCEPTION_OK): Likewise.
59770         (UNDERFLOW_EXCEPTION_OK): Likewise.
59771         (IGNORE_ZERO_INF_SIGN): Likewise.
59772         (ERRNO_UNCHANGED): Likewise.
59773         (ERRNO_EDOM): Likewise.
59774         (ERRNO_ERANGE): Likewise.
59775         (test_exceptions): Handle testing "inexact" exceptions.
59776         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
59777         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
59778         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
59779         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
59780         INEXACT_EXCEPTION.
59781         (rint_towardzero_test_data): Likewise.
59782         (rint_downward_test_data): Likewise.
59783         (rint_upward_test_data): Likewise.
59785         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
59786         with OVERFLOW_EXCEPTION.
59787         (exp10_test_data): Likewise.
59788         (exp2_test_data): Likewise.
59789         (expm1_test_data): Likewise.
59790         (lgamma_test_data): Likewise.
59791         (pow_test_data): Likewise.
59792         (tgamma_test_data): Likewise.
59793         (yn_test_data): Remove duplicate test of overflow.
59795         * math/libm-test.inc (struct test_cc_c_data): New type.
59796         (RUN_TEST_LOOP_cc_c): New macro.
59797         (cpow_test_data): New variable.
59798         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
59800         * math/libm-test.inc (struct test_f_L_data): New type.
59801         (RUN_TEST_LOOP_f_L): New macro.
59802         (llrint_test_data): New variable.
59803         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
59804         (llrint_tonearest_test_data): New variable.
59805         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
59806         (llrint_towardzero_test_data): New variable.
59807         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
59808         (llrint_downward_test_data): New variable.
59809         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
59810         (llrint_upward_test_data): New variable.
59811         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
59812         (llround_test_data): New variable.
59813         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
59815 2013-05-13  Peter Collingbourne  <pcc@google.com>
59817         * math/atest-exp2.c (get_log2): Remove const attribute.
59819 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
59821         * math/libm-test.inc (struct test_f_l_data): New type.
59822         (RUN_TEST_LOOP_f_l): New macro.
59823         (lrint_test_data): New variable.
59824         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
59825         (lrint_tonearest_test_data): New variable.
59826         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
59827         (lrint_towardzero_test_data): New variable.
59828         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
59829         (lrint_downward_test_data): New variable.
59830         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
59831         (lrint_upward_test_data): New variable.
59832         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
59833         (lround_test_data): New variable.
59834         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
59836 2013-05-15  Peter Collingbourne  <pcc@google.com>
59838         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
59839         (EXTRACT_WORDS64) Use where appropriate.
59840         (INSERT_WORDS64) Likewise.
59842         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
59843         constraints with x constraints.
59844         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
59846         * malloc/obstack.c (_obstack_compat): Add initializer.
59848 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
59850         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
59851         si_trapno and add si_addr_lsb to _sifields.sigfault.
59852         (si_trapno): Remove macro.
59853         (si_addr_lsb): Define new macro.
59854         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
59856 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
59858         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
59859         instead of TEST_f_l.
59860         (llrint_test_tonearest): Likewise.
59861         (llrint_test_towardzero): Likewise.
59862         (llrint_test_downward): Likewise.
59863         (llrint_test_upward): Likewise.
59864         (llround_test): Likewise.
59866         * math/libm-test.inc (struct test_f_i_data): Add comment.
59867         (RUN_TEST_LOOP_f_b): New macro.
59868         (RUN_TEST_LOOP_f_b_tg): Likewise.
59869         (finite_test_data): New variable.
59870         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
59871         (isfinite_test_data): New variable.
59872         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59873         (isinf_test_data): New variable.
59874         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59875         (isnan_test_data): New variable.
59876         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59877         (isnormal_test_data): New variable.
59878         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59879         (issignaling_test_data): New variable.
59880         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59881         (signbit_test_data): New variable.
59882         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59884         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
59885         with INVALID_EXCEPTION.
59886         (acosh_test_data): Likewise.
59887         (asin_test_data): Likewise.
59888         (atanh_test_data): Likewise.
59889         (fmod_test_data): Likewise.
59890         (log_test_data): Likewise.
59891         (log10_test_data): Likewise.
59892         (log2_test_data): Likewise.
59893         (pow_test_data): Likewise.
59894         (sqrt_test_data): Likewise.
59895         (y0_test_data): Likewise.
59896         (y1_test_data): Likewise.
59897         (yn_test_data): Likewise.
59899         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
59900         function contents.
59902         * math/libm-test.inc (struct test_ff_i_data): New type.
59903         (RUN_TEST_LOOP_ff_i_tg): New macro.
59904         (isgreater_test_data): New variable.
59905         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59906         (isgreaterequal_test_data): New variable.
59907         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59908         (isless_test_data): New variable.
59909         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59910         (islessequal_test_data): New variable.
59911         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59912         (islessgreater_test_data): New variable.
59913         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59914         (isunordered_test_data): New variable.
59915         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59917 2013-05-14  David S. Miller  <davem@davemloft.net>
59919         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59921 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
59923         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
59925         * math/libm-test.inc (struct test_fF_f1_data): Change type of
59926         extra_test to int.
59927         (struct test_f_i_data): Change type of max_ulp to int.
59929         * math/libm-test.inc (test_ffI_f1_data): New type.
59930         (RUN_TEST_LOOP_ffI_f1): New macro.
59931         (remquo_test_data): New variable.
59932         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
59934         * setjmp/tst-setjmp-fp.c: New file.
59935         * setjmp/Makefile (tests): Add tst-setjmp-fp.
59936         (link-libm): New variable.
59937         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
59939         * math/libm-test.inc (struct test_f_i_data): New type.
59940         (RUN_TEST_LOOP_f_i): New macro.
59941         (RUN_TEST_LOOP_f_i_tg): Likewise.
59942         (fpclassify_test_data): New variable.
59943         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
59944         (ilogb_test_data): New variable.
59945         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
59947         * math/libm-test.inc (scalbln_test): Correct function name in END
59948         call.
59950         * math/libm-test.inc (struct test_f_f1_data): Add comment.
59951         (RUN_TEST_LOOP_fI_f1): New macro.
59952         (frexp_test_data): New variable.
59953         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
59955         * math/libm-test.inc (struct test_fF_f1_data): New type.
59956         (RUN_TEST_LOOP_fF_f1): New macro.
59957         (modf_test_data): New variable.
59958         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
59960         * math/libm-test.inc (struct test_f_f1_data): New type.
59961         (RUN_TEST_LOOP_f_f1): New macro.
59962         (gamma_test_data): New variable.
59963         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
59964         (lgamma_test_data): New variable.
59965         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
59967 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
59969         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
59970         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
59971         (main): Comment "tls" pseudo-hwcap.
59973 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
59975         * math/libm-test.inc (struct test_fl_f_data): New type.
59976         (RUN_TEST_LOOP_fl_f): New variable.
59977         (scalbln_test_data): New variable.
59978         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
59980         * math/libm-test.inc (struct test_fi_f_data): New type.
59981         (RUN_TEST_LOOP_fi_f): New macro.
59982         (ldexp_test_data): New variable.
59983         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
59984         (scalbn_test_data): New variable.
59985         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
59987         * math/libm-test.inc (struct test_c_f_data): New type.
59988         (RUN_TEST_LOOP_c_f): New macro.
59989         (cabs_test_data): New variable.
59990         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
59991         (carg_test_data): New variable.
59992         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
59993         (cimag_test_data): New variable.
59994         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
59995         (creal_test_data): New variable.
59996         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
59998         * math/libm-test.inc (struct test_if_f_data): New type.
59999         (RUN_TEST_LOOP_if_f): New macro.
60000         (jn_test_data): New variable.
60001         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
60002         (yn_test_data): New variable.
60003         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
60005         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
60007 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60009         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
60010         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
60012 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60014         * benchtests/Makefile (CPPFLAGS-nonlib): Add
60015         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
60016         (bench-deps): Add bench-timing.h.
60017         * benchtests-bench-skeleton.c: Include bench-timing.h.
60018         (main): Use TIMING_* macros instead of clock_gettime.
60019         * benchtests/bench-timing.h: New file.
60021         [BZ #14582]
60022         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
60023         Renamed from _LIB_VERSION.
60024         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
60026 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
60028         * math/libm-test.inc (struct test_fff_f_data): New type.
60029         (RUN_TEST_LOOP_fff_f): New macro.
60030         (fma_test_data): New variable.
60031         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
60032         (fma_towardzero_test_data): New variable.
60033         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
60034         (fma_downward_test_data): New variable.
60035         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
60036         (fma_upward_test_data): New variable.
60037         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
60039         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
60040         (struct test_c_c_data): New type.
60041         (RUN_TEST_LOOP_c_c): New macro.
60042         (cacos_test_data): New variable.
60043         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
60044         (cacosh_test_data): New variable.
60045         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
60046         (casin_test_data): New variable.
60047         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
60048         (casinh_test_data): New variable.
60049         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
60050         (catan_test_data): New variable.
60051         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
60052         (catanh_test_data): New variable.
60053         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
60054         (ccos_test_data): New variable.
60055         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
60056         (ccosh_test_data): New variable.
60057         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
60058         (cexp_test_data): New variable.
60059         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
60060         (clog_test_data): New variable.
60061         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
60062         (clog10_test_data): New variable.
60063         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
60064         (conj_test_data): New variable.
60065         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
60066         (cproj_test_data): New variable.
60067         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
60068         (csin_test_data): New variable.
60069         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
60070         (csinh_test_data): New variable.
60071         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
60072         (csqrt_test_data): New variable.
60073         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
60074         (ctan_test_data): New variable.
60075         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
60076         (ctan_tonearest_test_data): New variable.
60077         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
60078         (ctan_towardzero_test_data): New variable.
60079         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
60080         (ctan_downward_test_data): New variable.
60081         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
60082         (ctan_upward_test_data): New variable.
60083         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
60084         (ctanh_test_data): New variable.
60085         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
60086         (ctanh_tonearest_test_data): New variable.
60087         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
60088         (ctanh_towardzero_test_data): New variable.
60089         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
60090         (ctanh_downward_test_data): New variable.
60091         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
60092         (ctanh_upward_test_data): New variable.
60093         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
60094         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
60095         of BUILD_COMPLEX.
60097         * math/libm-test.inc (struct test_ff_f_data): New type.
60098         (struct test_ff_f_data_nexttoward): Likewise.
60099         (RUN_TEST_LOOP_2_f): New macro.
60100         (RUN_TEST_LOOP_ff_f): Likewise.
60101         (atan2_test_data): New variable.
60102         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
60103         (copysign_test_data): New variable.
60104         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
60105         (fdim_test_data): New variable.
60106         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
60107         (fmax_test_data): New variable.
60108         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
60109         (fmin_test_data): New variable.
60110         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
60111         (fmod_test_data): New variable.
60112         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
60113         (hypot_test_data): New variable.
60114         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
60115         (nextafter_test_data): New variable.
60116         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
60117         (nexttoward_test_data): New variable.
60118         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
60119         (pow_test_data): New variable.
60120         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
60121         (pow_tonearest_test_data): New variable.
60122         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
60123         (pow_towardzero_test_data): New variable.
60124         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
60125         (pow_downward_test_data): New variable.
60126         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
60127         (pow_upward_test_data): New variable.
60128         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
60129         (remainder_test_data): New variable.
60130         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
60131         (scalb_test_data): New variable.
60132         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
60133         * sysdeps/i386/fpu/libm-test-ulps: Update.
60135 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
60137         * math/libm-test.inc (fma_test): Use max_value instead of local
60138         variable fltmax.
60139         (nextafter_test): Likewise.
60141         * math/libm-test.inc (acos_towardzero_test_data): New variable.
60142         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60143         (acos_downward_test_data): New variable.
60144         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60145         (acos_upward_test_data): New variable.
60146         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60147         (acosh_test_data): New variable.
60148         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
60149         (asin_test_data): New variable.
60150         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
60151         (asin_tonearest_test_data): New variable.
60152         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60153         (asin_towardzero_test_data): New variable.
60154         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60155         (asin_downward_test_data): New variable.
60156         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60157         (asin_upward_test_data): New variable.
60158         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60159         (asinh_test_data): New variable.
60160         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
60161         (atan_test_data): New variable.
60162         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
60163         (atanh_test_data): New variable.
60164         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
60165         (cbrt_test_data): New variable.
60166         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
60167         (ceil_test_data): New variable.
60168         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
60169         (cos_test_data): New variable.
60170         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
60171         (cos_tonearest_test_data): New variable.
60172         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60173         (cos_towardzero_test_data): New variable.
60174         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60175         (cos_downward_test_data): New variable.
60176         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60177         (cos_upward_test_data): New variable.
60178         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60179         (cosh_test_data): New variable.
60180         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
60181         (cosh_tonearest_test_data): New variable.
60182         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60183         (cosh_towardzero_test_data): New variable.
60184         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60185         (cosh_downward_test_data): New variable.
60186         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60187         (cosh_upward_test_data): New variable.
60188         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60189         (erf_test_data): New variable.
60190         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
60191         (erfc_test_data): New variable.
60192         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
60193         (exp_test_data): New variable.
60194         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
60195         (exp_tonearest_test_data): New variable.
60196         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60197         (exp_towardzero_test_data): New variable.
60198         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60199         (exp_downward_test_data): New variable.
60200         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60201         (exp_upward_test_data): New variable.
60202         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60203         (exp10_test_data): New variable.
60204         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
60205         (exp2_test_data): New variable.
60206         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
60207         (expm1_test_data): New variable.
60208         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
60209         (fabs_test_data): New variable.
60210         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
60211         (floor_test_data): New variable.
60212         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
60213         (j0_test_data): New variable.
60214         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
60215         (j1_test_data): New variable.
60216         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
60217         (log_test_data): New variable.
60218         (log_test): Run tests with RUN_TEST_LOOP_f_f.
60219         (log10_test_data): New variable.
60220         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
60221         (log1p_test_data): New variable.
60222         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
60223         (log2_test_data): New variable.
60224         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
60225         (logb_test_data): New variable.
60226         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
60227         (logb_downward_test_data): New variable.
60228         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60229         (nearbyint_test_data): New variable.
60230         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
60231         (rint_test_data): New variable.
60232         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
60233         (rint_tonearest_test_data): New variable.
60234         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60235         (rint_towardzero_test_data): New variable.
60236         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60237         (rint_downward_test_data): New variable.
60238         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60239         (rint_upward_test_data): New variable.
60240         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60241         (round_test_data): New variable.
60242         (round_test): Run tests with RUN_TEST_LOOP_f_f.
60243         (sin_test_data): New variable.
60244         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
60245         (sin_tonearest_test_data): New variable.
60246         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60247         (sin_towardzero_test_data): New variable.
60248         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60249         (sin_downward_test_data): New variable.
60250         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60251         (sin_upward_test_data): New variable.
60252         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60253         (sinh_test_data): New variable.
60254         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
60255         (sinh_tonearest_test_data): New variable.
60256         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60257         (sinh_towardzero_test_data): New variable.
60258         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60259         (sinh_downward_test_data): New variable.
60260         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60261         (sinh_upward_test_data): New variable.
60262         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60263         (sqrt_test_data): New variable.
60264         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
60265         (tan_test_data): New variable.
60266         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
60267         (tan_tonearest_test_data): New variable.
60268         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60269         (tan_towardzero_test_data): New variable.
60270         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60271         (tan_downward_test_data): New variable.
60272         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60273         (tan_upward_test_data): New variable.
60274         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60275         (tanh_test_data): New variable.
60276         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
60277         (tgamma_test_data): New variable.
60278         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
60279         (trunc_test_data): New variable.
60280         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
60281         (y0_test_data): New variable.
60282         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
60283         (y1_test_data): New variable.
60284         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
60285         (significand_test_data): New variable.
60286         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
60288 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
60290         [BZ #12387]
60291         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
60293 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60295         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
60297 2013-05-10  Andreas Jaeger  <aj@suse.de>
60299         [BZ #15448]
60300         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
60301         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
60303 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
60305         * math/gen-libm-test.pl (adjust_arg): New function.
60306         (special_functions): Handle generating output in both functions
60307         and arrays.
60308         (parse_args): Likewise.
60309         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
60310         $in_func argument to parse_args.
60311         * math/libm-test.inc (struct test_f_f_data): New type.
60312         (IF_ROUND_INIT_): New macro.
60313         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
60314         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
60315         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
60316         (IF_ROUND_INIT_FE_UPWARD): Likewise.
60317         (ROUND_RESTORE_): Likewise.
60318         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
60319         (ROUND_RESTORE_FE_TONEAREST): Likewise.
60320         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
60321         (ROUND_RESTORE_FE_UPWARD): Likewise.
60322         (RUN_TEST_LOOP_f_f): New macro.
60323         (acos_test_data): New variable.
60324         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
60325         (acos_tonearest_test_data): New variable.
60326         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60328 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60330         * benchtests/bench-skeleton.c (startup): Fix coding style.
60332 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
60334         [BZ #6809]
60335         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
60336         negative infinity argument.
60337         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
60338         negative infinity argument.
60339         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
60340         negative infinity argument.
60341         * math/libm-test.inc (tgamma_test): Expect errno to be set for
60342         domain errors.
60344 2013-05-10  Florian Weimer  <fweimer@redhat.com>
60346         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
60347         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
60348         * iconv/iconv_prog.c (main): Likewise.
60349         * locale/programs/charmap-dir.c (charmap_readdir)
60350         (fopen_uncompressed): Likewise.
60351         * locale/programs/locfile.c (siblings_uncached)
60352         (write_locale_data): Use lstat64 instead of lstat.
60353         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
60354         stat.
60356 2013-05-10  Andreas Jaeger  <aj@suse.de>
60358         [BZ #15395]
60359         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
60360         localization.
60361         Include <locale.h>.
60363 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
60365         * elf/dl-close.c (_dl_close_worker): Add comments.
60367 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
60369         [BZ #15359]
60370         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
60371         high part of pi/2.
60372         (__ieee754_rem_pio2l): Update comments.
60374         [BZ #15429]
60375         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
60376         high part of pi/2.
60377         (__ieee754_rem_pio2l): Update comments.
60379         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
60380         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
60382         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
60383         M_PI_4l.
60385         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
60386         (M_PI_34_LOG10El): Likewise.
60387         (M_PI2_LOG10El): Likewise.
60388         (M_PI4_LOG10El): Likewise.
60389         (M_PI_LOG10El): Likewise.
60391 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60393         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60395 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
60397         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
60398         (MINUS_ZERO_INIT): Likewise.
60399         (PLUS_INFTY_INIT): Likewise.
60400         (MINUS_INFTY_INIT): Likewise.
60401         (QNAN_VALUE_INIT): Likewise.
60402         (MAX_VALUE_INIT): Likewise.
60403         (MIN_VALUE_INIT): Likewise.
60404         (MIN_SUBNORM_VALUE_INIT): Likewise.
60405         (plus_zero): Initialize with PLUS_ZERO_INIT.
60406         (minus_zero): Initialize with MINUS_ZERO_INIT.
60407         (plus_infty): Initialize with PLUS_INFTY_INIT.
60408         (minus_infty): Initialize with MINUS_INFTY_INIT.
60409         (qnan_value): Initialize with QNAN_VALUE_INIT.
60410         (max_value): Initialize with MAX_VALUE_INIT.
60411         (min_value): Initialize with MIN_VALUE_INIT.
60412         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
60414         * math/libm-test.inc (RUN_TEST_if_f): New macro.
60415         (jn_test): Use TEST_if_f instead of TEST_ff_f.
60416         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
60417         (yn_test): Use TEST_if_f instead of TEST_ff_f.
60419         * math/libm-test.inc (RUN_TEST_f_f): New macro.
60420         (RUN_TEST_2_f): Likewise.
60421         (RUN_TEST_ff_f): Likewise.
60422         (RUN_TEST_fi_f): Likewise.
60423         (RUN_TEST_fl_f): Likewise.
60424         (RUN_TEST_fff_f): Likewise.
60425         (RUN_TEST_c_f): Likewise.
60426         (RUN_TEST_f_f1): Likewise.
60427         (RUN_TEST_fF_f1): Likewise.
60428         (RUN_TEST_fI_f1): Likewise.
60429         (RUN_TEST_ffI_f1): Likewise.
60430         (RUN_TEST_c_c): Likewise.
60431         (RUN_TEST_cc_c): Likewise.
60432         (RUN_TEST_f_i): Likewise.
60433         (RUN_TEST_f_i_tg): Likewise.
60434         (RUN_TEST_ff_i_tg): Likewise.
60435         (RUN_TEST_f_b): Likewise.
60436         (RUN_TEST_f_b_tg): Likewise.
60437         (RUN_TEST_f_l): Likewise.
60438         (RUN_TEST_f_L): Likewise.
60439         (RUN_TEST_sincos): Likewise.
60440         * math/gen-libm-test.pl (new_test): Take new argument to indicate
60441         whether to show exceptions.  Do not include ");\n" in return
60442         value.
60443         (special_functions): Output call to RUN_TEST_sincos instead of
60444         check_float calls.  Update calls to new_test.
60445         (parse_args): Output call to single RUN_TEST_* macro instead of
60446         check_* calls and other assignments.  Update calls to new_test.
60448         [BZ #2546]
60449         [BZ #2560]
60450         [BZ #5159]
60451         [BZ #15426]
60452         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
60453         input to result for tgamma overflow.
60454         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
60455         (gamma_coeff): New variable.
60456         (NCOEFF): New macro.
60457         (gamma_positive): New function.
60458         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
60459         underflow here.  Use gamma_positive instead of exp (lgamma) for
60460         other arguments.
60461         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
60462         (gamma_coeff): New variable.
60463         (NCOEFF): New macro.
60464         (gammaf_positive): New function.
60465         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
60466         underflow here.  Use gamma_positive instead of exp (lgamma) for
60467         other arguments.
60468         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
60469         (gamma_coeff): New variable.
60470         (NCOEFF): New macro.
60471         (gammal_positive): New function.
60472         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
60473         underflow here.  Use gamma_positive instead of exp (lgamma) for
60474         other arguments.
60475         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
60476         (gamma_coeff): New variable.
60477         (NCOEFF): New macro.
60478         (gammal_positive): New function.
60479         (__ieee754_gammal_r): Handle positive infinity, overflow and
60480         underflow here.  Handle NaN the same as positive infinity.  Remove
60481         check x < 0xffffffff for negative integers.  Use gamma_positive
60482         instead of exp (lgamma) for other arguments.
60483         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
60484         (gamma_coeff): New variable.
60485         (NCOEFF): New macro.
60486         (gammal_positive): New function.
60487         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
60488         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
60489         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
60490         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
60491         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
60492         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
60493         * sysdeps/generic/math_private.h (__gamma_productf): New
60494         prototype.
60495         (__gamma_product): Likewise.
60496         (__gamma_productl): Likewise.
60497         * math/Makefile (libm-calls): Add gamma_product.
60498         * math/libm-test.inc (tgamma_test): Add more tests.
60499         * sysdeps/i386/fpu/libm-test-ulps: Update.
60500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60502 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
60504         * benchtests/bench-skeleton.c (main): Preheat CPU.
60506 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
60508         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
60510 2013-05-07  Roland McGrath  <roland@hack.frob.com>
60512         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
60513         and _dl_skip_args_internal.
60515 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
60517         * manual/message.texi (Message Translation): Talk about users.
60518         Message to key mapping impacts design.
60520 2013-05-06  Roland McGrath  <roland@hack.frob.com>
60522         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
60524         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
60526         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
60527         * sysdeps/wordsize-64/glob64.c: ... here.
60529         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
60530         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
60531         New macros.
60533         * debug/getlogin_r_chk.c: Moved to ...
60534         * login/getlogin_r_chk.c: ... here.
60535         * debug/Makefile (routines): Move getlogin_r_chk to ...
60536         * login/Makefile (routines): ... here.
60537         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
60538         * login/Versions (libc: GLIBC_2.4): ... here.
60540         * io/poll.c (__poll): Renamed from poll.
60541         Add libc_hidden_def.
60542         (poll): Define as weak alias.
60544         * debug/ptsname_r_chk.c: Moved to ...
60545         * login/ptsname_r_chk.c: ... here.
60546         * debug/Makefile (routines): Move ptsname_r_chk to ...
60547         * login/Makefile (routines): ... here.
60548         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
60549         * login/Versions (libc: GLIBC_2.4): ... here.
60551         * posix/getlogin.c: Moved to ...
60552         * login/getlogin.c: ... here.
60553         * posix/getlogin_r.c: Moved to ...
60554         * login/getlogin_r.c: ... here.
60555         * posix/getlogin_r.c: Moved to ...
60556         * login/getlogin_r.c: ... here.
60557         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
60558         * login/Makefile (routines): ... here.
60559         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
60560         * login/Versions (libc: GLIBC_2.0): ... here.
60562         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
60563         (setrlimit): Define as weak alias.
60565         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
60566         Call __ names for open, ftruncate, and close.
60567         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
60568         (truncate): Define as weak alias.
60570 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
60572         * math/gen-libm-test.pl (parse_args): Initialize x before each
60573         test of frexp, modf and remquo.
60575         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
60576         test signgam value.
60578 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60580         [BZ #15418]
60581         [BZ #15419]
60582         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
60583         internal tests.
60584         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60586 2013-05-06  Roland McGrath  <roland@hack.frob.com>
60588         * elf/dl-writev.h: New file.
60589         * elf/dl-misc.c: Include it.
60590         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
60591         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
60593 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
60595         * math/libm-test.inc (noXFails): Remove variable.
60596         (noXPasses): Likewise.
60597         (BUILD_COMPLEX_INT): Remove macro.
60598         (print_screen): Remove xfail argument.
60599         (print_screen_max_error): Likewise.
60600         (update_stats): Likewise.
60601         (print_max_error): Likewise.  Update calls to other affected
60602         functions.
60603         (print_complex_max_error): Likewise.
60604         (test_single_exception): Update calls to print_screen.
60605         (test_single_errno): Likewise.
60606         (check_float_internal): Remove xfail argument.  Update calls to
60607         other affected functions.
60608         (check_float): Likewise.
60609         (check_complex): Likewise.
60610         (check_int): Likewise.
60611         (check_long): Likewise.
60612         (check_bool): Likewise.
60613         (check_longlong): Likewise.
60614         (main): Don't print noXFails and noXPasses.
60615         * math/gen-libm-test.pl (top level): Don't mention expected
60616         failure handling in comment.
60617         (new_test): Don't handle expected failures.
60618         (parse_args): Don't mention expected failure handling in comment.
60619         (generate_testfile): Don't handle expected failures.
60620         (parse_ulps): Likewise.
60621         (print_ulps_file): Likewise.
60622         (get_failure): Remove function.
60623         (output_test): Don't handle expected failures.
60624         * make/README.libm-test: Don't mention expected failure handling.
60626         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
60627         (minus_zero): Likewise.
60628         (plus_infty): Likewise.
60629         (minus_infty): Likewise.
60630         (qnan_value): Likewise.
60631         (max_value): Likewise.
60632         (min_value): Likewise.
60633         (min_subnorm_value): Likewise.
60634         (initialize): Do not initialize those variables dynamically.
60636 2013-05-03  Roland McGrath  <roland@hack.frob.com>
60638         * io/open.c (__open_2): Moved to ...
60639         * io/open_2.c: ... this new file.
60640         * io/open64.c (__open64_2): Moved to ...
60641         * io/open64_2.c: ... this new file.
60642         * io/openat.c (__openat_2): Moved to ...
60643         * io/openat_2.c: ... this new file.
60644         * io/openat64.c (__openat64_2): Moved to ...
60645         * io/openat64_2.c: ... this new file.
60646         * io/Makefile (routines): Add them.
60647         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
60648         * sysdeps/unix/sysv/linux/open_2.c: File removed.
60649         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
60650         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
60651         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
60652         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
60653         (__openat64): Add hidden_ver.
60654         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
60655         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
60657         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
60658         Separately conditionalize setting of GLRO(dl_sysinfo) so
60659         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
60660         as well, but the actual setting is only under [NEED_DL_SYSINFO].
60662 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60664         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
60665         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
60666         definition.
60667         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
60668         * sysdeps/unix/sysv/linux/powerpc/init-first.c
60669         (_libc_vdso_platform_setup): Add __vdso_time initialization.
60670         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
60671         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
60673 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
60675         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
60676         test signgam value.
60678         * math/libm-test.inc (hypot_test): Do not use
60679         IGNORE_ZERO_INF_SIGN.
60681 2013-05-03  Andreas Jaeger  <aj@suse.de>
60683         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
60684         Linux 3.9.
60685         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
60686         (PF_MAX): Adjust for VSOCK change.
60688 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60690         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60692 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
60694         [BZ #15264]
60695         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
60696         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
60697         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
60699 2013-05-02  David S. Miller  <davem@davemloft.net>
60701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60703 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
60705         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
60707 2013-05-01  Roland McGrath  <roland@hack.frob.com>
60709         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
60711 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
60713         [BZ #14952]
60714         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
60715         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
60716         Use __attribute__ ((__gnu_inline__)).
60717         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
60718         Don't use __attribute__ ((__gnu_inline__)).
60720 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
60722         [BZ #15423]
60723         * math/s_catan.c (__catan): Handle small real or imaginary part of
60724         input specially to avoid spurious underflow.
60725         * math/s_catanf.c (__catanf): Likewise.
60726         * math/s_catanh.c (__catanh): Likewise.
60727         * math/s_catanhf.c (__catanhf): Likewise.
60728         * math/s_catanhl.c (__catanhl): Likewise.
60729         * math/s_catanl.c (__catanl): Likewise.
60730         * math/libm-test.inc (catan_test): Add more tests.
60731         (catanh_test): Likewise.
60732         * sysdeps/i386/fpu/libm-test-ulps: Update.
60733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60735 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60737         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60739 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
60741         [BZ #15416]
60742         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
60743         accurately for denominator in atan2.
60744         * math/s_catanf.c (__catanf): Likewise.
60745         * math/s_catanh.c (__catanh): Likewise.
60746         * math/s_catanhf.c (__catanhf): Likewise.
60747         * math/s_catanhl.c (__catanhl): Likewise.
60748         * math/s_catanl.c (__catanl): Likewise.
60749         * math/libm-test.inc (catan_test): Add more tests.
60750         (catanh_test): Likewise.
60751         * sysdeps/i386/fpu/libm-test-ulps: Update.
60752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60754 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60756         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
60758         * benchtests/Makefile (bench): Remove slow benchmarks.
60759         * benchtests/atan-inputs: Add slow benchmark inputs.
60760         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
60761         (BENCH_FUNC): Accept variant offset.
60762         (VARIANT): Define.
60763         * benchtests/bench-skeleton.c (main): Run benchmark for each
60764         variant.
60765         * benchtests/cos-inputs: Add slow benchmark inputs.
60766         * benchtests/exp-inputs: Likewise.
60767         * benchtests/pow-inputs: Likewise.
60768         * benchtests/sin-inputs: Likewise.
60769         * benchtests/slowatan-inputs: Remove.
60770         * benchtests/slowatan.c: Remove.
60771         * benchtests/slowcos-inputs: Remove.
60772         * benchtests/slowcos.c: Remove.
60773         * benchtests/slowexp-inputs: Remove.
60774         * benchtests/slowexp.c: Remove.
60775         * benchtests/slowpow-inputs: Remove.
60776         * benchtests/slowpow.c: Remove.
60777         * benchtests/slowsin-inputs: Remove.
60778         * benchtests/slowsin.c: Remove.
60779         * benchtests/slowtan-inputs: Remove.
60780         * benchtests/slowtan.c: Remove.
60781         * benchtests/tan-inputs: Add slow benchmark inputs.
60782         * scripts/bench.pl: Parse comments and directives.
60784         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
60785         in CPPFLAGS.
60786         ($(objpfx)bench-%.c): Remove *-ITER.
60787         * benchtests/bench-modf.c: Remove definition of ITER.
60788         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
60789         (main): Loop for DURATION seconds instead of fixed number of
60790         iterations.
60791         * scripts/bench.pl: Don't expect iterations in parameters.
60793 2013-04-29  Roland McGrath  <roland@hack.frob.com>
60795         * io/fchdir.c (__fchdir): Renamed from fchdir.
60796         (fchdir): Define as weak alias.
60798 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
60800         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
60801         (ERRNO_EDOM): Likewise.
60802         (ERRNO_ERANGE): Likewise.
60803         (noErrnoTests): New variable.
60804         (init_max_error): Set errno to 0.
60805         (test_single_errno): New function.
60806         (test_errno): Likewise.
60807         (check_float_internal): Call test_errno.  Set errno to 0.
60808         (check_complex): Refer to errno tests in comment.
60809         (check_int): Call test_errno.  Set errno to 0.
60810         (check_long): Likewise.
60811         (check_bool): Likewise.
60812         (check_longlong): Likewise.
60813         (cos_test): Use ERRNO_* flags for errno tests instead of
60814         check_int.
60815         (expm1_test): Likewise.
60816         (fmod_test): Likewise.
60817         (ilogb_test): Likewise.
60818         (lgamma_test): Likewise.
60819         (pow_test): Likewise.
60820         (remainder_test): Likewise.
60821         (sin_test): Likewise.
60822         (tan_test): Likewise.
60823         (yn_test): Likewise.
60824         (initialize): Set errno to 0.
60825         (main): Print number of errno tests.
60826         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
60828 2013-04-29  Andreas Jaeger  <aj@suse.de>
60830         [BZ #15084]
60831         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
60832         and RES_USEVC.
60834         [BZ #15085]
60835         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
60836         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
60837         unimplemented.
60839         [BZ #15380]
60840         * stdlib/random.c (__initstate): Return NULL if
60841         __initstate fails.
60843         [BZ #15086]
60844         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
60845         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
60846         RES_SNGLKUPREOP.
60848 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60850         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60852 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
60854         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
60855         of individual tests.
60856         (casin_test): Likewise.
60857         (casinh_test): Likewise.
60859 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
60861         [BZ #15409]
60862         * math/s_catan.c (__catan): Handle arguments with large real or
60863         imaginary part separately without squaring.
60864         * math/s_catanf.c (__catanf): Likewise.
60865         * math/s_catanh.c (__catanh): Likewise.
60866         * math/s_catanhf.c (__catanhf): Likewise.
60867         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
60868         and redefine.
60869         (__catanhl): Handle arguments with large real or imaginary part
60870         separately without squaring.
60871         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
60872         and redefine.
60873         (__catanl): Handle arguments with large real or imaginary part
60874         separately without squaring.
60875         * math/libm-test.inc (catan_test): Add more tests.
60876         (catanh_test): Likewise.
60877         * sysdeps/i386/fpu/libm-test-ulps: Update.
60878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60880 2013-04-27  Andreas Jaeger  <aj@suse.de>
60882         [BZ #15007]
60883         * stdlib/stdlib.h: Update guards for qecvt.
60884         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
60885         <stdlib.h>.
60887 2013-04-27  Allan McRae  <allan@archlinux.org>
60889         * sysdeps/i386/fpu/libm-test-ulps: Update.
60891 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
60893         [BZ #15406]
60894         * math/s_catan.c: Include <float.h>.
60895         (__catan): Ensure underflow exception occurs for underflowed
60896         result.
60897         * math/s_catanf.c: Include <float.h>.
60898         (__catanf): Ensure underflow exception occurs for underflowed
60899         result.
60900         * math/s_catanh.c: Include <float.h>.
60901         (__catanh): Ensure underflow exception occurs for underflowed
60902         result.
60903         * math/s_catanhf.c: Include <float.h>.
60904         (__catanhf): Ensure underflow exception occurs for underflowed
60905         result.
60906         * math/s_catanhl.c: Include <float.h>.
60907         (__catanhl): Ensure underflow exception occurs for underflowed
60908         result.
60909         * math/s_catanl.c: Include <float.h>.
60910         (__catanl): Ensure underflow exception occurs for underflowed
60911         result.
60912         * math/libm-test.inc (catan_test): Add more tests.
60913         (catanh_test): Likewise.
60915         [BZ #15405]
60916         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
60917         underflowed result.
60918         * math/s_ccoshf.c (__ccoshf): Likewise.
60919         * math/s_ccoshl.c (__ccoshl): Likewise.
60920         * math/s_csin.c (__csin): Likewise.
60921         * math/s_csinf.c (__csinf): Likewise.
60922         * math/s_csinh.c (__csinh): Likewise.
60923         * math/s_csinhf.c (__csinhf): Likewise.
60924         * math/s_csinhl.c (__csinhl): Likewise.
60925         * math/s_csinl.c (__csinl): Likewise.
60926         * math/libm-test.inc (ccos_test): Add more tests.
60927         (ccosh_test): Likewise.
60928         (csin_test): Likewise.
60929         (csinh_test): Likewise.
60931 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60933         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
60934         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
60935         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
60936         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
60937         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
60938         powerpc/power5+/fpu folders.
60939         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
60942 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
60944         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60946 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
60948         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
60949         additions to variable.
60950         [$(config-machine) = x86_64] (modules-names): Likewise.
60951         ($(objpfx)tst-audit3): Remove dependency.
60952         ($(objpfx)tst-audit3.out): Likewise.
60953         ($(objpfx)tst-audit4): Likewise.
60954         ($(objpfx)tst-audit4.out): Likewise.
60955         ($(objpfx)tst-audit5): Likewise.
60956         ($(objpfx)tst-audit5.out): Likewise.
60957         ($(objpfx)tst-audit6): Likewise.
60958         ($(objpfx)tst-audit6.out): Likewise.
60959         ($(objpfx)tst-audit7): Likewise.
60960         ($(objpfx)tst-audit7.out): Likewise.
60961         (tst-audit3-ENV): Remove variable.
60962         (tst-audit4-ENV): Likewise.
60963         (tst-audit5-ENV): Likewise.
60964         (tst-audit6-ENV): Likewise.
60965         (tst-audit7-ENV): Likewise.
60966         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
60967         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
60968         addition to variable.
60969         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
60970         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
60971         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
60972         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
60973         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
60974         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
60975         tst-audit3, tst-audit4 and tst-audit5.
60976         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
60977         tst-audit6 and tst-audit7.
60978         [$(subdir) = elf] (modules-names): Add audit modules for those
60979         tests.
60980         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
60981         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
60982         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
60983         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
60984         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
60985         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
60986         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
60987         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
60988         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
60989         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
60990         [$(subdir) = elf] (tst-audit3-ENV): New variable.
60991         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
60992         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
60993         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
60994         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
60995         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
60996         Likewise.
60997         [$(subdir) = elf && $(config-cflags-avx) = yes]
60998         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
60999         [$(subdir) = elf && $(config-cflags-avx) = yes]
61000         (CFLAGS-tst-auditmod4a.c): Likewise.
61001         [$(subdir) = elf && $(config-cflags-avx) = yes]
61002         (CFLAGS-tst-auditmod4b.c): Likewise.
61003         [$(subdir) = elf && $(config-cflags-avx) = yes]
61004         (CFLAGS-tst-auditmod6b.c): Likewise.
61005         [$(subdir) = elf && $(config-cflags-avx) = yes]
61006         (CFLAGS-tst-auditmod6c.c): Likewise.
61007         [$(subdir) = elf && $(config-cflags-avx) = yes]
61008         (CFLAGS-tst-auditmod7b.c): Likewise.
61009         * elf/tst-audit3.c: Move to ...
61010         * sysdeps/x86_64/tst-audit3.c: ... here.
61011         * elf/tst-audit4.c: Move to ...
61012         * sysdeps/x86_64/tst-audit4.c: ... here.
61013         * elf/tst-audit5.c: Move to ...
61014         * sysdeps/x86_64/tst-audit5.c: ... here.
61015         * elf/tst-audit6.c: Move to ...
61016         * sysdeps/x86_64/tst-audit6.c: ... here.
61017         * elf/tst-audit7.c: Move to ...
61018         * sysdeps/x86_64/tst-audit7.c: ... here.
61019         * elf/tst-auditmod3a.c: Move to ...
61020         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
61021         * elf/tst-auditmod3b.c: Move to ...
61022         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
61023         * elf/tst-auditmod4a.c: Move to ...
61024         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
61025         * elf/tst-auditmod4b.c: Move to ...
61026         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
61027         * elf/tst-auditmod5a.c: Move to ...
61028         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
61029         * elf/tst-auditmod5b.c: Move to ...
61030         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
61031         * elf/tst-auditmod6a.c: Move to ...
61032         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
61033         * elf/tst-auditmod6b.c: Move to ...
61034         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
61035         * elf/tst-auditmod6c.c: Move to ...
61036         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
61037         * elf/tst-auditmod7a.c: Move to ...
61038         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
61039         * elf/tst-auditmod7b.c: Move to ...
61040         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
61042 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
61044         [BZ #15366]
61045         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
61046         define unconditionally.
61047         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
61048         define unconditionally.
61049         (INT8_C, INT16_C, etc.): Likewise.
61051 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
61053         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
61054         __ehdr_start with hidden visibility.
61056         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
61058 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
61060         * math/libm-test.inc (cos_test): Use accurate hex constants.
61061         (sincost_test): Likewise.
61063 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
61065         * math/libm-test.inc (catan_test): Add more tests.
61066         (catanh_test): Likewise.
61068         * math/s_catanf.c (__catanf): Use suffixed floating-point
61069         constants.
61070         * math/s_catanhf.c (__catanhf): Likewise.
61071         * math/s_catanhl.c (__catanhl): Likewise.
61072         * math/s_catanl.c (__catanl): Likewise.
61074         [BZ #15394]
61075         * math/s_catan.c (__catan): Calculate imaginary part of result
61076         with log1p not log unless computing log of number close to 0.
61077         * math/s_catanf.c (__catanf): Likewise.
61078         * math/s_catanl.c (__catanl): Likewise.
61079         * math/s_catanh.c (__catanh): Calculate real part of result with
61080         log1p not log unless computing log of number close to 0.
61081         * math/s_catanhf.c (__catanhf): Likewise.
61082         * math/s_catanhl.c (__catanhl): Likewise.
61083         * math/libm-test.inc (catan_test): Add more tests.
61084         (catanh_test): Likewise.
61085         * sysdeps/i386/fpu/libm-test-ulps: Update.
61086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61088 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
61090         * benchtests/Makefile: Mention files in which fast and slow
61091         paths of math functions are implemented.
61093 2013-04-23  Roland McGrath  <roland@hack.frob.com>
61095         * sysdeps/posix/timespec_get.c: New file.
61097 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61099         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
61100         POWER.
61101         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
61102         for POWER.
61103         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
61104         powerpc/power5/fpu folders.
61105         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
61106         * benchtests/Makefile: Add modf testcase.
61107         * benchtests/bench-modf.c: New file: Benchmark test for mo
61109 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
61111         [BZ #14888]
61112         * time/Makefile (tests): Add tst-strptime-whitespace.
61113         * time/strptime_l.c (get_number): Use ISSPACE.
61114         (__strptime_internal): Likewise.
61115         * time/tst-strptime-whitespace.c: New test case.
61117 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
61119         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
61120         member.
61121         (_nss_files_init): Set it here.
61123 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
61125         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
61126         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
61127         unsigned.
61129 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
61131         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
61133 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
61135         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
61136         size just once.
61138 2013-04-21  David S. Miller  <davem@davemloft.net>
61140         * po/ru.po: Update Russion translation from translation project.
61142 2013-04-17  Adam Conrad  <adconrad@0c3.net>
61144         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
61145         and setfsgid.
61147 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
61149         * configure.in: Remove i386 configure warning. Remove i386 case.
61150         * configure: Regenerate.
61151         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
61152         Add example to error message.
61153         * sysdeps/i386/configure: Regenerate.
61155 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
61157         * benchtests/Makefile (bench): Add cos, tan, slowcos and
61158         slowtan.
61159         * benchtests/cos-inputs: New file.
61160         * benchtests/slowcos-inputs: New file.
61161         * benchtests/slowcos.c: New file.
61162         * benchtests/slowtan-inputs: New file.
61163         * benchtests/slowtan.c: New file.
61164         * benchtests/tan-inputs: New file.
61166 2013-04-16  Roland McGrath  <roland@hack.frob.com>
61168         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
61169         considered kosher.
61171 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61173         * benchtests/Makefile: Include cppflags-iterator.mk to add
61174         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
61176         * Makefile.in (bench-clean): New target.
61177         * benchtests/Makefile (bench-clean): Likewise.
61179 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
61181         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
61183 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
61185         * stdio-common/tstdiomisc.c: Fix coding-style violation.
61187 2013-04-15  Andreas Schwab  <schwab@suse.de>
61189         * nscd/grpcache.c (cache_addgr): Properly check for short write.
61190         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61191         * nscd/pwdcache.c (cache_addpw): Likewise.
61192         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
61193         more than recsize.
61195 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61197         * benchtests/Makefile (bench): Write all output to
61198         bench-out.tmp together.
61200 2013-04-15  Andreas Schwab  <schwab@suse.de>
61202         * nscd/nscd.c (main): Don't fork again after closing files.
61204 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61206         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
61208         * benchtests/Rules (bench-deps): Collect dependencies into a
61209         single variable.  Add Makefile to dependencies.
61210         ($(objpfx)bench-%.c): Depend on bench-deps.
61212 2013-04-12  Roland McGrath  <roland@hack.frob.com>
61213             Xavier Roche  <roche+kml2@exalead.com>
61215         [BZ #15361]
61216         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
61217         just that it's a file descriptor.
61218         * manual/llio.texi (Synchronizing AIO Operations): Update description
61219         for EBADF error from aio_fsync.
61221 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
61223         * Rules (bench): Move target definition...
61224         * benchtests/Makefile: ... here.
61226 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
61228         * math/libm-test.inc (cos_test): Fix PI/2 test.
61229         (sincos_test): Likewise.
61230         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
61231         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
61233 2013-04-11  Andreas Schwab  <schwab@suse.de>
61235         [BZ #13988]
61236         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
61237         accept exponent character only when digits were seen.
61238         * stdio-common/Makefile (tests): Add bug26.
61239         * stdio-common/bug26.c: New file.
61241         [BZ #14293]
61242         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
61243         non-freeable.
61245 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61247         * Makeconfig (rtld-prefix): Define built linker prefix.
61248         * Rules (run-bench): Use it.
61249         * math/Makefile (run-regen-ulps): Likewise.
61251         * Rules (bench): Remove eval.
61253 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61254             Roland McGrath  <roland@hack.frob.com>
61255             Ondrej Bilka  <neleai@seznam.cz>
61257         [BZ #15346]
61258         * time/getdate.c: Include ctype.h and alloca.h.
61259         (__getdate_r): Trim leading and trailing spaces of input.
61260         * time/tst-getdate.c (tests): Add tests with leading and
61261         trailing spaces.
61263 2013-04-08  Roland McGrath  <roland@hack.frob.com>
61265         [BZ #14280]
61266         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
61267         when computing value.
61269 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61271         * math/README.libm-test (How can I generate "libm-test-ulps"?):
61272         Use testrun.sh to run libm tests.
61274         [BZ #15309]
61275         * elf/dl-open.c (dl_open_worker): memset all of seen array.
61277 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
61279         [BZ #15264]
61280         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
61282 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61284         * Makefile.in (regen-ulps): New target.
61285         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
61286         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
61287         [ifneq (no,$(PERL)] (regen-ulps): New target.
61288         [ifeq (no,$(PERL)] (regen-ulps): New target.
61289         * math/libm-test.inc (ulps_file_name): Define.
61290         (output_dir): New variable.
61291         (options): Add "output-dir" option.
61292         (parse_opt): Handle 'o' case.
61293         (main): If output_dir is non-NULL use it as a prefix
61294         otherwise use "".
61295         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
61297 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61299         [BZ #10060, #10062]
61300         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
61301         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
61302         fail configure if __sync_val_compare_and_swap is not inlined.
61303         * sysdeps/i386/configure: Regenerate.
61304         * configure.in: Build for i686 when configured for i386.
61305         * configure: Regenerate.
61306         * README: Remove i386 reference.
61308 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61310         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
61311         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61313 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
61315         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
61316         (lmsnanval): New variables.
61317         (F): Add conversion tests.
61318         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
61319         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
61321         * stdio-common/tstdiomisc.c (F): Properly collect individual
61322         tests' results.
61324         [BZ #14686, #15336]
61325         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
61326         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
61327         Instead, use input NaN values or generate a qNaN by arithmetic
61328         operation.  Also fix bugs to comply with the standard.
61329         * math/libm-test.inc (remainder_test): Add more tests.
61331         [BZ #15335, #15342]
61332         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
61333         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
61334         input NaN values or generate a qNaN by arithmetic operation.
61336         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
61337         unreachable code.
61339         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
61340         definitions.
61342 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
61344         [BZ #14478]
61345         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
61346         underflowed result.
61347         * math/s_cexpf.c (__cexpf): Likewise.
61348         * math/s_cexpl.c (__cexpl): Likewise.
61349         * math/libm-test.inc (cexp_test): Add more tests.
61351 2013-04-03  Andreas Schwab  <schwab@suse.de>
61353         [BZ #15330]
61354         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
61355         order arrays from heap if bigger than alloca cutoff.
61357 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
61359         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
61360         (SNAN_TESTS_double): Refer to GCC PR56831.
61361         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
61362         GCC PR56828.
61364 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
61366         * Rules (bench): Move bench.out after the run is complete.
61368         * Rules (bench): Echo currently running benchmark.
61370         * benchtests/Makefile (bench): Add atan and slowatan.
61371         * benchtests/atan-inputs: New file.
61372         * benchtests/slowatan-inputs: New file.
61373         * benchtests/slowatan.c: New file.
61375         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
61376         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
61377         its value.
61379         [BZ #15305]
61380         * sysdeps/unix/sysv/linux/kernel-features.h
61381         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
61382         __ASSUME_XFS_RESTRICTED_CHOWN.
61383         * sysdeps/unix/sysv/linux/pathconf.c
61384         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
61385         Save and restore errno.
61387 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
61389         [BZ #15327]
61390         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
61391         arguments using __kernel_casinh.
61392         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
61393         arguments using __kernel_casinhf.
61394         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
61395         arguments using __kernel_casinhl.
61396         * math/libm-test.inc (cacosh_test): Add more tests.
61397         * sysdeps/i386/fpu/libm-test-ulps: Update.
61398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61400 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
61402         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
61403         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
61405         * bench/Makefile (bench): Add sin and slowsin.
61406         * benchtests/sin-inputs: New file.
61407         * benchtests/slowsin-inputs: New file.
61408         * benchtests/slowsin.c: New file.
61410         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
61411         (bench): Add slowexp and slowpow.
61412         (exp-ITER): Increase iterations.
61413         (pow-ITER): Likewise.
61414         * benchtests/exp-inputs: Change input.
61415         * benchtests/pow-inputs: Likewise.
61416         * benchtests/slowexp-inputs: New file.
61417         * benchtests/slowexp.c: New file.
61418         * benchtests/slowpow-inputs: New file.
61419         * benchtests/slowpow.c: New file.
61421 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61423         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
61424         instructions.
61425         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
61426         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
61427         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
61428         * benchtests/Makefile: Add rint benchtest.
61429         * benchtests/rint-inputs: Input for rint benchtest.
61431 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
61433         * Versions.def (libm): Add GLIBC_2.18.
61434         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
61435         hidden libm prototypes.
61436         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
61437         * math/Makefile (libm-calls): Add s_issignaling.
61438         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
61439         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
61440         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
61441         declaration.
61442         * math/math.h [__USE_GNU] (issignaling): New macro.
61443         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
61444         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
61445         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
61446         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
61447         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
61448         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
61449         * manual/arith.texi (issignaling): New section.
61450         * manual/libm-err-tab.pl (@all_functions): Update comment.
61451         * math/gen-libm-test.pl (parse_args): Apply special handling for
61452         issignaling.
61453         * math/libm-test.inc (print_float, issignaling_test): New
61454         functions.
61455         (check_float_internal): Add issignaling checks.
61456         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
61457         default definition.
61458         * sysdeps/powerpc/math-tests.h: New file.
61459         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
61460         tests.
61461         * math/test-snan.c (TEST_FUNC): Likewise.
61463 2013-03-30  David S. Miller  <davem@davemloft.net>
61465         * po/de.po: Update from translation team.
61467 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
61469         [BZ #10357]
61470         * math/k_casinh.c (__kernel_casinh): Handle arguments with
61471         imaginary part less than 1.0 and real part less than 0.5
61472         specially.
61473         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61474         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61475         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
61476         (cacos_test): Add more tests.
61477         (casin_test): Likewise.
61478         (casinh_test): Likewise.
61479         * sysdeps/i386/fpu/libm-test-ulps: Update.
61480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61482 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61484         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
61485         ONE with its value.
61487         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
61488         (__pow_mp): Replace ONE and MONE with their values.
61489         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61490         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
61491         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61492         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
61493         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61494         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61496         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
61498         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
61499         (__pow_mp): Replace ZERO and MZERO with their values.
61500         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
61501         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61502         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61503         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
61504         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61505         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
61506         (__sqr): Likewise.
61508         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
61510         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
61512 2013-03-28  Roland McGrath  <roland@hack.frob.com>
61514         * include/stdlib.h [!SHARED] (__call_tls_dtors):
61515         Declare with __attribute__ ((weak)).
61516         * stdlib/exit.c (__libc_atexit) [!SHARED]:
61517         Call __call_tls_dtors only if it's not NULL.
61519 2013-03-28  Roland McGrath  <roland@hack.frob.com>
61521         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
61522         didn't do it already, then set _dl_phdr and _dl_phnum based on the
61523         magic __ehdr_start linker symbol if it's defined.
61524         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
61525         them up here if it was already done.
61527         * elf/dl-support.c (_dl_phdr): Make pointer to const.
61528         (_dl_aux_init): Use const in cast when setting it.
61529         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
61530         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
61531         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
61533         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
61534         Declare them here.
61535         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
61536         * csu/libc-tls.c: Nor here.
61537         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
61539         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
61540         (__libc_message): Never call vsyslog.
61542 2013-03-28  Alan Modra  <amodra@gmail.com>
61544         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
61545         Define as empty.
61546         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
61547         Likewise.
61549 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61551         [BZ #15214]
61552         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
61553         underflow.
61554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61556 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61558         [BZ #15304]
61559         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
61560         Don't add gid passed as argument.
61562         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
61564 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
61566         [BZ #15307]
61567         * math/k_casinh.c (__kernel_casinh): Handle arguments with
61568         imaginary part between 1.0 and 1.5 and real part less than 0.5
61569         specially.
61570         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61571         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61572         * math/libm-test.inc (cacos_test): Add more tests.
61573         (casin_test): Likewise.
61574         (casinh_test): Likewise.
61575         * sysdeps/i386/fpu/libm-test-ulps: Update.
61576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61578 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61580         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
61581         constants.
61582         (norm): Likewise.
61583         (denorm): Likewise.
61584         (__dbl_mp): Likewise.
61585         (add_magnitudes): Likewise.
61586         (sub_magnitudes): Likewise.
61587         (__add): Likewise.
61588         (__sub): Likewise.
61589         (__mul): Likewise.
61590         (__sqr): Likewise.
61591         (__inv): Likewise.
61592         (__dvd): Likewise.
61594         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
61595         commented code.
61596         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
61597         (__dubcos): Likewise.
61598         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
61599         (__ieee754_acos): Likewise.
61600         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
61601         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
61602         (__exp1): Likewise.
61603         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61604         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
61605         (log1): Likewise.
61606         (my_log2): Likewise.
61607         (checkint): Likewise.
61608         * sysdeps/ieee754/dbl-64/e_remainder.c
61609         (__ieee754_remainder): Likewise.
61610         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61611         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
61612         (bsloww): Likewise.
61613         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61615         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
61616         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
61617         MANTISSA_STORE_T to store computations on mantissa.  Use
61618         macros for rounding and division.
61619         (denorm): Likewise.
61620         (__dbl_mp): Likewise.
61621         (add_magnitudes): Likewise.
61622         (sub_magnitudes): Likewise.
61623         (__mul): Likewise.
61624         (__sqr): Likewise.
61625         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
61626         powers of two in terms of TWOPOW macro.
61627         (mp_no): Make type of mantissa as MANTISSA_T.
61628         [!RADIXI]: Define RADIXI.
61629         [!TWO52]: Define TWO52.
61630         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
61632 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61634         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
61635         llroundl symbol when building for PPC32.
61637 2013-03-24  Mark H Weaver  <mhw@netris.org>
61639         * manual/arith.texi (Normalization Functions): Fix prototypes for
61640         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
61642 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61644         [BZ #13889]
61645         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
61646         high value to check if expl overflow.
61647         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
61648         to check for underflow and overflow.
61649         * math/libm-test.inc: Add exp test.
61651 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
61653         [BZ #11120]
61654         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
61655         with NOT_IN_libc.
61657 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61659         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
61660         symbol.
61662 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
61664         * math/gen-libm-test.pl (parse_args, special_functions): Properly
61665         wrap blocks consisting of several statements.
61667         * sysdeps/generic/math-tests.h: New file.
61668         * sysdeps/i386/fpu/math-tests.h: Likewise.
61669         * math/test-snan.c: Include it.
61670         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
61672 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
61674         [BZ #15285]
61675         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
61676         (__ieee754_j0l): Do not improve calculations using cos of twice
61677         input for inputs above LDBL_MAX / 2.0L.
61678         (__ieee754_y0l): Likewise.
61679         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
61680         (__ieee754_j1l): Do not improve calculations using cos of twice
61681         input for inputs above LDBL_MAX / 2.0L.
61682         (__ieee754_y1l): Likewise.
61683         * math/libm-test.inc (j0_test): Add another test.
61684         (j1_test): Likewise.
61685         (y0_test): Likewise.
61686         (y1_test): Likewise.
61687         * sysdeps/i386/fpu/libm-test-ulps: Update.
61689 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61691         * Rules ($(objpfx)bench-%.c): Include code from a C source
61692         file.
61694 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
61696         [BZ #15287]
61697         * math/k_casinh.c (__kernel_casinh): Handle arguments with
61698         imaginary part 1.0 and real part less than 0.5 specially.
61699         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61700         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61701         * math/libm-test.inc (cacos_test): Add more tests.
61702         (casin_test): Likewise.
61703         (casinh_test): Likewise.
61704         * sysdeps/i386/fpu/libm-test-ulps: Update.
61705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61707 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61709         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
61710         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
61712 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
61714         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
61715         * config.make.in (config-cflags-sse4): Remove variable.
61716         (config-cflags-avx): Likewise.
61717         (config-cflags-sse2avx): Likewise.
61718         (config-cflags-novzeroupper): Likewise.
61719         (config-asflags-i686): Likewise.
61720         (have-mfma4): Likewise.
61721         (have-as-vis3): Likewise.
61722         (MIG): Likewise.
61723         * configure.in (MIG): Do not AC_SUBST.
61724         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
61725         (libc_cv_cc_sse4): Do not AC_SUBST.
61726         (libc_cv_cc_avx): Likewise.
61727         (libc_cv_cc_sse2avx): Likewise.
61728         (libc_cv_cc_novzeroupper): Likewise.
61729         (libc_cv_cc_fma4): Likewise.
61730         (libc_cv_as_i686): Likewise.
61731         (libc_cv_sparc_as_vis3): Likewise.
61732         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
61733         LIBC_CONFIG_VAR.
61734         (config-asflags-i686): Likewise.
61735         (config-cflags-avx): Likewise.
61736         (config-cflags-sse2avx): Likewise.
61737         (have-mfma4): Likewise.
61738         (config-cflags-novzeroupper): Likewise.
61739         * sysdeps/mach/configure.in (MIG): Likewise.
61740         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
61741         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
61742         LIBC_CONFIG_VAR.
61743         (config-cflags-avx): Likewise.
61744         (config-cflags-sse2avx): Likewise.
61745         (have-mfma4): Likewise.
61746         (config-cflags-novzeroupper): Likewise.
61747         * configure: Regenerated.
61748         * sysdeps/i386/configure: Likewise.
61749         * sysdeps/mach/configure: Likewise.
61750         * sysdeps/sparc/configure: Likewise.
61751         * sysdeps/x86_64/configure: Likewise.
61753 2013-03-20  Roland McGrath  <roland@hack.frob.com>
61755         [BZ #14812]
61756         * locale/programs/localedef.c (options): Put N_ translation marker
61757         on argument names, not just descriptions.
61759 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61761         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
61763 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
61765         [BZ #14176]
61766         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
61768 2013-03-19  Roland McGrath  <roland@hack.frob.com>
61770         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
61771         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
61772         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
61773         [!BEFORE_ABORT] (before_abort): New function.
61774         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
61775         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
61776         (writev_for_fatal): New function.
61777         (WRITEV_FOR_FATAL): New macro; call that.
61778         (backtrace_and_maps): New function.
61779         (BEFORE_ABORT): New macro; call that.
61780         (struct str_list): Type removed.
61781         (__libc_message, __libc_fatal): Functions removed.
61782         Include <sysdeps/posix/libc_fatal.c> instead.
61784 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
61786         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
61787         constants.
61788         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
61789         double constants.
61791 2013-03-19  Andreas Schwab  <schwab@suse.de>
61793         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
61794         * sysdeps/gnu/configure: Regenerate.
61796         * configure.in: Substitute libc_cv_rtlddir.
61797         * configure: Regenerate.
61798         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
61799         * Makeconfig (rtlddir, inst_rtlddir): New variables.
61800         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
61801         * elf/Makefile (install-others, CFLAGS-interp.c)
61802         (ldso_install, common-ldd-rewrite): Likewise.
61803         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
61804         $(inst_slibdir)/$(rtld-installed-name).
61805         * scripts/rellns-sh: Add -p option.
61806         * Makerules (make-shlib-link): Use rellns-sh to get relative name
61807         for source.
61809 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61811         * manual/nptl.texi: Renamed to ...
61812         * manual/threads.texi: ... this.
61813         * manual/Makefile (chapters): Update.
61815 2013-03-18  Roland McGrath  <roland@hack.frob.com>
61817         [BZ #14812]
61818         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
61819         on argument names, not just descriptions.
61820         * malloc/memusagestat.c (options): Likewise.
61821         * nss/getent.c (options): Likewise.
61823 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
61825         [BZ #14812]
61826         * iconv/iconv_prog.c (options): Put N_ translation marker
61827         on argument names, not just descriptions.
61828         * iconv/iconvconfig.c (options): Likewise.
61830 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
61832         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
61833         implementation which is faster on all x86_64 architectures.
61834         Tested on AMD, Intel Nehalem, SNB, IVB.
61835         * sysdeps/x86_64/strnlen.S: Likewise.
61837         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
61838         Remove all multiarch strlen and strnlen versions.
61839         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
61840         Remove strlen and strnlen related parts.
61842         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
61843         Inline strlen part.
61844         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
61846         * sysdeps/x86_64/multiarch/strlen.S: Remove.
61847         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
61848         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
61849         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
61850         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
61851         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
61853 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
61855         * manual/memory.texi (Malloc Tunable Parameters):
61856         Sort parameters alphabetically. Add comments for missing entries.
61858 2013-03-17  David S. Miller  <davem@davemloft.net>
61860         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61862 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
61864         [BZ #15283]
61865         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
61866         for arguments at most half maximum finite value.
61867         * math/libm-test.inc (j0_test): Add more tests.
61868         (j1_test): Likewise.
61869         (y0_test): Likewise.
61870         (y1_test): Likewise.
61871         * sysdeps/i386/fpu/libm-test-ulps: Update.
61872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61874         [BZ #14155]
61875         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
61876         1 / x and functions P and Q for arguments above 0x1p256L.
61877         (__ieee754_y0l): Likewise.
61878         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
61879         (__ieee754_y1l): Likewise.
61880         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
61881         (j1_test): Likewise.
61882         (y0_test): Likewise.
61883         (y1_test): Likewise.
61885 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
61887         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
61888         variable.
61890 2013-03-15  Roland McGrath  <roland@hack.frob.com>
61892         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
61893         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
61894         zero since it's initialized to EXEC_PAGESIZE.
61896         * sysdeps/unix/sysv/linux/ldsodefs.h
61897         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
61898         * sysdeps/generic/ldsodefs.h: ... here.
61900 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
61902         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
61904         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
61905         math/test-snan.c.
61906         * math/test-snan.c: Renamed from
61907         sysdeps/powerpc/fpu/test-powerpc-snan.c.
61908         * math/Makefile (tests): Add test-snan.
61909         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
61910         test-powerpc-snan.
61912         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
61913         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
61914         functions.
61915         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
61916         __builtin_nan family of functions.
61917         * math/libm-test.inc (initialize): Initialize qnan_value with
61918         __builtin_nan family of functions.
61919         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
61920         Remove variables.
61921         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
61922         Remove functions.
61923         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
61924         storage class.  Initialize qNaN_var and sNaN_var with
61925         __builtin_nan and __builtin_nans families of functions,
61926         respectively.
61928         * math/libm-test.inc (acosh_test): Also test with qNaN input.
61929         (sqrt_test): Remove duplicate test with qNaN input.
61930         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
61931         (round_test, signbit_test, significand_test): Note missing +/-Inf
61932         as well as qNaN tests.
61934         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
61935         qNaN_var.  Fix a few strings, too.
61936         * math/libm-test.inc (nan_value): Rename to qnan_value.
61937         * math/gen-libm-test.pl (%beautify): Adjust to that.
61938         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
61939         * math/test-misc.c (main): Likewise.
61940         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
61941         to __qnan_bytes, and __qnan_union, respectively.
61942         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
61943         Likewise.
61944         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
61945         and lqnanval, respectively.
61946         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
61947         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
61948         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
61949         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
61951         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
61952         * math/test-misc.c (main) [__x86_64__]: Enable test for long
61953         doubles.
61955         * math/test-misc.c (main): Fix copy'n'pastos.
61956         * misc/tst-efgcvt.c (special): Likewise.
61958         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
61959         Remove declarations.
61961 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61963         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
61964         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
61965         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
61966         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
61968 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61970         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
61971         macro to return vdso values correctly in IFUNC implementations.
61972         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
61973         Optimization by using IFUNC.
61975 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61976             Richard Henderson  <rth@redhat.com>
61977             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61979         * Makefile.in (bench): New target.
61980         * NEWS: Mention the benchmark framework.
61981         * Rules (bench): Likewise.
61982         (binaries-bench): Generate binaries for functions to
61983         benchmark.
61984         * benchtests/Makefile: New makefile for benchmark tests.
61985         * benchtests/bench-skeleton.c: New skeleton file for benchmark
61986         programs.
61987         * benchtests/exp-inputs: New input file for EXP function.
61988         * benchtests/pow-inputs: New input file for POW function.
61989         * scripts/bench.pl: New script to generate source files for
61990         benchmark programs.
61992 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61994         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
61995         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
61996         computations on mantissa.  Use macros for rounding and
61997         division.
61998         (denorm): Likewise.
61999         (__dbl_mp): Likewise.
62000         (add_magnitudes): Likewise.
62001         (sub_magnitudes): Likewise.
62002         (__mul): Likewise.
62003         (__sqr): Likewise.
62004         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
62005         powers of two in terms of TWOPOW macro.
62006         (mp_no): Make type of mantissa as MANTISSA_T.
62007         [!RADIXI]: Define RADIXI.
62008         [!TWO52]: Define TWO52.
62009         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
62011         * manual/nptl.texi (cindex): Modify threads to pthreads.
62013 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
62015         * sysdeps/x86_64/preconfigure: Regenerated.
62017 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
62019         [BZ #14155]
62020         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
62021         0x1p28 and above.
62022         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
62023         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
62024         0x1p28 and above.
62025         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
62026         * math/libm-test.inc (j0_test): Do not allow one spurious
62027         underflow exception.
62028         (y1_test): Likewise.
62030 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
62032         * manual/Makefile (chapters): Add nptl.
62033         * manual/debug.texi (Debugging Support): Add link to Threads
62034         chapter.
62035         * manual/nptl.texi: New file.
62037         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
62039 2013-03-14  Petr Baudis  <pasky@ucw.cz>
62041         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
62042         for non-NULL pointer before the memory validity test. Pointed
62043         out by Holger Brunck <holger.brunck@keymile.com>.
62045 2013-03-13  Andreas Schwab  <schwab@suse.de>
62047         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
62048         instead of .os.
62050 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
62052         * timezone/zic.c: Update from tzcode 2013b.
62054 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
62056         * manual/install.texi (Configuring and compiling):
62057         Mention i686 and i586.
62058         * INSTALL: Regenerate.
62060 2013-03-12  Roland McGrath  <roland@hack.frob.com>
62062         * sysdeps/init_array/elf-init.c: New file.
62063         * csu/elf-init.c
62064         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
62065         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
62067         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
62068         __gmon_start__ as global, but as static with a .preinit_array pointer.
62069         * sysdeps/init_array/gmon-start.c: New file.  Use that.
62070         * sysdeps/init_array/crti.S: New file, empty except for comments.
62071         * sysdeps/init_array/crtn.S: Likewise.
62073 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
62075         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
62076         definining bcopy.
62077         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62078         Remove Prefer_SSE_for_memop.
62079         * sysdeps/x86_64/multiarch/init-arch.h: Remove
62080         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
62081         HAS_PREFER_SSE_FOR_MEMOP.
62082         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
62083         memset-x86-64.
62084         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
62085         Remove bzero, memset ifunc support.
62086         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
62087         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
62088         * sysdeps/x86_64/multiarch/memset.S: Likewise.
62089         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
62091 2013-03-11  Andreas Schwab  <schwab@suse.de>
62093         [BZ #15234]
62094         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
62095         by SHLIB_COMPAT.
62096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
62097         (GLIBC_2.16): Remove pthread_atfork.
62099 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
62101         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
62102         (ptestcases.h): Likewise.
62104 2013-03-08  Roland McGrath  <roland@hack.frob.com>
62106         * Makeconfig ($(common-objpfx)config.status): Depend on
62107         sysdeps/*/preconfigure{,.in} too.
62109 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
62111         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
62112         (__free_hook): Use void * instead of __malloc_ptr_t.
62113         (__malloc_hook): Likewise.
62114         (__realloc_hook): Likewise.
62115         (__memalign_hook): Likewise.
62116         (__after_morecore_hook): Likewise.
62117         * malloc/arena.c (save_malloc_hook): Likewise.
62118         (save_free_hook): Likewise.
62119         * malloc/hooks.c (malloc_hook_ini): Likewise.
62120         (realloc_hook_ini): Likewise.
62121         (memalign_hook_ini): Likewise.
62122         * malloc/malloc.c (malloc_hook_ini): Likewise.
62123         (realloc_hook_ini): Likewise.
62124         (memalign_hook_ini): Likewise.
62125         (__free_hook): Likewise.
62126         (__malloc_hook): Likewise.
62127         (__realloc_hook): Likewise.
62128         (__memalign_hook): Likewise.
62129         (__libc_malloc): Likewise.
62130         (__libc_free): Likewise.
62131         (__libc_realloc): Likewise.
62132         (__libc_memalign): Likewise.
62133         (__libc_valloc): Likewise.
62134         (__libc_pvalloc): Likewise.
62135         (__libc_calloc): Likewise.
62136         (__posix_memalign): Likewise.
62137         * malloc/morecore.c (__sbrk): Likewise.
62138         (__default_morecore): Likewise.
62140         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
62142         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
62143         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
62144         __malloc_ptrdiff_t.
62146         * malloc/malloc.h (__malloc_size_t): Remove macro.
62147         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
62148         __malloc_size_t.
62149         (old_memalign_hook): Likewise.
62150         (old_realloc_hook): Likewise.
62151         (struct hdr): Likewise.
62152         (flood): Likewise.
62153         (mallochook): Likewise.
62154         (memalignhook): Likewise.
62155         (reallochook): Likewise.
62156         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
62157         (tr_old_realloc_hook): Likewise.
62158         (tr_old_memalign_hook): Likewise.
62159         (tr_mallochook): Likewise.
62160         (tr_reallochook): Likewise.
62161         (tr_memalignhook): Likewise.
62163 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62165         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
62166         default_ldbl_pack and using as default implementation.
62167         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
62168         implementation.
62169         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
62170         redundant definition.
62171         (ldbl_insert_mantissa): Likewise.
62172         (ldbl_canonicalize): Likewise.
62173         (ldbl_nearbyint): Likewise.
62174         (ldbl_pack): Rename to ldbl_pack_ppc.
62175         (ldbl_unpack): Rename to ldbl_unpack_ppc.
62176         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
62177         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
62179 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
62181         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
62182         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
62183         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
62184         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
62185         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
62186         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
62187         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
62188         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
62190 2013-03-07  Andreas Jaeger  <aj@suse.de>
62192         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62193         bits/mman-linux.h.
62195 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
62197         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
62198         Include mpa.h and declare __MPEXP.
62199         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
62200         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
62201         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
62202         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
62203         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
62204         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
62205         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
62207         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
62208         (__slowpow): Use long double EXPL and LOGL functions to
62209         compute POW.
62210         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
62211         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
62212         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
62213         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
62214         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
62215         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
62217         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
62218         intermediate variable to calculate exponent.
62219         (__sqr): Likewise.
62220         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
62221         Likewise.
62222         (__sqr): Likewise.
62224         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
62225         [!NO__SQR]: Define __sqr.
62226         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
62227         and NO__SQR.  Remove all code except __mul and __sqr.  Include
62228         sysdeps/ieee754/dbl-64/mpa.c.
62229         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62231         [BZ #12723]
62232         * posix/Makefile (tests): Add tst-pathconf.
62233         * posix/tst-pathconf.c: New test case.
62234         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
62235         _PC_PIPE_BUF.
62236         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
62238 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
62240         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
62242 2013-03-06  Andreas Jaeger  <aj@suse.de>
62244         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
62245         definition via __MAP_ANONYMOUS.
62247         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
62248         it's not part of Linux headers.
62250         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
62251         (MAP_HUGE_MASK): Define.
62253         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62254         Define.
62255         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62256         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62257         Define.
62258         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62259         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62260         Define.
62261         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62262         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
62263         Define.
62264         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62266         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
62267         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
62268         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
62269         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
62270         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
62271         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
62273         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62274         Handle f2fs.
62276         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62277         Handle f2fs and efivarfs.
62279         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
62280         f2fs.
62282         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
62283         (EFIVARFS_MAGIC): Add.
62284         (F2FS_LINK_MAX): Add.
62286 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
62288         * stdio-common/vfprintf.c: Replace __builtin_expect with
62289         __glibc_unlikely.
62291 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
62293         [BZ #13550]
62294         * sysdeps/generic/bp-sym.h: Remove file.
62295         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
62296         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
62297         <bp-sym.h> and <bp-asm.h>.
62298         (__longjmp): Don't use BP_SYM.
62299         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
62300         and <bp-asm.h>.
62301         (memcpy): Don't use BP_SYM.
62302         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
62303         <bp-sym.h> and <bp-asm.h>.
62304         (memcpy): Don't use BP_SYM.
62305         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
62306         <bp-asm.h>.
62307         (memcpy): Don't use BP_SYM.
62308         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
62309         <bp-asm.h>.
62310         (memset): Don't use BP_SYM.
62311         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62312         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62313         (__bzero): Don't use BP_SYM.
62314         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62315         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62316         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
62317         <bp-sym.h> and <bp-asm.h>.
62318         (memcmp): Don't use BP_SYM.  Remove comment about bounded
62319         pointers.
62320         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
62321         <bp-sym.h> and <bp-asm.h>.
62322         (memcpy): Don't use BP_SYM.
62323         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
62324         <bp-sym.h> and <bp-asm.h>.
62325         (memset): Don't use BP_SYM.
62326         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62327         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62328         (__bzero): Don't use BP_SYM.
62329         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62330         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62331         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
62332         <bp-sym.h> and <bp-asm.h>.
62333         (strncmp): Don't use BP_SYM.  Remove comment about bounded
62334         pointers.
62335         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
62336         <bp-sym.h> and <bp-asm.h>.
62337         (memcpy): Don't use BP_SYM.
62338         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
62339         <bp-sym.h> and <bp-asm.h>.
62340         (memset): Don't use BP_SYM.
62341         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62342         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62343         (__bzero): Don't use BP_SYM.
62344         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62345         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62346         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
62347         <bp-sym.h> and <bp-asm.h>.
62348         (__memchr): Don't use BP_SYM.
62349         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
62350         <bp-sym.h> and <bp-asm.h>.
62351         (memcmp): Don't use BP_SYM.  Remove comment about bounded
62352         pointers.
62353         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
62354         <bp-sym.h> and <bp-asm.h>.
62355         (memcpy): Don't use BP_SYM.
62356         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
62357         <bp-sym.h> and <bp-asm.h>.
62358         (__mempcpy): Don't use BP_SYM.
62359         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
62360         <bp-sym.h> and <bp-asm.h>.
62361         (__memrchr): Don't use BP_SYM.
62362         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
62363         <bp-sym.h> and <bp-asm.h>.
62364         (memset): Don't use BP_SYM.
62365         (__bzero): Likewise.
62366         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
62367         <bp-sym.h> and <bp-asm.h>.
62368         (__rawmemchr): Don't use BP_SYM.
62369         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
62370         <bp-sym.h> and <bp-asm.h>.
62371         (__STRCMP): Don't use BP_SYM.
62372         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
62373         <bp-sym.h> and <bp-asm.h>.
62374         (strchr): Don't use BP_SYM.
62375         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
62376         <bp-sym.h> and <bp-asm.h>.
62377         (__strchrnul): Don't use BP_SYM.
62378         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
62379         <bp-sym.h> and <bp-asm.h>.
62380         (strlen): Don't use BP_SYM.
62381         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
62382         <bp-sym.h> and <bp-asm.h>.
62383         (strncmp): Don't use BP_SYM.  Remove comment about bounded
62384         pointers.
62385         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
62386         <bp-sym.h> and <bp-asm.h>.
62387         (__strnlen): Don't use BP_SYM.
62388         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
62389         <bp-sym.h> and <bp-asm.h>.
62390         (__GI__setjmp): Don't use BP_SYM.
62391         (_setjmp): Likewise.
62392         (__sigsetjmp): Likewise.
62393         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
62394         (L(start_addresses)): Don't use BP_SYM.
62395         (_start): Likewise.
62396         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
62397         <bp-asm.h>.
62398         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
62399         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
62400         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62401         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62402         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
62403         <bp-asm.h>.
62404         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
62405         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
62406         about bounded pointers.
62407         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
62408         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62409         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
62410         <bp-asm.h>.
62411         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
62412         about bounded pointers.  Remove GKM FIXME comments.
62413         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
62414         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
62415         <bp-asm.h>.
62416         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
62417         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
62418         Remove GKM FIXME comments.
62419         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62420         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62421         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
62422         <bp-asm.h>.
62423         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
62424         about bounded pointers.  Remove GKM FIXME comment.
62425         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
62426         and <bp-asm.h>.
62427         (strncmp): Don't use BP_SYM.  Remove comment about bounded
62428         pointers.
62429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
62430         <bp-sym.h> and <bp-asm.h>.
62431         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
62432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
62433         <bp-sym.h> and <bp-asm.h>.
62434         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
62435         comment.
62437 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
62439         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
62440         call free(NULL).
62442 2013-03-05  David S. Miller  <davem@davemloft.net>
62444         * po/es.po: Update from translation team.
62446 2013-03-05  Andreas Jaeger  <aj@suse.de>
62448         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
62449         <bits/mman-linux.h>.
62450         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62451         is fine.
62452         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
62453         <bits/mman-linux.h> to end of file.
62454         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62455         is fine.
62456         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
62457         <bits/mman-linux.h> to end of file.
62458         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62459         is fine.
62460         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
62461         <bits/mman-linux.h> to end of file.
62463         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
62464         (MCL_CURRENT, MCL_FUTURE): Define here.
62466 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62468         [BZ #15232]
62469         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
62470         attribute_hidden.
62471         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
62473 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62475         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
62476         fourth parameter needed for rt_sigprocmask syscall.
62477         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
62478         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
62479         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
62480         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
62481         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
62482         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
62484 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
62486         [BZ #13550]
62487         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
62488         comment about bounded pointers.
62489         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
62490         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
62492 2013-03-04  Andreas Jaeger  <aj@suse.de>
62494         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
62495         common definitions.
62497         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
62498         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
62499         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
62500         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62501         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62502         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62504 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62506         [BZ #15055]
62507         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
62508         __ieee754_sqrl instead of __sqrl.
62510 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
62512         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
62513         * sysdeps/powerpc/fpu_control.h: ... here.
62514         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
62515         * sysdeps/powerpc/bits/fenvinline.h: ... here.
62516         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
62517         * sysdeps/powerpc/bits/mathinline.h: ... here.
62519 2013-03-01  Roland McGrath  <roland@hack.frob.com>
62521         * elf/dl-hwcaps.c (_dl_important_hwcaps):
62522         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
62523         to just [NEED_DL_SYSINFO_DSO].
62524         * elf/dl-support.c: Likewise.
62525         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
62526         * elf/rtld.c (dl_main): Likewise.
62527         * elf/setup-vdso.h (setup_vdso): Likewise.
62528         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
62529         * sysdeps/unix/sysv/linux/dl-sysdep.c
62530         (_dl_discover_osversion): Likewise.
62532 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
62534         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
62535         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
62537 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
62539         * NEWS: Mention libm performance improvements and non-x86 PI
62540         futex support.
62542         * csu/libc-start.c (__pthread_initialize_minimal): Change
62543         function arguments.
62544         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
62546 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
62548         [BZ #13550]
62549         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
62550         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
62551         <bp-sym.h> and <bp-asm.h>.
62552         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62553         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
62554         and <bp-asm.h>.
62555         (memcpy): Don't use BP_SYM.
62556         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
62557         <bp-asm.h>.
62558         (__mpn_add_n): Don't use BP_SYM.
62559         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
62560         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
62561         and <bp-asm.h>.
62562         (__mpn_addmul_1): Don't use BP_SYM.
62563         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62564         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
62565         <bp-sym.h>.
62566         (_setjmp): Don't use BP_SYM.
62567         (__novmx_setjmp): Likewise.
62568         (__GI__setjmp): Likewise.
62569         (__vmx_setjmp): Likewise.
62570         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
62571         <bp-sym.h>.
62572         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
62573         (__bzero): Don't use BP_SYM.
62574         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62575         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62576         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
62577         <bp-sym.h> and <bp-asm.h>.
62578         (memcpy): Don't use BP_SYM.
62579         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
62580         <bp-sym.h> and <bp-asm.h>.
62581         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62582         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
62583         <bp-sym.h> and <bp-asm.h>.
62584         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62585         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
62586         <bp-asm.h>.
62587         (__mpn_lshift): Don't use BP_SYM.
62588         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62589         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
62590         <bp-asm.h>.
62591         (memset): Don't use BP_SYM.
62592         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62593         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62594         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
62595         <bp-asm.h>.
62596         (__mpn_mul_1): Don't use BP_SYM.
62597         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62598         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
62599         <bp-sym.h> and <bp-asm.h>.
62600         (memcmp): Don't use BP_SYM.
62601         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
62602         <bp-sym.h> and <bp-asm.h>.
62603         (memcpy): Don't use BP_SYM.
62604         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
62605         <bp-sym.h> and <bp-asm.h>.
62606         (memset): Don't use BP_SYM.
62607         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
62608         <bp-sym.h> and <bp-asm.h>.
62609         (strncmp): Don't use BP_SYM.
62610         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
62611         <bp-sym.h> and <bp-asm.h>.
62612         (memcpy): Don't use BP_SYM.
62613         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
62614         <bp-sym.h> and <bp-asm.h>.
62615         (memset): Don't use BP_SYM.
62616         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
62617         <bp-sym.h> and <bp-asm.h>.
62618         (__memchr): Don't use BP_SYM.
62619         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
62620         <bp-sym.h> and <bp-asm.h>.
62621         (memcmp): Don't use BP_SYM.
62622         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
62623         <bp-sym.h> and <bp-asm.h>.
62624         (memcpy): Don't use BP_SYM.
62625         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
62626         <bp-sym.h> and <bp-asm.h>.
62627         (__mempcpy): Don't use BP_SYM.
62628         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
62629         <bp-sym.h> and <bp-asm.h>.
62630         (__memrchr): Don't use BP_SYM.
62631         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
62632         <bp-sym.h> and <bp-asm.h>.
62633         (memset): Don't use BP_SYM.
62634         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
62635         <bp-sym.h> and <bp-asm.h>.
62636         (__rawmemchr): Don't use BP_SYM.
62637         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
62638         <bp-sym.h> and <bp-asm.h>.
62639         (__STRCMP): Don't use BP_SYM.
62640         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
62641         <bp-sym.h> and <bp-asm.h>.
62642         (strchr): Don't use BP_SYM.
62643         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
62644         <bp-sym.h> and <bp-asm.h>.
62645         (__strchrnul): Don't use BP_SYM.
62646         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
62647         <bp-sym.h> and <bp-asm.h>.
62648         (strlen): Don't use BP_SYM.
62649         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
62650         <bp-sym.h> and <bp-asm.h>.
62651         (strncmp): Don't use BP_SYM.
62652         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
62653         <bp-sym.h> and <bp-asm.h>.
62654         (__strnlen): Don't use BP_SYM.
62655         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
62656         <bp-asm.h>.
62657         (__mpn_rshift): Don't use BP_SYM.
62658         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62659         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
62660         <bp-sym.h> and <bp-asm.h>.
62661         (__sigsetjmp): Don't use BP_SYM.
62662         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
62663         (L(start_addresses)): Don't use BP_SYM.
62664         (_start): Likewise.
62665         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
62666         <bp-asm.h>.
62667         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
62668         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62669         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62670         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
62671         <bp-asm.h>.
62672         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
62673         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
62674         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62675         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
62676         <bp-asm.h>.
62677         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
62678         comments.
62679         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
62680         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
62681         <bp-asm.h>.
62682         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
62683         FIXME comments.
62684         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62685         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62686         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
62687         <bp-asm.h>.
62688         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
62689         comment.
62690         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
62691         and <bp-asm.h>.
62692         (strncmp): Don't use BP_SYM,
62693         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
62694         <bp-asm.h>.
62695         (__mpn_sub_n): Don't use BP_SYM.
62696         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62697         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
62698         and <bp-asm.h>.
62699         (__mpn_submul_1): Don't use BP_SYM.
62700         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
62702         <bp-sym.h> and <bp-asm.h>.
62703         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
62704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
62705         <bp-sym.h> and <bp-asm.h>.
62706         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
62707         comment.
62709 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62711         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
62712         Use ZK to minimize writes to Z.
62713         (sub_magnitudes): Simplify code a bit.
62714         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
62715         Use ZK to minimize writes to Z.
62716         (sub_magnitudes): Simplify code a bit.
62718 2013-02-27  Roland McGrath  <roland@hack.frob.com>
62720         * csu/gmon-start.c: Add special exception to license text.
62722 2013-02-27  Richard Henderson  <rth@redhat.com>
62724         * scripts/config.guess: Update from config.git.
62725         * scripts/config.sub: Likewise.
62727 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
62729         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
62731         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
62733         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
62735         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
62737         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
62739 2013-02-26  Roland McGrath  <roland@hack.frob.com>
62741         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
62742         [$(build-shared = yes].
62744 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62746         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
62747         (__mul): Reduce iterations for calculating mantissa.
62749         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
62750         MPTWO.
62751         (__mpranred): Likewise.
62753         [BZ #15160]
62754         * malloc/memusagestat.c (main): Draw graphs for heap and stack
62755         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
62757 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
62759         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
62760         Define __attribute__.
62762 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62764         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
62765         unused.
62766         * posix/regex_internal.h (__attribute): Remove.
62767         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
62768         (re_string_context_at): Likewise.
62769         (bitset_not): Use __attribute__ and mark function as possibly
62770         unused.
62771         (bitset_merge): Likewise.
62772         (bitset_mask): Likewise.
62773         (re_string_char_size_at): Likewise.
62774         (re_string_wchar_at): Likewise.
62775         (re_string_elem_size_at): Likewise.
62777 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62779         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
62780         code.
62781         (cc32): Likewise.
62783         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
62784         (__acr): Likewise.
62785         (__cpy): Likewise.
62786         (norm): Likewise.
62787         (denorm): Likewise.
62788         (__dbl_mp): Likewise.
62789         (add_magnitudes): Likewise.
62790         (sub_magnitudes): Likewise.
62791         (__mul): Likewise.
62792         (__inv): Likewise.
62794         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
62795         style.
62797         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
62798         style.
62800         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
62801         code.
62803         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
62804         up changes with default code.
62805         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
62806         Likewise.
62808 2013-02-24  Allan McRae  <allan@archlinux.org>
62810         * manual/socket.texi (The Internet Namespace): Order menu items
62811         to match that in the file.
62813         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
62814         node listing of the info page menu.
62816 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
62818         [BZ #13550]
62819         * sysdeps/i386/bp-asm.h: Remove file.
62820         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
62821         (PARMS): Do not use macros from bp-asm.h.
62822         (S1): Likewise.
62823         (S2): Likewise.
62824         (SIZE): Likewise.
62825         (__mpn_add_n): Do not use BP_SYM
62826         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
62827         "bp-asm.h".
62828         (PARMS): Do not use macros from bp-asm.h.
62829         (S1): Likewise.
62830         (SIZE): Likewise.
62831         (__mpn_addmul_1): Do not use BP_SYM
62832         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
62833         "bp-asm.h".
62834         (PARMS): Do not use macros from bp-asm.h.
62835         (SIGMSK): Likewise.
62836         (_setjmp): Likewise.  Do not use BP_SYM.
62837         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
62838         "bp-asm.h".
62839         (PARMS): Do not use macros from bp-asm.h.
62840         (SIGMSK): Likewise.
62841         (setjmp): Likewise.  Do not use BP_SYM.
62842         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
62843         "bp-asm.h".
62844         (PARMS): Do not use macros from bp-asm.h.
62845         (__frexp): Do not use BP_SYM.
62846         (frexp): Likewise.
62847         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
62848         "bp-asm.h".
62849         (PARMS): Do not use macros from bp-asm.h.
62850         (__frexpf): Do not use BP_SYM.
62851         (frexpf): Likewise.
62852         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
62853         "bp-asm.h".
62854         (PARMS): Do not use macros from bp-asm.h.
62855         (__frexpl): Do not use BP_SYM.
62856         (frexpl): Likewise.
62857         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
62858         "bp-asm.h".
62859         (PARMS): Do not use macros from bp-asm.h.
62860         (__remquo): Do not use BP_SYM.
62861         (remquo): Likewise.
62862         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
62863         "bp-asm.h".
62864         (PARMS): Do not use macros from bp-asm.h.
62865         (__remquof): Do not use BP_SYM.
62866         (remquof): Likewise.
62867         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
62868         "bp-asm.h".
62869         (PARMS): Do not use macros from bp-asm.h.
62870         (__remquol): Do not use BP_SYM.
62871         (remquol): Likewise.
62872         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
62873         "bp-asm.h".
62874         (PARMS): Do not use macros from bp-asm.h.
62875         (DEST): Likewise.
62876         (SRC): Likewise.
62877         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
62878         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
62879         "bp-asm.h".
62880         (PARMS): Do not use macros from bp-asm.h.
62881         (strlen): Do not use BP_SYM.
62882         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
62883         "bp-asm.h".
62884         (PARMS): Do not use macros from bp-asm.h.
62885         (S1): Likewise.
62886         (S2): Likewise.
62887         (SIZE): Likewise.
62888         (__mpn_add_n): Do not use BP_SYM.
62889         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
62890         "bp-asm.h".
62891         (PARMS): Do not use macros from bp-asm.h.
62892         (S1): Likewise.
62893         (SIZE): Likewise.
62894         (__mpn_addmul_1): Do not use BP_SYM.
62895         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
62896         weak_alias.
62897         (bzero): Likewise.
62898         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
62899         "bp-asm.h".
62900         (PARMS): Do not use macros from bp-asm.h.
62901         (S): Likewise.
62902         (SIZE): Likewise.
62903         (__mpn_lshift): Do not use BP_SYM.
62904         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
62905         "bp-asm.h".
62906         (PARMS): Do not use macros from bp-asm.h.
62907         (DEST): Likewise.
62908         (SRC): Likewise.
62909         (LEN): Likewise.
62910         (memcpy): Likewise.  Do not use BP_SYM.
62911         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
62912         libc_hidden_def and weak_alias.
62913         (mempcpy): Do not use BP_SYM in weak_alias.
62914         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
62915         "bp-asm.h".
62916         (PARMS): Do not use macros from bp-asm.h.
62917         (DEST): Likewise.
62918         (LEN): Likewise.
62919         [!BZERO_P] (CHR): Likewise.
62920         (memset): Likewise.  Do not use BP_SYM.
62921         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
62922         "bp-asm.h".
62923         (PARMS): Do not use macros from bp-asm.h.
62924         (S1): Likewise.
62925         (SIZE): Likewise.
62926         (__mpn_mul_1): Do not use BP_SYM.
62927         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
62928         "bp-asm.h".
62929         (PARMS): Do not use macros from bp-asm.h.
62930         (S): Likewise.
62931         (SIZE): Likewise.
62932         (__mpn_rshift): Do not use BP_SYM.
62933         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
62934         "bp-asm.h".
62935         (PARMS): Do not use macros from bp-asm.h.
62936         (STR): Likewise.
62937         (CHR): Likewise.
62938         (strchr): Likewise.  Do not use BP_SYM.
62939         (index): Do not use BP_SYM in weak_alias.
62940         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
62941         "bp-asm.h".
62942         (PARMS): Do not use macros from bp-asm.h.
62943         (DEST): Likewise.
62944         (SRC): Likewise.
62945         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
62946         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
62947         "bp-asm.h".
62948         (PARMS): Do not use macros from bp-asm.h.
62949         (strlen): Do not use BP_SYM.
62950         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
62951         "bp-asm.h".
62952         (PARMS): Do not use macros from bp-asm.h.
62953         (S1): Likewise.
62954         (S2): Likewise.
62955         (SIZE): Likewise.
62956         (__mpn_sub_n): Do not use BP_SYM.
62957         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
62958         "bp-asm.h".
62959         (PARMS): Do not use macros from bp-asm.h.
62960         (S1): Likewise.
62961         (SIZE): Likewise.
62962         (__mpn_submul_1): Do not use BP_SYM.
62963         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
62964         "bp-asm.h".
62965         (PARMS): Do not use macros from bp-asm.h.
62966         (S1): Likewise.
62967         (S2): Likewise.
62968         (SIZE): Likewise.
62969         (__mpn_add_n): Do not use BP_SYM.
62970         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
62971         weak_alias.
62972         (bzero): Likewise.
62973         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
62974         "bp-asm.h".
62975         (PARMS): Do not use macros from bp-asm.h.
62976         (BLK2): Likewise.
62977         (LEN): Likewise.
62978         (memcmp): Do not use BP_SYM.
62979         (bcmp): Do not use BP_SYM in weak_alias.
62980         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
62981         "bp-asm.h".
62982         (PARMS): Do not use macros from bp-asm.h.
62983         (DEST): Likewise.
62984         (SRC): Likewise.
62985         (LEN): Likewise.
62986         (memcpy): Likewise.  Do not use BP_SYM.
62987         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
62988         "bp-asm.h".
62989         (PARMS): Do not use macros from bp-asm.h.
62990         (DEST): Likewise.
62991         (SRC): Likewise.
62992         (LEN): Likewise.
62993         (memmove): Likewise.  Do not use BP_SYM.
62994         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
62995         "bp-asm.h".
62996         (PARMS): Do not use macros from bp-asm.h.
62997         (DEST): Likewise.
62998         (SRC): Likewise.
62999         (LEN): Likewise.
63000         (__mempcpy): Likewise.  Do not use BP_SYM.
63001         (mempcpy): Do not use BP_SYM in weak_alias.
63002         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
63003         "bp-asm.h".
63004         (PARMS): Do not use macros from bp-asm.h.
63005         (DEST): Likewise.
63006         (LEN): Likewise.
63007         [!BZERO_P] (CHR): Likewise.
63008         (memset): Likewise.  Do not use BP_SYM.
63009         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
63010         "bp-asm.h".
63011         (PARMS): Do not use macros from bp-asm.h.
63012         (STR2): Likewise.
63013         (strcmp): Do not use BP_SYM.
63014         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
63015         "bp-asm.h".
63016         (PARMS): Do not use macros from bp-asm.h.
63017         (STR): Likewise.
63018         (DELIM): Likewise.
63019         [USE_AS_STRTOK_R] (SAVE): Likewise.
63020         (FUNCTION): Likewise.  Do not use BP_SYM.
63021         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
63022         aliases.
63023         (strtok_r): Likewise.
63024         (__GI___strtok_r): Likewise.
63025         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
63026         (PARMS): Do not use macros from bp-asm.h.
63027         (S): Likewise.
63028         (SIZE): Likewise.
63029         (__mpn_lshift): Do not use BP_SYM.
63030         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
63031         (PARMS): Do not use macros from bp-asm.h.
63032         (STR): Likewise.
63033         (CHR): Likewise.
63034         (__memchr): Do not use BP_SYM.
63035         (memchr): Do not use BP_SYM in weak_alias.
63036         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
63037         (PARMS): Do not use macros from bp-asm.h.
63038         (BLK2): Likewise.
63039         (LEN): Likewise.
63040         (memcmp): Do not use BP_SYM.
63041         (bcmp): Do not use BP_SYM in weak_alias.
63042         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
63043         (PARMS): Do not use macros from bp-asm.h.
63044         (S1): Likewise.
63045         (SIZE): Likewise.
63046         (__mpn_mul_1): Do not use BP_SYM.
63047         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
63048         "bp-asm.h".
63049         (PARMS): Do not use macros from bp-asm.h.
63050         (STR): Likewise.
63051         (CHR): Likewise.
63052         (__rawmemchr): Do not use BP_SYM.
63053         (rawmemchr): Do not use BP_SYM in weak_alias.
63054         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
63055         (PARMS): Do not use macros from bp-asm.h.
63056         (S): Likewise.
63057         (SIZE): Likewise.
63058         (__mpn_rshift): Do not use BP_SYM.
63059         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
63060         (PARMS): Do not use macros from bp-asm.h.
63061         (SIGMSK): Likewise.
63062         (__sigsetjmp): Likewise.  Do not use BP_SYM.
63063         * sysdeps/i386/start.S: Do not include "bp-sym.h".
63064         (_start): Do not use BP_SYM.
63065         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
63066         (PARMS): Do not use macros from bp-asm.h.
63067         (DEST): Likewise.
63068         (SRC): Likewise.
63069         (__stpcpy): Likewise.  Do not use BP_SYM.
63070         (stpcpy): Do not use BP_SYM in weak_alias.
63071         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
63072         "bp-asm.h".
63073         (PARMS): Do not use macros from bp-asm.h.
63074         (DEST): Likewise.
63075         (SRC): Likewise.
63076         (LEN): Likewise.
63077         (__stpncpy): Likewise.  Do not use BP_SYM.
63078         (stpncpy): Do not use BP_SYM in weak_alias.
63079         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
63080         (PARMS): Do not use macros from bp-asm.h.
63081         (STR): Likewise.
63082         (CHR): Likewise.
63083         (strchr): Likewise.  Do not use BP_SYM.
63084         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
63085         "bp-asm.h".
63086         (PARMS): Do not use macros from bp-asm.h.
63087         (STR): Likewise.
63088         (CHR): Likewise.
63089         (__strchrnul): Likewise.  Do not use BP_SYM.
63090         (strchrnul): Do not use BP_SYM in weak_alias.
63091         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
63092         "bp-asm.h".
63093         (PARMS): Do not use macros from bp-asm.h.
63094         (STOP): Likewise.
63095         (strcspn): Do not use BP_SYM.
63096         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
63097         "bp-asm.h".
63098         (PARMS): Do not use macros from bp-asm.h.
63099         (STR): Likewise.
63100         (STOP): Likewise.
63101         (strpbrk): Likewise.  Do not use BP_SYM.
63102         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
63103         "bp-asm.h".
63104         (PARMS): Do not use macros from bp-asm.h.
63105         (STR): Likewise.
63106         (CHR): Likewise.
63107         (strrchr): Likewise.  Do not use BP_SYM.
63108         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
63109         (PARMS): Do not use macros from bp-asm.h.
63110         (SKIP): Likewise.
63111         (strspn): Do not use BP_SYM.
63112         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
63113         (PARMS): Do not use macros from bp-asm.h.
63114         (STR): Likewise.
63115         (DELIM): Likewise.
63116         (SAVE): Likewise.
63117         (FUNCTION): Likewise.  Do not use BP_SYM.
63118         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
63119         aliases.
63120         (strtok_r): Likewise.
63121         (__GI___strtok_r): Likewise.
63122         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
63123         (PARMS): Do not use macros from bp-asm.h.
63124         (S1): Likewise.
63125         (S2): Likewise.
63126         (SIZE): Likewise.
63127         (__mpn_sub_n): Do not use BP_SYM.
63128         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
63129         "bp-asm.h".
63130         (PARMS): Do not use macros from bp-asm.h.
63131         (S1): Likewise.
63132         (SIZE): Likewise.
63133         (__mpn_submul_1): Do not use BP_SYM.
63134         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
63135         <bp-sym.h>.
63136         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
63137         and <bp-asm.h>.
63138         (PARMS): Do not use macros from bp-asm.h.
63139         (FLAGS): Likewise.
63140         (PTID): Likewise.
63141         (TLS): Likewise.
63142         (CTID): Likewise.
63143         (__clone): Do not use BP_SYM.
63144         (clone): Do not use BP_SYM in weak_alias.
63145         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
63146         and <bp-asm.h>.
63147         (PARMS): Do not use macros from bp-asm.h.
63148         (LEN): Likewise.
63149         (__mmap64): Do not use BP_SYM.
63150         (mmap64): Do not use BP_SYM in weak_alias.
63151         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
63152         <bp-sym.h> and <bp-asm.h>.
63153         (PARMS): Do not use macros from bp-asm.h.
63154         (__posix_fadvise64_l64): Do not use BP_SYM.
63155         * sysdeps/unix/sysv/linux/i386/semtimedop.S
63156         (PARMS): Do not use macros from bp-asm.h.
63157         (NSOPS): Likewise.
63158         (semtimedop): Do not use BP_SYM.
63159         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
63160         and <bp-asm.h>.
63162 2013-02-21  Allan McRae  <allan@archlinux.org>
63164         * manual/message.texi (Charset conversion in gettext):
63165         Move @end statement to beginning of line.
63167 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63169         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
63170         static.
63171         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
63172         Likewise.
63174         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
63175         (denorm): Likewise.
63176         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
63177         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
63179 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63181         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
63182         tail-call to the resolved function if pltexit isn't needed.
63184 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63186         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
63187         or Y being zero as being unlikely.
63188         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
63189         Likewise.
63191 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
63193         * manual/nss.texi (System Databases and Name Service Switch):
63194         Remove frobnicate @pxref.
63196 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
63198         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
63199         __attribute__ ((unused)) to __attribute__ ((__unused__)).
63201 2013-02-20  Petr Machata  <pmachata@redhat.com>
63203         * elf/elf.h (R_ARM_TARGET1): New macro.
63204         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
63205         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
63206         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
63207         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
63208         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
63209         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
63210         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
63211         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
63212         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
63213         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
63214         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
63215         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
63216         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
63217         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
63218         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
63219         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
63220         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
63221         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
63222         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
63223         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
63224         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
63225         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
63226         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
63227         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
63228         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
63229         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
63230         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
63231         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
63232         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
63233         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
63234         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
63235         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
63236         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
63237         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
63238         (R_ARM_THM_GOT_BREL12): Likewise.
63239         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
63240         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
63241         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
63242         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
63243         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
63244         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
63245         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
63246         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
63247         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
63249 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
63251         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
63252         __attribute_used__ to __attribute__ ((unused)).
63254 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
63256         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
63257         powerpc mpa.c.
63258         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
63259         comment formatting.
63260         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
63262 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
63264         [BZ #13550]
63265         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
63266         Remove macro.
63267         (ENTER): Remove both macro definitions.
63268         (LEAVE): Likewise.
63269         (CHECK_BOUNDS_LOW): Likewise.
63270         (CHECK_BOUNDS_HIGH): Likewise.
63271         (CHECK_BOUNDS_BOTH): Likewise.
63272         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
63273         (RETURN_BOUNDED_POINTER): Likewise.
63274         (RETURN_NULL_BOUNDED_POINTER): Likewise.
63275         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
63276         (POP_ERRNO_LOCATION_RETURN): Likewise.
63277         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
63278         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63279         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
63280         macros.
63281         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63282         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
63283         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
63284         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
63285         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
63286         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
63287         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
63288         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
63289         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
63290         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
63291         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
63292         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
63293         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63294         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
63295         removed macros.
63296         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63297         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
63298         macros.
63299         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63300         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
63301         * sysdeps/i386/i586/memset.S (memset): Likewise.
63302         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
63303         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63304         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
63305         macros.
63306         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63307         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
63308         Change uses of L(2) to L(out).
63309         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
63310         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
63311         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
63312         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63313         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
63314         removed macros.
63315         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63316         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
63317         macros.
63318         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63319         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
63320         (RETURN): Do not use macro LEAVE.
63321         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
63322         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
63323         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
63324         * sysdeps/i386/i686/memset.S (memset): Likewise.
63325         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
63326         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
63327         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
63328         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
63329         Likewise.
63330         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63331         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
63332         L(1_2) and L(1_3) into L(1).
63333         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
63334         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
63335         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63336         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
63337         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
63338         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
63339         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
63340         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63341         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
63342         macros.
63343         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
63344         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63345         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
63346         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
63347         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
63348         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63349         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
63350         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
63351         * sysdeps/i386/strcspn.S (strcspn): Likewise.
63352         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
63353         * sysdeps/i386/strrchr.S (strrchr): Likewise.
63354         * sysdeps/i386/strspn.S (strspn): Likewise.
63355         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
63356         conditional code.
63357         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63358         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
63359         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
63360         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
63361         L(1_3) into L(1_1).
63362         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
63363         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63364         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
63365         macros.
63366         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63368 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
63370         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
63371         macro.
63373 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63375         * math/atest-exp.c (exp_mpn): Remove ROUND.
63376         * math/atest-exp2.c (exp_mpn): Likewise.
63377         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
63379         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
63380         * stdlib/tst-tls-atexit-lib.c: Likewise.
63381         * stdlib/tst-tls-atexit.c: Likewise.
63383 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
63385         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
63386         and __attribute_alloc_size__.
63388 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
63390         * include/programs/xmalloc.h: Change __attribute_alloc_size to
63391         __attribute_alloc_size__.
63392         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
63393         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
63395 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
63397         * include/programs/xmalloc.h: New file.
63398         * catgets/gencat.c: Include it.
63399         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
63400         * elf/pldd.c: Likewise.
63401         * iconv/iconv_charmap.c: Likewise.
63402         * iconv/iconvconfig.c: Likewise.
63403         * iconv/strtab.c: Likewise.
63404         * locale/programs/locale.c: Likewise.
63405         * locale/programs/localedef.h: Likewise.
63406         * locale/programs/simple-hash.c: Likewise.
63407         * nscd/nscd.h: Likewise.
63408         * nss/makedb.c: Likewise.
63409         * sysdeps/generic/ldconfig.h: Likewise.
63411 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63413         * Versions.def: Add GLIBC_2.18.
63414         * include/link.h (struct link_map): New member l_tls_dtor_count.
63415         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
63416         (__call_tls_dtors): Likewise.
63417         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
63418         __cxa_thread_atexit_impl.
63419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63420         Likewise.
63421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63422         Likewise.
63423         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
63424         Likewise.
63425         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
63426         Likewise.
63427         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63428         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
63429         Likewise.
63430         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
63431         Likewise.
63432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63433         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
63434         Likewise.
63435         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
63436         (tests): Add test case tst-tls-atexit.
63437         (modules-names): Add shared library for tst-tls-atexit.
63438         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
63439         (GLIBC_PRIVATE): Add __call_tls_dtors.
63440         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
63441         for libstdc++.
63442         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
63443         * stdlib/tst-tls-atexit.c: New test case.
63444         * stdlib/tst-tls-atexit-lib.c: New test case.
63446         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
63448         * elf/Versions (ld): Add _dl_find_dso_for_object.
63449         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
63450         * elf/dl-open.c (_dl_find_dso_for_object): New function.
63451         (dl_open_worker): Use _dl_find_dso_for_object.
63452         * elf/dl-sym.c (do_sym): Likewise.
63453         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
63455 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63457         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
63458         Syntactic changes only.
63459         (_dl_runtime_profile): Do a tail-call to the resolved function.
63461 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
63463         [BZ #13550]
63464         * sysdeps/x86_64/bp-asm.h: Remove file.
63465         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
63466         <bp-sym.h> and <bp-asm.h>.
63467         (__clone): Do not use BP_SYM.
63468         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
63469         <bp-sym.h> and <bp-asm.h>.
63470         * sysdeps/unix/x86_64/sysdep.S: Likewise.
63471         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
63472         "bp-asm.h".
63473         (_setjmp): Do not use BP_SYM.
63474         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
63475         "bp-asm.h".
63476         (setjmp): Do not use BP_SYM.
63477         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
63478         libc_hidden_def.
63479         (mempcpy): Do not use BP_SYM in weak_alias.
63480         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
63481         "bp-asm.h".
63482         (strchr): Do not use BP_SYM.
63483         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
63484         "bp-asm.h".
63485         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
63486         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
63487         (_start): Do not use BP_SYM.
63488         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
63489         "bp-asm.h".
63490         (strcat): Do not use BP_SYM.
63491         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
63492         "bp-asm.h".
63493         (STRCMP): Do not use BP_SYM.
63494         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
63495         "bp-asm.h".
63496         (STRCPY): Do not use BP_SYM.
63497         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
63498         "bp-asm.h".
63499         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
63500         "bp-asm.h".
63501         (FUNCTION): Do not use BP_SYM.
63502         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
63503         weak_alias.
63504         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
63506 2013-02-17  Andreas Jaeger  <aj@suse.de>
63508         * time/Versions: Sort entries.
63509         * string/Versions: Likewise.
63510         * resolv/Versions: Likewise.
63511         * posix/Versions: Likewise.
63512         * iconv/Versions: Likewise.
63513         * elf/Versions: Likewise.
63514         * wcsmbs/Versions: Likewise.
63516 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63518         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
63519         loop termination condition.
63521         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
63522         variable to calculate EZ.
63523         (__sqr): Likewise.
63525         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
63526         the lower precision input.
63528 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
63530         [BZ #13550]
63531         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
63532         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
63533         (run-via-rtld-prefix): Do not handle %-bp tests.
63534         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
63535         (all-object-suffixes): Remove .ob.
63536         (bppfx): Remove variable.
63537         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
63538         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
63539         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
63540         [$(build-bounded) = yes] (libtype.ob): Likewise.
63541         * Makerules (elide-routines.ob): Remove variable.
63542         (do-tests-clean): Do not handle *-bp.out.
63543         (common-mostlyclean): Do not handle *-bp and *-bp.out.
63544         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
63545         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
63546         (tests): Do not include $(tests-bp.out).
63547         (xtests): Do not include $(xtests-bp.out).
63548         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
63549         [$(build-bounded) = yes] ($(addprefix
63550         $(objpfx),$(binaries-bounded))): Remove rule.
63551         ($(objpfx)%-bp.out): Remove rule.
63552         * config.make.in (build-bounded): Remove variable.
63553         * crypt/Makefile [$(build-bounded) = yes]
63554         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
63555         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
63556         append to variable.
63557         [$(build-bounded) = yes] (install-lib): Likewise.
63558         [$(build-bounded) = yes] (generated): Likewise.
63559         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
63560         Remove rule.
63561         * intl/Makefile [$(build-bounded) = yes]
63562         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
63563         * math/Makefile [$(build-bounded) = yes]
63564         ($(tests:%=$(objpfx)%-bp): Likewise.
63565         * misc/Makefile [$(build-bounded) = yes]
63566         ($(objpfx)tst-tsearch-bp): Likewise.
63567         * nptl/Makeconfig (bounded-thread-library): Remove variable.
63568         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
63569         Remove dependency.
63570         * string/Makefile (o-objects.ob): Remove variable.
63571         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
63572         (CFLAGS-.ob): Remove variable.
63573         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
63574         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
63575         both definitions of variable.
63576         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
63577         (ASFLAGS-.ob): Remove variable.
63579 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
63581         [BZ #13550]
63582         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
63583         Remove __BOUNDED_POINTERS__ from condition.
63584         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
63585         * string/bits/string2.h [!__NO_STRING_INLINES &&
63586         !__BOUNDED_POINTERS__]: Likewise.
63587         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
63588         Likewise.
63589         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
63590         Remove conditional code.
63591         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
63592         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
63593         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
63594         condition.
63596         [BZ #13550]
63597         * csu/libc-start.c: Do not include <bp-sym.h>.
63598         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
63599         * elf/dl-open.c: Do not include <bp-sym.h>.
63600         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
63601         * math/fegetenv.c: Do not include <bp-sym.h>.
63602         (fegetenv): Do not use BP_SYM in versioned symbols.
63603         * nptl/sysdeps/pthread/bits/libc-lockP.h
63604         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
63605         <bp-sym.h>.
63606         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63607         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
63608         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63609         (__pthread_mutex_destroy): Likewise.
63610         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63611         (__pthread_mutex_lock): Likewise.
63612         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63613         (__pthread_mutex_trylock): Likewise.
63614         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63615         (__pthread_mutex_unlock): Likewise.
63616         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63617         (__pthread_mutexattr_init): Likewise.
63618         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63619         (__pthread_mutexattr_destroy): Likewise.
63620         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63621         (__pthread_mutexattr_settype): Likewise.
63622         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63623         (__pthread_rwlock_init): Likewise.
63624         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63625         (__pthread_rwlock_destroy): Likewise.
63626         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63627         (__pthread_rwlock_rdlock): Likewise.
63628         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63629         (__pthread_rwlock_tryrdlock): Likewise.
63630         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63631         (__pthread_rwlock_wrlock): Likewise.
63632         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63633         (__pthread_rwlock_trywrlock): Likewise.
63634         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63635         (__pthread_rwlock_unlock): Likewise.
63636         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63637         (__pthread_key_create): Likewise.
63638         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63639         (__pthread_setspecific): Likewise.
63640         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63641         (__pthread_getspecific): Likewise.
63642         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
63643         Likewise.
63644         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63645         (_pthread_cleanup_push_defer): Likewise.
63646         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63647         (_pthread_cleanup_pop_restore): Likewise.
63648         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63649         (pthread_setcancelstate): Likewise.
63650         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
63651         <bp-sym.h>.
63652         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
63653         (memchr): Do not use BP_SYM in weak_alias.
63654         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
63655         (fegetenv): Do not use BP_SYM in versioned symbols.
63656         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
63657         (fesetenv): Do not use BP_SYM in versioned symbols.
63658         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
63659         (feupdateenv): Do not use BP_SYM in versioned symbols.
63660         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
63661         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
63662         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
63663         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
63664         (open64): Do not use BP_SYM in weak_alias.
63665         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
63666         (fegetenv): Do not use BP_SYM in versioned symbols.
63667         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
63668         (fesetenv): Do not use BP_SYM in versioned symbols.
63669         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
63670         (feupdateenv): Do not use BP_SYM in versioned symbols.
63671         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
63672         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
63673         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
63674         (feraiseexcept): Do not use BP_SYM in versioned symbols.
63675         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
63676         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
63677         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
63678         <bp-sym.h>.
63679         (__libc_start_main): Do not use BP_SYM.
63681 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63683         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
63684         redundant return line.
63685         (norm): Likewise.
63686         (denorm): Likewise.
63687         (dbl_mp): Likewise.
63688         (sub_magnitudes): Likewise.
63689         (__add): Likewise.
63690         (__sub): Likewise.
63691         (__mul): Likewise.
63692         (__inv): Likewise.
63693         (__dvd): Likewise.
63694         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
63695         (norm): Likewise.
63696         (denorm): Likewise.
63697         (dbl_mp): Likewise.
63698         (sub_magnitudes): Likewise.
63699         (__add): Likewise.
63700         (__sub): Likewise.
63701         (__mul): Likewise.
63702         (__inv): Likewise.
63703         (__dvd): Likewise.
63705         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
63706         instead of __mul.
63707         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
63708         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
63709         (cc32): Likewise.
63711         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
63712         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
63713         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
63714         of __mul for squares.
63715         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
63716         function
63717         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
63718         Likewise.
63719         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
63720         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
63722 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
63724         [BZ #13550]
63725         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
63726         code.
63727         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
63728         prototype or function definition.  Rename ubp_* variables and
63729         parameters.  Remove argv definitions conditional on
63730         [__BOUNDED_POINTERS__].
63731         * debug/backtrace.c (__backtrace): Do not use __unbounded.
63732         * elf/dl-runtime.c (_dl_fixup): Likewise.
63733         * include/set-hooks.h (RUN_HOOK): Likewise.
63734         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
63735         definition.
63736         * string/strcpy.c (strcpy): Do not use __unbounded.
63737         * sysdeps/generic/frame.h (struct layout): Likewise.
63738         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
63739         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
63740         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
63741         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
63742         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
63743         (__backtrace): Likewise.
63744         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
63745         use __ptrvalue.
63746         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
63747         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
63748         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
63749         Likewise.
63750         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
63751         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
63752         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
63753         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
63754         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
63755         Do not use __unbounded.
63756         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
63757         Rename __unboundedrlimits parameter to rlimits in prototype.
63758         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
63759         Do not use __unbounded.
63760         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
63761         not use __ptrvalue.
63762         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
63763         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
63764         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
63765         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
63766         __ptrvalue or __unbounded.
63767         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
63768         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
63769         use __unbounded.
63770         (__new_msgctl): Do not use __ptrvalue.
63771         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
63772         __unbounded.
63773         (__libc_msgrcv): Do not use __ptrvalue.
63774         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
63775         startup_info): Do not use __unbounded.
63776         (__libc_start_main): Likewise.  Rename ubp_* variables and
63777         parameters.  Remove argv definitions conditional on
63778         [__BOUNDED_POINTERS__].
63779         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
63780         __ptrvalue.
63781         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
63782         use __unbounded.
63783         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
63784         or __ptrvalue.
63785         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
63786         use __unbounded.
63787         (__new_shmctl): Do not use __ptrvalue.
63788         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
63789         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
63790         Likewise.
63791         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
63792         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
63793         (__libc_sigaction): Likewise.
63794         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
63795         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
63796         Likewise.
63797         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
63799 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
63801         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
63803         * string/mempcpy.c: Implement by calling memcpy.
63805 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
63807         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
63809         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
63810         evaluation.
63812         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
63813         values in the mantissa.
63815         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
63816         minimize writes to Z.
63817         (sub_magnitudes): Simplify code a bit.
63819 2013-02-12  Roland McGrath  <roland@hack.frob.com>
63821         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
63822         from the message.  The linker prefixes all warnings with that already.
63824 2013-02-12  Andreas Schwab  <schwab@suse.de>
63826         [BZ #15078]
63827         * posix/regexec.c (extend_buffers): Add parameter min_len.
63828         (check_matching): Pass minimum needed length.
63829         (clean_state_log_if_needed): Likewise.
63830         (get_subexp): Likewise.
63831         * posix/Makefile (tests): Add bug-regex34.
63832         (bug-regex34-ENV): Define.
63833         * posix/bug-regex34.c: New file.
63835         [BZ #11561]
63836         * posix/regcomp.c (parse_bracket_exp): When looking up collating
63837         elements compare against the byte sequence of it, not its name.
63838         * posix/Makefile (tests): Add bug-regex35.
63839         (bug-regex35-ENV): Define.
63840         * posix/bug-regex35.c: New file.
63842 2013-02-11  Tom de Vries  <tom@codesourcery.com>
63844         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
63845         comment.
63846         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
63847         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
63848         (CHECK_EOL): Add undef.
63850 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
63852         * bits/stdlib-bsearch.h: New file.
63853         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
63854         * stdlib/stdlib.h: Likewise.
63856 2013-02-11  Roland McGrath  <roland@hack.frob.com>
63858         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
63859         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
63860         declaration.
63861         * manual/search.texi (Array Search Function): Add missing const in
63862         lfind prototype.
63863         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
63864         declaration to use rlim_t.
63865         (Basic Scheduling Functions): Remove erroneous const from
63866         sched_getparam prototype.  Remove erroneous * from
63867         sched_get_priority_max and sched_get_priority_min prototypes.
63868         (Resource Usage): Fix summary @comment on vtimes to refer to
63869         sys/vtimes.h rather than vtimes.h.
63870         Add missing *s in vtimes prototype.
63871         (Limits on Resources): Fix ulimit prototype to return long int.
63872         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
63873         prototypes to use long int rather than double.
63874         (BSD Random): Fix initstate and setstate to use char *, not void *.
63875         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
63876         prototype to make second argument 'struct aiocb64 *const[]'.
63877         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
63878         (Status of AIO Operations): Remove erroneous const in aio_return and
63879         aio_return64 prototypes.
63880         (Synchronizing I/O): Fix sync prototype to return void.
63881         * manual/startup.texi (Suboptions): Remove an erroneous const in
63882         getsubopt prototype.
63883         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
63884         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
63885         use size_t rather than int.
63886         (Scanning All Users): Likewise for getpwent_r.
63887         (Setting Groups): Add missing const to setgroups prototype.
63888         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
63889         * manual/socket.texi (Host Names): Fix gethostbyaddr and
63890         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
63891         'const void *' rather than 'const char *'.
63892         (Host Address Functions): Likewise for inet_ntop.
63893         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
63894         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
63895         ssize_t for return value.
63896         (Sending Data): Likewise for send, sendto, sendmsg.
63897         (Socket Option Functions): Add a missing const in setsockopt prototype.
63898         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
63899         use wchar_t for the argument.
63900         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
63901         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
63902         take no arguments.
63903         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
63904         double/float/long double for second argument.
63905         Fix return types of significand, significandf, significandl.
63906         * manual/filesys.texi (Setting Permissions): Use mode_t for second
63907         argument in fchmod prototype.
63908         (File Owner): Use uid_t and gid_t in fchown prototype.
63909         (File Times): Add const to utimes, futimes, and lutimes prototypes.
63910         (Making Special Files): Use mode_t and dev_t in mknod prototype.
63911         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
63912         use 'const struct dirent **' as argument types to CMP function pointer
63913         argument.
63914         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
63915         (File Times): Fix summary magic @comment for struct utimbuf and utime
63916         to refer to utime.h, not time.h.
63917         * manual/string.texi (Argz Functions): Add missing const in
63918         argz_extract and argz_next prototypes.
63919         (Finding Tokens in a String): Likewise for basename.
63920         (String/Array Comparison): Fix typo in wcscasecmp prototype.
63921         (Copying and Concatenation): Fix typo in wmemmove prototype.
63922         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
63923         (Signal Stack): Remove erroneous const in sigstack prototype.
63924         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
63925         prototype.
63926         (Simple Calendar Time): Likewise for stime.
63927         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
63928         prototype.
63929         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
63930         say sys/sysctl.h instead.
63931         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
63932         and vsyslog prototypes.
63934 2013-02-11  Tom de Vries  <tom@codesourcery.com>
63936         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
63937         Remove.
63939 2013-02-11  Roland McGrath  <roland@hack.frob.com>
63941         * misc/sys/mman.h: Fix typo in mremap comment.
63943 2013-02-08  Roland McGrath  <roland@hack.frob.com>
63945         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
63946         the '\0' terminator.
63948 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
63950         [BZ #13550]
63951         * debug/segfault.c: Don't include <bp-checks.h>.
63952         * sysdeps/generic/bp-checks.h: Remove file.
63953         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
63954         (__GETDENTS): Don't use CHECK_N.
63955         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
63956         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
63957         (__getgroups): Don't use CHECK_N.
63958         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
63959         (setgroups): Don't use CHECK_N.
63960         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
63961         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
63962         (__libc_msgrcv): Don't use CHECK_N.
63963         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
63964         (__libc_msgsnd): Don't use CHECK_N.
63965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
63966         <bp-checks.h>.
63967         (__libc_pread): Don't use CHECK_N.
63968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
63969         include <bp-checks.h>.
63970         (__libc_pread64): Don't use CHECK_N.
63971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
63972         include <bp-checks.h>.
63973         (__libc_pwrite): Don't use CHECK_N.
63974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
63975         include <bp-checks.h>.
63976         (__libc_pwrite64): Don't use CHECK_N.
63977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
63978         <bp-checks.h>.
63979         (__libc_pread): Don't use CHECK_N.
63980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
63981         include <bp-checks.h>.
63982         (__libc_pread64): Don't use CHECK_N.
63983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
63984         include <bp-checks.h>.
63985         (__libc_pwrite): Don't use CHECK_N.
63986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
63987         include <bp-checks.h>.
63988         (__libc_pwrite64): Don't use CHECK_N.
63989         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
63990         (do_pread): Don't use CHECK_N.
63991         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
63992         (do_pread64): Don't use CHECK_N.
63993         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
63994         (do_pwrite): Don't use CHECK_N.
63995         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
63996         (do_pwrite64): Don't use CHECK_N.
63997         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
63998         (__libc_readv): Don't use CHECK_N.
63999         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
64000         (semop): Don't use CHECK_N.
64001         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
64002         <bp-checks.h>.
64003         (semtimedop): Don't use CHECK_N.
64004         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
64005         (__libc_pread): Don't use CHECK_N.
64006         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
64007         <bp-checks.h>.
64008         (__libc_pread64): Don't use CHECK_N.
64009         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
64010         <bp-checks.h>.
64011         (__libc_pwrite): Don't use CHECK_N.
64012         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
64013         <bp-checks.h>.
64014         (__libc_pwrite64): Don't use CHECK_N.
64015         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
64016         <bp-checks.h>.
64017         (__libc_msgrcv): Don't use CHECK_N.
64018         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
64019         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
64020         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
64021         (__libc_writev): Don't use CHECK_N.
64023 2013-02-08  Roland McGrath  <roland@hack.frob.com>
64025         * string/strcpy.c: Removed unused variable.
64027         * Makeconfig (+sysdep-includes): Define with := rather than =.
64028         Use an existing include/ subdir of each sysdeps dir before it.
64030 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64032         * nscd/connection.c (register_traced_file): Comment function.
64033         [HAVE_INOTIFY] (union __inev): Define.
64034         [HAVE_INOTIFY] (inotify_check_files): New function.
64035         [HAVE_INOTIFY] (clear_db_cache): Likewise.
64036         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
64037         clear_db_cache.
64038         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
64040 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64042         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
64043         loaded if not already and that a failure is permanent.
64045 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64047         [BZ #15006]
64048         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
64049         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
64051 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
64053         [BZ #13550]
64054         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
64055         (CHECK_1_NULL_OK): Likewise.
64056         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
64057         (__fxstat): Do not use CHECK_1.
64058         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
64059         <bp-checks.h>.
64060         (___fxstat64): Do not use CHECK_1.
64061         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
64062         <bp-checks.h>.
64063         (__fxstatat): Do not use CHECK_1.
64064         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
64065         <bp-checks.h>.
64066         (__fxstatat64): Do not use CHECK_1.
64067         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
64068         <bp-checks.h>.
64069         (__fxstat): Do not use CHECK_1.
64070         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
64071         <bp-checks.h>.
64072         (__fxstatat): Do not use CHECK_1.
64073         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
64074         <bp-checks.h>.
64075         (__getresgid): Do not use CHECK_1.
64076         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
64077         <bp-checks.h>.
64078         (__getresuid): Do not use CHECK_1.
64079         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
64080         <bp-checks.h>.
64081         (__lxstat): Do not use CHECK_1.
64082         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64083         <bp-checks.h>.
64084         (__old_msgctl): Do not use CHECK_1.
64085         (__new_msgctl): Likewise.
64086         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
64087         <bp-checks.h>.
64088         (__new_setrlimit): Do not use CHECK_1.
64089         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
64090         <bp-checks.h>.
64091         (__old_shmctl): Do not use CHECK_1.
64092         (__new_shmctl): Likewise.
64093         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
64094         <bp-checks.h>.
64095         (__xstat): Do not use CHECK_1.
64096         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
64097         (__lxstat): Do not use CHECK_1.
64098         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
64099         <bp-checks.h>.
64100         (___lxstat64): Do not use CHECK_1.
64101         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
64102         (__old_msgctl): Do not use CHECK_1.
64103         (__new_msgctl): Likewise.
64104         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
64105         <bp-checks.h>.
64106         (__gettimeofday): Do not use CHECK_1.
64107         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
64108         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
64109         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
64110         <bp-checks.h>.
64111         (__gettimeofday): Do not use CHECK_1.
64112         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
64113         (__old_shmctl): Do not use CHECK_1_NULL_OK.
64114         (__new_shmctl): Do not use CHECK_1.
64115         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
64116         <bp-checks.h>.
64117         (do_sigtimedwait): Do not use CHECK_1.
64118         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
64119         <bp-checks.h>.
64120         (do_sigwaitinfo): Do not use CHECK_1.
64121         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
64122         <bp-checks.h>.
64123         (msgctl): Do not use CHECK_1.
64124         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
64125         <bp-checks.h>.
64126         (shmctl): Do not use CHECK_1.
64127         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
64128         (ustat): Do not use CHECK_1.
64129         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
64130         <bp-checks.h>.
64131         (__fxstat): Do not use CHECK_1.
64132         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
64133         <bp-checks.h>.
64134         (__fxstatat): Do not use CHECK_1.
64135         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
64136         <bp-checks.h>.
64137         (__lxstat): Do not use CHECK_1.
64138         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
64139         <bp-checks.h>.
64140         (__xstat): Do not use CHECK_1.
64141         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
64142         (__xstat): Do not use CHECK_1.
64143         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
64144         (___xstat64): Do not use CHECK_1.
64146         [BZ #13550]
64147         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
64148         definitions.
64149         (CHECK_BOUNDS_HIGH): Likewise.
64150         * string/strcpy.c: Do not include <bp-checks.h>.
64151         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
64153 2013-02-07  Roland McGrath  <roland@hack.frob.com>
64155         * nscd/nscd-client.h (__nscd_drop_map_ref):
64156         Add __attribute__ ((unused)).
64157         * nis/nss-nisplus.h (niserr2nss): Likewise.
64159         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
64160         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
64162         * csu/libc-tls.c (init_static_tls, init_slotinfo):
64163         Remove inline keyword.
64164         * include/rounding-mode.h (round_away): Likewise.
64165         * libio/wfileops.c (adjust_wide_data): Likewise.
64166         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
64167         (__m128i_strloadu_tolower): Likewise.
64168         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
64169         (__m128i_strloadu_tolower): Likewise.
64170         * time/mktime.c (ydhms_diff): Likewise.
64171         * locale/elem-hash.h (elem_hash): Likewise.
64172         * locale/setlocale.c (setdata): Likewise.
64173         * posix/regex_internal.h (re_string_char_size_at): Likewise.
64174         (re_string_wchar_at): Likewise.
64175         (bitset_not, bitset_merge, bitset_mask): Likewise.
64176         [!(__GNUC__ > 3)] (inline): Remove macro.
64177         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
64178         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
64179         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
64180         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
64181         * string/memcmp.c (memcmp_bytes): Likewise.
64182         * locale/programs/locarchive.c (compute_hashval): Likewise.
64183         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
64184         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
64185         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
64186         * nss/getent.c (print_rpc, print_protocols): Likewise.
64187         (print_passwd, print_group, print_aliases): Likewise.
64188         * nis/nss-nisplus.h (niserr2nss): Likewise.
64189         * nscd/connections.c (restart_p): Likewise.
64190         Change return type to bool.
64192 2013-02-05  Roland McGrath  <roland@hack.frob.com>
64194         * Makeconfig (all-Depend-files): Add existing
64195         $(sorted-subdirs:=/Depend) files.
64196         (all-subdirs): Remove nss.
64197         * sysdeps/unix/inet/Subdirs: Add it here instead.
64198         * hesiod/Depend: New file.
64200         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
64201         instead of calling alloca.
64203         * io/lseek.c (__lseek): Rename to __libc_lseek.
64204         Define __lseek as an alias.
64206         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
64208 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
64210         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
64211         else clause and remove check for non-standard endianness.
64213 2013-02-04  David S. Miller  <davem@davemloft.net>
64215         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64217 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
64219         [BZ #13550]
64220         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
64221         (__ubp_memchr): Remove prototype.
64222         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
64223         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
64224         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
64225         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
64226         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
64227         Remove alias.
64228         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
64229         (__ubp_memchr): Likewise.
64230         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
64231         (__ubp_memchr): Likewise.
64232         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
64233         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
64234         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
64235         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
64236         CHECK_STRING.
64237         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
64238         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
64239         (__getcwd): Do not use CHECK_STRING.
64240         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
64241         <bp-checks.h>.
64242         (__real_chown): Do not use CHECK_STRING.
64243         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
64244         <bp-checks.h>.
64245         (fchownat): Do not use CHECK_STRING.
64246         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
64247         CHECK_STRING.
64248         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
64249         <bp-checks.h>.
64250         (__lchown): Do not use CHECK_STRING.
64251         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
64252         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
64253         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
64254         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
64255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64256         include <bp-checks.h>.
64257         (truncate64): Do not use CHECK_STRING.
64258         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
64259         <bp-checks.h>.
64260         (__real_chown): Do not use CHECK_STRING.
64261         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
64262         <bp-checks.h>.
64263         (__lchown): Do not use CHECK_STRING.
64264         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
64265         <bp-checks.h>.
64266         (__chown): Do not use CHECK_STRING.
64267         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
64268         <bp-checks.h>.
64269         (truncate64): Do not use CHECK_STRING.
64270         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
64271         Likewise.
64272         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
64273         (__xmknod): Do not use CHECK_STRING.
64274         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
64275         <bp-checks.h>.
64276         (__xmknodat): Do not use CHECK_STRING.
64277         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
64278         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
64280 2013-02-04  Andreas Schwab  <schwab@suse.de>
64282         [BZ #14142]
64283         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
64284         * include/netdb.h: Likewise for h_errno.
64285         * elf/tst-stackguard1.c: Include <tls.h>.
64287 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
64289         * elf/link.h (struct link_map): Extend the l_addr comment.
64290         * include/link.h (struct link_map): Likewise.
64292 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
64294         [BZ #13550]
64295         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
64296         (BOUNDED_1): Remove macro.
64297         * debug/backtrace.c: Don't include <bp-checks.h>.
64298         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
64299         (__backtrace): Likewise.
64300         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
64301         <bp-checks.h>.
64302         (__backtrace): Don't use BOUNDED_1.
64303         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
64304         <bp-checks.h>.
64305         (__backtrace): Don't use BOUNDED_1.
64306         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
64307         (__backtrace): Don't use BOUNDED_1.
64308         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
64309         (shmat): Don't use BOUNDED_N.
64311 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
64313         [BZ #13550]
64314         * sysdeps/generic/bp-start.h: Remove file.
64315         * csu/libc-start.c: Don't include <bp-start.h>.
64316         (LIBC_START_MAIN): Set up __environ directly instead of using
64317         INIT_ARGV_and_ENVIRON.
64318         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
64319         <bp-start.h>.
64321         [BZ #13550]
64322         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
64323         definitions.
64324         (CHECK_FCNTL): Likewise.
64325         (CHECK_N_PAGES): Likewise.
64327         [BZ #13550]
64328         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
64329         definitions.
64330         (CHECK_SIGSET_NULL_OK): Likewise.
64331         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
64332         <bp-checks.h>.
64333         (sigpending): Don't use CHECK_SIGSET.
64334         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
64335         <bp-checks.h>.
64336         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
64337         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
64338         <bp-checks.h>.
64339         (do_sigsuspend): Don't use CHECK_SIGSET.
64340         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
64341         use CHECK_SIGSET.
64342         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
64343         (do_sigwait): Don't use CHECK_SIGSET.
64344         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
64345         use CHECK_SIGSET.
64346         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
64347         include <bp-checks.h>.
64348         (sigpending): Don't use CHECK_SIGSET.
64349         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
64350         include <bp-checks.h>.
64351         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
64352         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
64353         <bp-checks.h>.
64354         (sigpending): Don't use CHECK_SIGSET.
64355         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
64356         <bp-checks.h>.
64357         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
64359         [BZ #13550]
64360         * sysdeps/generic/bp-semctl.h: Remove file.
64361         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
64362         <bp-checks.h> and <bp-semctl.h>.
64363         (__old_semctl): Don't use CHECK_SEMCTL.
64364         (__new_semctl): Likewise.
64365         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
64366         and <bp-semctl.h>.
64367         (__old_semctl): Don't use CHECK_SEMCTL.
64368         (__new_semctl): Likewise.
64369         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
64370         <bp-checks.h> and <bp-semctl.h>.
64371         (__old_semctl): Don't use CHECK_SEMCTL.
64372         (__new_semctl): Likewise.
64373         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
64374         <bp-checks.h> and <bp-semctl.h>.
64375         (semctl): Don't use CHECK_SEMCTL.
64377         [BZ #13550]
64378         * Makerules (elide-bp-thunks): Remove variable.
64379         (elide-routines.oS): Don't use $(elide-bp-thunks).
64380         (elide-routines.os): Likewise.
64381         (elide-routines.o): Likewise.
64382         (elide-routines.op): Likewise.
64383         (elide-routines.og): Likewise.
64384         (objects): Don't use $(bp-thunks).
64385         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
64386         include.
64387         (common-generated): Do not add s-proto-bp.d.
64388         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
64389         (int): Likewise.
64390         (typ): Likewise.
64391         Do not generate makefile rules for bounded-pointer thunks.
64392         * sysdeps/generic/bp-thunks.h: Remove file.
64393         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
64394         * sysdeps/unix/s-proto-bp.S: Likewise.
64396         [BZ #15062]
64397         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
64398         parts of result separately when argument is not close to line from
64399         -i to i and one part of argument is small.
64400         * math/k_casinhf.c (__kernel_casinhf): Likewise.
64401         * math/k_casinhl.c (__kernel_casinhl): Likewise.
64402         * math/libm-test.inc (cacos_test): Add more tests.
64403         (casin_test): Likewise.
64404         (casinh_test): Likewise.
64405         * sysdeps/i386/fpu/libm-test-ulps: Update.
64406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64408 2013-01-31  David S. Miller  <davem@davemloft.net>
64410         * po/de.po: Update from translation team.
64412 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
64414         * time/tzfile.c: Include stdint.h for SIZE_MAX.
64416 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
64418         * configure.in (_AC_PROG_CC_C89): New definition.
64419         * configure: Regenerate.
64421         * configure.in (AC_PROG_CPP): New definition.
64422         * configure: Regenerate.
64424 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
64426         * debug/tst-backtrace.h: New file.
64427         * debug/tst-backtrace2.c: Include tst-backtrace.h.
64428         (ret): Remove variable.
64429         (x): Likewise.
64430         (FAIL): Remove macro.
64431         (NO_INLINE): Likewise.
64432         (fn1): Use match function instead of strstr.
64433         * debug/tst-backtrace3.c: Include tst-backtrace.h.
64434         (ret): Remove variable.
64435         (x): Likewise.
64436         (FAIL): Remove macro.
64437         (NO_INLINE): Likewise.
64438         (fn): Use match function instead of strstr.
64439         * debug/tst-backtrace4.c: Include tst-backtrace.h.
64440         (ret): Remove variable.
64441         (x): Likewise.
64442         (FAIL): Remove macro.
64443         (NO_INLINE): Likewise.
64444         (handle_signal): Use match function instead of strstr.
64445         * debug/tst-backtrace5.c: Include tst-backtrace.h.
64446         (ret): Remove variable.
64447         (x): Likewise.
64448         (FAIL): Remove macro.
64449         (NO_INLINE): Likewise.
64450         (handle_signal): Use match function instead of strstr.
64452 2013-01-23  Roland McGrath  <roland@hack.frob.com>
64454         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
64456 2013-01-23  David S. Miller  <davem@davemloft.net>
64458         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
64459         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
64460         argument of CAS if possible.
64461         * sysdeps/sparc/sparc64/bits/atomic.h
64462         (__arch_compare_and_exchange_val_32_acq): Likewise.
64463         (__arch_compare_and_exchange_val_64_acq): Likewise.
64465 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
64467         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
64468         * sysdeps/posix/ulimit.c: ... this.
64469         Include <limits.h>.
64470         * sysdeps/unix/bsd/ulimit.c: Remove file.
64472 2013-01-23  Adam Conrad  <adconrad@0c3.net>
64474         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
64475         (LDFLAGS-tst-array5): Likewise.
64477 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
64479         [BZ #15036]
64480         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
64481         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
64482         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
64483         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
64485 2013-01-21  David S. Miller  <davem@davemloft.net>
64487         * sysdeps/sparc/backtrace.c: New file.
64488         * sysdeps/sparc/sparc32/backtrace.h: New file.
64489         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
64490         * sysdeps/sparc/sparc64/backtrace.h: New file.
64491         * sysdeps/sparc/sparc64/backtrace.c: Delete.
64492         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
64493         -funwind-tables.
64495 2013-01-21  Andreas Schwab  <schwab@suse.de>
64497         [BZ #15020]
64498         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
64499         closed its stdout.
64501 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
64503         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
64504         "mpa2.h".
64505         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64507 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
64508             Mark Mitchell  <mark@codesourcery.com>
64509             Tom de Vries  <tom@codesourcery.com>
64510             Paul Pluzhnikov  <ppluzhnikov@google.com>
64512         * debug/tst-backtrace2.c: New file.
64513         * debug/tst-backtrace3.c: Likewise.
64514         * debug/tst-backtrace4.c: Likewise.
64515         * debug/tst-backtrace5.c: Likewise.
64516         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
64517         (CFLAGS-tst-backtrace3.c): Likewise.
64518         (CFLAGS-tst-backtrace4.c): Likewise.
64519         (CFLAGS-tst-backtrace5.c): Likewise.
64520         (LDFLAGS-tst-backtrace2): Likewise.
64521         (LDFLAGS-tst-backtrace3): Likewise.
64522         (LDFLAGS-tst-backtrace4): Likewise.
64523         (LDFLAGS-tst-backtrace5): Likewise.
64524         (tests): Add new tests tst-backtrace2, tst-backtrace3,
64525         tst-backtrace4 and tst-backtrace5.
64527 2013-01-18  Anton Blanchard  <anton@samba.org>
64528             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64530         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
64531         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
64532         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
64533         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
64534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
64535         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
64536         "+r" and remove output regs list as redundant.  Add explicit inline
64537         asm to specify register of return val to work around compiler codegen
64538         bug.  Remove (int) cast on return value.  Add return type parameter to
64539         use in macro so that this macro does not truncate return value for
64540         64-bit values.
64541         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
64542         pass to INTERNAL_VSYSCALL_NCS.
64543         (INLINE_VSYSCALL): Add 'long int' as return type to
64544         INTERNAL_VSYSCALL_NCS macro invocation.
64545         (INTERNAL_VSYSCALL): Add 'long int' as return type to
64546         INTERNAL_VSYSCALL_NCS macro invocation.
64547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64549 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
64551         [BZ #14496]
64552         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
64553         Fix application of SIMD FP exception mask.
64555         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
64556         mp_no from a power of two.
64557         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
64558         __mpexp_twomm1.  Use __pow_mp.
64560         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
64561         multiplication.
64563 2013-01-17  David S. Miller  <davem@davemloft.net>
64565         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64567 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
64569         [BZ #15023]
64570         * include/complex.h: Condition contents on [!_COMPLEX_H].
64571         (__kernel_casinhf): New prototype.
64572         (__kernel_casinh): Likewise.
64573         (__kernel_casinhl): Likewise.
64574         * math/Makefile (libm_calls): Add k_casinh.
64575         * math/k_casinh.c: New file.
64576         * math/k_casinhf.c: Likewise.
64577         * math/k_casinhl.c: Likewise.
64578         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
64579         finite nonzero arguments.
64580         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
64581         finite nonzero arguments.
64582         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
64583         finite nonzero arguments.
64584         * math/s_casinh.c: Do not include <float.h>.
64585         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
64586         * math/s_casinhf.c: Do not include <float.h>.
64587         (__casinhf): Move code for finite nonzero arguments to
64588         k_casinhf.c.
64589         * math/s_casinhl.c: Do not include <float.h>.
64590         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
64591         redefine.
64592         (__casinhl): Move code for finite nonzero arguments to
64593         k_casinhl.c.
64594         * math/libm-test.inc (cacos_test): Add more tests.
64595         * sysdeps/i386/fpu/libm-test-ulps: Update.
64596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64598 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
64600         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
64601         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
64602         [!HAVE_MREMAP]: Remove [defined linux] case.
64603         * malloc/arena.c: Do not include <malloc-sysdep.h>.
64605 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
64607         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
64609 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
64611         * elf/elf.h (R_386_SIZE32): New relocation.
64612         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
64613         R_386_SIZE32.
64614         (elf_machine_rela): Likewise.
64615         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
64616         R_X86_64_SIZE64 and R_X86_64_SIZE32.
64618 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
64620         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
64621         (FP_FAST_FMA): Do not define.
64622         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
64623         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
64624         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
64625         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
64626         !_SOFT_FLOAT]: Likewise.
64627         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
64628         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
64629         value.
64630         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
64631         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
64632         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
64633         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
64634         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
64635         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
64636         file.
64638 2013-01-16  Andreas Schwab  <schwab@suse.de>
64640         [BZ #14327]
64641         * include/stdlib.h (__mktemp): Add declaration.
64642         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
64643         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
64645 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
64647         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
64648         definitions.
64649         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
64650         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
64651         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
64652         definitions here.
64653         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
64654         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
64655         definitions.
64656         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
64657         and ONE.
64658         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
64659         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
64660         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
64661         definitions.
64662         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
64663         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
64664         definitions.
64665         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
64667         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
64669 2013-01-15  David S. Miller  <davem@davemloft.net>
64671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64672         trunc{,f} to libm-sysdep_routes.
64673         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
64675         file.
64676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
64677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
64678         file.
64679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
64680         file.
64681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
64682         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
64683         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
64684         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
64685         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
64686         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
64687         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
64688         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
64690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64691         nearbyint{,f} to libm-sysdep_routes.
64692         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
64694         New file.
64695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
64696         file.
64697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
64698         New file.
64699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
64700         file.
64701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
64702         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
64703         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
64704         file.
64705         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
64706         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
64707         file.
64708         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
64709         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
64710         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
64712         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
64713         libc_feholdexcept and libc_fesetenv.
64715 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
64717         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
64719 2013-01-14  David S. Miller  <davem@davemloft.net>
64721         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
64722         (SPARC_ASM_VIS2_IFUNC): Likewise.
64723         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
64724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
64725         use of 'siam' instruction.
64726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
64727         Likewise.
64728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
64729         Likewise.
64730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
64731         Likewise.
64732         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
64733         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
64734         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
64735         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
64736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
64737         file.
64738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
64739         file.
64740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
64741         file.
64742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
64743         file.
64744         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
64745         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
64746         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
64747         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
64748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
64749         new VIS2 routines.
64750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
64751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
64752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
64753         Likewise.
64754         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
64755         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
64756         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
64757         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
64758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
64759         routines to libm-sysdep_routines.
64760         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64763         fdim/fdimf to libm-sysdep_routines.
64764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
64765         file.
64766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
64767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
64768         file.
64769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
64770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
64771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
64772         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
64773         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
64774         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
64775         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
64777 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64779         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
64780         to optimize copies.
64782         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
64783         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
64784         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64786         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
64787         local variable MPTWO.
64788         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
64789         Likewise.
64791 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
64793         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
64794         GLOB_NOESCAPE.
64796 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
64798         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
64800 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
64802         * manual/pattern.texi (glob_t): Document gl_flags.
64803         (glob64_t): Likewise.
64805 2013-01-11  David S. Miller  <davem@davemloft.net>
64807         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
64808         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
64809         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
64810         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
64811         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
64812         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
64813         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
64814         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
64815         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
64816         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
64817         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
64818         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
64819         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
64821         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
64822         sparc V9 rather than using V8 code.
64823         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
64824         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
64826         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
64827         Move to...
64828         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
64829         Here.
64831 2013-01-11  Roland McGrath  <roland@hack.frob.com>
64833         [BZ #14941]
64834         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
64835         not in the main loop.
64836         * configure: Regenerated.
64838 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
64840         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
64841         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
64842         to just #else.
64843         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
64844         [!__GLIBC_HAVE_LONG_LONG] case.
64845         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
64846         condition to just #else.
64847         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
64848         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
64849         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
64850         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
64851         unconditional.
64852         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
64853         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
64854         #elif condition to just #else.
64855         * sysdeps/unix/sysv/linux/sys/sysmacros.h
64856         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
64857         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
64858         #elif condition to just #else.
64860 2013-01-11  Steve Ellcey  <sellcey@mips.com>
64862         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
64863         (EF_MIPS_ARCH_64): Fix value.
64864         (EF_MIPS_ARCH_32R2): New.
64865         (EF_MIPS_ARCH_64R2): New.
64867 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
64869         * Makeconfig (+link-pie-before-libc): New.
64870         (+link-pie-after-libc): Likewise.
64871         (+link-pie-tests): Likewise.
64872         (+link-pie): Rewritten.
64873         (link-before-libc): Remove $(config-LDFLAGS).
64874         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
64875         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
64876         (config-LDFLAGS): Renamed to ...
64877         (rtld-LDFLAGS): This.
64878         (rtld-tests-LDFLAGS): New macro.
64879         (link-libc-rpath-link): Likewise.
64880         (link-libc-tests-rpath-link): Likewise.
64881         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
64882         (link-libc): Prepand $(link-libc-rpath-link).
64883         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
64884         (test-program-prefix): New macro.
64885         (test-via-rtld-prefix): Likewise.
64886         (test-program-cmd): Likewise.
64887         (host-test-program-cmd): Likewise.
64888         * Makefile ($(common-objpfx)testrun.sh): Replace
64889         $(run-program-prefix) with $(test-program-prefix).
64890         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
64891         $(rtld-LDFLAGS).
64892         ($(common-objpfx)shlib.lds): Likewise.
64893         (build-module-helper): Likewise.
64894         ($(common-objpfx)format.lds): Likewise.
64895         * Rules (binaries-pie-tests): New.
64896         (binaries-pie-notests): Likewise.
64897         (binaries-pie): Rewritten.
64898         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
64899         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
64900         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
64901         (make-test-out): Replace $(host-built-program-cmd) with
64902         $(host-test-program-cmd).
64903         * config.make.in (build-hardcoded-path-in-tests): New variable.
64904         * configure.in (--enable-hardcoded-path-in-tests): New configure
64905         option.
64906         (hardcoded_path_in_tests): New AC_SUBST.
64907         * configure: Regenerated.
64908         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
64909         $(built-program-cmd) with $(test-program-cmd).
64910         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
64911         (test_program_cmd): This.
64912         * elf/Makefile ($(objpfx)order.out): Run test with
64913         $(test-program-prefix).
64914         ($(objpfx)order2.out): Likewise.
64915         ($(objpfx)tst-initorder.out): Likewise.
64916         ($(objpfx)tst-initorder2.out): Likewise.
64917         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
64918         $(test-program-cmd).
64919         ($(objpfx)tst-array1-static.out): Likewise.
64920         ($(objpfx)tst-array2.out): Likewise.
64921         ($(objpfx)tst-array3.out): Likewise.
64922         ($(objpfx)tst-array4.out): Likewise.
64923         ($(objpfx)tst-array5.out): Likewise.
64924         ($(objpfx)tst-array5-static.out): Likewise.
64925         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
64926         $(test-program-cmd).
64927         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
64928         $(run-program-prefix) with $(test-program-prefix).
64929         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
64930         (test_program_prefix): This.
64931         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
64932         $(run-program-prefix) with $(test-program-prefix).
64933         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
64934         (test_program_prefix): This.
64935         * iconvdata/tst-tables.sh: Likewise.
64936         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
64937         $(run-program-prefix) with $(test-program-prefix).
64938         ($(objpfx)tst-translit.out): Likewise.
64939         ($(objpfx)tst-gettext2.out): Likewise.
64940         ($(objpfx)tst-gettext4.out): Likewise.
64941         ($(objpfx)tst-gettext6.out): Likewise.
64942         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
64943         (test_program_prefix): This.
64944         * intl/tst-gettext2.sh: Likewise.
64945         * intl/tst-gettext4.sh  Likewise.
64946         * intl/tst-gettext6.sh: Likewise.
64947         * intl/tst-translit.sh: Likewise.
64948         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
64949         with $(test-program-cmd).
64950         * libio/Makefile ($(objpfx)test-freopen.out): Replace
64951         $(run-program-prefix) with $(test-program-prefix).
64952         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
64953         (test_program_prefix): This.
64954         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
64955         $(run-program-prefix) with $(test-program-prefix).
64956         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
64957         (test_program_prefix): This.
64958         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
64959         * posix/Makefile ($(objpfx)globtest.out): Replace
64960         $(run-via-rtld-prefix) and $(test-wrapper) with
64961         $(test-program-prefix) and $(test-via-rtld-prefix).
64962         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
64963         $(test-program-prefix).
64964         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
64965         $(host-test-program-cmd).
64966         (tst-spawn-ARGS): Likewise.
64967         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
64968         $(test-program-prefix).
64969         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
64970         (test_via_rtld_prefix): This.
64971         (test_wrapper): Renamed to ...
64972         (test_program_prefix): This.
64973         (run_program_prefix): Replaced by test_program_prefix.
64974         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
64975         (test_program_prefix): This.
64976         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
64977         with $(host-test-program-cmd).
64978         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
64979         $(run-program-prefix) with $(test-program-prefix).
64980         ($(objpfx)tst-printf.out): Likewise.
64981         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
64982         $(test-program-cmd).
64983         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
64984         (test_program_prefix): This.
64985         * stdio-common/tst-unbputc.sh: Likewise.
64986         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
64987         $(run-program-prefix) with $(test-program-prefix).
64988         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
64989         (test_program_prefix): This.
64990         * string/Makefile ($(objpfx)tst-svc.out):  Replace
64991         $(built-program-cmd) with $(test-program-cmd).
64993 2013-01-11  Andreas Jaeger  <aj@suse.de>
64995         [BZ #15003]
64996         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
64997         value. Sync with Linux 3.7.
64999 2013-01-10  David S. Miller  <davem@davemloft.net>
65001         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
65002         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65003         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65005 2013-01-10  Roland McGrath  <roland@hack.frob.com>
65007         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
65008         never set.
65009         * configure: Regenerated.
65011 2013-01-10  David S. Miller  <davem@davemloft.net>
65013         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
65014         sparc V9 rather than using V8 code.
65015         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65016         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65018 2013-01-10  Roland McGrath  <roland@hack.frob.com>
65020         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
65021         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
65022         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
65023         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
65024         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
65025         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
65026         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
65027         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
65028         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
65029         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
65030         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
65031         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
65032         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
65033         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
65034         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
65035         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
65036         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
65037         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
65038         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
65039         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
65040         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
65041         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
65042         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
65043         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
65044         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
65045         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
65046         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
65048 2013-01-10  David S. Miller  <davem@davemloft.net>
65050         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65052 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
65054         * posix/Makefile (tests-static): New variable.
65055         (tests): Add $(tests-static).
65056         (tst-exec-static-ARGS): New variable.
65057         (tst-spawn-static-ARGS): Likewise.
65058         * posix/tst-exec-static.c: New file.
65059         * posix/tst-spawn-static.c: Likewise.
65060         * posix/tst-exec.c: Support run directly.
65061         * posix/tst-spawn.c: Likewise.
65063 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
65065         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
65066         long.
65067         * math/bits/mathcalls.h (llrint): Likewise.
65068         (llround): Likewise.
65069         * stdlib/stdlib.h (struct drand48_data): Likewise.
65070         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
65071         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
65072         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
65073         Likewise.
65074         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
65075         Likewise.
65076         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
65077         (elf_greg_t): Likewise.
65078         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
65079         (__jmp_buf): Likewise.
65080         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
65081         definitions.
65082         (llrint): Likewise, for all definitions.
65083         (llrintl): Likewise.
65085         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
65086         Remove [__GNUC__] condition.
65087         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
65088         condition to just [__USE_ISOC99].
65089         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
65091 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
65093         [BZ #14200]
65094         * sysdeps/unix/sysv/linux/x86/bits/environments.h
65095         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
65096         defined.
65097         (_POSIX_V6_ILP32_OFF32): Likewise.
65098         (_XBS5_ILP32_OFF32): Likewise.
65099         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
65100         (__ILP32_OFFBIG_LDFLAGS): Likewise.
65102 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65104         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
65106         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
65107         doubles __mpexp_twomm1.  Adjust usage.
65108         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
65109         Remove.
65111 2013-01-10  Andreas Schwab  <schwab@suse.de>
65113         [BZ #14964]
65114         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
65115         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
65117 2013-01-09  David S. Miller  <davem@davemloft.net>
65119         [BZ #15003]
65120         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
65121         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
65122         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
65123         (TCP_FASTOPEN): Define.
65124         (tcp_repair_opt): New structure.
65125         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
65126         enum values.
65127         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
65128         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
65129         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
65130         (tcp_cookie_transactions): New structure.
65132 2013-01-09  Anton Blanchard  <anton@samba.org>
65134         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
65135         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
65136         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
65137         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
65139 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
65141         * include/features.h (__USE_ANSI): Remove.
65143 2013-01-09  Roland McGrath  <roland@hack.frob.com>
65145         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
65147         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
65149 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
65151         * sysdeps/s390/fpu/libm-test-ulps: Update.
65153         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65155         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
65156         (__acr): Likewise.
65157         (__cpy): Likewise.
65158         (norm): Likewise.
65159         (denorm): Likewise.
65160         (__mp_dbl): Likewise.
65161         (__dbl_mp): Likewise.
65162         (add_magnitudes): Likewise.
65163         (sub_magnitudes): Likewise.
65164         (__add): Likewise.
65165         (__sub): Likewise.
65166         (__mul): Likewise.
65167         (__inv): Likewise.
65168         (__dvd): Likewise.
65169         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
65170         (__acr): Likewise.
65171         (__cpy): Likewise.
65172         (norm): Likewise.
65173         (denorm): Likewise.
65174         (__mp_dbl): Likewise.
65175         (__dbl_mp): Likewise.
65176         (add_magnitudes): Likewise.
65177         (sub_magnitudes): Likewise.
65178         (__add): Likewise.
65179         (__sub): Likewise.
65180         (__mul): Likewise.
65181         (__inv): Likewise.
65182         (__dvd): Likewise.
65183         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
65184         (__acr): Likewise.
65185         (__cpy): Likewise.
65186         (norm): Likewise.
65187         (denorm): Likewise.
65188         (__mp_dbl): Likewise.
65189         (__dbl_mp): Likewise.
65190         (add_magnitudes): Likewise.
65191         (sub_magnitudes): Likewise.
65192         (__add): Likewise.
65193         (__sub): Likewise.
65194         (__mul): Likewise.
65195         (__inv): Likewise.
65196         (__dvd): Likewise.
65198 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
65200         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
65201         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
65202         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
65203         2 && __USE_EXTERN_INLINES]: Likewise.
65205 2013-01-08  Andreas Jaeger  <aj@suse.de>
65207         [BZ# 14985]
65208         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
65209         Remove.
65210         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
65211         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
65213 2013-01-07  Anton Blanchard  <anton@samba.org>
65215         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
65216         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65217         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
65218         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65219         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
65220         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65221         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
65222         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
65223         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
65224         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
65225         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65226         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65227         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
65228         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65229         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
65230         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65231         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65232         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65233         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
65234         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
65235         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
65236         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
65237         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
65238         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
65239         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
65240         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
65241         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
65242         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65243         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
65244         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
65245         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
65246         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65247         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
65248         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65249         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65250         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
65251         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65252         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
65253         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
65254         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
65255         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
65256         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
65257         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65259 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
65261         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
65262         (__MALLOC_PMT): Likewise.
65263         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
65264         [__GNUC__], only on [_LIBC].
65265         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
65266         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
65267         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
65268         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
65269         forward declaration.
65270         (realloc_hook_ini): Likewise.
65271         (memalign_hook_ini): Likewise.
65272         (__libc_memalign): Do not use __MALLOC_PMT in variable
65273         declaration.
65274         (__libc_valloc): Likewise.
65275         (__libc_pvalloc): Likewise.
65276         (__libc_calloc): Likewise.
65277         (__posix_memalign): Likewise.
65279         [BZ #14996]
65280         * math/s_casinh.c: Include <float.h>.
65281         (__casinh): Do not do computation with squaring and square root
65282         for large arguments.
65283         * math/s_casinhf.c: Include <float.h>.
65284         (__casinhf): Do not do computation with squaring and square root
65285         for large arguments.
65286         * math/s_casinhl.c: Include <float.h>.
65287         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
65288         (__casinhl): Do not do computation with squaring and square root
65289         for large arguments.
65290         * math/libm-test.inc (casin_test): Add more tests.
65291         (casinh_test): Likewise.
65292         * sysdeps/i386/fpu/libm-test-ulps: Update.
65293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65295 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
65297         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
65298         (__x86_64_raw_data_cache_size): Likewise.
65299         (__x86_64_data_cache_size_half): Likewise.
65300         (__x86_64_raw_data_cache_size_half): Likewise.
65301         (__x86_64_shared_cache_size): Likewise.
65302         (__x86_64_raw_shared_cache_size): Likewise.
65303         (__x86_64_shared_cache_size_half): Likewise.
65304         (__x86_64_raw_shared_cache_size_half): Likewise.
65305         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
65306         to ...
65307         (__x86_data_cache_size): This.
65308         (__x86_64_raw_data_cache_size): Renamed to ...
65309         (__x86_raw_data_cache_size): This.
65310         (__x86_64_data_cache_size_half): Renamed to ...
65311         (__x86_data_cache_size_half): This.
65312         (__x86_64_raw_data_cache_size_half): Renamed to ...
65313         (__x86_raw_data_cache_size_half): This.
65314         (__x86_64_shared_cache_size): Renamed to ...
65315         (__x86_shared_cache_size): This.
65316         (__x86_64_raw_shared_cache_size): Renamed to ...
65317         (__x86_raw_shared_cache_size): This.
65318         (__x86_64_shared_cache_size_half): Renamed to ...
65319         (__x86_shared_cache_size_half): This.
65320         (__x86_64_raw_shared_cache_size_half): Renamed to ...
65321         (__x86_raw_shared_cache_size_half): This.
65322         * sysdeps/x86_64/memcpy.S: Updated.
65323         * sysdeps/x86_64/memset.S: Likewise.
65324         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
65325         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
65326         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
65328 2013-01-04  David S. Miller  <davem@davemloft.net>
65330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65332 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
65334         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
65335         1 to avoid redefinition warning.
65336         (__USE_GNU): Don't define.
65337         (init_signaling_nan): Protoize.
65339         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65341 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
65343         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
65344         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
65345         (__cpymn): Likewise.
65346         (norm): Remove commented code.
65347         (denorm): Likewise.
65348         (__mp_dbl): Likewise.
65349         (__inv): Likewise.
65350         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
65351         (__cpymn): Likewise.
65352         (norm): Remove commented code.
65353         (denorm): Likewise.
65354         (__mp_dbl): Likewise.
65355         (__inv): Likewise.
65357         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
65358         mp_no value for 1.0 and 2.0.
65359         (norm): Use RADIXI instead of radixi.d.
65360         (denorm): Likewise.
65361         (__mul): Use 0.0 instead of zero.d.
65362         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
65363         mp_no value for 1.0 and 2.0.
65364         (norm): Use RADIXI instead of radixi.d.
65365         (denorm): Likewise.
65366         (__mul): Use 0.0 instead of zero.d.
65368 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
65370         [BZ #14994]
65371         * math/s_casinh.c (__casinh): Reduce finite argument to first
65372         quadrant then set signs of results at the end.
65373         * math/s_casinhf.c (__casinhf): Likewise.
65374         * math/s_casinhl.c (__casinhl): Likewise.
65375         * math/libm-test.inc (casin_test): Add more tests.
65376         (casinh_test): Likewise.
65377         * sysdeps/i386/fpu/libm-test-ulps: Update.
65378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65380 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
65382         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
65384         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
65386         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
65387         declarations.
65388         (denorm): Likewise.
65389         (__mp_dbl): Likewise.
65390         (__inv): Likewise.
65392         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
65393         and adjust the header comment.
65395         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
65396         variable name from declaration.
65398 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
65400         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65401         Initialize COMMON_CPUID_INDEX_7 element.
65402         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
65403         (CPUID_RTM): Likewise.
65404         (HAS_RTM): Likewise.
65405         (COMMON_CPUID_INDEX_7): New enum.
65407 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
65409         [BZ #14981]
65410         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
65411         size is zero, record memory as freed.
65413 2013-01-03  Andreas Jaeger  <aj@suse.de>
65415         * po/ia.po: Add new Interlingua translation.
65417 2012-01-03  Allan McRae  <allan@archlinux.org>
65419         * locale/programs/localedef.c: Fix description of '--posix' flag.
65421 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
65423         * NEWS: Update dates in second copyright notice.
65424         * README: Update copyright dates in example.
65425         * manual/libc.texinfo: Update copyright dates.
65426         * scripts/test-installation.pl: Update copyright date in --version
65427         output.
65429         * hurd/ctty-input.c: Fix copyright notice formatting.
65430         * hurd/ctty-output.c: Likewise.
65431         * hurd/dtable.c: Likewise.
65432         * hurd/hurd-raise.c: Likewise.
65433         * hurd/hurdprio.c: Likewise.
65434         * hurd/msgportdemux.c: Likewise.
65435         * misc/sys/file.h: Likewise.
65436         * misc/sys/ioctl.h: Likewise.
65437         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
65438         * sysdeps/mach/hurd/chdir.c: Likewise.
65439         * sysdeps/mach/hurd/fchdir.c: Likewise.
65440         * sysdeps/mach/hurd/rename.c: Likewise.
65441         * sysdeps/mach/hurd/rmdir.c: Likewise.
65442         * sysdeps/mach/hurd/seekdir.c: Likewise.
65443         * sysdeps/mach/hurd/setsid.c: Likewise.
65444         * sysdeps/posix/wait3.c: Likewise.
65446         * All files with FSF copyright notices: Update copyright dates
65447         using scripts/update-copyrights.
65448         * intl/plural.c: Regenerated.
65449         * locale/programs/charmap-kw.h: Likewise.
65450         * locale/programs/locfile-kw.h: Likewise.
65452 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
65454         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
65455         four values.
65457         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
65458         calculation loop and add branch prediction.
65460         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
65461         check access beyond bounds of m1np.
65463         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
65464         MPTWO.
65465         (__inv): Remove local variable MPTWO to use the global
65466         constant.
65467         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
65468         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
65469         variable MPTWO.
65470         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
65471         MP3HALFS static const.
65473 2013-01-01  David S. Miller  <davem@davemloft.net>
65475         * po/ca.po: Update from translation team.
65477 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
65479         * scripts/update-copyrights: New file.
65480         * Makeconfig: Reformat copyright notice.
65481         * ctype/ctype.h: Likewise.
65482         * debug/swprintf_chk.c: Likewise.
65483         * elf/dl-cache.c: Likewise.
65484         * elf/dl-debug.c: Likewise.
65485         * elf/dl-object.c: Likewise.
65486         * grp/initgroups.c: Likewise.
65487         * hurd/Makefile: Likewise.
65488         * hurd/hurd/signal.h: Likewise.
65489         * hurd/hurdfault.c: Likewise.
65490         * hurd/hurdioctl.c: Likewise.
65491         * hurd/hurdlookup.c: Likewise.
65492         * hurd/intr-msg.c: Likewise.
65493         * iconv/gconv_open.c: Likewise.
65494         * libio/swprintf.c: Likewise.
65495         * locale/lc-ctype.c: Likewise.
65496         * locale/nl_langinfo.c: Likewise.
65497         * mach/Machrules: Likewise.
65498         * mach/Makefile: Likewise.
65499         * malloc/obstack.h: Likewise.
65500         * manual/Makefile: Likewise.
65501         * manual/tsort.awk: Likewise.
65502         * misc/bits/stab.def: Likewise.
65503         * nis/nis_print_group_entry.c: Likewise.
65504         * nis/nis_table.c: Likewise.
65505         * nis/nss_compat/compat-pwd.c: Likewise.
65506         * nis/nss_compat/compat-spwd.c: Likewise.
65507         * po/Makefile: Likewise.
65508         * posix/fnmatch.c: Likewise.
65509         * posix/regex.h: Likewise.
65510         * resolv/Makefile: Likewise.
65511         * resolv/nss_dns/dns-network.c: Likewise.
65512         * resolv/res_hconf.c: Likewise.
65513         * scripts/gen-sorted.awk: Likewise.
65514         * soft-fp/soft-fp.h: Likewise.
65515         * stdio-common/printf.h: Likewise.
65516         * stdlib/monetary.h: Likewise.
65517         * stdlib/random.c: Likewise.
65518         * stdlib/random_r.c: Likewise.
65519         * sysdeps/generic/Makefile: Likewise.
65520         * sysdeps/gnu/Makefile: Likewise.
65521         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65522         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65523         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65524         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65525         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65526         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65527         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65528         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65529         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65530         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65531         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
65532         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
65533         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
65534         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
65535         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
65536         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
65537         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
65538         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65539         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65540         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65541         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65542         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65543         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65544         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65545         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
65546         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
65547         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
65548         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
65549         * sysdeps/mach/hurd/errnos.awk: Likewise.
65550         * sysdeps/mach/hurd/fork.c: Likewise.
65551         * sysdeps/mach/hurd/getcwd.c: Likewise.
65552         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
65553         * sysdeps/mach/hurd/mmap.c: Likewise.
65554         * sysdeps/mach/hurd/utimes.c: Likewise.
65555         * sysdeps/mach/hurd/xmknod.c: Likewise.
65556         * sysdeps/posix/profil.c: Likewise.
65557         * sysdeps/posix/readdir_r.c: Likewise.
65558         * sysdeps/powerpc/bits/mathdef.h: Likewise.
65559         * sysdeps/powerpc/bits/setjmp.h: Likewise.
65560         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
65561         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
65562         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
65563         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
65564         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
65565         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65566         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65567         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
65568         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
65569         * sysdeps/pthread/lio_listio.c: Likewise.
65570         * sysdeps/sparc/dl-procinfo.h: Likewise.
65571         * sysdeps/unix/i386/sysdep.S: Likewise.
65572         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
65573         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
65574         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
65575         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
65576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65577         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
65578         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
65579         * sysdeps/unix/sysv/linux/speed.c: Likewise.
65580         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
65581         * sysdeps/wordsize-32/divdi3.c: Likewise.
65582         * time/sys/time.h: Likewise.
65583         * wcsmbs/Makefile: Likewise.
65585 2013-01-01  David S. Miller  <davem@davemloft.net>
65587         * po/fr.po: Update from translation team.
65589         * catgets/gencat.c: Update copyright year.
65590         * csu/version.c: Likewise.
65591         * debug/catchsegv.sh: Likewise.
65592         * debug/pcprofiledump.c: Likewise.
65593         * debug/xtrace.sh: Likewise.
65594         * elf/ldconfig.c: Likewise.
65595         * elf/ldd.bash.in: Likewise.
65596         * elf/pldd.c: Likewise.
65597         * elf/sotruss.ksh: Likewise.
65598         * elf/sprof.c: Likewise.
65599         * iconv/iconv_prog.c: Likewise.
65600         * iconv/iconvconfig.c: Likewise.
65601         * locale/programs/locale.c: Likewise.
65602         * locale/programs/localedef.c: Likewise.
65603         * login/programs/pt_chown.c: Likewise.
65604         * malloc/memusage.sh: Likewise.
65605         * malloc/memusagestat.c: Likewise.
65606         * malloc/mtrace.pl: Likewise.
65607         * nscd/nscd.c: Likewise.
65608         * nss/getent.c: Likewise.
65609         * nss/makedb.c: Likewise.
65610         * posix/getconf.c: Likewise.
65612 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
65614         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
65615         numbers.
65617 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
65619         * math/bits/mathcalls.h (modf): Use __nonnull.
65621 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
65623         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
65624         (split): Use macro CN instead of the bare value.
65625         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
65626         could be used.
65627         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
65628         instead of the bare value.
65629         (power1): Likewise.
65631 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65633         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
65634         __ATAN_TWOM.
65635         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65637         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
65638         their values.
65639         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
65640         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
65641         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
65642         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
65644 2012-12-28  Andreas Jaeger  <aj@suse.de>
65646         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
65647         values are from Linux 3.7.
65649         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
65650         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
65652 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65654         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
65655         TRUE case.
65657         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
65658         (norm): Likewise.
65659         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
65660         variables with preprocessor constants.
65661         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65662         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
65663         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
65665 2012-12-27  Bruno Haible  <bruno@clisp.org>
65667         [BZ #14317]
65668         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
65669         only if needed.
65671 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
65673         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
65674         and use variable directly.
65675         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
65677         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
65678         MPONE.
65679         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
65680         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
65681         variable MPONE.
65682         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
65683         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
65684         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
65685         include directive.  Remove local variable MPONE.
65686         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
65687         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
65688         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65690 2012-12-25  David S. Miller  <davem@davemloft.net>
65692         * version.h (RELEASE): Set to "development".
65693         (VERSION): Set to "2.17.90".
65694         * NEWS: Add 2.18 section.
65696 2012-12-21  David S. Miller  <davem@davemloft.net>
65698         * po/hr.po: Update from translation team.
65700 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65702         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
65704 2012-12-19  Steve Ellcey  <sellcey@mips.com>
65706         * NEWS:  Mention new memcpy for MIPS.
65708 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65710         * manual/contrib.texi (Contributors): Spelling correction.
65712 2012-12-15  David S. Miller  <davem@davemloft.net>
65714         * po/ru.po: Update from translation team.
65716 2012-12-13  David S. Miller  <davem@davemloft.net>
65718         * NEWS: Mention IFUNC testsuite enhancements.
65720         * po/pl.po: Update from translation team.
65721         * po/bg.po: Likewise.
65723         * manual/contrib.texi (Contributors): Update entries for Hongjiu
65724         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
65726 2012-12-11  David S. Miller  <davem@davemloft.net>
65728         * po/sv.po: Update from translation team.
65730         * po/vi.po: Update from translation team.
65732         * po/cs.po: Update from translation team.
65734         * po/de.po: Update from translation team.
65735         * po/eo.po: Likewise.
65736         * po/nl.po: Likewise.
65738 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65740         [BZ #14246]
65741         * manual/argp.texi (Argp Helper Functions): Move node to follow
65742         Argp Parsing State.
65744         [BZ #14872]
65745         * manual/conf.texi (Limits on File System Capacity): Mention if
65746         terminating null is included in the max size.
65748 2012-12-10  Andreas Jaeger  <aj@suse.de>
65750         * po/cs.po: Update from translation team.
65752 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
65754         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
65755         void pointer and cast to uintptr_t.
65756         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
65757         path.
65758         * sysdeps/s390/s390-64/memcpy.S: Likewise.
65759         * sysdeps/s390/s390-64/memset.S: Likewise.
65761 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
65763         [BZ #14833]
65764         * menual/message.texi (Message Translation): Fix typos.
65765         (Helper programs for gettext): Likewise.
65767 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
65769         [BZ #14898]
65770         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
65771         Change to -1.
65773 2012-12-07  David S. Miller  <davem@davemloft.net>
65775         * po/libc.pot: Update.
65777 2012-12-07  Richard Henderson  <rth@redhat.com>
65779         [BZ #10114]
65780         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
65781         normal/normal case to before the switch.
65782         (_FP_DIV): Likewise.
65784 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
65785             Mike Frysinger  <vapier@gentoo.org>
65787         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
65788         check for __NR_fadvise64_64.
65790 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
65792         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
65793         0, not just to plain "0" as a statement.
65794         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
65795         with cw.
65797 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
65799         * NEWS: Use sourceware.org in Bugzilla URL.
65801 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
65803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
65804         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
65806         * stdio-common/tst-put-error.c (do_test): Add newline to the
65807         padded test to ensure flush.
65809 2012-12-05  Jeff Law  <law@redhat.com>
65811         * sunrpc/etc.rpc (fedfs_admin): Add entry.
65813 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
65815         * README: Don't refer to ports add-on as distributed separately.
65816         Mention AArch64 in list of systems supported in the ports add-on.
65818         * LICENSES: Add more non-FSF copyright and license notices.
65820         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
65821         ((unused)).
65823         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
65825         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
65826         10000 as width of padded output.
65828 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
65830         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
65832         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
65833         variable LX with __attribute__ ((unused)).
65834         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
65835         Likewise.
65836         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
65837         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65838         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
65839         with __attribute__ ((unused)).
65841 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
65843         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
65845 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
65847         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
65848         (CFLAGS-nldbl-acos.c): New variable.
65849         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
65850         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
65851         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
65852         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
65853         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
65854         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
65855         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
65856         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
65857         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
65858         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
65859         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
65860         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
65861         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
65862         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
65863         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
65864         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
65865         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
65866         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
65867         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
65868         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
65869         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
65870         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
65871         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
65872         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
65873         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
65874         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
65875         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
65876         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
65877         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
65878         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
65879         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
65880         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
65881         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
65882         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
65883         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
65884         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
65885         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
65886         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
65887         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
65888         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
65889         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
65890         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
65891         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
65892         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
65893         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
65894         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
65895         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
65896         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
65897         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
65898         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
65899         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
65900         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
65901         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
65902         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
65903         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
65904         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
65905         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
65906         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
65907         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
65908         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
65909         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
65910         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
65911         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
65912         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
65913         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
65914         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
65915         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
65916         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
65917         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
65918         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
65919         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
65920         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
65921         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
65922         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
65923         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
65924         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
65925         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
65926         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
65927         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
65928         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
65929         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
65930         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
65931         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
65932         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
65933         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
65934         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
65935         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
65936         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
65937         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
65938         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
65939         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
65940         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
65941         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
65942         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
65943         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
65944         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
65945         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
65947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
65948         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
65950         [BZ #14914]
65951         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
65952         whole low double instead of just low 47 bits when splitting values
65953         into two parts.
65955 2012-12-03  Allan McRae  <allan@archlinux.org>
65957         * manual/stdio.texi (Predefined Printf Handlers): Remove
65958         @hsep and @vsep usage.
65960 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
65962         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
65963         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
65965 2012-12-03  Jeff Law  <law@redhat.com>
65967         * time/sys/time.h (settimeofday): Do not mark TV argument
65968         as __nonnull.
65970 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
65972         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
65973         when currently writing and seek to current position when not.
65974         * libio/Makefile (tests): Remove bug-fclose1.
65975         * libio/bug-fclose1.c: Delete.
65977 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
65979         * manual/arith.texi (feenableexcept): Fix typo.
65980         (fedisableexcept): Likewise.
65982 2012-11-30  Roland McGrath  <roland@hack.frob.com>
65984         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
65985         second, differently-typed declaration, rather than a cast.
65987 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
65989         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
65990         * include/rpc/svc.h: ... here.
65992 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
65994         [BZ #13013]
65995         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
65996         depending n and resplen2 to catch cases where answer
65997         equals answerp2.
65999 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
66001         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
66002         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
66004 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
66006         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
66008 2012-11-29  Roland McGrath  <roland@hack.frob.com>
66010         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
66012 2012-11-28  Jeff Law  <law@redhat.com>
66014         [BZ #13761]
66015         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
66016         dataset_temporary.  Track alloca usage into alloca_used.
66017         If dataset is large allocate and release it via malloc/free.
66019 2012-06-04  Florian Weimer  <fweimer@redhat.com>
66021         [BZ #14197]
66022         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
66024 2012-11-28  David S. Miller  <davem@davemloft.net>
66026         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66028 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
66030         [BZ #14803]
66031         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
66032         of pi/2 rounded to nearest to 64 bits.
66033         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
66034         nearest to 64 bits.
66035         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
66036         bits.
66038 2012-11-28  Jeff Law <law@redhat.com>
66039             Martin Osvald <mosvald@redhat.com>
66041         [BZ #14889]
66042         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
66043         * sunrpc/svc.c: Include time.h.
66044         (__svc_accept_failed): New function.
66045         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
66046         any reason other than EINTR, call __svc_accept_failed.
66047         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
66048         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
66050 2012-11-28  Andreas Schwab  <schwab@suse.de>
66052         * scripts/abilist.awk: Also handle indirect functions in .opd
66053         section.
66055 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
66057         [BZ #13881]
66058         * sysdeps/x86/fpu/powl_helper.c: New file.
66059         * sysdeps/x86/fpu/Makefile: Likewise.
66060         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
66061         (p3): New object.
66062         (__ieee754_powl): Use __powl_helper for finite arguments except
66063         integer exponents below 8.
66064         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
66065         (p3): New object.
66066         (__ieee754_powl): Use __powl_helper for finite arguments except
66067         integer exponents below 8.
66068         * math/libm-test.inc (pow_test): Add more tests and enable some
66069         previously disabled tests.
66070         * sysdeps/i386/fpu/libm-test-ulps: Update.
66071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66073 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66074             Carlos O'Donell  <carlos_odonell@mentor.com>
66076         * nss/makedb.c (is_prime): Assert that input is odd and greater
66077         than 4.  Note that fact in a comment too.
66078         (next_prime): Add 4 to input.
66080 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
66082         [BZ #11741]
66083         * libio/Makefile (tests): Add test case tst-fwrite-error.
66084         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
66085         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
66086         * libio/tst-fwrite-error.c: New test case.
66088 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
66090         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
66091         before casting to void *.
66092         * include/libc-internal.h (__pointer_type): New macro.
66093         (__integer_if_pointer_type_sub): Likewise.
66094         (__integer_if_pointer_type): Likewise.
66095         (cast_to_integer): Likewise.
66096         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
66097         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
66098         before casting to atomic64_t.
66099         (atomic_exchange_acq): Likewise.
66100         (__arch_exchange_and_add_body): Likewise.
66101         (__arch_add_body): Likewise.
66102         (atomic_add_negative): Likewise.
66103         (atomic_add_zero): Likewise.
66105 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
66107         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
66108         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
66109         (add_fdes): Likewise.
66110         (linear_search_fdes): Likewise.
66111         (binary_search_unencoded_fdes): Likewise.
66113 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
66115         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
66117 2012-11-24  Adam Conrad  <adconrad@0c3.net>
66119         * configure.in: Autodetect C++ header directories.
66120         * configure: Regenerated.
66122 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
66124         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
66126 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
66128         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66130 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
66132         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
66133         LDBL_MANT_DIG == 106]: Disable some tests.
66134         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
66135         Likewise.
66136         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
66137         Likewise.
66139         [BZ #14871]
66140         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
66141         input for small inputs.  Return +/- pi/2 for large inputs.
66142         * math/libm-test.inc (atan_test): Add more tests.
66144         * sysdeps/generic/unwind-dw2-fde-glibc.c
66145         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
66146         __attribute__ ((unused)).
66148         [BZ #14645]
66149         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
66150         x * y if x and y are nonzero and z is zero.
66152         [BZ #14811]
66153         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
66154         nonzero exponents with absolute value below 0x1p-117 to +/-
66155         0x1p-117.
66157         [BZ #14869]
66158         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
66159         up arguments below 2**-450, not just those below 2**-500.
66160         * math/libm-test.inc (hypot_test): Add another test.
66162         [BZ #14868]
66163         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
66164         Return a+b for ratio over 2**120, not 2**60.
66165         * math/libm-test.inc (hypot_test): Add another test.
66167         * math/libm-test.inc (clog_test): Use
66168         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
66169         (clog10_test): Likewise.
66171         [BZ #6778]
66172         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
66174 2012-11-22  Andreas Schwab  <schwab@suse.de>
66176         * sysdeps/i386/fpu/libm-test-ulps: Update.
66178 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
66180         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
66181         printf output with newline.
66183 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
66185         [BZ #14865]
66186         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
66187         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
66188         -z nodlopen, -z initfirst and -z execstack support.
66189         * configure: Regenerated.
66191         * elf/elf.h (DF_1_NODIRECT): New macro.
66192         (DF_1_IGNMULDEF): Likewise.
66193         (DF_1_NOKSYMS): Likewise.
66194         (DF_1_NOHDR): Likewise.
66195         (DF_1_EDITED): Likewise.
66196         (DF_1_NORELOC): Likewise.
66197         (DF_1_SYMINTPOSE): Likewise.
66198         (DF_1_GLOBAUDIT): Likewise.
66199         (DF_1_SINGLETON): Likewise.
66200         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
66201         DT_1_SUPPORTED_MASK bits.
66202         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
66204 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
66206         * sysdeps/unix/make-syscalls.sh: Document prefixes.
66208 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
66210         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
66211         macro.
66213         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
66214         (sendmmsg): Move declarations...
66215         * socket/sys/socket.h: ... here.
66216         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
66217         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
66218         include it from...
66219         * socket/recvmmsg.c: ... this new file.
66220         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
66221         (sendmmsg): Rename to __sendmmsg, create weak alias and make
66222         definition of __sendmmsg hidden.
66223         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
66224         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
66225         Move ENOSYS stub into and include it from...
66226         * socket/sendmmsg.c: ... this new file.
66227         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
66228         (sysdep_routines): Move recvmmsg and sendmmsg...
66229         * socket/Makefile (routines): ... here.
66230         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
66231         (GLIBC_PRIVATE): Add __sendmmsg.
66232         * include/sys/socket.h (__sendmmsg): Add declarations.
66233         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
66234         sendmmsg.
66236 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
66238         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
66239         variable I1 with __attribute__ ((unused)).
66240         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
66242 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
66244         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
66245         DUMMY variables with __attribute__ ((unused)).
66247         * bits/byteswap.h: Include <bits/types.h>.
66248         (__bswap_64): Use __uint64_t instead of unsigned long long int.
66250 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
66252         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
66253         string_t.  Do not manually set errno.
66254         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
66255         length with __strnlen.  Make sure to both set errno and return it on
66256         failure.
66258 2012-11-19  David S. Miller  <davem@davemloft.net>
66260         With help from Joseph Myers.
66261         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
66262         very large arguments properly.
66263         * math/libm-test.inc (atan_test): New tests.
66264         (atan2_test): New tests.
66265         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66266         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66268 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
66270         [BZ #14856]
66271         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
66272         Define to 3.
66274         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
66275         [POSIX] (EADDRNOTAVAIL): Likewise.
66276         [POSIX] (EAFNOSUPPORT): Likewise.
66277         [POSIX] (EALREADY): Likewise.
66278         [POSIX] (ECONNABORTED): Likewise.
66279         [POSIX] (ECONNREFUSED): Likewise.
66280         [POSIX] (ECONNRESET): Likewise.
66281         [POSIX] (EDESTADDRREQ): Likewise.
66282         [POSIX] (EDQUOT): Likewise.
66283         [POSIX] (EHOSTUNREACH): Likewise.
66284         [POSIX] (EIDRM): Likewise.
66285         [POSIX] (EISCONN): Likewise.
66286         [POSIX] (ELOOP): Likewise.
66287         [POSIX] (EMULTIHOP): Likewise.
66288         [POSIX] (ENETDOWN): Likewise.
66289         [POSIX] (ENETUNREACH): Likewise.
66290         [POSIX] (ENOBUFS): Likewise.
66291         [POSIX] (ENODATA): Likewise.
66292         [POSIX] (ENOLINK): Likewise.
66293         [POSIX] (ENOMSG): Likewise.
66294         [POSIX] (ENOPROTOOPT): Likewise.
66295         [POSIX] (ENOSR): Likewise.
66296         [POSIX] (ENOSTR): Likewise.
66297         [POSIX] (ENOTCONN): Likewise.
66298         [POSIX] (ENOTSOCK): Likewise.
66299         [POSIX] (EOPNOTSUPP): Likewise.
66300         [POSIX] (EOVERFLOW): Likewise.
66301         [POSIX] (EPROTO): Likewise.
66302         [POSIX] (EPROTONOSUPPORT): Likewise.
66303         [POSIX] (EPROTOTYPE): Likewise.
66304         [POSIX] (ESTALE): Likewise.
66305         [POSIX] (ETIME): Likewise.
66306         [POSIX] (ETXTBSY): Likewise.
66307         [POSIX] (EWOULDBLOCK): Likewise.
66308         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
66309         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
66310         [POSIX] (SEEK_CUR): Likewise.
66311         [POSIX] (SEEK_END): Likewise.
66312         [POSIX || UNIX98] (mode_t): Do not require.
66313         [POSIX] (off_t): Likewise.
66314         [POSIX] (pid_t): Likewise.
66315         [POSIX] (sys/stat.h): Do not allow header.
66316         [POSIX] (unistd.h): Likewise.
66317         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
66318         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
66319         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
66320         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
66321         require.
66322         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
66323         sigevent): Specify elements.
66324         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
66325         entry.
66326         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
66327         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
66329         * conform/data/cpio.h-data [POSIX]: Disable whole file.
66330         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
66331         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
66332         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
66333         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
66334         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
66335         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
66336         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
66337         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
66338         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
66339         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
66340         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
66341         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
66342         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
66343         Likewise.
66344         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
66345         Likewise.
66346         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
66347         Likewise.
66348         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
66349         Likewise.
66350         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
66351         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
66352         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
66353         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
66354         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
66355         Specify lower bound on value.
66356         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
66357         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
66358         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
66359         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
66360         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
66361         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
66362         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
66363         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
66364         value.
66365         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
66366         as optional.
66367         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
66368         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
66369         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
66370         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
66371         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
66372         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
66373         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
66374         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
66375         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
66376         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
66377         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
66378         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
66379         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
66380         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
66381         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
66382         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
66383         entry.
66384         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
66385         optional.
66386         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
66387         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
66388         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
66389         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
66390         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
66391         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
66392         Likewise.
66393         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
66394         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
66395         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
66396         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
66397         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
66398         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
66399         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
66400         as optional.
66401         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
66402         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
66403         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
66404         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
66405         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
66406         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
66407         specify as optional.
66408         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
66409         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
66410         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
66411         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
66412         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
66413         [XPG3] (NL_LANGMAX): Likewise.
66414         [POSIX || XPG3] (NL_MSGMAX): Likewise.
66415         [POSIX || XPG3] (NL_NMAX): Likewise.
66416         [POSIX || XPG3] (NL_SETMAX): Likewise.
66417         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
66418         [XPG3] (NZERO): Likewise.
66419         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
66420         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
66421         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
66422         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
66423         (REG_ERANGE): Expect.
66424         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
66425         optional-constant.
66426         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
66427         Use (void) in prototype.
66428         [POSIX] (*_t): Allow.
66429         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
66430         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
66431         (WRDE_BADVAL): Expect.
66433         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
66434         expect.
66435         [XPG3 || XPG4] (O_RSYNC): Likewise.
66436         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
66437         Likewise.
66438         [XPG3 || XPG4] (pthread_sigmask): Likewise.
66439         [XPG3 || XPG4] (sigqueue): Likewise.
66440         [XPG3 || XPG4] (sigtimedwait): Likewise.
66441         [XPG3 || XPG4] (sigwaitinfo): Likewise.
66442         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
66443         [XPG3 || XPG4] (vsnprintf): Likewise.
66444         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
66445         Likewise.
66446         [XPG3 || XPG4] (blksize_t): Likewise.
66447         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
66448         Likewise.
66449         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
66450         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
66451         [XPG3 || XPG4] (struct itimerspec): Likewise.
66452         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
66453         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
66454         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
66455         [XPG3 || XPG4] (clockid_t): Likewise.
66456         [XPG3 || XPG4] (timer_t): Likewise.
66457         [XPG3 || XPG4] (clock_getres): Likewise.
66458         [XPG3 || XPG4] (clock_gettime): Likewise.
66459         [XPG3 || XPG4] (clock_settime): Likewise.
66460         [XPG3 || XPG4] (nanosleep): Likewise.
66461         [XPG3 || XPG4] (timer_create): Likewise.
66462         [XPG3 || XPG4] (timer_delete): Likewise.
66463         [XPG3 || XPG4] (timer_gettime): Likewise.
66464         [XPG3 || XPG4] (timer_getoverrun): Likewise.
66465         [XPG3 || XPG4] (timer_settime): Likewise.
66466         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
66467         [XPG3 || XPG4] (getlogin_r): Likewise.
66468         [XPG3 || XPG4] (pread): Likewise.
66469         [XPG3 || XPG4] (pthread_atfork): Likewise.
66470         [XPG3 || XPG4] (pwrite): Likewise.
66472         [BZ #14835]
66473         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
66474         <bits/siginfo.h>.
66476 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
66478         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
66479         finalizing MALLSTREAM.
66481         * sysdeps/mach/hurd/syncfs.c: New file.
66483 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
66485         [BZ #14719]
66486         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
66487         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
66488         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
66489         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
66490         (_nss_dns_gethostbyname4_r): Likewise.
66491         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
66492         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
66494 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
66496         [BZ #13763]
66497         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
66499 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
66501         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
66502         * elf/cache.c (print_entry): Print ",AArch64" for
66503         FLAG_AARCH64_LIB64
66505         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
66506         * elf/cache.c (print_entry): Print ",hard-float" for
66507         FLAG_ARM_LIBHF.
66509 2012-11-18  David S. Miller  <davem@davemloft.net>
66511         With help from Joseph Myers.
66512         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
66513         cutoff to 2**-13.
66514         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
66515         cutoff to 2**-25.
66516         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
66517         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
66518         small.
66519         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
66520         * math/libm-test.inc (y0_test): New tests.
66521         (y1_test): New tests.
66522         * sysdeps/i386/fpu/libm-test-ulps: Update.
66523         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66524         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66526 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
66528         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
66529         64-bit targets.
66530         * configure: Regenerated.
66532 2012-11-17  David S. Miller  <davem@davemloft.net>
66534         [BZ #14811]
66535         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
66536         nonzero exponents with absolute value below 0x1p-128 to +/-
66537         0x1p-128.
66539 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
66541         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
66543         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
66545         * posix/getconf-speclist.c: New file.
66546         * posix/posix-envs.def: Likewise.
66547         * posix/confstr.c (START_ENV_GROUP): New macro.
66548         (END_ENV_GROUP): Likewise.
66549         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
66550         (KNOWN_PRESENT_ENV_STRING): Likewise.
66551         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
66552         (UNKNOWN_ENVIRONMENT): Likewise.
66553         (confstr): Include posix-envs.def instead of handling
66554         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
66555         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
66556         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
66557         (END_ENV_GROUP): Likewise.
66558         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
66559         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
66560         (UNKNOWN_ENVIRONMENT): Likewise.
66561         (__sysconf): Include posix-envs.def instead of handling associated
66562         cases directly here.
66563         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
66564         preprocessing getconf-speclist.c rather than running getconf or
66565         generating empty file.
66567 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
66569         * scripts/check-local-headers.sh: Ignore 'mach' headers.
66571 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
66573         [BZ #14672]
66574         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
66576 2012-11-16  David S. Miller  <davem@davemloft.net>
66578         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
66579         smaller than LDBL_EPSILON/2.0L, just return xm1.
66581 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
66583         * elf/tst-array1.c (init): Set constructor priority to 1000.
66584         (fini): Set destructor priority to 1000.
66585         * elf/tst-array2dep.c: Likewise.
66587 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66589         [BZ #11741]
66590         * libio/fileops.c (_IO_new_file_write): Correctly return error.
66591         (_IO_new_file_xsputn): Also return EOF if none of the input
66592         data was written when overflow failed.
66593         * libio/iopadn.c (_IO_padn): Likewise.
66594         * libio/iowpadn.c (_IO_wpadn): Likewise.
66595         * stdio-common/tst-put-error.c: Add copyright notice.
66596         (do_test): Add case for printing padded string.
66597         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
66598         _IO_padn returned error.
66599         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
66600         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
66601         return EOF.
66603 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66605         * libio/libioP.h: Add comment note that the references to C++
66606         bits are now obsolete.
66608 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66610         * math/libm-test.inc (check_complex): Use asprintf.
66612 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
66614         * debug/pcprofiledump.c (print_version): Update copyright year.
66615         * malloc/memusagestat.c (print_version): Likewise.
66617 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
66619         [BZ #14831]
66620         * elf/Makefile (tests): Add tst-audit8.
66621         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
66622         ($(objpfx)tst-audit8.out): New target.
66623         (tst-audit8-ENV): New variable.
66624         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
66625         audit if l_reloc_result is NULL.
66626         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
66627         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
66628         * elf/tst-audit8.c: New file.
66630 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66632         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
66633         * misc/Makefile (CFLAGS-select.c): Define.
66634         * posix/Makefile (CFLAGS-pause.c): Define.
66636 2012-11-13  David S. Miller  <davem@davemloft.net>
66638         * crypt/Makefile: Move test targets after toplevel Rules
66639         inclusion.  Grab any necessary sysdep routines when linking.
66640         * crypt/md5.c (md5_process_block): Remove define, we will always
66641         name it __md5_process_block.
66642         (md5_finish_ctx): Update md5_process_block call.
66643         (md5_stream): Likewise.
66644         (md5_process_bytes): Likewise.
66645         (md5_process_block): Rename to __md5_process_block and move to ...
66646         * crypt/md5-block.c: ... here.
66647         * crypt/sha256.c (sha256_process_block): Move to ...
66648         * crypt/sha256-block.c: ... here.
66649         * crypt/sha512.c (sha512_process_block): Move to ...
66650         * crypt/sha512-block.c: ... here.
66651         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
66652         path.
66653         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
66654         * sysdeps/sparc/sparc64/multiarch/Makefile
66655         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
66656         crypt subdir.
66657         (localedef-aux): Add md5 crypto assembler when in locale subdir.
66658         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
66659         multiarch changes.
66660         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
66661         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
66662         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
66663         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
66664         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
66665         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
66666         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
66667         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
66668         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
66669         file.
66670         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
66671         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
66672         file.
66673         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
66675 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
66677         * timezone/tzselect.ksh: Update from tzcode git revision
66678         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
66679         * timezone/zdump.c: Likewise.
66680         * timezone/zic.c: Likewise.
66681         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
66682         in TZVERSION setting, not $(PKGVERSION).
66683         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
66684         REPORT_BUGS_TO settings.
66686         [BZ #14838]
66687         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
66688         macro.
66690 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66692         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
66693         detection to immediately after _FP_ROUND().
66694         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
66695         bits are 0.
66697 2012-11-11  David S. Miller  <davem@davemloft.net>
66699         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
66700         inttypes.h
66701         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
66702         __close rather than their public counterparts.
66704 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
66706         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
66707         file.
66708         [UNIX98] (sem_timedwait): Do not expect.
66709         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
66710         [XPG4 || UNIX98] (sockatmark): Do not expect.
66711         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
66712         (clock_getcpuclockid): Do not expect.
66713         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
66714         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
66715         Do not expect.
66716         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
66717         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
66718         [UNIX98] (vwscanf): Likewise.
66719         [UNIX98] (vswscanf): Likewise.
66721 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
66723         * timezone/version.h: Remove file.
66724         * timezone/README: Do not refer to version.h.
66725         * timezone/Makefile ($(objpfx)zic.o): New dependency on
66726         $(objpfx)version.h.
66727         ($(objpfx)zdump.o): Likewise.
66728         ($(objpfx)version.h): New target.
66730         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
66731         2012i.
66732         * timezone/README: Don't mention modification to tzselect.ksh.
66733         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
66734         work on unmodified tzselect.ksh.  Substitute version numbers in
66735         tzselect.ksh.
66737         * Makefile (format-me): Remove.
66738         (INSTALL): Adjust indentation.  Use commands directly instead of
66739         using $(format-me).
66741         * aclocal.m4 (ACX_PKGVERSION): New macro.
66742         (ACX_BUGURL): Likewise.
66743         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
66744         (PKGVERSION): New AC_DEFINE_UNQUOTED.
66745         (REPORT_BUGS_TO): Likewise.
66746         * configure: Regenerated.
66747         * config.h.in (PKGVERSION): New macro.
66748         (REPORT_BUGS_TO): Likewise.
66749         * config.make.in (PKGVERSION): New variable.
66750         (PKGVERSION_TEXI): Likewise.
66751         (REPORT_BUGS_TO): Likewise.
66752         (REPORT_BUGS_TEXI): Likewise.
66753         * Makefile (format-me): Use -I$(common-objpfx)manual.
66754         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
66755         ($(common-objpfx)manual/%): New target.
66756         (manual/%): Remove target.
66757         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
66758         (print_version): Use PKGVERSION.
66759         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
66760         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
66761         and REPORT_BUGS_TO.
66762         ($(objpfx)xtrace): Likewise.
66763         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
66764         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
66765         (print_version): Use PKGVERSION.
66766         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
66767         (do_version): Use PKGVERSION.
66768         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
66769         REPORT_BUGS_TO.
66770         (common-ldd-rewrite): Likewise.
66771         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
66772         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
66773         (print_version): Use PKGVERSION.
66774         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
66775         * elf/pldd.c (argp_program_bug_address): Remove variable.
66776         (more_help): New function.
66777         (argp): Use more_help.
66778         (print_version): Use PKGVERSION.
66779         * elf/sln.c (main): Use PKGVERSION.
66780         (usage): Use REPORT_BUGS_TO.
66781         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
66782         (top level): Use PKGVERSION.
66783         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
66784         (print_version): Use PKGVERSION.
66785         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
66786         (print_version): Use PKGVERSION.
66787         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
66788         (print_version): Use PKGVERSION.
66789         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
66790         (print_version): Use PKGVERSION.
66791         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
66792         (print_version): Use PKGVERSION.
66793         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
66794         (print_version): Use PKGVERSION.
66795         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
66796         and BUGURL.
66797         ($(objpfx)memusage): Likewise.
66798         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
66799         (do_version): Use PKGVERSION.
66800         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
66801         (print_version): Use PKGVERSION.
66802         * malloc/mtrace.pl ($PACKAGE): Remove variable.
66803         ($PKGVERSION): New variable.
66804         ($REPORT_BUGS_TO): Likewise.
66805         (usage): Use $REPORT_BUGS_TO.
66806         (top level): Use $PKGVERSION.
66807         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
66808         ($(objpfx)pkgvers.texi): New rule.
66809         ($(objpfx)stamp-pkgvers): Likewise.
66810         * manual/install.texi: Include pkgvers.texi.
66811         (--with-pkgversion): Document new configure option.
66812         (--with-bugurl): Likewise.
66813         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
66814         than necessarily for this particular distribution.  Use
66815         REPORT_BUGS_TO for where to report bugs.
66816         * INSTALL: Regenerated.
66817         * manual/libc.texinfo: Include pkgvers.texi.
66818         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
66819         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
66820         (print_version): Use PKGVERSION.
66821         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
66822         (print_version): Use PKGVERSION.
66823         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
66824         (print_version): Use PKGVERSION.
66825         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
66826         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
66827         macro.
66828         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
66829         (print_version): Use PKGVERSION.
66830         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
66831         (print_version): Use PKGVERSION.
66832         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
66833         and PKGVERSION.
66835         * timezone/checktab.awk: Update from tzcode 2012i.
66836         * timezone/ialloc.c: Likewise.
66837         * timezone/private.h: Likewise.
66838         * timezone/scheck.c: Likewise.
66839         * timezone/tzfile.h: Likewise.
66840         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
66841         (TZVERSION): Hardcode tzcode version number.
66842         * timezone/zdump.c: Update from tzcode 2012i.
66843         * timezone/zic.c: Likewise.
66844         * timezone/version.h: New file.
66845         * timezone/README: Describe version.h.  Update upstream location.
66847         [BZ #14824]
66848         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
66849         (mktemp): Enable declaration.
66850         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
66851         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
66852         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
66853         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
66854         Likewise.
66855         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
66856         Likewise.
66857         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
66858         Likewise.
66859         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
66860         Likewise.
66861         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
66862         Likewise.
66863         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
66864         Likewise.
66866         [BZ #14821]
66867         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
66868         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
66869         for copies of such integer values.
66870         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
66871         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
66873 2012-11-09  Andreas Jaeger  <aj@suse.de>
66875         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
66876         definitions and declarations that are provided by
66877         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
66879 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66881         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
66882         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
66883         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
66884         definition.
66886 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66888         * elf/elf.h: Update comment before AArch64 relocations.
66890 2012-11-07  David S. Miller  <davem@davemloft.net>
66892         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
66893         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
66894         (__start_context): Declare.
66895         (__makecontext_ret): Delete.
66896         (__makecontext): Hook up __start_context instead of
66897         __makecontext_ret.
66898         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
66899         (sysdep_routines): Add __start_context when in stdlib.
66901 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66903         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
66904         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
66905         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
66906         hardcoded "nm".
66907         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
66908         (READELF): New variable.  Use it instead of hardcoded "readelf".
66910 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
66912         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
66913         * sysdeps/x86/Makefile: Here.
66914         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
66915         * sysdeps/x86/tst-xmmymm.sh: This.
66917 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66919         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
66920         expectations.
66921         [UNIX98] (pthread_barrier_t): Do not expect.
66922         [UNIX98] (pthread_barrierattr_t): Likewise.
66923         [UNIX98] (pthread_spinlock_t): Likewise.
66924         [UNIX98] (pthread_barrier_destroy): Likewise.
66925         [UNIX98] (pthread_barrier_init): Likewise.
66926         [UNIX98] (pthread_barrier_wait): Likewise.
66927         [UNIX98] (pthread_barrierattr_destroy): Likewise.
66928         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
66929         [UNIX98] (pthread_barrierattr_init): Likewise.
66930         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
66931         [UNIX98] (pthread_getcpuclockid): Likewise.
66932         [UNIX98] (pthread_mutex_timedlock): Likewise.
66933         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
66934         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
66935         [UNIX98] (pthread_sigmask): Likewise.
66936         [UNIX98] (pthread_spin_destroy): Likewise.
66937         [UNIX98] (pthread_spin_init): Likewise.
66938         [UNIX98] (pthread_spin_lock): Likewise.
66939         [UNIX98] (pthread_spin_trylock): Likewise.
66940         [UNIX98] (pthread_spin_unlock): Likewise.
66941         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
66942         Do not expect.
66943         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
66944         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
66945         [XPG3 || XPG4] (pthread_cond_t): Likewise.
66946         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
66947         [XPG3 || XPG4] (pthread_key_t): Likewise.
66948         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
66949         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
66950         [XPG3 || XPG4] (pthread_once_t): Likewise.
66951         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
66952         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
66953         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
66954         [XPG3 || XPG4] (pthread_t): Likewise.
66956         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
66957         not expect.
66958         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
66960         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
66961         Change function return type to int.
66963         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
66964         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
66965         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
66966         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
66967         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
66968         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
66969         [!POSIX] (posix_madvise): Likewise.
66970         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
66971         && !UNIX98].
66972         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
66973         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
66974         (mode_t): Likewise.
66975         (posix_mem_offset): Likewise.
66976         (posix_typed_mem_get_info): Likewise.
66977         (posix_typed_mem_open): Likewise.
66979         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
66980         Change condition to [XOPEN2K8].
66982         * conform/conformtest.pl: Preprocess allow-header data with -x c
66983         instead of from stdin.
66984         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
66985         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
66986         [C99-based standards] (cerfc): Likewise.
66987         [C99-based standards] (cexp2): Likewise.
66988         [C99-based standards] (cexpm1): Likewise.
66989         [C99-based standards] (clog10): Likewise.
66990         [C99-based standards] (clog1p): Likewise.
66991         [C99-based standards] (clog2): Likewise.
66992         [C99-based standards] (clgamma): Likewise.
66993         [C99-based standards] (ctgamma): Likewise.
66994         [C99-based standards] (cerff): Likewise.
66995         [C99-based standards] (cerfcf): Likewise.
66996         [C99-based standards] (cexp2f): Likewise.
66997         [C99-based standards] (cexpm1f): Likewise.
66998         [C99-based standards] (clog10f): Likewise.
66999         [C99-based standards] (clog1pf): Likewise.
67000         [C99-based standards] (clog2f): Likewise.
67001         [C99-based standards] (clgammaf): Likewise.
67002         [C99-based standards] (ctgammaf): Likewise.
67003         [C99-based standards] (cerfl): Likewise.
67004         [C99-based standards] (cerfcl): Likewise.
67005         [C99-based standards] (cexp2l): Likewise.
67006         [C99-based standards] (cexpm1l): Likewise.
67007         [C99-based standards] (clog10l): Likewise.
67008         [C99-based standards] (clog1pl): Likewise.
67009         [C99-based standards] (clog2l): Likewise.
67010         [C99-based standards] (clgammal): Likewise.
67011         [C99-based standards] (ctgammal): Likewise.
67012         * conform/data/inttypes.h-data [C99-based standards]: Include
67013         stdint.h-data.  Remove all expectations for stdint.h contents.
67014         [C99-based standards] (PRI*): Do not allow.
67015         [C99-based standards] (SCN*): Likewise.
67016         [C99-based standards] (*_t): Likewise.
67017         [C99-based-standards] (PRId8): Expect macro.
67018         [C99-based-standards] (PRIi8): Likewise.
67019         [C99-based-standards] (PRIo8): Likewise.
67020         [C99-based-standards] (PRIu8): Likewise.
67021         [C99-based-standards] (PRIx8): Likewise.
67022         [C99-based-standards] (PRIX8): Likewise.
67023         [C99-based-standards] (SCNd8): Likewise.
67024         [C99-based-standards] (SCNi8): Likewise.
67025         [C99-based-standards] (SCNo8): Likewise.
67026         [C99-based-standards] (SCNu8): Likewise.
67027         [C99-based-standards] (SCNx8): Likewise.
67028         [C99-based-standards] (PRIdLEAST8): Likewise.
67029         [C99-based-standards] (PRIiLEAST8): Likewise.
67030         [C99-based-standards] (PRIoLEAST8): Likewise.
67031         [C99-based-standards] (PRIuLEAST8): Likewise.
67032         [C99-based-standards] (PRIxLEAST8): Likewise.
67033         [C99-based-standards] (PRIXLEAST8): Likewise.
67034         [C99-based-standards] (SCNdLEAST8): Likewise.
67035         [C99-based-standards] (SCNiLEAST8): Likewise.
67036         [C99-based-standards] (SCNoLEAST8): Likewise.
67037         [C99-based-standards] (SCNuLEAST8): Likewise.
67038         [C99-based-standards] (SCNxLEAST8): Likewise.
67039         [C99-based-standards] (PRIdFAST8): Likewise.
67040         [C99-based-standards] (PRIiFAST8): Likewise.
67041         [C99-based-standards] (PRIoFAST8): Likewise.
67042         [C99-based-standards] (PRIuFAST8): Likewise.
67043         [C99-based-standards] (PRIxFAST8): Likewise.
67044         [C99-based-standards] (PRIXFAST8): Likewise.
67045         [C99-based-standards] (SCNdFAST8): Likewise.
67046         [C99-based-standards] (SCNiFAST8): Likewise.
67047         [C99-based-standards] (SCNoFAST8): Likewise.
67048         [C99-based-standards] (SCNuFAST8): Likewise.
67049         [C99-based-standards] (SCNxFAST8): Likewise.
67050         [C99-based-standards] (PRId16): Likewise.
67051         [C99-based-standards] (PRIi16): Likewise.
67052         [C99-based-standards] (PRIo16): Likewise.
67053         [C99-based-standards] (PRIu16): Likewise.
67054         [C99-based-standards] (PRIx16): Likewise.
67055         [C99-based-standards] (PRIX16): Likewise.
67056         [C99-based-standards] (SCNd16): Likewise.
67057         [C99-based-standards] (SCNi16): Likewise.
67058         [C99-based-standards] (SCNo16): Likewise.
67059         [C99-based-standards] (SCNu16): Likewise.
67060         [C99-based-standards] (SCNx16): Likewise.
67061         [C99-based-standards] (PRIdLEAST16): Likewise.
67062         [C99-based-standards] (PRIiLEAST16): Likewise.
67063         [C99-based-standards] (PRIoLEAST16): Likewise.
67064         [C99-based-standards] (PRIuLEAST16): Likewise.
67065         [C99-based-standards] (PRIxLEAST16): Likewise.
67066         [C99-based-standards] (PRIXLEAST16): Likewise.
67067         [C99-based-standards] (SCNdLEAST16): Likewise.
67068         [C99-based-standards] (SCNiLEAST16): Likewise.
67069         [C99-based-standards] (SCNoLEAST16): Likewise.
67070         [C99-based-standards] (SCNuLEAST16): Likewise.
67071         [C99-based-standards] (SCNxLEAST16): Likewise.
67072         [C99-based-standards] (PRIdFAST16): Likewise.
67073         [C99-based-standards] (PRIiFAST16): Likewise.
67074         [C99-based-standards] (PRIoFAST16): Likewise.
67075         [C99-based-standards] (PRIuFAST16): Likewise.
67076         [C99-based-standards] (PRIxFAST16): Likewise.
67077         [C99-based-standards] (PRIXFAST16): Likewise.
67078         [C99-based-standards] (SCNdFAST16): Likewise.
67079         [C99-based-standards] (SCNiFAST16): Likewise.
67080         [C99-based-standards] (SCNoFAST16): Likewise.
67081         [C99-based-standards] (SCNuFAST16): Likewise.
67082         [C99-based-standards] (SCNxFAST16): Likewise.
67083         [C99-based-standards] (PRId32): Likewise.
67084         [C99-based-standards] (PRIi32): Likewise.
67085         [C99-based-standards] (PRIo32): Likewise.
67086         [C99-based-standards] (PRIu32): Likewise.
67087         [C99-based-standards] (PRIx32): Likewise.
67088         [C99-based-standards] (PRIX32): Likewise.
67089         [C99-based-standards] (SCNd32): Likewise.
67090         [C99-based-standards] (SCNi32): Likewise.
67091         [C99-based-standards] (SCNo32): Likewise.
67092         [C99-based-standards] (SCNu32): Likewise.
67093         [C99-based-standards] (SCNx32): Likewise.
67094         [C99-based-standards] (PRIdLEAST32): Likewise.
67095         [C99-based-standards] (PRIiLEAST32): Likewise.
67096         [C99-based-standards] (PRIoLEAST32): Likewise.
67097         [C99-based-standards] (PRIuLEAST32): Likewise.
67098         [C99-based-standards] (PRIxLEAST32): Likewise.
67099         [C99-based-standards] (PRIXLEAST32): Likewise.
67100         [C99-based-standards] (SCNdLEAST32): Likewise.
67101         [C99-based-standards] (SCNiLEAST32): Likewise.
67102         [C99-based-standards] (SCNoLEAST32): Likewise.
67103         [C99-based-standards] (SCNuLEAST32): Likewise.
67104         [C99-based-standards] (SCNxLEAST32): Likewise.
67105         [C99-based-standards] (PRIdFAST32): Likewise.
67106         [C99-based-standards] (PRIiFAST32): Likewise.
67107         [C99-based-standards] (PRIoFAST32): Likewise.
67108         [C99-based-standards] (PRIuFAST32): Likewise.
67109         [C99-based-standards] (PRIxFAST32): Likewise.
67110         [C99-based-standards] (PRIXFAST32): Likewise.
67111         [C99-based-standards] (SCNdFAST32): Likewise.
67112         [C99-based-standards] (SCNiFAST32): Likewise.
67113         [C99-based-standards] (SCNoFAST32): Likewise.
67114         [C99-based-standards] (SCNuFAST32): Likewise.
67115         [C99-based-standards] (SCNxFAST32): Likewise.
67116         [C99-based-standards] (PRId64): Likewise.
67117         [C99-based-standards] (PRIi64): Likewise.
67118         [C99-based-standards] (PRIo64): Likewise.
67119         [C99-based-standards] (PRIu64): Likewise.
67120         [C99-based-standards] (PRIx64): Likewise.
67121         [C99-based-standards] (PRIX64): Likewise.
67122         [C99-based-standards] (SCNd64): Likewise.
67123         [C99-based-standards] (SCNi64): Likewise.
67124         [C99-based-standards] (SCNo64): Likewise.
67125         [C99-based-standards] (SCNu64): Likewise.
67126         [C99-based-standards] (SCNx64): Likewise.
67127         [C99-based-standards] (PRIdLEAST64): Likewise.
67128         [C99-based-standards] (PRIiLEAST64): Likewise.
67129         [C99-based-standards] (PRIoLEAST64): Likewise.
67130         [C99-based-standards] (PRIuLEAST64): Likewise.
67131         [C99-based-standards] (PRIxLEAST64): Likewise.
67132         [C99-based-standards] (PRIXLEAST64): Likewise.
67133         [C99-based-standards] (SCNdLEAST64): Likewise.
67134         [C99-based-standards] (SCNiLEAST64): Likewise.
67135         [C99-based-standards] (SCNoLEAST64): Likewise.
67136         [C99-based-standards] (SCNuLEAST64): Likewise.
67137         [C99-based-standards] (SCNxLEAST64): Likewise.
67138         [C99-based-standards] (PRIdFAST64): Likewise.
67139         [C99-based-standards] (PRIiFAST64): Likewise.
67140         [C99-based-standards] (PRIoFAST64): Likewise.
67141         [C99-based-standards] (PRIuFAST64): Likewise.
67142         [C99-based-standards] (PRIxFAST64): Likewise.
67143         [C99-based-standards] (PRIXFAST64): Likewise.
67144         [C99-based-standards] (SCNdFAST64): Likewise.
67145         [C99-based-standards] (SCNiFAST64): Likewise.
67146         [C99-based-standards] (SCNoFAST64): Likewise.
67147         [C99-based-standards] (SCNuFAST64): Likewise.
67148         [C99-based-standards] (SCNxFAST64): Likewise.
67149         [C99-based-standards] (PRIdMAX): Likewise.
67150         [C99-based-standards] (PRIiMAX): Likewise.
67151         [C99-based-standards] (PRIoMAX): Likewise.
67152         [C99-based-standards] (PRIuMAX): Likewise.
67153         [C99-based-standards] (PRIxMAX): Likewise.
67154         [C99-based-standards] (PRIXMAX): Likewise.
67155         [C99-based-standards] (SCNdMAX): Likewise.
67156         [C99-based-standards] (SCNiMAX): Likewise.
67157         [C99-based-standards] (SCNoMAX): Likewise.
67158         [C99-based-standards] (SCNuMAX): Likewise.
67159         [C99-based-standards] (SCNxMAX): Likewise.
67160         [C99-based-standards] (PRIdPTR): Likewise.
67161         [C99-based-standards] (PRIiPTR): Likewise.
67162         [C99-based-standards] (PRIoPTR): Likewise.
67163         [C99-based-standards] (PRIuPTR): Likewise.
67164         [C99-based-standards] (PRIxPTR): Likewise.
67165         [C99-based-standards] (PRIXPTR): Likewise.
67166         [C99-based-standards] (SCNdPTR): Likewise.
67167         [C99-based-standards] (SCNiPTR): Likewise.
67168         [C99-based-standards] (SCNoPTR): Likewise.
67169         [C99-based-standards] (SCNuPTR): Likewise.
67170         [C99-based-standards] (SCNxPTR): Likewise.
67171         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
67172         allow.
67173         * conform/data/stdint.h-data: Update comments to clarify
67174         requirements.
67175         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
67176         type.
67177         [C99-based standards] (INT8_MAX): Likewise.
67178         [C99-based standards] (INT16_MIN): Likewise.
67179         [C99-based standards] (INT16_MAX): Likewise.
67180         [C99-based standards] (INT32_MIN): Likewise.
67181         [C99-based standards] (INT32_MAX): Likewise.
67182         [C99-based standards] (INT64_MIN): Likewise.
67183         [C99-based standards] (INT64_MAX): Likewise.
67184         [C99-based standards] (UINT8_MAX): Likewise.
67185         [C99-based standards] (UINT16_MAX): Likewise.
67186         [C99-based standards] (UINT32_MAX): Likewise.
67187         [C99-based standards] (UINT64_MAX): Likewise.
67188         [C99-based standards] (INT_LEAST8_MIN): Likewise.
67189         [C99-based standards] (INT_LEAST8_MAX): Likewise.
67190         [C99-based standards] (INT_LEAST16_MIN): Likewise.
67191         [C99-based standards] (INT_LEAST16_MAX): Likewise.
67192         [C99-based standards] (INT_LEAST32_MIN): Likewise.
67193         [C99-based standards] (INT_LEAST32_MAX): Likewise.
67194         [C99-based standards] (INT_LEAST64_MIN): Likewise.
67195         [C99-based standards] (INT_LEAST64_MAX): Likewise.
67196         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
67197         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
67198         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
67199         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
67200         [C99-based standards] (INT_FAST8_MIN): Likewise.
67201         [C99-based standards] (INT_FAST8_MAX): Likewise.
67202         [C99-based standards] (INT_FAST16_MIN): Likewise.
67203         [C99-based standards] (INT_FAST16_MAX): Likewise.
67204         [C99-based standards] (INT_FAST32_MIN): Likewise.
67205         [C99-based standards] (INT_FAST32_MAX): Likewise.
67206         [C99-based standards] (INT_FAST64_MIN): Likewise.
67207         [C99-based standards] (INT_FAST64_MAX): Likewise.
67208         [C99-based standards] (UINT_FAST8_MAX): Likewise.
67209         [C99-based standards] (UINT_FAST16_MAX): Likewise.
67210         [C99-based standards] (UINT_FAST32_MAX): Likewise.
67211         [C99-based standards] (UINT_FAST64_MAX): Likewise.
67212         [C99-based standards] (INTPTR_MIN): Likewise.
67213         [C99-based standards] (INTPTR_MAX): Likewise.
67214         [C99-based standards] (UINTPTR_MAX): Likewise.
67215         [C99-based standards] (INTMAX_MIN): Likewise.
67216         [C99-based standards] (INTMAX_MAX): Likewise.
67217         [C99-based standards] (UINTMAX_MAX): Likewise.
67218         [C99-based standards] (PTRDIFF_MIN): Likewise.
67219         [C99-based standards] (PTRDIFF_MAX): Likewise.
67220         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
67221         [C99-based standards] (SIZE_MAX): Likewise.
67222         [C99-based standards] (WCHAR_MAX): Likewise.
67223         [C99-based standards] (WINT_MAX): Likewise.
67224         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
67225         constraint on value.
67226         [C99-based standards] (WCHAR_MIN): Likewise.
67227         [C99-based standards] (WINT_MIN): Likewise.
67228         [C99-based standards] (*_t): Allow.
67229         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
67230         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
67231         Include math.h-data and complex.h-data.  Remove all expectations
67232         of math.h and complex.h contents.
67233         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
67234         at end of line.
67235         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
67236         (struct tm): Expect tag.
67237         [C99-based-standards] (wcstof): Expect function.
67238         [C99-based-standards] (wcstold): Likewise.
67239         [C99-based-standards] (wcstoll): Likewise.
67240         [C99-based-standards] (wcstoull): Likewise.
67241         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
67242         macro-int-constant.  Specify type.
67243         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
67244         constraint on value.
67245         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
67246         Specify type.
67247         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
67248         Specify value.
67249         [ISO C standards]: Do not allow headers.
67250         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
67251         wcs[abcdefghijklmnopqrstuvwxyz]*.
67252         [ISO C standards] (*_t): Do not allow.
67253         * conform/data/wctype.h-data [C99-based standards] (iswblank):
67254         Expect function.
67255         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
67256         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
67257         Specify type.
67258         [ISO C standards]: Do not allow headers.
67259         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
67260         is[abcdefghijklmnopqrstuvwxyz]*.
67261         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
67262         to[abcdefghijklmnopqrstuvwxyz]*.
67263         [ISO C standards] (*_t): Do not allow.
67264         * conform/data/stdalign.h-data: New file.
67265         * conform/data/stdbool.h-data: Likewise.
67266         * conform/data/stdnoreturn.h-data: Likewise.
67268 2012-11-07  Roland McGrath  <roland@hack.frob.com>
67270         [BZ #14815]
67271         * manual/filesys.texi (Directory Entries): Typo fix.
67272         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
67274 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67276         * elf/elf.h (EM_AARCH64): New macro.
67277         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
67278         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
67279         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
67280         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
67281         (R_AARCH64_TLSDESC): Likewise.
67282         (NT_ARM_TLS): Likewise.
67283         (NT_ARM_HW_BREAK): Likewise.
67284         (NT_ARM_HW_WATCH): Likewise.
67286 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67288         [BZ #14811]
67289         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
67290         (__ieee754_powl): Saturate nonzero exponents with absolute value
67291         below 0x1p-79 to +/- 0x1p-79.
67292         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
67293         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
67294         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
67295         nonzero exponents with absolute value below 0x1p-32 to +/-
67296         0x1p-32.
67297         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
67298         (__ieee754_powl): Saturate nonzero exponents with absolute value
67299         below 0x1p-79 to +/- 0x1p-79.
67300         * math/libm-test.inc (pow_test): Add more tests.
67302 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67304         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
67305         _dl_s390_cap_flags with kernel. Increase string length.
67306         (_dl_s390_platforms): Add z196 and zEC12.
67308 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67310         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
67311         Change XOPEN21K to XOPEN2K.
67313 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
67315         * string/memmove.c: Use memcpy when possible.
67317 2012-11-06  Andreas Jaeger  <aj@suse.de>
67319         * po/eo.po: Update from translation team.
67321 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
67323         [BZ #14793]
67324         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
67325         exponent and small x and y exponents, scale x or y up.  Increase
67326         by 2 the exponent used in scaling up.
67327         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67328         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67329         * math/libm-test.inc (fma_test): Add more tests.
67330         (fma_test_towardzero): Likewise.
67331         (fma_test_downward): Likewise.
67332         (fma_test_upward): Likewise.
67334 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
67336         [BZ #14805]
67337         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
67338         fenv_t *.
67340         [BZ #14801]
67341         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
67342         namespace for names of struct fields.
67343         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
67344         fenv_t fields.
67345         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
67346         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
67348 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67350         [BZ #3665]
67351         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
67353 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
67355         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
67356         PTR_DEMANGLE.
67358         [BZ #5246]
67359         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
67360         PTR_DEMANGLE.
67362 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
67364         [BZ #14797]
67365         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
67366         definitely overflow as x * y not x * y + z.
67367         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67368         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67369         * math/libm-test.inc (fma_test): Add more tests.
67370         (fma_test_towardzero): Likewise.
67371         (fma_test_downward): Likewise.
67372         (fma_test_upward): Likewise.
67374 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
67376         [BZ #157]
67378         * include/stub-tag.h: Remove file.
67379         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
67380         '#include' of it.
67381         * manual/maint.texi (Porting): Don't reference it.
67382         * Makerules ($(objpfx)stubs): Likewise.
67383         * dirent/closedir.c: Don't include <stub-tag.h>.
67384         * dirent/dirfd.c: Likewise.
67385         * dirent/fdopendir.c: Likewise.
67386         * dirent/getdents.c: Likewise.
67387         * dirent/getdents64.c: Likewise.
67388         * dirent/opendir.c: Likewise.
67389         * dirent/readdir.c: Likewise.
67390         * dirent/readdir64.c: Likewise.
67391         * dirent/readdir64_r.c: Likewise.
67392         * dirent/readdir_r.c: Likewise.
67393         * dirent/rewinddir.c: Likewise.
67394         * dirent/seekdir.c: Likewise.
67395         * dirent/telldir.c: Likewise.
67396         * gmon/profil.c: Likewise.
67397         * grp/setgroups.c: Likewise.
67398         * inet/if_index.c: Likewise.
67399         * io/access.c: Likewise.
67400         * io/chdir.c: Likewise.
67401         * io/chmod.c: Likewise.
67402         * io/chown.c: Likewise.
67403         * io/close.c: Likewise.
67404         * io/dup.c: Likewise.
67405         * io/dup2.c: Likewise.
67406         * io/dup3.c: Likewise.
67407         * io/euidaccess.c: Likewise.
67408         * io/faccessat.c: Likewise.
67409         * io/fchdir.c: Likewise.
67410         * io/fchmod.c: Likewise.
67411         * io/fchmodat.c: Likewise.
67412         * io/fchown.c: Likewise.
67413         * io/fchownat.c: Likewise.
67414         * io/fcntl.c: Likewise.
67415         * io/flock.c: Likewise.
67416         * io/fstatfs.c: Likewise.
67417         * io/fstatfs64.c: Likewise.
67418         * io/fstatvfs.c: Likewise.
67419         * io/fstatvfs64.c: Likewise.
67420         * io/futimens.c: Likewise.
67421         * io/fxstat.c: Likewise.
67422         * io/fxstat64.c: Likewise.
67423         * io/fxstatat.c: Likewise.
67424         * io/fxstatat64.c: Likewise.
67425         * io/getcwd.c: Likewise.
67426         * io/isatty.c: Likewise.
67427         * io/lchmod.c: Likewise.
67428         * io/lchown.c: Likewise.
67429         * io/link.c: Likewise.
67430         * io/linkat.c: Likewise.
67431         * io/lseek.c: Likewise.
67432         * io/lseek64.c: Likewise.
67433         * io/lxstat64.c: Likewise.
67434         * io/mkdir.c: Likewise.
67435         * io/mkdirat.c: Likewise.
67436         * io/mkfifo.c: Likewise.
67437         * io/mkfifoat.c: Likewise.
67438         * io/open.c: Likewise.
67439         * io/open64.c: Likewise.
67440         * io/openat.c: Likewise.
67441         * io/openat64.c: Likewise.
67442         * io/pipe.c: Likewise.
67443         * io/pipe2.c: Likewise.
67444         * io/poll.c: Likewise.
67445         * io/posix_fadvise.c: Likewise.
67446         * io/posix_fadvise64.c: Likewise.
67447         * io/posix_fallocate.c: Likewise.
67448         * io/posix_fallocate64.c: Likewise.
67449         * io/read.c: Likewise.
67450         * io/readlink.c: Likewise.
67451         * io/readlinkat.c: Likewise.
67452         * io/rmdir.c: Likewise.
67453         * io/sendfile.c: Likewise.
67454         * io/sendfile64.c: Likewise.
67455         * io/statfs.c: Likewise.
67456         * io/statfs64.c: Likewise.
67457         * io/statvfs.c: Likewise.
67458         * io/statvfs64.c: Likewise.
67459         * io/symlink.c: Likewise.
67460         * io/symlinkat.c: Likewise.
67461         * io/ttyname.c: Likewise.
67462         * io/ttyname_r.c: Likewise.
67463         * io/umask.c: Likewise.
67464         * io/unlink.c: Likewise.
67465         * io/unlinkat.c: Likewise.
67466         * io/utime.c: Likewise.
67467         * io/utimensat.c: Likewise.
67468         * io/write.c: Likewise.
67469         * io/xmknod.c: Likewise.
67470         * io/xmknodat.c: Likewise.
67471         * io/xstat.c: Likewise.
67472         * io/xstat64.c: Likewise.
67473         * login/getpt.c: Likewise.
67474         * login/grantpt.c: Likewise.
67475         * login/unlockpt.c: Likewise.
67476         * math/e_acoshl.c: Likewise.
67477         * math/e_acosl.c: Likewise.
67478         * math/e_asinl.c: Likewise.
67479         * math/e_atan2l.c: Likewise.
67480         * math/e_atanhl.c: Likewise.
67481         * math/e_coshl.c: Likewise.
67482         * math/e_expl.c: Likewise.
67483         * math/e_fmodl.c: Likewise.
67484         * math/e_gammal_r.c: Likewise.
67485         * math/e_hypotl.c: Likewise.
67486         * math/e_j0l.c: Likewise.
67487         * math/e_j1l.c: Likewise.
67488         * math/e_jnl.c: Likewise.
67489         * math/e_lgammal_r.c: Likewise.
67490         * math/e_log10l.c: Likewise.
67491         * math/e_log2l.c: Likewise.
67492         * math/e_logl.c: Likewise.
67493         * math/e_powl.c: Likewise.
67494         * math/e_rem_pio2l.c: Likewise.
67495         * math/e_sinhl.c: Likewise.
67496         * math/e_sqrtl.c: Likewise.
67497         * math/fclrexcpt.c: Likewise.
67498         * math/fedisblxcpt.c: Likewise.
67499         * math/feenablxcpt.c: Likewise.
67500         * math/fegetenv.c: Likewise.
67501         * math/fegetexcept.c: Likewise.
67502         * math/fegetround.c: Likewise.
67503         * math/feholdexcpt.c: Likewise.
67504         * math/fesetenv.c: Likewise.
67505         * math/fesetround.c: Likewise.
67506         * math/feupdateenv.c: Likewise.
67507         * math/fgetexcptflg.c: Likewise.
67508         * math/fraiseexcpt.c: Likewise.
67509         * math/fsetexcptflg.c: Likewise.
67510         * math/ftestexcept.c: Likewise.
67511         * math/k_cosl.c: Likewise.
67512         * math/k_rem_pio2l.c: Likewise.
67513         * math/k_sinl.c: Likewise.
67514         * math/k_tanl.c: Likewise.
67515         * math/s_asinhl.c: Likewise.
67516         * math/s_atanl.c: Likewise.
67517         * math/s_cbrtl.c: Likewise.
67518         * math/s_erfl.c: Likewise.
67519         * math/s_expm1l.c: Likewise.
67520         * math/s_log1pl.c: Likewise.
67521         * math/s_tanhl.c: Likewise.
67522         * misc/acct.c: Likewise.
67523         * misc/brk.c: Likewise.
67524         * misc/chflags.c: Likewise.
67525         * misc/chroot.c: Likewise.
67526         * misc/fchflags.c: Likewise.
67527         * misc/fgetxattr.c: Likewise.
67528         * misc/flistxattr.c: Likewise.
67529         * misc/fremovexattr.c: Likewise.
67530         * misc/fsetxattr.c: Likewise.
67531         * misc/fsync.c: Likewise.
67532         * misc/ftruncate.c: Likewise.
67533         * misc/futimes.c: Likewise.
67534         * misc/futimesat.c: Likewise.
67535         * misc/getdomain.c: Likewise.
67536         * misc/getdtsz.c: Likewise.
67537         * misc/gethostid.c: Likewise.
67538         * misc/gethostname.c: Likewise.
67539         * misc/getloadavg.c: Likewise.
67540         * misc/getpagesize.c: Likewise.
67541         * misc/getsysstats.c: Likewise.
67542         * misc/getxattr.c: Likewise.
67543         * misc/gtty.c: Likewise.
67544         * misc/ioctl.c: Likewise.
67545         * misc/lgetxattr.c: Likewise.
67546         * misc/listxattr.c: Likewise.
67547         * misc/llistxattr.c: Likewise.
67548         * misc/lremovexattr.c: Likewise.
67549         * misc/lsetxattr.c: Likewise.
67550         * misc/lutimes.c: Likewise.
67551         * misc/madvise.c: Likewise.
67552         * misc/mincore.c: Likewise.
67553         * misc/mlock.c: Likewise.
67554         * misc/mlockall.c: Likewise.
67555         * misc/mmap.c: Likewise.
67556         * misc/mprotect.c: Likewise.
67557         * misc/msync.c: Likewise.
67558         * misc/munlock.c: Likewise.
67559         * misc/munlockall.c: Likewise.
67560         * misc/munmap.c: Likewise.
67561         * misc/preadv.c: Likewise.
67562         * misc/preadv64.c: Likewise.
67563         * misc/ptrace.c: Likewise.
67564         * misc/pwritev.c: Likewise.
67565         * misc/pwritev64.c: Likewise.
67566         * misc/readv.c: Likewise.
67567         * misc/reboot.c: Likewise.
67568         * misc/remap_file_pages.c: Likewise.
67569         * misc/removexattr.c: Likewise.
67570         * misc/revoke.c: Likewise.
67571         * misc/select.c: Likewise.
67572         * misc/setdomain.c: Likewise.
67573         * misc/setegid.c: Likewise.
67574         * misc/seteuid.c: Likewise.
67575         * misc/sethostid.c: Likewise.
67576         * misc/sethostname.c: Likewise.
67577         * misc/setregid.c: Likewise.
67578         * misc/setreuid.c: Likewise.
67579         * misc/setxattr.c: Likewise.
67580         * misc/sstk.c: Likewise.
67581         * misc/stty.c: Likewise.
67582         * misc/swapoff.c: Likewise.
67583         * misc/swapon.c: Likewise.
67584         * misc/sync.c: Likewise.
67585         * misc/syncfs.c: Likewise.
67586         * misc/syscall.c: Likewise.
67587         * misc/truncate.c: Likewise.
67588         * misc/ualarm.c: Likewise.
67589         * misc/usleep.c: Likewise.
67590         * misc/ustat.c: Likewise.
67591         * misc/utimes.c: Likewise.
67592         * misc/vhangup.c: Likewise.
67593         * misc/writev.c: Likewise.
67594         * posix/_exit.c: Likewise.
67595         * posix/alarm.c: Likewise.
67596         * posix/execve.c: Likewise.
67597         * posix/fexecve.c: Likewise.
67598         * posix/fork.c: Likewise.
67599         * posix/fpathconf.c: Likewise.
67600         * posix/getaddrinfo.c: Likewise.
67601         * posix/getegid.c: Likewise.
67602         * posix/geteuid.c: Likewise.
67603         * posix/getgid.c: Likewise.
67604         * posix/getgroups.c: Likewise.
67605         * posix/getlogin.c: Likewise.
67606         * posix/getlogin_r.c: Likewise.
67607         * posix/getpgid.c: Likewise.
67608         * posix/getpid.c: Likewise.
67609         * posix/getppid.c: Likewise.
67610         * posix/getresgid.c: Likewise.
67611         * posix/getresuid.c: Likewise.
67612         * posix/getsid.c: Likewise.
67613         * posix/getuid.c: Likewise.
67614         * posix/glob64.c: Likewise.
67615         * posix/nanosleep.c: Likewise.
67616         * posix/pathconf.c: Likewise.
67617         * posix/pause.c: Likewise.
67618         * posix/posix_madvise.c: Likewise.
67619         * posix/pread.c: Likewise.
67620         * posix/pread64.c: Likewise.
67621         * posix/pwrite.c: Likewise.
67622         * posix/pwrite64.c: Likewise.
67623         * posix/sched_getaffinity.c: Likewise.
67624         * posix/sched_getp.c: Likewise.
67625         * posix/sched_gets.c: Likewise.
67626         * posix/sched_primax.c: Likewise.
67627         * posix/sched_primin.c: Likewise.
67628         * posix/sched_rr_gi.c: Likewise.
67629         * posix/sched_setaffinity.c: Likewise.
67630         * posix/sched_setp.c: Likewise.
67631         * posix/sched_sets.c: Likewise.
67632         * posix/sched_yield.c: Likewise.
67633         * posix/setgid.c: Likewise.
67634         * posix/setlogin.c: Likewise.
67635         * posix/setpgid.c: Likewise.
67636         * posix/setresgid.c: Likewise.
67637         * posix/setresuid.c: Likewise.
67638         * posix/setsid.c: Likewise.
67639         * posix/setuid.c: Likewise.
67640         * posix/sleep.c: Likewise.
67641         * posix/spawni.c: Likewise.
67642         * posix/sysconf.c: Likewise.
67643         * posix/times.c: Likewise.
67644         * posix/wait.c: Likewise.
67645         * posix/wait3.c: Likewise.
67646         * posix/wait4.c: Likewise.
67647         * posix/waitpid.c: Likewise.
67648         * resolv/gai_sigqueue.c: Likewise.
67649         * resource/getpriority.c: Likewise.
67650         * resource/getrlimit.c: Likewise.
67651         * resource/getrusage.c: Likewise.
67652         * resource/nice.c: Likewise.
67653         * resource/setpriority.c: Likewise.
67654         * resource/setrlimit.c: Likewise.
67655         * resource/ulimit.c: Likewise.
67656         * rt/aio_cancel.c: Likewise.
67657         * rt/aio_fsync.c: Likewise.
67658         * rt/aio_read.c: Likewise.
67659         * rt/aio_sigqueue.c: Likewise.
67660         * rt/aio_suspend.c: Likewise.
67661         * rt/aio_write.c: Likewise.
67662         * rt/clock_getres.c: Likewise.
67663         * rt/clock_gettime.c: Likewise.
67664         * rt/clock_nanosleep.c: Likewise.
67665         * rt/clock_settime.c: Likewise.
67666         * rt/lio_listio.c: Likewise.
67667         * rt/mq_close.c: Likewise.
67668         * rt/mq_getattr.c: Likewise.
67669         * rt/mq_notify.c: Likewise.
67670         * rt/mq_open.c: Likewise.
67671         * rt/mq_receive.c: Likewise.
67672         * rt/mq_send.c: Likewise.
67673         * rt/mq_setattr.c: Likewise.
67674         * rt/mq_timedreceive.c: Likewise.
67675         * rt/mq_timedsend.c: Likewise.
67676         * rt/mq_unlink.c: Likewise.
67677         * rt/shm_open.c: Likewise.
67678         * rt/shm_unlink.c: Likewise.
67679         * rt/timer_create.c: Likewise.
67680         * rt/timer_delete.c: Likewise.
67681         * rt/timer_getoverr.c: Likewise.
67682         * rt/timer_gettime.c: Likewise.
67683         * rt/timer_settime.c: Likewise.
67684         * setjmp/__longjmp.c: Likewise.
67685         * setjmp/setjmp.c: Likewise.
67686         * signal/kill.c: Likewise.
67687         * signal/killpg.c: Likewise.
67688         * signal/raise.c: Likewise.
67689         * signal/sigaction.c: Likewise.
67690         * signal/sigaltstack.c: Likewise.
67691         * signal/sigblock.c: Likewise.
67692         * signal/sigignore.c: Likewise.
67693         * signal/sigintr.c: Likewise.
67694         * signal/signal.c: Likewise.
67695         * signal/sigpause.c: Likewise.
67696         * signal/sigpending.c: Likewise.
67697         * signal/sigqueue.c: Likewise.
67698         * signal/sigreturn.c: Likewise.
67699         * signal/sigset.c: Likewise.
67700         * signal/sigsetmask.c: Likewise.
67701         * signal/sigstack.c: Likewise.
67702         * signal/sigsuspend.c: Likewise.
67703         * signal/sigtimedwait.c: Likewise.
67704         * signal/sigvec.c: Likewise.
67705         * signal/sigwait.c: Likewise.
67706         * signal/sigwaitinfo.c: Likewise.
67707         * signal/sysv_signal.c: Likewise.
67708         * socket/accept.c: Likewise.
67709         * socket/accept4.c: Likewise.
67710         * socket/bind.c: Likewise.
67711         * socket/connect.c: Likewise.
67712         * socket/getpeername.c: Likewise.
67713         * socket/getsockname.c: Likewise.
67714         * socket/getsockopt.c: Likewise.
67715         * socket/isfdtype.c: Likewise.
67716         * socket/listen.c: Likewise.
67717         * socket/recv.c: Likewise.
67718         * socket/recvfrom.c: Likewise.
67719         * socket/recvmsg.c: Likewise.
67720         * socket/send.c: Likewise.
67721         * socket/sendmsg.c: Likewise.
67722         * socket/sendto.c: Likewise.
67723         * socket/setsockopt.c: Likewise.
67724         * socket/shutdown.c: Likewise.
67725         * socket/sockatmark.c: Likewise.
67726         * socket/socket.c: Likewise.
67727         * socket/socketpair.c: Likewise.
67728         * stdio-common/ctermid.c: Likewise.
67729         * stdio-common/cuserid.c: Likewise.
67730         * stdio-common/remove.c: Likewise.
67731         * stdio-common/rename.c: Likewise.
67732         * stdio-common/renameat.c: Likewise.
67733         * stdio-common/tempname.c: Likewise.
67734         * stdlib/getcontext.c: Likewise.
67735         * stdlib/makecontext.c: Likewise.
67736         * stdlib/setcontext.c: Likewise.
67737         * stdlib/swapcontext.c: Likewise.
67738         * stdlib/system.c: Likewise.
67739         * streams/fattach.c: Likewise.
67740         * streams/fdetach.c: Likewise.
67741         * streams/getmsg.c: Likewise.
67742         * streams/getpmsg.c: Likewise.
67743         * streams/putmsg.c: Likewise.
67744         * streams/putpmsg.c: Likewise.
67745         * sysdeps/unix/bsd/getpt.c: Likewise.
67746         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
67747         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
67748         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
67749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
67750         Likewise.
67751         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
67752         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
67753         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
67754         * sysvipc/msgctl.c: Likewise.
67755         * sysvipc/msgget.c: Likewise.
67756         * sysvipc/msgrcv.c: Likewise.
67757         * sysvipc/msgsnd.c: Likewise.
67758         * sysvipc/semctl.c: Likewise.
67759         * sysvipc/semget.c: Likewise.
67760         * sysvipc/semop.c: Likewise.
67761         * sysvipc/semtimedop.c: Likewise.
67762         * sysvipc/shmat.c: Likewise.
67763         * sysvipc/shmctl.c: Likewise.
67764         * sysvipc/shmdt.c: Likewise.
67765         * sysvipc/shmget.c: Likewise.
67766         * termios/tcdrain.c: Likewise.
67767         * termios/tcflow.c: Likewise.
67768         * termios/tcflush.c: Likewise.
67769         * termios/tcgetattr.c: Likewise.
67770         * termios/tcgetpgrp.c: Likewise.
67771         * termios/tcsendbrk.c: Likewise.
67772         * termios/tcsetattr.c: Likewise.
67773         * termios/tcsetpgrp.c: Likewise.
67774         * time/adjtime.c: Likewise.
67775         * time/clock.c: Likewise.
67776         * time/getitimer.c: Likewise.
67777         * time/gettimeofday.c: Likewise.
67778         * time/setitimer.c: Likewise.
67779         * time/settimeofday.c: Likewise.
67780         * time/stime.c: Likewise.
67781         * time/time.c: Likewise.
67783 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
67785         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
67786         /usr/old/bin.
67788         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
67789         instead of spaces.
67790         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
67792 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
67794         [BZ #14796]
67795         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
67796         FE_TONEAREST before applying Dekker multiplication and Knuth
67797         addition.  Clear inexact exceptions and check for exact zero
67798         results afterwards.
67799         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67800         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
67801         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67802         * math/libm-test.inc (fma_test): Add more tests.
67803         (fma_test_towardzero): Likewise.
67804         (fma_test_downward): Likewise.
67805         (fma_test_upward): Likewise.
67806         * sysdeps/generic/math_private.h (default_libc_fesetround): New
67807         function.
67808         (libc_fesetround): New macro.
67809         (libc_fesetroundf): Likewise.
67810         (libc_fesetroundl): Likewise.
67811         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
67812         function.
67813         (libc_fesetround_387): Likewise.
67814         (libc_fesetroundf): New macro.
67815         (libc_fesetround): Likewise.
67816         (libc_fesetroundl): Likewise.
67817         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
67818         function.
67819         (libc_fesetroundf): New macro.
67820         (libc_fesetround): Likewise.
67821         (libc_fesetroundl): Likewise.
67822         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
67823         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
67824         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
67825         libm_hidden_ver.
67826         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
67827         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
67828         libm_hidden_def.
67829         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
67830         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
67831         libm_hidden_ver.
67832         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
67833         libm_hidden_def.
67835         [BZ #3439]
67836         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
67837         integer constant usable in #if and use that to give value to enum
67838         constant.
67839         (FE_DIVBYZERO): Likewise.
67840         (FE_UNDERFLOW): Likewise.
67841         (FE_OVERFLOW): Likewise.
67842         (FE_INVALID): Likewise.
67843         (FE_INVALID_SNAN): Likewise.
67844         (FE_INVALID_ISI): Likewise.
67845         (FE_INVALID_IDI): Likewise.
67846         (FE_INVALID_ZDZ): Likewise.
67847         (FE_INVALID_IMZ): Likewise.
67848         (FE_INVALID_COMPARE): Likewise.
67849         (FE_INVALID_SOFTWARE): Likewise.
67850         (FE_INVALID_SQRT): Likewise.
67851         (FE_INVALID_INTEGER_CONVERSION): Likewise.
67852         (FE_TONEAREST): Likewise.
67853         (FE_TOWARDZERO): Likewise.
67854         (FE_UPWARD): Likewise.
67855         (FE_DOWNWARD): Likewise.
67856         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
67857         (FE_DIVBYZERO): Likewise.
67858         (FE_OVERFLOW): Likewise.
67859         (FE_UNDERFLOW): Likewise.
67860         (FE_INEXACT): Likewise.
67861         (FE_TONEAREST): Likewise.
67862         (FE_DOWNWARD): Likewise.
67863         (FE_UPWARD): Likewise.
67864         (FE_TOWARDZERO): Likewise.
67865         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
67866         (FE_UNDERFLOW): Likewise.
67867         (FE_OVERFLOW): Likewise.
67868         (FE_DIVBYZERO): Likewise.
67869         (FE_INVALID): Likewise.
67870         (FE_TONEAREST): Likewise.
67871         (FE_TOWARDZERO): Likewise.
67872         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
67873         (FE_OVERFLOW): Likewise.
67874         (FE_UNDERFLOW): Likewise.
67875         (FE_DIVBYZERO): Likewise.
67876         (FE_INEXACT): Likewise.
67877         (FE_TONEAREST): Likewise.
67878         (FE_TOWARDZERO): Likewise.
67879         (FE_UPWARD): Likewise.
67880         (FE_DOWNWARD): Likewise.
67881         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
67882         (FE_DIVBYZERO): Likewise.
67883         (FE_OVERFLOW): Likewise.
67884         (FE_UNDERFLOW): Likewise.
67885         (FE_INEXACT): Likewise.
67886         (FE_TONEAREST): Likewise.
67887         (FE_DOWNWARD): Likewise.
67888         (FE_UPWARD): Likewise.
67889         (FE_TOWARDZERO): Likewise.
67891 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
67893         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
67895 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
67897         * scripts/cross-test-ssh.sh (command): Use newlines to separate
67898         commands.  Quote $PWD.
67899         (blacklist_exports): Don't use remove_newlines.  Replace "declare
67900         -x" by "export".
67901         (remove_newlines): Remove.
67903 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
67905         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
67906         * stdlib/stdlib.h (atof): Moved to ...
67907         * include/bits/stdlib-float.h: Here.  New file.
67908         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
67909         * stdlib/bits/stdlib-float.h: New file.
67910         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
67911         -mno-sse -mno-mmx.
67912         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
67913         <xmmintrin.h>.
67915 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
67917         * conform/conformtest.pl (@headers): Add fenv.h.
67918         * conform/data/fenv.h-data: New file.
67919         * include/fenv.h [_ISOMAC]: Disable all contents of file except
67920         include of <math/fenv.h>.
67922         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
67923         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
67924         && !UNIX98].  Enables tests for XOPEN2K8.
67925         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
67926         POSIX2008]: Likewise.
67928         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
67929         (struct rusage): Do not expect type or its members.
67931         [BZ #3439]
67932         * math/math.h (FP_NAN): Define macro to integer constant usable in
67933         #if and use that to give value to enum constant.
67934         (FP_INFINITE): Likewise.
67935         (FP_ZERO): Likewise.
67936         (FP_SUBNORMAL): Likewise.
67937         (FP_NORMAL): Likewise.
67939 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
67941         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
67942         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
67943         arguments.
67945 2012-11-02  Roland McGrath  <roland@hack.frob.com>
67947         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
67948         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
67949         autoconf-time if not.
67950         * configure.in: Remove AC_PREREQ.
67952 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67954         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
67955         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
67956         of the internal implementation.
67958 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
67960         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
67961         except include of <misc/sys/syslog.h>.
67963 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
67965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
67966         function returns with a NULL context exit with zero.
67968 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67970         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
67972 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
67974         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
67975         (run_program_cmd): This.
67976         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
67977         (tst_langinfo): New variable.  Use it.
67979 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
67981         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
67982         floating point opcodes.
67984 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
67986         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
67987         variable.
67989         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
67991         * sysdeps/mach/hurd/powerpc: Remove directory.
67992         * sysdeps/mach/powerpc: Likewise.
67994 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
67996         * scripts/check-local-headers.sh: Ignore c++ headers.
67998 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68000         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
68001         __libc_cleanup_region_start argument.
68003 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
68005         [BZ #14784]
68006         [BZ #14785]
68007         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
68008         x * y using scaling, not as x * y + z.
68009         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68010         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68011         * math/libm-test.inc (fma_test): Add more tests.
68012         (fma_test_towardzero): Likewise.
68013         (fma_test_downward): Likewise.
68014         (fma_test_upward): Likewise.
68016 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68018         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
68020 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
68022         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
68023         New variable.
68025 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
68027         * rt/tst-shm.c (worker): Correct checking for mmap failure.
68029 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
68031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68032         Fix sort order.
68033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68034         Likewise.
68036 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68039         Fix the order of the list for glibc 2.17.
68040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68041         Likewise.
68043 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
68045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68047 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
68049         [BZ #14610]
68050         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
68051         for low part of x being zero before using __atanl (y).
68052         * math/libm-test.inc (atan2_test): Add another test.
68054         * manual/install.texi (Configuring and compiling): Document
68055         general use of test-wrapper and test-wrapper-env.
68056         * INSTALL: Regenerated.
68058         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
68059         (__fma): Do not extract and scale down low bits on after-rounding
68060         systems when result rounded to normal precision would have normal
68061         exponent.
68062         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
68063         (__fmal): Do not extract and scale down low bits on after-rounding
68064         systems when result rounded to normal precision would have normal
68065         exponent.
68066         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
68067         (__fmal): Do not extract and scale down low bits on after-rounding
68068         systems when result rounded to normal precision would have normal
68069         exponent.
68070         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
68071         macro.
68072         (fma_test): Add more tests.
68073         (fma_test_towardzero): Likewise.
68074         (fma_test_downward): Likewise.
68075         (fma_test_upward): Likewise.
68077 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
68079         * sysdeps/i386/tininess.h: Renamed to ...
68080         * sysdeps/x86/tininess.h: This.
68081         * sysdeps/x86_64/tininess.h: Removed.
68083 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
68085         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
68086         input.  Use $(build-program-cmd).
68087         ($(objpfx)tst-array1-static.out): Likewise.
68088         ($(objpfx)tst-array2.out): Likewise.
68089         ($(objpfx)tst-array3.out): Likewise.
68090         ($(objpfx)tst-array4.out): Likewise.
68091         ($(objpfx)tst-array5.out): Likewise.
68092         ($(objpfx)tst-array5-static.out): Likewise.
68094 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
68096         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
68097         if defined.
68099         * nss/nsswitch.h (nss_interface_function): Provide new
68100         macro for use with NSS functions.
68101         * grp/initgroups.c: Use new macro.
68102         * nss/getXXbyYY.c: Likewise.
68103         * nss/getXXbyYY_r.c: Likewise.
68104         * nss/getXXent.c: Likewise.
68105         * nss/getXXent_r.c: Likewise.
68106         * sysdeps/posix/getaddrinfo.c: Likewise.
68108 2012-10-30  Andreas Jaeger  <aj@suse.de>
68110         * po/ru.po: Update Russion translation from translation project.
68112 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
68114         [BZ #14152]
68115         [BZ #14783]
68116         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
68117         result and shift together with sticky bit instead of replicating
68118         round-to-nearest rounding.
68119         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68120         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68121         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
68122         missing underflow exceptions.
68123         (fma_test_towardzero): Add more tests.
68124         (fma_test_downward): Likewise.
68125         (fma_test_upward): Likewise.
68127         [BZ #14047]
68128         * sysdeps/generic/tininess.h: New file.
68129         * sysdeps/i386/tininess.h: Likewise.
68130         * sysdeps/sh/tininess.h: Likewise.
68131         * sysdeps/x86_64/tininess.h: Likewise.
68132         * stdlib/tst-strtod-underflow.c: Likewise.
68133         * stdlib/tst-tininess.c: Likewise.
68134         * stdlib/strtod_l.c: Include <tininess.h>.
68135         (round_and_return): Do not set errno for exact underflow cases.
68136         Force an underflow exception when setting errno for underflow.
68137         Determine underflow based on rounding to normal precision if
68138         TININESS_AFTER_ROUNDING.
68139         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
68140         ERANGE for exact underflow cases.
68141         * stdlib/Makefile (tests): Add tst-tininess and
68142         tst-strtod-underflow.
68143         ($(objpfx)tst-tininess): Use $(link-libm).
68144         ($(objpfx)tst-strtod-underflow): Likewise.
68146 2012-10-30  Andreas Jaeger  <aj@suse.de>
68148         [BZ#14767]
68149         * elf/Makefile (tests): Remove conditional for have-initfini-array
68150         since this is now always required and the variable does not exist
68151         anymore.
68152         (tests-static): Likewise.
68153         (modules-names): Likewise.
68155         * po/eo.po: Add Esperanto translation from translation project.
68157         * elf/tst-array1.c (fini_array): Make writeable so that it can be
68158         merged with constructor/destructor.
68159         (init_array): Likewise.
68160         * elf/tst-array2dep.c (fini_array): Likewise.
68161         (init_array): Likewise.
68163 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
68165         * manual/message.texi: Delete @cartouche tags.
68167 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
68169         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
68170         EOPNOTSUPP.
68171         * sysdeps/mach/hurd/fsync.c: Likewise.
68173         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
68174         [_POSIX_REALTIME_SIGNALS]: Change condition to
68175         [_POSIX_REALTIME_SIGNALS > 0].
68177 2012-10-27  Andreas Jaeger  <aj@suse.de>
68179         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
68180         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
68181         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
68182         [__WORDSIZE != 64]: Likewise.
68184 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
68186         *  iconvdata/tst-table.sh: Remove ${SHELL}.
68187         *  iconvdata/tst-tables.sh: Likewise.
68189 2012-10-25  David S. Miller  <davem@davemloft.net>
68191         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68192         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
68193         of strtoull.
68195         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
68196         ifunc-impl-list.c
68197         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68198         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
68199         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
68200         file.
68202 2012-10-25  Roland McGrath  <roland@hack.frob.com>
68204         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68205         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
68206         __getdirentries.
68208 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
68209             Jim Blandy  <jimb@codesourcery.com>
68211         * scripts/cross-test-ssh.sh: New file.
68212         * manual/install.texi (Configuring and compiling): Document use of
68213         cross-test-ssh.sh.
68214         * INSTALL: Regenerated.
68216 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
68218         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
68219         EOPNOTSUPP.
68221 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
68223         * Makeconfig (run-program-prefix): Fix comment.
68225 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
68226             Jim Blandy  <jimb@codesourcery.com>
68228         * Makeconfig (test-wrapper): New variable,
68229         (test-wrapper-env): Likewise.
68230         [$(cross-compiling) = yes && $(test-wrapper) != ""]
68231         (run-built-tests): Define to yes.
68232         (run-program-prefix): Use $(test-wrapper).
68233         (built-program-cmd): Likewise.
68234         * Rules (make-test-out): Use $(test-wrapper-env) and
68235         $(host-built-program-cmd).
68236         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
68237         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
68238         tst-pathopt.sh.
68239         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
68240         $(test-wrapper-env) to tst-rtld-load-self.sh.
68241         ($(objpfx)order2.out): Use $(test-wrapper).
68242         ($(objpfx)tst-initorder.out): Likewise.
68243         ($(objpfx)tst-initorder2.out): Likewise.
68244         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
68245         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
68246         (test_wrapper_env): New variable.  Use it to run ld.so.
68247         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
68248         Use it to run ld.so.
68249         (test_wrapper_env): Likewise.
68250         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
68251         $(test-wrapper) to run-iconv-test.sh.
68252         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
68253         (ICONV): Use $test_wrapper.
68254         * posix/Makefile ($(objpfx)globtest.out): Pass
68255         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
68256         globtest.sh, not $(run-program-prefix).
68257         * posix/globtest.sh (run_via_rtld_prefix): New variable.
68258         (test_wrapper): Likewise.
68259         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
68260         set together with run_via_rtld_prefix.
68261         (run_program_prefix): Define in terms of test_wrapper and
68262         run_via_rtld_prefix.
68264 2012-10-24  Roland McGrath  <roland@hack.frob.com>
68266         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
68267         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
68268         Targets removed.
68270         [BZ #14743]
68271         * include/time.h: Remove librt_hidden_proto (clock_gettime).
68272         Declare __clock_getres, __clock_gettime, __clock_settime,
68273         __clock_nanosleep, and __clock_getcpuclockid.
68274         * rt/clock_gettime.c: Define __clock_gettime as an alias.
68275         Remove librt_hidden_def (clock_gettime).
68276         * sysdeps/unix/clock_gettime.c: Likewise.
68277         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
68278         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
68279         * rt/clock_getres.c: Define __clock_getres as an alias.
68280         * sysdeps/posix/clock_getres.c: Likewise.
68281         * rt/clock_settime.c: Define __clock_settime as an alias.
68282         * sysdeps/unix/clock_settime.c: Likewise.
68283         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
68284         * sysdeps/unix/clock_nanosleep.c: Likewise.
68285         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
68286         * rt/clock-compat.c: New file.
68287         * rt/Makefile (librt-routines): Add clock-compat and move
68288         $(clock-routines) to ...
68289         (routines): ... here, new variable.
68290         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
68291         Don't add get_clockfreq here.
68292         * rt/Versions (libc: GLIBC_2.17): New version set.
68293         Add clock_* symbols here.
68294         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
68295         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
68296         (GLIBC_2.17): Add clock_* symbols.
68297         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
68298         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
68299         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
68300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68301         Likewise.
68302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68303         Likewise.
68304         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
68305         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
68306         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
68307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
68308         * NEWS: Mention the move.
68310         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
68311         Use __open, __read, __close rather than their public counterparts.
68312         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68313         (__get_clockfreq_via_cpuinfo): Likewise.
68314         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
68315         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
68317         * config.h.in (HAVE_IFUNC): New #undef.
68318         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
68319         was successful.
68320         * configure: Regenerated.
68322 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
68324         * configure.in: Move READELF check to start of file.
68325         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
68326         libc_cv_asm_gnu_indirect_function in the process.
68327         * configure: Regenerated.
68329 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
68331         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
68332         send the output to /dev/null.
68333         (libc_cv_cc_with_libunwind): Likewise.
68334         (libc_cv_as_noexecstack): Likewise.
68335         * configure: Regenerate.
68337 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
68339         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
68341         * posix/globtest.sh (TMPDIR): Do not set.
68342         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
68343         (testout): Likewise.
68345 2012-10-24  Andreas Jaeger  <aj@suse.de>
68347         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
68348         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
68349         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
68350         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
68351         posix_fadvise64, posix_fallocate64.
68353         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
68354         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
68355         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
68356         Likewise.
68357         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
68358         Likewise.
68359         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
68361         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
68362         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
68363         <bits/fcntl-linux.h>.
68364         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
68366         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
68367         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
68368         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
68369         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
68370         [__WORDSIZE != 64]: Likewise.
68372 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
68374         * Makeconfig (run-built-tests): New variable.
68375         * Rules [$(cross-compiling) = yes]: Change condition to
68376         [$(run-built-tests) = no].
68377         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
68378         to [$(run-built-tests) = yes].
68379         * elf/Makefile [$(cross-compiling) = no]: Likewise.
68380         * grp/Makefile [$(cross-compiling) = no]: Likewise.
68381         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
68382         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
68383         * intl/Makefile [$(cross-compiling) = no]: Likewise.
68384         * io/Makefile [$(cross-compiling) = no]: Likewise.
68385         * libio/Makefile [$(cross-compiling) = no]: Likewise.
68386         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
68387         * misc/Makefile [$(cross-compiling) = no]: Likewise.
68388         * posix/Makefile [$(cross-compiling) = no]: Likewise.
68389         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
68390         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
68391         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
68392         * string/Makefile [$(cross-compiling) = no]: Likewise.
68394         * posix/Makefile ($(objpfx)globtest.out): Pass
68395         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
68396         $(rtld-installed-name).
68397         * posix/globtest.sh (elf_objpfx): Remove variable.
68398         (rtld_installed_name): Likewise.
68399         (library_path): Likewise.
68400         (run_program_prefix): New variable.  Use for running globtest
68401         binary.
68403 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
68404             Joseph Myers  <joseph@codesourcery.com>
68406         * Makeconfig (host-built-program-cmd): New variable.
68407         * elf/Makefile (tst-stackguard1-ARGS): Use
68408         $(host-built-program-cmd).
68409         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
68410         (tst-spawn-ARGS): Likewise.
68411         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
68413 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
68414             Jim Blandy  <jimb@codesourcery.com>
68416         * Makeconfig (run-via-rtld-prefix): New variable.
68417         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
68418         (built-program-cmd): Likewise.
68420 2012-10-22  Andreas Jaeger  <aj@suse.de>
68422         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
68423         __O_RSYNC if it exists, otherwise to O_SYNC.
68425 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
68426             Joseph Myers  <joseph@codesourcery.com>
68428         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
68429         /dev/null.
68430         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
68431         from /dev/null
68432         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
68433         /dev/null.
68435 2012-10-22  Andreas Jaeger  <aj@suse.de>
68437         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
68438         Define always.
68439         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
68441         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68442         bits/fcntl-linux.h.
68444         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
68445         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
68447         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
68448         to __O_LARGEFILE.
68449         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
68450         to __O_LARGEFILE.
68452 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
68453             Joseph Myers  <joseph@codesourcery.com>
68455         * config.make.in (NM): New variable.
68457 2012-10-21  Andreas Jaeger  <aj@suse.de>
68459         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
68460         definitions and declarations that are provided by
68461         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
68463 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
68465         [BZ #14683]
68466         * elf/Makefile (tests-static): Add tst-leaks1-static.
68467         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
68468         ($(objpfx)tst-leaks1-static): New rule.
68469         ($(objpfx)tst-leaks1-static-mem): Likewise.
68470         (tst-leaks1-static-ENV): New macro.
68471         * elf/dl-open.c (dl_open_worker): Check the main application
68472         only if SHARED is defined.
68473         * elf/tst-leaks1-static.c: New file.
68475 2012-10-20  Andreas Jaeger  <aj@suse.de>
68477         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
68478         generic values for Linux.
68479         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
68480         and declarations that are provided by <bits/fcntl-linux.h> and
68481         include <bits/fcntl-linux.h>.
68482         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68483         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68485 2012-10-20  Roland McGrath  <roland@hack.frob.com>
68487         * io/fcntl.h: Move include of <bits/types.h> to the top and
68488         include it unconditionally.
68490 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
68492         * wcsmbs/Makefile (tests-ifunc): New variable.
68493         (tests): Add $(tests-ifunc).
68494         * wcsmbs/test-wcschr-ifunc.c: New file.
68495         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
68496         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
68497         * wcsmbs/test-wcslen-ifunc.c: Likewise.
68498         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
68499         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
68501         * string/Makefile (tests-ifunc): New variable.
68502         (tests): Add $(tests-ifunc).
68503         * string/test-memccpy.c (TEST_NAME): New macro.
68504         * string/test-memchr.c (TEST_NAME): Likewise.
68505         * string/test-memcmp.c (TEST_NAME): Likewise.
68506         * string/test-memcpy.c (TEST_NAME): Likewise.
68507         * string/test-memmem.c (TEST_NAME): Likewise.
68508         * string/test-memmove.c (TEST_NAME): Likewise.
68509         * string/test-memset.c (TEST_NAME): Likewise.
68510         * string/test-rawmemchr.c (TEST_NAME): Likewise.
68511         * string/test-stpcpy.c (TEST_NAME): Likewise.
68512         * string/test-stpncpy.c (TEST_NAME): Likewise.
68513         * string/test-strcasecmp.c (TEST_NAME): Likewise.
68514         * string/test-strcasestr.c (TEST_NAME): Likewise.
68515         * string/test-strcat.c (TEST_NAME): Likewise.
68516         * string/test-strchr.c (TEST_NAME): Likewise.
68517         * string/test-strcmp.c(TEST_NAME): Likewise.
68518         * string/test-strcpy.c (TEST_NAME): Likewise.
68519         * string/test-strcspn.c (TEST_NAME): Likewise.
68520         * string/test-strlen.c (TEST_NAME): Likewise.
68521         * string/test-strncasecmp.c (TEST_NAME): Likewise.
68522         * string/test-strncmp.c (TEST_NAME): Likewise.
68523         * string/test-strncpy.c (TEST_NAME): Likewise.
68524         * string/test-strnlen.c (TEST_NAME): Likewise.
68525         * string/test-strpbrk.c (TEST_NAME): Likewise.
68526         * string/test-strrchr.c (TEST_NAME): Likewise.
68527         * string/test-strspn.c (TEST_NAME): Likewise.
68528         * string/test-strstr.c (TEST_NAME): Likewise.
68529         * string/test-bcopy-ifunc.c: New file.
68530         * string/test-bzero-ifunc.c: Likewise.
68531         * string/test-memccpy-ifunc.c: Likewise.
68532         * string/test-memchr-ifunc.c: Likewise.
68533         * string/test-memcmp-ifunc.c: Likewise.
68534         * string/test-memcpy-ifunc.c: Likewise.
68535         * string/test-memmem-ifunc.c: Likewise.
68536         * string/test-memmove-ifunc.c: Likewise.
68537         * string/test-mempcpy-ifunc.c: Likewise.
68538         * string/test-memset-ifunc.c: Likewise.
68539         * string/test-rawmemchr-ifunc.c: Likewise.
68540         * string/test-stpcpy-ifunc.c: Likewise.
68541         * string/test-stpncpy-ifunc.c: Likewise.
68542         * string/test-strcasecmp-ifunc.c: Likewise.
68543         * string/test-strcasestr-ifunc.c: Likewise.
68544         * string/test-strcat-ifunc.c: Likewise.
68545         * string/test-strchr-ifunc.c: Likewise.
68546         * string/test-strchrnul-ifunc.c: Likewise.
68547         * string/test-strcmp-ifunc.c: Likewise.
68548         * string/test-strcpy-ifunc.c: Likewise.
68549         * string/test-strcspn-ifunc.c: Likewise.
68550         * string/test-strlen-ifunc.c: Likewise.
68551         * string/test-strncasecmp-ifunc.c: Likewise.
68552         * string/test-strncat-ifunc.c: Likewise.
68553         * string/test-strncmp-ifunc.c: Likewise.
68554         * string/test-strncpy-ifunc.c: Likewise.
68555         * string/test-strnlen-ifunc.c: Likewise.
68556         * string/test-strpbrk-ifunc.c: Likewise.
68557         * string/test-strrchr-ifunc.c: Likewise.
68558         * string/test-strspn-ifunc.c: Likewise.
68559         * string/test-strstr-ifunc.c: Likewise.
68561         * debug/Makefile (tests-ifunc): New variable.
68562         (tests): Add $(tests-ifunc).
68563         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
68564         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
68565         * debug/test-stpcpy_chk-ifunc.c: New file.
68566         * debug/test-strcpy_chk-ifunc.c: Likewise.
68568 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
68570         [BZ #13601]
68571         * elf/dl-load.c (open_verify): Retry read if the entire ELF
68572         header is not read in.
68574 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
68576         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
68577         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
68578         directly.  Pass built executable to script as
68579         $(built-program-cmd).
68580         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
68581         $testprogram without using LD_LIBRARY_PATH and $ldso.
68583         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
68584         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
68585         $(rtld-installed-name).
68586         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
68587         (rtld_installed_name): Likewise.
68588         (library_path): Likewise.
68589         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
68590         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
68591         $(run-program-prefix) to tst-tables.sh.
68592         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
68593         it to run tst-table-from and tst-table-to.
68594         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
68595         Pass it to tst-table.sh.
68596         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
68597         $(run-program-prefix) to tst-gettext.sh.
68598         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
68599         tst-translit.sh.
68600         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
68601         tst-gettext2.sh.
68602         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
68603         to run tst-gettext.
68604         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
68605         to run tst-gettext2.
68606         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
68607         to run tst-translit.
68608         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
68609         $(run-program-prefix) to tst-mtrace.sh.
68610         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
68611         to run tst-mtrace.
68612         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
68613         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
68614         $(rtld-installed-name).
68615         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
68616         (rtld_installed_name): Likewise.
68617         (run_program_prefix): New variable.  Use it to run wordexp-test.
68619         * Makeconfig (ARCH): Remove all definitions.
68620         (machine): Likewise.
68621         [ARCH]: Remove conditional code.
68622         [!objdir]: Give error.
68623         [!objdir] (objpfx): Remove.
68624         [!objdir] (common-objpfx): Likewise.
68625         [!objdir] (common-objdir): Likewise.
68626         * configure.in (config_makefile): Remove.  Hardcode Makefile in
68627         AC_CONFIG_FILES call.
68628         * configure: Regenerated.
68630         [BZ #13888]
68631         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
68632         or TMPDIR.
68633         (testout): Likewise.
68635         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
68636         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
68637         $(rtld-installed-name).
68638         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
68639         (rtld_installed_name): Likewise.
68640         (runit): Remove function.
68641         (run_getconf): New variable,  Use it for running getconf binary.
68643 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
68645         [BZ #14716]
68646         * string/test-memmem.c (check_result): New function.
68647         (do_one_test): Use it.
68648         (check1): New function.
68649         (test_main): Use it.
68651 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
68653         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
68655 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
68657         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
68658         (_G_LSEEK64): Likewise.
68659         (_G_MMAP64): Likewise.
68660         (_G_FSTAT64): Likewise.
68661         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
68662         (_G_LSEEK64): Likewise.
68663         (_G_MMAP64): Likewise.
68664         (_G_FSTAT64): Likewise.
68665         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
68666         unconditional.  Call __mmap64 directly.
68667         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
68668         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
68669         __lseek64 directly.
68670         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
68671         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
68672         __mmap64 directly.
68673         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
68674         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
68675         __lseek64 directly.
68676         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
68677         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
68678         __lseek64 directly.
68679         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
68680         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
68681         __lseek64 directly.
68682         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
68683         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
68684         __fxstat64 directly.
68685         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
68686         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
68687         unconditional.
68688         (freopen64) [!_G_OPEN64]: Remove conditional code.
68689         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
68690         unconditional.
68691         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
68692         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
68693         unconditional.
68694         (ftello64) [!_G_LSEEK64]: Remove conditional code.
68695         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
68696         unconditional.
68697         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
68698         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
68699         unconditional.
68700         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
68701         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
68702         unconditional.
68703         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
68704         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
68705         unconditional.
68706         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
68707         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
68708         unconditional.
68709         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
68711 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
68713         [BZ #12140]
68714         * manual/memory.texi (Malloc Tunable Parameters): Add note
68715         about free list pointers overwriting some perturb bytes.
68716         Wording suggested by Roland McGrath.
68718 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
68720         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
68721         (lgamma_test): Likewise.
68722         (tgamma_test): Likewise.
68724 2012-10-16  Florian Weimer  <fweimer@redhat.com>
68726         [BZ #14700]
68727         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
68728         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
68730 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
68732         * NEWS: Mention BZ #14716.
68733         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
68734         when removing AVAILABLE1_USES_J macro.
68736 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
68738         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
68739         (__bswap_64): __uint64_t for unsigned 64-bit int.
68741 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
68743         * include/string.h (memmem): Declare libc hidden alias.
68744         * string/memmem.c (memmem): Define libc hidden alias.
68745         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
68746         __read, __close instead of open, read, close.
68748 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
68750         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
68751         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
68752         global and hidden.
68753         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
68754         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
68755         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
68756         Likewise.
68757         (__rawmemchr_sse2): Likewise.
68758         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
68759         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
68760         (__strchr_sse2): Likewise.
68761         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
68762         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
68763         (__strcasecmp_sse2): Likewise.
68764         (__strncasecmp_sse2): Likewise.
68765         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
68766         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
68767         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
68768         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
68769         (__strrchr_sse2): Likewise.
68770         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
68771         ifunc-impl-list.c.
68772         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
68773         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
68774         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
68775         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
68776         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
68777         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
68778         * sysdeps/x86_64/multiarch/memset.S: Likewise.
68779         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
68780         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
68781         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
68782         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
68783         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
68784         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
68785         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
68786         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
68787         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
68788         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
68789         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
68790         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
68791         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
68792         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
68793         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
68794         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
68795         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
68796         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
68797         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
68798         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
68799         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
68800         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
68801         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
68803         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
68804         global and hidden.
68805         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
68806         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
68807         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
68808         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
68809         Likewise.
68810         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
68811         Likewise.
68812         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
68813         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
68814         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
68815         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
68816         ifunc-impl-list.c.
68817         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
68818         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
68819         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
68820         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
68821         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
68822         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
68823         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
68824         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
68825         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
68826         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
68827         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
68828         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
68829         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
68830         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
68831         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
68832         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
68833         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
68834         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
68835         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
68836         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
68837         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
68838         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
68839         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
68840         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
68841         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
68842         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
68843         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
68844         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
68845         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
68846         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
68847         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
68848         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
68849         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
68850         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
68851         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
68852         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
68853         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
68854         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
68855         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
68856         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
68857         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
68859         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
68860         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
68861         * include/ifunc-impl-list.h: New file.
68862         * misc/ifunc-impl-list.c: Likewise.
68863         * misc/Makefile (routines): Add ifunc-impl-list.
68864         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
68865         * string/test-string.h: Include <ifunc-impl-list.h>.
68866         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
68867         TEST_NAME]: New variables.
68868         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
68869         are defined.
68870         (test_init): Call __libc_ifunc_impl_list to initialize
68871         func_list if TEST_IFUNC and TEST_NAME are defined.
68873         * string/Makefile (strop-tests): Add bcopy and bzero.
68874         * string/test-bcopy.c: New file.
68875         * string/test-bzero.c: Likewise.
68876         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
68877         defined.
68878         * string/test-memset.c: Support bzero test if TEST_BZERO is
68879         defined.
68880         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
68881         __libc_memmove.
68882         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
68883         __libc_memset.
68884         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
68885         of memset.
68887 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
68889         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
68890         * configure: Regenerated.
68892         * Makeconfig (+link-static-before-libc): Don't include
68893         $(link-static-libc).
68895         * libio/libio.h (_IO_pos_t): Remove.
68897 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
68899         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
68900         McGrath.
68902 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
68904         * crypt/crypt-entry.c: Include fips-private.h.
68905         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
68906         * crypt/md5c-test.c (main): Tolerate disabled MD5.
68907         * sysdeps/unix/sysv/linux/fips-private.h: New file.
68908         * sysdeps/generic/fips-private.h: New file, dummy fallback.
68910 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
68912         * crypt/crypt-private.h: Include stdbool.h.
68913         (_ufc_setup_salt_r): Return bool.
68914         * crypt/crypt-entry.c: Include errno.h.
68915         (__crypt_r): Return NULL with EINVAL for bad salt.
68916         * crypt/crypt_util.c (bad_for_salt): New.
68917         (_ufc_setup_salt_r): Check that salt is long enough and within
68918         the specified alphabet.
68919         * crypt/badsalttest.c: New file.
68920         * crypt/Makefile (tests): Add it.
68921         ($(objpfx)badsalttest): New.
68923 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
68925         * NEWS: Add entry for BZ #14602.
68927 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
68929         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
68930         type-generic.
68931         * math/libm-test.inc: Update comment listing what functions and
68932         macros are tested.
68933         (isgreater_test): New function.
68934         (isgreaterequal_test): Likewise.
68935         (isless_test): Likewise.
68936         (islessequal_test): Likewise.
68937         (islessgreater_test): Likewise.
68938         (isunordered_test): Likewise.
68939         (main): Call the new functions.
68941 2012-10-09  Roland McGrath  <roland@hack.frob.com>
68943         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
68944         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
68945         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
68946         * sysdeps/i386/configure: Regenerated.
68947         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
68948         * sysdeps/mach/configure: Regenerated.
68949         * sysdeps/mach/hurd/configure: Regenerated.
68950         * sysdeps/powerpc/configure: Regenerated.
68951         * sysdeps/powerpc/powerpc32/configure: Regenerated.
68952         * sysdeps/powerpc/powerpc64/configure: Regenerated.
68953         * sysdeps/s390/s390-32/configure: Regenerated.
68954         * sysdeps/s390/s390-64/configure: Regenerated.
68955         * sysdeps/sh/configure: Regenerated.
68956         * sysdeps/sparc/configure: Regenerated.
68957         * sysdeps/unix/sysv/linux/configure: Regenerated.
68958         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
68959         * sysdeps/x86_64/configure: Regenerated.
68961         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
68962         defined.  Don't check if MAP is NULL.
68964 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
68966         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
68967         (_G_stat64): Likewise.
68968         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
68969         (_G_stat64): Likewise.
68970         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
68971         instead of struct _G_stat64.
68972         * libio/fileops.c (mmap_remap_check): Likewise.
68973         (decide_maybe_mmap): Likewise.
68974         (_IO_new_file_seekoff): Likewise.
68975         (_IO_file_stat): Likewise.
68976         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
68977         _G_off64_t.
68978         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
68979         instead of struct _G_stat64.
68980         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
68982 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
68984         [BZ #14602]
68985         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
68986         Replace with ...
68987         (CHECK_EOL): New macro.
68988         (two_way_short_needle): Check beginning of haystack for EOL.  Use
68989         CHECK_EOL.
68990         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
68991         Replace with CHECK_EOL.
68992         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
68993         Replace with CHECK_EOL.
68995 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
68997         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
68998         type-generic.
68999         * math/libm-test.inc: Update comment listing what functions and
69000         macros are tested.
69001         (finite_test): New function.
69002         (isinf_test): Likewise.
69003         (isnan_test): Likewise.
69004         (fpclassify_test): Test subnormal input.
69005         (isfinite_test): Likewise.
69006         (isnormal_test): Likewise.
69007         (main): Call the new functions.
69009 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
69011         [BZ #14660]
69012         * Makerules (%.dynsym): Force C locale when running
69013         $(OBJDUMP) --dynamic-syms.
69015 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
69017         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
69018         <stdint.h>.
69020 2012-10-06  David S. Miller  <davem@davemloft.net>
69022         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
69023         upper 32-bits of the length value in %o2 since we use branch-on-register
69024         tests which consider the entire 64-bit register.
69026 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
69028         * string/test-strstr.c (check2): Add a test for page boundary.
69030 2012-10-05  David S. Miller  <davem@davemloft.net>
69032         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
69033         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
69034         file.
69035         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
69036         sysdep_routines.
69037         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
69038         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
69039         and bzero when HWCAP_SPARC_CRYPTO is present.
69041 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
69043         [BZ #14602]
69044         * string/test-strstr.c (check2): New function.
69045         (test_main): Call check2.
69047         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
69048         and bug-strchr1.
69049         * string/bug-strcasestr1.c (do_test): Moved to ...
69050         * string/test-strcasestr.c (check1): Here.  New function.
69051         (do_one_test): Break out result checking code into ...
69052         (check_result): This.  New function.
69053         (do_one_test): Call check_result.
69054         (test_main): Call check1.
69055         * string/bug-strchr1.c (do_test): Moved to ...
69056         * string/test-strchr.c (check1): Here.  New function.
69057         (do_one_test): Break out result checking code into ...
69058         (check_result): This.  New function.
69059         (do_one_test): Call check_result.
69060         (test_main): Call check1.
69061         * string/bug-strstr1.c (main): Moved to ...
69062         * string/test-strstr.c (check1): Here.  New function.
69063         (do_one_test): Break out result checking code into ...
69064         (check_result): This.  New function.
69065         (do_one_test): Call check_result.
69066         (test_main): Call check1.
69067         * string/bug-strcasestr1.c: Removed.
69068         * string/bug-strchr1.c: Likewise.
69069         * string/bug-strstr1.c: Likewise.
69071         * elf/Makefile (dl-routines): Add hwcaps.
69072         * elf/dl-support.c (_dl_important_hwcaps): Removed.
69073         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
69074         (_dl_important_hwcaps): Moved to ...
69075         * elf/dl-hwcaps.c: Here.  New file.
69076         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
69078         [BZ #14557]
69079         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
69080         if IS_IN_rtld isn't defined.
69082         * elf/dl-support.c (_dl_sysinfo_map): New.
69083         Include "get-dynamic-info.h" and "setup-vdso.h".
69084         (_dl_non_dynamic_init): Call setup_vdso.
69085         * elf/dynamic-link.h: Don't include <assert.h>.
69086         (elf_get_dynamic_info): Moved to ...
69087         * elf/get-dynamic-info.h: Here.  New file.
69088         * elf/dynamic-link.h: Include "get-dynamic-info.h".
69089         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
69090         * elf/setup-vdso.h: Here.  New file.
69091         * elf/rtld.c: Include "setup-vdso.h".
69092         (dl_main): Call setup_vdso.
69094 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
69096         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
69097         creal in comment listing functions tested.  List finite, isinf,
69098         isnan, isless, islessequal, isgreater, isgreaterequal,
69099         islessgreater, isunordered, lgamma_r and pow10 as functions and
69100         macros not tested.  Mention which functions not tested are aliases
69101         for other functions.  Fix typo.  Note that signs of NaNs are not
69102         tested.
69104         * scripts/config.guess: Update from config.git.
69105         * scripts/config.sub: Likewise.
69107 2012-10-04  Roland McGrath  <roland@hack.frob.com>
69109         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
69110         * misc/madvise.c (madvise): Renamed to __madvise.
69111         Make madvise a weak alias.
69112         * include/sys/mman.h: Declare __madvise.
69113         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
69114         * sysdeps/unix/syscalls.list
69115         (madvise): Make __madvise the strong name, and madvise a weak alias.
69116         * sysdeps/unix/sysv/linux/syscalls.list
69117         (madvise, mmap): Remove redundant entries.
69118         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
69119         * malloc/malloc.c (mtrim): Likewise.
69120         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
69122 2012-10-03  Roland McGrath  <roland@hack.frob.com>
69124         * sysdeps/mach/hurd/dl-cache.c: File removed.
69125         * config.h.in (USE_LDCONFIG): New #undef.
69126         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
69127         * configure: Regenerated.
69128         * elf/Makefile (dl-routines): Add dl-cache only under
69129         [$(use-ldconfig) = yes].
69130         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
69131         cache on [USE_LDCONFIG].
69132         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
69133         [USE_LDCONFIG].
69134         * elf/rtld.c (dl_main): Likewise.
69136 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
69138         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
69139         _SC_LEVEL4_CACHE_LINESIZE.
69141 2012-10-03  Roland McGrath  <roland@hack.frob.com>
69143         * sysdeps/unix/bsd/confstr.h: File removed.
69145 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
69147         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
69148         sys/sdt-config.h.
69150 2012-10-02  Roland McGrath  <roland@hack.frob.com>
69152         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
69153         Make 'mapoff' field ElfW(Off) rather than off_t.
69155 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
69157         * nscd/Makefile: Remove nscd-cflags and all its users.
69158         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
69159         (CFLAGS-nonlib): Add compiler flags for nscd modules.
69161         [BZ #10631]
69162         * malloc.c (malloc_printerr): Clarify error message.
69164 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
69166         [BZ #14648]
69167         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69168         Set bit_FMA_Usable if FMA is supported.
69169         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
69170         macro.
69171         (bit_FMA4_Usable): Updated.
69172         (index_FMA_Usable): New macro.
69173         (CPUID_FMA): Likewise.
69174         (HAS_FMA): Defined with bit_FMA_Usable.
69176 2012-10-01  Roland McGrath  <roland@hack.frob.com>
69178         * bits/types.h (__swblk_t): Type removed.
69179         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
69180         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
69181         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69182         (__SWBLK_T_TYPE): Likewise.
69183         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69184         (__SWBLK_T_TYPE): Likewise.
69185         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69186         (__SWBLK_T_TYPE): Likewise.
69187         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69188         (__SWBLK_T_TYPE): Likewise.
69190 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
69191             Honza Horak <hhorak@redhat.com>
69193         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
69194         (xdr_mapname): Use YPMAXMAP as maxsize.
69195         (xdr_peername): Use YPMAXPEER as maxsize.
69196         (xdr_keydat): Use YPAXRECORD as maxsize.
69197         (xdr_valdat): Use YPMAXRECORD as maxsize.
69199 2012-10-01  Roland McGrath  <roland@hack.frob.com>
69201         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
69203         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
69204         * csu/init-first.c: ... here.
69205         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
69206         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
69207         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
69208         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
69209         * sysdeps/i386/init-first.c: File removed.
69210         * sysdeps/sh/init-first.c: File removed.
69212 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
69214         [BZ #14645]
69215         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
69216         if x * y might underflow to zero and z is zero.
69217         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69218         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69219         * math/libm-test.inc (min_subnorm_value): New variable.
69220         (fma_test): Add more tests.
69221         (fma_test_towardzero): Likewise.
69222         (fma_test_downward): Likewise.
69223         (fma_test_upward): Likewise.
69224         (initialize): Set min_subnorm_value.
69226 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
69228         [BZ #14638]
69229         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
69230         0 + 0.
69231         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
69232         mode for addition resulting in exact zero.
69233         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
69234         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
69235         exact 0 + 0.
69236         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
69237         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69238         * math/libm-test.inc (fma_test): Add more tests.
69239         (fma_test_towardzero): New function.
69240         (fma_test_downward): Likewise.
69241         (fma_test_upward): Likewise.
69242         (main): Call the new functions.
69244 2012-09-28  David S. Miller  <davem@davemloft.net>
69246         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
69248 2012-09-28  Roland McGrath  <roland@hack.frob.com>
69250         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
69251         instead of SIGALRM.
69253         * sysdeps/gnu/_G_config.h: Moved to ...
69254         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
69255         * sysdeps/mach/hurd/_G_config.h: Moved to ...
69256         * sysdeps/generic/_G_config.h: ... here.
69258         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
69260         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
69262         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
69263         Conditionalize target on [libnss_test1.so-version].
69265         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
69267         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
69268         (elfobjdir): Move out of conditionals.
69270         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
69271         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
69272         (__nss_lookup_function): Conditionalize label remove_from_tree on
69273         [!DO_STATIC_NSS || SHARED], matching its only use.
69275 2012-09-28  David S. Miller  <davem@davemloft.net>
69277         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
69278         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
69279         file.
69280         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
69281         sysdep_routines.
69282         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
69283         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
69284         when HWCAP_SPARC_CRYPTO is present.
69286 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
69288         * io/tst-mknodat.c: Create a FIFO instead of a socket.
69290 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
69292         [BZ #6530]
69293         * stdio-common/vfprintf.c (process_string_arg): Revert
69294         2000-07-22 change.
69296 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
69298         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
69299         for testcase.
69300         * stdio-common/tst-sprintf.c: Include <locale.h>
69301         (main): Test sprintf's handling of incomplete multibyte
69302         characters.
69304 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
69306         * elf/dl-runtime.c (VERSYMIDX): Removed.
69307         * elf/dl-version.c (VERSYMIDX): Likewise.
69308         * elf/do-rel.h (VERSYMIDX): Likewise.
69309         (VALIDX): Likewise.
69310         * elf/dynamic-link.h (VERSYMIDX): Likewise.
69311         * elf/rtld.c (VALIDX): Likewise.
69312         (ADDRIDX): Likewise.
69313         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
69314         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
69315         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
69316         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
69317         (VALIDX): Likewise.
69318         (ADDRIDX): Likewise.
69320 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
69322         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
69324 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
69326         [BZ #11438]
69327         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
69328         to global scope.
69329         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
69330         addresses are in the same scope as 192.0.2/24.
69331         * posix/gai.conf: Document new scope table defaults.
69333 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69335         [BZ #5298]
69336         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
69337         for ftell.  Compute offsets from write pointers instead.
69338         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
69340 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69342         [BZ #14543]
69343         * libio/Makefile (tests): New test case tst-fseek.
69344         * libio/tst-fseek.c: New test case to verify that fseek/ftell
69345         combination works in wide mode.
69346         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
69347         state when the external buffer state changes.
69349 2012-09-27  David S. Miller  <davem@davemloft.net>
69351         [BZ #14376]
69352         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
69353         pass reloc->r_addend in as the 'high' argument to
69354         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
69356         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69358 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
69360         * rt/tst-aio2.c: Include <pthread.h>.
69361         * rt/tst-aio3.c: Likewise.
69363 2012-09-27  Steve Ellcey  <sellcey@mips.com>
69365         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
69367 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
69369         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
69370         contents on [SHARED].
69372 2012-09-26  Marek Polacek  <polacek@redhat.com>
69374         [BZ #14530]
69375         [BZ #13741]
69376         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
69377         for C++ and GCC <4.3 as well as for non GCC compilers.
69379 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
69381         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69383 2012-09-25  Roland McGrath  <roland@hack.frob.com>
69385         * Makefile.in (all, install): Declare with .PHONY.
69386         Reported by Michael Hope <michael.hope@linaro.org>.
69388 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69390         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
69391         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
69392         system header.
69393         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
69394         Likewise.
69395         (sydep_routines): Add the new and the internal functions.
69396         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
69397         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
69398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
69399         (GLIBC_2.17): Add the new function.
69400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
69401         (GLIBC_2.17): Likewise.
69402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
69403         (GLIBC_2.17): Likewise.
69404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
69405         (GLIBC_2.17): Likewise.
69406         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
69408 2012-09-25  Alan Modra  <amodra@gmail.com>
69410         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
69411         Add release barrier before setting once_control to say
69412         initialisation is done.  Add hints on lwarx.  Use macro in
69413         place of isync.
69414         (clear_once_control): Add release barrier.
69416 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
69418         [BZ #13629]
69419         * math/s_clog.c (__clog): Handle more values close to |z| = 1
69420         specially.
69421         * math/s_clog10.c (__clog10): Likewise.
69422         * math/s_clog10f.c (__clog10f): Likewise.
69423         * math/s_clog10l.c (__clog10l): Likewise.
69424         * math/s_clogf.c (__clogf): Likewise.
69425         * math/s_clogl.c (__clogl): Likewise.
69426         * math/Makefile (libm-calls): Add x2y2m1.
69427         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
69428         (__x2y2m1): Likewise.
69429         (__x2y2m1l): Likewise.
69430         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
69431         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
69432         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
69433         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
69434         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
69435         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
69436         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
69437         * sysdeps/i386/fpu/libm-test-ulps: Update.
69438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69440         [BZ #14621]
69441         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
69442         int as type of variable DEPTH.
69443         (glob): Use size_t instead of int as type of variables NEWCOUNT
69444         and OLD_PATHC.
69446 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69448         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
69449         Add s_sincosf-sse2.
69450         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
69451         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
69452         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
69453         macros for using routine as __sincosf_ia32.
69454         Use macro for function declaration and weak_alias.
69455         * sysdeps/i386/fpu/libm-test-ulps: Update.
69457         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
69458         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69460         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
69461         subnormal argument.
69462         * math/s_cexpf.c (__cexpf): Likewise.
69463         * math/s_csinf.c (__csinf): Likewise.
69464         * math/s_csinhf.c (__csinhf): Likewise.
69465         * math/s_ctanf.c (__ctanf): Likewise.
69466         * math/s_ctanhf.c (__ctanhf): Likewise.
69467         * math/s_ccosh.c (__ccoshf): Likewise.
69468         * math/s_cexp.c (__cexpl): Likewise.
69469         * math/s_csin.c (__csin): Likewise.
69470         * math/s_csinh.c (__csinh): Likewise.
69471         * math/s_ctan.c (__ctan): Likewise.
69472         * math/s_ctanh.c (ctanh): Likewise.
69473         * math/s_ccoshl.c (__ccoshl): Likewise.
69474         * math/s_cexpl.c (__cexpl): Likewise.
69475         * math/s_csinl.c (__csinl): Likewise.
69476         * math/s_csinhl.c (__csinhl): Likewise.
69477         * math/s_ctanl.c (__ctanl): Likewise.
69478         * math/s_ctanhl.c (__ctanhl): Likewise.
69480 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
69482         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
69483         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
69484         (_IO_off_t): Define to __off_t, not _G_off_t.
69485         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
69486         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
69487         (_IO_wint_t): Define to wint_t, not _G_wint_t.
69488         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
69489         type of __dummy and __dummy2 fields.
69490         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
69491         (_G_ssize_t): Likewise.
69492         (_G_off_t): Likewise.
69493         (_G_pid_t): Likewise.
69494         (_G_uid_t): Likewise.
69495         (_G_wchar_t): Likewise.
69496         (_G_wint_t): Likewise.
69497         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
69498         (_G_ssize_t): Likewise.
69499         (_G_off_t): Likewise.
69500         (_G_pid_t): Likewise.
69501         (_G_uid_t): Likewise.
69502         (_G_wchar_t): Likewise.
69503         (_G_wint_t): Likewise.
69504         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
69505         (_G_ssize_t): Likewise.
69506         (_G_off_t): Likewise.
69507         (_G_pid_t): Likewise.
69508         (_G_uid_t): Likewise.
69509         (_G_wchar_t): Likewise.
69510         (_G_wint_t): Likewise.
69512 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69514         * malloc/arena.c: Include malloc-sysdep.h.
69515         (shrink_heap): Use check_may_shrink_heap to decide if madvise
69516         is sufficient to shrink the heap or an unmap is needed.
69517         * sysdeps/generic/malloc-sysdep.h: New file.  Define
69518         new function check_may_shrink_heap.
69519         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
69520         new function check_may_shrink_heap.
69522 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69524         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
69525         comments.
69527 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
69529         * catgets/test-gencat.sh: Add "set -e".
69530         * elf/tst-pathopt.sh: Likewise.
69531         * grp/tst_fgetgrent.sh: Likewise.
69532         * iconvdata/run-iconv-test.sh: Likewise.
69533         * intl/tst-gettext.sh: Likewise.
69534         * intl/tst-gettext2.sh: Likewise.
69535         * intl/tst-gettext4.sh: Likewise.
69536         * intl/tst-gettext6.sh: Likewise.
69537         * intl/tst-translit.sh: Likewise.
69538         * io/ftwtest-sh: Likewise.
69539         * libio/test-freopen.sh: Likewise.
69540         * malloc/tst-mtrace.sh: Likewise.
69541         * posix/globtest.sh: Likewise.
69542         * posix/tst-getconf.sh: Likewise.
69543         * posix/wordexp-tst.sh: Likewise.
69544         * stdio-common/tst-printf.sh: Likewise.
69545         * stdio-common/tst-unbputc.sh: Likewise.
69546         * stdlib/tst-fmtmsg.sh: Likewise.
69547         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
69548         * catgets/Makefile: Do not specify -e option when running
69549         testsuite shell scripts.
69550         * elf/Makefile: Likewise.
69551         * grp/Makefile: Likewise.
69552         * iconvdata/Makefile: Likewise.
69553         * intl/Makefile: Likewise.
69554         * io/Makefile: Likewise.
69555         * libio/Makefile: Likewise.
69556         * malloc/Makefile: Likewise.
69557         * posix/Makefile: Likewise.
69558         * stdio-common/Makefile: Likewise.
69559         * stdlib/Makefile: Likewise.
69560         * sysdeps/x86_64/Makefile: Likewise.
69562         * io/ftwtest-sh: Add copyright header.
69563         * posix/globtest.sh: Likewise.
69564         * posix/tst-getconf.sh: Likewise.
69565         * posix/wordexp-tst.sh: Likewise.
69566         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
69568 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
69570         [BZ #13679]
69571         * Makeconfig (+link): Defined as $(+link-static) if
69572         $(build-shared) isn't yes.
69573         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
69574         isn't yes.
69575         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
69577         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
69579         [BZ #14562]
69580         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
69581         new chunk size with MALLOC_ALIGN_MASK.
69583 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
69585         [BZ #5044]
69586         * stdio-common/printf_fphex.c: Include <stdbool.h> and
69587         <rounding-mode.h>.
69588         (__printf_fphex): Determine rounding using get_rounding_mode and
69589         round_away.
69590         * stdio-common/tst-printf-round.c (struct hex_test): New
69591         structure.
69592         (hex_tests): New variable.
69593         (test_hex_in_one_mode): New function.
69594         (do_test): Also run tests for hex float output.
69596 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
69598         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
69599         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
69600         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
69601         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
69602         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
69603         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
69604         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
69605         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
69607 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
69609         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
69610         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
69611         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
69612         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
69614 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
69616         [BZ #14579]
69617         * elf/rtld.c (dl_main): Limit the check for self loading to normal
69618         mode only.
69619         * elf/tst-rtld-load-self.sh: New test.
69620         * elf/Makefile: Run it.
69622 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
69624         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
69625         (tst-writev-ENV): Remove.
69626         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
69628 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
69630         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
69632 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
69634         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
69635         unconditional.
69636         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
69637         Likewise.
69638         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
69639         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
69640         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
69641         Likewise.
69643 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
69645         [BZ #14587]
69646         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
69647         * config.make.in (have-cpp-asm-debuginfo): Removed.
69648         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
69649         * configure: Regenerated.
69651 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
69653         [BZ #5044]
69654         * stdio-common/printf_fp.c: Include <stdbool.h> and
69655         <rounding-mode.h>.
69656         (___printf_fp): Determine rounding using get_rounding_mode and
69657         round_away.
69658         * stdio-common/tst-printf-round.c: New file.
69659         * stdio-common/Makefile (tests): Add tst-printf-round.
69660         (link-libm): New variable.
69661         ($(objpfx)tst-printf-round): Depend in $(link-libm).
69663 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
69665         [BZ #14576]
69666         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
69667         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
69668         Likewise.
69669         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
69670         Likewise.
69672 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
69674         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
69675         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69676         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69677         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69679 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
69681         [BZ #14518]
69682         * include/rounding-mode.h: New file.
69683         * sysdeps/generic/get-rounding-mode.h: Likewise.
69684         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
69685         * stdlib/strtod_l.c: Include <rounding-mode.h>.
69686         (MAX_VALUE): New macro.
69687         (MIN_VALUE): Likewise.
69688         (overflow_value): New function.
69689         (underflow_value): Likewise.
69690         (round_and_return): Use overflow_value and underflow_value to
69691         determine return values in overflow and underflow cases.  Use
69692         round_away to determine rounding depending on rounding mode.
69693         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
69694         determine return values in overflow and underflow cases.
69695         * stdlib/tst-strtod-round.c: Include <fenv.h>.
69696         (struct test_results): New structure.
69697         (struct test): Use struct test_results to store expected results
69698         for all rounding modes.
69699         (TEST): Include expected results for all rounding modes.
69700         (test_in_one_mode): New function.
69701         (do_test): Use test_in_one_mode to compute and check results.
69702         Check results for all rounding modes.
69703         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
69704         $(link-libm).
69706 2012-12-09  Allan McRae  <allan@archlinux.org>
69708         * sysdeps/i386/fpu/libm-test-ulps: Update
69710 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
69712         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
69713         (_G_int32_t): Likewise.
69714         (_G_uint16_t): Likewise.
69715         (_G_uint32_t): Likewise.
69716         (_G_HAVE_BOOL): Likewise.
69717         (_G_HAVE_ATEXIT): Likewise.
69718         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
69719         (_G_HAVE_IO_FILE_OPEN): Likewise.
69720         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
69721         (_G_int32_t): Likewise.
69722         (_G_uint16_t): Likewise.
69723         (_G_uint32_t): Likewise.
69724         (_G_HAVE_BOOL): Likewise.
69725         (_G_HAVE_ATEXIT): Likewise.
69726         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
69727         (_G_HAVE_IO_FILE_OPEN): Likewise.
69728         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
69729         (_G_int32_t): Likewise.
69730         (_G_uint16_t): Likewise.
69731         (_G_uint32_t): Likewise.
69732         (_G_HAVE_BOOL): Likewise.
69733         (_G_HAVE_ATEXIT): Likewise.
69734         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
69735         (_G_HAVE_IO_FILE_OPEN): Likewise.
69737 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
69739         * csu/libc-tls.c: Update copyright years.
69741 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
69743         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
69744         [!_G_USING_THUNKS]: Remove conditional code.
69745         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
69746         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
69748         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
69749         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
69750         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69751         (_G_VTABLE_LABEL_PREFIX): Likewise.
69752         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69753         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69754         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69755         (_G_VTABLE_LABEL_PREFIX): Likewise.
69756         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
69757         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69758         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69759         (_G_VTABLE_LABEL_PREFIX): Likewise.
69760         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
69762 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
69764         * libio/Makefile: Include ../Makeconfig before tests.
69765         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
69766         only if $(build-shared) is yes.
69768         * iconv/gconv_db.c: Update copyright years.
69770 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69772         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
69773         unwind info if defined PIC. Fix special cases description.
69774         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
69776         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
69777         DP_HI_MASK entry.
69778         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
69780 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
69782         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
69784         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
69785         is NULL.
69787         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
69788         (LDLIBS-tst-chk4): This.
69789         (LDFLAGS-tst-chk5): Renamed to ...
69790         (LDLIBS-tst-chk5): This.
69791         (LDFLAGS-tst-chk6): Renamed to ...
69792         (LDLIBS-tst-chk6): This.
69793         (LDFLAGS-tst-lfschk4): Renamed to ...
69794         (LDLIBS-tst-lfschk4): This.
69795         (LDFLAGS-tst-lfschk5): Renamed to ...
69796         (LDLIBS-tst-lfschk5): This.
69797         (LDFLAGS-tst-lfschk6): Renamed to ...
69798         (LDLIBS-tst-lfschk6): This.
69800         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
69801         on $(common-objpfx)soversions.mk.
69803 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
69805         [BZ #10014]
69806         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
69807         example host name.
69809 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
69811         * malloc/arena.c (arena_get_retry): New function that gets
69812         another arena for the caller to try its request on.
69813         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
69814         current arena cannot fulfill the request.
69815         (__libc_memalign): Likewise.
69816         (__libc_memalign): Likewise.
69817         (__libc_pvalloc): Likewise.
69818         (__libc_calloc): Likewise.
69820 2012-09-05  John Tobey  <john.tobey@gmail.com>
69822         [BZ #13542]
69823         * manual/arith.texi (Operations on Complex): Fix description
69824         of carg branch cut.
69826 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
69828         [BZ #10014]
69829         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
69830         host name.
69832         [BZ #10038]
69833         * manual/memory.texi (Memory): Make order of menu items match
69834         order of sections.
69836 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69838         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
69839         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
69840         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
69842 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69844         * csu/libc-tls.c (static_dtv): Renamed to ...
69845         (_dl_static_dtv): This.  Make it global.
69846         (_dl_initial_dtv): Removed.
69847         (__libc_setup_tls): Updated.
69848         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
69849         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
69850         DL_INITIAL_DTV.
69852 2012-09-06  Petr Machata  <pmachata@redhat.com>
69854         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
69855         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
69856         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
69857         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
69859 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69861         [BZ #14545]
69862         * csu/libc-tls.c (_dl_initial_dtv): New variable.
69863         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
69864         freeing dtv[-1].
69866 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69868         [BZ #14544]
69869         * Makeconfig (link-static-before-libc): Replace $(+prector)
69870         with $(+prectorT).
69871         (link-static-after-libc): Replace $(+postctor) with
69872         $(+postctorT).
69873         (link-bounded): Replace $(+prector)/$(+postctor) with
69874         $(+prectorT)/$(+postctorT).
69875         (+prectorT): New macro.
69876         (+postctorT): Likewise.
69878 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
69880         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
69881         (round_str): Handle values above the maximum for IBM long double
69882         as inexact.
69883         * stdlib/tst-strtod-round.c (tests): Regenerated.
69885 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69887         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
69888         assembler flag.
69889         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
69890         zarch_nohighgprs around the zarch optimized routines.
69891         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
69892         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
69893         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
69894         for zarch.
69896 2012-09-05  David S. Miller  <davem@davemloft.net>
69898         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69900         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
69901         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
69902         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
69903         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
69904         entries.
69906 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69908         * malloc/arena.c: Fold copyright years.
69909         * malloc/mcheck.c, malloc/memusage.c: Likewise.
69911 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69913         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
69915 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69917         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
69919 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69921         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
69922         change internal state upon failure.
69924 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69926         * malloc/mcheck.c (mcheck_check_all): Fix typo.
69927         * malloc/memusage.c (mmap): Likewise.
69928         (mmap64, mremap): Likewise.  Adjust name in comment.
69930 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
69932         * libio/fileops.c: Fix typos in comments.
69933         * libio/oldfileops.c: Likewise.
69934         * libio/wfileops.c: Likewise.
69936 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
69938         [BZ #1349]
69939         * malloc/Makefile (tests): Add tst-malloc-usable test case.
69940         (tst-malloc-usable-ENV): Set environment for test case.
69941         * malloc/hooks.c (malloc_check_get_size): New function to get
69942         requested size.
69943         * malloc/malloc.c (musable): Use malloc_check_get_size.
69944         * malloc/tst-malloc-usable.c: New test case.
69946 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
69948         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
69950 2012-09-05  Allan McRae  <allan@archlinux.org>
69952         [BZ #13966]
69953         * configure.in (CXX_SYSINCLUDES): Use compiler output to
69954         determine header location.
69955         * configure: Regenerated.
69957 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
69959         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
69960         float format.
69961         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
69962         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
69963         format.
69964         (test): Regenerate.
69966 2012-09-04  David S. Miller  <davem@davemloft.net>
69968         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
69969         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
69970         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
69972 2012-09-04  Florian Weimer  <fweimer@redhat.com>
69974         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
69975         failures.
69977         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
69979 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
69981         [BZ #9914]
69982         * libio/iogetdelim.c: Include <limits.h>.
69983         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
69984         + len + 1 would overflow.
69986 2012-09-03  Andreas Jaeger  <aj@suse.de>
69988         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69989         * sysdeps/i386/fpu/libm-test-ulps: Update.
69991 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69993         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
69994         Add s_sinf-sse2, s_conf-sse2.
69996         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
69997         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
69998         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
69999         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
70001         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
70002         for using routine as __sinf_ia32.
70003         Use macro for function declaration and weak_alias.
70004         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
70005         for using routine as __cosf_ia32.
70006         Use macro for function declaration and weak_alias.
70008         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
70009         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
70011         * sysdeps/x86_64/fpu/s_sinf.S: New file.
70012         * sysdeps/x86_64/fpu/s_cosf.S: New file.
70013         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70015         * math/libm-test.inc (cos_test): Add more test cases.
70016         (sin_test): Likewise.
70017         (sincos_test): Likewise.
70019 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70021         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
70022         (IFUNC_RESOLVE): Make pointers to the specialized implementations
70023         hidden.
70024         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
70026 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
70028         [BZ #14538]
70029         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
70030         first element of the GOT.
70031         (elf_machine_load_address): Return the difference between
70032         the runtime address of _DYNAMIC and elf_machine_dynamic ().
70034 2012-09-01  Allan McRae  <allan@archlinux.org>
70036         [BZ #13412]
70037         * configure.in (AWK): Require gawk version 3.0 or later.
70038         * configure: Regenerated.
70040 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
70042         * sysdeps/unix/sysv/linux/kernel-features.h
70043         (__ASSUME_POSIX_CPU_TIMERS): Remove.
70044         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
70045         [__NR_clock_getres]: Make code unconditional.
70046         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
70047         (clock_getcpuclockid): Remove code left unreachable by removal of
70048         conditionals.
70049         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
70050         code unconditional.
70051         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
70052         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70053         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
70054         Make code unconditional.
70055         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
70056         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70057         * sysdeps/unix/sysv/linux/clock_settime.c
70058         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
70059         conditional code.
70060         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
70061         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70063 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
70065         [BZ #14476]
70066         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
70067         scripts/test-installation.pl.
70069         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
70070         and $ld_so_version if it is set.
70072 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
70074         [BZ #14516]
70075         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
70076         failure if reading from procfs failed.
70077         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
70079 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
70081         * sysdeps/unix/sysv/linux/kernel-features.h
70082         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
70083         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
70084         Remove conditional code.
70085         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70086         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
70087         Remove conditional code.
70088         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70089         * sysdeps/unix/sysv/linux/i386/fxstat.c
70090         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70091         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70092         * sysdeps/unix/sysv/linux/i386/fxstatat.c
70093         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70094         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70095         * sysdeps/unix/sysv/linux/i386/lxstat.c
70096         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70097         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70098         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
70099         Remove conditional code.
70100         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70101         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
70102         Remove conditional code.
70103         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70104         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
70105         <kernel-features.h>.
70106         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
70107         Remove.
70108         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
70109         Remove conditional code.
70110         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70111         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
70112         Remove conditional.
70114 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
70116         [BZ #5400]
70117         * NEWS: Add fixed bug number.
70119 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
70121         [BZ #14519]
70122         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
70123         underflowing exponent in case of negative sign.
70124         * stdlib/tst-strtod-round-data: Add more tests.
70125         * stdlib/tst-strtod-round.c (tests): Regenerated.
70127         [BZ #3479]
70128         * stdlib/strtod_l.c (NDIG): Remove.
70129         (HEXNDIG): Likewise.
70130         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
70131         smallest representable value.
70132         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
70133         lie within an exact representation of 1/2 ulp of the result.
70134         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
70135         unconditionally.
70136         (TENS_P9_IDX): Define unconditionally.
70137         (TENS_P9_SIZE): Likewise.
70138         (TENS_P10_IDX): Likewise.
70139         (TENS_P10_SIZE): Likewise.
70140         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
70141         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
70142         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
70143         entries for 10^2^13 and 10^2^14.
70144         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
70145         (TENS_P13_IDX): Define.
70146         (TENS_P13_SIZE): Likewise.
70147         (TENS_P14_IDX): Likewise.
70148         (TENS_P14_SIZE): Likewise.
70149         (_fpioconst_pow10): Change array size to
70150         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
70151         unconditional.
70152         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
70153         1024]: Add entries for 10^2^13 and 10^2^14.
70154         [LAST_POW10 > _LAST_POW10]: Remove #error.
70155         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
70156         (_fpioconst_pow10): Change array size to
70157         FPIOCONST_POW10_ARRAY_SIZE.
70158         * stdlib/gen-fpioconst.c: New file.
70159         * stdlib/gen-tst-strtod-round.c: Likewise.
70160         * stdlib/tst-strtod-round-data: Likewise.
70161         * stdlib/tst-strtod-round.c: Likewise.
70162         * stdlib/Makefile (tests): Add tst-strtod-round.
70164         [BZ #14459]
70165         * stdlib/strtod_l.c: Include <stdint.h>.
70166         (NDEBUG): Do not define.
70167         (round_and_return): Change EXPONENT parameter to type intmax_t.
70168         Rearrange calculations to avoid internal overflow possibilities.
70169         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
70170         Rearrange calculations to avoid internal overflow possibilities.
70171         Assert that number fits inside MPNSIZE limbs.
70172         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
70173         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
70174         calculations and add assertions to avoid internal overflow
70175         possibilities.  Add casts to avoid signed/unsigned operations.
70176         * stdlib/tst-strtod-overflow.c: New file.
70177         * stdlib/Makefile (tests): Add tst-strtod-overflow.
70179 2012-08-25  Marek Polacek  <polacek@redhat.com>
70181         * time/time.h: Fix some typos in comments.
70183 2012-08-23  Roland McGrath  <roland@hack.frob.com>
70185         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
70186         * posix/tst-rfc3484-2.c: Likewise.
70187         * posix/tst-rfc3484-3.c: Likewise.
70189 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
70191         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
70192         (EF_ARM_ABI_FLOAT_HARD): Likewise.
70194 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
70196         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
70197         #include of fxstatat64.c.
70199 2012-08-22  Roland McGrath  <roland@hack.frob.com>
70201         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
70202         * shadow/getspent_r.c: Likewise.
70203         * shadow/getspnam.c: Likewise.
70204         * shadow/getspnam_r.c: Likewise.
70205         * gshadow/getsgent.c: Likewise.
70206         * gshadow/getsgent_r.c: Likewise.
70207         * gshadow/getsgnam.c: Likewise.
70208         * gshadow/getsgnam_r.c: Likewise.
70209         * inet/getnetbyad.c: Likewise.
70210         * inet/getnetbyad_r.c: Likewise.
70211         * inet/getnetbynm.c: Likewise.
70212         * inet/getnetbynm_r.c: Likewise.
70213         * inet/getnetent.c: Likewise.
70214         * inet/getnetent_r.c: Likewise.
70215         * inet/getproto.c: Likewise.
70216         * inet/getproto_r.c: Likewise.
70217         * inet/getprtent.c: Likewise.
70218         * inet/getprtent_r.c: Likewise.
70219         * inet/getprtname.c: Likewise.
70220         * inet/getprtname_r.c: Likewise.
70221         * inet/getrpcbyname.c: Likewise.
70222         * inet/getrpcbyname_r.c: Likewise.
70223         * inet/getrpcbynumber.c: Likewise.
70224         * inet/getrpcbynumber_r.c: Likewise.
70225         * inet/getrpcent.c: Likewise.
70226         * inet/getrpcent_r.c: Likewise.
70227         * inet/getaliasent.c: Likewise.
70228         * inet/getaliasent_r.c: Likewise.
70229         * inet/getaliasname.c: Likewise.
70230         * inet/getaliasname_r.c: Likewise.
70231         * nscd/getgrgid_r.c: Likewise.
70232         * nscd/getgrnam_r.c: Likewise.
70233         * nscd/gethstbyad_r.c: Likewise.
70234         * nscd/gethstbynm3_r.c: Likewise.
70235         * nscd/getpwnam_r.c: Likewise.
70236         * nscd/getpwuid_r.c: Likewise.
70237         * nscd/getsrvbynm_r.c: Likewise.
70238         * nscd/getsrvbypt_r.c: Likewise.
70239         * nscd/gai.c: Likewise.
70241         * configure.in (build_nscd): New substituted variable, set
70242         by --disable-build-nscd and defaults to $use_nscd.
70243         * configure: Regenerated.
70244         * config.make.in (build-nscd): New substituted variable.
70245         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
70246         Change conditional to require [$(build-nscd) = yes] as well.
70247         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
70249         [BZ# 13696]
70250         * configure.in (use_nscd): New substituted variable, set by
70251         --disable-nscd.  If enabled, define USE_NSCD.
70252         * configure: Regenerated.
70253         * config.h.in: Add USE_NSCD.
70254         * config.make.in (use-nscd): New substituted variable.
70255         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
70256         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
70257         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
70258         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
70259         (CFLAGS-getgrnam_r.c): Likewise.
70260         (CFLAGS-initgroups.c): Likewise.
70261         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
70262         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
70263         Variables removed.
70264         * inet/getnetgrent_r.c
70265         (nscd_setnetgrent): New function, broken out of ...
70266         (setnetgrent): ... here.  Call it.
70267         (innetgr): Conditionalize nscd bits on [USE_NSCD].
70268         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
70269         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
70270         * nscd/Makefile (routines, aux): Move definitions after include of
70271         Makeconfig.  Conditionalize on [$(use-nscd) != no].
70272         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
70273         Conditionalize on [USE_NSCD].
70274         (is_nscd, nscd_init_cb): Likewise.
70275         (nss_load_library): Conditionalize init callback on [USE_NSCD].
70276         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
70277         * nss/nss_db/db-init.c: Likewise.
70278         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
70279         [USE_NSCD].
70280         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
70281         (make_request): Use it.
70282         (cache_valid_p): New function.
70283         (__check_pf): Use it.
70284         * NEWS: Add item for --disable-nscd.
70286 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
70288         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
70289         to support sed >= 4.2.1-20-ga9bf076.
70290         * configure: Regenerated.
70292 2012-08-22  Roland McGrath  <roland@hack.frob.com>
70294         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
70295         Conditionalize whole body on [IREL].
70297 2012-08-22  Jeff Law <law@redhat.com>
70299         [BZ #14505]
70300         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
70301         if the family is PF_UNSPEC.
70303 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
70305         * Makerules (lib-version): Rename from V.
70306         (install-lib-nosubdir): Change V to lib-version.
70308 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
70310         [BZ #14252]
70311         * powerpc32/power6/wcschr.c: New file.
70312         * powerpc32/power6/wcscpy.c: New file.
70313         * powerpc32/power6/wcsrchr.c: New file.
70314         * powerpc64/power6/wcschr.c: New file.
70315         * powerpc64/power6/wcscpy.c: New file.
70316         * powerpc64/power6/wcsrchr.c: New file.
70318 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
70320         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
70321         (two_way_short_needle): Use it.
70322         * string/strstr.c (AVAILABLE1_USES_J): Define.
70323         * string/strcasestr.c: Likewise.
70325         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
70326         array references.
70327         * string/strcasestr.c (TOLOWER): Make side-effect safe.
70329         [BZ #11607]
70330         * NEWS: Add an entry.
70331         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
70332         define their defaults.
70333         (two_way_short_needle): Detect end-of-string on-the-fly.
70334         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
70335         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
70336         * string/bug-strcasestr1.c: New test.
70337         * string/Makefile: Run it.
70339 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
70341         [BZ #11607]
70342         * string/str-two-way.h (two_way_short_needle): Optimize matching of
70343         the first character.
70345 2012-08-21  Roland McGrath  <roland@hack.frob.com>
70347         * csu/elf-init.c (__libc_csu_irel): Function removed.
70348         * csu/libc-start.c (apply_irel): New function.
70349         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
70351 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
70353         * sysdeps/unix/sysv/linux/kernel-features.h
70354         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
70355         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70356         <kernel-features.h>.
70357         [__NR_fadvise64_64]: Make code unconditional.
70358         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
70359         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
70360         !__NR_fadvise64_64)]: Likewise.
70361         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
70362         !__NR_fadvise64_64))]: Likewise.
70363         [__NR_fadvise64]: Make code unconditional.
70364         [!__NR_fadvise64]: Remove conditional code.
70365         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
70366         <kernel-features.h>.
70367         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
70368         unconditional.
70369         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
70370         conditional code.
70371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
70372         not include <kernel-features.h>.
70373         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
70374         unconditional.
70375         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
70376         conditional code.
70377         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
70378         include <kernel-features.h>.
70379         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
70380         unconditional.
70381         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
70382         conditional code.
70384 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
70386         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
70387         slight instruction rearrangements per scrollpipe analysis.
70388         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
70390 2012-08-20  Roland McGrath  <roland@hack.frob.com>
70392         * manual/syslog.texi (syslog; vsyslog, closelog):
70393         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
70394         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
70396         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
70397         DSOCAPS to match condition on defining it.
70399 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
70401         * sysdeps/unix/sysv/linux/kernel-features.h
70402         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
70403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
70404         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
70405         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
70406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
70407         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
70408         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
70409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
70410         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
70411         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
70413         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
70414         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
70416         * sysdeps/unix/sysv/linux/kernel-features.h
70417         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
70418         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
70419         unconditional.
70420         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70421         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
70422         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
70423         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70424         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
70425         Make code unconditional.
70426         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70427         (__mmap64) [!__NR_mmap2]: Likewise.
70428         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
70429         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
70430         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70431         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
70432         [__NR_mmap2]: Make code unconditional.
70433         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70434         (__mmap64) [!__NR_mmap2]: Likewise.
70436 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70438         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
70440 2012-08-18  Andreas Jaeger  <aj@suse.de>
70442         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
70444 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
70446         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
70447         * include/unistd.h (__have_sock_cloexec): Likewise.
70448         (__have_pipe2): Likewise.
70449         (__have_dup3): Likewise.
70451 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
70453         [BZ #9685]
70454         * include/unistd.h (__have_pipe2): Change define into an extern int.
70455         (__have_dup3): Likewise.
70456         * socket/have_sock_cloexec.c: Include fcntl.h.
70457         (__have_pipe2): New variable.
70458         (__have_dup3): Likewise.
70460 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
70462         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
70464 2012-08-17  Marek Polacek  <polacek@redhat.com>
70466         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
70467         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
70469 2012-08-17  Roland McGrath  <roland@hack.frob.com>
70471         * configure.in: Add AC_SUBST for sysheaders.
70472         * configure: Regenerated.
70473         * config.make.in (sysheaders): New substituted variable.
70475         * sysdeps/unix/mkfifo.c: Moved ...
70476         * sysdeps/posix/mkfifo.c: ... here.
70477         * sysdeps/unix/mkfifoat.c: Moved ...
70478         * sysdeps/posix/mkfifoat.c: ... here.
70480         * sysdeps/unix/utime.c: Moved ...
70481         * sysdeps/posix/utime.c: ... here.
70483         * sysdeps/unix/time.c: Moved ...
70484         * sysdeps/posix/time.c: ... here.
70485         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
70486         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
70488         * sysdeps/unix/nice.c: Moved ...
70489         * sysdeps/posix/nice.c: ... here.
70491         * sysdeps/unix/alarm.c: Moved ...
70492         * sysdeps/posix/alarm.c: ... here.
70494         * intl/Makefile ($(codeset_mo)): Depend on the input file.
70496 2012-08-17  Jeff Law <law@redhat.com>
70498         * intl/Makefile (codeset_mo): New variable.
70499         ($(codeset_mo)): New target.
70500         (tst-codeset.out): Depend on that.  Remove explicit rule.
70501         (tst-gettext3.out, tst-gettext5.out): Likewise.
70502         (LOCPATH-ENV, tst-codeset-ENV): New variables.
70503         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
70504         * intl/tst-codeset.sh: Remove.
70505         * intl/tst-gettext3.sh: Likewise.
70506         * intl/tst-gettext5.sh: Likewise.
70508 2012-08-17  Roland McGrath  <roland@hack.frob.com>
70510         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
70511         * sysdeps/unix/syscalls.list: ... here.
70513         * sysdeps/posix/getaddrinfo.c
70514         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
70515         (gaiconf_init, gaiconf_reload): Use them.
70516         [!_STATBUF_ST_NSEC]
70517         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
70518         Define using time_t rather than struct timespec.
70520         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
70521         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
70522         Macros removed.
70523         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
70524         [!NO_THREADS].
70525         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
70526         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
70527         Likewise.
70529         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
70530         __libc_cleanup_push argument.
70532         * bits/param.h: New file.
70533         * misc/sys/param.h: New file.
70534         * include/sys/param.h: New file.
70535         * misc/Makefile (headers): Add bits/param.h.
70536         * sysdeps/generic/sys/param.h: File removed.
70537         * sysdeps/unix/sysv/linux/bits/param.h: New file.
70538         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
70539         * sysdeps/mach/hurd/bits/param.h: New file.
70540         * sysdeps/mach/hurd/sys/param.h: File removed.
70542         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
70543         last change.
70545         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
70546         [_IO_MTSAFE_IO].
70547         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
70548         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
70549         New macros.
70551         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
70552         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
70553         rather than -D_IO_MTSAFE_IO conditionally.
70554         * stdio-common/Makefile (CPPFLAGS): Likewise.
70555         * wcsmbs/Makefile (CPPFLAGS): Likewise.
70556         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
70557         Use $(libio-mtsafe).
70558         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
70559         of -D_IO_MTSAFE_IO.
70560         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
70561         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
70562         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
70563         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
70564         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
70565         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
70566         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
70567         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
70568         (CFLAGS-fread_u_chk.c): Likewise.
70569         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
70570         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
70571         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
70572         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
70573         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
70574         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
70575         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
70576         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
70577         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
70579         * libio/Makefile: Test [$(libc-reentrant) = yes]
70580         instead of [$(filter %REENTRANT, $(defines)) nonempty].
70582         * Makeconfig
70583         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
70584         * sysdeps/pthread/configure: File removed.
70585         * sysdeps/pthread/Makeconfig: New file.
70586         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
70587         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
70589 2012-08-16  Gary Benson  <gbenson@redhat.com>
70591         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
70592         unmapping the first object in a namespace.
70594 2012-08-16  Roland McGrath  <roland@hack.frob.com>
70596         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
70597         (__internal_setnetgrent): ... this.  Add internal_function to
70598         definition.  Add libc_hidden_def.
70599         (setnetgrent): Update caller.
70600         (internal_endnetgrent): Renamed to ...
70601         (__internal_endnetgrent): ... this.  Add internal_function to
70602         definition.  Add libc_hidden_def.
70603         (endnetgrent): Update caller.
70604         (internal_getnetgrent_r): Renamed to ...
70605         (__internal_getnetgrent_r): ... this.  Add internal_function to
70606         definition.  Add libc_hidden_def.
70607         (__getnetgrent_r): Update caller.
70608         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
70610 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
70612         * stdlib/longlong.h: Update from GCC.
70614 2012-08-16  Roland McGrath  <roland@hack.frob.com>
70616         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
70617         on _QL, which is set by umul_ppmm but never used.
70618         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
70619         variables, which are set by GMP macros but never used.
70620         * stdio-common/_itowa.c (_itowa): Likewise.
70621         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
70622         * stdlib/mod_1.c (mpn_mod_1): Likewise.
70624 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
70626         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
70627         struct La_sh_regs is not constant.
70628         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
70629         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
70630         and struct La_sparc64_regs are not constant.
70632 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
70634         * sysdeps/unix/sysv/linux/kernel-features.h
70635         (__ASSUME_POSIX_TIMERS): Remove.
70636         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
70637         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70638         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
70639         Make code unconditional.
70640         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70641         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
70642         Make code unconditional.
70643         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70644         * sysdeps/unix/sysv/linux/clock_nanosleep.c
70645         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
70646         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70647         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
70648         Make code unconditional.
70649         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70650         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
70651         (__libc_missing_posix_timers): Remove.
70653 2012-08-15  Roland McGrath  <roland@hack.frob.com>
70655         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
70656         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
70658         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
70660         * elf/dl-sym.c: Include <stdlib.h>.
70662         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
70663         constants, which avoids warnings in 32-bit builds.
70665         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
70666         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
70668         * misc/lseek.c: File moved to ...
70669         * io/lseek.c: ... here.
70671         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
70673         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
70674         shifting LEN more than 31 bits at once.
70676 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70678         [BZ #14195]
70679         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
70680         segmentation fault for a case of two empty input strings.
70681         * string/test-strncasecmp.c (check1): Renamed to...
70682         (bz12205): ...this.
70683         (bz14195): Add new testcase for two empty input strings and N > 0.
70684         (test_main): Call new testcase, adapt for renamed function.
70686 2012-08-15  Andreas Jaeger  <aj@suse.de>
70688         [BZ #14090]
70689         * crypt/md5test2.c: New test, based on test supplied by Serge
70690         Belyshev <belyshev@depni.sinp.msu.ru>.
70691         * crypt/Makefile (xtests): Add md5test-giant..
70692         * crypt/Makefile ($(objpfx)md5test-giant): Add.
70694 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
70696         [BZ #14090]
70697         * crypt/md5.c (md5_process_block): Don't assume the buffer
70698         length is less than 2**32.
70699         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
70700         length is less than 2**64.
70702 2012-08-15  Roland McGrath  <roland@hack.frob.com>
70704         * string/str-two-way.h: Include <sys/param.h>.
70705         (MAX): Macro removed.
70707         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
70708         Move #define and #undef of memmove to just before and after
70709         including <string.h>.
70711         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
70712         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
70713         and after including <string.h>.  Move declarations of
70714         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
70715         to before #include "string/memmove.c".
70717         * include/dirent.h: Declare __getdirentries.
70719         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
70720         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
70722 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
70724         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
70725         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
70726         * sysdeps/i386/configure: Regenerated.
70727         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
70728         STABS_CURRENT_FILE, and STABS_FUN.
70729         (END): Remove call to STABS_FUN_END.
70730         (STABS_CURRENT_FILE1): Delete.
70731         (STABS_CURRENT_FILE): Likewise.
70732         (STABS_FUN): Likewise.
70733         (STABS_FUN_END): Likewise.
70734         (STABS_FUN2): Likewise.
70735         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
70736         * sysdeps/x86_64/configure: Regenerated.
70738 2012-08-14  Roland McGrath  <roland@hack.frob.com>
70740         * elf/dl-open.c: Include <atomic.h>.
70741         * elf/dl-lookup.c: Likewise.
70743 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
70745         * sysdeps/unix/sysv/linux/kernel-features.h
70746         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
70747         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
70748         unconditionally.
70749         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
70750         unconditionally.
70751         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
70752         condition on __ASSUME_CLONE_THREAD_FLAGS.
70754 2012-08-14  Andreas Jaeger  <aj@suse.de>
70756         * sysdeps/i386/fpu/libm-test-ulps: Update.
70758 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
70760         * include/atomic.h (atomic_exchange_and_add): Split into ...
70761         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
70762         New atomic macros.
70764 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
70766         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70768 2012-08-13  Jeff Law <law@redhat.com>
70770         * manual/stdio.texi (snprintf): Clarify handling of the trailing
70771         null byte in the output string.
70773 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
70775         * sysdeps/unix/sysv/linux/kernel-features.h
70776         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
70777         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
70778         (__ASSUME_ARG_MAX_STACK_BASED): Define.
70779         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
70780         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
70781         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
70782         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
70784 2012-08-09  Jeff Law <law@redhat.com>
70786         [BZ #13939]
70787         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
70788         When avoid_arena is set, don't retry in the that arena.  Pick the
70789         next one, whatever it might be.
70790         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
70791         (arena_lock): Pass in new parameter to arena_get2.
70792         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
70793         arena_get2.
70794         (__libc_malloc): Unify retrying after main arena failure with
70795         __libc_memalign version.
70796         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
70798 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
70800         [BZ #14166]
70801         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
70802         to __redirect_strstr.
70803         (__strstr_sse42): Use typeof __redirect_strstr.
70804         (__strstr_ia32): Likewise.
70805         (__libc_strstr): New prototype.
70806         (strstr): Renamed to ...
70807         (__libc_strstr): This.
70808         (strstr): New strong alias of __libc_strstr.
70809         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
70810         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
70811         __redirect_time.
70812         Include <time.h>.
70813         (__libc_time): New prototype.
70814         (time_ifunc): Replace time with __libc_time.
70815         (time): New strong alias and hidden definition of __libc_time.
70816         (__GI_time): Remove strong alias.
70817         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
70818         Include <stddef.h>.
70819         (memmove): Redefined to __redirect_memmove.
70820         (__memmove_sse2): Use typeof __redirect_memmove.
70821         (__memmove_ssse3): Likewise.
70822         (__memmove_ssse3_back): Likewise.
70823         (__libc_memmove): New prototype.
70824         (memmove): Renamed to ...
70825         (__libc_memmove): This.
70826         (memmove): New strong alias of __libc_memmove.
70828 2012-08-08  Mark Salter  <msalter@redhat.com>
70830         * elf/elf.h
70831         (R_MN10300_TLS_GD): Define.
70832         (R_MN10300_TLS_LD): Likewise.
70833         (R_MN10300_TLS_LDO): Likewise.
70834         (R_MN10300_TLS_GOTIE): Likewise.
70835         (R_MN10300_TLS_IE): Likewise.
70836         (R_MN10300_TLS_LE): Likewise.
70837         (R_MN10300_TLS_DTPMOD): Likewise.
70838         (R_MN10300_TLS_DTPOFF): Likewise.
70839         (R_MN10300_TLS_TPOFF): Likewise.
70840         (R_MN10300_SYM_DIFF): Likewise.
70841         (R_MN10300_ALIGN): Likewise.
70842         (R_MN10300_NUM): Update.
70844 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
70846         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
70847         Remove.
70849 2012-08-08  Roland McGrath  <roland@hack.frob.com>
70851         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
70853         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
70854         sysdeps/unix -> sysdeps/posix move.
70855         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
70857 2012-08-07      Allan McRae     <allan@archlinux.org>
70859         [BZ #14303]
70860         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
70861         (SUNOS_CPP): Likewise.
70862         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
70863         not found.
70864         (open_input): Call CPP using execvp.
70866 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
70868         * sysdeps/unix/sysv/linux/kernel-features.h
70869         (__ASSUME_PROT_GROWSUPDOWN): Remove.
70870         (__ASSUME_NO_CLONE_DETACHED): Likewise.
70871         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
70872         (__ASSUME_WAITID_SYSCALL): Likewise.
70873         * sysdeps/unix/sysv/linux/dl-execstack.c
70874         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
70875         code unconditional.
70876         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
70877         conditional code.
70878         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
70879         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
70880         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
70881         code.
70882         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
70883         unconditional.
70884         [__ASSUME_WAITID_SYSCALL]: Likewise.
70885         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
70887 2012-08-07  Roland McGrath  <roland@hack.frob.com>
70889         * sysdeps/unix/closedir.c: Renamed to ...
70890         * sysdeps/posix/closedir.c: ... here.
70891         * sysdeps/unix/dirfd.c: Renamed to ...
70892         * sysdeps/posix/dirfd.c: ... here.
70893         * sysdeps/unix/dirstream.h: Renamed to ...
70894         * sysdeps/posix/dirstream.h: ... here.
70895         * sysdeps/unix/fdopendir.c: Renamed to ...
70896         * sysdeps/posix/fdopendir.c: ... here.
70897         * sysdeps/unix/opendir.c: Renamed to ...
70898         * sysdeps/posix/opendir.c: ... here.
70899         * sysdeps/unix/readdir.c: Renamed to ...
70900         * sysdeps/posix/readdir.c: ... here.
70901         * sysdeps/unix/readdir_r.c: Renamed to ...
70902         * sysdeps/posix/readdir_r.c: ... here.
70903         * sysdeps/unix/rewinddir.c: Renamed to ...
70904         * sysdeps/posix/rewinddir.c: ... here.
70905         * sysdeps/unix/seekdir.c: Renamed to ...
70906         * sysdeps/posix/seekdir.c: ... here.
70907         * sysdeps/unix/telldir.c: Renamed to ...
70908         * sysdeps/posix/telldir.c: ... here.
70909         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
70910         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
70911         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
70912         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
70914         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
70915         * bits/fcntl.h: ... here.
70917         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
70918         not 0.
70919         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
70920         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
70921         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
70922         (struct flock): Move l_start, l_len to the beginning.
70923         Use __pid_t for l_pid.
70924         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
70925         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
70926         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
70927         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
70928         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
70929         [__USE_LARGEFILE64] (struct flock64): New type.
70930         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
70932         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
70933         * bits/dirent.h: ... here.
70935         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
70936         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
70938 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
70940         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
70941         Change from 2.6.0 to 2.6.16.
70942         * sysdeps/unix/sysv/linux/configure: Regenerated.
70943         * sysdeps/unix/sysv/linux/kernel-features.h
70944         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
70945         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
70946         version.
70947         (__ASSUME_UTIMES): Likewise.
70948         (__ASSUME_CLONE_STOPPED): Remove.
70949         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
70950         architectures, not kernel version.
70951         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
70952         (__ASSUME_NO_CLONE_DETACHED): Likewise.
70953         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
70954         (__ASSUME_WAITID_SYSCALL): Likewise.
70955         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
70956         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
70957         * README: State 2.6.16 as minimum Linux kernel version.  Do not
70958         refer to older versions.
70960 2012-08-06  Roland McGrath  <roland@hack.frob.com>
70962         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
70963         Define alphasort64 as an alias.
70964         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
70965         Define versionsort64 as an alias.
70966         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
70967         Define scandir64 as an alias.
70968         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
70969         Define scandirat64 as an alias.
70970         * dirent/alphasort64.c (alphasort64):
70971         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
70972         * dirent/versionsort64.c: Likewise.
70973         * dirent/scandir64.c: Likewise.
70974         * dirent/scandirat64.c: Likewise.
70975         * sysdeps/wordsize-64/alphasort.c: File removed.
70976         * sysdeps/wordsize-64/alphasort64.c: File removed.
70977         * sysdeps/wordsize-64/scandir.c: File removed.
70978         * sysdeps/wordsize-64/scandir64.c: File removed.
70979         * sysdeps/wordsize-64/scandirat.c: File removed.
70980         * sysdeps/wordsize-64/scandirat64.c: File removed.
70981         * sysdeps/wordsize-64/versionsort.c: File removed.
70982         * sysdeps/wordsize-64/versionsort64.c: File removed.
70983         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
70984         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
70985         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
70986         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
70987         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
70988         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
70989         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
70990         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
70992         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
70993         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
70994         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
70995         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70996         [defined __arch64__ || defined __sparcv9]
70997         (__INO_T_MATCHES_INO64_T): New macro.
70998         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
70999         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
71000         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
71001         * sysdeps/unix/sysv/linux/bits/dirent.h
71002         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
71003         (_DIRENT_MATCHES_DIRENT64): New macro.
71005         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
71006         Define lockf64 as an alias.
71007         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
71008         Define fseeko64 as an alias.
71009         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
71010         Define ftello64 as an alias.
71011         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
71012         Define _IO_fgetpos64 and fgetpos64 as aliases.
71013         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
71014         Define _IO_fsetpos64 and fsetpos64 as aliases.
71015         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
71016         Conditionalize body on this.
71017         * libio/fseeko64.c: Likewise.
71018         * libio/ftello64.c: Likewise.
71019         * libio/iofgetpos64.c: Likewise.
71020         * libio/iofsetpos64.c: Likewise.
71021         * sysdeps/wordsize-64/lockf.c: File removed.
71022         * sysdeps/wordsize-64/lockf64.c: File removed.
71023         * sysdeps/wordsize-64/fseeko.c: File removed.
71024         * sysdeps/wordsize-64/fseeko64.c: File removed.
71025         * sysdeps/wordsize-64/ftello.c: File removed.
71026         * sysdeps/wordsize-64/ftello64.c: File removed.
71027         * sysdeps/wordsize-64/iofgetpos.c: File removed.
71028         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
71029         * sysdeps/wordsize-64/iofsetpos.c: File removed.
71030         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
71031         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
71032         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
71033         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
71034         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
71035         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
71036         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
71037         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
71038         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
71039         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
71040         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
71042         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
71043         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
71044         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
71045         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71046         [defined __arch64__ || defined __sparcv9]
71047         (__OFF_T_MATCHES_OFF64_T): New macro.
71048         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
71049         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
71050         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71051         (__OFF_T_MATCHES_OFF64_T): New macro.
71053 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
71055         * stdlib/secure-getenv.c (__secure_getenv): Replace
71056         GLIBC_2_16 with GLIBC_2_17.
71058 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
71060         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
71061         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
71063 2012-08-03  David S. Miller  <davem@davemloft.net>
71065         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71067 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
71069         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
71070         Remove.
71071         (__ASSUME_CORRECT_SI_PID): Likewise.
71072         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
71073         (__ASSUME_TMPFS_NAME): Likewise.
71074         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
71075         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
71076         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
71077         (HAVE_AUX_SECURE): Make definition unconditional.
71078         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
71079         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
71081 2012-08-03  Roland McGrath  <roland@hack.frob.com>
71083         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
71084         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
71085         * sysdeps/mach/hurd/eloop-threshold.h: New file.
71086         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
71087         __eloop_threshold instead of SYMLOOP_MAX.
71089         * sysdeps/generic/eloop-threshold.h: New file.
71090         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
71091         of MAXSYMLINKS.
71092         * elf/chroot_canon.c (chroot_canon): Likewise.
71094 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
71096         [BZ #13717]
71097         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71098         Change to 2.6.0 everywhere.
71099         * sysdeps/unix/sysv/linux/configure: Regenerated.
71100         * sysdeps/unix/sysv/linux/kernel-features.h
71101         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
71102         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
71103         kernel versions.
71104         (__ASSUME_POSIX_TIMERS): Define unconditionally.
71105         (__ASSUME_FUTEX_REQUEUE): Remove.
71106         (__ASSUME_STATFS64): Define unconditionally.
71107         (__ASSUME_AT_SECURE): Likewise.
71108         (__ASSUME_CORRECT_SI_PID): Likewise.
71109         (__ASSUME_TGKILL): Define without depending on kernel version for
71110         i386.
71111         (__ASSUME_UTIMES): Likewise.
71112         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
71113         kernel version.
71114         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
71115         (__ASSUME_TMPFS_NAME): Likewise.
71116         * README: Update reference to Linux kernel versions.
71118 2012-08-02  Marek Polacek  <polacek@redhat.com>
71120         [BZ# 14150]
71121         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
71122         libc_cv_asm_type_prefix with %.
71123         * configure: Regenerated.
71124         * include/libc-symbols.h: Remove comment about
71125         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
71126         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
71127         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
71128         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
71129         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
71130         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
71131         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
71132         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
71133         * elf/tst-unique2mod1.c: Likewise.
71134         * elf/tst-unique1mod2.c: Likewise.
71135         * elf/tst-unique1mod1.c: Likewise.
71136         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
71137         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
71138         Replace ASM_TYPE_DIRECTIVE with .type.
71139         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71140         * sysdeps/i386/sysdep.h: Likewise.
71141         * sysdeps/x86_64/sysdep.h: Likewise.
71142         * sysdeps/sh/sysdep.h: Likewise.
71143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
71144         Do not define ASM_TYPE_DIRECTIVE.
71145         * sysdeps/powerpc/sysdep.h: Likewise.
71146         * sysdeps/powerpc/powerpc32/sysdep.h:
71147         Replace ASM_TYPE_DIRECTIVE with .type.
71148         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
71149         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
71150         * sysdeps/i386/fpu/e_powf.S: Likewise.
71151         * sysdeps/i386/fpu/e_expl.S: Likewise.
71152         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71153         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71154         * sysdeps/i386/fpu/e_pow.S: Likewise.
71155         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
71156         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71157         * sysdeps/i386/fpu/s_expm1.S: Likewise.
71158         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
71159         * sysdeps/i386/fpu/e_log2.S: Likewise.
71160         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71161         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71162         * sysdeps/i386/fpu/e_powl.S: Likewise.
71163         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71164         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
71165         * sysdeps/i386/fpu/e_logl.S: Likewise.
71166         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
71167         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
71168         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
71169         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71170         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71171         * sysdeps/i386/fpu/e_log.S: Likewise.
71172         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71173         * sysdeps/i386/fpu/e_logf.S: Likewise.
71174         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71175         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71176         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
71177         * sysdeps/i386/fpu/e_log10.S: Likewise.
71178         * sysdeps/i386/fpu/s_frexp.S: Likewise.
71179         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71180         * sysdeps/i386/fpu/s_asinh.S: Likewise.
71181         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
71182         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71183         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
71184         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
71185         * sysdeps/i386/i686/strtok.S: Likewise.
71186         * sysdeps/i386/i386-mcount.S: Likewise.
71187         * sysdeps/i386/strtok.S: Likewise.
71188         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
71189         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71190         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71191         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71192         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
71193         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71194         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
71195         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
71196         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71197         * sysdeps/x86_64/_mcount.S: Likewise.
71198         * sysdeps/x86_64/strtok.S: Likewise.
71199         * sysdeps/sh/_mcount.S: Likewise.
71201 2012-08-01  Roland McGrath  <roland@hack.frob.com>
71203         * libio/iofopen.c: Include <fcntl.h>.
71204         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
71205         (_IO_fopen64, fopen64): Define as aliases.
71206         * libio/iofopen64.c: Include <fcntl.h>.
71207         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
71208         Conditionalize body on this.
71209         * sysdeps/wordsize-64/iofopen.c: File removed.
71210         * sysdeps/wordsize-64/iofopen64.c: File removed.
71212 2012-08-01  Marek Polacek  <polacek@redhat.com>
71214         * libc/Makeconfig: Use elf in place of binfmt-subdir.
71215         Use dlfcn directly instead of a variable.
71216         (binfmt-subdir): Do not define.
71217         (dlfcn): Likewise.
71219 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
71221         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
71222         Remove all definitions.
71223         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
71224         <kernel-features.h>.
71225         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
71226         (miss_F_GETOWN_EX): Remove all definitions.
71227         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
71228         macro definition.
71229         [!__ASSUME_FCNTL64]: Remove conditional code.
71230         [__ASSUME_FCNTL64]: Make code unconditional.
71231         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
71232         <kernel-features.h>.
71233         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
71234         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
71235         (lockf64) [__NR_fcntl64]: Make code unconditional.
71236         (lockf64) [__ASSUME_FCNTL64]: Likewise.
71238         * sysdeps/unix/sysv/linux/kernel-features.h
71239         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
71240         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
71241         Make code unconditional.
71242         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
71243         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
71244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
71245         [__NR_vfork]: Make code unconditional.
71246         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
71247         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
71248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
71249         [__NR_vfork]: Make code unconditional.
71250         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
71251         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
71253 2012-08-01  Roland McGrath  <roland@hack.frob.com>
71255         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
71256         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
71258         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71259         Define mkstemp64 as an alias.
71260         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71261         Define mkstemps64 as an alias.
71262         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71263         Define mkostemp64 as an alias.
71264         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71265         Define mkostemps64 as an alias.
71266         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
71267         Conditionalize body on this.
71268         * misc/mkostemp64.c: Likewise.
71269         * misc/mkostemps64.c: Likewise.
71270         * misc/mkstemps64.c: Likewise.
71271         * sysdeps/wordsize-64/mkstemp64.c: File removed.
71272         * sysdeps/wordsize-64/mkostemp64.c: File removed.
71273         * sysdeps/wordsize-64/mkostemp.c: File removed.
71274         * sysdeps/wordsize-64/mkstemp.c: File removed.
71275         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
71276         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
71277         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
71278         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
71280         [BZ #14138]
71281         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
71282         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
71283         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
71284         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
71286         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
71287         compat_symbol macros from <shlib-compat.h> rather than the underlying
71288         default_symbol_version and symbol_version macros, so that DEFAULT
71289         lines in shlib-versions are respected.
71290         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
71292 2012-08-01  Florian Weimer  <fweimer@redhat.com>
71294         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
71295         Declare with warn_unused_result.
71296         (setgid, setregid, setegid, setresgid): Likewise.
71297         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
71298         Likewise.
71299         * WUR-REPORT: Remove set*id functions.
71301 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
71303         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
71305 2012-07-31  Roland McGrath  <roland@hack.frob.com>
71307         [BZ #10191]
71308         * include/sys/socket.h (__libc_accept, __libc_accept4):
71309         Add attribute_hidden.
71310         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
71312         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
71313         use of PTR_MANGLE.
71314         * inet/getnetgrent_r.c (setup): Likewise.
71316         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
71318 2012-07-31  David S. Miller  <davem@davemloft.net>
71320         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71322 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
71324         [BZ #13629]
71325         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
71326         value between 1.0 and 2.0 and smaller part has absolute value less
71327         than 1.0.
71328         * math/s_clog10.c (__clog10): Likewise.
71329         * math/s_clog10f.c (__clog10f): Likewise.
71330         * math/s_clog10l.c (__clog10l): Likewise.
71331         * math/s_clogf.c (__clogf): Likewise.
71332         * math/s_clogl.c (__clogl): Likewise.
71333         * math/libm-test.inc (clog_test): Add more tests.
71334         (clog10_test): Likewise.
71335         * sysdeps/i386/fpu/libm-test-ulps: Update.
71336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71338 2012-07-31  Florian Weimer  <fweimer@redhat.com>
71340         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
71341         Exit with zero in case no suitable GID is found, and write a
71342         message to standard error.
71344 2012-07-30  Roland McGrath  <roland@hack.frob.com>
71346         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
71347         rather than to 1.
71348         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
71349         (MAXPATHLEN): Removed.
71350         (NOGROUP, NODEV): New macros.
71351         (setbit, clrbit, isset, isclr): New macros.
71352         (howmany, roundup, powerof2): New macros.
71353         (DEV_BSIZE): New macro.
71355         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
71356         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
71358         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
71359         definition on [!__NO_LONG_DOUBLE_MATH].
71361         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
71362         PTR_MANGLE and PTR_DEMANGLE.
71364         * socket/accept4.c (accept4): Rename to __libc_accept4.
71365         Define accept4 as a weak alias.
71367         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
71368         on [_DIRENT_HAVE_D_TYPE].
71369         * io/ftw.c (ftw_dir): Likewise.
71371         * io/xmknod.c (__xmknod): Don't check PATH for being null.
71373         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
71375         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
71376         Use the BSD numbers rather than the arbitrary ones we had.
71377         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
71378         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
71379         (SIGXCPU, SIGXFSZ): New macros.
71380         (_NSIG): Now 32.
71382         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
71383         initializer on [_LIBC_REENTRANT].
71385         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
71386         definitions inside [_POSIX_MAPPED_FILES].
71388         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
71390         * dirent/opendir.c: Include <fcntl.h>.
71392         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
71393         (__libc_getspecific): Likewise.
71394         (__libc_key_create): Likewise.
71396         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
71397         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
71398         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
71399         (tmpfile64): Define as alias.
71400         * sysdeps/wordsize-64/tmpfile.c: File removed.
71401         * sysdeps/wordsize-64/tmpfile64.c: File removed.
71402         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
71403         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
71405         * stdio-common/vfscanf.c: Include <stdbool.h>.
71406         * nss/makedb.c: Likewise.
71407         * stdio-common/_i18n_number.h: Likewise.
71408         * argp/argp-help.c: Likewise.
71409         * posix/wordexp.c: Likewise.
71410         * sysdeps/posix/spawni.c: Likewise.
71411         * nss/nss_files/files-initgroups.c: Likewise.
71412         * stdio-common/reg-modifier.c: Include <stdlib.h>.
71413         * nss/nss_files/files-initgroups.c: Likewise.
71414         * nss/nss_db/db-netgrp.c: Likewise.
71415         * nss/nss_db/db-initgroups.c: Likewise.
71416         * io/fchmodat.c: Include <sys/stat.h>.
71418         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
71419         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
71421         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
71422         [HAVE_MMAP].
71424         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
71425         Add multiple inclusion protection.
71427 2012-07-27  David S. Miller  <davem@davemloft.net>
71429         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71431 2012-07-27  Gary Benson  <gbenson@redhat.com>
71433         [BZ #14298]
71434         * elf/rtld.c: Include <stap-probe.h>.
71435         (dl_main): Added static probes "init_start" and "init_complete".
71436         * elf/dl-load.c: Include <stap-probe.h>.
71437         (lose): Take new parameter "nsid".
71438         Added static probe "map_failed".
71439         (_dl_map_object_from_fd): Pass namespace id to lose.
71440         Added static probe "map_start".
71441         (open_verify): Pass namespace id to lose.
71442         * elf/dl-open.c: Include <stap-probe.h>.
71443         (dl_open_worker) Added static probes "map_complete", "reloc_start"
71444         and "reloc_complete".
71445         * elf/dl-close.c: Include <stap-probe.h>.
71446         (_dl_close_worker): Added static probes "unmap_start" and
71447         "unmap_complete".
71448         * elf/rtld-debugger-interface.txt: New file documenting the above.
71450 2012-07-26  Roland McGrath  <roland@hack.frob.com>
71452         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
71453         rather than a string variable.
71454         * sunrpc/rpc_main.c (h_output): Likewise.
71455         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
71457 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
71459         * inet/check_native.c: New file.
71461 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
71463         [BZ #13629]
71464         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
71465         if larger part has absolute value 1.0.
71466         * math/s_clog10.c (__clog10): Likewise.
71467         * math/s_clog10f.c (__clog10f): Likewise.
71468         * math/s_clog10l.c (__clog10l): Likewise.
71469         * math/s_clogf.c (__clogf): Likewise.
71470         * math/s_clogl.c (__clogl): Likewise.
71471         * math/libm-test.inc (clog_test): Add more tests.
71472         (clog10_test): Likewise.
71473         * sysdeps/i386/fpu/libm-test-ulps: Update.
71474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71476         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
71477         (pltexit): Likewise.
71478         (La_regs): Likewise.
71479         (La_retval): Likewise.
71480         (int_retval): Likewise.
71481         Update #error for removed macros to refer only to definitions in
71482         tst-audit.h.
71483         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
71484         macro.
71485         (pltexit): Likewise.
71486         (La_regs): Likewise.
71487         (La_retval): Likewise.
71488         (int_retval): Likewise.
71489         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
71490         macro.
71491         (pltexit): Likewise.
71492         (La_regs): Likewise.
71493         (La_retval): Likewise.
71494         (int_retval): Likewise.
71495         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
71496         macro.
71497         (pltexit): Likewise.
71498         (La_regs): Likewise.
71499         (La_retval): Likewise.
71500         (int_retval): Likewise.
71501         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
71502         macro.
71503         (pltexit): Likewise.
71504         (La_regs): Likewise.
71505         (La_retval): Likewise.
71506         (int_retval): Likewise.
71507         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
71508         macro.
71509         (pltexit): Likewise.
71510         (La_regs): Likewise.
71511         (La_retval): Likewise.
71512         (int_retval): Likewise.
71513         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
71514         macro.
71515         (pltexit): Likewise.
71516         (La_regs): Likewise.
71517         (La_retval): Likewise.
71518         (int_retval): Likewise.
71519         * sysdeps/generic/tst-audit.h: Update comment to refer only to
71520         macro definitions in tst-audit.h.
71521         * sysdeps/i386/tst-audit.h: New file.
71522         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
71523         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
71524         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
71525         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
71526         * sysdeps/sh/tst-audit.h: Likewise.
71527         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
71528         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
71529         * sysdeps/x86_64/tst-audit.h: Likewise.
71531 2012-07-26  Andreas Jaeger  <aj@suse.de>
71533         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
71534         ptrace.
71536         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
71537         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
71538         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
71539         PTRACE_O_MASK.
71540         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
71541         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
71542         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
71544         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
71545         value.
71547         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
71548         _sigsys.
71549         (si_call_addr, si_syscall, si_arch): Define new macro.
71550         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
71551         _sigsys.
71552         (si_call_addr, si_syscall, si_arch): Define new marcro.
71553         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
71554         _sigsys.
71555         (si_call_addr, si_syscall, si_arch): Define new macro.
71556         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
71557         _sigsys.
71558         (si_call_addr, si_syscall, si_arch): Define new macro.
71560 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
71562         [BZ #13717]
71563         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71564         Change to 2.4.21 where previously 2.4.1.
71565         * sysdeps/unix/sysv/linux/configure: Regenerated.
71566         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
71567         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
71568         Linux kernel version.
71569         (__ASSUME_STD_AUXV): Remove.
71570         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
71571         kernel version.
71572         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
71573         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
71574         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
71575         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
71576         (__ASSUME_NETLINK_SUPPORT): Likewise.
71577         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
71578         (__no_netlink_support): Remove conditional definition.
71579         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
71580         Remove.
71581         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
71582         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
71583         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
71584         (if_nameindex_ioctl): Remove.
71585         (if_nameindex_netlink): Do not handle __no_netlink_support.
71586         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
71587         code.
71588         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
71589         Remove conditional code.
71590         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
71591         code.
71592         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
71593         unconditional.
71594         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
71595         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
71596         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
71597         Remove.
71598         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
71599         [!__ASSUME_STD_AUXV]: Remove conditional code.
71600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
71601         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
71602         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
71603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
71604         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
71605         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
71606         code.
71607         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
71608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
71609         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
71610         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
71611         conditional code.
71612         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
71613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
71614         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
71615         code.
71616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
71617         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
71618         conditional code.
71619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
71620         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71621         code unconditional.
71622         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71623         conditional code.
71624         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71625         unconditional.
71626         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71627         conditional code.
71628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
71629         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71630         unconditional.
71631         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71632         conditional code.
71633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
71634         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71635         code unconditional.
71636         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71637         conditional code.
71638         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71639         unconditional.
71640         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71641         conditional code.
71642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
71643         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71644         code unconditional.
71645         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71646         conditional code.
71647         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71648         unconditional.
71649         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71650         conditional code.
71652 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
71654         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
71655         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
71656         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
71657         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
71658         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
71659         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
71660         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
71661         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
71662         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
71663         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
71664         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
71665         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
71666         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
71667         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
71668         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
71669         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
71670         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
71671         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
71672         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
71673         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
71674         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
71675         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
71676         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
71678 2012-07-25  Florian Weimer  <fweimer@redhat.com>
71680         * Versions.def: Add GLIBC_2.17.
71681         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
71682         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
71683         Introduce __libc_secure_getenv.
71684         * stdlib/Versions (2.17): Add secure_getenv
71685         (GLIBC_PRIVATE): Add __libc_secure_getenv.
71686         * stdlib/secure-getenv.c: Rename __secure_getenv to
71687         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
71688         symbol __secure_getenv for GLIBC_2.0.
71689         * stdlib/tst-secure-getenv.c: New.
71690         * stdlib/Makefile (tests): Add testcase.
71691         * manual/startup.texi (Environment Access): Document
71692         secure_getenv.
71693         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
71694         __libc_secure_getenv.
71695         * inet/ruserpass.c (ruserpass): Likewise.
71696         * malloc/mtrace.c (mtrace): Likewise.
71697         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
71698         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
71699         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
71700         * sysdeps/posix/tempname.c: Likewise.  Evaluate
71701         HAVE_SECURE_GETENV.
71702         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
71703         __secure_getenv to __libc_secure_getenv.
71704         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
71705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71706         Likewise.
71707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71708         Likewise.
71709         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
71710         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
71711         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
71712         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
71713         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
71714         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
71715         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
71717 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
71719         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
71720         (struct La_i86_retval): Likewise.
71721         (struct La_x86_64_regs): Likewise.
71722         (struct La_x86_64_retval): Likewise.
71723         (struct La_x32_regs): Likewise.
71724         (struct La_x32_retval): Likewise.
71725         (struct La_ppc32_regs): Likewise.
71726         (struct La_ppc32_retval): Likewise.
71727         (struct La_ppc64_regs): Likewise.
71728         (struct La_ppc64_retval): Likewise.
71729         (struct La_sh_regs): Likewise.
71730         (struct La_sh_retval): Likewise.
71731         (struct La_s390_32_regs): Likewise.
71732         (struct La_s390_32_retval): Likewise.
71733         (struct La_s390_64_regs): Likewise.
71734         (struct La_s390_64_retval): Likewise.
71735         (struct La_sparc32_regs): Likewise.
71736         (struct La_sparc32_retval): Likewise.
71737         (struct La_sparc64_regs): Likewise.
71738         (struct La_sparc64_retval): Likewise.
71739         (struct audit_ifaces): Remove architecture-specific pltenter and
71740         pltexit members.
71741         * sysdeps/i386/ldsodefs.h: New file.
71742         * sysdeps/powerpc/ldsodefs.h: Likewise.
71743         * sysdeps/s390/ldsodefs.h: Likewise.
71744         * sysdeps/sh/ldsodefs.h: Likewise.
71745         * sysdeps/sparc/ldsodefs.h: Likewise.
71746         * sysdeps/x86_64/ldsodefs.h: Likewise.
71748 2012-07-25  Marek Polacek  <polacek@redhat.com>
71750         [BZ #6808]
71751         * math/libm-test.inc (yn_test): Add another test.
71752         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
71753         to ERANGE when the result is +-Inf.
71754         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
71755         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
71756         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
71757         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
71759 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
71761         * conform/data/time.h-data (NULL): Use macro-constant.  Require
71762         equal to 0.
71763         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
71764         clock_t.
71765         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
71767 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
71769         * configure.in <sysdeps resolving>: Correct printing
71770         Implies_before.
71771         * configure: Regenerate.
71773 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
71775         * math/w_ilogb.c: Include <limits.h>.
71776         * math/w_ilogbl.c: Likewise.
71778 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
71780         * manual/lang.texi (__va_copy): Document primarily as ISO C99
71781         va_copy.  Document allowing for unavailable va_copy only as
71782         pre-C99 compatibility.
71783         * manual/string.texi (Copying and Concatenation): Use va_copy
71784         instead of __va_copy in concat example.
71786 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
71788         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
71789         (__sendto): Use create_address_port.  Initialize APORT and deallocate
71790         it if not null.
71792         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
71793         with O_NOLINK passed to __file_name_lookup.
71795         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
71796         with O_NOLINK passed to __file_name_lookup.
71798         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
71799         negative N or less than NGIDS.
71801         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
71802         type to string_t.  Set ERANGE as errno and return it if NAME is not big
71803         enough.  Use memcpy instead of strncpy.
71805 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
71807         * elf/Makefile (check-data): Remove.
71808         (localplt.data): New vpath directive.
71809         ($(objpfx)check-localplt.out): Use localplt.data from vpath
71810         instead of $(check-data).
71811         * scripts/data/localplt-generic.data: Move to ...
71812         * sysdeps/generic/localplt.data: ... here.
71813         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
71814         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
71815         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
71816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
71817         ... here.
71818         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
71819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
71820         ... here.
71821         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
71822         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
71823         ... here.
71824         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
71825         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
71826         ... here.
71827         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
71828         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
71829         ... here.
71830         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
71831         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
71832         ... here.
71834 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71836         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
71837         PPC32 and PPC64 files.
71838         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
71839         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
71841 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71843         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
71844         __makecontext_ret to ...
71845         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
71846         ... here and call exit if uc_link is NULL.  New file.
71847         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
71848         __makecontext_ret.S.
71849         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
71850         __makecontext_ret to ...
71851         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
71852         ... here and call exit if uc_link is NULL.  New file.
71853         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
71854         __makecontext_ret.S.
71856 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71858         * elf/elf.h (R_390_IRELATIVE): New definition.
71859         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
71860         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
71861         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
71862         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
71863         (elf_machine_lazy_rel): Likewise.
71864         * sysdeps/s390/dl-irel.h: New file.
71865         * sysdeps/s390/s390-64/memcpy.S: New asm code.
71866         * sysdeps/s390/s390-64/memset.S: New asm code.
71867         * sysdeps/s390/s390-64/memcmp.S: New asm code.
71868         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
71869         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
71870         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
71871         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
71872         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
71873         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
71874         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
71875         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
71876         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
71877         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
71878         * sysdeps/s390/s390-32/memcpy.S: New asm code.
71879         * sysdeps/s390/s390-32/memset.S: New asm code.
71880         * sysdeps/s390/s390-32/memcmp.S: New asm code.
71882 2012-07-17  Marek Polacek  <polacek@redhat.com>
71884         [BZ #14349]
71885         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
71886         * sysdeps/s390/s390-64/configure.in: Likewise.
71887         * sysdeps/sparc/configure.in: Likewise.
71888         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
71889         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
71890         * sysdeps/i386/configure.in: Likewise.
71891         * sysdeps/x86_64/configure.in: Likewise.
71892         * sysdeps/sh/configure.in: Likewise.
71893         * sysdeps/s390/s390-32/configure: Regenerated.
71894         * sysdeps/s390/s390-64/configure: Likewise.
71895         * sysdeps/x86_64/configure: Likewise.
71896         * sysdeps/sh/configure: Likewise.
71897         * sysdeps/powerpc/powerpc64/configure: Likewise.
71898         * sysdeps/powerpc/powerpc32/configure: Likewise.
71899         * sysdeps/sparc/configure: Likewise.
71900         * sysdeps/i386/configure: Likewise.
71902         * elf/dl-open.c: Comment fixes.
71904 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
71906         * Makefile [CXX] (check-data): Remove.
71907         [CXX] (c++-types.data): New vpath directive.
71908         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
71909         vpath.  Do not allow for C++ type data being missing.
71910         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
71911         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
71912         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
71913         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
71914         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
71915         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
71916         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
71917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
71918         ... here.
71919         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
71920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
71921         ... here.
71922         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
71923         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
71924         ... here.
71925         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
71926         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
71927         ... here.
71928         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
71929         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
71930         ... here.
71931         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
71932         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
71933         ... here.
71934         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
71935         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
71936         ... here.
71937         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
71938         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
71940         * elf/tls-macros.h (TLS_LE): Move architecture-specific
71941         definitions to architecture-specific files.
71942         (TLS_IE): Likewise.
71943         (TLS_LD): Likewise.
71944         (TLS_GD): Likewise.
71945         * sysdeps/i386/tls-macros.h: New file.
71946         * sysdeps/powerpc/tls-macros.h: Likewise.
71947         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
71948         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
71949         * sysdeps/sh/tls-macros.h: Likewise.
71950         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
71951         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
71952         * sysdeps/x86_64/tls-macros.h: Likewise.
71954 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
71956         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
71957         zero value for regular exit case.
71959         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
71960         (__start_context): Preserve zero value for regular exit case.
71962 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
71963             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71965         * manual/setjmp.texi (setcontext): Clarify normal process
71966         termination when uc_link is the null pointer.
71967         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
71968         exit call.
71970 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
71972         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
71973         preprocessor.  Test for each exception mask separately.
71975 2012-07-16  Andreas Jaeger  <aj@suse.de>
71977         * po/ru.po: Update from translation team.
71979 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
71981         * conform/data/string.h-data (NULL): Use macro-constant.  Require
71982         equal to 0.
71983         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
71984         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
71985         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
71986         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
71987         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71989 2012-07-13  Andreas Jaeger  <aj@suse.de>
71991         * po/fr.po: Update from translation team.
71993 2012-07-12  Marek Polacek  <polacek@redhat.com>
71995         [BZ #14173]
71996         * math/libm-test.inc (yn_test): Add test for BZ #14173.
71997         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
71998         loop condition.
72000 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
72002         [BZ #13717]
72003         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72004         Change to 2.4.1 where previously 2.4.0.
72005         * sysdeps/unix/sysv/linux/configure: Regenerated.
72006         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
72007         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
72008         version.
72009         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
72010         (__ASSUME_AT_CLKTCK): Remove.
72011         (__ASSUME_AT_PAGESIZE): Likewise.
72012         (__ASSUME_AT_XID): Likewise.
72013         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
72014         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
72015         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
72016         unconditionally.
72017         (HAVE_AUX_PAGESIZE): Likewise.
72018         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
72019         [__ASSUME_AT_CLKTCK]: Make code unconditional.
72020         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
72022 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
72024         [BZ #14307]
72025         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
72026         the temporary buffer used to invoke __gethostbyname2_r,
72027         __gethostbyaddr_r and gethostbyname4_r to make room for struct
72028         host_data / struct gaih_addrtuple.
72029         * resolv/nss_dns/dns-host.c (global scope): Move definition of
72030         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
72031         header file nss/nsswitch.h.
72032         * nss/nsswitch.h (global scope): Add definition of implementation
72033         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
72034         resolv/nss_dns/dns-host.c).
72036 2012-07-11  Andreas Jaeger  <aj@suse.de>
72038         * po/fr.po: Update from translation team.
72040         * po/sv.po: Update from translation team
72041         * po/fr.po: Another update from translation team.
72043 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72045         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
72046         for subnormals or multiply small sinh result by itself.
72047         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
72048         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72050 2012-07-11  David S. Miller  <davem@davemloft.net>
72052         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72054 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
72056         [BZ #14347]
72057         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
72058         (INTERNAL_MARK): Shift it here.
72060 2012-07-10  Marek Polacek  <polacek@redhat.com>
72062         [BZ #14151]
72063         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
72064         libc_cv_asm_global_directive with .globl.
72065         * configure: Regenerated.
72066         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
72067         with .globl.
72068         * sysdeps/i386/configure: Regenerated.
72069         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
72070         with .globl.
72071         * sysdeps/x86_64/configure: Regenerated.
72072         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
72073         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
72074         * elf/tst-unique2mod2.c: Likewise.
72075         * elf/tst-unique2mod1.c: Likewise.
72076         * elf/tst-unique1mod2.c: Likewise.
72077         * elf/tst-unique1mod1.c: Likewise.
72078         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72079         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
72080         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72081         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
72082         * sysdeps/mach/sysdep.h: Likewise.
72083         * sysdeps/i386/sysdep.h: Likewise.
72084         * sysdeps/i386/i386-mcount.S: Likewise.
72085         * sysdeps/x86_64/_mcount.S: Likewise.
72086         * sysdeps/x86_64/sysdep.h: Likewise.
72087         * sysdeps/sh/_mcount.S: Likewise.
72088         * sysdeps/sh/sysdep.h: Likewise.
72089         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
72090         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
72091         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
72092         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72093         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
72094         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
72095         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
72096         * locale/localeinfo.h: Likewise.
72097         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
72098         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
72100 2012-07-09  Roland McGrath  <roland@hack.frob.com>
72102         [BZ #14336]
72103         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
72104         system".
72105         * manual/message.texi (The Uniforum approach): Likewise.
72106         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
72107         (glibc iconv Implementation): Likewise.
72109 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
72111         [BZ #14337]
72112         * math/s_clog.c (__clog): Avoid scaling a value down where that
72113         could result in underflow.
72114         * math/s_clog10.c (__clog10): Likewise.
72115         * math/s_clog10f.c (__clog10f): Likewise.
72116         * math/s_clog10l.c (__clog10l): Likewise.
72117         * math/s_clogf.c (__clogf): Likewise.
72118         * math/s_clogl.c (__clogl): Likewise.
72119         * math/libm-test.inc (clog_test): Add more tests.
72120         (clog10_test): Likewise.
72121         * sysdeps/i386/fpu/libm-test-ulps: Update.
72122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72124 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
72126         [BZ #14283]
72127         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
72128         by 7 not 8 to examine high bit of fractional part.
72130         [BZ #14042]
72131         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
72132         for call to __mcount_internal.
72133         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
72134         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
72135         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
72137 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
72139         [BZ #14154]
72140         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
72141         approximation for values within 0x1p-13f of an odd multiple of
72142         pi/4.
72143         * math/libm-test.inc (tan_test): Do not allow spurious underflow
72144         exception.  Add more tests.
72145         * sysdeps/i386/fpu/libm-test-ulps: Update.
72147         [BZ #6778]
72148         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
72149         inputs and return -1 for them.  Do not check for +Inf in case not
72150         reachable for +Inf.
72151         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
72152         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
72153         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
72154         and return -1 for them.  Do not check for +Inf in case not
72155         reachable for +Inf.
72156         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
72157         define.
72158         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
72159         and return -1 for them.  Do not check for +Inf in case not
72160         reachable for +Inf.
72161         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
72162         spurious underflow.
72163         * sysdeps/i386/fpu/libm-test-ulps: Update.
72164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72166 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
72168         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
72170 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
72172         [BZ #14157]
72173         [BZ #14331]
72174         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
72175         could result in spurious underflow.  Scale down values above
72176         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
72177         * math/s_csqrtf.c (__csqrtf): Likewise.
72178         * math/s_csqrtl.c (__csqrtl): Likewise.
72179         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
72180         spurious underflow.
72181         * sysdeps/i386/fpu/libm-test-ulps: Update.
72182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72184 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
72186         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
72187         xopen-msg.sed.
72188         * catgets/xopen-msg.awk: New file.
72189         * catgets/xopen-msg.sed: Removed.
72191         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
72192         po2text.sed.
72193         * intl/po2test.awk: New file.
72194         * intl/po2test.sed: Removed.
72196 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
72198         [BZ #14328]
72199         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
72200         or multiply small sinh result by itself.
72201         * math/s_ctanf.c (__ctanf): Likewise.
72202         * math/s_ctanh.c (__ctanh): Likewise.
72203         * math/s_ctanhf.c (__ctanhf): Likewise.
72204         * math/s_ctanhl.c (__ctanhl): Likewise.
72205         * math/s_ctanl.c (__ctanl): Likewise.
72206         * math/libm-test.inc (ctan_test_tonearest): New function.
72207         (ctan_test_towardzero): Likewise.
72208         (ctan_test_downward): Likewise.
72209         (ctan_test_upward): Likewise.
72210         (ctanh_test_tonearest): Likewise.
72211         (ctanh_test_towardzero): Likewise.
72212         (ctanh_test_downward): Likewise.
72213         (ctanh_test_upward): Likewise.
72214         (main): Call these new functions.
72215         * sysdeps/i386/fpu/libm-test-ulps: Update.
72216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72218 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
72220         * .gitignore: Delete /ports entry.
72222 2012-07-03  Andreas Jaeger  <aj@suse.de>
72224         * po/bg.po: Update from translation team.
72225         * po/cs.po: Likewise.
72226         * po/de.po: Likewise.
72227         * po/hr.po: Likewise.
72228         * po/nl.pl: Likewise.
72229         * po/pl.po: Likewise.
72230         * po/vi.po: Likewise.
72232 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
72234         * Makeconfig [!+link] (+link-before-libc): New variable.
72235         [!+link] (+link-after-libc): Likewise.
72236         [!+link] (+link-tests): Likewise.
72237         [!+link] (+link): Define in terms of $(+link-before-libc) and
72238         $(+link-after-libc).
72239         [!+link-static] (+link-static-before-libc): New variable.
72240         [!+link-static] (+link-static-after-libc): Likewise.
72241         [!+link-static] (+link-static-tests): Likewise.
72242         [!+link-static] (+link-static): Define in terms of
72243         $(+link-static-before-libc) and $(+link-static-after-libc).
72244         [build-shared] (link-libc-before-gnulib): New variable.
72245         [build-shared] (link-libc-tests): Likewise.
72246         [build-shared] (link-libc): Define in terms of
72247         $(link-libc-before-gnulib).
72248         [!build-shared] (link-libc-tests): New variable.
72249         (link-libc-static-tests): New variable.
72250         [!gnulib] (gnulib-arch): New variable.
72251         [!gnulib] (gnulib-tests): Likewise.
72252         [!gnulib] (static-gnulib-arch): Likewise.
72253         [!gnulib] (static-gnulib-tests): Likewise.
72254         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
72255         Define with "=" instead of ":=".
72256         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
72257         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
72258         * Rules (binaries-all-notests): New variable.
72259         (binaries-all-tests): Likewise.
72260         (binaries-static-notests): Likewise.
72261         (binaries-static-tests): Likewise.
72262         (binaries-all): Define using $(binaries-all-notests) and
72263         $(binaries-all-tests).
72264         (binaries-static): Define using $(binaries-static-notests) and
72265         $(binaries-static-tests).
72266         (binaries-shared-tests): New variable.
72267         (binaries-shared-notests): Likewise.
72268         (binaries-shared): Remove variable.
72269         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
72270         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
72271         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
72272         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
72273         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
72274         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
72275         * elf/Makefile (sln-modules): New variable.
72276         (extra-objs): Add $(sln-modules:=.o).
72277         (ldconfig-modules): Add static-stubs.
72278         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
72279         * elf/static-stubs.c: New file.
72281         [BZ #14283]
72282         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
72283         by 7 not 8 to examine high bit of fractional part.  Use volatile
72284         variables when splitting into final array of floats if
72285         __FLT_EVAL_METHOD__ != 0.
72286         * math/libm-test.inc (cos_test): Add another test.
72287         (sin_test): Likewise.
72288         * sysdeps/i386/fpu/libm-test-ulps: Update.
72290         [BZ #14273]
72291         * math/libm-test.inc (cosh_test): Add more tests.
72293         * version.h (RELEASE): Set to "development".
72294         (VERSION): Set to "2.16.90".
72296 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
72298         * NEWS: Update copyright. Remove last-updated date.
72299         Mention math library bug fixes and timezone data changes.
72300         * README: Mention GNU/Hurd, x32, and HPPA support status.
72302 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
72304         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
72306 2012-06-27  Andreas Jaeger  <aj@suse.de>
72308         * manual/contrib.texi (Contributors): Add Samuel Thibault.
72310 2012-06-25  Andreas Jaeger  <aj@suse.de>
72312         * sysdeps/s390/fpu/libm-test-ulps: Update.
72314 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
72315             Thomas Schwinge  <thomas@codesourcery.com>
72317         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
72318         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
72319         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
72320         fanotify_mark.
72322 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
72324         * sysdeps/mach/start.c: Remove file.
72325         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
72326         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
72327         * sysdeps/sh/init-first.c: Likewise.
72329         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
72330         registers for frame unwinding purposes, add CFI directives.
72331         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
72332         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
72333         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
72334         Likewise.
72336         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
72337         __fortify_fail returning.
72338         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
72340         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
72341         sysdeps/sh/____longjmp_chk.S.
72342         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
72343         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
72344         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
72345         (gen-as-const-headers): Append sigaltstack-offsets.sym.
72347         * sysdeps/sh/abort-instr.h: New file.
72348         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
72349         process in case exit returns.
72351         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
72352         initialize the GOT register before use.
72354         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
72355         calculation of ARGC > 4.
72357         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
72358         meaningful names to some local labels.
72360 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72361             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72363         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
72364         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
72365         (__arch_compare_and_exchange_val_16_acq): Likewise.
72366         (__arch_compare_and_exchange_val_32_acq): Likewise.
72367         (atomic_exchange_and_add): Fix gUSA sequence.
72368         (atomic_add): Likewise.
72369         (atomic_add_negative): Likewise.
72370         (atomic_add_zero): Likewise.
72371         (atomic_bit_test_set): Likewise.
72373 2012-06-22  Andreas Schwab  <schwab@redhat.com>
72375         [BZ #13579]
72376         * include/link.h (struct link_map): Add l_free_initfini.
72377         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
72378         l_initfini.
72379         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
72380         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
72381         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
72382         set.
72384 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
72386         * configure.in: Use AC_LANG_SOURCE.
72387         * configure: Regenerate.
72389 2012-06-22  Roland McGrath  <roland@hack.frob.com>
72391         * configure.in (libc_cv_localstatedir): New substituted variable.
72392         * configure: Regenerated.
72393         * config.make.in (localstatedir): New variable, substituted from
72394         libc_cv_localstatedir.
72395         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
72396         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
72397         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
72398         * sysdeps/gnu/configure: Regenerated.
72400 2012-06-21  Jeff Law  <law@redhat.com>
72402         [BZ #14277]
72403         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
72404         free.  Simplify list management for _LIBC case.
72406 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
72408         [BZ #14273]
72409         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
72410         Clear sign bit of 64-bit integer value before comparing against
72411         overflow value.
72413         * sysdeps/mach/configure: Regenerated.
72415 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
72417         [BZ #14278]
72418         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
72420 2012-06-21  Jeff Law  <law@redhat.com>
72422         [BZ #13882]
72423         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
72424         uint16_t for elements in the "seen" array to avoid char overflows.
72425         * elf/dl-fini.c (_dl_sort_fini): Likewise.
72426         * elf/dl-open.c (dl_open_worker): Likewise.
72428 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
72430         * scripts/list-sources.sh: Scan PORTS for translations.
72431         * po/libc.pot: Regenerated.
72433 2012-06-21  Andreas Jaeger  <aj@suse.de>
72435         [BZ #12194]
72436         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
72437         warning.
72438         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
72439         * bits/byteswap-16.h (__bswap_16): Likewise.
72440         * bits/byteswap.h (__bswap_constant_16): Likewise.
72442 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
72444         [BZ #14117]
72445         * sysdeps/i386/fpu_control.h: Removed.
72446         * sysdeps/x86_64/fpu_control.h: Moved to ...
72447         * sysdeps/x86/fpu_control.h: Here.
72449         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
72450         (_FPU_SETCW): Likewise.
72452 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
72454         [BZ #14117]
72455         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
72456         * sysdeps/x86/fpu/bits/mathinline.h: This.
72457         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
72459         [BZ #14050]
72460         [BZ #14117]
72461         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
72462         functions if __x86_64__ is defined.
72464 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
72466         * string/endian.h: Add !__ASSEMBLER__ condition for including
72467         conversion interfaces.
72469 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
72471         [BZ #14241]
72472         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
72473         of ABS(x) in calculating zero to negative powers other than odd
72474         integers.
72475         * math/libm-test.inc (pow_test): Add more tests.
72477 2012-06-15  Andreas Jaeger  <aj@suse.de>
72479         * manual/contrib.texi (Contributors): Update entry of Liubov
72480         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
72481         Machado Filho.
72483 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
72485         * string/string.h: Add __wur to GNU version of strerror_r.
72487 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
72489         [BZ #14229]
72490         * string/Makefile (tests): Add tst-strtok_r.
72491         * string/tst-strtok_r.c: New file.
72492         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
72493         RAX_LP/RDX_LP on SAVE_PTR.
72495 2012-06-14  Roland McGrath  <roland@hack.frob.com>
72497         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
72499 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
72501         * libm_test.inc (csqrt_test): Allow more spurious underflow
72502         exceptions.
72503         (j0_test): Likewise.
72504         (j1_test): Likewise.
72505         (y0_test): Likewise.
72506         (y1_test): Likewise.
72508 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
72510         * po/Makefile (libc.pot): Use UTF-8 charset.
72512 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
72514         [BZ #14210]
72515         Suppress sign-conversion warning from FD_SET.
72516         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
72517         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
72518         not unsigned long int.
72519         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
72521 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
72523         [BZ #14050]
72524         [BZ #14117]
72525         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
72526         __extern_always_inline instead of __extern_inline.
72527         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
72528         (__signbit): Likewise.
72529         (__signbitl): Support C++ namespace.
72530         (lrintf): New inline function.
72531         (lrint): Likewise.
72532         (llrintf): Likewise.
72533         (llrint): Likewise.
72534         (fmaxf): Likewise.
72535         (fmax): Likewise.
72536         (fminf): Likewise.
72537         (fmin): Likewise.
72538         (rint): Likewise.
72539         (rintf): Likewise.
72540         (ceil): Likewise.
72541         (ceilf): Likewise.
72542         (floor): Likewise.
72543         (floorf): Likewise.
72544         (nearbyint): Likewise.
72545         (nearbyintf): Likewise.
72547 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
72549         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
72550         non-default versions.
72552 2012-06-11  Roland McGrath  <roland@hack.frob.com>
72554         [BZ #14218]
72555         * manual/argp.texi (Argp): Reword argp_parse description slightly.
72557 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
72559         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
72560         (FE_UPWARD, FE_DOWNWARD): Don't define.
72561         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
72562         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
72564         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
72565         reading it.
72566         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
72567         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72569 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72571         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
72572         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
72573         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
72574         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
72576 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
72578         [BZ #14117]
72579         * sysdeps/i386/fpu/bits/fenv.h: Removed.
72580         * sysdeps/i386/fpu/Implies: New file.
72581         * sysdeps/x86_64/fpu/Implies: Likewise.
72582         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
72583         * sysdeps/x86/fpu/bits/fenv.h: This.
72585         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
72586         __SSE_MATH__.
72588 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
72590         [BZ #14134]
72591         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
72592         character 0xffff that matches the last element of the
72593         conversion table.
72595 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72597         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
72598         fmodl commit.
72600 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72602         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
72603         values higher than 25.6283.
72605 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72607         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
72608         subnormal exponent extraction and add some __builtin_expect.
72609         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
72610         Fix for subnormal mantissa calculation.
72612 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
72614         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
72615         cpu2 is -1 and errno is not ENOSYS.
72617 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
72619         [BZ #14117]
72620         * sysdeps/i386/i486/bits/string.h: Renamed to ...
72621         * sysdeps/x86/bits/string.h: This.
72622         * sysdeps/x86_64/bits/string.h: Removed.
72624         * sysdeps/i386/i486/bits/string.h: Define inline functions only
72625         if not compiling for x86-64, but compiling for >= i486.
72627         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
72628         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
72630         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
72631         New macro from Linux kernel 3.4.0.
72632         (FP_XSTATE_MAGIC2): Likewise.
72633         (FP_XSTATE_MAGIC2_SIZE): Likewise.
72634         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
72635         (struct _fpx_sw_bytes): New struct.
72636         (struct _xsave_hdr): Likewise.
72637         (struct _ymmh_state): Likewise.
72638         (struct _xstate): Likewise.
72640         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
72641         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
72642         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
72643         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
72644         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
72645         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
72647         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
72648         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
72649         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
72650         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
72651         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
72652         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
72654 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72656         [BZ #13743]
72657         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
72658         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
72659         (sysdep_headers): Include sys/platform/ppc.h.
72660         * sysdeps/powerpc/test-gettimebase.c: Test for
72661         __ppc_get_timebase() to catch future ISA opcode/insn changes.
72662         * manual/Makefile (appendices): Include platform.texi.
72663         * manual/contrib.texi (Contributors): Update @node pointers.
72664         * manual/maint.texi (Maintenance): Likewise.
72665         (Platform): New node.
72666         * manual/platform.texi: New file.  Document the new features.
72668 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
72669             Jakub Jelinek  <jakub@redhat.com>
72671         [BZ #14188]
72672         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
72673         where __builtin_expect is unavailable.
72675 2012-06-03  David S. Miller  <davem@davemloft.net>
72677         * stdlib/longlong.h: Updated from GCC.
72679 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
72681         [BZ #14042]
72682         * sysdeps/powerpc/powerpc32/mcount.c: New file.
72683         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
72684         __mcount_internal.
72685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
72686         (GLIBC_2.16): Likewise.
72688 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
72690         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
72692 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
72694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
72695         (default-abi): New variable.
72696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
72697         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
72698         variable.
72699         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
72700         Likewise.
72701         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
72702         Likewise.
72703         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
72704         Likewise.
72706         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
72707         definition.  Document in comment.
72709 2012-06-01  David S. Miller  <davem@davemloft.net>
72711         * stdlib/longlong.h: Updated from GCC.
72713 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
72715         [BZ #14117]
72716         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
72717         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
72718         sys/debugreg.h sys/io.h here.
72719         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
72720         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
72721         sys/io.h.
72722         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
72723         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
72724         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
72725         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
72726         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
72727         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
72729         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
72730         Define only if __x86_64__ is defined.
72732 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
72734         [BZ #14048]
72735         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
72736         Use int64_t for variable i.
72737         * math/libm-test.inc (fmod_test): Add more tests.
72739         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
72740         z computation is not scheduled after fetestexcept.
72741         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
72742         Use math_force_eval instead of asm to ensure calculation scheduled
72743         before exception test.
72744         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
72745         Ensure a1 + u.d computation is not scheduled after fetestexcept.
72747 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
72749         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
72750         computation is not scheduled after fetestexcept.
72752 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
72754         [BZ #14117]
72755         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
72756         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
72758 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72760         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
72761         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
72763 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
72765         [BZ #14117]
72766         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
72767         <bits/wordsize.h>.
72768         (__WCHAR_MIN): Support __WORDSIZE == 64.
72769         (__WCHAR_MAX): Likewise.
72771         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
72772         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
72774         [BZ #14183]
72775         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
72776         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
72778         [BZ #14117]
72779         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
72780         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
72782         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
72783         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
72785         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
72786         Defined to 1 if __x86_64__ isn't defined.
72787         (_STAT_VER_LINUX_OLD): New.
72788         (st_atime): Remove duplicate.
72789         (st_mtime): Likewise.
72790         (st_ctime): Likewise.
72792 2012-05-31  David S. Miller  <davem@davemloft.net>
72794         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
72795         entries.
72797 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
72799         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
72800         gen-libm-test.pl.
72802         [BZ #14132]
72803         * elf/dl-reloc.c: Include <_itoa.h>.
72804         (_dl_reloc_bad_type): Remove use of INTUSE.
72805         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
72806         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
72807         * stdio-common/psiginfo.c (psiginfo): Likewise.
72808         * stdio-common/psignal.c (psignal): Likewise.
72809         * string/strsignal.c (strsignal): Likewise.
72810         * include/signal.h (_sys_siglist): Declare hidden proto.
72811         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
72812         INTVARDEF with libc_hidden_data_def.
72813         * stdio-common/itoa-udigits.c: Likewise.
72814         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
72815         (_itoa_lower_digits_internal): Remove declaration.
72816         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
72817         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
72818         (_sys_sigabbrev_internal): Remove aliases.
72819         (_sys_siglist): Define hidden alias.
72821 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
72823         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72824         bits/sysctl.h.
72826 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
72828         [BZ #14117]
72829         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
72830         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
72832         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
72833         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
72834         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
72835         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
72836         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
72837         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
72839         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
72840         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
72841         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
72843         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
72844         with __addr.
72845         (insw): Likewise.
72846         (insl): Likewise.
72847         (outsb): Likewise.
72848         (outsw): Likewise.
72849         (outsl): Likewise.
72851         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
72852         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
72853         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
72855         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
72856         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
72857         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
72858         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
72859         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
72860         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
72862         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
72863         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
72865         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
72866         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
72868         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
72869         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
72870         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
72872         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
72873         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
72874         to ...
72875         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
72877         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
72878         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
72879         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
72881         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
72882         for x86-64.
72883         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
72885 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
72887         * math/math.h (M_El): Use two more decimal places.
72888         (M_LOG2El): Likewise.
72889         (M_LOG10El): Likewise.
72890         (M_LN2l): Likewise.
72891         (M_LN10l): Likewise.
72892         (M_PIl): Likewise.
72893         (M_PI_2l): Likewise.
72894         (M_PI_4l): Likewise.
72895         (M_1_PIl): Likewise.
72896         (M_2_PIl): Likewise.
72897         (M_2_SQRTPIl): Likewise.
72898         (M_SQRT2l): Likewise.
72899         (M_SQRT1_2l): Likewise.
72901 2012-05-31  David S. Miller  <davem@davemloft.net>
72903         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
72904         values between float registers.
72905         * sysdeps/sparc/sparc64/memset.S: Likewise.
72906         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
72908 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
72910         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
72911         -D_FORTIFY_SOURCE=1.
72912         (CPPFLAGS-tst-longjmp_chk.c): Define.
72913         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
72914         (CPPFLAGS-tst-longjmp_chk2.c): Define.
72915         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
72916         CFLAGS-tst-wchar-h.c.
72918 2012-05-31  Marek Polacek  <polacek@redhat.com>
72920         [BZ #14132]
72921         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
72922         __endmntent_internal): Remove declaration.
72923         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
72924         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
72925         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
72927 2012-05-30  David S. Miller  <davem@davemloft.net>
72929         * sysdeps/sparc/sparc32/soft-fp/q_util.c
72930         (___Q_simulate_exceptions): Use real FP ops rather than writing
72931         into the %fsr.
72932         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
72933         Likewise.
72935 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
72937         [BZ #14117]
72938         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
72939         * sysdeps/x86/bits/xtitypes.h: This.
72941         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
72942         * sysdeps/x86/bits/wordsize.h: This.
72944         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
72945         * sysdeps/x86/bits/huge_vall.h: This.
72947         * sysdeps/i386/bits/select.h: Removed.
72948         * sysdeps/x86_64/bits/select.h: Renamed to ...
72949         * sysdeps/x86/bits/select.h: This.
72951         * sysdeps/i386/bits/setjmp.h: Removed.
72952         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
72953         * sysdeps/x86/bits/setjmp.h: This.
72955         * sysdeps/i386/bits/mathdef.h: Removed.
72956         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
72957         * sysdeps/x86/bits/mathdef.h: This.
72959 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
72961         [BZ #14132]
72962         * include/sys/socket.h (__connect_internal)
72963         (__libc_sa_len_internal): Remove declaration.
72964         (__connect, __libc_sa_len): Declare hidden_proto.
72965         (SA_LEN): Remove use of INTUSE.
72966         * socket/connect.c: Add libc_hidden_def.
72967         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
72968         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
72969         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
72970         alias.
72971         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
72972         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
72973         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
72974         of adding _internal alias.
72976 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
72978         [BZ #14117]
72979         * sysdeps/i386/bits/link.h: Removed.
72980         * sysdeps/i386/bits/linkmap.h: Likewise.
72981         * sysdeps/x86_64/bits/link.h: Renamed to ...
72982         * sysdeps/x86/bits/link.h: This.
72983         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
72984         * sysdeps/x86/bits/linkmap.h: This.
72986         * sysdeps/i386/bits/endian.h: Removed.
72987         * sysdeps/x86_64/bits/endian.h: Renamed to ...
72988         * sysdeps/x86/bits/endian.h: This.
72990         * sysdeps/i386/bits/byteswap.h: Removed.
72991         * sysdeps/i386/bits/byteswap-16.h: Likewise.
72992         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
72993         * sysdeps/x86/bits/byteswap.h: This.
72994         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
72995         * sysdeps/x86/bits/byteswap-16.h: This.
72996         * sysdeps/i386/Implies: Add x86.
72997         * sysdeps/x86_64/Implies: Likewise.
72999 2012-05-30  David S. Miller  <davem@davemloft.net>
73001         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
73002         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
73003         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
73004         (FP_TRAPPING_EXCEPTIONS): Define.
73005         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
73006         (FP_TRAPPING_EXCEPTIONS): Define.
73007         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
73008         subnormals only when inexact has been signalled or underflow
73009         exceptions are enabled.
73010         (_FP_PACK_CANONICAL): Likewise.
73012 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73014         [BZ #14183]
73015         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
73016         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
73018 2012-05-30  Richard Henderson  <rth@twiddle.net>
73020         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
73021         with #ifndef NOT_IN_libc.
73023         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
73024         marked to avoid plt entry.
73026 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73028         [BZ #14112]
73029         * Makeconfig (default-abi): New macro.
73030         (abi-includes): Likewise.
73031         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
73032         $(abi-$(default-abi)-lib-soname) for soname if defined.
73033         ($(common-objpfx)gnu/lib-names.stmp): Generate from
73034         abi-variants.
73035         * Makefile (installed-stubs): Likewise.
73036         * include/stubs-biarch.h: Removed.
73037         * scripts/lib-names.awk: Only handle one library at a time.
73038         * scripts/soversions.awk: Remove WORDSIZE support.
73039         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
73040         entries.
73041         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
73042         Removed.
73043         (syscall-list-default-condition): Likewise.
73044         (syscall-list-default-condition): Likewise.
73045         (syscall-list-includes): Likewise.
73046         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
73047         syscall-list-* with abi-*.  Handle undefined abi-variants.
73048         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
73049         * sysdeps/unix/sysv/linux/i386/Implies: New file.
73050         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
73051         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
73052         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
73053         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
73054         Removed.
73055         (syscall-list-32-options): Likewise.
73056         (syscall-list-32-condition): Likewise.
73057         (syscall-list-64-options): Likewise.
73058         (syscall-list-64-condition): Likewise.
73059         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
73060         macro.
73061         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
73062         Renamed to ...
73063         (abi-*): This.
73064         (abi-64-ld-soname): New macro.
73065         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
73066         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
73067         Renamed to ...
73068         (abi-*): This.
73069         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
73070         * sysdeps/x86_64/x32/shlib-versions: Likewise.
73072 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
73074         * sysdeps/unix/sysv/linux/kernel-features.h
73075         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
73076         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
73077         include <kernel-features.h>.
73078         [!__NR_ftruncate64]: Remove conditional code.
73079         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73080         [__NR_ftruncate64]: Make code unconditional.
73081         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73082         * sysdeps/unix/sysv/linux/truncate64.c: Do not
73083         include <kernel-features.h>.
73084         [!__NR_ftruncate64]: Remove conditional code.
73085         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73086         [__NR_ftruncate64]: Make code unconditional.
73087         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
73089         include <kernel-features.h>.
73090         [!__NR_ftruncate64]: Remove conditional code.
73091         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73092         [__NR_ftruncate64]: Make code unconditional.
73093         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
73095         include <kernel-features.h>.
73096         [!__NR_ftruncate64]: Remove conditional code.
73097         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73098         [__NR_ftruncate64]: Make code unconditional.
73099         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73101         * configure.in (libc_cv_fpie): Weaken to a compile test using
73102         LIBC_TRY_CC_OPTION.
73103         * configure: Regenerated.
73105 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
73108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
73109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
73110         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73111         Refreshed.
73112         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
73113         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
73114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
73115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
73116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
73117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73118         Refreshed.
73120 2012-05-27  David S. Miller  <davem@davemloft.net>
73122         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
73123         (___Q_zero): New.
73124         (__Q_simulate_exceptions): Return void.  Change to simulate
73125         exceptions by writing into the %fsr.
73126         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
73127         (__Qp_handle_exceptions): Likewise.
73128         (numbers): Delete.
73129         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
73130         __Qp_handle_exceptions.
73131         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
73132         __Qp_handle_exceptions.
73133         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
73134         as unused and give dummy FP_RND_NEAREST initializer.
73135         (FP_INHIBIT_RESULTS): Define.
73136         (___Q_simulate_exceptions): Update declaration.
73137         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
73138         formatting.
73139         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
73140         as unused and give dummy FP_RND_NEAREST initializer.
73141         (__Qp_handle_exceptions): Update declaration.
73142         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
73143         formatting.
73145 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
73147         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
73148         the temporary FPU control word.
73149         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
73150         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
73151         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
73152         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
73153         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
73154         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
73155         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
73156         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
73157         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
73158         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
73159         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
73161 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73163         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
73164         fields.
73166 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
73168         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
73169         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
73170         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
73171         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
73172         Likewise.
73173         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
73174         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
73175         Likewise.
73177 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
73179         * po/h.po: Update from translation team.
73181 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
73183         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
73185         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
73186         handling of denormals.
73187         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
73188         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
73189         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
73190         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
73191         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73192         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
73193         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
73194         Likewise.
73196 2012-05-26  Marek Polacek  <polacek@redhat.com>
73198         [BZ #14152]
73199         * math/libm-test.inc (fma_test): Don't always expect underflow
73200         exception.
73202 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
73204         [BZ #12416]
73205         * elf/tst-execstack.c: Include stackinfo.h.
73206         (do_test): Adjust test case to ensure that pthread_getattr_np
73207         behaviour remains the same after marking stack executable.
73209 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
73211         * sysdeps/unix/sysv/linux/kernel-features.h
73212         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
73213         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
73214         kernel-features.h.
73215         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
73216         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
73217         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
73218         kernel-features.h.
73219         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
73220         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
73222 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
73224         * configure.in: Define the default includes to being none.
73225         * configure: Regenerated.
73227 2012-05-25  Roland McGrath  <roland@hack.frob.com>
73229         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
73230         * sysdeps/x86_64/setjmp.S: Likewise.
73231         * sysdeps/i386/bsd-setjmp.S: Likewise.
73232         * sysdeps/i386/bsd-_setjmp.S: Likewise.
73233         * sysdeps/i386/setjmp.S: Likewise.
73234         * sysdeps/i386/__longjmp.S: Likewise.
73235         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
73236         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
73238         * include/stap-probe.h: New file.
73239         * configure.in: Handle --enable-systemtap.
73240         * configure: Regenerated.
73241         * config.h.in (USE_STAP_PROBE): New #undef.
73242         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
73243         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
73244         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
73246 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
73248         [BZ #13717]
73249         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
73250         to 2.4.0 where earlier.
73251         * sysdeps/unix/sysv/linux/configure: Regenerated.
73252         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
73253         <kernel-features.h>.
73254         [__ASSUME_32BITUIDS]: Make code unconditional.
73255         [!__ASSUME_32BITUIDS]: Remove conditional code.
73256         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
73257         <kernel-features.h>.
73258         [__ASSUME_32BITUIDS]: Make code unconditional.
73259         [!__ASSUME_32BITUIDS]: Remove conditional code.
73260         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
73261         [__ASSUME_32BITUIDS]: Make code unconditional.
73262         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
73263         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
73264         <kernel-features.h>.
73265         [__ASSUME_32BITUIDS]: Make code unconditional.
73266         [!__ASSUME_32BITUIDS]: Remove conditional code.
73267         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
73268         <kernel-features.h>.
73269         [__ASSUME_32BITUIDS]: Make code unconditional.
73270         [!__ASSUME_32BITUIDS]: Remove conditional code.
73271         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
73272         <kernel-features.h>.
73273         [__ASSUME_32BITUIDS]: Make code unconditional.
73274         [!__ASSUME_32BITUIDS]: Remove conditional code.
73275         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
73276         <kernel-features.h>.
73277         [__ASSUME_32BITUIDS]: Make code unconditional.
73278         [!__ASSUME_32BITUIDS]: Remove conditional code.
73279         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
73280         <kernel-features.h>.
73281         [__ASSUME_32BITUIDS]: Make code unconditional.
73282         [!__ASSUME_32BITUIDS]: Remove conditional code.
73283         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
73284         <kernel-features.h>.
73285         [__ASSUME_32BITUIDS]: Make code unconditional.
73286         [!__ASSUME_32BITUIDS]: Remove conditional code.
73287         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
73288         <kernel-features.h>.
73289         [__ASSUME_32BITUIDS]: Make code unconditional.
73290         [!__ASSUME_32BITUIDS]: Remove conditional code.
73291         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
73292         <kernel-features.h>.
73293         [__ASSUME_32BITUIDS]: Make code unconditional.
73294         [!__ASSUME_32BITUIDS]: Remove conditional code.
73295         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
73296         <kernel-features.h>.
73297         [__ASSUME_32BITUIDS]: Make code unconditional.
73298         [!__ASSUME_32BITUIDS]: Remove conditional code.
73299         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
73300         <kernel-features.h>.
73301         [__ASSUME_32BITUIDS]: Make code unconditional.
73302         [!__ASSUME_32BITUIDS]: Remove conditional code.
73303         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
73304         <kernel-features.h>.
73305         [__NR_setresgid] (__setresgid): Do not declare.
73306         [__ASSUME_32BITUIDS]: Make code unconditional.
73307         [!__ASSUME_32BITUIDS]: Remove conditional code.
73308         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
73309         <kernel-features.h>.
73310         [__NR_setresuid] (__setresuid): Do not declare.
73311         [__ASSUME_32BITUIDS]: Make code unconditional.
73312         [!__ASSUME_32BITUIDS]: Remove conditional code.
73313         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
73314         <kernel-features.h>.
73315         [__ASSUME_32BITUIDS]: Make code unconditional.
73316         [!__ASSUME_32BITUIDS]: Remove conditional code.
73317         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
73318         <kernel-features.h>.
73319         [__ASSUME_32BITUIDS]: Make code unconditional.
73320         [!__ASSUME_32BITUIDS]: Remove conditional code.
73321         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
73322         <kernel-features.h>.
73323         [__ASSUME_32BITUIDS]: Make code unconditional.
73324         [!__ASSUME_32BITUIDS]: Remove conditional code.
73325         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
73326         <kernel-features.h>.
73327         [__ASSUME_32BITUIDS]: Make code unconditional.
73328         [!__ASSUME_32BITUIDS]: Remove conditional code.
73329         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
73330         <kernel-features.h>.
73331         [__ASSUME_32BITUIDS]: Make code unconditional.
73332         [!__ASSUME_32BITUIDS]: Remove conditional code.
73333         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
73334         <kernel-features.h>.
73335         [__ASSUME_32BITUIDS]: Make code unconditional.
73336         [!__ASSUME_32BITUIDS]: Remove conditional code.
73337         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
73338         <kernel-features.h>.
73339         [__ASSUME_32BITUIDS]: Make code unconditional.
73340         [!__ASSUME_32BITUIDS]: Remove conditional code.
73341         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
73342         <kernel-features.h>.
73343         [__ASSUME_32BITUIDS]: Make code unconditional.
73344         [!__ASSUME_32BITUIDS]: Remove conditional code.
73345         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
73346         <kernel-features.h>.
73347         [__ASSUME_32BITUIDS]: Make code unconditional.
73348         [!__ASSUME_32BITUIDS]: Remove conditional code.
73349         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
73350         <kernel-features.h>.
73351         [__ASSUME_32BITUIDS]: Make code unconditional.
73352         [!__ASSUME_32BITUIDS]: Remove conditional code.
73353         * sysdeps/unix/sysv/linux/kernel-features.h
73354         (__ASSUME_SETRESUID_SYSCALL): Remove.
73355         (__ASSUME_SETRESGID_SYSCALL): Likewise.
73356         (__ASSUME_32BITUIDS): Likewise.
73357         (__ASSUME_LDT_WORKS): Likewise.
73358         (__ASSUME_O_DIRECTORY): Likewise.
73359         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
73360         architecture but not kernel version.
73361         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
73362         (__ASSUME_MMAP2_SYSCALL): Likewise.
73363         (__ASSUME_STAT64_SYSCALL): Likewise.
73364         (__ASSUME_IPC64): Likewise.
73365         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
73366         <kernel-features.h>.
73367         [__ASSUME_32BITUIDS]: Make code unconditional.
73368         [!__ASSUME_32BITUIDS]: Remove conditional code.
73369         * sysdeps/unix/sysv/linux/opendir.c: Do not include
73370         <kernel-features.h>.
73371         [__ASSUME_O_DIRECTORY]: Make code unconditional.
73372         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
73373         132096]: Remove conditional code.
73374         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
73375         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
73376         <kernel-features.h>.
73377         [__ASSUME_32BITUIDS]: Make code unconditional.
73378         [!__ASSUME_32BITUIDS]: Remove conditional code.
73379         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
73380         <kernel-features.h>.
73381         [__ASSUME_32BITUIDS]: Make code unconditional.
73382         [!__ASSUME_32BITUIDS]: Remove conditional code.
73383         * sysdeps/unix/sysv/linux/setegid.c: Do not include
73384         <kernel-features.h>.
73385         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
73386         unconditional.
73387         (__setresgid): Do not declare.
73388         [__ASSUME_32BITUIDS]: Make code unconditional.
73389         [!__ASSUME_32BITUIDS]: Remove conditional code.
73390         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
73391         <kernel-features.h>.
73392         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
73393         unconditional.
73394         (__setresuid): Do not declare.
73395         [__ASSUME_32BITUIDS]: Make code unconditional.
73396         [!__ASSUME_32BITUIDS]: Remove conditional code.
73397         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
73398         <kernel-features.h>.
73399         [__ASSUME_32BITUIDS]: Make code unconditional.
73400         [!__ASSUME_32BITUIDS]: Remove conditional code.
73401         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
73402         <kernel-features.h>.
73403         [__ASSUME_32BITUIDS]: Make code unconditional.
73404         [!__ASSUME_32BITUIDS]: Remove conditional code.
73406 2012-05-25  Richard Henderson  <rth@twiddle.net>
73408         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
73409         dl_hwcap to ifunc resolver.
73410         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
73411         elf_ifunc_invoke.
73412         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
73413         dl_hwcap to ifunc resolver.
73414         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
73416 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
73418         [BZ #14153]
73419         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
73420         for |x| <= 2**-26, not 2**-57.
73421         * math/libm-test.inc (acos_test): Do not allow spurious underflow
73422         exception.
73424 2012-05-24  Jeff Law  <law@redhat.com>
73426         * stdio-common/Makefile (tests): Add bug25.
73427         * stdio-common/bug25.c: New test.
73429 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
73431         [BZ #13576]
73432         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
73433         multiple of MALLOC_ALIGNMENT in size.
73434         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
73436 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
73438         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
73439         Require >= 256.
73440         (FILENAME_MAX): Use macro-int-constant.
73441         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
73442         (_IOFBF): Use macro-int-constant.
73443         (_IOLBF): Likewise.
73444         (_IONBF): Likewise.
73445         (SEEK_CUR): Likewise.
73446         (SEEK_END): Likewise.
73447         (SEEK_SET): Likewise.
73448         (TMP_MAX): Likewise.
73449         (EOF): Use macro-int-constant.  Require < 0.
73450         (NULL): Use macro-constant.  Require == 0.
73451         (stdin): Require type to be FILE *.
73452         (stdout): Likewise.
73453         (stderr): Likewise.
73454         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
73455         macro-int-constant.
73456         (EXIT_SUCCESS): Likewise.
73457         (NULL): Use macro-constant.  Require == 0.
73458         (RAND_MAX): Use macro-int-constant.
73459         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
73460         [C99-based standards] (strtof): Require function.
73461         [C99-based standards] (strtold): Likewise.
73462         [C99-based standards] (strtoll): Likewise.
73463         [C99-based standards] (strtoull): Likewise.
73464         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
73465         [ISO || ISO99 || ISO11] (limits.h): Likewise.
73466         [ISO || ISO99 || ISO11] (math.h): Likewise.
73467         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
73468         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
73469         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73471 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
73473         [BZ #14132]
73474         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
73475         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
73476         * intl/dgettext.c (DCGETTEXT): Likewise.
73477         * intl/gettext.c (DCGETTEXT): Likewise.
73478         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
73479         * posix/regex_internal.h (gettext): Likewise.
73480         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
73481         Remove declaration.
73482         * include/argz.h (__argz_count_internal)
73483         (__argz_stringify_internal): Remove declaration.
73484         (__argz_count, __argz_stringify): Declare hidden proto.
73485         * intl/dcgettext.c: Remove use of INTDEF.
73486         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
73487         * string/argz-stringify.c: Likewise.
73488         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
73489         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
73490         Declare hidden proto.
73491         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
73492         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
73493         Declare hidden proto.
73494         * include/stdio.h (__asprintf_internal): Don't declare.
73495         (__asprintf): Don't define as macro.  Declare hidden proto.
73496         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
73497         (__fsetlocking): Declare hidden proto.
73498         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
73499         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
73500         hidden proto.
73501         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
73502         (_IO_setlinebuf): Remove use of INTUSE.
73503         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
73504         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
73505         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
73506         Remove declaration.
73507         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
73508         (_IO_do_flush): Remove use of INTUSE.
73509         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
73510         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
73511         (_IO_adjust_column, _IO_least_wmarker)
73512         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
73513         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
73514         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
73515         (_IO_default_doallocate, _IO_wdefault_doallocate)
73516         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
73517         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
73518         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
73519         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
73520         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
73521         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
73522         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
73523         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
73524         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
73525         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
73526         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
73527         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
73528         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
73529         proto.
73530         (_IO_flush_all_internal, _IO_adjust_column_internal)
73531         (_IO_default_uflow_internal, _IO_default_finish_internal)
73532         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
73533         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
73534         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
73535         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
73536         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
73537         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
73538         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
73539         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
73540         (_IO_file_close_internal, _IO_file_close_it_internal)
73541         (_IO_file_underflow_internal, _IO_file_overflow_internal)
73542         (_IO_file_init_internal, _IO_file_attach_internal)
73543         (_IO_file_fopen_internal, _IO_file_read_internal)
73544         (_IO_file_sync_internal, _IO_file_seek_internal)
73545         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
73546         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
73547         (_IO_str_underflow_internal, _IO_str_overflow_internal)
73548         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
73549         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
73550         (_IO_list_all_internal, _IO_link_in_internal)
73551         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
73552         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
73553         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
73554         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
73555         (_IO_do_write_internal, _IO_padn_internal)
73556         (_IO_getline_info_internal, _IO_getline_internal)
73557         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
73558         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
73559         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
73560         (_IO_vfscanf_internal, _IO_vfprintf_internal)
73561         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
73562         (_IO_init_internal, _IO_un_link_internal): Don't declare.
73563         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
73564         with libc_hidden_ver, remove use of INTUSE.
73565         * libio/genops.c: Likewise.
73566         * libio/freopen.c: Likewise.
73567         * libio/freopen64.c: Likewise.
73568         * libio/iofclose.c: Likewise.
73569         * libio/iofdopen.c: Likewise.
73570         * libio/iofflush.c: Likewise.
73571         * libio/iofflush_u.c: Likewise.
73572         * libio/iofgets.c: Likewise.
73573         * libio/iofgets_u.c: Likewise.
73574         * libio/iofopen.c: Likewise.
73575         * libio/iofopncook.c: Likewise.
73576         * libio/iofread.c: Likewise.
73577         * libio/iofread_u.c: Likewise.
73578         * libio/ioftell.c: Likewise.
73579         * libio/iofwrite.c: Likewise.
73580         * libio/iogetline.c: Likewise.
73581         * libio/iogets.c: Likewise.
73582         * libio/iogetwline.c: Likewise.
73583         * libio/iopadn.c: Likewise.
73584         * libio/iopopen.c: Likewise.
73585         * libio/ioseekoff.c: Likewise.
73586         * libio/ioseekpos.c: Likewise.
73587         * libio/iosetbuffer.c: Likewise.
73588         * libio/iosetvbuf.c: Likewise.
73589         * libio/ioungetc.c: Likewise.
73590         * libio/ioungetwc.c: Likewise.
73591         * libio/iovdprintf.c: Likewise.
73592         * libio/iovsprintf.c: Likewise.
73593         * libio/iovsscanf.c: Likewise.
73594         * libio/memstream.c: Likewise.
73595         * libio/obprintf.c: Likewise.
73596         * libio/oldfileops.c: Likewise.
73597         * libio/oldiofclose.c: Likewise.
73598         * libio/oldiofdopen.c: Likewise.
73599         * libio/oldiofopen.c: Likewise.
73600         * libio/oldiopopen.c: Likewise.
73601         * libio/oldstdfiles.c: Likewise.
73602         * libio/putc.c: Likewise.
73603         * libio/setbuf.c: Likewise.
73604         * libio/setlinebuf.c: Likewise.
73605         * libio/stdfiles.c: Likewise.
73606         * libio/strops.c: Likewise.
73607         * libio/vasprintf.c: Likewise.
73608         * libio/vscanf.c: Likewise.
73609         * libio/vsnprintf.c: Likewise.
73610         * libio/vswprintf.c: Likewise.
73611         * libio/wfiledoalloc.c: Likewise.
73612         * libio/wfileops.c: Likewise.
73613         * libio/wgenops.c: Likewise.
73614         * libio/wmemstream.c: Likewise.
73615         * libio/wstrops.c: Likewise.
73616         * libio/__fpurge.c: Likewise.
73617         * libio/__fsetlocking.c: Likewise.
73618         * assert/assert.c: Likewise.
73619         * debug/fgets_chk.c: Likewise.
73620         * debug/fgets_u_chk.c: Likewise.
73621         * debug/fread_chk.c: Likewise.
73622         * debug/fread_u_chk.c: Likewise.
73623         * debug/gets_chk.c: Likewise.
73624         * debug/obprintf_chk.c: Likewise.
73625         * debug/vasprintf_chk.c: Likewise.
73626         * debug/vdprintf_chk.c: Likewise.
73627         * debug/vsnprintf_chk.c: Likewise.
73628         * debug/vsprintf_chk.c: Likewise.
73629         * malloc/mtrace.c: Likewise.
73630         * misc/error.c: Likewise.
73631         * misc/syslog.c: Likewise.
73632         * stdio-common/asprintf.c: Likewise.
73633         * stdio-common/fxprintf.c: Likewise.
73634         * stdio-common/getw.c: Likewise.
73635         * stdio-common/isoc99_fscanf.c: Likewise.
73636         * stdio-common/isoc99_scanf.c: Likewise.
73637         * stdio-common/isoc99_vfscanf.c: Likewise.
73638         * stdio-common/isoc99_vscanf.c: Likewise.
73639         * stdio-common/isoc99_vsscanf.c: Likewise.
73640         * stdio-common/printf-prs.c: Likewise.
73641         * stdio-common/printf_fp.c: Likewise.
73642         * stdio-common/printf_fphex.c: Likewise.
73643         * stdio-common/printf_size.c: Likewise.
73644         * stdio-common/putw.c: Likewise.
73645         * stdio-common/scanf.c: Likewise.
73646         * stdio-common/sprintf.c: Likewise.
73647         * stdio-common/tmpfile.c: Likewise.
73648         * stdio-common/vfprintf.c: Likewise.
73649         * stdio-common/vfscanf.c: Likewise.
73650         * stdlib/strfmon_l.c: Likewise.
73651         * sunrpc/openchild.c: Likewise.
73652         * sunrpc/xdr_stdio.c: Likewise.
73653         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
73654         * sysdeps/mach/hurd/tmpfile.c: Likewise.
73656 2012-05-24  Roland McGrath  <roland@hack.frob.com>
73658         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
73660         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
73661         in the third column, to generate for the shared library an IFUNC
73662         that uses _dl_vdso_vsym.
73663         * Makerules (COMPILE.c, compile-stdin.c): New variables.
73664         * Makeconfig (object-suffixes-noshared): New variable.
73666         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
73667         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
73668         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
73669         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
73671         [BZ #14132]
73672         * include/sys/time.h (__gettimeofday): Remove macro.
73673         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
73674         * time/gettimeofday.c (__gettimeofday): Remove #undef.
73675         Remove INTDEF.
73676         (__gettimeofday): Add libc_hidden_def.
73677         (gettimeofday): Add libc_hidden_weak.
73678         * sysdeps/mach/gettimeofday.c: Likewise.
73679         * sysdeps/posix/gettimeofday.c: Likewise.
73680         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
73681         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
73682         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
73683         (__gettimeofday_internal): Remove strong_alias.
73684         (__gettimeofday): Add libc_hidden_def.
73685         (gettimeofday): Add libc_hidden_weak.
73686         * sysdeps/unix/syscalls.list (gettimeofday):
73687         Remove __gettimeofday_internal alias.
73689 2012-05-24  Daniel Jacobowitz  <drow@false.org>
73690             H.J. Lu  <hongjiu.lu@intel.com>
73692         [BZ #12495]
73693         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
73694         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
73695         (largebin_index_32_big): New.
73696         (largebin_index): Use it for 16-byte alignment.
73697         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
73698         correction with front_misalign.
73700 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
73702         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
73703         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
73704         Likewise.
73705         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
73706         Likewise.
73707         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
73708         Likewise.
73709         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
73710         Likewise.
73711         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
73712         Likewise.
73713         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
73714         Likewise.
73715         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
73716         Likewise.
73717         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
73718         Likewise.
73719         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
73720         Likewise.
73721         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
73722         Likewise.
73723         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
73724         Likewise.
73725         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
73726         Likewise.
73728         * scripts/data/c++-types-x32-linux-gnu.data: New file.
73729         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
73731 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
73733         [BZ #10846]
73734         [BZ #14036]
73735         * math/libm-test.inc (exp_test): Add test from bug 14036.
73736         (pow_test): Add test from bug 10846.
73738         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
73739         and other flags.
73740         (special_function): Do not include flags in test name.
73741         (parse_args): Likewise.
73742         * sysdeps/i386/fpu/libm-test-ulps: Update.
73743         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
73744         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
73745         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
73746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73748         * math/gen-libm-test.pl (%beautify): Add entries for underflow
73749         exceptions.
73750         * math/libm-test.inc ("Philosophy"): Update comment about
73751         exception testing.
73752         (UNDERFLOW_EXCEPTION): New macro.
73753         (UNDERFLOW_EXCEPTION_OK): Likewise.
73754         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
73755         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
73756         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
73757         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
73758         (INVALID_EXCEPTION_OK): Update value.
73759         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
73760         (OVERFLOW_EXCEPTION_OK): Likewise.
73761         (IGNORE_ZERO_INF_SIGN): Likewise.
73762         (test_exceptions): Handle underflow exceptions.
73763         (acos_test): Update for underflow exception expectations.
73764         (cexp_test): Likewise.
73765         (clog_test): Likewise.
73766         (clog10_test): Likewise.
73767         (csqrt_test): Likewise.
73768         (ctan_test): Likewise.
73769         (ctanh_test): Likewise.
73770         (exp_test): Likewise.
73771         (exp10_test): Likewise.
73772         (exp2_test): Likewise.
73773         (expm1_test): Likewise.
73774         (fma_test): Likewise.
73775         (j0_test): Likewise.
73776         (jn_test): Likewise.
73777         (nexttoward_test): Likewise.
73778         (pow_test): Likewise.
73779         (scalbn_test): Likewise.
73780         (scalbln_test): Likewise.
73781         (tan_test): Likewise.
73782         (y1_test): Likewise.
73783         * sysdeps/i386/fpu/libm-test-ulps: Update.
73784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73786 2012-05-23  David S. Miller  <davem@davemloft.net>
73788         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
73789         (__libc_sigaction): Remove unused local variables.
73791 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
73793         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
73795 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
73797         mktime: avoid signed integer overflow
73798         * time/mktime.c (__mktime_internal): Do not mishandle the case
73799         where diff == INT_MIN.
73801         mktime: simplify computation of average
73802         * time/mktime.c (ranged_convert): Use new time_t_avg function
73803         instead of rolling our own (probably-slower) code.
73805         mktime: do not assume signed right shift propagates sign bit
73806         * time/mktime.c (isdst_differ): New static function.
73807         (__mktime_internal): No need to normalize tm_isdst now.
73808         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
73809         tm_isdst values.
73811         mktime: merge another wrapv change from gnulib
73812         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
73813         from some compilers.
73815         mktime: remove incorrect attempt at unusual arithmetics
73816         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
73817         The code didn't really work on such machines anyway.
73818         (TYPE_MINIMUM): Assume two's complement.
73819         (twos_complement_arithmetic): Verify that long_int and time_t
73820         are two's complement (or unsigned, in the latter case).
73822         mktime: check signed shifts on long_int and time_t, too
73823         * time/mktime.c (SHR): Check that shifts work as desired
73824         on the types long_int and time_t too, as SHR is used on
73825         such types.
73827         mktime: do not assume 'long' is wide enough
73828         * time/mktime.c (verify): Move decl up.
73829         (long_int): New type.
73830         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
73831         to remove assumption in the code that 'long' is wide enough to
73832         store year values.  This assumption is not true on x32 and on
73833         some non-glibc platforms.
73835         mktime: merge wrapv change from gnulib
73836         * time/mktime.c (WRAPV): New macro.
73837         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
73838         (guess_time_tm, __mktime_internal): Do not assume that signed
73839         integer overflow wraps around; modern compilers generate code
73840         where this assumption is no longer valid.
73842 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
73844         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
73845         Replace "jmp L(pseudo_end)" with "ret".
73846         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
73847         Likewise.
73849 2012-05-23  Andreas Jaeger  <aj@suse.de>
73851         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
73852         * sysdeps/unix/sysv/linux/poll.c: Remove file.
73854 2012-05-23  Andreas Jaeger  <aj@suse.de>
73855             Maximilian Attems  <max@stro.at>
73857         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
73858         New macros.
73860 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
73862         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
73863         code so that pseudo_end is just ret and the stack pointer is
73864         correct also for static library in error case.
73866 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
73868         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
73869         move to syscalls.list.
73870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
73871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
73872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
73873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
73875         * manual/install.texi (Running make install): Do not mention Linux
73876         kernel version for which pt_chown is not needed.
73877         (Linux): Do not mention problems with nscd with 2.0 kernels.
73878         * INSTALL: Regenerated.
73880 2012-05-23  Andreas Jaeger  <aj@suse.de>
73882         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
73883         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
73884         macro.
73885         * sysdeps/unix/sysv/linux/s390/bits/mman.h
73886         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73887         * sysdeps/unix/sysv/linux/sh/bits/mman.h
73888         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73889         * sysdeps/unix/sysv/linux/i386/bits/mman.h
73890         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73891         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
73892         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73893         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
73894         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73895         * sysdeps/unix/sysv/linux/bits/in.h
73896         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
73898 2012-05-22  Roland McGrath  <roland@hack.frob.com>
73900         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
73901         (PREPARE_VERSION): Just use assert instead, it will be elided
73902         under [NDEBUG] anyway.
73904 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
73906         * sysdeps/unix/sysv/linux/Makefile: Include
73907         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
73908         (sysdep_routines): Remove sysctl.
73909         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
73910         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
73911         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
73912         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
73913         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
73915 2012-05-22  Andreas Jaeger  <aj@suse.de>
73917         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
73918         that pseudo_end is just ret and the stack pointer is correct also
73919         for static library in error case.
73921 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
73923         [BZ #14122]
73924         * nss/nsswitch.c (defconfig_entries): New variable.
73925         (__nss_database_lookup): Don't leak defconfig entries.
73926         (nss_parse_service_list): Don't leak on error paths.
73927         (free_database_entries): New function.
73928         (free_defconfig): New function.
73929         (free_mem): Move common code to free_database_entries.
73931 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
73933         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
73934         Add arch_prctl.
73935         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
73937         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
73938         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
73939         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
73940         New macro.
73941         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
73942         (INTERNAL_SYSCALL_TYPES): Likewise.
73943         (LOAD_ARGS_TYPES_[1-6]): Likewise.
73944         (LOAD_REGS_TYPES_[1-6]): Likewise.
73945         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
73946         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
73948 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73950         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
73951         copysignl for GLIBC_2_0.
73952         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
73953         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
73954         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
73955         logbl for GLIBC_2_0.
73956         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
73957         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
73959 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
73961         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
73962         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
73964         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
73965         Use "neg %eax".
73967         * time/mktime.c: Update copyright years.
73969 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
73971         mktime: merge comment-quoting-style change from gnulib
73972         * time/mktime.c: Quote 'like this' in comments.
73973         The GNU coding standards suggest that we no longer quote `like this',
73974         as "`" and "'" are typically rendered asymmetrically nowadays.
73975         The typical gnulib style is to quote 'like this' when quoting
73976         code, and "like this" when quoting English.
73978         * time/mktime.c (compile-command): Add "-I.".
73980         mktime: merge mktime-internal.h change from gnulib
73981         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
73983         mktime: merge time_r change from gnulib
73984         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
73986         mktime: merge DEBUG change from gnulib
73987         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
73988         case system <time.h> has a #define.
73990         mktime: merge <sys/types.h> change from gnulib
73991         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
73992         since <time.t> is now guaranteed to define time_t.
73994         mktime: merge HAVE_CONFIG_H change from gnulib
73995         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
73997 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
73999         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
74000         Use "neg %eax".
74002         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
74003         __rlim_t cast.
74004         (struct rusage): Use anonymous union to pad each field to
74005         __syscall_slong_t.
74007 2012-05-21  David S. Miller  <davem@davemloft.net>
74009         * Makefules (o-iterator): Remove .s cases.
74010         (compile-command.s): Delete.
74011         (COMPILE.s): Delete.
74012         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
74014 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
74016         * configure.in (libc_cv_predef_stack_protector): Only consider
74017         "foobar" and "__stack_chk_fail" lines in libc_undefs.
74018         * configure: Regenerated.
74020 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74022         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
74023         New macro.  Use R*LP on int and pointer.
74024         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
74025         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
74026         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
74027         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
74029         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
74030         [__WORDSIZE_TIME64_COMPAT32] instead of
74031         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
74032         (struct utmp): Likewise.
74033         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
74034         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
74035         Renamed to ...
74036         (__WORDSIZE_TIME64_COMPAT32): This.
74037         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
74038         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
74039         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
74040         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
74041         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
74042         (__WORDSIZE_TIME64_COMPAT32): New macro.
74044 2012-05-21  Andreas Jaeger  <aj@suse.de>
74046         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
74047         only if [SHARED]. Add prototype for __wcschr_ia32.
74049 2012-05-21  Roland McGrath  <roland@hack.frob.com>
74051         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
74052         of %rbp unmolested in the jmp_buf while mangling the low bits.
74053         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
74054         unmolested high bits of %rbp while demangling the low bits.
74055         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
74057 2012-05-21  Andreas Jaeger  <aj@suse.de>
74059         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
74060         * sunrpc/svc_simple.c: Use it for registerrpc.
74061         * sunrpc/xcrypt.c: Use it for passwd2des.
74063         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
74065 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74067         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
74068         Don't define if [__SYSCALL_WORDSIZE != 32].
74069         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
74070         New macro.
74072 2012-05-21  Bruno Haible  <bruno@clisp.org>
74073             Andreas Jaeger  <aj@suse.de>
74075         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
74076         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
74077         inptr and inend for must_buffer_ch.
74078         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
74079         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
74080         * stdio-common/Makefile (tests): Remove bug15.
74081         (bug15-ENV): Remove macro.
74082         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
74083         anymore.
74085 2012-05-19  Andreas Jaeger  <aj@suse.de>
74086             Roland McGrath  <roland@hack.frob.com>
74088         * manual/contrib.texi: Completely rewritten. It contains now an
74089         alphabetical list of contributors and their contributions.
74091 2012-05-21  Richard Henderson  <rth@twiddle.net>
74093         * misc/getauxval.c (__getauxval): Use unsigned long int.
74094         * misc/sys/auxv.h: Include <sys/cdefs.h>.
74095         (getauxval): Use unsigned long int.
74097 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74099         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
74101 2012-05-21  Roland McGrath  <roland@hack.frob.com>
74103         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
74104         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
74105         __alignof__ (long double).
74107 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74111 2012-05-20  Richard Henderson  <rth@twiddle.net>
74113         * misc/getauxval.c: New file.
74114         * misc/sys/auxv.h: New file.
74115         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
74116         (routines): Add getauxval.
74117         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
74118         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
74119         * elf/dl-sysdep.c (_dl_auxv): Remove.
74120         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
74121         * elf/dl-support.c (_dl_auxv): New variable.
74122         (_dl_aux_init): Initialize it.
74123         * manual/startup.texi (Auxiliary Vector): New node.
74124         * sysdeps/generic/bits/hwcap.h: New file.
74125         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
74126         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
74127         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
74128         * sysdeps/sparc/sysdep.h: ... here.  Include it.
74129         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
74130         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
74131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74132         Update.
74133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
74134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
74135         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
74136         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
74137         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
74138         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
74139         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
74140         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
74142 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74146 2012-05-19  David S. Miller  <davem@davemloft.net>
74148         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74150 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
74152         [BZ #14123]
74153         * math/s_ccosh.c: Include <float.h>
74154         (__ccosh): Avoid internal overflow calculating sinh and cosh
74155         values before multiplying by sin and cos values.
74156         * math/s_ccoshf.c: Likewise.
74157         * math/s_ccoshl.c: Likewise.
74158         * math/s_csin.c: Likewise.
74159         * math/s_csinf.c: Likewise.
74160         * math/s_csinl.c: Likewise.
74161         * math/s_csinh.c: Likewise.
74162         * math/s_csinhf.c: Likewise.
74163         * math/s_csinhl.c: Likewise.
74164         * math/libm-test.inc (ccos_test): Add more tests.
74165         (ccosh_test): Likewise.
74166         (csin_test): Likewise.
74167         (csinh_test): Likewise.
74168         * sysdeps/i386/fpu/libm-test-ulps: Update.
74169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74171 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
74173         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
74174         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
74176         * sysdeps/x86_64/x32/_itoa.h: Add comment.
74178 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
74180         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
74181         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
74182         * sysdeps/powerpc/soft-fp/Versions: Likewise.
74183         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
74184         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
74185         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
74186         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
74187         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
74188         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
74189         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
74190         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
74191         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
74192         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
74193         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
74194         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
74195         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
74196         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
74197         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
74198         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
74199         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
74200         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
74201         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
74202         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
74203         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
74204         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
74205         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
74206         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
74207         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
74208         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
74209         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
74210         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
74212 2012-05-18  Andreas Jaeger  <aj@suse.de>
74214         * csu/.gitignore: Delete.
74216 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
74218         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
74219         (timex): Use __syscall_slong_t.
74221 2012-05-18  Andreas Jaeger  <aj@suse.de>
74222             Carlos O'Donell  <carlos_odonell@mentor.com>
74224         * manual/install.texi (Configuring and compiling): Update
74225         description about files modified in the source directory.
74226         * INSTALL: Regenerated.
74228 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
74230         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
74231         value.  Use "or" to set return value to -1.
74232         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
74233         negate return value.
74235 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74237         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
74238         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
74239         failure if the compiler has Graphite support disabled.
74240         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
74241         Likewise.
74242         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
74243         (CFLAGS-memmove.c): Likewise.
74244         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
74245         Likewise.
74247 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
74249         * sysdeps/x86_64/x32/_itoa.h: New file.
74251         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
74252         getdents system call only if kernel and user dirents have the
74253         same d_ino and d_off.
74255         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
74256         LLONG_MAX != LONG_MAX.
74257         (_itoa_word): Use _ITOA_WORD_TYPE on value.
74258         (_fitoa_word): Likewise.
74260         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
74261         years.
74262         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
74263         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
74264         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
74266         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
74267         include <bits/wordsize.h>.  Check __x86_64__ instead of
74268         __WORDSIZE.
74269         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
74270         if __x86_64__ is defined.  Use anonymous union on fpstate.
74272         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
74273         anonymous union.
74275 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
74277         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
74278         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
74279         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
74280         Refer to _rtld_local_ro instead of _rtld_global_ro.
74281         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
74282         Likewise.
74283         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
74284         Likewise.
74285         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
74286         Likewise.
74287         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
74288         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
74289         of _rtld_global, and rtld_progname instead of _dl_argv[0].
74291         [BZ #10882]
74292         * sysdeps/powerpc/powerpc32/dl-machine.c
74293         (__elf_machine_runtime_setup) [PROF]: Don't reference
74294         _dl_prof_resolve.
74296 2012-05-18  Andreas Jaeger  <aj@suse.de>
74298         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
74299         function only available for GCCs before 3.4 since GCC 3.4
74300         introduced a builtin.
74301         (lrint): Likewise.
74302         (llrintf): Likewise.
74303         (llrint): Likewise.
74304         (fmaxf): Likewise.
74305         (fmax): Likewise.
74306         (fminf): Likewise.
74307         (fmin): Likewise.
74308         (rint): Likewise.
74309         (rintf): Likewise.
74310         (nearbyint): Likewise.
74311         (nearbyintf): Likewise.
74312         (ceil): Likewise.
74313         (ceilf): Likewise.
74314         (floor): Likewise.
74315         (floorf): Likewise.
74317 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74319         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
74320         on both fields and cast pointer to __syscall_ulong_t.
74322         * bits/types.h (__fsword_t): New type.
74323         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
74324         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
74325         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74326         (__FSWORD_T_TYPE): Likewise.
74327         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74328         (__FSWORD_T_TYPE): Likewise.
74329         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74330         (__FSWORD_T_TYPE): Likewise.
74331         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
74332         (__FSWORD_T_TYPE): Likewise.
74333         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
74334         __SWORD_TYPE with __fsword_t.
74335         (statfs64): Likewise.
74337 2012-05-17  David S. Miller  <davem@davemloft.net>
74339         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
74341 2012-05-17  Andreas Jaeger  <aj@suse.de>
74343         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
74344         warning.
74346 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74348         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
74350 2012-05-17  Andreas Jaeger  <aj@suse.de>
74352         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
74353         when it is used.
74355 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
74357         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
74359 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74361         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
74362         * sysdeps/x86_64/tst-mallocalign1.c: New file.
74364 2012-05-17  Andreas Jaeger  <aj@suse.de>
74365             Carlos O'Donell  <carlos_odonell@mentor.com>
74367         [BZ #14059]
74368         * sysdeps/x86_64/multiarch/init-arch.h
74369         (bit_YMM_Usable): Rename to...
74370         (bit_AVX_Usable): ... this.
74371         (bit_FMA4_Usable): New macro.
74372         (bit_XMM_state): New macro.
74373         (bit_YMM_state): New macro.
74374         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
74375         [__ASSEMBLER__] (index_AVX_Usable): ... this.
74376         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
74377         (CPUID_OSXSAVE): New macro.
74378         (CPUID_AVX): New macro.
74379         (CPUID_FMA4): New macro.
74380         (index_YMM_Usable): Rename to...
74381         (index_AVX_Usable): ... this.
74382         (HAS_AVX): Use HAS_ARCH_FEATURE.
74383         (HAS_FMA4): Likewise.
74384         (HAS_YMM_USABLE): Remove.
74385         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74386         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
74387         are present.
74388         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
74389         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
74390         * sysdeps/x86_64/multiarch/Makefile: Likewise.
74391         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
74392         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
74394 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
74396         * math/libm-test.c: Support platforms without multiple rounding modes.
74397         * math/bug-nextafter.c: Support platforms without FP exceptions.
74398         * math/bug-nexttoward.c: Likewise.
74399         * math/test-fenv.c: Likewise.
74400         * math/test-misc.c: Likewise.
74401         * stdlib/bug-getcontext.c: Likewise.
74403 2012-05-17  Andreas Jaeger  <aj@suse.de>
74405         * manual/examples/search.c (critter_cmp): Change signature to
74406         avoid warnings.
74407         * manual/string.texi (Collation Functions): Likewise.
74409 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74411         * bits/types.h: Fold copyright years.
74412         * bits/typesizes.h: Likewise.
74413         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
74414         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
74415         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
74416         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
74417         * time/time.h: Likewise.
74419 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
74421         [BZ #208]
74422         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
74423         in instead of returning them.  Return void.
74424         (__libc_mallinfo): Accumulate over all arenas.
74425         (__malloc_stats): Adjust for change in int_mallinfo interface.
74427 2012-05-16  Roland McGrath  <roland@hack.frob.com>
74429         [BZ #10375]
74430         * configure.in (NM): Add AC_CHECK_TOOL for it.
74431         (libc_extra_cflags): New substituted variable.
74432         Check for -fstack-protector being used implicitly.
74433         * configure: Regenerated.
74434         * config.make.in (config-extra-cflags): New variable,
74435         gets @libc_extra_cflags@.
74436         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
74438         [BZ #10375]
74439         * configure.in: Check for _FORTIFY_SOURCE being predefined.
74440         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
74441         * configure: Regenerated.
74442         * config.make.in (CPPUNDEFS): New substituted variable.
74443         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
74444         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
74445         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
74447 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74449         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
74450         (mq_attr): Use __syscall_slong_t.
74452 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74454         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
74455         Check __x86_64__ instead of __WORDSIZE.
74456         (_STAT_VER_LINUX): Likewise.
74457         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
74458         __syscall_ulong_t and __syscall_slong_t.
74459         (stat64): Likewise.
74461 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74463         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
74465 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74467         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
74469 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74471         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
74472         __syscall_ulong_t.
74474         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
74475         include <bits/wordsize.h>.  Check __x86_64__ instead of
74476         __WORDSIZE.
74477         (greg_t): Use "__extension__ long long int" if __x86_64__ is
74478         defined.
74479         (mcontext_t): Replace "unsigned long" with "unsigned long long".
74481         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
74482         include <bits/wordsize.h>.  Check __x86_64__ instead of
74483         __WORDSIZE.
74484         (user_regs_struct): Use "__extension__ unsigned long long"
74485         instead of "unsigned long" if __x86_64__ is defined.
74486         (user): Likewise.  Pad after pointer field if __ILP32__ is
74487         defined.
74489 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
74491         * configure.in (makeinfo): Require version 4.5 or later.  Allow
74492         versions 5 to 9.
74493         * configure: Regenerated.
74494         * manual/install.texi (texinfo): Increase version requirement to
74495         4.5 or later.
74496         * INSTALL: Regenerated.
74498         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
74500 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74502         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
74504         * sysdeps/x86_64/x32/ffs.c: New file.
74506         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
74507         __syscall_ulong_t.
74508         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
74509         defined.  Use __syscall_ulong_t.
74510         (shminfo): Use __syscall_ulong_t.
74511         (shm_info): Likewise.
74513         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
74514         __syscall_ulong_t.
74516         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
74517         <bits/wordsize.h>.
74518         (msgqnum_t): Use __syscall_ulong_t.
74519         (msglen_t): Likewise.
74520         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
74521         __syscall_ulong_t.
74523         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
74524         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74526         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
74528         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
74529         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
74531         * sysvipc/sys/msg.h (msgbuf): Replace long int with
74532         __syscall_slong_t.
74534         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
74535         include <bits/wordsize.h>.  Check __x86_64__ instead of
74536         __WORDSIZE.
74538         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
74539         "unsigned long long int" if __x86_64__ is defined.
74540         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
74542         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
74543         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74544         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
74546         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
74547         <stdint.h>.
74548         (GET_PC): Cast to uintptr_t first.
74549         (GET_FRAME): Likewise.
74550         (GET_STACK): Likewise.
74552         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
74553         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
74554         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
74555         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
74556         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
74557         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
74558         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
74559         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
74560         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
74561         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
74562         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
74563         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
74564         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
74565         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
74566         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
74567         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
74568         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
74569         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
74570         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
74571         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
74572         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
74573         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
74574         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
74575         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
74576         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
74577         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
74578         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
74579         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
74580         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
74582 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
74584         * Makerules (+depfiles): Also collect depfiles from .oS in
74585         $(extra-objs).
74586         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
74587         .oS, $(libnldbl-routines)).
74589         * Makerules (native-compile-mkdep-flags): Define.
74590         * sunrpc/Makefile (extra-objs): Add $(addprefix
74591         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
74592         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
74593         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
74594         calling $(make-target-directory).
74596 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74598         * bits/types.h (__snseconds_t): Removed.
74599         * time/time.h (struct timespec): Replace __snseconds_t with
74600         __syscall_slong_t.
74601         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
74602         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
74603         Likewise.
74604         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74605         (__SNSECONDS_T_TYPE): Likewise.
74606         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74607         (__SNSECONDS_T_TYPE): Likewise.
74608         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74609         (__SNSECONDS_T_TYPE): Likewise.
74611 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74613         * sysdeps/mach/hurd/bits/typesizes.h
74614         (__SYSCALL_SLONG_TYPE): New macro.
74615         (__SYSCALL_ULONG_TYPE): Likewise.
74617 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74619         * bits/types.h (__syscall_slong_t): New type.
74620         (__syscall_ulong_t): Likewise.
74622         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
74623         (__SYSCALL_ULONG_TYPE): Likewise.
74624         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74625         (__SYSCALL_SLONG_TYPE): Likewise.
74626         (__SYSCALL_ULONG_TYPE): Likewise.
74627         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74628         (__SYSCALL_SLONG_TYPE): Likewise.
74629         (__SYSCALL_ULONG_TYPE): Likewise.
74630         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74631         (__SYSCALL_SLONG_TYPE): Likewise.
74632         (__SYSCALL_ULONG_TYPE): Likewise.
74634 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74636         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
74637         Add sigaltstack-offsets.sym.
74638         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
74639         <sigaltstack-offsets.h>.
74640         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
74641         longjmp_msg pointer.
74642         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
74643         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
74644         signal stack.
74645         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
74647 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
74649         * elf/stackguard-macros.h: Remove file.
74650         * sysdeps/generic/stackguard-macros.h: New file.
74651         * sysdeps/i386/stackguard-macros.h: Likewise.
74652         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
74653         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
74654         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
74655         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
74656         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
74657         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
74658         * sysdeps/x86_64/stackguard-macros.h: Likewise.
74659         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
74660         <elf/stackguard-macros.h>.
74662         [BZ #14109]
74663         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
74664         __aligned__ in attribute.
74665         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
74666         (gregset_t): Likewise.
74668 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74670         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
74671         * sysdeps/x86_64/64/Implies-after: Here.  New file.
74672         * sysdeps/x86_64/x32/Implies-after: New file.
74674 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74676         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
74677         and access return value for _dl_profile_fixup.  Use R10_LP to
74678         load frame size.
74680 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74682         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
74684 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74686         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
74687         * sysdeps/x86_64/x32/sysdep.h: New file.
74689 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74691         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
74692         * sysdeps/x86_64/setjmp.S: Likewise.
74694 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74696         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
74697         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
74698         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
74699         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
74700         remove unused global constant.
74702 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
74704         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
74705         include of <not-cancel.h>.
74707 2012-05-15  Roland McGrath  <roland@hack.frob.com>
74709         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
74711 2012-05-15  Jeff Law  <law@redhat.com>
74712             Andreas Jaeger  <aj@suse.de>
74714         [BZ #13594]
74715         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
74716         out from...
74717         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
74718         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
74719         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
74720         code changing __hst_map_handle.map.
74722 2012-05-15  Roland McGrath  <roland@hack.frob.com>
74724         * configure.in (sysnames): Look for Implies-before and Implies-after
74725         files.
74726         * configure: Regenerated.
74728 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74730         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
74731         8-byte data alignment with LP_SIZE alignment.
74733 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74735         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
74736         into R10_LP.
74738 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74740         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
74742 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74744         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
74745         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
74746         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
74747         Likewise.
74748         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
74750 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74752         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
74753         (stackinfo_sub_sp): Likewise.
74755 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74757         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
74758         RAX_LP.
74760 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74762         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
74763         into R*_LP.
74765 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74767         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
74768         sizes into R*_LP.
74770 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74772         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
74774 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74776         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
74777         into R11_LP and load __x86_64_shared_cache_size_half into
74778         R8_LP.
74780 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74782         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
74783         R8_LP.
74785 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74787         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
74788         logb for POWER7.
74789         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
74790         logbf for POWER7.
74791         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
74792         logbl for POWER7.
74793         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
74794         powerpc32/power7/fpu/s_logb.c via #include.
74795         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
74796         powerpc32/power7/fpu/s_logbf.c via #include.
74797         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
74798         powerpc32/power7/fpu/s_logbl.c via #include.
74800 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
74802         * README.libm: Remove file.
74804 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74806         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
74807         count for x32.  Use R*_LP and omit operand-size suffix.
74809 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74811         * shlib-versions: Move x86_64-.*-linux.* entries to ...
74812         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
74813         * sysdeps/x86_64/x32/shlib-versions: New file.
74815 2012-05-14  Roland McGrath  <roland@hack.frob.com>
74817         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
74818         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
74819         Use _dl_fatal_printf instead.
74821 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
74823         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
74824         set if not set by the user.  Do not allow for being unset.
74825         * sysdeps/unix/sysv/linux/configure: Regenerated.
74827 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74829         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
74830         the `q' suffix from lea and replace .quad with ASM_ADDR.
74832 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74834         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
74835         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
74836         instead of $17.
74837         (PTR_DEMANGLE): Likewise.
74839 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74841         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
74842         (LP_OP): Likewise.
74843         (ASM_ADDR): Likewise.
74844         (RAX_LP): Likewise.
74845         (RBP_LP): Likewise.
74846         (RBX_LP): Likewise.
74847         (RCX_LP): Likewise.
74848         (RDI_LP): Likewise.
74849         (RSI_LP): Likewise.
74850         (RSP_LP): Likewise.
74851         (R8_LP): Likewise.
74852         (R9_LP): Likewise.
74853         (R10_LP): Likewise.
74854         (R10_LP): Likewise.
74855         (R11_LP): Likewise.
74856         (R12_LP): Likewise.
74857         (R13_LP): Likewise.
74858         (R14_LP): Likewise.
74859         (R15_LP): Likewise.
74861 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74863         * sysdeps/x86_64/x32/dl-machine.h: New file.
74865 2012-05-14  Andreas Jaeger  <aj@suse.de>
74867         * manual/Makefile (subdir): Remove export of subdir.
74868         (all): Remove target.
74869         (.PHONY): Remove all from list.
74870         (mkinstalldirs): Remove.
74871         (.PHONY): Remove installdirs from list.
74872         ($(inst_infodir)/libc.info): Use make-target-directory.
74873         (installdirs): Remove.
74874         (subdir_%): Remove.
74875         (glibc-targets): Remove.
74876         (lib): Remove.
74877         (stubs): Remove.
74878         ($(objpfx)stubs ../po/manual.pot): Remove.
74879         ($(objpfx)stamp%): Remove.
74880         (make-target-directory): Remove.
74881         (subdir_install): Remove.
74882         (routines): Remove.
74883         (aux): Remove.
74884         (sources): Remove.
74885         (objects): Remove.
74886         (headers): Remove.
74888         [BZ #13750]
74889         * manual/.gitignore: Remove, it's not needed anymore.
74890         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
74891         all files in it.
74892         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
74893         directory.
74894         (texis): Renamed to $(objpfx)texis.
74895         (texis-path): New, contains path to generated files.
74896         (chapters.%): Use texis-path for complete path, add extra argument
74897         libc-texinfo.sh.
74898         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
74899         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
74900         (summary,texi, stamp-summary): Use complete path of
74901         files. Generate files in build dir.
74902         (dir-add.texi): Build in build dir.
74903         (libm-err.texi,stamp-libm-err): Likewise.
74904         (version.texi, stamp-version): Likewise.
74905         (.%c.texi): Likewise.
74906         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
74907         (mostlyclean): Remove target.
74908         (realclean): Remove target.
74909         (generated): Add new variable with contents from mostlyclean and
74910         realclean, remove entries duplicated in common-mostlyclean, add
74911         stamp-libm-err and stamp-version.
74912         (generated-dirs): Add libc directory.
74913         ($(inst_infodir)/libc.info): Install files from build dir.
74915         * manual/install.texi (Configuring and compiling): Adjust since
74916         the info files are not part of the tar ball anymore.
74918 2012-05-14  Andreas Jaeger  <aj@suse.de>
74920         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
74921         variable.
74923 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
74925         [BZ #13717]
74926         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
74927         to 2.2.0 where earlier.
74928         * sysdeps/unix/sysv/linux/configure: Regenerated.
74929         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
74930         Remove conditional code.
74931         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
74932         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
74933         Remove conditional code.
74934         [!__NR_lchown]: Likewise.
74935         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
74936         [__NR_lchown]: Likewise.
74937         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
74938         comment referencing __ASSUME_LCHOWN_SYSCALL.
74939         * sysdeps/unix/sysv/linux/i386/sigaction.c
74940         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
74941         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
74942         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
74943         Remove conditional code.
74944         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
74945         (__protocol_available): Remove #if 0 code.
74946         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
74947         conditional code.
74948         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
74949         * sysdeps/unix/sysv/linux/kernel-features.h
74950         (__ASSUME_GETCWD_SYSCALL): Don't define.
74951         (__ASSUME_REALTIME_SIGNALS): Likewise.
74952         (__ASSUME_PREAD_SYSCALL): Likewise.
74953         (__ASSUME_PWRITE_SYSCALL): Likewise.
74954         (__ASSUME_POLL_SYSCALL): Likewise.
74955         (__ASSUME_LCHOWN_SYSCALL): Likewise.
74956         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
74957         non-SPARC.
74958         (__ASSUME_SIOCGIFNAME): Don't define.
74959         (__ASSUME_MSG_NOSIGNAL): Likewise.
74960         (__ASSUME_SENDFILE): Define unconditionally.
74961         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
74962         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
74963         conditional code.
74964         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
74965         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
74966         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
74967         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
74968         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
74969         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
74970         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
74971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
74972         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
74973         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
74975         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
74976         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
74978         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
74979         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
74981         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
74982         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
74984         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
74985         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
74987         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
74988         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
74990         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
74991         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
74993         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
74994         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74995         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
74996         Remove conditional code.
74997         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74998         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
74999         Remove conditional code.
75000         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75001         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
75002         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
75003         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
75004         Remove conditional code.
75005         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75006         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
75007         Remove conditional code.
75008         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75009         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
75010         Remove conditional code.
75011         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75012         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
75013         Remove conditional code.
75014         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75015         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
75016         Remove conditional code.
75017         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75018         * sysdeps/unix/sysv/linux/sh/pwrite64.c
75019         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75020         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75021         * sysdeps/unix/sysv/linux/sigaction.c
75022         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75023         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75024         * sysdeps/unix/sysv/linux/sigpending.c
75025         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75026         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75027         * sysdeps/unix/sysv/linux/sigprocmask.c
75028         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75029         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75030         * sysdeps/unix/sysv/linux/sigsuspend.c
75031         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75032         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75033         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
75034         (__libc_missing_rt_sigs): Remove.
75035         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
75036         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
75037         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
75038         Remove conditional code.
75039         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
75040         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
75041         return 1.
75042         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
75043         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
75044         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
75045         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
75047 2012-05-14  Andreas Jaeger  <aj@suse.de>
75049         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
75050         it's not used in glibc.
75051         (__coshm1): Likewise.
75052         (__acosh1p): Likewise.
75053         (__sgn): Likewise.
75055         * manual/string.texi (Copying and Concatenation): Add missing
75056         variable in concat example.
75057         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
75059 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75061         [BZ #14103]
75062         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
75063         __builtin_clzl with __builtin_clzll.
75065 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75067         [BZ #14104]
75068         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
75069         libc_freeres_ptr.
75071 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75073         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
75074         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
75075         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
75076         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
75078 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
75080         * NEWS: Update ia64 info.
75082 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
75084         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
75085         used as bcopy.
75087 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
75089         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
75090         * sysdeps/unix/syscalls.list (dup3): Likewise.
75091         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
75092         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
75094 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
75096         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
75097         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
75099 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
75101         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
75102         thread pointer.
75103         (TLS_IE): Use mov/add instead of movq/addq to load thread
75104         pointer.
75105         (TLS_GD_PREFIX): New.
75106         (TLS_GD): Use it.
75108 2012-05-11  David S. Miller  <davem@davemloft.net>
75110         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
75111         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
75112         (_FPU_SETCW): Likewise.
75114 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75116         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
75117         is 32-byte aligned.
75119 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
75121         [BZ #11837]
75122         * iconvdata/gb18030.c: Update tables.
75123         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
75124         characters specially.
75125         (BODY for TO_LOOP): Add encoding of missing ranges.
75127 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
75129         [BZ #13673]
75130         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
75131         * sysdeps/mach/hurd/dup3.c: Likewise.
75132         * sysdeps/mach/hurd/readlinkat.c: Likewise.
75133         * sysdeps/powerpc/memmove.c:: Likewise.
75135 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75137         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
75138         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
75140 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75142         * elf/elf.h (R_X86_64_RELATIVE64): New.
75143         (R_X86_64_NUM): Updated.
75144         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
75145         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
75146         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
75147         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
75148         tst-quad1pie tst-quad2pie
75149         (modules-names): Add tst-quadmod1 tst-quadmod2.
75150         ($(objpfx)tst-quad1): New dependency.
75151         ($(objpfx)tst-quad2): Likewise.
75152         ($(objpfx)tst-quad1pie): Likewise.
75153         ($(objpfx)tst-quad2pie): Likewise.
75154         * sysdeps/x86_64/tst-quad1.c: New file.
75155         * sysdeps/x86_64/tst-quad1pie.c: New file.
75156         * sysdeps/x86_64/tst-quad2.c: Likewise.
75157         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
75158         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
75159         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
75160         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
75161         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
75163 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75165         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
75166         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
75167         * streams/stropts.h (t_scalar_t): Define type.
75169         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
75170         (_PATH_PRESERVE): Set to "/var/lib".
75171         (_PATH_RWHODIR): Set to "/var/spool/rwho".
75173         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
75174         instead of int.
75176         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
75177         if __dir_mkfile succeeded.
75179         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
75180         checking for _hurd_dtablesize.  Unlock it right after having
75181         finished _hurd_dtable allocation.
75183 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75185         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
75186         * sysdeps/mach/hurd/configure: Regenerated.
75187         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
75188         special-casing to...
75189         * sysdeps/gnu/configure.in: ... this new file.
75190         * sysdeps/unix/sysv/linux/configure: Regenerated.
75191         * sysdeps/gnu/configure: New generated file.
75193         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
75194         for Linux: use nsec instead of usec, as well as:
75195         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
75196         members of type struct timespec.
75197         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
75198         New macros.
75199         (struct stat64): Likewise.
75200         (_STATBUF_ST_NSEC): New macro.
75201         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
75203         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
75204         __strtoul_internal rather than strtoul.
75206 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75208         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
75209         and reject them.
75211 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75213         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
75214         which preserves existing values.
75215         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
75217 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75219         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
75220         TIMEOUT values.  Return EINVAL for NFDS values either negative or
75221         greater than FD_SETSIZE.
75223 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75225         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
75226         allocated, call __vm_protect to finish enabling the existing space, and
75227         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
75228         allocate the remainder.
75230 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75232         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
75233         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
75235 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75237         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
75238         sysdeps/mach/hurd/readlink.c.
75240         * posix/tst-sysconf.c (posix_options): Only use
75241         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
75242         _POSIX_SYNCHRONIZED_IO when they are defined
75243         * sysdeps/mach/hurd/bits/posix_opt.h:
75244         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
75245         (_XOPEN_REALTIME): Undefine macro.
75246         (_XOPEN_REALTIME_THREADS): Undefine macro.
75247         (_XOPEN_SHM): Undefine macro.
75248         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
75249         macro to -1.
75250         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
75251         macro to -1.
75252         (_POSIX_ASYNC_IO): Undefine macro.
75253         (_POSIX_PRIORITIZED_IO): Undefine macro.
75254         (_POSIX_SPIN_LOCKS): Define macro to -1.
75256         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
75257         SA_NODEFER, SA_RESETHAND.
75258         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
75259         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
75260         F_DUPFD_CLOEXEC.
75262 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75264         * elf/Makefile (pldd-modules): Define unconditionally.
75266 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75268         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
75270 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75272         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
75273         Return ENOENT when name is empty.
75274         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
75276 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75278         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
75280         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
75282 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75284         Fix mlock in all cases except non-readable pages.
75285         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
75286         instead of VM_PROT_ALL as parameter to __vm_wire function.
75288         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
75289         (__mkdir): When path is `/', just fail with EEXIST.
75290         * sysdeps/mach/hurd/mkdirat.c: Likewise.
75292 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75294         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
75295         <sys/uio.h> (for writev).
75296         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
75297         and <sys/param.h> (for MIN).
75299 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75301         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
75302         REQUESTED_TIME.  Properly set the remaining time and return EINTR
75303         if interrupted.
75305 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75307         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
75308         Depend on against $(link-rpcuserlibs).
75310 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75312         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
75313         (__libc_stack_end): Do not use attribute_relro.
75314         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
75315         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
75316         to libthread-provided value.
75317         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
75318         attribute_relro.
75320 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75322         [BZ #3748]
75323         * bits/libc-lock.h (__libc_once_get): New macro.
75324         * sysdeps/mach/bits/libc-lock.h: Likewise.
75325         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
75326         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
75327         instead of using implementation details.
75329         * libio/fileops.c: Unconditionally include <kernel-features.h>.
75330         * libio/freopen.c: Likewise.
75331         * libio/freopen64.c: Likewise.
75332         * misc/syslog.c: Likewise.
75333         * nscd/connections.c: Likewise.
75334         * nscd/netgroupcache.c: Likewise.
75335         * sysdeps/posix/getcwd.c: Likewise.
75337 2012-05-10  Roland McGrath  <roland@hack.frob.com>
75339         * math/w_ilogbf.c: Add #include <limits.h>.
75341 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75343         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
75344         path instead of returning without unlocking.
75346         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
75347         immediate-write ioctls.
75348         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
75350 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75352         * sysdeps/mach/hurd/i386/init-first.c (init): Use
75353         __builtin_frame_address instead of making assumptions about the
75354         location of the return address relative to DATA.  Force early load of
75355         the return address.
75356         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
75357         __builtin_frame_address.
75359         dup3 for GNU Hurd.
75360         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
75361         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
75362         implement dup3 and do some further code clean-ups.
75363         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
75364         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
75366 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75368         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
75370         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
75371         HURD_CRITICAL_END around holding _hurd_dtable_lock.
75372         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
75373         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
75374         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
75375         d->port.lock.
75377         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
75378         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
75379         when handler == SIG_ERR, not when handler != SIG_ERR.
75381 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75383         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
75384         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
75385         definitions.
75387         accept4 for GNU Hurd.
75388         * include/sys/socket.h (__libc_accept4): New prototype.
75389         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
75390         to implement __libc_accept4.
75391         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
75392         __libc_accept4.
75393         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
75395         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
75396         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
75397         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
75398         signal-defines.sym.
75400 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75402         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
75404 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75406         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
75407         assertion on O_CLOEXEC flag.
75408         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
75409         * hurd/intern-fd.c: Likewise.
75410         * hurd/port2fd.c: Likewise.
75412 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75414         [BZ #3906]
75415         * bits/in.h (IPV6_PKTINFO): Define new macro.
75416         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
75418 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75420         [BZ #13954]
75421         [BZ #13955]
75422         [BZ #13956]
75423         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
75424         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
75425         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
75426         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
75427         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
75428         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
75429         * math/libm-test.inc (logb_test) : Additional logb tests.
75431 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
75432             Andreas Jaeger  <aj@suse.de>
75434         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
75435         * configure: Regenerated.
75436         * config.h.in (LINK_OBSOLETE_RPC): New macro.
75437         * config.make.in (link-obsolete-rpc): New substituted variable.
75438         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
75439         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
75440         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
75441         (shared-only-routines): Don't set it under [link-obsolete-rpc],
75442         so that libc.a contains the symbols.
75443         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
75444         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
75445         * sunrpc/auth_none.c: Likewise.
75446         * sunrpc/auth_unix.c: Likewise.
75447         * sunrpc/authdes_prot.c: Likewise.
75448         * sunrpc/authuxprot.c: Likewise.
75449         * sunrpc/clnt_gen.c: Likewise.
75450         * sunrpc/clnt_perr.c: Likewise.
75451         * sunrpc/clnt_raw.c: Likewise.
75452         * sunrpc/clnt_simp.c: Likewise.
75453         * sunrpc/clnt_tcp.c: Likewise.
75454         * sunrpc/clnt_udp.c: Likewise.
75455         * sunrpc/clnt_unix.c: Likewise.
75456         * sunrpc/des_crypt.c: Likewise.
75457         * sunrpc/des_soft.c: Likewise.
75458         * sunrpc/get_myaddr.c: Likewise.
75459         * sunrpc/key_call.c: Likewise.
75460         * sunrpc/key_prot.c: Likewise.
75461         * sunrpc/netname.c: Likewise.
75462         * sunrpc/pm_getmaps.c: Likewise.
75463         * sunrpc/pm_getport.c: Likewise.
75464         * sunrpc/pmap_clnt.c: Likewise.
75465         * sunrpc/pmap_prot.c: Likewise.
75466         * sunrpc/pmap_prot2.c: Likewise.
75467         * sunrpc/pmap_rmt.c: Likewise.
75468         * sunrpc/publickey.c: Likewise.
75469         * sunrpc/rpc_cmsg.c: Likewise.
75470         * sunrpc/rpc_common.c: Likewise.
75471         * sunrpc/rpc_dtable.c: Likewise.
75472         * sunrpc/rpc_prot.c: Likewise.
75473         * sunrpc/rpc_thread.c: Likewise.
75474         * sunrpc/rtime.c: Likewise.
75475         * sunrpc/svc.c: Likewise.
75476         * sunrpc/svc_auth.c: Likewise.
75477         * sunrpc/svc_raw.c: Likewise.
75478         * sunrpc/svc_run.c: Likewise.
75479         * sunrpc/svc_tcp.c: Likewise.
75480         * sunrpc/svc_udp.c: Likewise.
75481         * sunrpc/svc_unix.c: Likewise.
75482         * sunrpc/svcauth_des.c: Likewise.
75483         * sunrpc/xcrypt.c: Likewise.
75484         * sunrpc/xdr.c: Likewise.
75485         * sunrpc/xdr_array.c: Likewise.
75486         * sunrpc/xdr_float.c: Likewise.
75487         * sunrpc/xdr_intXX_t.c: Likewise.
75488         * sunrpc/xdr_mem.c: Likewise.
75489         * sunrpc/xdr_rec.c: Likewise.
75490         * sunrpc/xdr_ref.c: Likewise.
75491         * sunrpc/xdr_sizeof.c: Likewise.
75492         * sunrpc/xdr_stdio.c: Likewise.
75494 2012-05-10  Roland McGrath  <roland@hack.frob.com>
75496         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
75497         change.  Update copyright years.
75499 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
75501         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
75503 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
75504             Joseph Myers  <joseph@codesourcery.com>
75505             Paul Pluzhnikov  <ppluzhnikov@google.com>
75507         [BZ #14012]
75508         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
75509         requiring rpcgen.
75510         [cross-compiling] (extra-libs): Likewise.
75511         [cross-compiling] (extra-libs-others): Likewise.
75512         [cross-compiling] (librpcsvc-routines): Likewise.
75513         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
75514         [cross-compiling] (omit-deps): Likewise.
75515         (sunrpc-CPPFLAGS): New variable.
75516         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
75517         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
75518         (cross-rpcgen-objs): New variable.
75519         (extra-objs): Append $(cross-rpcgen-objs).
75520         ($(cross-rpcgen-objs)): New rule.
75521         ($(objpfx)cross-rpcgen): Likewise.
75522         (rpcgen-cmd): Define to use $(built-program-file).  Expand
75523         comment.
75524         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
75525         ($(objpfx)x%.stmp): Likewise.
75526         * sunrpc/proto.h [IS_IN_build] (_): Define.
75527         [IS_IN_build] (_libc_intl_domainname): Likewise.
75529 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75531         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
75532         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
75533         and R_X86_64_TPOFF64.
75535 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
75537         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
75538         sysdeps/unix/sysv/syscalls.list.
75539         (stime): Likewise.
75540         (utime): Likewise.
75541         * sysdeps/unix/sysv/syscalls.list: Remove file.
75543 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
75545         [BZ #3440]
75546         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
75547         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
75548         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
75549         (__LC_IDENTIFICATION): Make these macros useful in #if
75550         expressions, as required by C99.
75552 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
75554         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
75555         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
75556         after this.
75558 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
75560         * stdlib/longlong.h: Updated from GCC.
75562 2012-05-09  Andreas Jaeger  <aj@suse.de>
75564         * nscd/nscd.c (run_modes): Make named enum, reorder so that
75565         default is first entry.
75566         (run_mode): Set type.
75567         (main): Remove informal message about syslog.
75568         (options): Fix typo.
75570         [BZ #14053]
75571         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
75572         to asm.
75573         (lrint): Likewise.
75574         (llrintf): Likewise.
75575         (llrint): Likewise.
75576         (rint): Likewise.
75577         (rintf): Likewise.
75578         (nearbyint): Likewise.
75579         (nearbyintf): Likewise.
75581 2012-05-09  Andreas Jaeger  <aj@suse.de>
75582             Pedro Alves  <palves@redhat.com>
75584         * nscd/nscd.c (run_mode): Use enum.
75585         (main): Cleanup coding style issue.
75587 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
75588             Andreas Jaeger  <aj@suse.de>
75590         * nscd/nscd.c (go_background): Replaced with...
75591         (run_mode): ... this.
75592         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
75593         (options): Add -F --foreground.
75594         (main): Implement it.
75595         (parse_opt): Parse it.
75597 2012-05-09  Andreas Jaeger  <aj@suse.de>
75599         [BZ #14083]
75600         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
75601         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
75602         -Wconversion warning.
75603         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
75604         Likewise.
75606 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
75608         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
75609         == 0.
75610         (LC_ALL): Use macro-int-constant.
75611         (LC_COLLATE): Likewise.
75612         (LC_CTYPE): Likewise.
75613         (LC_MESSAGES): Likewise.
75614         (LC_MONETARY): Likewise.
75615         (LC_NUMERIC): Likewise.
75616         (LC_TIME): Likewise.
75617         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
75618         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
75619         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75620         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
75621         Specify type.
75622         [C99-based standards] (float_t): Expect type.
75623         [C99-based standards] (double_t): Expect type.
75624         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
75625         type.
75626         [C99-based standards] (HUGE_VALL): Likewise.
75627         [C99-based standards] (INFINITY): Likewise.
75628         [C99-based standards] (NAN): Likewise.
75629         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
75630         [C99-based standards] (FP_NAN): Likewise.
75631         [C99-based standards] (FP_NORMAL): Likewise.
75632         [C99-based standards] (FP_SUBNORMAL): Likewise.
75633         [C99-based standards] (FP_ZERO): Likewise.
75634         [C99-based standards] (FP_FAST_FMA): Use
75635         optional-macro-int-constant.  Specify type.  Require == 1.
75636         [C99-based standards] (FP_FAST_FMAF): Likewise.
75637         [C99-based standards] (FP_FAST_FMAL): Likewise.
75638         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
75639         [C99-based standards] (FP_ILOGBNAN): Likewise.
75640         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
75641         Specify type.
75642         [C99-based standards] (MATH_ERREXCEPT): Likewise.
75643         [C99-based standards] (math_errhandling): Specify type.
75644         [ISO99 || ISO11] (signgam): Do not allow.
75645         [non-C99-based standards] (copysignf): Do not allow.
75646         [non-C99-based standards] (exp2f): Likewise.
75647         [non-C99-based standards] (log2f): Likewise.
75648         [non-C99-based standards] (modff): Allow.
75649         [non-C99-based standards] (erff): Do not allow.
75650         [non-C99-based standards] (erfcf): Likewise.
75651         [non-C99-based standards] (gammaf): Likewise.
75652         [non-C99-based standards] (hypotf): Likewise.
75653         [non-C99-based standards] (j0f): Likewise.
75654         [non-C99-based standards] (j1f): Likewise.
75655         [non-C99-based standards] (jnf): Likewise.
75656         [non-C99-based standards] (lgammaf): Likewise.
75657         [non-C99-based standards] (tgammaf): Likewise.
75658         [non-C99-based standards] (y0f): Likewise.
75659         [non-C99-based standards] (y1f): Likewise.
75660         [non-C99-based standards] (ynf): Likewise.
75661         [non-C99-based standards] (isnanf): Likewise.
75662         [non-C99-based standards] (acoshf): Likewise.
75663         [non-C99-based standards] (asinhf): Likewise.
75664         [non-C99-based standards] (atanhf): Likewise.
75665         [non-C99-based standards] (cbrtf): Likewise.
75666         [non-C99-based standards] (expm1f): Likewise.
75667         [non-C99-based standards] (ilogbf): Likewise.
75668         [non-C99-based standards] (log1pf): Likewise.
75669         [non-C99-based standards] (logbf): Likewise.
75670         [non-C99-based standards] (nextafterf): Likewise.
75671         [non-C99-based standards] (remainderf): Likewise.
75672         [non-C99-based standards] (rintf): Likewise.
75673         [non-C99-based standards] (scalbf): Likewise.
75674         [non-C99-based standards] (copysignl): Likewise.
75675         [non-C99-based standards] (exp2l): Likewise.
75676         [non-C99-based standards] (log2l): Likewise.
75677         [non-C99-based standards] (modfl): Allow.
75678         [non-C99-based standards] (erfl): Do not allow.
75679         [non-C99-based standards] (erfcl): Likewise.
75680         [non-C99-based standards] (gammal): Likewise.
75681         [non-C99-based standards] (hypotl): Likewise.
75682         [non-C99-based standards] (j0l): Likewise.
75683         [non-C99-based standards] (j1l): Likewise.
75684         [non-C99-based standards] (jnl): Likewise.
75685         [non-C99-based standards] (lgammal): Likewise.
75686         [non-C99-based standards] (tgammal): Likewise.
75687         [non-C99-based standards] (y0l): Likewise.
75688         [non-C99-based standards] (y1l): Likewise.
75689         [non-C99-based standards] (ynl): Likewise.
75690         [non-C99-based standards] (isnanl): Likewise.
75691         [non-C99-based standards] (acoshl): Likewise.
75692         [non-C99-based standards] (asinhl): Likewise.
75693         [non-C99-based standards] (atanhl): Likewise.
75694         [non-C99-based standards] (cbrtl): Likewise.
75695         [non-C99-based standards] (expm1l): Likewise.
75696         [non-C99-based standards] (ilogbl): Likewise.
75697         [non-C99-based standards] (log1pl): Likewise.
75698         [non-C99-based standards] (logbl): Likewise.
75699         [non-C99-based standards] (nextafterl): Likewise.
75700         [non-C99-based standards] (remainderl): Likewise.
75701         [non-C99-based standards] (rintl): Likewise.
75702         [non-C99-based standards] (scalbl): Likewise.
75703         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75704         [non-C99-based standards] (FP_*): Do not allow.
75705         [C99-based standards] (FP_*): Change to
75706         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
75707         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
75708         allow.
75709         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
75710         (SIG_ERR): Likewise.
75711         [X/Open-based standards] (SIG_HOLD): Likewise.
75712         (SIG_IGN): Likewise.
75713         (SIGABRT): Use macro-int-constant.  Specify type.  Require
75714         positive value.
75715         (SIGFPE): Likewise.
75716         (SIGILL): Likewise.
75717         (SIGINT): Likewise.
75718         (SIGSEGV): Likewise.
75719         (SIGTER): Likewise.
75720         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
75721         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
75722         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
75723         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
75724         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
75725         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
75726         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
75727         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
75728         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
75729         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
75730         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
75731         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
75732         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
75733         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
75734         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
75735         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
75736         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
75737         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
75738         [X/Open-based standards] (SIGTRAP): Likewise.
75739         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
75740         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
75741         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
75742         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
75743         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
75744         allow.
75746 2012-05-08  Ian Wienand  <ianw@vmware.com>
75748         [BZ #14080]
75749         * time/tzset.c (__tzset_parse_tz): Update default rules for
75750         daylight time changes in the Energy Policy Act of 2005.
75752 2012-05-09  Andreas Jaeger  <aj@suse.de>
75754         [BZ #13983]
75755         * elf/ldconfig.c (parse_conf): Change string to make clear that
75756         ldconfig only issued a warning if ld.so.conf does not exist.
75758 2012-05-08  David S. Miller  <davem@davemloft.net>
75760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
75761         movxtod instead of popping the value on the stack.
75763         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75765 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
75767         * config.h.in: Add HAVE_ARM_PCS_VFP.
75769 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
75771         [BZ #13979]
75772         * include/features.h: Warn if user requests __FORTIFY_SOURCE
75773         checking but the checks are disabled for any reason.
75775 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
75777         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
75778         and ELF64_R_TYPE with ELFW(R_TYPE).
75780 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
75782         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
75783         (ulimit): Likewise.
75785         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
75786         (settimeofday): Likewise.
75788 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
75790         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
75791         a struct th_u2 inside the union, and move tu_block/tu_code into
75792         a new th_u3 union of tu_block/tu_code inside of that.  Move
75793         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
75794         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
75795         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
75796         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
75797         (th_stuff): Change to th_u1.tu_stuff.
75798         (th_data): Define.
75799         (th_msg): Change to th_u1.th_u2.tu_data.
75801 2012-05-07  David S. Miller  <davem@davemloft.net>
75803         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75805         [BZ #14074]
75806         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
75807         (SETUP_PIC_REG): Use it.
75808         (SETUP_PIC_REG_LEAF): Use it.
75810 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
75812         [BZ #13885]
75813         [BZ #13923]
75814         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75815         USE_AS_EXPM1L.
75816         (EXPL_FINITE): Likewise.
75817         (FLDLOG): Likewise.
75818         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
75819         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
75820         e_expl.S.
75821         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75822         USE_AS_EXPM1L.
75823         (EXPL_FINITE): Likewise.
75824         (FLDLOG): Likewise.
75825         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
75826         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
75827         e_expl.S.
75828         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
75829         test of -max_value argument for long double.
75830         * sysdeps/i386/fpu/libm-test-ulps: Update.
75831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75833 2012-05-06  David S. Miller  <davem@davemloft.net>
75835         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
75836         quad soft-float symbols whose references which are compiler
75837         generated.
75838         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
75840 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
75842         [BZ #13884]
75843         [BZ #13914]
75844         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75845         USE_AS_EXP10L.
75846         (EXPL_FINITE): Likewise.
75847         (FLDLOG): Likewise.
75848         (c0): Likewise.
75849         (c1): Likewise.
75850         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
75851         Adjust comments for base varying.
75852         (__expl_finite): Change alias to EXPL_FINITE.
75853         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
75854         e_expl.S.
75855         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
75856         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
75857         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
75858         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
75859         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75860         USE_AS_EXP10L.
75861         (EXPL_FINITE): Likewise.
75862         (FLDLOG): Likewise.
75863         (c0): Likewise.
75864         (c1): Likewise.
75865         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
75866         Adjust comments for base varying.
75867         (__expl_finite): Change alias to EXPL_FINITE.
75868         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
75869         tests for bugs.
75870         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75872         [BZ #14064]
75873         * math/libm-test.inc (check_float_internal): Correct ulp
75874         calculation for subnormal expected results.
75876 2012-05-06  Andreas Jaeger  <aj@suse.de>
75878         * Makeconfig (+math-flags): New, set to -frounding-math.
75879         (+cflags): Add +math-flags so that all of glibc gets compiled with
75880         it.
75882         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
75884 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
75886         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
75887         Disable one test.
75889         [BZ #13787]
75890         [BZ #13922]
75891         [BZ #14036]
75892         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
75893         (__ieee754_expl): Allow for and saturate large arguments.
75894         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
75895         (u_threshold): Likewise.
75896         (__exp): Call __ieee754_exp before checking for overflow and
75897         underflow.
75898         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
75899         (u_threshold): Likewise.
75900         (__expf): Call __ieee754_expf before checking for overflow and
75901         underflow.
75902         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
75903         (u_threshold): Likewise.
75904         (__expl): Call __ieee754_expl before checking for overflow and
75905         underflow.
75906         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
75907         (__ieee754_expl): Allow for and saturate large arguments.
75908         * math/libm-test.inc (exp_test): Add another test.  Do not allow
75909         missing overflow exception on overflow.
75910         (expm1_test): Do not allow missing overflow exception on overflow.
75912         * sysdeps/i386/fpu/e_expl.c: Move to ...
75913         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
75914         rather than using inline asm.
75915         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
75916         * sysdeps/x86_64/fpu/e_expl.S: Copy from
75917         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
75919         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
75920         (nice): Likewise.
75921         (poll): Likewise.
75922         (signal): Likewise.
75923         (time): Likewise.
75924         (times): Likewise.
75926 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
75928         * sysdeps/unix/syscalls.list (adjtime): Add entry from
75929         sysdeps/unix/common/syscalls.list.
75930         (fchmod): Likewise.
75931         (fchown): Likewise.
75932         (ftruncate): Likewise.
75933         (getrusage): Likewise.
75934         (gettimeofday): Likewise.
75935         (setpgid): Likewise.
75936         (setregid): Likewise.
75937         (setreuid): Likewise.
75938         (sigaction): Likewise.
75939         (truncate): Likewise.
75940         (vhangup): Likewise.
75941         * sysdeps/unix/common/syscalls.list: Remove file.
75942         * sysdeps/unix/bsd/Implies: Don't include unix/common.
75943         * sysdeps/unix/sysv/linux/Implies: Likewise.
75945 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
75947         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
75948         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
75949         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
75950         Moved to ...
75951         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
75952         Here.
75953         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
75954         to ...
75955         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
75956         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
75957         to ...
75958         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
75959         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
75960         to ...
75961         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
75962         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
75963         to ...
75964         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
75965         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
75966         to ...
75967         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
75968         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
75969         to ...
75970         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
75971         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
75972         to ...
75973         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
75974         Here.
75975         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
75976         to ...
75977         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
75978         Here.
75979         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
75980         to ...
75981         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
75982         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
75983         Moved to ...
75984         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
75985         Here.
75986         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
75987         to ...
75988         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
75990 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
75992         * sysdeps/unix/common/bits/dirent.h: Remove file.
75993         * sysdeps/unix/common/bits/fcntl.h: Likewise.
75995         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
75996         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
75997         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
75998         * sysdeps/unix/bsd/isatty.c: Likewise.
75999         * sysdeps/unix/bsd/tcdrain.c: Likewise.
76000         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
76001         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
76003 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76005         [BZ #13563]
76006         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
76007         long double comparison inaccuracies.
76008         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
76009         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76011 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
76013         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
76014         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
76016 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76018         [BZ #14049]
76019         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
76020         nonzero digits before rounding a hex value.
76021         * stdlib/tst-strtod.c (tests): Add another test.
76023 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76025         * sysdeps/s390/fpu/libm-test-ulps: Update.
76027 2012-05-03  Andreas Jaeger  <aj@suse.de>
76029         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
76030         does not get optimized out.
76031         (malloc_opt_barrier): New.
76033 2012-05-03  Andreas Jaeger  <aj@suse.de>
76034             Roland McGrath  <roland@hack.frob.com>
76036         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
76037         intermediate file deletion.
76038         (generated): Add .symlist files.
76040 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
76042         [BZ #13775]
76043         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
76044         Redirect under this condition.
76045         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
76046         [__USE_GNU] (__dprintf_chk): Not under this condition.
76047         [__USE_GNU] (__vdprintf_chk): Likewise.
76048         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
76049         under this condition.
76050         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
76051         [__USE_XOPEN2K8] (dprintf): Define under this condition.
76052         [__USE_XOPEN2K8] (vdprintf): Likewise.
76053         [__USE_GNU] (__dprintf_chk): Not under this condition.
76054         [__USE_GNU] (__vdprintf_chk): Likewise.
76055         [__USE_GNU] (dprintf): Likewise.
76056         [__USE_GNU] (vdprintf): Likewise.
76058 2012-05-03  Roland McGrath  <roland@hack.frob.com>
76060         * elf/Makefile (common-generated): Set this instead of generated for
76061         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
76062         $(all-built-dso)-derived lists.
76064 2012-05-03  Andreas Jaeger  <aj@suse.de>
76066         * sysdeps/i386/fpu/libm-test-ulps: Update.
76068         * FAQ: Removed.
76069         * FAQ.in: Likewise.
76070         * scripts/gen-FAQ.pl: Likewise.
76071         * manual/install.texi (Installation): Point to online location of
76072         FAQ.
76073         * Makefile (files-for-dist): Remove FAQ.
76074         (FAQ): Remove.
76076 2012-05-02  Allan McRae  <allan@archlinux.org>
76078         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
76079         (LDFLAGS-reldepmod5.so): Likewise.
76080         (LDFLAGS-reldep6mod1.so): Likewise.
76081         (LDFLAGS-reldep6mod4.so): Likewise.
76082         (LDFLAGS-reldep8mod3.so): Likewise.
76083         (LDFLAGS-unload4mod1.so): Likewise.
76084         (LDFLAGS-unload4mod2.so): Likewise.
76085         (LDFLAGS-tst-initorder): Likewise.
76086         (LDFLAGS-tst-initordera2.so): Likewise.
76087         (LDFLAGS-tst-initordera3.so): Likewise.
76088         (LDFLAGS-tst-initordera4.so): Likewise.
76089         (LDFLAGS-tst-initorderb2.so): Likewise.
76090         (LDFLAGS-noload): Likewise.
76091         (LDFLAGS-next): Likewise.
76092         (LDFLAGS-order2mod1.so): Likewise.
76093         (LDFLAGS-order2mod2.so): Likewise.
76094         (LDFLAGS-tst-initorder2): Likewise.
76095         (LDFLAGS-tst-initorder2a.so): Likewise.
76096         (LDFLAGS-tst-initorder2b.so): Likewise.
76097         (LDFLAGS-tst-initorder2c.so): Likewise.
76098         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
76100 2012-05-02  David S. Miller  <davem@davemloft.net>
76102         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76104 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
76106         [BZ #14055]
76107         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
76109 2012-05-02  Andreas Jaeger  <aj@suse.de>
76111         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
76112         since we manipulate rounding mode.
76113         (CPPFLAGS-test-idouble.c): Likewise.
76114         (CPPFLAGS-test-ifloat.c): Likewise.
76115         (CFLAGS-test-ldouble.c): Likewise.
76116         (CFLAGS-test-double.c): Likewise.
76117         (CFLAGS-test-float.c): Likewise.
76118         (CFLAGS-test-misc.c): Likewise.
76119         (CFLAGS-test-test-fenv.c): Likewise.
76121 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76123         [BZ #2550]
76124         [BZ #2570]
76125         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
76126         comparisons to determine direction to adjust input.
76128 2012-05-01  Roland McGrath  <roland@hack.frob.com>
76130         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
76131         output to the target.
76133         * scripts/localplt.awk: New file.
76134         * elf/Makefile ($(objpfx)check-localplt): Target removed.
76135         (check-localplt-CFLAGS): Variable removed.
76136         ($(all-built-dso:=.jmprel)): New static pattern rule.
76137         (generated): Add those targets.
76138         (localplt-built-dso): New variable.
76139         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
76141         * elf/check-localplt.c: File removed.
76143         * scripts/check-execstack.awk: New file.
76144         * elf/Makefile ($(objpfx)check-execstack): Target removed.
76145         (check-execstack-CFLAGS): Variable removed.
76146         ($(objpfx)check-execstack.h): Target removed.
76147         ($(objpfx)execstack-default): New target.
76148         (generated): Add that instead of check-execstack.h.
76149         ($(all-built-dso:=.phdr)): New static pattern rule.
76150         (generated): Add those targets.
76151         * elf/check-execstack.c: File removed.
76153         * scripts/check-textrel.awk: New file.
76154         * elf/Makefile ($(objpfx)check-textrel): Target removed.
76155         (check-textrel-CFLAGS): Variable removed.
76156         (all-built-dso): Use := to define.o
76157         ($(all-built-dso:=.dyn)): New static pattern rule.
76158         (generated): Add those targets.
76159         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
76160         * config.make.in (READELF): New substituted variable.
76161         * elf/check-textrel.c: File removed.
76163 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
76165         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
76166         allow.
76167         * conform/data/ctype.h-data [C99-based standards] (isblank):
76168         Expect function.
76169         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
76170         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
76171         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76172         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
76173         Specify type.  Require positive value.
76174         (EILSEQ): Likewise.
76175         (ERANGE): Likewise.
76176         [ISO || POSIX] (EILSEQ): Do not expect.
76177         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
76178         Specify type.  Require positive value.
76179         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
76180         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
76181         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
76182         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
76183         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
76184         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
76185         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
76186         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
76187         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
76188         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
76189         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
76190         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
76191         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
76192         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
76193         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
76194         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
76195         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
76196         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
76197         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
76198         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
76199         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
76200         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
76201         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
76202         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
76203         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
76204         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
76205         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
76206         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
76207         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
76208         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
76209         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
76210         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
76211         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
76212         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
76213         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
76214         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
76215         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
76216         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
76217         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
76218         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
76219         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
76220         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
76221         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
76222         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
76223         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
76224         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
76225         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
76226         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
76227         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
76228         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
76229         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
76230         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
76231         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
76232         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
76233         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
76234         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
76235         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
76236         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
76237         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
76238         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
76239         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
76240         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
76241         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
76242         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
76243         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
76244         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
76245         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
76246         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
76247         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
76248         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
76249         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
76250         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
76251         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
76252         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
76253         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
76254         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
76255         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
76256         Require >= 2.
76257         (FLT_ROUNDS): Expect as macro, not constant.
76258         (FLT_MANT_DIG): Use macro-int-constant.
76259         (DBL_MANT_DIG): Likewise.
76260         (LDBL_MANT_DIG): Likewise.
76261         (FLT_DIG): Likewise.
76262         (DBL_DIG): Likewise.
76263         (LDBL_DIG): Likewise.
76264         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
76265         (DBL_MIN_EXP): Likewise.
76266         (LDBL_MIN_EXP): Likewise.
76267         (FLT_MAX_EXP): Use macro-int-constant.
76268         (DBL_MAX_EXP): Likewise.
76269         (LDBL_MAX_EXP): Likewise.
76270         (FLT_MAX_10_EXP): Likewise.
76271         (DBL_MAX_10_EXP): Likewise.
76272         (LDBL_MAX_10_EXP): Likewise.
76273         (FLT_MAX): Use macro-constant.
76274         (DBL_MAX): Likewise.
76275         (LDBL_MAX): Likewise.
76276         (FLT_EPSILON): Use macro-constant.  Give upper bound.
76277         (DBL_EPSILON): Likewise.
76278         (LDBL_EPSILON): Likewise.
76279         (FLT_MIN): Likewise.
76280         (DBL_MIN): Likewise.
76281         (LDBL_MIN): Likewise.
76282         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
76283         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
76284         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
76285         [ISO11] (FLT_HAS_SUBNORM): Likewise.
76286         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
76287         [ISO11] (DBL_DECIMAL_DIG): Likewise.
76288         [ISO11] (FLT_DECIMAL_DIG): Likewise.
76289         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
76290         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
76291         [ISO11] (FLT_TRUE_MIN): Likewise.
76292         [ISO11] (LDBL_TRUE_MIN): Likewise.
76293         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76294         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
76295         (SCHAR_MIN): Use macro-int-constant.  Specify type.
76296         (SCHAR_MAX): Likewise.
76297         (UCHAR_MAX): Likewise.
76298         (CHAR_MIN): Likewise.
76299         (CHAR_MAX): Likewise.
76300         (MB_LEN_MAX): Use macro-int-constant.
76301         (SHRT_MIN): Use macro-int-constant.  Specify type.
76302         (SHRT_MAX): Likewise.
76303         (USHRT_MAX): Likewise.
76304         (INT_MAX): Likewise.
76305         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
76306         bound negative.
76307         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
76308         bound with "U".
76309         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
76310         bound with "L".
76311         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
76312         bound negative.  Suffix upper bound with "L".
76313         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
76314         bound with "UL".
76315         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
76316         Specify type.
76317         [C99-based standards] (LLONG_MAX): Likewise.
76318         [C99-based standards] (ULLONG_MAX): Likewise.
76319         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
76320         == 0.
76321         [ISO11] (max_align_t): Require type.
76322         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76324         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
76325         from $CFLAGS, without defining away __attribute__ calls.
76326         (checknamespace): Use $CFLAGS_namespace.
76328         * conform/conformtest.pl (@keywords): Only include C99 keywords
76329         for standards based on C99 or C11.
76331         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
76332         Disable tests.
76333         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
76334         UNIX98]: Likewise.
76336         * conform/conformtest.pl: Handle "macro-int-constant" and test for
76337         usability of symbols in #if.
76339         * conform/conformtest.pl: If macro or constant types start
76340         "promoted:", expect the symbol to be of the following type
76341         promoted by the integer promotions.
76343         * conform/conformtest.pl: Parse all "constant" and "macro" lines
76344         in one place.  Also handle "macro-constant".
76346         * conform/conformtest.pl: Only accept expected macro values with
76347         "==".  Parse all "macro" lines in one place.
76348         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
76350         * conform/conformtest.pl: Handle braced types on "constant" lines
76351         instead of handling "typed-constant".
76352         * conform/data/signal.h-data: Use "constant" instead of
76353         "typed-constant".
76355         * conform/conformtest.pl: Handle "optional-" at start of lines in
76356         one place rather than duplicating several cases.  Handle each
76357         format of "macro" line with initial "optional-".
76359         * conform/conformtest.pl: Only accept expected constant or
76360         optional-constant values with "==".  Parse all "constant" lines in
76361         one place.  Parse all "optional-constant" lines in one place.
76362         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
76363         * conform/data/fmtmsg.h-data: Likewise.
76364         * conform/data/netinet/in.h-data: Likewise.
76365         * conform/data/tar.h-data: Likewise.
76366         * conform/data/limits.h-data: Use "==" form on "constant" and
76367         "optional-constant" lines.
76369         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
76370         Use -std=c99 for XOPEN2K.
76371         (@knownproblems): Remove.
76372         (newtoken): Don't check %isknown.
76374         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
76375         Do not expect macro.
76376         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
76377         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
76378         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
76379         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
76380         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
76381         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
76382         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
76383         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
76384         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
76385         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
76386         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
76387         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
76388         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
76389         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
76390         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
76391         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
76392         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
76393         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
76394         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
76395         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
76396         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
76397         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
76398         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
76399         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
76400         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
76401         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
76402         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
76403         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
76404         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
76405         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
76406         [XPG3] (acosh): Likewise.
76407         [XPG3] (asinh): Likewise.
76408         [XPG3] (atanh): Likewise.
76409         [XPG3] (cbrt): Likewise.
76410         [XPG3] (expm1): Likewise.
76411         [XPG3] (ilogb): Likewise.
76412         [XPG3] (log1p): Likewise.
76413         [XPG3] (logb): Likewise.
76414         [XPG3] (nextafter): Likewise.
76415         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
76416         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
76417         [XPG3] (remainder): Likewise.
76418         [XPG3] (rint): Likewise.
76419         [XPG3 || XPG4 || UNIX98] (round): Likewise.
76420         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
76421         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
76422         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
76423         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
76424         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
76425         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
76426         [UNIX98 || XOPEN2K] (scalb): Expect.
76427         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
76428         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
76429         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
76430         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
76431         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
76432         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
76433         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
76434         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
76435         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
76436         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
76437         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
76438         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
76439         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
76440         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
76441         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
76442         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
76443         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
76444         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
76445         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
76446         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
76447         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
76448         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
76449         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
76450         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
76451         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
76452         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
76453         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
76454         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
76455         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
76456         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
76457         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
76458         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
76459         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
76460         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
76461         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
76462         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
76463         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
76464         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
76465         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
76466         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
76467         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
76468         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
76469         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
76470         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
76471         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
76472         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
76473         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
76474         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
76475         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
76476         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
76477         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
76478         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
76479         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
76480         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
76481         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
76482         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
76483         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
76484         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
76485         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
76486         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
76487         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
76488         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
76489         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
76490         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
76491         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
76492         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
76493         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
76494         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
76495         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
76496         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
76497         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
76498         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
76499         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
76500         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
76501         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
76502         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
76503         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
76504         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
76505         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
76506         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
76507         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
76508         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
76509         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
76510         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
76511         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
76512         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
76513         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
76514         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
76515         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
76516         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
76517         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
76518         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
76519         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
76520         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
76521         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
76522         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
76523         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
76524         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
76525         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
76526         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
76527         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
76528         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
76529         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
76530         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
76531         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
76532         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
76533         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
76534         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
76535         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
76536         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
76537         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
76538         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
76539         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
76540         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
76541         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
76542         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
76543         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
76544         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
76545         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
76546         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
76547         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
76548         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
76549         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
76550         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
76551         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
76552         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
76553         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
76554         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
76555         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
76556         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
76557         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
76558         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
76559         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
76560         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
76561         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
76562         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
76563         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
76565         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
76566         _XOPEN_SOURCE_EXTENDED for XPG4.
76568         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
76570         * Makeconfig (localtime): Remove variable.
76571         (inst_localtime-file): Likewise.
76573 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
76575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
76576         Update.
76577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
76578         Update.
76579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
76580         Update.
76581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
76582         Update.
76583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
76584         Update.
76585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
76586         Update.
76587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
76588         Update.
76589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
76590         Update.
76591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
76592         Update.
76594 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
76596         [BZ #2550]
76597         [BZ #2570]
76598         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
76599         comparisons to determine direction to adjust input.
76600         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
76601         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
76602         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
76603         Likewise.
76604         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
76605         Likewise.
76606         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
76607         Likewise.
76608         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
76609         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
76610         Likewise.
76611         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
76612         Likewise.
76613         * math/libm-test.inc (nexttoward_test): Add more tests.
76615 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
76617         [BZ #14040]
76618         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
76619         in version GLIBC_2.1, not GLIBC_2.0.
76620         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
76621         Likewise.
76623 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
76625         [BZ #13942]
76626         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
76627         (1 - x) * (1 + x).
76628         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
76629         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
76630         * math/libm-test.inc (acos_test): Add more tests.
76631         (asin_test): Likewise.
76632         * sysdeps/i386/fpu/libm-test-ulps: Update.
76633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76635         [BZ #14034]
76636         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
76637         of square root.
76638         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
76639         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
76640         * math/libm-test.inc (acos_test_tonearest): New function.
76641         (acos_test_towardzero): Likewise.
76642         (acos_test_downward): Likewise.
76643         (acos_test_upward): Likewise.
76644         (asin_test_tonearest): Likewise.
76645         (asin_test_towardzero): Likewise.
76646         (asin_test_downward): Likewise.
76647         (asin_test_upward): Likewise.
76648         (main): Call the new functions.
76649         * sysdeps/i386/fpu/libm-test-ulps: Update.
76650         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76652         [BZ #13884]
76653         [BZ #13924]
76654         * math/e_exp10.c: Include <float.h>.
76655         (__ieee754_exp10): Handle underflow here rather than multiplying
76656         large negative argument by M_LN10.
76657         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
76658         of __ieee754_expf.
76659         * math/e_exp10l.c: Include <float.h>.
76660         (__ieee754_exp10l): Handle underflow here rather than multiplying
76661         large negative argument by M_LN10l.
76662         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
76663         spurious overflow exception on underflow.
76665 2012-04-29  Marek Polacek  <polacek@redhat.com>
76667         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
76668         (__fortify_function): New macro.
76669         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
76670         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
76671         __extern_always_inline.
76672         * libio/bits/stdio2.h: Likewise.
76673         * libio/bits/stdio.h: Likewise.
76674         * string/string.h: Likewise.
76675         * string/bits/string3.h: Likewise.
76676         * include/stdio.h: Likewise.
76677         * stdlib/bits/stdlib.h: Likewise.
76678         * stdlib/stdlib.h: Likewise.
76679         * rt/bits/mqueue2.h: Likewise.
76680         * rt/mqueue.h: Likewise.
76681         * posix/bits/unistd.h: Likewise.
76682         * posix/unistd.h: Likewise.
76683         * io/bits/poll2.h: Likewise.
76684         * io/bits/fcntl2.h: Likewise.
76685         * io/fcntl.h: Likewise.
76686         * io/sys/poll.h: Likewise.
76687         * misc/bits/syslog.h: Likewise.
76688         * misc/bits/syslog-ldbl.h: Likewise.
76689         * misc/sys/syslog.h: Likewise.
76690         * socket/bits/socket2.h: Likewise.
76691         * socket/sys/socket.h: Likewise.
76692         * debug/tst-chk1.c: Likewise.
76693         * wcsmbs/bits/wchar2.h: Likewise.
76694         * wcsmbs/bits/wchar-ldbl.h: Likewise.
76695         * wcsmbs/wchar.h: Likewise.
76697 2012-04-29  Andreas Jaeger  <aj@suse.de>
76699         * Makerules (tests): Remove enable-check-abi protection.
76700         (check-abi-warn): Remove.
76701         (check-abi-%): Remove check-abi-warn usage.
76703         * configure.in: Remove check-abi configure option.
76704         * configure: Regenerated.
76705         * config.make.in (enable-check-abi): Remove.
76707 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
76709         [BZ #14033]
76710         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
76711         double functions to double *_finite functions.
76713         [BZ #13941]
76714         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
76715         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
76716         LDBL_MIN_EXP.
76717         * stdio-common/Makefile (tests): Add tst-sprintf3.
76718         * stdio-common/tst-sprintf3.c: New file.
76720         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
76721         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
76723 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
76725         * conform/conformtest.pl: Remove duplicate typed-constant
76726         handling.
76728 2012-04-28  David S. Miller  <davem@davemloft.net>
76730         * Makerules (%.abilist): Add vpath on sysdep_dirs.
76731         (check-abi-%): Remove AWK script prerequisite and explicit
76732         abilist directory.
76733         (check-abi): Rewrite to just diff the symlist with the abilist.
76734         (config-tls, config-abi-config): Delete, no longer used.
76735         (update-abi-%): Remove AWK script and explicit abilist directory.
76736         (update-abi): Rewrite to simply compare and conditionally copy the
76737         symlist and the sysdep abilist file.  Remove update-abi-config
76738         checks.
76739         * abilist/ld.abilist: Remove.
76740         * abilist/libBrokenLocale.abilist: Remove.
76741         * abilist/libanl.abilist: Remove.
76742         * abilist/libcrypt.abilist: Remove.
76743         * abilist/libdl.abilist: Remove.
76744         * abilist/librt.abilist: Remove.
76745         * abilist/libthread_db.abilist: Remove.
76746         * abilist/libutil.abilist: Remove.
76747         * scripts/extract-abilist.awk: Remove.
76748         * scripts/merge-abilist.awk: Remove.
76749         * sysdeps/generic/libcidn.abilist: New file.
76750         * sysdeps/generic/libnss_compat.abilist: New file.
76751         * sysdeps/generic/libnss_db.abilist: New file.
76752         * sysdeps/generic/libnss_dns.abilist: New file.
76753         * sysdeps/generic/libnss_files.abilist: New file.
76754         * sysdeps/generic/libnss_hesiod.abilist: New file.
76755         * sysdeps/generic/libnss_nis.abilist: New file.
76756         * sysdeps/generic/libnss_nisplus.abilist: New file.
76757         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
76758         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
76759         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
76760         file.
76761         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
76762         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
76763         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
76764         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
76765         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
76766         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
76767         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
76768         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
76769         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
76770         file.
76771         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
76772         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
76773         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
76774         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
76775         file.
76776         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
76777         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
76778         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
76779         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
76780         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
76781         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
76782         file.
76783         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
76784         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
76785         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
76786         file.
76787         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
76788         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
76789         New file.
76790         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
76791         New file.
76792         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
76793         New file.
76794         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
76795         New file.
76796         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
76797         New file.
76798         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
76799         New file.
76800         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
76801         New file.
76802         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
76803         New file.
76804         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
76805         New file.
76806         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
76807         New file.
76808         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
76809         New file.
76810         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
76811         New file.
76812         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
76813         New file.
76814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
76815         file.
76816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
76817         New file.
76818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
76819         New file.
76820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
76821         file.
76822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
76823         New file.
76824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
76825         New file.
76826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
76827         file.
76828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
76829         New file.
76830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
76831         New file.
76832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
76833         New file.
76834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
76835         New file.
76836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
76837         New file.
76838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
76839         New file.
76840         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
76841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
76842         file.
76843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
76844         New file.
76845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
76846         file.
76847         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
76848         file.
76849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
76850         file.
76851         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
76852         file.
76853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
76854         file.
76855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
76856         New file.
76857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
76858         file.
76859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
76860         file.
76861         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
76862         New file.
76863         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
76864         file.
76865         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
76866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
76867         file.
76868         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
76869         New file.
76870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
76871         file.
76872         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
76873         file.
76874         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
76875         file.
76876         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
76877         file.
76878         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
76879         file.
76880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
76881         New file.
76882         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
76883         file.
76884         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
76885         file.
76886         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
76887         New file.
76888         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
76889         file.
76890         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
76891         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
76892         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
76893         file.
76894         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
76895         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
76896         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
76897         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
76898         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
76899         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
76900         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
76901         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
76902         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
76903         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
76904         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
76905         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
76906         file.
76907         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
76908         New file.
76909         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
76910         file.
76911         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
76912         file.
76913         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
76914         file.
76915         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
76916         file.
76917         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
76918         file.
76919         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
76920         New file.
76921         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
76922         New file.
76923         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
76924         file.
76925         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
76926         New file.
76927         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
76928         file.
76929         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
76930         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
76931         file.
76932         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
76933         New file.
76934         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
76935         file.
76936         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
76937         file.
76938         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
76939         file.
76940         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
76941         file.
76942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
76943         file.
76944         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
76945         New file.
76946         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
76947         New file.
76948         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
76949         file.
76950         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
76951         New file.
76952         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
76953         file.
76955 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
76957         * conform/conformtest.pl: Fix typo in handling typed-constant from
76958         allow-header.
76960 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
76962         * README: Cut down references to pre-2.6 Linux kernels and
76963         Linuxthreads.  Update lists of configurations in libc and ports
76964         and sort alphabetically.  Say "or newer" with Linux kernel version
76965         requirements.
76967         * config.h.in [IS_IN_build]: Allow compiling without optimization.
76969 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
76971         [BZ #887]
76972         * math/libm-test.inc (logb_test_downward): New test to expose
76973         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
76974         rounding mode.
76976 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
76978         [BZ #14027]
76979         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
76980         to be done.
76981         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
76982         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
76984 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
76986         * sysdeps/unix/i386/brk.S: Remove file.
76987         * sysdeps/unix/i386/dl-brk.S: Likewise.
76988         * sysdeps/unix/i386/pipe.S: Likewise.
76989         * sysdeps/unix/i386/sigreturn.S: Likewise.
76990         * sysdeps/unix/i386/syscall.S: Likewise.
76991         * sysdeps/unix/i386/vfork.S: Likewise.
76992         * sysdeps/unix/i386/wait.S: Likewise.
76994         * sysdeps/unix/common/tcsendbrk.c: Move to ...
76995         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
76997         * configure.in (arm*-none*): Do not allow without
76998         --enable-hacker-mode.
76999         (netbsd*): Remove case setting base_os.
77000         (386bsd*): Likewise.
77001         (freebsd*): Likewise.
77002         (bsdi*): Likewise.
77003         (osf*): Likewise.
77004         (sunos*): Likewise.
77005         (ultrix*): Likewise.
77006         (newsos*): Likewise.
77007         (dynix*): Likewise.
77008         (*bsd*): Likewise.
77009         (sysv*): Likewise.
77010         (isc*): Likewise.
77011         (esix*): Likewise.
77012         (sco*): Likewise.
77013         (minix*): Likewise.
77014         (irix4*): Likewise.
77015         (irix6*): Likewise.
77016         (solaris[2-9]*): Likewise.
77017         (none): Likewise.
77018         * configure: Regenerated.
77020 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77022         [BZ #11521]
77023         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
77024         overflow or cancellation in calculating denominator.
77025         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
77026         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
77027         down expression to avoid unexpected rounding in newer GCCs.
77028         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
77030 2012-04-26  David S. Miller  <davem@davemloft.net>
77032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
77033         long-double compat symbols.
77034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
77035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
77036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
77037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
77038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
77039         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
77040         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
77041         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
77042         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
77043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
77044         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
77045         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
77046         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
77048 2012-04-25  David S. Miller  <davem@davemloft.net>
77050         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
77051         HWCAP_* values only after the memory barriers have been defined.
77052         (atomic_full_barrier): Define.
77053         (atomic_read_barrier): Define.
77054         (atomic_write_barrier): Define.
77056 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
77058         * shlib-versions: Add libgcc_s version information.
77059         * sysdeps/generic/libgcc_s.h: Remove.
77060         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
77061         libgcc_s.h.
77062         * sysdeps/gnu/unwind-resume.c: Likewise.
77063         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
77065 2012-04-25  David S. Miller  <davem@davemloft.net>
77067         * sysdeps/unix/sparc/brk.S: Delete.
77068         * sysdeps/unix/sparc/dl-brk.S: Delete.
77069         * sysdeps/unix/sparc/pipe.S: Delete.
77070         * sysdeps/unix/sparc/sysdep.S: Delete.
77071         * sysdeps/unix/sparc/sysdep.h: Delete.
77072         * sysdeps/unix/sparc/vfork.S: Delete.
77073         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
77074         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
77075         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
77076         (ret_ERRVAL, r0, r1, MOVE): Define.
77077         (JUMPTARGET): Remove.
77078         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
77079         sysdeps/unix/sparc/sysdep.h
77080         (ENTRY, END): Remove.
77081         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77083 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
77085         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
77086         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
77087         -DIS_IN_build.
77089         * timezone/README: Update upstream location and email address for
77090         tzcode and tzdata.
77091         * timezone/zdump.c: Update from tzcode 2012b.
77092         * timezone/zic.c: Likewise.
77094         * configure.in (libc_cv_as_needed): Remove test.
77095         * configure: Regenerated.
77096         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
77097         conditional definition.
77098         [$(have-as-needed) != yes] (no-as-needed): Likewise.
77099         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
77100         * config.make.in (have-as-needed): Remove variable.
77102 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
77103             Paul Pluzhnikov  <ppluzhnikov@google.com>
77105         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
77106         strings correctly.
77108 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
77110         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
77111         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
77112         * sysdeps/sh/strlen.S: Likewise.
77114 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
77116         * sysdeps/unix/fork.S: Remove file.
77117         * sysdeps/unix/i386/fork.S: Likewise.
77118         * sysdeps/unix/sparc/fork.S: Likewise.
77120         * sysdeps/unix/system.c: Remove file.
77121         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
77123         * sysdeps/unix/getegid.S: Remove file.
77124         * sysdeps/unix/geteuid.S: Likewise.
77126 2012-04-24  Roland McGrath  <roland@hack.frob.com>
77128         * scripts/check-localplt.awk: New file.
77129         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
77130         of diff.
77131         * scripts/data/localplt-generic.data: Add a comment.
77133         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
77134         NODE when __dir_mkfile failed.
77135         * sysdeps/mach/hurd/symlinkat.c: Likewise.
77136         Reported by Ludovic Courtès <ludo@gnu.org>.
77138 2012-04-24  Andreas Jaeger  <aj@suse.de>
77140         * Makerules (common-clean): Also remove gen-as-const-headers
77141         files.
77143 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
77145         * Makerules (native-compile): Do not change working directory for
77146         build.  Use $(OUTPUT_OPTION) in command.
77147         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
77149 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77151         [BZ #13886]
77152         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
77153         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
77154         * math/libm-test.inc (floor_test): Add more tests.
77155         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
77157 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
77159         * sysdeps/unix/getdents.c: Remove file.
77160         * sysdeps/unix/sysv/getdents.c: Likewise.
77161         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
77163         * sysdeps/unix/syscalls.list (madvise): Add syscall from
77164         sysdeps/unix/mman/syscalls.list.
77165         (mmap): Likewise.
77166         (mprotect): Likewise.
77167         (msync): Likewise.
77168         (munmap): Likewise.
77169         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
77170         * sysdeps/unix/mman/syscalls.list: Remove.
77171         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
77173         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
77174         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
77175         * configure: Regenerated.
77176         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
77177         $(libgcc_s_suffix).
77178         * config.make.in (libgcc_s_suffix): Remove variable.
77180 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
77182         * sysdeps/unix/sysv/gethostname.c: Move to ...
77183         * sysdeps/posix/gethostname.c: ... here.
77185         * sysdeps/unix/execve.S: Remove file.
77187         * sysdeps/unix/_exit.S: Remove file.
77189 2012-04-23  Andreas Jaeger  <aj@suse.de>
77191         [BZ #13739]
77192         * manual/Makefile: Remove make dist support, there's no
77193         need for a stand-alone documentation tar ball.
77194         (TEXI2DVI): Define always, it's not in Makeconfig.
77195         (dist): Removed.
77196         (tar-it): Removed.
77197         (edition): Removed.
77198         (glibc-doc-$(edition).tar): Removed
77199         (%.Z): Removed.
77200         (%.gz): Removed.
77201         (%.uu): Removed.
77202         (ETAGS): Remove, it's in Makeconfig.
77203         (move-if-change): Remove, it's in Makeconfig.
77205 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
77207         [BZ #13970]
77208         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
77209         (strtod, strtof, strtold, strtol, strtoul, strtoq)
77210         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
77211         (strtod_l, strtof_l, strtold_l): Remove __wur.
77212         It is not necessarily an error to ignore strtol's return value.
77213         One can reliably look at the stored endptr to decide whether
77214         the number had valid syntax.
77216 2012-04-21  Andreas Jaeger  <aj@suse.de>
77218         [BZ #13739]
77219         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
77221 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
77223         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
77224         * sysdeps/unix/sysv/Versions: Remove file.
77226 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
77228         [BZ #13927]
77229         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77231 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
77233         [BZ #7064]
77234         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
77235         version from __vm86.
77237 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
77239         * sysdeps/unix/common/lxstat.c: Remove file.
77240         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
77242         * sysdeps/unix/sysv/Makefile: Remove file.
77244         * sysdeps/unix/sysv/direct.h: Remove file.
77246         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
77247         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
77248         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
77249         * sysdeps/unix/sysv/bits/signum.h: Likewise.
77250         * sysdeps/unix/sysv/bits/stat.h: Likewise.
77251         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
77252         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
77254         * sysdeps/unix/sysv/setrlimit.c: Remove file.
77256         * sysdeps/unix/xmknod.c: Remove file.
77257         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
77259         * sysdeps/unix/sysv/settimeofday.c: Remove file.
77261         * sysdeps/unix/sysv/i386/time.S: Remove file.
77263         * sysdeps/unix/fxstat.c: Remove file.
77264         * sysdeps/unix/xstat.c: Likewise.
77265         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
77267         * sysdeps/unix/sysv/sigaction.c: Remove file.
77269         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
77270         (sysdep_headers): Remove variable.
77271         [termio.h not in sysdep_headers] (generated): Likewise.
77272         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
77273         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
77274         * sysdeps/unix/sysv/tcdrain.c: Likewise.
77275         * sysdeps/unix/sysv/tcflow.c: Likewise.
77276         * sysdeps/unix/sysv/tcflush.c: Likewise.
77277         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
77278         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
77279         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
77280         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
77281         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
77283         * sysdeps/unix/siglist.c: Remove file.
77285         * sysdeps/unix/getppid.S: Remove file.
77287         * sysdeps/unix/mkdir.c: Remove file.
77288         * sysdeps/unix/rmdir.c: Likewise.
77290 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
77292         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
77293         ERR_MAX value.
77294         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
77295         errlist-compat value.
77297 2012-04-18  David S. Miller  <davem@davemloft.net>
77299         * sysdeps/generic/memcopy.h (reg_char): Delete.
77300         * debug/strcat_chk.c: Use char, not reg_char.
77301         * debug/strcpy_chk.c: Likewise.
77302         * debug/strncat_chk.c: Likewise.
77303         * debug/strncpy_chk.c: Likewise.
77304         * string/memchr.c: Likewise.
77305         * string/memrchr.c: Likewise.
77306         * string/rawmemchr.c: Likewise.
77307         * string/strcat.c: Likewise.
77308         * string/strchr.c: Likewise.
77309         * string/strchrnul.c: Likewise.
77310         * string/strcmp.c: Likewise.
77311         * string/strcpy.c: Likewise.
77312         * string/strncat.c: Likewise.
77313         * string/strncmp.c: Likewise.
77314         * string/strncpy.c: Likewise.
77316 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
77318         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
77319         __builtin_memcopy is called when src and dest ranges are known to not
77320         overlap.
77322 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
77324         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
77325         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
77326         fwd_align_merge macro call.
77327         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
77328         bwd_align_merge macro call.
77329         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
77331 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
77333         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
77334         bwd_align_merge macros.
77335         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
77336         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
77337         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
77339 2012-04-18  David S. Miller  <davem@davemloft.net>
77341         * sysdeps/sparc/sparc64/memcopy.h: Delete.
77343 2012-04-18  Andreas Jaeger  <aj@suse.de>
77345         [BZ# 6794]
77346         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
77347         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
77348         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
77350         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
77351         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
77352         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
77354         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
77355         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
77356         Adjust for changed ldbl-128 files.
77358         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
77359         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
77360         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
77362 2012-04-17  David S. Miller  <davem@davemloft.net>
77364         * sysdeps/sparc/sparc32/memcopy.h: Delete.
77366 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
77368         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
77369         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
77370         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
77371         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
77372         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
77373         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
77375 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77377         [BZ #6794]
77378         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
77379         * math/libm-test.inc: Add ilogb errno and exception tests.
77380         * math/w_ilogb.c: New file: ilogb wrapper.
77381         * math/w_ilogbf.c: New file: ilogbf wrapper.
77382         * math/w_ilogbl.c: New file: ilogbl wrapper.
77383         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
77384         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
77385         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
77386         exception being thrown with 0.0 as argument.
77387         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
77388         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
77389         exception being thrown with 0.0 as argument.
77390         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
77391         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
77392         exception being thrown with 0.0 as argument.
77393         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
77394         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
77395         exception being thrown with 0.0 as argument.
77396         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
77397         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
77398         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
77399         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
77400         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
77401         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
77402         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
77403         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
77404         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
77406 2012-04-17  Petr Baudis  <pasky@ucw.cz>
77408         * include/sys/uio.h: Change __vector to __iovec to avoid clash
77409         with altivec.
77411 2012-04-16  Marek Polacek  <polacek@redhat.com>
77413         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
77415 2012-04-16  Marek Polacek  <polacek@redhat.com>
77417         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
77418         operands of fdivp instruction.
77420 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
77422         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
77423         * elf/tst-auditmod3b.c: Likewise.
77424         * elf/tst-auditmod4b.c: Likewise.
77425         * elf/tst-auditmod5b.c: Likewise.
77426         * elf/tst-auditmod6b.c: Likewise.
77427         * elf/tst-auditmod6c.c: Likewise.
77428         * elf/tst-auditmod7b.c: Likewise.
77429         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
77430         * sysdeps/x86_64/preconfigure.in: Likewise.
77431         * sysdeps/x86_64/preconfigure: Regenerated.
77433 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
77435         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
77436         __ILP32__.
77438 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
77440         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
77441         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
77443 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
77445         [BZ #13973]
77446         * locale/iso-639.def: Fix gl language name. Spotted by
77447         Yaron Shahrabani.
77449 2012-04-12  Roland McGrath  <roland@hack.frob.com>
77451         [BZ #2074]
77452         * libio/libio.h (__io_write_fn): Update comment.
77454 2012-04-12  Petr Baudis  <pasky@ucw.cz>
77456         [BZ #2074]
77457         * stdio.texi (Hook Functions): The user provided writer function
77458         is not allowed to return -1.
77460 2012-04-11  David S. Miller  <davem@davemloft.net>
77462         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77464 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
77466         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
77467         Add a leading slash to rtkaio.
77469 2012-04-11  Jim Meyering  <meyering@redhat.com>
77471         [BZ #11959]
77472         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
77473         It is not necessarily an error to ignore fwrite's return
77474         value.  One can reliably use ferror to test for errors after
77475         the fact.
77477 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
77479         * bits/types.h (__snseconds_t): New type.
77480         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
77482         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
77483         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77484         (__SNSECONDS_T_TYPE): Likewise.
77485         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77486         (__SNSECONDS_T_TYPE): Likewise.
77487         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77488         (__SNSECONDS_T_TYPE): Likewise.
77490 2012-04-10  Andreas Jaeger  <aj@suse.de>
77492         [BZ #2636]
77493         * manual/time.texi (Processor Time): Return type of times is
77494         elapsed real time since an arbitrary point in the past.
77495         (CPU Time): Move CLK_TCK from here...
77496         (Processor Time): ...to here.  Correct description.
77497         * manual/conf.texi (Constants for Sysconf): Correct description of
77498         _SC_CLK_TCK.
77500 2012-04-10  David S. Miller  <davem@davemloft.net>
77502         [BZ #13967]
77503         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
77504         where the is a gap between DT_REL(A) and DT_JMPREL.
77506 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
77508         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
77509         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
77510         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
77512 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
77514         * elf/dl-support.c (_dl_inhibit_cache): New variable.
77515         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
77516         (dl_main): Handle --inhibit-cache.
77517         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
77518         _dl_inhibit_cache.
77519         * elf/dl-load.c (_dl_map_object): Use it.
77520         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
77522 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
77524         [BZ #13872]
77525         * sysdeps/i386/fpu/e_powl.S (p78): New object.
77526         (__ieee754_powl): Saturate large exponents rather than testing for
77527         overflow of y*log2(x).
77528         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77529         * math/libm-test.inc (pow_test): Do not permit spurious overflow
77530         exceptions.
77532         [BZ #11521]
77533         * math/s_ctan.c: Include <float.h>.
77534         (__ctan): Avoid internal overflow or cancellation in calculating
77535         denominator.
77536         * math/s_ctanf.c: Likewise.
77537         * math/s_ctanl.c: Likewise.
77538         * math/s_ctanh.c: Likewise.
77539         * math/s_ctanhf.c: Likewise.
77540         * math/s_ctanhl.c: Likewise.
77541         * math/libm-test.inc (ctan_test): Add more tests.
77542         (ctanh_test): Likewise.
77543         * sysdeps/i386/fpu/libm-test-ulps: Update.
77544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77546 2012-04-09  Andreas Jaeger  <aj@suse.de>
77548         [BZ #6894]
77549         * manual/filesys.texi (Directory Entries): Mention that d_namlen
77550         is an optional BSD extension.
77552         [BZ #10254]
77553         * manual/stdio.texi (Opening Streams): Document additional fopen
77554         parameters.
77556 2012-04-09  Roland McGrath  <roland@hack.frob.com>
77558         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
77559         %eax without telling the compiler.
77561 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
77563         [BZ # 13963]
77564         * manual/install.texi: Use sourceware.org.
77566 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
77568         [BZ #13873]
77569         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
77570         (__ieee754_pow): Generate overflow and underflow using huge*huge
77571         and tiny*tiny rather than just returning constant infinity or zero
77572         for large exponents.
77573         * math/libm-test.inc (pow_test): Require overflow exceptions for
77574         applicable cases of large exponents.
77576         [BZ #706]
77577         * sysdeps/i386/fpu/e_pow.S (p10): New object.
77578         (__ieee754_pow): Use iterative multiplication algorithm only for
77579         integer exponents with absolute value below 1024.  Check for odd
77580         integer exponents when using algorithm for real exponents.
77581         * math/libm-test.inc (pow_test): Add more tests.
77582         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77584 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
77586         [BZ #13705]
77587         * math/libm-test.inc (exp_test): Do not allow overflow exception
77588         on underflow test.
77590 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
77592         [BZ #13705]
77593         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
77594         instead of __kernel_standard_f.
77596 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
77598         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
77599         * sysdeps/x86_64/memset_chk.S: Likewise.
77601 2012-04-08  Andreas Jaeger  <aj@suse.de>
77603         [BZ #10153]
77604         * manual/startup.texi (Environment Access): Describe return value
77605         for putenv and setenv.
77607         [BZ #6895]
77608         * manual/filesys.texi (Directory Entries): Add description for
77609         DT_LNK.
77611         [BZ #6890]
77612         * manual/filesys.texi (Directory Entries): Clarify that it's file
77613         system not operating system in the description of DT_UNKNOWN.
77615         [BZ #6578]
77616         * manual/syslog.texi (closelog): Fix reference, it's openlog.
77618 2012-04-08  Stephen Compall  <s11@member.fsf.org>
77620         [BZ #6649]
77621         * manual/llio.texi (Opening and Closing Files): Add cross
77622         reference to explain mode argument.
77624 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
77626         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
77627         * sysdeps/x86_64/memset_chk.S: Likewise.
77629 2012-04-07  David S. Miller  <davem@davemloft.net>
77631         * elf/elf.h (R_SPARC_WDISP10): Define.
77632         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
77633         R_SPARC_SIZE32.
77634         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
77635         R_SPARC_SIZE64 and R_SPARC_H34.
77637 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
77639         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
77640         conditions and remove no longer applicable assertion.
77642 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
77644         * bits/byteswap.h: Include <features.h>.
77645         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
77646         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
77648 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
77650         * bits/byteswap.h (__bswap_16): Removed.
77651         Include <bits/byteswap-16.h> to get __bswap_16.
77652         * sysdeps/i386/bits/byteswap.h: Likewise.
77653         * sysdeps/s390/bits/byteswap.h: Likewise.
77654         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77655         * bits/byteswap-16.h: New file.
77656         * sysdeps/i386/bits/byteswap-16.h: Likewise.
77657         * sysdeps/s390/bits/byteswap-16.h: Likewise.
77658         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
77659         * string/Makefile (headers): Add bits/byteswap-16.h.
77661 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
77663         [BZ #13895]
77664         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
77665         extra indirection.
77666         * nss/Makefile (tests-static, tests): Add tst-nss-static.
77667         * nss/tst-nss-static.c: New.
77669 2012-04-06  Robert Millan  <rmh@gnu.org>
77671         [BZ #6486]
77672         * manual/llio.texi (File Position Primitive): lseek
77673         refers to WHENCE when it really means OFFSET.
77675 2012-04-06  Andreas Jaeger  <aj@suse.de>
77677         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
77678         strncmp declarations.
77680         * abilist/libc.abilist: Add __poll and __ppoll.
77682 2012-04-05  David S. Miller  <davem@davemloft.net>
77684         * scripts/check-local-headers.sh: Accept a host triplet in the
77685         path matched by the exclude regexp.
77687         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
77688         definition.
77689         * sysdeps/powerpc/powerpc32/dl-machine.h
77690         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
77691         * sysdeps/s390/s390-32/dl-machine.h
77692         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77693         * sysdeps/sparc/sparc32/dl-machine.h
77694         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77695         * sysdeps/sparc/sparc64/dl-machine.h
77696         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77698         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
77699         lazy binding.
77700         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
77701         undefined symbol errors.
77703         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
77704         DT_NEEDED entries.
77706 2012-04-05  Michael Matz  <matz@suse.de>
77708         [BZ #13592]
77709         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
77711 2012-04-05  Andreas Jaeger  <aj@suse.de>
77713         [BZ #13908]
77714         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
77715         comment.
77717 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77719         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
77720         which ROUND is no valid rounding mode.
77722 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77724         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
77725         read again.
77726         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
77728 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77730         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
77731         an exception using FPU order intentionally.
77733 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77735         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
77736         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
77737         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
77738         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
77740 2012-04-05  Simon Josefsson  <simon@josefsson.org>
77742         [BZ #12340]
77743         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
77744         EINVAL when BUFLEN is too smal.
77746 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
77748         [BZ #13553]
77749         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
77750         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
77752 2012-04-03  Andreas Jaeger  <aj@suse.de>
77754         [BZ #13938]
77755         * manual/setjmp.texi (System V contexts): Fix sentence.
77757         [BZ #13926]
77758         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
77759         New macro for this case.
77760         [!__GNUC__] (__bswap_64): New inline function for this case.
77761         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77762         * bits/byteswap.h: Likewise.
77763         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
77764         ull, guard with __GLIBC_HAVE_LONG_LONG.
77766         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
77767         __GLIBC_HAVE_LONG_LONG.
77769         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
77770         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
77772 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
77774         [BZ #13691]
77775         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
77776         inptr and inend, rather than using last_ch.
77778 2012-04-02  David S. Miller  <davem@davemloft.net>
77780         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
77781         * stdio-common/printf-parse.h (read_int): Change return type to
77782         'int', return -1 on INT_MAX overflow.
77783         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
77784         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
77785         overflows INT_MAX.  Check for overflow of in-format-string precision
77786         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
77787         SIZE_MAX not INT_MAX for integer overflow test.
77788         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
77789         skip the construct in the format string but do not record anything.
77790         * stdio-common/bug22.c: Adjust to test both width/prevision
77791         INT_MAX overflow as well as total length INT_MAX overflow.  Check
77792         explicitly for proper errno values.
77794 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
77796         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
77797         CHAR_MAX.
77798         * string/test-strcmp.c [! WIDE]: Likewise.
77799         * time/tst-mktime2.c: Likewise for INT_MAX.
77800         * string/test-string.h: #include <sys/param.h> for MIN.
77802         * csu/init-first.c (__libc_init_first): Call __ctype_init.
77803         * sysdeps/i386/init-first.c (init): Likewise.
77804         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
77805         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
77806         * sysdeps/sh/init-first.c (init): Likewise.
77808 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
77810         * po/ru.po: Update from translation team.
77811         * po/vi.po: Likewise.
77813 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
77815         * resolv/nss_dns/dns-host.c: Merge copyright years.
77817 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77819         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
77820         Optimize memcpy with prefetch if
77821         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
77822         src, dst pointers have unequal 16 byte alignments.
77824 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
77826         [BZ #13928]
77827         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
77828         from a CNAME entry and return the minimum ttl for the query.
77829         (gaih_getanswer_slice): Likewise.
77831 2012-03-30  Jeff Law  <law@redhat.com>
77833         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
77834         due to long keys.
77835         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
77836         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
77838         * resolv/nss_dns/dns-host.c: Update copyright year.
77840 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
77842         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
77843         requests to save a system call.  Fix check that all bytes are sent.
77845         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
77846         comments for sendmmsg.
77848 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
77850         [BZ #13691]
77851         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
77852         with only 1 character between 0x0041 and 0x01b0.
77853         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
77854         * wcsmbs/tst-mbsnrtowcs.c: New file.
77856 2012-03-29  David S. Miller  <davem@davemloft.net>
77858         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
77859         small copies by hand.
77861 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
77863         [BZ #13761]
77864         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
77865         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
77866         group memberships.
77868 2012-03-28  David S. Miller  <davem@davemloft.net>
77870         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
77871         that branches into memcpy.
77872         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
77873         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
77874         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
77875         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
77876         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
77877         bits.
77878         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
77879         implementation too.
77880         * sysdeps/sparc/mempcpy.S: New file.
77882         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
77883         the IFUNC routine in the libc case.
77884         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
77886         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
77887         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
77888         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
77889         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
77890         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
77891         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
77892         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
77893         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
77895         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
77896         loop to 256 bytes instead of 64 bytes and fix test signedness.
77898         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
77899         * sysdeps/sparc/sparc32/Makefile: rather than here...
77900         * sysdeps/sparc/sparc64/Makefile: and here.
77902 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
77904         * malloc/mallocbug.c: Avoid warnings about unused variables.
77906 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
77908         [BZ #13760]
77909         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
77910         in the right place. Discard and retry query if response is
77911         larger than input buffer size.
77913 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
77915         [BZ #369]
77916         [BZ #2678]
77917         [BZ #3866]
77918         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
77919         x for large integer exponent.
77920         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
77921         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
77922         sign of result as needed afterwards.
77923         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
77924         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
77925         result for underflowing pow the same as for overflow.
77926         (__kernel_standard_l): Handle powl overflow and underflow here
77927         rather than calling __kernel_standard.
77928         * math/libm-test.inc (pow_test): Add more tests.
77930         [BZ #3868]
77931         [BZ #13879]
77932         [BZ #13910]
77933         [BZ #13911]
77934         [BZ #13912]
77935         [BZ #13913]
77936         [BZ #13915]
77937         [BZ #13916]
77938         [BZ #13917]
77939         [BZ #13918]
77940         [BZ #13919]
77941         [BZ #13920]
77942         [BZ #13921]
77943         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
77944         * sysdeps/ieee754/k_standard.c: Include <float.h>.
77945         (__kernel_standard_l): New function.
77946         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
77947         __kernel_standard.
77948         * math/w_acosl.c (__acosl): Likewise.
77949         * math/w_asinl.c (__asinl): Likewise.
77950         * math/w_atan2l.c (__atan2l): Likewise.
77951         * math/w_atanhl.c (__atanhl): Likewise.
77952         * math/w_coshl.c (__coshl): Likewise.
77953         * math/w_exp10l.c (__exp10l): Likewise.
77954         * math/w_exp2l.c (__exp2l): Likewise.
77955         * math/w_fmodl.c (__fmodl): Likewise.
77956         * math/w_hypotl.c (__hypotl): Likewise.
77957         * math/w_j0l.c (__j0l, __y0l): Likewise.
77958         * math/w_j1l.c (__j1l, __y1l): Likewise.
77959         * math/w_jnl.c (__jnl, __ynl): Likewise.
77960         * math/w_lgammal.c (__lgammal): Likewise.
77961         * math/w_log10l.c (__log10l): Likewise.
77962         * math/w_log2l.c (__log2l): Likewise.
77963         * math/w_logl.c (__logl): Likewise.
77964         * math/w_powl.c (__powl): Likewise.
77965         * math/w_remainderl.c (__remainderl): Likewise.
77966         * math/w_scalbl.c (sysv_scalbl): Likewise.
77967         * math/w_sinhl.c (__sinhl): Likewise.
77968         * math/w_sqrtl.c (__sqrtl): Likewise.
77969         * math/w_tgammal.c (__tgammal): Likewise.
77970         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
77971         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
77972         * math/libm-test.inc (acos_test): Add more tests.
77973         (acosh_test): Likewise.
77974         (asin_test): Likewise.
77975         (atanh_test): Likewise.
77976         (exp_test): Likewise.
77977         (exp10_test): Likewise.
77978         (exp2_test): Likewise.
77979         (expm1_test): Likewise.
77980         (lgamma_test): Likewise.
77981         (log_test): Likewise.
77982         (log10_test): Likewise.
77983         (log1p_test): Likewise.
77984         (log2_test): Likewise.
77985         (pow_test): Do not allow some spurious overflow exceptions.
77986         (sqrt_test): Add more tests.
77987         (tgamma_test): Likewise.
77988         (y0_test): Likewise.
77989         (y1_test): Likewise.
77990         (yn_test): Likewise.
77992 2012-03-27  Anton Blanchard  <anton@samba.org>
77994         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
77995         MAP_HUGETLB.
77996         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
77997         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
77998         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78000 2012-03-27  David S. Miller  <davem@davemloft.net>
78002         * conform/Makefile: Run run-conformtest.sh using $(BASH).
78004         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
78005         have-as-vis3 check.
78007 2012-03-27  Andreas Jaeger  <aj@suse.de>
78009         * sysdeps/x86_64/elf/configure.in: Moved to ...
78010         * sysdeps/x86_64/configure.in: ... here.
78011         * sysdeps/x86_64/elf/start.S: Moved to ...
78012         * sysdeps/x86_64/start.S: ... here.
78013         * sysdeps/x86_64/elf/configure: Delete.
78015         * sysdeps/x86_64/configure.in: Merge contents from
78016         sysdeps/i386/configure.in (without i686 check).
78018         * sysdeps/i386/elf/Versions: Merge into ...
78019         * sysdeps/i386/Versions: ... this.
78020         * sysdeps/i386/elf/Versions: Delete file.
78021         * sysdeps/i386/elf/start.S: Moved to ...
78022         * sysdeps/i386/start.S: ...here.
78023         * sysdeps/i386/elf/configure.in: Merge into...
78024         * sysdeps/i386/configure.in: ...here.
78025         * sysdeps/i386/elf/configure.in: Delete file.
78026         * sysdeps/i386/elf/configure: Delete file.
78028         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
78029         * debug/backtracesyms.c: ... here.
78030         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
78031         * debug/backtracesymsfd.c: ... here.
78032         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
78033         * sysdeps/generic/ifunc-sel.h: ... here.
78035         * sysdeps/unix/i386/start.c: Delete file.
78036         * sysdeps/unix/sparc/start.c: Delete file.
78037         * sysdeps/unix/start.c: Delete file.
78039         * sysdeps/sh/elf/configure.in: Moved to ...
78040         * sysdeps/sh/configure.in: ... here.
78041         * sysdeps/sh/elf/start.S: Moved to ...
78042         * sysdeps/sh/start.S: ... here.
78043         * sysdeps/sh/elf/configure: Delete file.
78045         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
78046         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
78047         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
78048         * sysdeps/powerpc/powerpc64/entry.h: ... here.
78049         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
78050         * sysdeps/powerpc/powerpc64/start.S: here.
78051         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
78052         * sysdeps/powerpc/powerpc64/Makefile: ... this.
78053         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
78054         * sysdeps/powerpc/powerpc64/configure.in: ... this.
78055         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
78057         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
78058         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
78059         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
78060         * sysdeps/powerpc/powerpc32/start.S: ... here.
78061         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
78062         * sysdeps/powerpc/powerpc32/configure.in: ... this.
78063         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
78065         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
78066         * sysdeps/powerpc/ifunc-sel.h: ... here.
78067         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
78068         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
78070         * sysdeps/sparc/elf/configure.in: Moved to ...
78071         * sysdeps/sparc/configure.in: ... here.
78072         * sysdeps/sparc/elf/configure: Delete file.
78073         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
78074         * sysdeps/sparc/sparc32/start.S: ... here.
78075         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
78076         * sysdeps/sparc/sparc64/start.S: ... here.
78077         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
78078         * sysdeps/sparc/sparc32/Makefile: ... this.
78079         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
78080         * sysdeps/sparc/sparc64/Makefile: ... this.
78082         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
78083         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
78084         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
78085         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
78086         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
78087         * sysdeps/s390/s390-32/setjmp.S: ... here.
78088         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
78089         * sysdeps/s390/s390-32/configure.in: ... here.
78090         * sysdeps/s390/s390-32/elf/configure: Delete file.
78091         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
78092         * sysdeps/s390/s390-32/start.S: ... here.
78094         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
78095         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
78096         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
78097         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
78098         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
78099         * sysdeps/s390/s390-64/setjmp.S: ... here.
78100         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
78101         * sysdeps/s390/s390-64/configure.in: ... here
78102         * sysdeps/s390/s390-64/elf/configure: Delete file.
78103         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
78104         * sysdeps/s390/s390-64/start.S: ... here.
78105         * sysdeps/s390/s390-64/elf/configure: Delete.
78107         * configure.in: Remove support for elf directories in sysdeps.
78109         * configure: Regenerated.
78110         * sysdeps/i386/configure: Regenerated.
78111         * sysdeps/powerpc/powerpc32/configure: Regenerated.
78112         * sysdeps/powerpc/powerpc64/configure: Regenerated.
78113         * sysdeps/s390/s390-32/configure: Regenerated.
78114         * sysdeps/s390/s390-64/configure: Regenerated.
78115         * sysdeps/sh/configure: Regenerated.
78116         * sysdeps/sparc/configure: Regenerated.
78117         * sysdeps/x86_64/configure: Regenerated.
78119 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
78121         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78123         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
78124         denormal result into account.
78126 2012-03-25  Roland McGrath  <roland@hack.frob.com>
78128         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
78129         Reported by Allan McRae <allan@archlinux.org>.
78131 2012-03-23  Jeff Law  <law@redhat.com>
78133         * nss/getnssent.c (__nss_getent): Fix typo.
78135 2012-03-23  David S. Miller  <davem@davemloft.net>
78137         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78139 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
78141         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
78142         to pad to uint64_t for each field.
78143         (dl_tls_index): Replace unsigned long with uint64_t.
78145 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
78146         Paul Pluzhnikov  <ppluzhnikov@google.com>
78148         [BZ #6528]
78149         * grp/Makefile (otherlibs): Don't set it.
78150         * inet/Makefile (otherlibs): Likewise.
78151         * login/Makefile (otherlibs): Likewise.
78152         * nscd/Makefile (otherlibs): Likewise.
78153         * posix/Makefile (otherlibs): Likewise.
78154         * pwd/Makefile (otherlibs): Likewise.
78155         * rt/Makefile (otherlibs): Likewise.
78156         * sunrpc/Makefile (otherlibs): Likewise.
78157         * nss/Makefile (otherlibs): Likewise.
78158         Add libnss_files to routines and static-only-routines.
78159         ($(objpfx)getent): Remove rule.
78160         * resolv/Makefile: Add libnss_dns and libresolv to routines and
78161         static-only-routines.
78163 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
78165         [BZ #13892]
78166         * math/s_cexp.c: Include <float.h>.
78167         (__cexp): Handle exp result overflowing not necessarily
78168         overflowing both real and imaginary parts of result.
78169         * math/s_cexpf.c: Likewise.
78170         * math/s_cexpl.c: Likewise.
78171         * math/libm-test.inc (cexp_test): Add more tests.
78172         * sysdeps/i386/fpu/libm-test-ulps: Update.
78173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78175 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78177         * include/link.h (ELFW): New macro.
78178         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
78179         Replace ELF64_R_TYPE with ELFW(R_TYPE).
78181 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78183         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
78184         with uint64_t.
78186 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78188         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
78189         declaration.
78190         (struct La_x32_retval): Likewise.
78192 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78194         * sysdeps/x86_64/preconfigure.in: New file.
78195         * sysdeps/x86_64/preconfigure: New generated file.
78197 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
78199         [BZ #13824]
78200         * math/e_exp2l.c: Include <float.h>.
78201         (__ieee754_exp2l): Handle overflow and underflow cases
78202         separately.  Only pass fractional part of argument to
78203         __ieee754_expl.
78204         * math/libm-test.inc (exp2_test): Add more tests.
78206         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
78207         negating x to take absolute value.
78208         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
78209         Likewise.
78210         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
78211         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
78212         Likewise.
78213         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
78214         computing low part if x was negated.
78215         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
78217 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
78219         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
78220         la_x32_gnu_pltexit.
78221         (pltexit): Cast int_retval to ptrdiff_t.
78222         * elf/tst-auditmod3b.c: Likewise.
78223         * elf/tst-auditmod4b.c: Likewise.
78224         * elf/tst-auditmod5b.c: Likewise.
78225         * elf/tst-auditmod6b.c: Likewise.
78226         * elf/tst-auditmod6c.c: Likewise.
78227         * elf/tst-auditmod7b.c: Likewise.
78229         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
78230         and x32_gnu_pltexit.
78232         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
78233         __ELF_NATIVE_CLASS.
78234         (La_x32_regs): New macro.
78235         (La_x32_retval): Likewise.
78236         (la_x32_gnu_pltenter): New function prototype.
78237         (la_x32_gnu_pltexit): Likewise.
78239 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
78241         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
78242         exponent.
78244         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78246         * configure.in (libc_cv_cc_nofma): Check for option to disable
78247         generation of FMA instructions.
78248         * configure: Regenerate.
78249         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
78250         * sysdeps/ieee754/dbl-64/Makefile: New file.
78251         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
78252         Remove brandred-fma4.
78253         (CFLAGS-brandred-fma4.c): Remove.
78254         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
78255         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
78256         define.
78257         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
78258         define.
78260 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
78262         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
78263         LLONG_MAX != LONG_MAX.
78264         (_itoa_word): Use _ITOA_WORD_TYPE on value.
78265         (_fitoa_word): Likewise.
78266         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
78267         LLONG_MAX != LONG_MAX.
78268         * stdio-common/_itowa.h: Include <_itoa.h>.
78269         (_itowa_word): Use _ITOA_WORD_TYPE on value.
78270         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
78271         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
78272         only if not defined.
78273         (_ITOA_WORD_TYPE): Likewise.
78274         (_itoa_word): Use _ITOA_WORD_TYPE on value.
78275         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
78277 2012-03-21  David S. Miller  <davem@davemloft.net>
78279         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78281 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
78283         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
78284         of x86_64 when setting libc_cv_slibdir, libdir and
78285         libc_cv_localedir.
78286         * sysdeps/unix/sysv/linux/configure: Regenerated.
78288 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
78290         * manual/lang.texi (Old Varargs): Remove section.
78291         (How Variadic): Update menu.
78292         (va_start): Do not mention varargs.h.
78294 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
78295             Joseph Myers  <joseph@codesourcery.com>
78297         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
78298         link test.
78299         * configure: Regenerated.
78301 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
78303         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
78304         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
78305         conformtest.pl
78307 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
78309         * NOTES: Remove.
78310         * Makefile (files-for-dist): Remove NOTES.
78311         (NOTES): Remove rule.
78312         * README: Don't refer to NOTES.
78313         * manual/creature.texi: Don't include macros.texi.
78314         * manual/intro.texi (creature.texi): Remove comment referring to
78315         NOTES.
78317         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
78318         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
78319         * configure: Regenerated.
78320         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
78321         LIBC_TRY_CC_OPTION.
78322         (libc_cv_as_i686): Likewise.
78323         (libc_cv_cc_avx): Likewise.
78324         (libc_cv_cc_sse2avx): Likewise.
78325         (libc_cv_cc_fma4): Likewise.
78326         (libc_cv_cc_novzeroupper): Likewise.
78327         * sysdeps/i386/configure: Regenerated.
78329         [BZ #13883]
78330         * sysdeps/i386/fpu/s_cexp.S: Remove.
78331         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
78332         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
78333         * math/libm-test.inc (cexp_test): Add more tests.
78334         * sysdeps/i386/fpu/libm-test-ulps: Update.
78335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78337 2012-03-21  Allan McRae  <allan@archlinux.org>
78339         * timezone/Makefile: Do not install iso3166.tab and zone.tab
78341 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
78343         [BZ #13871]
78344         * math/w_exp2.c: Do not include <float.h>.
78345         (o_threshold, u_threshold): Remove.
78346         (__exp2): Calculate result before checking finiteness and calling
78347         __kernel_standard.
78348         * math/w_exp2f.c: Likewise.
78349         * math/w_exp2l.c: Likewise.
78350         * math/libm-test.inc (exp2_test): Require overflow exception for
78351         1e6 input.
78353         [BZ #3866]
78354         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
78355         range of signed 64-bit integers before using fistpll.  Remove
78356         checks for whether integers fit in mantissa bits.
78357         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
78358         the range of signed 32-bit integers before using fistpl.  Remove
78359         checks for whether integers fit in mantissa bits.
78360         * sysdeps/i386/fpu/e_powl.S (p64): New object.
78361         (__ieee754_powl): Test for y outside the range of signed 64-bit
78362         integers before using fistpll.  Reduce 64-bit values to 63-bit
78363         ones as needed.
78364         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
78365         divide-by-zero is raised for zero to large negative powers.
78366         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
78367         (__ieee754_powl): Test for y outside the range of signed 64-bit
78368         integers before using fistpll.  Reduce 64-bit values to 63-bit
78369         ones as needed.
78370         * math/libm-test.inc (pow_test): Add more tests.
78372 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78374         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
78375         <stdio-common/_itoa.h>.
78376         * debug/segfault.c: Likewise.
78377         * elf/dl-cache.c: Likewise.
78378         * elf/dl-minimal.c: Likewise.
78379         * elf/dl-misc.c: Likewise.
78380         * elf/dl-sysdep.c: Likewise.
78381         * elf/dl-version.c: Likewise.
78382         * elf/rtld.c: Likewise.
78383         * hurd/hurdsock.c: Likewise.
78384         * hurd/lookup-retry.c: Likewise.
78385         * malloc/malloc.c: Likewise.
78386         * malloc/mtrace.c: Likewise.
78387         * nscd/nscd_getgr_r.c: Likewise.
78388         * nscd/nscd_getpw_r.c: Likewise.
78389         * nscd/nscd_getserv_r.c: Likewise.
78390         * posix/getopt_init.c: Likewise.
78391         * posix/wordexp.c: Likewise.
78392         * stdio-common/_itoa.c: Likewise.
78393         * stdio-common/printf_fphex.c: Likewise.
78394         * stdio-common/vfprintf.c: Likewise.
78395         * string/_strerror.c: Likewise.
78396         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
78397         * sysdeps/i386/i686/hp-timing.h: Likewise.
78398         * sysdeps/mach/_strerror.c: Likewise.
78399         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
78400         * sysdeps/mach/hurd/sethostid.c: Likewise.
78401         * sysdeps/mach/hurd/xmknodat.c: Likewise.
78402         * sysdeps/mach/xpg-strerror.c: Likewise.
78403         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
78404         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
78405         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
78406         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
78407         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
78408         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
78409         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
78410         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
78411         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
78412         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
78413         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
78414         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
78415         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
78416         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
78417         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
78418         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
78419         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
78420         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
78421         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
78422         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
78423         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
78425         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
78427         * stdio-common/_itoa.h: Moved to ...
78428         * sysdeps/generic/_itoa.h: Here.
78430         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
78432         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
78433         instead of "_itoa.h" and "_itowa.h".
78434         * stdio-common/vfprintf.: Likewise.
78436 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78438         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
78439         <bits/wordsize.h>.
78440         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
78441         (__signbit): Likewise.
78442         (llrintf): Likewise.
78443         (llrint): Likewise.
78445 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78447         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
78448         __WORDSIZE != 64.
78450 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
78452         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
78453         OVERFLOW_EXCEPTION_OK.
78454         * math/libm-test.inc ("Philosophy"): Update comment about
78455         exception testing.
78456         (OVERFLOW_EXCEPTION): Define.
78457         (OVERFLOW_EXCEPTION_OK): Likewise.
78458         (INVALID_EXCEPTION_OK): Renumber.
78459         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
78460         (IGNORE_ZERO_INF_SIGN): Likewise.
78461         (test_exceptions): Handle FE_OVERFLOW.
78462         (exp10_test): Expect overflow exceptions.
78463         (exp2_test): Likewise.
78464         (expm1_test): Likewise.
78465         (nextafter_test): Likewise.
78466         (pow_test): Likewise.
78467         (scalbn_test): Likewise.
78468         (scalbln_test): Likewise.
78470 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78472         * sysdeps/x86_64/bits/atomic.h
78473         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
78474         64bit integer.
78475         (atomic_exchange_acq): Likewise.
78476         (__arch_exchange_and_add_body): Likewise.
78477         (__arch_add_body): Likewise.
78478         (atomic_add_negative): Likewise.
78479         (atomic_add_zero): Likewise.
78481 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78483         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
78484         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
78486 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78488         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
78489         Check __x86_64__ instead of __WORDSIZE.
78491 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78493         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
78495 2012-03-19  David S. Miller  <davem@davemloft.net>
78497         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78499         * sysdeps/sparc/fpu/fenv_private.h: New file.
78500         * sysdeps/sparc/fpu/math_private.h: Use it.
78501         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
78502         Remove.
78503         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
78504         (libc_feholdexcept_setroundl): Remove.
78505         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
78506         Remove.
78507         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
78508         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
78510 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78512         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
78513         int64_t instead of long int.
78514         (INSERT_WORDS64): Likewise.
78516 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78518         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
78519         _Unwind_GetCFA return to _Unwind_Ptr first.
78521 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
78523         [BZ #13629]
78524         * math/s_clog.c: Include <float.h>.
78525         (__clog): Scale large or subnormal inputs.
78526         * math/s_clogf.c: Likewise.
78527         * math/s_clogl.c: Likewise.
78528         * math/s_clog10.c: Include <float.h>.
78529         (M_LOG10_2): Define.
78530         (__clog10): Scale large or subnormal inputs.
78531         * math/s_clog10f.c: Likewise.
78532         * math/s_clog10l.c: Likewise.
78533         * math/libm-test.inc (clog_test): Add more tests.
78534         (clog10_test): Likewise.
78535         * sysdeps/i386/fpu/libm-test-ulps: Update.
78536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78538         [BZ #11451]
78539         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
78540         x and y.
78541         * math/libm-test.inc (atan2_test): Add another test.
78543         * Makerules (common-objdir-compile): Remove.
78544         * sysdeps/unix/Makefile (config-generated): Do not add
78545         $(unix-generated) to variable.
78546         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
78547         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
78548         Remove rule.
78549         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
78550         Likewise.
78551         [generic bits/local_lim.h] (before-compile): Do not append to
78552         variable.
78553         [generic bits/local_lim.h] (common-generated): Likewise.
78554         [generic sys/param.h] (before-compile): Do not append to variable.
78555         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
78556         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
78557         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
78558         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
78559         include.
78560         [generic sys/param.h] (sys/param.h-includes): Remove variable.
78561         [generic sys/param.h] (sys/param.h-includes): Remove rule.
78562         [generic sys/param.h] ($(addprefix
78563         $(common-objpfx),$(sys/param.h-includes))): Likewise.
78564         [generic sys/param.h] (common-generated): Do not append to
78565         variable.
78566         [generic sys/param.h] (sysdep_headers): Likewise.
78567         [generic bits/errno.h] (before-compile): Do not append to
78568         variable.
78569         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
78570         rule.
78571         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
78572         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
78573         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
78574         [generic bits/errno.h] (common-generated): Do not append to
78575         variable.
78576         [generic bits/ioctls.h] (before-compile): Do not append to
78577         variable.
78578         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
78579         rule.
78580         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
78581         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
78582         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
78583         rule.
78584         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
78585         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
78586         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
78587         [generic bits/ioctls.h] (common-generated): Do not append to
78588         variable.
78589         [generic sys/syscall.h] (syscall.h): Remove variable.
78590         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
78591         rule.
78592         [generic sys/syscall.h] (before-compile): Do not append to
78593         variable.
78594         [generic sys/syscall.h] (common-generated): Likewise.
78595         * sysdeps/unix/errnos-tmpl.c: Remove file.
78596         * sysdeps/unix/errnos.awk: Likewise.
78597         * sysdeps/unix/ioctls-tmpl.c: Likewise.
78598         * sysdeps/unix/ioctls.awk: Likewise.
78599         * sysdeps/unix/mk-local_lim.c: Likewise.
78600         * sysdeps/unix/snarf-ioctls: Likewise.
78602 2012-03-19  Richard Henderson  <rth@twiddle.net>
78604         * sysdeps/i386/fpu/fenv_private.h: New file.
78605         * sysdeps/i386/fpu/math_private.h: Use it.
78606         (math_opt_barrier, math_force_eval): Remove.
78607         (libc_feholdexcept_setround_53bit): Remove.
78608         (libc_feupdateenv_53bit): Remove.
78609         * sysdeps/x86_64/fpu/math_private.h: Likewise.
78610         (math_opt_barrier, math_force_eval): Remove.
78611         (libc_feholdexcept): Remove.
78612         (libc_feholdexcept_setround): Remove.
78613         (libc_fetestexcept, libc_fesetenv): Remove.
78614         (libc_feupdateenv_test): Remove.
78615         (libc_feupdateenv, libc_feholdsetround): Remove.
78616         (libc_feresetround): Remove.
78618         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
78619         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
78621         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
78622         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
78623         (libc_feupdateenv_testl): New.
78624         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
78625         (libc_feupdateenv_testf): New.
78626         (libc_feupdateenv): Use libc_feupdateenv_test.
78627         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
78628         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
78630         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
78631         (libc_feholdsetroundf, libc_feholdsetroundl): New.
78632         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
78633         (libc_feresetround_noex): New.
78634         (libc_feresetround_noexf): New.
78635         (libc_feresetround_noexl): New.
78636         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
78637         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
78638         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
78639         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
78640         SET_RESTORE_ROUND.
78641         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
78642         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
78643         (__cos): Likewise.
78644         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
78645         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
78646         SET_RESTORE_ROUND_NOEX.
78647         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
78648         SET_RESTORE_ROUND_NOEXF.
78649         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
78650         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
78651         (libc_feholdsetroundf): New.
78652         (libc_feresetround, libc_feresetroundf): New.
78654         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
78655         (libc_feholdexcept_setround_53bit): Convert from macro to function.
78656         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
78658         * sysdeps/generic/math_private.h: Include <fenv.h>.
78659         (default_libc_feholdexcept): New.
78660         (default_libc_feholdexcept_setround): New.
78661         (default_libc_fesetenv, default_libc_feupdateenv): New.
78662         (libc_feholdexcept): Only define if undefined.
78663         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
78664         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
78665         (libc_feholdexcept_setroundl): Likewise.
78666         (libc_feholdexcept_setround_53bit): Likewise.
78667         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
78668         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
78669         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
78670         (libc_feupdateenv_53bit): Likewise.
78671         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
78672         (libc_feholdexcept): Convert from macro to inline function.
78673         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
78674         (libc_fesetenv, libc_feupdateenv): Likewise.
78676         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
78677         not previously defined.
78678         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
78679         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
78680         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
78681         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
78682         * sysdeps/ieee754/flt-32/math_private.h: New file.
78683         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
78684         math_private.h below SET_FLOAT_WORD.
78685         (__isnan, __isinf_ns, __finite): Remove.
78686         (__isnanf, __isinf_nsf, __finitef): Remove.
78688 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
78690         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78692 2012-03-17  David S. Miller  <davem@davemloft.net>
78694         [BZ #6471]
78695         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
78696         for 2.16.
78698 2012-03-16  David S. Miller  <davem@davemloft.net>
78700         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
78701         warnings.
78703         [BZ #6471]
78704         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
78705         properly.
78706         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
78707         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
78708         sysdep_routines when subdir is sysvipc.
78709         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
78710         __getshmlba helper.
78712         * sysdeps/sparc/fpu/libm-test/ulps: Update.
78714 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78716         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
78717         [__LP64__].
78719 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78721         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
78722         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
78723         (__lround): Renamed to ...
78724         (__llround): This.  Replace long int with long long int.
78725         Define lround functions as aliases of llround functions.
78726         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
78728 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78730         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
78731         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
78732         adresses to uintptr_t.  Replace "long int" and "unsigned long
78733         int" with "greg_t" on va_arg.
78735 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78737         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
78738         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
78740         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
78741         Move e_machine check before EI_CLASS check.  Handle x32
78742         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
78743         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
78744         SKIP_EM_IA_64 and include
78745         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
78747         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
78748         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
78749         (add_system_dir): New macro.
78751         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
78752         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
78754 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
78756         [BZ #2551]
78757         [BZ #2552]
78758         [BZ #2553]
78759         [BZ #2554]
78760         [BZ #2562]
78761         [BZ #2563]
78762         [BZ #2565]
78763         [BZ #2566]
78764         [BZ #2576]
78765         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
78766         (y0): Likewise.
78767         * math/w_j0f.c (j0f): Likewise.
78768         (y0f): Likewise.
78769         * math/w_j0l.c (__j0l): Likewise.
78770         (__y0l): Likewise.
78771         * math/w_j1.c (j1): Likewise.
78772         (y1): Likewise.
78773         * math/w_j1f.c (j1f): Likewise.
78774         (y1f): Likewise.
78775         * math/w_j1l.c (__j1l): Likewise.
78776         (__y1l): Likewise.
78777         * math/w_jn.c (jn): Likewise.
78778         (yn): Likewise.
78779         * math/w_jnf.c (jnf): Likewise.
78780         (ynf): Likewise.
78781         * math/w_jnl.c (__jnl): Likewise.
78782         (__ynl): Likewise.
78783         * math/libm-test.inc (j0_test): Add more tests.
78784         (j1_test): Likewise.
78785         (jn_test): Likewise.  Add trailing semicolon to existing test.
78786         (y0_test): Likewise.
78787         (y1_test): Likewise.
78788         * sysdeps/i386/fpu/libm-test-ulps: Update.
78789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78791         [BZ #13851]
78792         [BZ #13854]
78793         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
78794         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
78795         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
78796         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
78797         (__tanl): Set errno for infinite argument.
78798         * sysdeps/i386/fpu/mptan.c: Remove.
78799         * sysdeps/i386/fpu/s_tan.S: Likewise.
78800         * sysdeps/i386/fpu/s_tanl.S: Likewise.
78801         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
78802         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
78803         * math/libm-test.inc (tan_test): Add more tests and enable more
78804         tests for double and long double.
78805         * sysdeps/i386/fpu/libm-test-ulps: Update.
78806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78808 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
78810         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
78811         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
78813 2012-03-16  Roland McGrath  <roland@hack.frob.com>
78815         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
78816         * configure.in: Use it for both main tree and add-ons.
78817         * configure: Regenerated.
78819 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78821         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
78823 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
78825         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
78826         in comment.
78828         [BZ #13851]
78829         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
78830         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
78831         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
78832         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
78833         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
78834         infinite argument.
78835         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
78836         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
78837         != 0 for prec == 2.
78838         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
78839         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
78840         * sysdeps/i386/fpu/s_cosl.S: Likewise.
78841         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
78842         * sysdeps/i386/fpu/s_sinl.S: Likewise.
78843         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
78844         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
78845         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
78846         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
78847         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
78848         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
78849         * math/libm-test.inc (cos_test): Add more tests and enable more
78850         tests for long double.
78851         (sin_test): Likewise.
78852         (sincos_test): Likewise.
78853         * sysdeps/i386/fpu/libm-test-ulps: Update.
78854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78856 2012-03-16  David S. Miller  <davem@davemloft.net>
78858         * sysdeps/sparc/fpu/math_private.h: New file.
78860 2012-03-15  David S. Miller  <davem@davemloft.net>
78862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
78863         file.
78864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
78865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
78866         file.
78867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
78868         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
78869         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
78870         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
78871         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
78872         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
78873         sysdep routines.
78874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
78876         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
78877         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
78879         * sysdeps/sparc/sparc-ifunc.h: New file.
78880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
78881         sparc-ifunc.h
78882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
78883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
78884         Likewise.
78885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
78886         Likewise.
78887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
78888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
78889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
78890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
78891         Likewise.
78892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
78893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
78894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
78895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
78896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
78897         Likewise.
78898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
78899         Likewise.
78900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
78901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
78902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
78903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
78904         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
78905         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
78906         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
78907         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
78908         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
78909         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
78910         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
78911         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
78912         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
78913         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
78914         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
78915         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
78916         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
78917         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
78918         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
78919         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
78920         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
78921         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
78922         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
78923         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
78925 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
78927         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
78928         scaling.
78929         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78931 2012-03-15  Andreas Jaeger  <aj@suse.de>
78933         [BZ #13852]
78934         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
78935         ieee754/flt-32 implementation for sin, cos and sincos.
78936         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
78937         * sysdeps/i386/fpu/s_cosf.S: Likewise.
78938         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
78939         * sysdeps/i386/fpu/s_sinf.S: Likewise.
78940         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
78941         ieee754/flt-32 implementation for tan.
78943         * math/libm-test.inc (cos_test): Enable some large input tests for
78944         float as well
78945         (sin_test): Likewise.
78946         (sincos_test): Likewise.
78947         (tan_test): Add tests for large input.
78949         * sysdeps/i386/fpu/libm-test-ulps: Update.
78951 2012-03-15  Andreas Jaeger  <aj@suse.de>
78953         [BZ #13658]
78954         * math/libm-test.inc (cos_test): Add more test cases.
78955         (sin_test): Likewise.
78956         (sincos_test): Likewise.
78958 2012-03-15  Andreas Jaeger  <aj@suse.de>
78960         [BZ #13837]
78961         * math/libm-test.inc (cos_test): Add a test case for large input
78962         value.
78963         (sin_test): Likewise.
78964         (sincos_test): Likewise.
78966 2012-03-15  Andreas Jaeger  <aj@suse.de>
78967             Joseph Myers  <joseph@codesourcery.com>
78969         [BZ #13658]
78970         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
78971         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
78972         * sysdeps/i386/fpu/branred.c: Likewise.
78973         * sysdeps/i386/fpu/dosincos.c: Likewise.
78974         * sysdeps/i386/fpu/mpa.c: Likewise.
78975         * sysdeps/i386/fpu/s_cos.S: Likewise.
78976         * sysdeps/i386/fpu/s_sin.S: Likewise.
78977         * sysdeps/i386/fpu/s_sincos.S: Likewise.
78978         * sysdeps/i386/fpu/sincos32.c: Likewise.
78980         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
78981         Define.
78982         (libc_feupdateenv_53bit): Define.
78983         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
78984         Define.
78985         (libc_feupdateenv_53bit): Define.
78987         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
78988         53 bit (without extend i386 double precision).
78990         * math/libm-test.inc (sincos_test): Add tests for large input.
78991         (sin): Likewise.
78992         (cos): Likewise.
78994         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
78996 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
78998         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79000 2012-03-15  David S. Miller  <davem@davemloft.net>
79002         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
79003         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
79004         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
79005         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
79006         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
79007         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
79008         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
79009         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
79010         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
79011         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
79012         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
79013         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
79014         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
79015         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
79016         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
79017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
79018         file.
79019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
79020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
79021         file.
79022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
79023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
79024         file.
79025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
79026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
79027         file.
79028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
79029         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
79030         fmin/fmax sysdep routines.
79031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
79033 2012-03-14  David S. Miller  <davem@davemloft.net>
79035         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
79036         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
79037         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
79038         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
79039         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
79040         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
79041         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
79042         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
79043         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
79044         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
79045         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
79046         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
79047         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
79048         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
79049         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
79050         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
79051         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
79052         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
79053         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
79054         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
79055         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
79056         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
79057         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
79058         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
79059         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
79060         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
79061         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
79062         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
79063         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
79064         routines.
79065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
79066         file.
79067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
79068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
79069         file.
79070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
79071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
79072         file.
79073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
79074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
79075         file.
79076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
79077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
79078         file.
79079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
79080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
79081         file.
79082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
79083         file.
79084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
79085         file.
79086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
79087         file.
79088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
79089         New file.
79090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
79091         file.
79092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
79093         file.
79094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
79095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
79096         file.
79097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
79098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
79099         file.
79100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
79101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
79102         file.
79103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
79104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
79105         VIS3 routines.
79107         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
79108         New file.
79110         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79112         * sysdeps/sparc/configure.in: New file.
79113         * sysdeps/sparc/configure: Generate.
79114         * configure.in (libc_cv_sparc_as_vis3): Substitute.
79115         * configure: Regenerate.
79116         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
79117         * config.make.in (have-as-vis3): New.
79118         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
79119         available use -Av9d instead of -Av9a.
79120         * sysdeps/sparc/sparc64/Makefile: Likewise.
79121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
79122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
79123         New file.
79124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
79125         file.
79126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
79127         New file.
79128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
79129         file.
79130         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
79131         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
79132         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
79133         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
79134         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
79136         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
79137         fzeros/fnegs to load 0x80000000 into a float register instead of
79138         using the stack.
79139         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
79141 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
79143         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79144         bits/syscall.h.
79145         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
79146         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
79147         ($(inst_includedir)/bits/syscall.h): Remove rule.
79148         ($(objpfx)bits/syscall.d): Include instead of
79149         $(objpfx)syscall-list.d.
79150         (generated): Change syscall-list.h and syscall-list.d to
79151         bits/syscall.h and bits/syscall.d.
79153 2012-03-14  Roland McGrath  <roland@hack.frob.com>
79155         [BZ #13846]
79156         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
79158 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
79160         [BZ #13841]
79161         * math/s_csqrt.c: Include <float.h>.
79162         (__csqrt): Scale large or subnormal inputs.
79163         * math/s_csqrtf.c: Likewise.
79164         * math/s_csqrtl.c: Likewise.
79165         * math/libm-test.inc (csqrt_test): Add more tests.
79166         * sysdeps/i386/fpu/libm-test-ulps: Update.
79167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79169         [BZ #13840]
79170         * math/libm-test.inc (hypot_test): Add more tests.
79172 2012-03-13  David S. Miller  <davem@davemloft.net>
79174         [BZ #13840]
79175         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
79176         double-precision for the calculation instead of scaling.
79178 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
79180         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
79181         manipulate bits before adding and subtracting TWO52[sx].
79182         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
79183         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
79184         Likewise.
79185         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
79187 2012-03-13  David S. Miller  <davem@davemloft.net>
79189         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
79190         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
79191         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
79192         rtld-global-offsets.h
79193         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
79195         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
79196         large parameters.
79198         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
79200         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
79201         'err' in the ifdef scope in which it is actually used.
79203         * nss/nss_db/db-init.c: Include string.h
79205 2012-03-12  David S. Miller  <davem@davemloft.net>
79207         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
79208         masking out of the most significant byte of random value used.
79209         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79210         Fix coding style in previous change.
79212         * sysdeps/unix/sysv/linux/kernel-features.h
79213         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
79214         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
79215         expression.
79216         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
79217         later.
79219 2012-03-11  David S. Miller  <davem@davemloft.net>
79221         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
79222         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
79223         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
79224         for 'resultvar' otherwise things get truncated on 64-bit.
79226         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79227         Fix masking out of the most significant byte of random value used.
79229         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79231 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
79233         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79235 2012-03-09  David S. Miller  <davem@davemloft.net>
79237         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
79238         variables with appropriate CPP guards.
79239         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
79240         from the frame pointer, not the stack pointer.  Correct layout
79241         comments.  Fix test on resulting framesize and the management of
79242         the outregs buffer for pltexit.  Preserve floating point return
79243         values across _dl_call_pltexit call.
79244         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
79245         framesize and the management of the outregs buffer for pltexit.
79246         Preserve floating point return values across _dl_call_pltexit
79247         call.
79248         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
79249         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
79250         (la_sparc64_gnu_pltexit): New functions.
79251         (print_exit): Fix format string for return register value.
79253 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
79255         * sunrpc/Makefile (others): Add rpcgen.
79256         ($(objpfx)rpcgen): Remove special build rule and dependency on
79257         libc.
79258         * sunrpc/rpcgen.c: New file.
79260 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
79262         [BZ #13673]
79263         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
79264         * stdio-common/bug-vfprintf-nargs.c: Likewise.
79265         * sysdeps/i386/crti.S: Likewise.
79266         * sysdeps/i386/crtn.S: Likewise.
79267         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
79268         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
79269         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
79270         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
79271         * sysdeps/sh/crti.S: Likewise.
79272         * sysdeps/sh/crtn.S: Likewise.
79273         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
79275         [BZ #13673]
79276         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
79277         with URL.
79278         * locale/programs/locfile-kw.gperf: Likewise.
79279         * locale/programs/charmap-kw.h: Regenerated.
79280         * locale/programs/locfile-kw.h: Likewise.
79282         [BZ #13673]
79283         * intl/plural.y: Replace FSF snail mail address with URL.
79284         * intl/plural.c: Regenerated.
79286 2012-03-09  Richard Henderson  <rth@twiddle.net>
79288         * include/math_private.h: Remove file.
79289         * math/math_private.h: Move file ...
79290         * sysdeps/generic/math_private.h: ... here.
79292         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
79293         * sysdeps/powerpc/fpu/math_private.h: Likewise.
79294         * sysdeps/x86_64/fpu/math_private.h: Likewise.
79296         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
79297         and <math_private.h>.
79298         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
79299         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
79300         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
79301         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
79302         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
79303         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
79304         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
79305         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79306         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
79307         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
79308         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79309         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
79310         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
79311         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79312         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
79313         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
79314         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
79315         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
79316         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
79317         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
79318         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79319         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
79320         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
79321         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79322         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
79323         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
79324         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
79325         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
79326         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79327         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
79328         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
79329         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79330         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
79331         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
79332         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
79333         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
79334         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
79335         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
79336         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
79337         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79338         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
79339         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
79340         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
79341         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
79342         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
79343         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
79344         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
79345         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
79346         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
79347         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
79348         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
79349         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
79350         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
79351         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
79352         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
79353         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
79354         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79355         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
79356         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
79357         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
79358         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
79359         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
79360         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79361         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
79362         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
79363         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
79364         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
79365         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
79366         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
79367         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
79368         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
79369         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79370         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
79371         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79372         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
79373         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
79374         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
79375         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
79376         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
79377         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
79378         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
79379         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
79380         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
79381         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
79382         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
79383         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
79384         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
79385         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
79386         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
79387         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
79388         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
79389         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
79390         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79391         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
79392         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
79393         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
79394         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
79395         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
79396         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
79397         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
79398         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
79399         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
79400         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
79401         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
79402         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
79403         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
79404         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
79405         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
79406         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
79407         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
79408         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
79409         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
79410         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
79411         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
79412         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
79413         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79414         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
79415         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
79416         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
79417         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
79418         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
79419         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
79420         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79421         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
79422         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
79423         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
79424         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
79425         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
79426         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
79427         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
79428         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
79429         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
79430         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
79431         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
79432         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
79433         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
79434         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
79435         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
79436         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
79437         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
79438         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79439         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
79440         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
79441         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
79442         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
79443         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
79444         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
79445         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
79446         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
79447         * sysdeps/ieee754/k_standard.c: Likewise.
79448         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
79449         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
79450         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
79451         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
79452         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
79453         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
79454         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
79455         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
79456         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
79457         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
79458         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
79459         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
79460         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
79461         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
79462         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
79463         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
79464         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
79465         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
79466         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
79467         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
79468         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
79469         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
79470         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
79471         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
79472         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
79473         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
79474         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
79475         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
79476         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
79477         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
79478         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
79479         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
79480         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
79481         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
79482         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
79483         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
79484         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
79485         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
79486         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
79487         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
79488         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
79489         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
79490         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
79491         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
79492         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
79493         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
79494         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
79495         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
79496         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
79497         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
79498         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
79499         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
79500         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
79501         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
79502         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
79503         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
79504         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
79505         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
79506         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
79507         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
79508         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
79509         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
79510         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
79511         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
79512         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
79513         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
79514         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
79515         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
79516         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
79517         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
79518         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
79519         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
79520         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
79521         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
79522         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
79523         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
79524         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
79525         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
79526         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
79527         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
79528         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
79529         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
79530         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
79531         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
79532         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
79533         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
79534         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
79535         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
79536         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79537         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
79538         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
79539         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
79540         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
79541         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
79542         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
79543         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
79544         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
79545         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
79546         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
79547         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
79548         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
79549         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
79550         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
79551         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
79552         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
79553         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
79554         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
79555         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
79556         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
79557         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
79558         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
79559         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
79560         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
79561         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
79562         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
79563         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
79564         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
79565         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
79566         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
79567         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
79568         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
79569         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
79570         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
79571         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
79572         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
79573         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
79574         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
79575         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
79576         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
79577         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
79578         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
79579         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
79580         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
79581         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
79582         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
79583         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
79584         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
79585         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
79586         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
79587         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
79588         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
79589         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
79590         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
79591         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
79592         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
79593         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
79594         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
79595         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
79596         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
79597         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
79598         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
79599         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
79600         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
79601         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
79602         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
79603         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
79604         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
79605         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
79606         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
79607         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
79608         * sysdeps/ieee754/s_lib_version.c: Likewise.
79609         * sysdeps/ieee754/s_matherr.c: Likewise.
79610         * sysdeps/ieee754/s_signgam.c: Likewise.
79611         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
79612         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
79613         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
79614         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
79615         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
79616         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
79617         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
79618         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
79619         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
79620         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
79621         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
79622         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
79623         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
79624         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
79625         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
79626         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
79627         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
79628         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
79629         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
79630         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
79631         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
79633 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
79635         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
79636         * sunrpc/rpc_main.c: Likewise.
79637         * sunrpc/rpc_svcout.c: Likewise.
79639 2012-03-09  David S. Miller  <davem@davemloft.net>
79641         * include/math_private.h: New file.
79643 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
79645         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
79646         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
79647         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
79648         from <bits/socket_type.h>.
79649         (enum __socket_type): Don't define here.
79650         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
79651         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79652         bits/socket_type.h.
79654         [BZ #13566]
79655         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
79656         checking __USE_GNU.
79658         * Makerules ($(inst_includedir)/%.h): New rule.
79659         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
79660         (install-others): Remove variable setting.
79661         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
79663 2012-03-08  Richard Henderson  <rth@twiddle.net>
79665         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
79666         from macro to inline function; merge with the
79667         !__LIBC_INTERNAL_MATH_INLINES version.
79668         (__ieee754_sqrtf): Likewise.
79670         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
79671         to inline function.
79672         (__rintf, __floor, __floorf): Likewise.
79674         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
79675         macro to inline function.
79676         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
79678         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
79679         not <math/math_private.h>.
79681 2012-03-08  David S. Miller  <davem@davemloft.net>
79683         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
79684         copyright year.
79685         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
79687 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
79689         * resolv/gai_misc.c (handle_requests): Fix struct timespec
79690         normalization.
79691         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
79692         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
79694 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
79696         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
79697         be defined individually, they must be defined as a block.  Define
79698         S for printing a string instead of hidint the different by using a
79699         macro for adding the 'l'.
79700         * stdio-common/tst-fphex-wide.c: Adjust.
79702 2012-03-07  Marek Polacek  <polacek@redhat.com>
79704         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
79706 2012-03-08  Marek Polacek  <polacek@redhat.com>
79708         [BZ #13806]
79709         * stdio-common/Makefile (tests): Add tst-fphex-wide.
79710         * stdio-common/tst-fphex.c: Define a few macros to make the
79711         test reusable.  Use them.
79712         * stdio-common/tst-fphex-wide.c: New file.
79714 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
79716         [BZ #6911]
79717         * manual/macros.texi (gnusystems): New macro.
79718         (nongnusystems): Likewise.
79719         (gnulinuxhurdsystems): Likewise.
79720         (gnuhurdsystems): Likewise..
79721         (gnulinuxsystems): Likewise.
79722         * manual/charset.texi: Use new macros or @theglibc{} to refer to
79723         variants of the GNU system, not "GNU system".
79724         * manual/conf.texi: Likewise.
79725         * manual/errno.texi: Likewise.  Update example of errno macro
79726         expansion.
79727         * manual/filesys.texi: Likewise.
79728         (getumask): Document as specific to GNU/Hurd.
79729         * manual/install.texi: Likewise.  Reword some references to
79730         GNU/Linux.
79731         * manual/intro.texi: Likewise.
79732         * manual/io.texi: Likewise.
79733         (File Name Portability): Detail which constraints are inapplicable
79734         to all GNU systems and which are only inapplicable to GNU/Hurd.
79735         * manual/job.texi: Likewise.
79736         * manual/llio.texi: Likewise.
79737         (O_NOCTTY): Document as present on GNU/Linux.
79738         * manual/maint.texi: Likewise.
79739         * manual/memory.texi: Likewise.
79740         * manual/pattern.texi: Likewise.
79741         * manual/pipe.texi: Likewise.
79742         * manual/process.texi: Likewise.
79743         * manual/resource.texi: Likewise.
79744         (RUSAGE_CHILDREN): Remove statement about specifying a particular
79745         child on GNU/Hurd.
79746         * manual/setjmp.texi: Likewise.
79747         * manual/signal.texi: Likewise.
79748         * manual/startup.texi: Likewise.
79749         * manual/stdio.texi: Likewise.
79750         * manual/terminal.texi: Likewise.
79751         (ONLCR): Document as POSIX.
79752         (OXTABS): Document availability on GNU/Linux as XTABS.
79753         (ONOEOT): Document availability separately from other bits.
79754         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
79755         * manual/time.texi: Likewise.
79756         * manual/users.texi: Likewise.
79757         * INSTALL: Regenerated.
79758         * sysdeps/gnu/errlist.c: Regenerated.
79760         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
79761         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
79762         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
79763         puts.
79764         * configure: Regenerated.
79766 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
79768         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
79769         default includes instead of AC_HEADER_CHECK.
79770         * sysdeps/i386/configure: Regenerated.
79772         [BZ #10716]
79773         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
79774         * math/s_cacoshf.c (__cacoshf): Likewise.
79775         * math/s_cacoshl.c (__cacoshl): Likewise.
79776         * math/s_casinh.c (__casinh): Set signs of result from argument.
79777         * math/s_casinhf.c (__casinhf): Likewise.
79778         * math/s_casinhl.c (__casinhl): Likewise.
79779         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
79780         (casinh_test): Add more tests.
79781         * sysdeps/i386/fpu/libm-test-ulps: Update.
79782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79784 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
79786         * po/zh_TW.po: Update from translation team.
79788         * login/Makefile (distribute): Remove variable.
79789         * catgets/Makefile: Likewise.
79790         * mach/Makefile: Likewise.
79791         * malloc/Makefile: Likewise.
79792         * misc/Makefile: Likewise.
79793         * iconv/Makefile: Likewise.
79794         * nscd/Makefile: Likewise.
79795         * hurd/Makefile: Likewise.
79796         * manual/Makefile: Likewise.
79797         * locale/Makefile: Likewise.
79798         * intl/Makefile: Likewise.
79799         * conform/Makefile: Likewise.
79800         * nss/Makefile: Likewise.
79801         * time/Makefile: Likewise.
79802         * soft-fp/Makefile: Likewise.
79803         * dirent/Makefile: Likewise.
79804         * gmon/Makefile: Likewise.
79805         * po/Makefile: Likewise.
79806         * rt/Makefile: Likewise.
79807         * socket/Makefile: Likewise.
79808         * math/Makefile: Likewise.
79809         * signal/Makefile: Likewise.
79810         * debug/Makefile: Likewise.
79811         * elf/Makefile: Likewise.
79812         * timezone/Makefile: Likewise.
79813         * stdlib/Makefile: Likewise.
79814         * iconvdata/Makefile: Likewise.
79815         * sunrpc/Makefile: Likewise.
79816         * io/Makefile: Likewise.
79817         * argp/Makefile: Likewise.
79818         * inet/Makefile: Likewise.
79819         * hesiod/Makefile: Likewise.
79820         * grp/Makefile: Likewise.
79821         * csu/Makefile: Likewise.
79822         * wctype/Makefile: Likewise.
79823         * crypt/Makefile: Likewise.
79824         * libio/Makefile: Likewise.
79825         * string/Makefile: Likewise.
79826         * nis/Makefile: Likewise.
79827         * resolv/Makefile: Likewise.
79828         * stdio-common/Makefile: Likewise.
79829         * wcsmbs/Makefile: Likewise.
79830         * dlfcn/Makefile: Likewise.
79831         * posix/Makefile: Likewise.
79833         [BZ #6959]
79834         * timezone/Makefile: Don't install timezone files, just the programs
79835         and scripts.
79837 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
79839         * nss/databases.def: Add missing gshadow entry.
79841         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
79843 2012-03-06  Marek Polacek  <polacek@redhat.com>
79845         [BZ #13726]
79846         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
79847         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
79848         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
79849         * stdio-common/tst-long-dbl-fphex.c: New file.
79851 2012-03-06  David S. Miller  <davem@davemloft.net>
79853         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
79854         (set_obp_int): New function.
79855         (get_obp_int): New function.
79856         (__get_clockfreq_via_dev_openprom): Likewise.
79857         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
79858         Avoid unused variable warnings on 'val' and use builtin_expect.
79859         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
79860         __builtin_expect.
79861         (INLINE_CLONE_SYSCALL): Likewise.
79863 2012-03-05  David S. Miller  <davem@davemloft.net>
79865         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79867 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
79869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79871         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
79872         only for |x| >= 40.
79873         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
79875 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
79877         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
79878         Replace gettimeofday with __vdso_gettimeofday.
79880         * sysdeps/unix/sysv/linux/x86_64/init-first.c
79881         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
79882         __vdso_clock_gettime and __vdso_getcpu.
79884         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
79885         time with __vdso_time.
79887 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
79889         * manual/lang.texi (size_t): Note types to which size_t may be
79890         equivalent with the GNU C Library, but do not describe when
79891         differences between them are significant.
79893 2012-03-05  Andreas Jaeger  <aj@suse.de>
79895         * sysdeps/i386/fpu/libm-test-ulps: Update.
79897 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
79899         [BZ #3976]
79900         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
79901         (__ieee754_pow): Save and restore rounding mode and use
79902         round-to-nearest for main computations.
79903         * math/libm-test.inc (pow_test_tonearest): New function.
79904         (pow_test_towardzero): Likewise.
79905         (pow_test_downward): Likewise.
79906         (pow_test_upward): Likewise.
79907         (main): Call the new functions.
79908         * sysdeps/i386/fpu/libm-test-ulps: Update.
79909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79911         [BZ #3976]
79912         * math/libm-test.inc (cosh_test_tonearest): New function.
79913         (cosh_test_towardzero): Likewise.
79914         (cosh_test_downward): Likewise.
79915         (cosh_test_upward): Likewise.
79916         (sinh_test_tonearest): Likewise.
79917         (sinh_test_towardzero): Likewise.
79918         (sinh_test_downward): Likewise.
79919         (sinh_test_upward): Likewise.
79920         (main): Call the new functions.
79921         * sysdeps/i386/fpu/libm-test-ulps: Update.
79922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79924 2012-03-05  Tom de Vries  <tom@codesourcery.com>
79926         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
79927         default stack guard is set in last bytes.
79928         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
79930 2012-03-05  Kees Cook  <keescook@chromium.org>
79932         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
79934         [BZ #13656]
79935         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
79936         possibly allocate from heap instead of stack.
79937         * stdio-common/bug-vfprintf-nargs.c: New file.
79938         * stdio-common/Makefile (tests): Add nargs overflow test.
79940 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
79942         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79944 2012-03-03  Marek Polacek  <polacek@redhat.com>
79946         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
79947         * math/math_private.h: Likewise.
79948         * stdlib/tst-strtod.c: Likewise.
79949         * sysdeps/i386/i486/bits/atomic.h: Likewise.
79950         * sysdeps/x86_64/bits/atomic.h: Likewise.
79952 2012-03-02  David S. Miller  <davem@davemloft.net>
79954         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
79955         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
79956         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
79957         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
79958         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
79959         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
79960         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
79961         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
79963 2012-03-02  Roland McGrath  <roland@hack.frob.com>
79965         [BZ #13792]
79966         * manual/examples/README: New file, says the example source files
79967         can be used under GPL>=2.
79968         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
79969         line containing just "*/".
79970         * manual/examples/add.c: Add copyright header (GPL>=2).
79971         * manual/examples/argp-ex1.c: Likewise.
79972         * manual/examples/argp-ex2.c: Likewise.
79973         * manual/examples/argp-ex3.c: Likewise.
79974         * manual/examples/argp-ex4.c: Likewise.
79975         * manual/examples/atexit.c: Likewise.
79976         * manual/examples/db.c: Likewise.
79977         * manual/examples/dir.c: Likewise.
79978         * manual/examples/dir2.c: Likewise.
79979         * manual/examples/execinfo.c: Likewise.
79980         * manual/examples/filecli.c: Likewise.
79981         * manual/examples/filesrv.c: Likewise.
79982         * manual/examples/fmtmsgexpl.c: Likewise.
79983         * manual/examples/genpass.c: Likewise.
79984         * manual/examples/inetcli.c: Likewise.
79985         * manual/examples/inetsrv.c: Likewise.
79986         * manual/examples/isockad.c: Likewise.
79987         * manual/examples/longopt.c: Likewise.
79988         * manual/examples/memopen.c: Likewise.
79989         * manual/examples/memstrm.c: Likewise.
79990         * manual/examples/mkfsock.c: Likewise.
79991         * manual/examples/mkisock.c: Likewise.
79992         * manual/examples/mygetpass.c: Likewise.
79993         * manual/examples/pipe.c: Likewise.
79994         * manual/examples/popen.c: Likewise.
79995         * manual/examples/rprintf.c: Likewise.
79996         * manual/examples/search.c: Likewise.
79997         * manual/examples/select.c: Likewise.
79998         * manual/examples/setjmp.c: Likewise.
79999         * manual/examples/sigh1.c: Likewise.
80000         * manual/examples/sigusr.c: Likewise.
80001         * manual/examples/stpcpy.c: Likewise.
80002         * manual/examples/strdupa.c: Likewise.
80003         * manual/examples/strftim.c: Likewise.
80004         * manual/examples/strncat.c: Likewise.
80005         * manual/examples/subopt.c: Likewise.
80006         * manual/examples/swapcontext.c: Likewise.
80007         * manual/examples/termios.c: Likewise.
80008         * manual/examples/testopt.c: Likewise.
80009         * manual/examples/testpass.c: Likewise.
80010         * manual/examples/timeval_subtract.c: Likewise.
80012         [BZ #13792]
80013         * manual/time.texi (Elapsed Time): Move timeval_subtract example
80014         function to ...
80015         * manual/timeval_subtract.c.texi: ... here, new file.
80017 2012-03-02  David S. Miller  <davem@davemloft.net>
80019         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
80021 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
80023         [BZ #3976]
80024         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
80025         (__sin): Save and restore rounding mode and use round-to-nearest
80026         for all computations.
80027         (__cos): Save and restore rounding mode and use round-to-nearest
80028         for all computations.
80029         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
80030         <fenv.h>.
80031         (tan): Save and restore rounding mode and use round-to-nearest for
80032         all computations.
80033         * math/libm-test.inc (cos_test_tonearest): New function.
80034         (cos_test_towardzero): Likewise.
80035         (cos_test_downward): Likewise.
80036         (cos_test_upward): Likewise.
80037         (sin_test_tonearest): Likewise.
80038         (sin_test_towardzero): Likewise.
80039         (sin_test_downward): Likewise.
80040         (sin_test_upward): Likewise.
80041         (tan_test_tonearest): Likewise.
80042         (tan_test_towardzero): Likewise.
80043         (tan_test_downward): Likewise.
80044         (tan_test_upward): Likewise.
80045         (main): Call the new functions.
80046         * sysdeps/i386/fpu/libm-test-ulps: Update.
80047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80049         [BZ #10135]
80050         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
80051         small n, then large n, before computing and testing k+n.
80052         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
80053         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
80054         Likewise.
80055         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
80056         Likewise.
80057         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
80058         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
80059         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
80060         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
80061         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
80062         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
80063         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
80064         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
80065         * math/libm-test.inc (scalbn_test): Add more tests.
80066         (scalbln_test): Likewise.
80068         * manual/filesys.texi (mode_t): Describe constraints on size and
80069         signedness, not exact equivalence to a particular type.
80070         (ino_t): Likewise.
80071         (ino64_t): Likewise.
80072         (dev_t): Likewise.
80073         (nlink_t): Likewise.
80074         (blkcnt_t): Likewise.
80075         (blkcnt64_t): Likewise.
80076         * manual/llio.texi (off_t): Likewise.
80078         [BZ #3976]
80079         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
80080         (__ieee754_exp): Save and restore rounding mode and use
80081         round-to-nearest for all computations.
80082         * math/libm-test.inc (exp_test_tonearest): New function.
80083         (exp_test_towardzero): Likewise.
80084         (exp_test_downward): Likewise.
80085         (exp_test_upward): Likewise.
80086         (main): Call the new functions.
80087         * sysdeps/i386/fpu/libm-test-ulps: Update.
80088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80090 2012-03-01  Chris Demetriou  <cgd@google.com>
80092         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
80093         have predictable order.
80095 2012-03-01  David S. Miller  <davem@davemloft.net>
80097         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
80099         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
80100         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
80101         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
80102         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
80104         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
80105         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
80106         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
80107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
80108         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
80109         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
80110         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
80111         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
80112         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
80114         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80116         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
80117         * sysdeps/sparc/fpu/libm-test-ulps: to here.
80118         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
80120         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
80121         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
80122         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
80123         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
80124         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
80125         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
80126         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
80127         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
80128         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
80129         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
80130         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
80131         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80132         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
80133         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
80134         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
80135         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80136         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
80137         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
80138         * sysdeps/sparc/elf/configure: Regenerated.
80140 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
80142         * configure.in (AS, LD): Require binutils 2.20 or later.
80143         * configure: Regenerated.
80144         * manual/install.texi (Tools for Compilation): Give binutils 2.20
80145         as required minimum version.
80146         * INSTALL: Regenerated.
80148         [BZ #2541]
80149         [BZ #4108]
80150         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
80151         before squaring exponent.
80152         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
80153         bottom long double and 27 bits of top long double before squaring
80154         exponent.
80155         * math/libm-test.inc (erfc_test): Add more tests.
80156         * sysdeps/i386/fpu/libm-test-ulps: Update.
80157         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
80158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80160 2012-03-01  Kai Tietz  <ktietz@redhat.com>
80162         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
80163         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
80164         containing bit-fields.
80165         * soft-fp/extended.h (_FP_UNION_E): Likewise.
80166         * soft-fp/single.h (_FP_UNION_S): Likewise.
80167         * soft-fp/double.h (_FP_UNION_D): Likewise.
80169 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
80171         [BZ #13786]
80172         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
80173         not include ../strcmp.S.
80174         [USE_AS_STRNCASECMP_L]: Likewise.
80175         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
80176         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
80177         * sysdeps/i386/i686/multiarch/strncase_l-c.c
80178         (__strncasecmp_l_ia32): Define as alias to
80179         __strncasecmp_l_nonascii.
80181         [BZ #5794]
80182         * math/libm-test.inc (expm1_test): Add test for bug 5794.
80183         * sysdeps/i386/fpu/libm-test-ulps: Update.
80184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80186         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
80187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80189 2012-02-29  Jeff Law  <law@redhat.com>
80191         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
80192         out of bounds read.
80194 2012-02-29  Marek Polacek  <polacek@redhat.com>
80196         [BZ #13706]
80197         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
80198         * elf/Makefile: Add rules to run tst-unused-dep.out.
80200 2012-02-28  David S. Miller  <davem@davemloft.net>
80202         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
80203         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
80204         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
80205         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
80206         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
80207         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
80209 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
80211         * math/libm-test.inc (llround_test): Move one test from
80212         lround_test.  Use TEST_f_L in moved test.
80213         (lround_test): Move misplaced test to llround_test.  Add testcase
80214         from bug 2561.
80216 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
80218         * sysdeps/x86_64/fpu/e_expf.S: New file.
80219         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
80221 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
80223         [BZ #13637]
80224         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
80225         of remain_len that may cause incomplete multi-byte character and
80226         false match.
80227         * posix/bug-regex33.c: New file.
80228         * posix/Makefile (tests): Add bug-regex33.
80230 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
80232         * manual/macros.texi: New file.
80233         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
80234         * manual/libc.texinfo: Include macros.texi.
80235         * manual/creatute.texi: Likewise.
80236         * manual/install.texi: Likewise.
80237         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
80238         @glibcadj{} in references to the GNU C Library.
80239         * manual/charset.texi: Likewise.
80240         * manual/conf.texi: Likewise.
80241         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
80242         when not using those macros.
80243         * manual/creature.texi: Likewise.
80244         * manual/crypt.texi: Likewise.
80245         * manual/errno.texi: Likewise.
80246         * manual/filesys.texi: Likewise.
80247         * manual/header.texi: Likewise.
80248         * manual/install.texi: Likewise.
80249         * manual/intro.texi: Likewise.
80250         * manual/io.texi: Likewise.
80251         * manual/job.texi: Likewise.
80252         * manual/lang.texi: Likewise.
80253         * manual/libc.texiinfo: Likewise.
80254         * manual/llio.texi: Likewise.
80255         * manual/locale.texi: Likewise.
80256         * manual/maint.texi: Likewise.
80257         * manual/math.texi: Likewise.
80258         * manual/memory.texi: Likewise.
80259         * manual/message.texi: Likewise.
80260         * manual/nss.texi: Likewise.
80261         * manual/pattern.texi: Likewise.
80262         * manual/process.texi: Likewise.
80263         * manual/resource.texi: Likewise.
80264         * manual/search.texi: Likewise.
80265         * manual/setjmp.texi: Likewise.
80266         * manual/signal.texi: Likewise.
80267         * manual/socket.texi: Likewise.
80268         * manual/startup.texi: Likewise.
80269         * manual/stdio.texi: Likewise.
80270         * manual/string.texi: Likewise.
80271         * manual/sysinfo.texi: Likewise.
80272         * manual/syslog.texi: Likewise.
80273         * manual/terminal.texi: Likewise.
80274         * manual/time.texi: Likewise.
80275         * manual/users.texi: Likewise.
80276         * INSTALL: Regenerated.
80277         * NOTES: Regenerated.
80278         * sysdeps/gnu/errlist.c: Regenerated.
80280 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
80282         * include/dirent.h: Include <dirstream.h> before
80283         <dirent/dirent.h>.
80285 2012-02-28  David S. Miller  <davem@davemloft.net>
80287         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
80288         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
80289         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
80290         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
80292 2012-02-27  David S. Miller  <davem@davemloft.net>
80294         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
80295         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
80296         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
80297         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
80299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
80300         frame pointer instead of stack pointer relative arg slot.
80301         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
80302         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
80303         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
80305 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
80307         [BZ #3992]
80308         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
80310 2012-02-27  David S. Miller  <davem@davemloft.net>
80312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
80313         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
80314         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
80315         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
80316         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
80317         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
80318         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
80319         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
80321 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
80323         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
80324         later.  Allow versions 5-9.
80325         * configure: Regenerated.
80326         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
80327         required minimum version and 4.6 as recommended version.  Do not
80328         mention bugs in GCC 2.7 and 2.8.
80329         * INSTALL: Regenerated.
80331 2012-02-27  David S. Miller  <davem@davemloft.net>
80333         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
80334         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
80335         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
80336         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
80337         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
80338         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
80339         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
80340         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
80342         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
80343         manipulate bits before adding and subtracting TWO112[sx].
80344         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
80346 2012-02-27  Roland McGrath  <roland@hack.frob.com>
80348         [BZ #13775]
80349         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
80350         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
80351         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
80352         being in POSIX, because they are in 1003.1-2008.
80354         * rt/tst-aio.c: Include <fcntl.h>.
80355         * rt/tst-aio7.c: Likewise.
80356         * rt/tst-aio64.c: Likewise.
80358         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
80360 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
80362         * manual/install.texi (--with-headers): Describe headers as
80363         interface headers, not private headers.
80364         (Specific advice for GNU/Linux systems): Describe use of headers
80365         from "make headers_install", not private headers from older
80366         kernels.
80367         * INSTALL: Regenerated.
80368         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
80369         Change to 2.6.19.
80370         * sysdeps/unix/sysv/linux/configure: Regenerated.
80372         * manual/llio.texi (fclean): Remove documentation.
80374         * manual/Makefile (libc-texi-generated): New variable.  Include
80375         version.texi.
80376         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
80377         $(libc-texi-generated), not duplicated list of files.
80378         (version.texi, stamp-version): New rules.
80379         (realclean): Remove $(libc-texi-generated), not individual files
80380         from that list.  Do not remove dir-add.texinfo.
80381         * manual/libc.texinfo: Comment out uses of edition numbers and
80382         references to printed manual.  Remove last-updated dates.
80383         (EDITION): Comment out.
80384         (ISBN): Likewise.
80385         (VERSION, UPDATED): Remove.
80386         (version.texi): Include.
80388 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
80390         * sysdeps/posix/spawni.c: Include <signal.h>.
80391         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
80392         * sysdeps/pthread/aio_fsync.c: Likewise.
80394 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
80396         * conform/Makefile (tests): Run only when not cross-compiling and
80397         when fast-check is not defined.
80399         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
80400         * conform/data/limits.h-data: Fixes for POSIX2008.
80401         * conform/run-conformtest.sh: Run all tests.
80402         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
80403         headers.
80404         * include/bits/dlfcn.h: Likewise.
80405         * include/langinfo.h: Likewise.
80406         * include/monetary.h: Likewise.
80407         * include/sys/poll.h: Likewise.
80409         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
80410         for __USE_GNU.
80411         * posix/spawn.h: Define __need_sigset_t.
80412         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
80413         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
80414         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
80415         to get sigevent_t only.
80416         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
80417         only for __USE_GNU.
80418         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80419         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
80420         process_vm_writev only for __USE_GNU.
80421         * termios/termios.h: Declare tcgetsid also for POSIX2008.
80423         * conform/Makefile: For now ignore errors from run-conformtest.
80424         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
80425         POSIX to avoid namespace pollution.  Don't prepend headers.
80426         * conform/data/aio.h-data: Fixes for POSIX testing.
80427         * conform/data/fcntl.h-data: Likewise.
80428         * conform/data/glob.h-data: Likewise.
80429         * conform/data/grp.h-data: Likewise.
80430         * conform/data/pthread.h-data: Likewise.
80431         * conform/data/pwd.h-data: Likewise.
80432         * conform/data/signal.h-data: Likewise.
80433         * conform/data/spawn.h-data: Likewise.
80434         * conform/data/stdio.h-data: Likewise.
80435         * conform/data/stdlib.h-data: Likewise.
80436         * conform/data/stropts.h-data: Likewise.
80437         * conform/data/sys/mman.h-data: Likewise.
80438         * conform/data/sys/stat.h-data: Likewise.
80439         * conform/data/sys/types.h-data: Likewise.
80440         * conform/data/sys/wait.h-data: Likewise.
80441         * conform/data/time.h-data: Likewise.
80442         * conform/data/unistd.h-data: Likewise.
80443         * conform/data/utime.h-data: Likewise.
80445         * io/sys/stat.h: fchmod was always in POSIX.
80446         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
80447         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
80448         * rt/aio.h: Define __need_timespec before including <time.h>.
80449         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
80450         struct.  Add forward declaration of pthread_attr_t and use it in
80451         sigevent.
80452         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
80453         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
80454         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
80455         always remove CLK_TCK definition.
80457 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
80459         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
80461 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
80463         * conform/run-conformtest.sh: New file.
80464         * conform/Makefile: Run run-conformtest for tests.
80465         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
80466         support.
80468         * conform/data/uchar.h-data: New file.
80469         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
80470         * conform/data/arpa/inet.h-data: Likewise.
80471         * conform/data/assert.h-data: Likewise.
80472         * conform/data/complex.h-data: Likewise.
80473         * conform/data/cpio.h-data: Likewise.
80474         * conform/data/ctype.h-data: Likewise.
80475         * conform/data/dirent.h-data: Likewise.
80476         * conform/data/dlfcn.h-data: Likewise.
80477         * conform/data/errno.h-data: Likewise.
80478         * conform/data/fcntl.h-data: Likewise.
80479         * conform/data/float.h-data: Likewise.
80480         * conform/data/fmtmsg.h-data: Likewise.
80481         * conform/data/fnmatch.h-data: Likewise.
80482         * conform/data/ftw.h-data: Likewise.
80483         * conform/data/glob.h-data: Likewise.
80484         * conform/data/grp.h-data: Likewise.
80485         * conform/data/iconv.h-data: Likewise.
80486         * conform/data/inttypes.h-data: Likewise.
80487         * conform/data/langinfo.h-data: Likewise.
80488         * conform/data/libgen.h-data: Likewise.
80489         * conform/data/limits.h-data: Likewise.
80490         * conform/data/locale.h-data: Likewise.
80491         * conform/data/math.h-data: Likewise.
80492         * conform/data/monetary.h-data: Likewise.
80493         * conform/data/mqueue.h-data: Likewise.
80494         * conform/data/ndbm.h-data: Likewise.
80495         * conform/data/net/if.h-data: Likewise.
80496         * conform/data/netdb.h-data: Likewise.
80497         * conform/data/netinet/in.h-data: Likewise.
80498         * conform/data/nl_types.h-data: Likewise.
80499         * conform/data/poll.h-data: Likewise.
80500         * conform/data/pthread.h-data: Likewise.
80501         * conform/data/pwd.h-data: Likewise.
80502         * conform/data/regex.h-data: Likewise.
80503         * conform/data/sched.h-data: Likewise.
80504         * conform/data/search.h-data: Likewise.
80505         * conform/data/semaphore.h-data: Likewise.
80506         * conform/data/setjmp.h-data: Likewise.
80507         * conform/data/signal.h-data: Likewise.
80508         * conform/data/spawn.h-data: Likewise.
80509         * conform/data/stdarg.h-data: Likewise.
80510         * conform/data/stdio.h-data: Likewise.
80511         * conform/data/stdlib.h-data: Likewise.
80512         * conform/data/string.h-data: Likewise.
80513         * conform/data/strings.h-data: Likewise.
80514         * conform/data/stropts.h-data: Likewise.
80515         * conform/data/sys/ipc.h-data: Likewise.
80516         * conform/data/sys/mman.h-data: Likewise.
80517         * conform/data/sys/msg.h-data: Likewise.
80518         * conform/data/sys/resource.h-data: Likewise.
80519         * conform/data/sys/select.h-data: Likewise.
80520         * conform/data/sys/sem.h-data: Likewise.
80521         * conform/data/sys/shm.h-data: Likewise.
80522         * conform/data/sys/socket.h-data: Likewise.
80523         * conform/data/sys/stat.h-data: Likewise.
80524         * conform/data/sys/statvfs.h-data: Likewise.
80525         * conform/data/sys/time.h-data: Likewise.
80526         * conform/data/sys/timeb.h-data: Likewise.
80527         * conform/data/sys/times.h-data: Likewise.
80528         * conform/data/sys/types.h-data: Likewise.
80529         * conform/data/sys/uio.h-data: Likewise.
80530         * conform/data/sys/un.h-data: Likewise.
80531         * conform/data/sys/utsname.h-data: Likewise.
80532         * conform/data/sys/wait.h-data: Likewise.
80533         * conform/data/syslog.h-data: Likewise.
80534         * conform/data/tar.h-data: Likewise.
80535         * conform/data/termios.h-data: Likewise.
80536         * conform/data/utime.h-data: Likewise.
80537         * conform/data/utmpx.h-data: Likewise.
80538         * conform/data/varargs.h-data: Likewise.
80539         * conform/data/wchar.h-data: Likewise.
80540         * conform/data/wctype.h-data: Likewise.
80541         * conform/data/wordexp.h-data: Likewise.
80543         * include/stropts.h: New file.
80544         * include/uchar.h: New file.
80545         * include/aio.h: Changes to allow conformtest.pl to use the headers.
80546         * include/assert.h: Likewise.
80547         * include/ctype.h: Likewise.
80548         * include/dirent.h: Likewise.
80549         * include/dlfcn.h: Likewise.
80550         * include/fcntl.h: Likewise.
80551         * include/fnmatch.h: Likewise.
80552         * include/glob.h: Likewise.
80553         * include/grp.h: Likewise.
80554         * include/libio.h: Likewise.
80555         * include/locale.h: Likewise.
80556         * include/math.h: Likewise.
80557         * include/net/if.h: Likewise.
80558         * include/netdb.h: Likewise.
80559         * include/netinet/in.h: Likewise.
80560         * include/pthread.h: Likewise.
80561         * include/pwd.h: Likewise.
80562         * include/regex.h: Likewise.
80563         * include/sched.h: Likewise.
80564         * include/search.h: Likewise.
80565         * include/setjmp.h: Likewise.
80566         * include/signal.h: Likewise.
80567         * include/stdio.h: Likewise.
80568         * include/stdlib.h: Likewise.
80569         * include/string.h: Likewise.
80570         * include/sys/cdefs.h: Likewise.
80571         * include/sys/mman.h: Likewise.
80572         * include/sys/msg.h: Likewise.
80573         * include/sys/resource.h: Likewise.
80574         * include/sys/select.h: Likewise.
80575         * include/sys/socket.h: Likewise.
80576         * include/sys/stat.h: Likewise.
80577         * include/sys/statvfs.h: Likewise.
80578         * include/sys/time.h: Likewise.
80579         * include/sys/times.h: Likewise.
80580         * include/sys/uio.h: Likewise.
80581         * include/sys/utsname.h: Likewise.
80582         * include/sys/wait.h: Likewise.
80583         * include/termios.h: Likewise.
80584         * include/time.h: Likewise.
80585         * include/ulimit.h: Likewise.
80586         * include/unistd.h: Likewise.
80587         * include/utime.h: Likewise.
80588         * include/wchar.h: Likewise.
80589         * include/wctype.h: Likewise.
80590         * include/wordexp.h: Likewise.
80592         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
80594         * time/time.h: TIME_UTC must be a macro.
80595         Make timespec_get available for ISO C11 only as well.
80597 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
80599         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
80600         Reported by Peng Haitao <penght@cn.fujitsu.com>.
80602 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
80604         * configure.in: Use -o not -a in test for unsupported multi-arch.
80606 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
80608         * manual/texinfo.tex: Update to version 2012-01-19.16.
80610 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
80612         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
80614 2012-02-24  Roland McGrath  <roland@hack.frob.com>
80616         [BZ #13738]
80617         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
80618         * manual/fdl-1.3.texi: New file.
80619         * manual/fdl-1.1.texi: File removed.
80621         [BZ #13738]
80622         * manual/libc.texinfo (FDL_VERSION): New @set.
80623         Use it for mention of FDL in cover text.
80624         (Documentation License): Use it in @include file name.
80626 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80627             Roland McGrath  <roland@hack.frob.com>
80629         [BZ #5461]
80630         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
80631         (not LONG_LONG_MAX and LONG_LONG_MIN.
80632         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
80633         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
80634         name.
80635         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
80637 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80639         [BZ #2547]
80640         [BZ #11365]
80641         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
80642         manipulate bits before adding and subtracting TWO23[sx].
80643         * math/libm-test.inc (nearbyint_test): Add more tests.
80645 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80647         [BZ #2548]
80648         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
80649         bits before adding and subtracting TWO23[sx].
80650         * math/libm-test.inc (rint_test): Add more tests.
80651         (rint_test_tonearest): Likewise.
80652         (rint_test_towardzero): Likewise.
80653         (rint_test_downward): Likewise.
80654         (rint_test_upward: Likewise.
80656 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80658         [BZ #10110]
80659         * include/stdc-predef.h: New file.  Extracted from features.h.
80660         * include/features.h: Include stdc-predef.h.
80661         * Makefile (headers): Add stdc-predef.h.
80662         * CONFORMANCE (Compiler limitations): Update.
80664 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80666         * manual/libc.texinfo (VERSION, UPDATED): Revert.
80668 2012-02-21  David S. Miller  <davem@davemloft.net>
80670         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
80671         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
80673 2012-02-20  David S. Miller  <davem@davemloft.net>
80675         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
80676         using a normal save/restore sequence, rather than allocating a
80677         dummy stack frame just to store a frame pointer and restore.
80678         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80680 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
80682         * manual/install.texi: Fix stray word in line-wrapped comment.
80684 2012-02-20  David S. Miller  <davem@davemloft.net>
80686         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
80687         both binutils and gcc support GOTDATA.
80689         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
80690         "rd %pc" in the PIC register setup sequences.
80692         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
80693         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
80694         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
80695         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
80696         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
80697         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
80698         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
80699         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80700         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
80701         (SYSCALL_ERROR_HANDLER): Likewise.
80702         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
80703         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
80704         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
80705         (SYSCALL_ERROR_HANDLER): Likewise.
80707         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
80708         (HAVE_GCC_GOTDATA): New.
80709         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
80710         relocation support in both binutils and gcc.
80711         * sysdeps/sparc/elf/configure: Regenerate.
80713         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
80714         * sysdeps/sparc/sparc32/elf/configure: Delete.
80715         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
80716         * sysdeps/sparc/sparc64/elf/configure: Delete.
80717         * sysdeps/sparc/elf/configure.in: New file.
80718         * sysdeps/sparc/elf/configure: Generate.
80720         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
80721         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
80722         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
80723         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
80724         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
80726 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
80728         * manual/install.texi: Do not mention specific glibc version
80729         numbers.
80730         * manual/libc.texinfo (VERSION, UPDATED): Update.
80731         (@copying): Use @copyright{} and range of years.
80733 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
80735         [BZ #13695]
80736         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
80737         [crti.S not in sysdirs] (generated): Do not append.
80738         [crti.S not in sysdirs] (omit-deps): Likewise.
80739         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
80740         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
80741         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
80742         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
80743         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
80744         Likewise.
80745         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
80746         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
80747         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
80748         * csu/defs.awk: Remove file.
80749         * sysdeps/generic/initfini.c: Likewise.
80750         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
80751         variable.
80752         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
80753         Likewise.
80755 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
80757         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
80758         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
80759         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
80760         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
80761         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
80762         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
80763         <bits/epoll.h>.
80764         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
80765         (__EPOLL_PACKED): Define to empty if not defined by
80766         <bits/epoll.h>.
80767         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
80768         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80769         bits/epoll.h.
80771 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
80773         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
80774         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
80775         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
80776         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
80777         <bits/timerfd.h>.
80778         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
80779         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80780         bits/timerfd.h.
80782 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
80784         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
80785         in C locale.
80786         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
80787         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
80788         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
80789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80791 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
80793         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80794         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
80796 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
80798         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
80799         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
80800         defined.
80801         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
80802         Likewise.
80803         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
80804         entry for 2.16.
80806 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
80808         * math/w_acos.c: Use non-signaling floating-point comparisons.
80809         * math/w_acosf.c: Likewise.
80810         * math/w_acosh.c: Likewise.
80811         * math/w_acoshf.c: Likewise.
80812         * math/w_acoshl.c: Likewise.
80813         * math/w_acosl.c: Likewise.
80814         * math/w_asin.c: Likewise.
80815         * math/w_asinf.c: Likewise.
80816         * math/w_asinl.c: Likewise.
80817         * math/w_atanh.c: Likewise.
80818         * math/w_atanhf.c: Likewise.
80819         * math/w_atanhl.c: Likewise.
80820         * math/w_exp2.c: Likewise.
80821         * math/w_exp2f.c: Likewise.
80822         * math/w_exp2l.c: Likewise.
80823         * math/w_j0.c: Likewise.
80824         * math/w_j0f.c: Likewise.
80825         * math/w_j0l.c: Likewise.
80826         * math/w_j1.c: Likewise.
80827         * math/w_j1f.c: Likewise.
80828         * math/w_j1l.c: Likewise.
80829         * math/w_jn.c: Likewise.
80830         * math/w_jnf.c: Likewise.
80831         * math/w_log.c: Likewise.
80832         * math/w_log10.c: Likewise.
80833         * math/w_log10f.c: Likewise.
80834         * math/w_log10l.c: Likewise.
80835         * math/w_log2.c: Likewise.
80836         * math/w_log2f.c: Likewise.
80837         * math/w_log2l.c: Likewise.
80838         * math/w_logf.c: Likewise.
80839         * math/w_logl.c: Likewise.
80840         * math/w_sqrt.c: Likewise.
80841         * math/w_sqrtf.c: Likewise.
80842         * math/w_sqrtl.c: Likewise.
80843         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80844         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
80845         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80846         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
80847         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
80849 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
80851         [BZ #9739]
80852         * manual/string.texi (strnlen): Use correct parameter name in
80853         equivalent expression.
80855 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
80857         [BZ #11174]
80858         * manual/users.texi (seteuid): Consistently use neweuid for
80859         argument name.
80861 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
80863         [BZ #13704]
80864         * manual/nss.texi (Services in the NSS configuration): Correct
80865         list of services in example configuration file.
80867 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
80869         [BZ #11322]
80870         * manual/arith.texi: Remove statements about negative zero
80871         behaving identically to zero.
80873 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
80875         [BZ #5993]
80876         * manual/install.texi: Do not document upgrading from libc5.
80878 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
80880         [BZ #4596]
80881         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
80883 2012-02-18  David S. Miller  <davem@davemloft.net>
80885         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
80886         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
80887         %o7 across the call.
80888         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
80889         instead.
80890         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
80891         SETUP_PIC_REG_LEAF.
80892         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80893         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
80894         * sysdeps/sparc/crtn.S: Likewise.
80896 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
80898         * aout/Makefile: Remove.
80900 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
80902         [BZ #13058]
80903         * manual/examples/argp-ex1.c (main): Format definition in GNU
80904         style.
80905         * manual/examples/argp-ex2.c (main): Likewise.
80906         * manual/examples/argp-ex3.c (main): Likewise.
80907         * manual/examples/argp-ex4.c (main): Likewise.
80908         * manual/examples/longopt.c (main): Use new-style prototype
80909         definition.
80910         * manual/examples/strncat.c (main): Specify return type and use
80911         (void) for arguments.
80912         * manual/examples/subopt.c (main): Use char **argv argument.
80914 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80916         [BZ #5077]
80917         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
80918         rounding modes.
80920 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
80922         [BZ #6907]
80923         * manual/string.texi (strchr): Change when strchrnul is
80924         recommended.
80926 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
80928         [BZ #174]
80929         * manual/locale.texi (setlocale): Document LOCPATH.
80931 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80933         [BZ #10210]
80934         * manual/process.texi (execle): Move @dots{} before last argument.
80936 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
80938         [BZ #12047]
80939         * manual/charset.texi (Generic Charset Conversion): Fix typo
80940         (LC_TYPE -> LC_CTYPE).
80942 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
80944         [BZ #5805]
80945         * manual/arith.texi (scalbn): Use @var{} on parameter names.
80946         (scalbnf): Likewise.
80947         (scalbnl): Likewise.
80948         (scalbln): Likewise.
80949         (scalblnf): Likewise.
80950         (scalblnl): Likewise.
80951         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
80952         (vwarnx): Likewise.
80953         (verr): Likewise.
80954         (verrx): Likewise.
80955         * manual/filesys.texi (telldir): Use braces around return type.
80956         * manual/llio.texi (mmap): Add space after comma.
80957         (mmap64): Likewise.
80958         * manual/math.texi (jn): Use @var{} on parameter names.
80959         (jnf): Likewise.
80960         (jnl): Likewise.
80961         (yn): Likewise.
80962         (ynf): Likewise.
80963         (ynl): Likewise.
80964         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
80965         line.
80966         * manual/resource.texi (ulimit): Use @dots{} instead of literal
80967         "...".
80968         (sched_get_priority_min): Remove semicolon on @deftypefun line.
80969         (sched_get_priority_max): Likewise.
80970         * manual/signal.texi (sigvec): Add space after comma.
80971         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
80972         names.
80973         (if_indextoname): Likewise.
80974         (if_freenameindex): Likewise.
80975         (sendto): Use ',' instead of '.' in prototype.
80976         * manual/startup.texi (syscall): Use @dots{} instead of literal
80977         "...".
80978         * manual/stdio.texi (__fpending): Separate initial words of
80979         paragraph from @deftypefun line.
80980         * manual/syslog.texi (syslog): Use @dots{} instead of literal
80981         "...".
80982         (vsyslog): Use @var{} on parameter names.
80983         * manual/terminal.texi (stty): Use @var{} on parameter names.
80984         * manual/users.texi (getutmp): Use @var{} on parameter names.
80985         (getutmpx): Likewise.
80987 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80989         [BZ #6884]
80990         * manual/stdio.texi (fopen): Fix typos in description of
80991         ",ccs=STRING".
80993 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
80995         [BZ #4026]
80996         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
80997         get clock_id definition.
80999 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
81001         [BZ #4822]
81002         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
81003         (madvise): Cast every argument to void on its own.
81005 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81007         [BZ #9902]
81008         * manual/startup.texi (Exit Status): Fix typo.
81010 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81012         [BZ #10140]
81013         * manual/examples/argp-ex1.c: Include <stdlib.h>.
81014         * manual/examples/argp-ex2.c: Likewise.
81015         * manual/examples/argp-ex3.c: Likewise.
81017 2012-02-16  Richard Henderson  <rth@redhat.com>
81019         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
81020         * sysdeps/s390/s390-32/initfini.c: Remove.
81021         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
81022         * sysdeps/s390/s390-64/initfini.c: Remove.
81024 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
81026         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
81027         compiler output for sysdeps/generic/initfini.c.
81028         * sysdeps/sh/elf/initfini.c: Remove file.
81030 2012-02-16  David S. Miller  <davem@davemloft.net>
81032         [BZ #11494]
81033         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
81035         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
81036         * sysdeps/sparc/crti.S: New file.
81037         * sysdeps/sparc/crtn.S: New file.
81038         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
81039         * sysdeps/sparc/sparc64/Makefile: Likewise.
81041 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
81043         [BZ #3335]
81044         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
81046 2012-02-15  Roland McGrath  <roland@hack.frob.com>
81048         [BZ #4822]
81049         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
81051         * mach/devstream.c (cookie_io_functions_t): Macro removed.
81052         (write, read, close): Likewise.
81053         Patch by Aurelien Jarno <aurelien@aurel32.net>.
81055 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
81057         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
81058         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
81059         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
81060         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
81061         <bits/signalfd.h>.
81062         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
81063         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81064         bits/signalfd.h.
81066 2012-02-14  Marek Polacek  <polacek@redhat.com>
81068         * sysdeps/x86_64/crti.S: New file.
81069         * sysdeps/x86_64/crtn.S: New file.
81070         * sysdeps/x86_64/elf/initfini.c: Remove file.
81072 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
81074         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
81075         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
81076         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
81077         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
81078         <bits/inotify.h>.
81079         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
81080         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81081         bits/inotify.h.
81083 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
81085         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
81086         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
81087         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
81088         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
81089         <bits/eventfd.h>.
81090         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
81091         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81092         bits/eventfd.h.
81094 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
81096         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
81097         __feraiseexcept instead of feraiseexcept.
81099         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
81100         nanosleep invocations.
81101         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
81102         strings, and add error checking for a nanosleep invocations.
81104 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
81106         Replace FSF snail mail address with URLs, as per GNU coding standards.
81107         Most of the snail mail addresses were wrong anyway, and omitting
81108         them makes the source code easier to maintain.  Almost all of the
81109         changes are to license notices and to locale LC_IDENTIFICATION
81110         addresses, except for this one:
81111         * manual/libc.texinfo: In "Published by", give the FSF's URL,
81112         not its snail mail address.
81114 2012-02-09  Richard Henderson  <rth@twiddle.net>
81116         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
81117         of kernel-features.h.
81119         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
81121 2012-02-08  Marek Polacek  <polacek@redhat.com>
81123         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
81124         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
81125         * sysdeps/gnu/_G_config.h: Likewise.
81126         * sysdeps/generic/_G_config.h: Likewise.
81128 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
81130         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
81131         tests.
81132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81134         * sysdeps/powerpc/powerpc32/crti.S: New file.
81135         * sysdeps/powerpc/powerpc32/crtn.S: New file.
81136         * sysdeps/powerpc/powerpc64/crti.S: New file.
81137         * sysdeps/powerpc/powerpc64/crtn.S: New file.
81139         * Makeconfig (have-initfini): Don't set.
81140         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
81141         * configure.in (nopic_initfini): Don't substitute.
81142         * config.h.in (HAVE_INITFINI): Don't #undef.
81143         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
81144         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
81146 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
81148         Support crti.S and crtn.S provided directly by architectures.
81149         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
81150         [crti.S in sysdirs] (omit-deps): Likewise.
81151         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
81152         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
81153         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
81154         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
81155         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
81156         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
81157         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
81158         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
81159         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
81160         compiler output for sysdeps/generic/initfini.c.
81161         * sysdeps/i386/elf/Makefile: Remove file.
81162         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
81164 2012-02-07  Marek Polacek  <polacek@redhat.com>
81166         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
81167         * sysdeps/gnu/_G_config.h: Likewise.
81168         * sysdeps/mach/hurd/_G_config.h: Likewise.
81170 2012-02-07  Marek Polacek  <polacek@redhat.com>
81172         * math/Makefile (tests): Add tst-CMPLX2.
81173         * math/tst-CMPLX2.c: New file.
81175 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
81177         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81179         * math/libm-test.inc (jn_test): Add missing L suffix.
81181 2012-02-06  Marek Polacek  <polacek@redhat.com>
81183         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
81184         * sysdeps/i386/fpu/e_powf.S: Likewise.
81185         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
81186         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
81187         * sysdeps/i386/fpu/e_acosh.S: Likewise.
81188         * sysdeps/i386/fpu/e_pow.S: Likewise.
81189         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
81190         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
81191         * sysdeps/i386/fpu/s_expm1.S: Likewise.
81192         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
81193         * sysdeps/i386/fpu/e_log2.S: Likewise.
81194         * sysdeps/i386/fpu/e_log2l.S: Likewise.
81195         * sysdeps/i386/fpu/e_scalb.S: Likewise.
81196         * sysdeps/i386/fpu/e_powl.S: Likewise.
81197         * sysdeps/i386/fpu/s_log1p.S: Likewise.
81198         * sysdeps/i386/fpu/e_log10f.S: Likewise.
81199         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
81200         * sysdeps/i386/fpu/e_logl.S: Likewise.
81201         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
81202         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
81203         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
81204         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
81205         * sysdeps/i386/fpu/e_log2f.S: Likewise.
81206         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
81207         * sysdeps/i386/fpu/e_log.S: Likewise.
81208         * sysdeps/i386/fpu/s_cexp.S: Likewise.
81209         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
81210         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
81211         * sysdeps/i386/fpu/e_logf.S: Likewise.
81212         * sysdeps/i386/fpu/e_log10l.S: Likewise.
81213         * sysdeps/i386/fpu/e_atanh.S: Likewise.
81214         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
81215         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
81216         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
81217         * sysdeps/i386/fpu/e_log10.S: Likewise.
81218         * sysdeps/i386/fpu/s_frexp.S: Likewise.
81219         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
81220         * sysdeps/i386/fpu/s_asinh.S: Likewise.
81221         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
81222         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
81223         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
81224         * sysdeps/i386/asm-syntax.h: Likewise.
81225         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
81226         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
81227         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
81228         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
81229         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
81230         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
81231         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
81232         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
81233         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
81234         * sysdeps/powerpc/sysdep.h: Likewise.
81235         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
81236         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
81238 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
81240         [BZ #411]
81241         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
81243 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
81245         * sysdeps/i386/sysdep.h: Include <features.h>.
81246         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
81247         version.
81249 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
81251         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
81252         Define.
81253         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
81254         LOAD_PIC_REG_STR.
81256 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
81258         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
81259         (SETUP_PIC_REG): Use GET_PC_THUNK.
81260         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
81261         macro.
81263 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
81265         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
81266         for non-PIC compilation.
81267         (SETUP_PIC_REG): Add .p2align directive.
81268         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
81269         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
81270         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
81271         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
81272         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
81273         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
81274         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
81275         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
81276         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
81277         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
81278         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
81279         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
81280         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
81281         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
81282         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
81283         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
81284         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
81285         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
81286         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
81287         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
81288         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
81289         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
81290         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
81291         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
81292         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
81293         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
81294         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
81295         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
81296         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
81297         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
81298         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
81299         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
81300         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
81301         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
81302         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
81303         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
81304         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
81305         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
81306         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
81307         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
81308         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
81310 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
81312         * math/tst-CMPLX.c: Include <stdio.h>.
81314 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
81316         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
81317         float.
81318         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
81319         * sysdeps/sparc/bits/mathdef.h: Likewise.
81321 2012-01-31  Marek Polacek  <polacek@redhat.com>
81323         * libio/libio.h: Don't define _PARAMS.
81324         * locale/programs/config.h: Don't define PARAMS.
81325         * stdlib/strtol_l.c: Likewise.
81326         (__strtol_l): Remove PARAMS from the prototype.
81328 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
81330         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
81331         names.  Just use the correct names.  Remove unnecessary wrapper
81332         functions.
81333         * malloc/arena.c: Likewise.
81334         * malloc/hooks.c: Likewise.
81336         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
81337         ARENA_TEST says not to.  Simplify test for creation of a new arena.
81338         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
81340 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
81342         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
81343         into tail calls.
81344         (update_get_addr): New function.
81345         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
81346         GET_ADDR_MODULE parameter.
81348 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
81350         * crypt/cert.c: Remove __STDC__ conditionals.
81351         * crypt/crypt-entry.c: Likewise.
81352         * crypt/crypt_util.c: Likewise.
81353         * libio/filedoalloc.c: Likewise.
81354         * libio/fileops.c: Likewise.
81355         * libio/genops.c: Likewise.
81356         * libio/iofclose.c: Likewise.
81357         * libio/iofdopen.c: Likewise.
81358         * libio/iofopen.c: Likewise.
81359         * libio/iofopen64.c: Likewise.
81360         * libio/iogetdelim.c: Likewise.
81361         * libio/iopopen.c: Likewise.
81362         * libio/obprintf.c: Likewise.
81363         * libio/oldfileops.c: Likewise.
81364         * libio/oldiofclose.c: Likewise.
81365         * libio/oldiofdopen.c: Likewise.
81366         * libio/oldiofopen.c: Likewise.
81367         * libio/oldiopopen.c: Likewise.
81368         * libio/wfiledoalloc.c: Likewise.
81369         * libio/wgenops.c: Likewise.
81370         * locale/programs/xmalloc.c: Likewise.
81371         * misc/syslog.c: Likewise.
81372         * stdio-common/xbug.c: Likewise.
81373         * string/memchr.c: Likewise.
81374         * string/memcmp.c: Likewise.
81375         * string/memrchr.c: Likewise.
81376         * string/rawmemchr.c: Likewise.
81377         * sysdeps/posix/getcwd.c: Likewise.
81378         * time/strftime_l.c: Likewise.
81380 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
81382         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
81383         * config.make.in (config-cflags-sse2avx): Define.
81384         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
81385         Fix typo.
81387 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
81389         * scripts/config.guess: Update from upstream config git repository.
81390         * scripts/config.sub: Likewise.
81392 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
81394         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
81395         (EM_NUM): Update.
81396         (R_TILEPRO_*, R_TILEGX_*): New macros.
81398         * scripts/firstversions.awk: Fix bug in version range handling.
81400         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
81402         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
81404         * include/sys/epoll.h: New file.
81405         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
81406         libc_hidden_def.
81408 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
81410         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
81411         Avoid unnecessary __WORDSIZE == 64 test.
81412         (fmaxf): Use VEX format if possible.
81413         (fmax): Likewise.
81414         (fminf): Likewise.
81415         (fmin): Likewise.
81417         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
81418         * math/math_private.h: Remove libc_fegetround* and
81419         libc_fesetround*.
81420         * sysdeps/i386/configure.in: Check for -msse2avx.
81421         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
81422         also if SSE2AVX is defined.
81423         Remove libc_fegetround* and libc_fesetround*.
81424         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
81425         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
81426         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
81427         of HAS_YMM_USABLE.
81428         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81429         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81430         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81431         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81432         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81434         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
81436 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81438         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
81439         size is not set.
81440         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
81442 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
81444         [BZ #13618]
81445         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
81446         relocation.
81447         * Makeconfig (libm): Define.
81448         * elf/Makefile: Add rules to build and run tst-relsort1.
81449         * elf/tst-relsort1.c: New file.
81450         * elf/tst-relsort1mod1.c: New file.
81451         * elf/tst-relsort1mod2.c: New file.
81453 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
81455         * math/s_ldexp.c: Remove __STDC__ conditionals.
81456         * math/s_ldexpf.c: Likewise.
81457         * math/s_ldexpl.c: Likewise.
81458         * math/s_nextafter.c: Likewise.
81459         * math/s_nexttowardf.c: Likewise.
81460         * math/s_significand.c: Likewise.
81461         * math/s_significandf.c: Likewise.
81462         * math/s_significandl.c: Likewise.
81463         * math/w_jnl.c: Likewise.
81464         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
81465         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
81466         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
81467         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
81468         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
81469         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
81470         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
81471         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
81472         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
81473         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
81474         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
81475         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
81476         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
81477         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
81478         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
81479         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
81480         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
81481         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
81482         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
81483         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
81484         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
81485         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
81486         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
81487         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
81488         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
81489         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
81490         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
81491         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
81492         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
81493         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
81494         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
81495         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
81496         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
81497         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
81498         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
81499         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
81500         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
81501         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
81502         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
81503         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
81504         * sysdeps/ieee754/k_standard.c: Likewise.
81505         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
81506         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
81507         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
81508         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
81509         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
81510         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
81511         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
81512         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
81513         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
81514         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
81515         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
81516         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
81517         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
81518         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
81519         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
81520         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
81521         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
81522         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
81523         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
81524         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
81525         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
81526         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
81527         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
81528         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
81529         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
81530         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
81531         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
81532         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
81533         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81534         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
81535         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
81536         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
81537         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
81538         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
81539         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
81540         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
81541         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
81542         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
81543         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
81544         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
81545         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
81546         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
81547         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
81548         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
81549         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
81550         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
81551         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
81552         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
81553         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
81554         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
81555         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
81556         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
81557         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
81558         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
81559         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
81560         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
81561         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
81562         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
81563         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
81564         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
81565         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
81566         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
81567         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
81568         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
81569         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
81570         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
81571         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
81572         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
81573         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
81574         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
81575         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
81576         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
81577         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
81578         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
81579         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
81580         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
81581         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
81582         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
81583         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
81584         * sysdeps/ieee754/s_matherr.c: Likewise.
81585         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
81586         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
81587         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
81588         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
81590 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
81592         * crypt/md5.h: Remove __STDC__ conditionals.
81593         * libio/libioP.h: Likewise.
81594         * locale/programs/config.h: Likewise.
81595         * sysdeps/generic/sysdep.h: Likewise.
81596         * sysdeps/i386/asm-syntax.h: Likewise.
81597         * sysdeps/s390/asm-syntax.h: Likewise.
81598         * sysdeps/unix/sysdep.h: Likewise.
81599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
81600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
81602 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
81604         * libio/libio.h: Remove __STDC__ conditionals.
81605         * malloc/obstack.h: Likewise.
81606         * math/complex.h: Likewise.
81607         * math/math.h: Likewise.
81608         * sysdeps/generic/_G_config.h: Likewise.
81609         * sysdeps/gnu/_G_config.h: Likewise.
81610         * sysdeps/mach/hurd/_G_config.h: Likewise.
81611         * sysdeps/powerpc/bits/mathdef.h: Likewise.
81612         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
81613         * sysdeps/sparc/bits/mathdef.h: Likewise.
81615 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
81617         [BZ #13583]
81618         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
81619         Clean up HAS_* macros.
81620         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
81621         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
81622         possible.
81623         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
81624         HAS_AVX.
81625         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81626         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81627         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81628         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81629         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81631 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
81633         * elf/tst-unique3.cc (gets): Remove declaration.
81634         * elf/tst-unique3lib.cc (gets): Likewise.
81635         * elf/tst-unique3lib2.cc (gets): Likewise.
81636         * elf/tst-unique4.cc (gets): Likewise.
81638 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
81640         * include/stdio.h: Add C++ protection.  Add gets declarations and
81641         definitions.
81642         * debug/tst-chk1.c: Don't declare gets here.
81643         * stdio-common/tst-gets.c: Likewise.
81645 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
81647         * posix/glob: Remove directory.
81649 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
81651         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
81653 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
81655         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
81656         of the non-standard EPFNOSUPPORT.
81658 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81660         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
81661         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
81662         ANYWHERE set to 1 only on KERN_NO_SPACE error.
81664 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
81666         * wcsmbs/uchar.h: Test __STDC_VERSION__.
81668 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
81670         * nscd/aicache.c (addhstaiX): Do not cache negative results of
81671         transient errors.
81672         * nscd/grpcache.c (cache_addgr): Likewise.
81673         * nscd/hstcache.c (cache_addhst): Likewise.
81674         * nscd/initgrcache.c (addinitgroupsX): Likewise.
81675         * nscd/pwdcache.c (cache_addpw): Likewise.
81676         * nscd/servicescache.c (cache_addserv): Likewise.
81678 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
81680         * malloc/malloc.c: Various cleanups.
81681         * malloc/hooks.c: Likewise.
81683         * stdlib/Makefile (tests): Add bug-fmtmsg1.
81684         * stdlib/bug-fmtmsg1.c: New file.
81686         * stdlib/fmtmsg.c (init): Add missing unlock.
81687         Patch by Peng Haitao <penght@cn.fujitsu.com>.
81689 2012-01-12  Marek Polacek  <polacek@redhat.com>
81691         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
81692         and _GNU_SOURCE.
81694 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
81696         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
81697         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
81698         macro to ensure uniqueness of label name.
81699         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
81700         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
81702 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
81704         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
81706         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
81707         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
81708         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
81709         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
81711 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
81713         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
81715         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
81716         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
81717         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
81719         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
81721         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
81722         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
81723         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
81724         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
81726         * math/bits/math-finite.h: Add ldexp support.
81728 2012-01-10  Marek Polacek  <polacek@redhat.com>
81730         * locale/programs/localedef.h (show_archive_content): Add noreturn
81731         attribute.
81733 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
81735         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
81737 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
81739         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
81741         * io/Makefile (headers): Add bits/poll2.h.
81743 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
81745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
81746         typo #include statement.
81748 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
81750         * include/sys/cdefs.h: Define __attribute_alloc_size.
81751         * catgets/gencat.c: Add alloc_size attribute and apply consistently
81752         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
81753         * elf/pldd.c: Likewise.
81754         * iconv/iconv_charmap.c: Likewise.
81755         * iconv/iconvconfig.c: Likewise.
81756         * iconv/strtab.c: Likewise.
81757         * locale/programs/locale.c: Likewise.
81758         * locale/programs/localedef.h: Likewise.
81759         * locale/programs/simple-hash.c: Likewise.
81760         * nscd/nscd.h: Likewise.
81761         * nss/makedb.c: Likewise.
81762         * sysdeps/generic/ldconfig.h: Likewise.
81763         * locale/programs/localedef.c: Remove xmalloc prototype.
81764         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
81766 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
81768         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
81769         appropriate.
81771 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
81773         * math/Makefile (tests): Add tst-CMPLX.
81774         * math/tst-CMPLX.c: New file.
81776         * math/complex.h (CMPLXL): Fix typo.
81778         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
81779         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
81780         GLIBC_2.16.
81781         * debug/tst-chk1.c: Add poll and ppoll tests.
81782         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
81783         * include/sys/poll.h: Add hidden proto for ppoll.
81784         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
81785         * sysdeps/mach/hurd/ppoll.c: Likewise.
81786         * io/ppoll.c: Likewise.
81787         * debug/poll_chk.c: New file.
81788         * debug/ppoll_chk.c: New file.
81789         * include/bits/poll2.h: New file.
81790         * io/bits/poll2.h: New file.
81792         [BZ #1350]
81793         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
81795         * configure.in: static is always set to yes.  Remove.
81796         * config.make.in: Don't set build-static.
81797         * Makeconfig: Remove use of build-static.
81798         * dlfcn/Makefile: Likewise.
81799         * elf/Makefile: Likewise.
81800         * math/Makefile: Likewise.
81801         * misc/Makefile: Likewise.
81802         * nptl/Makefile: Likewise.
81803         * sysdeps/mach/hurd/Makefile: Likewise.
81805         * configure.in: PWD_P is not used anymore.
81806         * config.make.in: Remove PWD_P entry.
81808         * configure.in: Remove last remnants of RANLIB.
81809         No need to check for signed size_t anymore.
81810         Don't set libc_commonpagesize and libc_relro_required here for Alpha
81811         and IA-64.
81812         Remove __builtin_expect test because we require at least gcc 3.4.
81813         * aclocal.m4: Likewise.
81815         * wcsmbs/mbrtoc16.c: Implement using towc function.
81816         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
81817         * wcsmbs/wcsmbsload.c: Likewise.
81818         * iconv/gconv_simple.c: Likewise.
81819         * iconv/gconv_int.h: Likewise.
81820         * iconv/gconv_builtin.h: Likewise.
81821         * iconv/iconv_prog.c: Remove CHAR16 handling.
81823         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
81825         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
81827         * configure.in: Remove --with-elf and --enable-bounded options.
81828         Dont set base_machine for ia64.  More non-ELF conditions removed.
81829         Remove testing and setting of leading underscore information.
81830         * config.make.in (build-bounded): Set to no.
81831         * config.h.in: Remove NO_UNDERSCORES entry.
81832         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
81833         them.
81834         * csu/start.c: Remove !NO_UNDERSCORE code.
81835         * locale/localeinfo.h: Likewise.
81836         * sysdeps/generic/machine-gmon.h: Likewise.
81837         * sysdeps/generic/sysdep.h: Likewise.
81838         * sysdeps/i386/sysdep.h: Likewise.
81839         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
81840         * sysdeps/mach/sysdep.h: Likewise.
81841         * sysdeps/s390/s390-32/sysdep.h: Likewise.
81842         * sysdeps/s390/s390-64/sysdep.h: Likewise.
81843         * sysdeps/sh/sysdep.h: Likewise.
81844         * sysdeps/sparc/sparc32/alloca.S: Likewise.
81845         * sysdeps/unix/i386/sysdep.S: Likewise.
81846         * sysdeps/unix/sparc/start.c: Likewise.
81847         * sysdeps/unix/sparc/sysdep.S: Likewise.
81848         * sysdeps/unix/sparc/sysdep.h: Likewise.
81849         * sysdeps/unix/start.c: Likewise.
81850         * sysdeps/unix/x86_64/sysdep.S: Likewise.
81851         * sysdeps/x86_64/sysdep.h: Likewise.
81853 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
81855         [BZ #13553]
81856         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
81857         for non-gcc.
81858         * argp/argp-fmtstream.h: Use const instead __const.
81859         * argp/argp.h: Likewise.
81860         * assert/assert.h: Likewise.
81861         * bits/fenv.h: Likewise.
81862         * bits/sched.h: Likewise.
81863         * bits/sigset.h: Likewise.
81864         * bits/sigthread.h: Likewise.
81865         * catgets/nl_types.h: Likewise.
81866         * conform/data/pthread.h-data: Likewise.
81867         * crypt/crypt-private.h: Likewise.
81868         * crypt/crypt.h: Likewise.
81869         * crypt/crypt_util.c: Likewise.
81870         * ctype/ctype.h: Likewise.
81871         * debug/execinfo.h: Likewise.
81872         * debug/mbsnrtowcs_chk.c: Likewise.
81873         * debug/mbsrtowcs_chk.c: Likewise.
81874         * debug/wcsnrtombs_chk.c: Likewise.
81875         * debug/wcsrtombs_chk.c: Likewise.
81876         * debug/wcstombs_chk.c: Likewise.
81877         * dirent/dirent.h: Likewise.
81878         * dlfcn/dlfcn.h: Likewise.
81879         * elf/neededtest4.c: Likewise.
81880         * grp/grp.h: Likewise.
81881         * gshadow/gshadow.h: Likewise.
81882         * iconv/gconv.h: Likewise.
81883         * iconv/gconv_int.h: Likewise.
81884         * iconv/gconv_simple.c: Likewise.
81885         * iconv/iconv.h: Likewise.
81886         * iconv/loop.c: Likewise.
81887         * iconv/skeleton.c: Likewise.
81888         * include/aio.h: Likewise.
81889         * include/aliases.h: Likewise.
81890         * include/argz.h: Likewise.
81891         * include/arpa/inet.h: Likewise.
81892         * include/assert.h: Likewise.
81893         * include/dirent.h: Likewise.
81894         * include/dlfcn.h: Likewise.
81895         * include/execinfo.h: Likewise.
81896         * include/fcntl.h: Likewise.
81897         * include/fenv.h: Likewise.
81898         * include/glob.h: Likewise.
81899         * include/grp.h: Likewise.
81900         * include/libintl.h: Likewise.
81901         * include/mntent.h: Likewise.
81902         * include/netdb.h: Likewise.
81903         * include/pwd.h: Likewise.
81904         * include/rpc/netdb.h: Likewise.
81905         * include/sched.h: Likewise.
81906         * include/search.h: Likewise.
81907         * include/shadow.h: Likewise.
81908         * include/signal.h: Likewise.
81909         * include/stdio.h: Likewise.
81910         * include/stdlib.h: Likewise.
81911         * include/string.h: Likewise.
81912         * include/sys/socket.h: Likewise.
81913         * include/sys/stat.h: Likewise.
81914         * include/sys/statfs.h: Likewise.
81915         * include/sys/statvfs.h: Likewise.
81916         * include/sys/syslog.h: Likewise.
81917         * include/sys/time.h: Likewise.
81918         * include/sys/uio.h: Likewise.
81919         * include/time.h: Likewise.
81920         * include/unistd.h: Likewise.
81921         * include/utmp.h: Likewise.
81922         * include/wchar.h: Likewise.
81923         * include/wctype.h: Likewise.
81924         * inet/aliases.h: Likewise.
81925         * inet/arpa/inet.h: Likewise.
81926         * inet/netinet/ether.h: Likewise.
81927         * inet/netinet/in.h: Likewise.
81928         * intl/libintl.h: Likewise.
81929         * io/bits/fcntl2.h: Likewise.
81930         * io/fcntl.h: Likewise.
81931         * io/ftw.h: Likewise.
81932         * io/sys/poll.h: Likewise.
81933         * io/sys/stat.h: Likewise.
81934         * io/sys/statfs.h: Likewise.
81935         * io/sys/statvfs.h: Likewise.
81936         * io/utime.h: Likewise.
81937         * libio/bits/stdio.h: Likewise.
81938         * libio/bits/stdio2.h: Likewise.
81939         * libio/libio.h: Likewise.
81940         * libio/libioP.h: Likewise.
81941         * libio/stdio.h: Likewise.
81942         * locale/lc-ctype.c: Likewise.
81943         * locale/locale.h: Likewise.
81944         * login/utmp.h: Likewise.
81945         * malloc/arena.c: Likewise.
81946         * malloc/malloc.c: Likewise.
81947         * malloc/malloc.h: Likewise.
81948         * malloc/mcheck.c: Likewise.
81949         * malloc/mtrace.c: Likewise.
81950         * math/bits/mathcalls.h: Likewise.
81951         * math/fenv.h: Likewise.
81952         * math/math_private.h: Likewise.
81953         * misc/bits/error.h: Likewise.
81954         * misc/bits/syslog.h: Likewise.
81955         * misc/err.h: Likewise.
81956         * misc/error.h: Likewise.
81957         * misc/fstab.h: Likewise.
81958         * misc/mntent.h: Likewise.
81959         * misc/regexp.h: Likewise.
81960         * misc/search.h: Likewise.
81961         * misc/sgtty.h: Likewise.
81962         * misc/sys/mman.h: Likewise.
81963         * misc/sys/syslog.h: Likewise.
81964         * misc/sys/uio.h: Likewise.
81965         * misc/sys/xattr.h: Likewise.
81966         * misc/ttyent.h: Likewise.
81967         * nis/rpcsvc/ypclnt.h: Likewise.
81968         * nss/nss.h: Likewise.
81969         * posix/bits/unistd.h: Likewise.
81970         * posix/fnmatch.h: Likewise.
81971         * posix/glob.h: Likewise.
81972         * posix/sched.h: Likewise.
81973         * posix/spawn.h: Likewise.
81974         * posix/sys/wait.h: Likewise.
81975         * posix/unistd.h: Likewise.
81976         * posix/wordexp.h: Likewise.
81977         * pwd/pwd.h: Likewise.
81978         * resolv/netdb.h: Likewise.
81979         * resource/sys/resource.h: Likewise.
81980         * rt/aio.h: Likewise.
81981         * rt/bits/mqueue2.h: Likewise.
81982         * rt/mqueue.h: Likewise.
81983         * shadow/shadow.h: Likewise.
81984         * signal/signal.h: Likewise.
81985         * socket/send.c: Likewise.
81986         * socket/sendto.c: Likewise.
81987         * socket/sys/socket.h: Likewise.
81988         * stdio-common/printf.h: Likewise.
81989         * stdlib/bits/stdlib.h: Likewise.
81990         * stdlib/fmtmsg.h: Likewise.
81991         * stdlib/monetary.h: Likewise.
81992         * stdlib/stdlib.h: Likewise.
81993         * stdlib/ucontext.h: Likewise.
81994         * streams/stropts.h: Likewise.
81995         * string/argz.h: Likewise.
81996         * string/bits/string2.h: Likewise.
81997         * string/string.h: Likewise.
81998         * string/strings.h: Likewise.
81999         * sunrpc/rpc/auth.h: Likewise.
82000         * sunrpc/rpc/auth_des.h: Likewise.
82001         * sunrpc/rpc/clnt.h: Likewise.
82002         * sunrpc/rpc/netdb.h: Likewise.
82003         * sunrpc/rpc/pmap_clnt.h: Likewise.
82004         * sunrpc/rpc/xdr.h: Likewise.
82005         * sysdeps/generic/inttypes.h: Likewise.
82006         * sysdeps/generic/net/if.h: Likewise.
82007         * sysdeps/generic/sys/swap.h: Likewise.
82008         * sysdeps/gnu/net/if.h: Likewise.
82009         * sysdeps/gnu/utmpx.h: Likewise.
82010         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
82011         * sysdeps/i386/i486/bits/string.h: Likewise.
82012         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
82013         * sysdeps/s390/bits/string.h: Likewise.
82014         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
82015         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
82016         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
82017         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
82018         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
82019         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
82020         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
82021         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
82022         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
82023         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
82024         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
82025         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
82026         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
82027         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
82028         * sysdeps/unix/sysv/linux/readv.c: Likewise.
82029         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
82030         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
82031         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
82032         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
82033         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
82034         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
82035         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
82036         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
82037         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
82038         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
82039         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
82040         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
82041         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82042         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
82043         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
82044         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
82045         * sysvipc/sys/ipc.h: Likewise.
82046         * sysvipc/sys/msg.h: Likewise.
82047         * sysvipc/sys/sem.h: Likewise.
82048         * sysvipc/sys/shm.h: Likewise.
82049         * termios/termios.h: Likewise.
82050         * time/sys/time.h: Likewise.
82051         * time/time.h: Likewise.
82052         * wcsmbs/bits/wchar2.h: Likewise.
82053         * wcsmbs/uchar.h: Likewise.
82054         * wcsmbs/wchar.h: Likewise.
82055         * wctype/wctype.h: Likewise.
82057         [BZ #13551]
82058         * Makeconfig: Remove all but ELF support including AIX support.
82059         * Makerules: Likewise.
82060         * config.h.in: Likewise.
82061         * config.make.in: Likewise.
82062         * configure: Likewise.
82063         * configure.in: Likewise.
82064         * csu/Makefile: Likewise.
82065         * csu/version.c: Likewise.
82066         * debug/Makefile: Likewise.
82067         * dlfcn/Makefile: Likewise.
82068         * elf/Makefile: Likewise.
82069         * extra-lib.mk: Likewise.
82070         * iconv/Makefile: Likewise.
82071         * include/libc-symbols.h: Likewise.
82072         * include/shlib-compat.h: Likewise.
82073         * resolv/Makefile: Likewise.
82074         * resolv/res_libc.c: Likewise.
82075         * rt/Makefile: Likewise.
82076         * sysdeps/i386/asm-syntax.h: Likewise.
82077         * sysdeps/i386/sysdep.h: Likewise.
82078         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
82079         * sysdeps/mach/sysdep.h: Likewise.
82080         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
82081         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
82082         * sysdeps/s390/asm-syntax.h: Likewise.
82083         * sysdeps/s390/s390-32/sysdep.h: Likewise.
82084         * sysdeps/s390/s390-64/sysdep.h: Likewise.
82085         * sysdeps/sh/sysdep.h: Likewise.
82086         * sysdeps/unix/sparc/sysdep.h: Likewise.
82087         * sysdeps/wordsize-32/divdi3.c: Likewise.
82088         * sysdeps/x86_64/sysdep.h: Likewise.
82090         * argp/Versions: Remove _argp_unlock_xxx.
82092         [BZ #13559]
82093         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
82094         * abilist/libBrokenLocale.abilist: Likewise.
82095         * abilist/libanl.abilist: Likewise.
82096         * abilist/libc.abilist: Likewise.
82097         * abilist/libcrypt.abilist: Likewise.
82098         * abilist/libdl.abilist: Likewise.
82099         * abilist/libm.abilist: Likewise.
82100         * abilist/libnsl.abilist: Likewise.
82101         * abilist/libpthread.abilist: Likewise.
82102         * abilist/libresolv.abilist: Likewise.
82103         * abilist/librt.abilist: Likewise.
82104         * abilist/libthread_db.abilist: Likewise.
82105         * abilist/libutil.abilist: Likewise.
82106         * abilist/libnss_db.abilist: New file.
82108         * scripts/abilist.awk: Add support for indirect functions.
82110         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
82112         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
82114         * shlib-versions: Remove entries for ports architectures.
82116         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
82117         files in ports.
82118         * elf/stackguard-macros.h: Remove support for IA-64.
82119         * elf/tst-auditmod1.c: Likewise.
82120         * sysdeps/generic/ldsodefs.h: Likewise.
82122         * sysdeps/unix/sysv/linux/configure.in: Ports should define
82123         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
82124         configure files.
82126         [BZ #13552]
82127         * configure.in: Remove --enable-omitfp support.
82128         * FAQ.in: Adjust.
82129         * config.make.in: Likewise.
82130         * Makeconfig: Likewise.
82131         * manual/install.texi: Likewise.
82133         In case anyone cares, the IA-64 architecture could move to ports.
82134         * sysdeps/ia64/*: Removed.
82135         * sysdeps/unix/sysv/linux/ia64/*: Removed.
82136         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
82138         [BZ #13555]
82139         * configure.in: Remove entries for unsupported architectures.
82141         [BZ #13533]
82142         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
82143         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
82144         routines.
82145         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
82146         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
82147         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
82148         fall back to using wcrtomb.
82149         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
82150         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
82151         renaming.
82152         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
82153         * wcsmbs/tst-c16c32-1.c: New file.
82155         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
82156         local variable.
82158         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
82160         * elf/tst-unique3.cc: Add explicit declaration of gets.
82161         * elf/tst-unique3lib.cc: Likewise.
82162         * elf/tst-unique3lib2.cc: Likewise.
82163         * elf/tst-unique4.cc: Likewise.
82165         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
82167 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
82169         [BZ #13566]
82170         * assert/assert.h (static_assert): Don't define for C++.
82171         * libio/stdio.h (gets): Do declare for C++ <= C++11.
82172         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
82174 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
82176         * iconv/loop.c (single loop): Fix assertion in storing of
82177         remaining bytes.
82179         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
82181 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
82183         * posix/getconf.c: Update copyright year.
82184         * nss/getent.c: Likewise.
82185         * nss/makedb.c: Likewise.
82186         * iconv/iconvconfig.c: Likewise.
82187         * iconv/iconv_prog.c: Likewise.
82188         * elf/ldconfig.c: Likewise.
82189         * elf/pldd.c: Likewise.
82190         * elf/sotruss.ksh: Likewise.
82191         * catgets/gencat.c: Likewise.
82192         * csu/version.c: Likewise.
82193         * elf/ldd.bash.in: Likewise.
82194         * elf/sprof.c (print_version): Likewise.
82195         * locale/programs/locale.c: Likewise.
82196         * locale/programs/localedef.c: Likewise.
82197         * login/programs/pt_chown.c: Likewise.
82198         * nscd/nscd.c (print_version): Likewise.
82199         * debug/xtrace.sh: Likewise.
82200         * malloc/memusage.sh: Likewise.
82201         * malloc/mtrace.pl: Likewise.
82202         * debug/catchsegv.sh: Likewise.
82204 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
82206         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
82207         pure attribute.
82209 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
82211         [BZ #13533]
82212         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
82213         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
82214         transformations.
82215         * iconv/gconv_int.h: Likewise.
82216         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
82217         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
82218         from libc for GLIBC_2.16.
82219         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
82220         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
82221         * wcsmbs/uchar.h: Really define mbstate_t.
82222         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
82223         * wcsmbs/c16rtomb.c: New file.
82224         * wcsmbs/mbrtoc16.c: New file.
82225         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
82226         for C/POSIX locale.
82227         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
82228         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
82230         * wcsmbs/wchar.h: Add missing __restrict.
82232 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
82234         [BZ #13532]
82235         * time/Makefile (routines): Add timespec_get.
82236         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
82237         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
82238         timespec for ISO C11.
82239         * time/timespec_get.c: New file.
82240         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
82241         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
82243         [BZ #13531]
82244         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
82245         * stdlib/stdlib.h: Declare aligned_alloc.
82246         * Versions.def: Add GLIBC_2.16 for libc.
82247         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
82249         [BZ 13527]
82250         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
82251         ISO C11.
82253         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
82254         code.
82256         [BZ #13528]
82257         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
82259         [BZ #13529]
82260         * assert/assert.h (static_assert): Define.
82262         * version.h: Update for 2.16 development version.
82264         [BZ #13526]
82265         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
82266         _ISOC11_SOURCE.
82268         * version.h (RELEASE): Bump for 2.15 release.
82269         * include/features.h (__GLIBC_MINOR__): Bump to 15.
82271         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
82272         Patch by Marek Polacek <mpolacek@redhat.com>.
82274         * bits/byteswap.h: Protect long long constants with __extension__.
82275         * sysdeps/i386/bits/byteswap.h: Likewise.
82276         * sysdeps/ia64/bits/byteswap.h: Likewise.
82277         * sysdeps/s390/bits/byteswap.h: Likewise.
82278         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82280 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82282         [BZ #13540]
82283         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
82284         destination buffer.
82285         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
82287 2011-12-23  Marek Polacek  <polacek@redhat.com>
82289         * elf/dl-addr.c (determine_info): Add inline keyword.
82290         * elf/tst-auditmod4b.c (check_avx): Likewise.
82291         * elf/tst-auditmod6b.c (check_avx): Likewise.
82292         * elf/tst-auditmod6c.c (check_avx): Likewise.
82293         * elf/tst-auditmod7b.c (check_avx): Likewise.
82295 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
82297         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
82298         !__SSE_MATH__.
82300 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82302         [BZ #13540]
82303         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
82304         processing for last bytes.
82306 2011-08-06  Bruno Haible  <bruno@clisp.org>
82308         [BZ #13061]
82309         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
82310         U+0385, not to U+1FEE.
82312         [BZ #13062]
82313         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
82314         entry for U+00A5 U+0301.
82316 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
82318         [BZ #13166]
82319         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
82320         buffer for the output is too small.
82322         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
82323         optimization.
82325         [BZ #13185]
82326         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
82327         SSE flags if possible.
82329 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82331         [BZ #13540]
82332         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
82333         processing for last bytes.
82335 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
82337         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
82338         (syscall-list-default-options, syscall-list-default-condition)
82339         (syscall-list-includes): Define.
82340         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
82341         list of ABIs and options and #if conditions for each ABI.  Do not
82342         handle common syscalls between ABIs specially.
82343         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
82344         Remove.
82345         (syscall-list-variants, syscall-list-32bit-options)
82346         (syscall-list-32bit-condition, syscall-list-64bit-options)
82347         (syscall-list-64bit-condition): Define.
82348         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
82349         (syscall-list-variants, syscall-list-32bit-options)
82350         (syscall-list-32bit-condition, syscall-list-64bit-options)
82351         (syscall-list-64bit-condition): Define.
82352         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
82353         Remove.
82354         (syscall-list-variants, syscall-list-32bit-options)
82355         (syscall-list-32bit-condition, syscall-list-64bit-options)
82356         (syscall-list-64bit-condition): Define.
82357         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
82358         Remove.
82359         (syscall-list-variants, syscall-list-32bit-options)
82360         (syscall-list-32bit-condition, syscall-list-64bit-options)
82361         (syscall-list-64bit-condition): Define.
82363 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
82365         * locale/iso-639.def: Add brx entry.
82367         [BZ #13328]
82368         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
82369         Proposed by Mariusz_Cukr <marcukr@op.pl>.
82371         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
82372         __feraiseexcept_renamed.
82374 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
82376         [BZ #13538]
82377         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
82378         EPOLLET with unsigned values.
82379         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82380         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
82382         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
82383         to large cancellation.
82384         * math/s_cacoshf.c: Likewise.
82385         * math/s_cacoshl.c: Likewise.
82387 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
82389         [BZ #13305]
82390         [BZ #12786]
82391         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
82392         * math/s_cacoshf.c: Likewise.
82393         * math/s_cacoshl.c: Likewise.
82395 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
82397         [BZ #13439]
82398         * iconv/gconv.h: Define __GCONV_SWAP.
82399         * iconvdata/unicode.c: The swap bit must be stored in __flags.
82400         * iconvdata/utf-16.c: Likewise.
82401         * iconvdata/utf-32.c: Likewise.
82403 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
82405         [BZ #13524]
82406         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
82407         numerator after shifting it by one limb.
82409 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
82411         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
82412         under [__USE_EXTERN_INLINES].
82414 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
82416         [BZ #13446]
82417         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
82419 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82421         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
82422         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
82423         optimized code.
82424         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
82425         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
82426         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
82427         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
82428         for strncasecmp/strncasecmp_l compilation.
82429         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
82430         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
82432 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
82434         [BZ #13484]
82435         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
82436         of __asm__.
82438 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
82440         [BZ #13506]
82441         * time/tzfile.c (__tzfile_read): Check values from file header.
82443 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
82445         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
82446         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
82447         * powerpc/powerpc32/dl-start.S: Likewise.
82448         * powerpc/powerpc32/elf/start.S: Likewise.
82449         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
82450         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
82451         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
82452         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
82453         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
82454         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
82455         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
82456         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
82457         * powerpc/powerpc32/fpu/s_round.S: Likewise.
82458         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
82459         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
82460         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
82461         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
82462         * powerpc/powerpc32/memset.S: Likewise.
82463         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
82464         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
82465         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
82466         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
82467         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
82468         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
82469         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
82470         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
82471         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
82472         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
82473         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
82474         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
82475         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
82477 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82479         * math/libm-test.inc: Added more nearbyint tests.
82480         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
82481         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
82482         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
82483         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
82485 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
82487         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
82488         FD_CLOEXEC.
82490 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82492         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
82493         Add wcscpy-ssse3 wcscpy-c.
82494         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
82495         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
82496         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
82497         * sysdeps/x86_64/wcschr.S: New file.
82498         * sysdeps/x86_64/wcsrchr.S: New file.
82499         * string/test-strcmp.c: Remove checking of wcscmp function for
82500         wrong alignments.
82501         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
82502         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
82503         wcsrchr-sse2 wcsrchr-c.
82504         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
82505         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
82506         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
82507         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
82508         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
82509         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
82510         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
82511         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
82512         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
82513         * wcsmbc/wcschr.c (WCSCHR): New macro.
82515 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82517         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
82518         * wcsmbs/test-wcsrchr.c: New file.
82519         * string/test-strrchr.c: Add wcsrchr support.
82520         (WIDE): New macro.
82521         * wcsmbs/test-wcscpy.c: New file.
82522         * string/test-strcpy.c: Add wcscpy support.
82523         (WIDE): New macro.
82525 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
82527         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
82528         the inner loop.
82530 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
82532         [BZ #13472]
82533         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
82535 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
82537         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
82538         Minor optimizations.
82540         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
82541         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
82542         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
82544 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
82546         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
82547         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
82548         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
82549         for gcc to avoid warnings.
82550         * inet/Makefile (tests): Add tst-checks.
82551         * inet/tst-checks.c: New file.
82553         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
82554         warning.
82556         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
82557         __wmemcmp_sse2.
82559         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
82560         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
82562         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
82564 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
82566         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
82567         problem.
82569         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
82571 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
82573         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
82574         conditional on GCC version.
82575         (__arch_compare_and_exchange_val_8_acq)
82576         (__arch_compare_and_exchange_val_16_acq)
82577         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
82578         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
82579         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
82581 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
82583         * sysdeps/sh/backtrace.c: New file.
82585 2011-12-02  Andreas Schwab  <schwab@redhat.com>
82587         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
82588         parenthesis.
82590 2011-12-01  Andreas Schwab  <schwab@redhat.com>
82592         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
82593         falling back to utime.
82595 2011-11-30  Andreas Schwab  <schwab@redhat.com>
82597         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
82598         expectations for float.
82600 2011-11-29  Andreas Schwab  <schwab@redhat.com>
82602         * locale/weight.h (findidx): Add parameter len.
82603         * locale/weightwc.h (findidx): Likewise.
82604         * posix/fnmatch_loop.c (FCT): Adjust caller.
82605         * posix/regcomp.c (build_equiv_class): Likewise.
82606         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
82607         * posix/regexec.c (check_node_accept_bytes): Likewise.
82608         * string/strcoll_l.c (STRCOLL): Likewise.
82609         * string/strxfrm_l.c (STRXFRM): Likewise.
82611 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
82613         * Makefile.in: Remove CVSOPT handling.
82614         * configure.in: Remove use of AC_REVISION.
82615         * iconvdata/Makefile (distribute): No need to filter out CVS.
82616         * scripts/list-sources.sh: Remove CVS, subversion and monotone
82617         handling.
82619 2011-11-16  Andreas Schwab  <schwab@redhat.com>
82621         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
82622         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
82623         [USE_AS_STRNCASECMP_L]: Likewise.
82624         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
82625         NO_TLS_DIRECT_SEG_REFS.
82626         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
82627         Fix argument offsets for non-PIC.
82628         [USE_AS_STRNCASECMP_L]: Likewise.
82629         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
82630         NO_TLS_DIRECT_SEG_REFS.
82632 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
82634         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
82635         O_CLOEXEC.
82636         * locale/loadlocale.c (_nl_load_locale): Likewise.
82638 2011-11-15  Andreas Schwab  <schwab@redhat.com>
82640         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
82641         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
82642         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
82643         (SYSCALL_GETTIME): Set errno on error.
82645         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
82646         count references to noai6ai_cached.
82648 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
82650         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
82652         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
82653         FD_CLOEXEC for /proc/self/maps.
82655         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
82656         FD_CLOEXEC for /proc/meminfo.
82658         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
82659         gai.conf.
82661         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
82662         FD_CLOEXEC for given file.
82664         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
82666         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
82667         FD_CLOEXEC for /etc/hosts.
82668         (_gethtent): Likewise.
82670         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
82672         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
82673         cancellation and set FD_CLOEXEC for /etc/netgroup.
82675         * nss/nss_files/files-key.c (search): Don't allow cancellation when
82676         reading /etc/publickey.
82678         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
82679         allow cancellation when reading /etc/group.
82681         * nss/nss_files/files-alias.c (internal_setent): Don't allow
82682         cancellation.
82683         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
82685         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
82686         when using data file.
82688         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
82690         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
82691         (write_nis_obj): Use "c" and "e" in fopen.
82693         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
82695         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
82697         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
82699         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
82701         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
82702         locale.alias.
82704         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
82706         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
82708         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
82710         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
82711         file parsing and set FD_CLOEXEC.
82713 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
82715         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
82717 2011-11-14  Andreas Schwab  <schwab@redhat.com>
82719         * malloc/arena.c (arena_get2): Don't call reused_arena when
82720         _int_new_arena failed.
82722 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
82724         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
82725         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
82726         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
82727         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
82728         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
82729         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
82730         to compile strcasecmp and strncasecmp.
82731         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
82732         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
82734         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
82736 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
82738         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
82739         locale-defines.sym to gen-as-const-headers.
82740         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
82741         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
82742         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
82743         to compile strcasecmp and strncasecmp.
82744         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
82745         strcasecmp_l and strncasecmp_l.
82746         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
82747         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
82748         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
82749         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
82750         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
82751         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
82752         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
82753         * sysdeps/i386/i686/multiarch/strncase.S: New file.
82754         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
82755         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
82756         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
82758 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
82760         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
82761         result of SYSDEP_GETTIME_CPU to retval.
82762         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
82763         parameter list to macro.  Remove trailing semicolon.  Adjust users.
82765         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
82766         variable.
82768         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
82769         mantissa words.
82770         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
82772         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
82773         from unused variable.
82775         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
82776         DWARF definitions.
82777         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
82778         for assembling.
82780         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
82781         over namespaces.
82783         * sunrpc/rpc_prot.c (rejected): Fix case value.
82785         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
82786         unsigned long long int to avoid warnings in shift.
82788         * posix/regex_internal.c (re_string_reconstruct): Actually use result
82789         of use of trans.
82790         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
82791         variable tmp.
82793         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
82794         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
82795         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
82797         * nis/nis_table.c (nis_list): Use variable of correct type for
82798         result of __follow_path call.
82800 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82802         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
82803         of math functions ceil, trunc, floor, round, and sqrt, when
82804         avaliable on the platform.
82805         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
82806         name clash.
82807         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
82808         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
82809         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
82811 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
82813         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
82814         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
82816 2011-11-11  Roland McGrath  <roland@hack.frob.com>
82818         * include/unistd.h: Fix __readlink return type.
82819         Reported by Chris Metcalf <cmetcalf@tilera.com>.
82821 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
82823         * stdlib/ucontext.h: Undo last change for makecontext.
82825 2011-11-11  Andreas Schwab  <schwab@redhat.com>
82827         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
82829         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
82830         * setjmp/setjmp.h: Mark functions as non-leaf.
82831         * setjmp/bits/setjmp2.h: Likewise.
82832         * stdlib/ucontext.h: Likewise.
82834 2011-11-10  Andreas Schwab  <schwab@redhat.com>
82836         * malloc/arena.c (_int_new_arena): Don't increment narenas.
82837         (reused_arena): Don't check arena limit.
82838         (arena_get2): Atomically check arena limit.
82840 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
82842         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
82843         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
82845         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
82846         instructions.
82848 2011-11-07  Andreas Schwab  <schwab@redhat.com>
82850         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
82851         handler when locking.
82853         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
82854         Fix size of allocated buffer.
82856 2011-11-04  Andreas Schwab  <schwab@redhat.com>
82858         [BZ #10103]
82859         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
82860         declarations for long double functions.
82861         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
82863         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
82865 2011-11-03  Andreas Schwab  <schwab@redhat.com>
82867         * nscd/nscd.c (main): Don't start AVC thread until credentials are
82868         installed.
82870         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
82871         is disabled.
82873 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82875         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
82877 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
82879         * include/alloca.h (stackinfo_alloca_round): Define.
82880         (extend_alloca): Use it.
82881         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
82882         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
82883         here.
82885         * scripts/check-local-headers.sh: Ignore libaudit.h.
82887         * nscd/Makefile (extra-objs): Make recursively expanded.
82889 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
82891         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
82892         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
82894         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
82895         * posix/tst-rfc3484-2.c: Likewise.
82896         * posix/tst-rfc3484-3.c: Likewise.
82898         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
82899         process_vm_writev.
82900         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
82901         process_vm_writev.
82902         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
82903         process_vm_writev from libc using GLIBC_2.15 version.
82905         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
82907 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
82909         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
82910         stack usage.
82912 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
82914         [BZ #13367]
82915         * nss/getent.c (initgroups_keys): Show error message in case no group
82916         names are given.
82918         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
82919         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
82920         __bump_nl_timestamp.
82921         * nscd/connections (nscd_init): When host database is served open
82922         netlink socket and request notification about configuration changes.
82923         (main_loop_poll): Track netlink file descriptor and bump timestamp
82924         in case data becomes available.
82925         (main_loop_epoll): Likewise.
82926         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
82927         (database_pers_head): Add extra_data fileds.
82928         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
82929         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
82930         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
82931         Adjust caller.
82932         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
82933         in6ai data, call __free_in6ai.
82934         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
82935         Add -DHAVE_NETLINK.
82936         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
82937         interface information.  Reuse previous data if netlink timestamp
82938         is not changed.
82939         (__bump_nl_timestamp): New function.
82940         (__free_in6ai): New function.
82942 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
82944         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
82945         close_not_cancel_no_status here.
82946         (__check_pf): Reorganize code a bit to not call close twice if OOM.
82948 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
82950         [BZ #13276]
82951         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
82952         return value.
82954         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
82955         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
82956         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
82958 2011-07-03  Andreas Jaeger  <aj@suse.de>
82960         [BZ #10709]
82961         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
82962         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
82963         * math/libm-test.inc (sin_test): Add test case.
82965 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
82967         [BZ #13337]
82968         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
82969         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
82971         * elf/chroot_canon.c (chroot_canon): Cleanups.
82973         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
82975         [BZ #13335]
82976         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
82977         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
82979         * string/test-strchr.c: Make usable for strchrnul testing.
82980         * string/test-strchrnul.c: New file.
82981         * string/Makefile (strop-tests): Add strchrnul.
82983         * po/it.po: Update from translation team.
82984         * po/es.po: Likewise.
82986 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
82988         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
82989         the three constants needed as parameters.  Drop the others.
82990         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
82991         __m128i_strloadu_tolower.
82992         Create and initialize variable zero and use it in all the places
82993         where _mm_setzero_si128 was used.
82995         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
82996         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
82997         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
82998         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
82999         anymore.
83000         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
83001         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
83002         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
83003         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
83004         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
83005         __mpranred, __mptan.
83006         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
83007         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
83008         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
83009         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
83010         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
83011         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
83012         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
83013         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
83014         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
83016 2011-10-28  Andreas Schwab  <schwab@redhat.com>
83018         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
83019         redefine if SHARED.
83020         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
83022         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
83023         wide char related routines to wcsmbs subdir.
83025 2011-10-27  Andreas Schwab  <schwab@redhat.com>
83027         [BZ #13344]
83028         * misc/sys/cdefs.h (__THROWNL): Define.
83029         * posix/unistd.h: Use __THREADNL instead of __THREAD
83030         for memory synchronization functions.
83032 2011-10-26  Roland McGrath  <roland@hack.frob.com>
83034         [BZ #13349]
83035         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
83036         doesn't exist.
83037         * manual/stdio.texi (Obstack Streams): Node removed.
83039 2011-10-26  Andreas Schwab  <schwab@redhat.com>
83041         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
83042         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83043         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83045         * math/math_private.h (math_force_eval): Allow non-addressable
83046         arguments.
83047         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
83049 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83051         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
83052         file is not needed.
83054         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
83055         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
83056         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
83057         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
83058         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
83059         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
83060         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
83061         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
83062         Add AVX variants.
83063         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
83064         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
83065         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
83066         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
83067         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
83068         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
83069         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
83070         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
83071         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
83072         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
83073         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
83074         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
83075         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
83076         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
83077         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
83078         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
83079         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
83080         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
83081         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
83083         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
83084         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
83086         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
83087         place.  Use VEX encoding when compiling for AVX.
83089 2011-10-25  Andreas Schwab  <schwab@redhat.com>
83091         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
83092         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
83094         * string/test-strchr.c (do_test): Don't generate NUL bytes.
83096 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83098         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
83099         useless if() expression.
83100         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83101         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
83102         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
83103         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83104         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
83105         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83106         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83107         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83108         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
83109         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83110         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
83111         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83112         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
83113         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83114         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
83115         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83116         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
83117         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
83118         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
83120         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
83122 2011-10-25  Andreas Schwab  <schwab@redhat.com>
83124         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
83125         condition.
83126         * elf/dl-fini.c (_dl_sort_fini): Likewise.
83128 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83130         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
83131         .text section.  Avoid duplicate constants.
83132         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
83133         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83134         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
83135         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83136         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83137         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83138         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83139         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83140         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
83141         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
83142         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
83143         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
83144         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
83145         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
83146         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
83147         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
83148         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
83149         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
83150         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
83151         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83152         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
83153         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
83154         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
83155         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
83156         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
83157         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
83158         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
83159         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
83160         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
83161         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
83162         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
83163         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
83164         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
83165         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
83166         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
83167         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
83168         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
83169         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
83170         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
83171         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
83172         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
83173         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
83174         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
83175         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
83176         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
83178 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
83180         * sysdeps/x86_64/dla.h: Move to ...
83181         * sysdeps/x86_64/fpu/dla.h: ...here.
83182         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
83183         situations.  Use __builtin_fma only for gcc 4.6 and up.
83185         * config.make.in: Add have-mfma4 entry.
83186         * configure.in: Substitute libc_cv_cc_fma4.
83187         * math/Makefile (dbl-only-routines): Add sincostab.
83188         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
83189         Use __sincostab not sincos.
83190         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
83191         name is a macro.
83192         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83193         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83194         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83195         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
83196         using __copysign.
83197         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
83198         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
83199         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
83200         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
83201         and __inv.
83202         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
83203         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
83204         __copysign.
83205         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
83206         define aliases when function name is a macro.
83207         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
83208         sysdeps/ieee754/dbl-64/sincos.tbl.
83209         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
83210         fma4-enabled routines.
83211         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
83212         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
83213         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
83214         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
83215         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
83216         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
83217         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
83218         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
83219         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
83220         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
83221         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
83222         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
83223         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
83224         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
83225         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
83226         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
83227         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
83228         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
83229         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
83230         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
83231         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
83232         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
83233         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
83234         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
83235         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
83236         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
83237         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
83238         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
83239         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
83240         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
83242         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
83243         rename.
83244         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83245         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83246         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83247         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83248         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83249         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83250         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83251         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83253 2011-10-24  Andreas Schwab  <schwab@redhat.com>
83255         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
83257 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
83259         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
83261         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
83262         prediction.
83263         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
83265         * string/strnlen.c: Don't define STRNLEN, reverse logic.
83266         Remove unused variable magic_bits.
83267         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
83269         * string/strnlen.c: Define and use STRNLEN macro.
83270         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
83271         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
83272         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
83273         * wcsmbs/wcslen.c: Define and use WCSLEN.
83274         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
83275         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
83276         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
83277         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
83278         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
83279         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
83280         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
83282 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83284         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83285         strnlen-sse2-no-bsf.
83286         Rename strlen-no-bsf to strlen-sse2-no-bsf.
83287         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
83288         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
83289         Add strnlen support.
83290         (USE_AS_STRNLEN): New macro.
83291         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
83292         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
83293         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
83294         * sysdeps/x86_64/wcslen.S: New file.
83296 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
83298         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
83299         XMM-moves are used for copying on small sizes.
83301 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83303         * wcsmbs/Makefile (strop-tests): Add wcschr.
83304         * wcsmbs/test-wcschr.c: New file.
83305         * string/test-strchr.c: Update.
83306         Add wcschr support.
83307         (WIDE): New macro.
83309 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83311         * wcsmbs/Makefile (strop-tests): Add wcslen.
83312         * wcsmbs/test-wcslen.c: New file.
83313         * string/test-strlen.c: Update.
83314         Add wcslen support.
83315         (WIDE): New macro.
83317 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
83319         * po/it.po: Update from translation team.
83321 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83323         * sysdeps/x86_64/wcscmp.S: Update.
83324         Fix wrong comparison semantics.
83325         wcscmp shall use signed comparison not unsigned.
83326         Don't use substraction to avoid overflow bug.
83327         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
83328         * wcsmbc/wcscmp.c: Likewise.
83329         * string/test-strcmp.c: Likewise.
83330         Add new tests to check cases with negative values.
83332 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
83334         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
83335         * sysdeps/x86_64/dla.h: ...here.  New file.
83336         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
83337         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83338         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83339         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83340         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83341         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
83342         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83343         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83344         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83346 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
83348         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
83349         __ynl_finite aliases.
83351 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
83353         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83355         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
83356         define DLA_FMA.
83357         [DLA_FMA] (EMULV): Use DLA_FMA.
83358         [DLA_FMA] (MUL12): Use EMULV.
83359         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
83360         that are not needed.
83361         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83362         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83363         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83364         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83365         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83366         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83367         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83369 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
83371         * math/s_nan.c: Undef __nan.
83372         * math/s_nanf.c: Undef __nanf.
83373         * math/s_nanl.c: Undef __nanl.
83374         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
83375         "math_private.h".
83377 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
83379         * math/s_catan.c: Add branch predictions.
83380         * math/s_catanf.c: Likewise.
83381         * math/s_catanh.c: Likewise.
83382         * math/s_catanhf.c: Likewise.
83383         * math/s_catanhl.c: Likewise.
83384         * math/s_catanl.c: Likewise.
83385         * math/s_cexp.c: Likewise.
83386         * math/s_cexpf.c: Likewise.
83387         * math/s_cexpl.c: Likewise.
83388         * math/s_clog.c: Likewise.
83389         * math/s_clog10.c: Likewise.
83390         * math/s_clog10f.c: Likewise.
83391         * math/s_clog10l.c: Likewise.
83392         * math/s_clogf.c: Likewise.
83393         * math/s_clogl.c: Likewise.
83394         * math/s_csqrt.c: Likewise.
83395         * math/s_csqrtf.c: Likewise.
83396         * math/s_csqrtl.c: Likewise.
83397         * math/s_ctanf.c: Likewise.
83398         * math/s_ctanh.c: Likewise.
83399         * math/s_ctanhf.c: Likewise.
83400         * math/s_ctanhl.c: Likewise.
83401         * math/s_ctanl.c: Likewise.
83403         * math/math_private.h: Define __nan, __nanf, __nanl.
83404         * math/s_cacosh.c: Include <math_private.h>.
83405         * math/s_cacoshl.c: Likewise.
83406         * math/s_casinh.c: Likewise.
83407         * math/s_casinhf.c: Likewise.
83408         * math/s_casinhl.c: Likewise.
83409         * math/s_ccos.c: Rely entire on ccosh.
83410         * math/s_ccosf.c: Rely entire on ccoshf.
83411         * math/s_ccosl.c: Rely entirely on ccoshl.
83412         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
83413         Remove tests for FE_INVALID.
83414         * math/s_ccoshf.c: Likewise.
83415         * math/s_ccoshl.c: Likewise.
83416         * math/s_csin.c: Likewise.
83417         * math/s_csinf.c: Likewise.
83418         * math/s_csinh.c Likewise.
83419         * math/s_csinhf.c: Likewise.
83420         * math/s_csinhl.c: Likewise.
83421         * math/s_csinl.c: Likewise.
83422         * math/s_ctan.c: Likewise.
83423         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
83424         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
83425         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
83427 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
83429         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
83430         compilation problems.
83432         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
83433         __builtin_expect.
83435 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
83437         * sysdeps/i386/configure.in: Test for -mfma4 option.
83438         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
83439         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
83440         COMMON_CPUID_INDEX_80000001.
83441         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
83442         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
83443         use it if FMA3 is not supported.
83444         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
83446         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
83447         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
83449 2011-10-20  Andreas Schwab  <schwab@redhat.com>
83451         [BZ #12892]
83452         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
83453         it would create a cycle with a link time dependency.
83455 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
83457         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
83458         instruction.
83459         * string/Makefile (strop-tests): Add rawmemchr.
83460         * string/test-rawmemchr.c: New file.
83462         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
83463         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
83464         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
83465         when compiling str{,n}casecmp and when AVX is available.  Hook up
83466         new optimized code in initializers.
83468 2011-10-19  Andreas Schwab  <schwab@redhat.com>
83470         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
83471         __feraiseexcept instead of feraiseexcept.
83473 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
83475         * math/math_private.h: Define defaults for libc_fetestexcept and
83476         libc_feupdateenv.
83477         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
83478         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
83479         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
83480         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
83481         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
83482         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
83483         libc_fetestexcept and libc_feupdateenv.
83485         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
83486         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
83487         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
83488         * sysdeps/x86_64/fpu/math_private.h: Define special version of
83489         libc_feholdexcept_setround.
83491         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
83492         Add s_nearbyint-c and s_nearbyintf-c.
83493         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
83494         nearbyintf inlines.
83495         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
83496         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
83497         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
83498         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
83500         * math/math_private.h: Define defaults for libc_fegetround,
83501         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
83502         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
83503         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
83504         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
83505         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
83506         standard functions.
83507         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
83508         Remove comments and hacks for old compiler versions.
83509         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
83510         libc_fegetround, libc_fesetround, libc_feholdexcept, and
83511         libc_feholdexceptl.
83513 2011-10-18  Andreas Schwab  <schwab@redhat.com>
83515         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83516         (__feraiseexcept_renamed): Add __NTH.
83517         (feraiseexcept): Add __NTH.  Rename local variables to fix
83518         namespace violations.
83520 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
83522         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
83524         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
83526         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
83527         recently added interfaces.
83528         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
83530         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
83531         about macro parameter expansion.
83533         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
83534         __NO_MATH_INLINES is defined.  Cleanups.
83536         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
83537         and __floorf is target has SSE4.1.
83538         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
83539         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
83540         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
83541         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
83543         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
83544         name.
83545         (floorf): Likewise.
83547         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
83549 2011-10-17  Andreas Schwab  <schwab@redhat.com>
83551         * misc/sys/cdefs.h: Fix last change.
83553         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
83554         database lookup.
83556 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
83558         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
83560         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
83561         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83562         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
83563         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83564         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83565         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
83566         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83567         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83568         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
83569         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
83570         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
83571         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
83572         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
83573         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
83574         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
83575         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
83576         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
83577         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
83578         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
83579         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
83580         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
83581         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
83583         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
83584         ceil, ceilf, floor, floorf.
83586         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
83587         Perform IRELATIVE relocations last.
83589         * elf/do-rel.h: Add another parameter nrelative, replacing the
83590         local variable with the same name.  Change name of the function
83591         to end in Rel or Rela (uppercase).
83592         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
83593         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
83594         elf_dynamic_do_##reloc function.
83596 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
83598         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
83599         is sufficient, at least on modern CPUs.
83601         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
83603         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
83604         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
83606         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
83607         __expl_finite.
83608         * math/bits/math-finite.h: Add entries for exp.
83609         * math/e_expl.c: Add __*_finite alias.
83610         * sysdeps/i386/fpu/e_exp.S: Likewise.
83611         * sysdeps/i386/fpu/e_expf.S: Likewise.
83612         * sysdeps/i386/fpu/e_expl.c: Likewise.
83613         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83614         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
83615         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
83616         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
83617         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
83618         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
83619         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
83621         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
83622         is sufficient, at least on modern CPUs.
83624         * ctype/ctype-info.c (__ctype_init): Define.
83625         * include/ctype.h (__ctype_init): Declare.
83626         (__ctype_b_loc): The variable is always initialized.
83627         (__ctype_toupper_loc): Likewise.
83628         (__ctype_tolower_loc): Likewise.
83629         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
83630         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
83632 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
83634         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
83636         * configure.in: Also look in $cxxmachine/include for C++ system
83637         headers.
83639 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83641         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
83642         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
83643         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
83644         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
83645         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
83646         (USE_AS_WMEMCMP): New macro.
83647         Fixing indents.
83648         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
83649         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
83650         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
83651         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
83652         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83653         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
83654         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
83655         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
83656         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
83657         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
83658         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
83659         (USE_AS_WMEMCMP): New macro.
83660         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
83661         * sysdeps/string/test-memcmp.c: Update.
83662         Fix simple_wmemcmp.
83663         Add new tests.
83664         * wcsmbs/wmemcmp.c: Update.
83665         (WMEMCMP): New macro.
83666         Fix overflow bug.
83668 2011-10-12  Andreas Jaeger  <aj@suse.de>
83670         [BZ #13268]
83671         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
83673 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
83675         * libio/iofwide.c (do_length): Avoid warning.
83677         * ctype/ctype.h (__isctype_f): Add missing __THROW.
83679 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
83681         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
83683         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
83684         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
83685         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
83686         * sysdeps/i386/i686/fpu/e_log.S: New file.
83687         * sysdeps/i386/i686/fpu/e_logf.S: New file.
83688         * sysdeps/i386/i686/fpu/e_logl.S: New file.
83690         * ctype/ctype.h: Add support for inlined isXXX functions when
83691         compiling C++ code.
83693 2011-10-14  Andreas Schwab  <schwab@redhat.com>
83695         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83697         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
83699 2011-10-13  Roland McGrath  <roland@hack.frob.com>
83701         [BZ #13291]
83702         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
83704 2011-10-13  Andreas Schwab  <schwab@redhat.com>
83706         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
83707         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
83708         feraiseexcept.
83710         * sysdeps/x86_64/memrchr.S: Check for zero size.
83712         * string/stratcliff.c: Add memrchr tests.
83714 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83716         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83717         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
83718         rawmemchr-sse2 rawmemchr-sse2-bsf.
83719         * sysdeps/i386/i686/multiarch/memchr.S: New file.
83720         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
83721         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
83722         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
83723         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
83724         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
83725         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
83726         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
83727         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
83728         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
83729         * string/memrchr.c (MEMRCHR): New macro.
83731 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
83733         Add integration with gcc's -ffinite-math-only and optimize wrapper
83734         functions in libm.
83735         * Versions.def: Define GLIBC_2.15 version for libm.
83736         * math/Makefile (headers): Add bits/math-finite.h.
83737         * math/bits/math-finite.h: New file.
83738         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
83739         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
83740         * math/e_acoshl.c: Add __*_finite alias.
83741         * math/e_acosl.c: Likewise.
83742         * math/e_asinl.c: Likewise.
83743         * math/e_atan2l.c: Likewise.
83744         * math/e_atanhl.c: Likewise.
83745         * math/e_coshl.c: Likewise.
83746         * math/e_exp10.c: Likewise.
83747         * math/e_exp10f.c: Likewise.
83748         * math/e_exp10l.c: Likewise.
83749         * math/e_exp2l.c: Likewise.
83750         * math/e_fmodl.c: Likewise.
83751         * math/e_gammal_r.c: Likewise.
83752         * math/e_hypotl.c: Likewise.
83753         * math/e_j0l.c: Likewise.
83754         * math/e_j1l.c: Likewise.
83755         * math/e_jnl.c: Likewise.
83756         * math/e_lgammal_r.c: Likewise.
83757         * math/e_log10l.c: Likewise.
83758         * math/e_log2l.c: Likewise.
83759         * math/e_logl.c: Likewise.
83760         * math/e_powl.c: Likewise.
83761         * math/e_sinhl.c: Likewise.
83762         * math/e_sqrtl.c: Likewise.
83763         * math/e_scalb.c: Completely rewritten and optimized.
83764         * math/e_scalbf.c: Likewise.
83765         * math/e_scalbl.c: Likewise.
83766         * math/w_acos.c: Likewise.
83767         * math/w_acosf.c: Likewise.
83768         * math/w_acosl.c: Likewise.
83769         * math/w_acosh.c: Likewise.
83770         * math/w_acoshf.c: Likewise.
83771         * math/w_acoshl.c: Likewise.
83772         * math/w_asin.c: Likewise.
83773         * math/w_asinf.c: Likewise.
83774         * math/w_asinl.c: Likewise.
83775         * math/w_atan2.c: Likewise.
83776         * math/w_atan2f.c: Likewise.
83777         * math/w_atan2l.c: Likewise.
83778         * math/w_atanh.c: Likewise.
83779         * math/w_atanhf.c: Likewise.
83780         * math/w_atanhl.c: Likewise.
83781         * math/w_exp10.c: Likewise.
83782         * math/w_exp10f.c: Likewise.
83783         * math/w_exp10l.c: Likewise.
83784         * math/w_fmod.c: Likewise.
83785         * math/w_fmodf.c: Likewise.
83786         * math/w_fmodl.c: Likewise.
83787         * math/w_j0.c: Likewise.
83788         * math/w_j0f.c: Likewise.
83789         * math/w_j0l.c: Likewise.
83790         * math/w_j1.c: Likewise.
83791         * math/w_j1f.c: Likewise.
83792         * math/w_j1l.c: Likewise.
83793         * math/w_jn.c: Likewise.
83794         * math/w_jnf.c: Likewise.
83795         * math/w_log.c: Likewise.
83796         * math/w_logf.c: Likewise.
83797         * math/w_logl.c: Likewise.
83798         * math/w_log10.c: Likewise.
83799         * math/w_log10f.c: Likewise.
83800         * math/w_log10l.c: Likewise.
83801         * math/w_log2.c: Likewise.
83802         * math/w_log2f.c: Likewise.
83803         * math/w_log2l.c: Likewise.
83804         * math/w_pow.c: Likewise.
83805         * math/w_powf.c: Likewise.
83806         * math/w_powl.c: Likewise.
83807         * math/w_remainder.c: Likewise.
83808         * math/w_remainderf.c: Likewise.
83809         * math/w_remainderl.c: Likewise.
83810         * math/w_scalb.c: Likewise.
83811         * math/w_scalbf.c: Likewise.
83812         * math/w_scalbl.c: Likewise.
83813         * math/w_sqrt.c: Likewise.
83814         * math/w_sqrtf.c: Likewise.
83815         * math/w_sqrtl.c: Likewise.
83816         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
83817         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
83818         used.
83819         * math/math_private.h: Declare __kernel_standard_f.
83820         * math/w_cosh.c: Remove cruft and optimize a bit.
83821         * math/w_coshf.c: Likewise.
83822         * math/w_coshl.c: Likewise.
83823         * math/w_exp2.c: Likewise.
83824         * math/w_exp2f.c: Likewise.
83825         * math/w_exp2l.c: Likewise.
83826         * math/w_hypot.c: Likewise.
83827         * math/w_hypotf.c: Likewise.
83828         * math/w_hypotl.c: Likewise.
83829         * math/w_lgamma.c: Likewise.
83830         * math/w_lgamma_r.c: Likewise.
83831         * math/w_lgammaf.c: Likewise.
83832         * math/w_lgammaf_r.c: Likewise.
83833         * math/w_lgammal.c: Likewise.
83834         * math/w_lgammal_r.c: Likewise.
83835         * math/w_sinh.c: Likewise.
83836         * math/w_sinhf.c: Likewise.
83837         * math/w_sinhl.c: Likewise.
83838         * math/w_tgamma.c: Likewise.
83839         * math/w_tgammaf.c: Likewise.
83840         * math/w_tgammal.c: Likewise.
83841         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
83842         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83843         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
83844         Minor optimizations.  Pretty printing.  Remove cruft.
83845         * sysdeps/i386/fpu/e_acosf.S: Likewise.
83846         * sysdeps/i386/fpu/e_acosh.S: Likewise.
83847         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
83848         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
83849         * sysdeps/i386/fpu/e_acosl.c: Likewise.
83850         * sysdeps/i386/fpu/e_asin.S: Likewise.
83851         * sysdeps/i386/fpu/e_asinf.S: Likewise.
83852         * sysdeps/i386/fpu/e_atan2.S: Likewise.
83853         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
83854         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
83855         * sysdeps/i386/fpu/e_atanh.S: Likewise.
83856         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
83857         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
83858         * sysdeps/i386/fpu/e_exp10.S: Likewise.
83859         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
83860         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
83861         * sysdeps/i386/fpu/e_exp2.S: Likewise.
83862         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
83863         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
83864         * sysdeps/i386/fpu/e_fmod.S: Likewise.
83865         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
83866         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
83867         * sysdeps/i386/fpu/e_hypot.S: Likewise.
83868         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
83869         * sysdeps/i386/fpu/e_log.S: Likewise.
83870         * sysdeps/i386/fpu/e_log10.S: Likewise.
83871         * sysdeps/i386/fpu/e_log10f.S: Likewise.
83872         * sysdeps/i386/fpu/e_log10l.S: Likewise.
83873         * sysdeps/i386/fpu/e_log2.S: Likewise.
83874         * sysdeps/i386/fpu/e_log2f.S: Likewise.
83875         * sysdeps/i386/fpu/e_log2l.S: Likewise.
83876         * sysdeps/i386/fpu/e_logf.S: Likewise.
83877         * sysdeps/i386/fpu/e_logl.S: Likewise.
83878         * sysdeps/i386/fpu/e_pow.S: Likewise.
83879         * sysdeps/i386/fpu/e_powf.S: Likewise.
83880         * sysdeps/i386/fpu/e_powl.S: Likewise.
83881         * sysdeps/i386/fpu/e_remainder.S: Likewise.
83882         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
83883         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
83884         * sysdeps/i386/fpu/e_scalb.S: Likewise.
83885         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
83886         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
83887         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
83888         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
83889         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
83890         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
83891         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
83892         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83893         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
83894         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
83895         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
83896         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
83897         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
83898         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83899         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
83900         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
83901         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
83902         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83903         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
83904         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
83905         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83906         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
83907         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
83908         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
83909         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83910         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
83911         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
83912         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
83913         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
83914         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
83915         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
83916         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
83917         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
83918         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
83919         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
83920         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
83921         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
83922         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
83923         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
83924         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
83925         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
83926         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
83927         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
83928         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
83929         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
83930         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
83931         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
83932         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
83933         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
83934         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
83935         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
83936         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
83937         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
83938         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
83939         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
83940         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
83941         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
83942         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
83943         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
83944         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
83945         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
83946         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
83947         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
83948         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
83949         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
83950         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
83951         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
83952         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
83953         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
83954         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
83955         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
83956         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
83957         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
83958         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
83959         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
83960         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
83961         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
83962         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
83963         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
83964         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
83965         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
83966         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
83967         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
83968         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
83969         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
83970         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
83971         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
83972         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
83973         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
83974         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
83975         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
83976         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
83977         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
83978         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
83979         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
83980         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
83981         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
83982         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
83983         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
83984         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
83985         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
83986         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
83987         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
83988         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
83989         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
83990         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
83991         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
83992         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
83993         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
83994         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
83995         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
83996         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
83997         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
83998         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
83999         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
84000         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
84001         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
84002         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
84003         (__isnanf): Likewise.
84004         (__isinf_ns): Likewise.
84005         (__isinf_nsf): Likewise.
84006         (__finite): Likewise.
84007         (__finitef): Likewise.
84008         (__ieee754_sqrt): Define as macro.
84009         (__ieee754_sqrtf): Define as macro.
84010         (__ieee754_sqrtl): Define as macro.
84011         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
84012         inlined copy.
84013         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
84014         __FINITE_MATH_ONLY__ consistent.
84015         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
84017 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
84019         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
84020         of rawmemchr.
84022         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
84024 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
84026         * po/ja.po: Update from translation team.
84028 2011-10-08  Roland McGrath  <roland@hack.frob.com>
84030         * locale/programs/locarchive.c (prepare_address_space): New function.
84031         (create_archive, enlarge_archive, open_archive): Use it.
84033         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
84034         inside [SHARED], where it is used.
84036         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
84038         * nss/getent.c (netgroup_keys): Remove unused variable.
84039         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
84041 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
84043         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
84044         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
84045         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
84046         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
84047         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
84048         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
84049         * math/Makefile (libm-calls): Add s_isinf_ns.
84050         * math/divtc3.c: Use __isinf_nsl instead of isinf.
84051         * math/multc3.c: Likewise.
84052         * math/s_casin.c: Likewise.
84053         * math/s_casinf.c: Likewise.
84054         * math/s_casinl.c: Likewise.
84055         * math/s_ccos.c: Likewise.
84056         * math/s_ccosf.c: Likewise.
84057         * math/s_ccosl.c: Likewise.
84058         * math/s_ctan.c: Likewise.
84059         * math/s_ctanf.c: Likewise.
84060         * math/s_ctanh.c: Likewise.
84061         * math/s_ctanhf.c: Likewise.
84062         * math/s_ctanhl.c: Likewise.
84063         * math/s_ctanl.c: Likewise.
84064         * math/w_fmod.c: Likewise.
84065         * math/w_fmodf.c: Likewise.
84066         * math/w_fmodl.c: Likewise.
84067         * math/w_remainder.c: Likewise.
84068         * math/w_remainderf.c: Likewise.
84069         * math/w_remainderl.c: Likewise.
84070         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
84071         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
84072         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
84073         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
84074         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
84075         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
84076         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
84077         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
84079         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
84080         of the number.
84081         * stdio-common/printf_fphex.c: Likewise.
84082         * stdio-common/printf_size.c: Likewise.
84084         * math/e_exp10.c: Include math_private.h using <...> not "...".
84085         * math/e_exp10f.c: Likewise.
84086         * math/e_exp10l.c: Likewise.
84087         * math/e_exp2l.c: Likewise.
84088         * math/e_j0l.c: Likewise.
84089         * math/e_j1l.c: Likewise.
84090         * math/e_jnl.c: Likewise.
84091         * math/e_lgammal_r.c: Likewise.
84092         * math/e_rem_pio2l.c: Likewise.
84093         * math/e_scalb.c: Likewise.
84094         * math/e_scalbf.c: Likewise.
84095         * math/e_scalbl.c: Likewise.
84096         * math/k_cosl.c: Likewise.
84097         * math/k_sinl.c: Likewise.
84098         * math/k_tanl.c: Likewise.
84099         * math/s_cacoshf.c: Likewise.
84100         * math/s_catan.c: Likewise.
84101         * math/s_catanf.c: Likewise.
84102         * math/s_catanh.c: Likewise.
84103         * math/s_catanhf.c: Likewise.
84104         * math/s_catanhl.c: Likewise.
84105         * math/s_catanl.c: Likewise.
84106         * math/s_ccosh.c: Likewise.
84107         * math/s_ccoshf.c: Likewise.
84108         * math/s_ccoshl.c: Likewise.
84109         * math/s_cexp.c: Likewise.
84110         * math/s_cexpf.c: Likewise.
84111         * math/s_cexpl.c: Likewise.
84112         * math/s_clog.c: Likewise.
84113         * math/s_clog10.c: Likewise.
84114         * math/s_clog10f.c: Likewise.
84115         * math/s_clog10l.c: Likewise.
84116         * math/s_clogf.c: Likewise.
84117         * math/s_clogl.c: Likewise.
84118         * math/s_csin.c: Likewise.
84119         * math/s_csinf.c: Likewise.
84120         * math/s_csinh.c: Likewise.
84121         * math/s_csinhf.c: Likewise.
84122         * math/s_csinhl.c: Likewise.
84123         * math/s_csinl.c: Likewise.
84124         * math/s_csqrt.c: Likewise.
84125         * math/s_csqrtf.c: Likewise.
84126         * math/s_csqrtl.c: Likewise.
84127         * math/s_ctan.c: Likewise.
84128         * math/s_ctanf.c: Likewise.
84129         * math/s_ctanh.c: Likewise.
84130         * math/s_ctanhf.c: Likewise.
84131         * math/s_ctanhl.c: Likewise.
84132         * math/s_ctanl.c: Likewise.
84133         * math/s_ldexp.c: Likewise.
84134         * math/s_ldexpf.c: Likewise.
84135         * math/s_ldexpl.c: Likewise.
84136         * math/s_significand.c: Likewise.
84137         * math/s_significandf.c: Likewise.
84138         * math/s_significandl.c: Likewise.
84139         * math/w_acos.c: Likewise.
84140         * math/w_acosf.c: Likewise.
84141         * math/w_acosh.c: Likewise.
84142         * math/w_acoshf.c: Likewise.
84143         * math/w_acoshl.c: Likewise.
84144         * math/w_acosl.c: Likewise.
84145         * math/w_asin.c: Likewise.
84146         * math/w_asinf.c: Likewise.
84147         * math/w_asinl.c: Likewise.
84148         * math/w_atan2.c: Likewise.
84149         * math/w_atan2f.c: Likewise.
84150         * math/w_atan2l.c: Likewise.
84151         * math/w_atanh.c: Likewise.
84152         * math/w_atanhf.c: Likewise.
84153         * math/w_atanhl.c: Likewise.
84154         * math/w_cosh.c: Likewise.
84155         * math/w_coshf.c: Likewise.
84156         * math/w_coshl.c: Likewise.
84157         * math/w_dremf.c: Likewise.
84158         * math/w_exp10.c: Likewise.
84159         * math/w_exp10f.c: Likewise.
84160         * math/w_exp10l.c: Likewise.
84161         * math/w_exp2.c: Likewise.
84162         * math/w_exp2f.c: Likewise.
84163         * math/w_fmod.c: Likewise.
84164         * math/w_fmodf.c: Likewise.
84165         * math/w_fmodl.c: Likewise.
84166         * math/w_hypot.c: Likewise.
84167         * math/w_hypotf.c: Likewise.
84168         * math/w_hypotl.c: Likewise.
84169         * math/w_j0.c: Likewise.
84170         * math/w_j0f.c: Likewise.
84171         * math/w_j0l.c: Likewise.
84172         * math/w_j1.c: Likewise.
84173         * math/w_j1f.c: Likewise.
84174         * math/w_j1l.c: Likewise.
84175         * math/w_jn.c: Likewise.
84176         * math/w_jnf.c: Likewise.
84177         * math/w_jnl.c: Likewise.
84178         * math/w_lgamma.c: Likewise.
84179         * math/w_lgamma_r.c: Likewise.
84180         * math/w_lgammaf.c: Likewise.
84181         * math/w_lgammaf_r.c: Likewise.
84182         * math/w_lgammal.c: Likewise.
84183         * math/w_lgammal_r.c: Likewise.
84184         * math/w_log.c: Likewise.
84185         * math/w_log10.c: Likewise.
84186         * math/w_log10f.c: Likewise.
84187         * math/w_log10l.c: Likewise.
84188         * math/w_log2.c: Likewise.
84189         * math/w_log2f.c: Likewise.
84190         * math/w_log2l.c: Likewise.
84191         * math/w_logf.c: Likewise.
84192         * math/w_logl.c: Likewise.
84193         * math/w_pow.c: Likewise.
84194         * math/w_powf.c: Likewise.
84195         * math/w_powl.c: Likewise.
84196         * math/w_remainder.c: Likewise.
84197         * math/w_remainderf.c: Likewise.
84198         * math/w_remainderl.c: Likewise.
84199         * math/w_scalb.c: Likewise.
84200         * math/w_scalbf.c: Likewise.
84201         * math/w_scalbl.c: Likewise.
84202         * math/w_sinh.c: Likewise.
84203         * math/w_sinhf.c: Likewise.
84204         * math/w_sinhl.c: Likewise.
84205         * math/w_sqrt.c: Likewise.
84206         * math/w_sqrtf.c: Likewise.
84207         * math/w_sqrtl.c: Likewise.
84208         * math/w_tgamma.c: Likewise.
84209         * math/w_tgammaf.c: Likewise.
84210         * math/w_tgammal.c: Likewise.
84212         * po/ja.po: Update from translation team.
84214 2011-09-29  Andreas Jaeger  <aj@suse.de>
84216         [BZ #13179]
84217         * sunrpc/netname.c (netname2host): Fix logic.
84219         [BZ #6779]
84220         [BZ #6783]
84221         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
84222         correctly.
84223         * math/w_remainder.c (__remainder): Likewise.
84224         * math/w_remainderf.c (__remainderf): Likewise.
84225         * math/libm-test.inc (remainder_test): Add test cases.
84227 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84229         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
84230         sdiv_qrnnd.
84232 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
84234         * string/test-memcmp.c: Avoid unncessary #defines.
84235         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
84237 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84239         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
84240         Use new sse2 version for core i3 - i7 as it's faster
84241         than sse42 version.
84242         (bit_Prefer_PMINUB_for_stringop): New.
84243         * sysdeps/x86_64/rawmemchr.S: Update.
84244         Replace with faster SSE2 version.
84245         * sysdeps/x86_64/memrchr.S: New file.
84246         * sysdeps/x86_64/memchr.S: Update.
84247         Replace with faster SSE2 version.
84249 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
84251         * elf/dl-load.c (lose): Add cast to avoid warning.
84253 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
84255         * po/ca.po: Update from translation team.
84257         * inet/getnetgrent_r.c: Hook up nscd.
84258         * nscd/Makefile (routines): Add nscd_netgroup.
84259         (nscd-modules): Add netgroupcache.
84260         (CFLAGS-netgroupcache.c): Define.
84261         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
84262         (cache_search): Add const to second parameter.
84263         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
84264         INNETGR.
84265         (dbs): Add netgrdb entry.
84266         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
84267         (verify_persistent_db): Handle netgrdb.
84268         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
84269         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
84270         GETFDNETGR.
84271         (netgroup_response_header): Define.
84272         (innetgroup_response_header): Define.
84273         (datahead): Add netgroup_response_header and innetgroup_response_header
84274         elements.
84275         * nscd/nscd.conf: Add entries for netgroup cache.
84276         * nscd/nscd.h (dbtype): Add netgrdb.
84277         (_PATH_NSCD_NETGROUP_DB): Define.
84278         (netgroup_iov_disabled): Declare.
84279         (xmalloc, xcalloc, xrealloc): Move declarations here.
84280         (cache_search): Adjust prototype.
84281         Add netgroup-related prototypes.
84282         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
84283         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
84284         (__nscd_innetgr): Declare.
84285         * nscd/selinux.c (perms): Use access_vector_t as element type and
84286         add netgroup-related initializers.
84287         * nscd/netgroupcache.c: New file.
84288         * nscd/nscd_netgroup.c: New file.
84289         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
84290         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
84291         For four parameters use innetgr.
84292         * nss/nss_files/files-init.c: Add definition and callback for netgr.
84293         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
84294         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
84295         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
84297         * nscd/connections.c (register_traced_file): Don't register file
84298         for disabled databases.
84300 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
84302         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
84304         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
84305         from tree and freeing node.
84307 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
84309         * nss/nsswitch.c (__nss_database_lookup): Handle
84310         nss_parse_service_list out of memory case.
84312 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
84314         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
84315         out of memory case.
84317 2011-10-04  Andreas Schwab  <schwab@redhat.com>
84319         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
84320         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
84321         pass it down.
84322         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
84323         elf_machine_rela, elf_machine_lazy_rel.
84324         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
84325         (ELF_DYNAMIC_DO_REL): Likewise.
84326         (ELF_DYNAMIC_DO_RELA): Likewise.
84327         (ELF_DYNAMIC_RELOCATE): Likewise.
84328         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
84329         to ELF_DYNAMIC_DO_REL.
84330         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
84331         (dl_main): In trace mode always set __RTLD_NOIFUNC.
84332         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
84333         elf_machine_rela.
84334         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
84335         skip_ifunc, don't call ifunc function if non-zero.
84336         (elf_machine_rela): Likewise.
84337         (elf_machine_lazy_rel): Likewise.
84338         (elf_machine_lazy_rela): Likewise.
84339         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
84340         (elf_machine_lazy_rel): Likewise.
84341         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
84342         Likewise.
84343         (elf_machine_lazy_rel): Likewise.
84344         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84345         Likewise.
84346         (elf_machine_lazy_rel): Likewise.
84347         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
84348         (elf_machine_lazy_rel): Likewise.
84349         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
84350         (elf_machine_lazy_rel): Likewise.
84351         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
84352         (elf_machine_lazy_rel): Likewise.
84353         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
84354         (elf_machine_lazy_rel): Likewise.
84355         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
84356         (elf_machine_lazy_rel): Likewise.
84357         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
84358         (elf_machine_lazy_rel): Likewise.
84360 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
84362         * nss/nss_files/files-init.c (_nss_files_init): Use static
84363         initialization for all the *_traced_file variables.
84365 2011-09-28  Andreas Schwab  <schwab@redhat.com>
84367         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84369 2011-09-27  Roland McGrath  <roland@hack.frob.com>
84371         [BZ #13226]
84372         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
84374 2011-09-27  Andreas Schwab  <schwab@redhat.com>
84376         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
84377         Reread the line before reparsing it.
84379 2011-09-26  Andreas Schwab  <schwab@redhat.com>
84381         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
84383 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
84384             Maxim Kuvyrkov  <maxim@codesourcery.com>
84385             Joseph Myers  <joseph@codesourcery.com>
84387         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
84388         if needed for __stack_chk_guard.
84390 2011-09-19  Roland McGrath  <roland@hack.frob.com>
84392         * sysdeps/posix/spawni.c (script_execute): Always define it.
84393         It will be optimized away if unused.
84394         (maybe_script_execute): New function.
84395         (__spawni): Call it.
84397         * Makerules: Don't include tls.make.
84398         (config-tls): Always set to thread.
84399         * tls.make.c: File removed.
84401 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
84403         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
84404         * config.make.in (CPPFLAGS-config): New substituted variable.
84406 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
84408         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
84410         [BZ #13192]
84411         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
84412         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
84414 2011-09-15  Roland McGrath  <roland@hack.frob.com>
84416         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
84417         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
84418         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
84419         (CALL_FAIL): Likewise.
84420         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
84421         (CALL_FAIL): Macro removed.
84422         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
84424 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
84426         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
84427         for __FINITE_MATH_ONLY__ == 1.
84429 2011-09-15  Andreas Schwab  <schwab@redhat.com>
84431         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
84432         __ieee754_sqrt instead of sqrt.
84433         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
84434         __ieee754_sqrtf instead of sqrtf.
84435         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
84436         __floorf instead of floorf.
84437         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
84438         __floorf, __truncf instead of floorf, truncf.
84440 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
84442         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
84444         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
84445         __extern_always_inline.
84446         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
84447         32-bit.
84449 2011-09-14  Andreas Schwab  <schwab@redhat.com>
84451         * elf/rtld.c (dl_main): Also relocate in dependency order when
84452         doing symbol dependency testing.
84454 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
84456         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84457         Always define `refsym'.
84459 2011-09-13  Andreas Schwab  <schwab@redhat.com>
84461         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
84462         (__FD_ELT): Renamed from __FDELT.
84463         * misc/bits/select2.h (__FD_ELT): Likewise.
84464         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
84465         __FD_MASK instead of __FDELT, __FDMASK.
84466         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
84467         Likewise.
84468         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
84469         Likewise.
84471         * elf/Makefile (gen-ldd): Fix pattern.
84473         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
84474         (init_tls): Likewise.
84476 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
84478         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
84480 2011-09-12  Andreas Schwab  <schwab@redhat.com>
84482         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
84483         `struct cmsghdr *' instead of `void *'.
84484         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
84485         Likewise.
84487 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
84489         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
84490         if non-absolute.
84491         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
84492         ldd_rewrite_script.
84494 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
84496         * configure.in: Remove --with-tls option.
84497         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
84498         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
84499         out in case it is missing.
84500         * sysdeps/ia64/elf/configure.in: Likewise.
84501         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
84502         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
84503         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
84504         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
84505         * sysdeps/sh/elf/configure.in: Likewise.
84506         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
84507         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
84508         * sysdeps/x86_64/elf/configure.in: Likewise.
84509         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
84510         * sysdeps/mach/hurd/tls.h: Likewise.
84512         [BZ #13067]
84513         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
84515         [BZ #13090]
84516         * configure.in: Fix use of AC_INIT.
84518         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
84520 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
84522         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
84523         __set_errno.
84524         * malloc/hooks.c: Likewise.
84526         [BZ #11929]
84527         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
84528         variables statically.
84529         (narenas): Initialize.
84530         (list_lock): Initialize.
84531         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
84532         initializtion of main_arena and list_lock.  Small cleanups.
84533         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
84534         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
84535         Add initializers to main_arena and mp_.
84536         (malloc_state): Remove pagesize member.  Change all users to use
84537         GLRO(dl_pagesize).
84539         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
84540         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
84541         is always initialized.
84543         * malloc/malloc.c: Removed unused configurations and dead code.
84544         * malloc/arena.c: Likewise.
84545         * malloc/hooks.c: Likewise.
84546         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
84548         * include/tls.h: Removed.  USE___THREAD must always be defined.
84549         * bits/libc-tsd.h: Don't handle !USE___THREAD.
84550         * elf/dl-libc.c: Likewise.
84551         * elf/dl-tsd.c: Likewise.
84552         * include/errno.h: Likewise.
84553         * include/netdb.h: Likewise.
84554         * include/resolv.h: Likewise.
84555         * inet/herrno-loc.c: Likewise.
84556         * inet/herrno.c: Likewise.
84557         * malloc/arena.c: Likewise.
84558         * malloc/hooks.c: Likewise.
84559         * malloc/malloc.c: Likewise.
84560         * resolv/res-state.c: Likewise.
84561         * resolv/res_libc.c: Likewise.
84562         * sysdeps/i386/dl-machine.h: Likewise.
84563         * sysdeps/ia64/dl-machine.h: Likewise.
84564         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
84565         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
84566         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
84567         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
84568         * sysdeps/sh/dl-machine.h: Likewise.
84569         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
84570         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
84571         * sysdeps/unix/i386/sysdep.S: Likewise.
84572         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
84573         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
84574         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
84575         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
84576         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
84577         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
84578         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
84579         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
84580         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84581         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
84582         * sysdeps/unix/x86_64/sysdep.S: Likewise.
84583         * sysdeps/x86_64/dl-machine.h: Likewise.
84584         * tls.make.c: Likewise.
84586         * configure.in: Remove --with-__thread option.  Make tests for
84587         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
84588         tls_model attribute fail if no support is available.  Remove
84589         USE_IN_LIBIO.
84590         * Makeconfig: Adjust for dropped configure option.  All features are
84591         now mandatory.
84592         * Makerules: Likewise.
84593         * Versions.def: Likewise.
84594         * argp/argp-fmtstream.c: Likewise.
84595         * argp/argp-fmtstream.h: Likewise.
84596         * argp/argp-help.c: Likewise.
84597         * assert/assert.c: Likewise.
84598         * config.h.in: Likewise.
84599         * config.make.in: Likewise.
84600         * configure: Likewise.
84601         * configure.in: Likewise.
84602         * csu/Versions: Likewise.
84603         * csu/init.c: Likewise.
84604         * elf/tst-audit2.c: Likewise.
84605         * elf/tst-tls10.c: Likewise.
84606         * elf/tst-tls10.h: Likewise.
84607         * elf/tst-tls11.c: Likewise.
84608         * elf/tst-tls12.c: Likewise.
84609         * elf/tst-tls14.c: Likewise.
84610         * elf/tst-tlsmod11.c: Likewise.
84611         * elf/tst-tlsmod12.c: Likewise.
84612         * elf/tst-tlsmod13.c: Likewise.
84613         * elf/tst-tlsmod13a.c: Likewise.
84614         * elf/tst-tlsmod14a.c: Likewise.
84615         * elf/tst-tlsmod15b.c: Likewise.
84616         * elf/tst-tlsmod16a.c: Likewise.
84617         * elf/tst-tlsmod16b.c: Likewise.
84618         * elf/tst-tlsmod7.c: Likewise.
84619         * elf/tst-tlsmod8.c: Likewise.
84620         * elf/tst-tlsmod9.c: Likewise.
84621         * gmon/gmon.c: Likewise.
84622         * grp/fgetgrent_r.c: Likewise.
84623         * grp/putgrent.c: Likewise.
84624         * hurd/fopenport.c: Likewise.
84625         * include/libc-symbols.h: Likewise.
84626         * include/tls.h: Likewise.
84627         * intl/gettextP.h: Likewise.
84628         * intl/loadinfo.h: Likewise.
84629         * locale/global-locale.c: Likewise.
84630         * locale/localeinfo.h: Likewise.
84631         * mach/devstream.c: Likewise.
84632         * malloc/arena.c: Likewise.
84633         * malloc/set-freeres.c: Likewise.
84634         * misc/err.c: Likewise.
84635         * misc/getttyent.c: Likewise.
84636         * misc/mntent_r.c: Likewise.
84637         * posix/getopt.c: Likewise.
84638         * posix/wordexp.c: Likewise.
84639         * pwd/fgetpwent_r.c: Likewise.
84640         * resolv/Versions: Likewise.
84641         * resolv/res_hconf.c: Likewise.
84642         * shadow/fgetspent_r.c: Likewise.
84643         * shadow/putspent.c: Likewise.
84644         * stdio-common/printf_fphex.c: Likewise.
84645         * stdio-common/tmpfile.c: Likewise.
84646         * stdlib/abort.c: Likewise.
84647         * stdlib/fmtmsg.c: Likewise.
84648         * sunrpc/auth_unix.c: Likewise.
84649         * sunrpc/clnt_perr.c: Likewise.
84650         * sunrpc/clnt_tcp.c: Likewise.
84651         * sunrpc/clnt_udp.c: Likewise.
84652         * sunrpc/clnt_unix.c: Likewise.
84653         * sunrpc/openchild.c: Likewise.
84654         * sunrpc/svc_simple.c: Likewise.
84655         * sunrpc/svc_tcp.c: Likewise.
84656         * sunrpc/svc_udp.c: Likewise.
84657         * sunrpc/svc_unix.c: Likewise.
84658         * sunrpc/xdr.c: Likewise.
84659         * sunrpc/xdr_array.c: Likewise.
84660         * sunrpc/xdr_rec.c: Likewise.
84661         * sunrpc/xdr_ref.c: Likewise.
84662         * sunrpc/xdr_stdio.c: Likewise.
84664 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
84666         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84668 2011-07-03  Andreas Jaeger  <aj@suse.de>
84670         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
84671         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
84672         regenerate with gen-libm-tests.pl.
84674 2010-05-12  Petr Baudis  <pasky@suse.cz>
84676         [BZ #11589]
84677         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
84678         around j0() zero points by switching to j1().
84679         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
84680         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
84681         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
84682         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
84684 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
84686         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
84687         instead of 0.
84688         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
84689         instead of 0.
84690         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84691         Patch in part by Pavel Roskin <proski@gnu.org>.
84693         [BZ #13138]
84694         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
84695         realloc.
84696         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
84697         Free memory block if necessary.
84699         [BZ #12847]
84700         * libio/genops.c (INTDEF): For string streams the _lock pointer can
84701         be NULL.  Don't lock in this case.
84703 2011-09-09  Roland McGrath  <roland@hack.frob.com>
84705         * elf/elf.h (ELFOSABI_GNU): New macro.
84706         (ELFOSABI_LINUX): Define to that.
84708 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
84710         * string/strncat.c (strncat): Undef the symbol in case it has been
84711         defined in bits/string.h.
84713 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
84715         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
84717         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
84718         link map.
84720 2011-08-17  Andreas Jaeger  <aj@suse.de>
84722         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
84724 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
84725             Ian Lance Taylor  <iant@google.com>
84727         * math/libm-test.inc (lround_test): New testcase.
84728         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
84730 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
84732         * Makefile: Remove support for automatic cvs check-ins.
84733         * Makerules: Likewise.
84734         * config.make.in: Likewise.
84735         * configure.in: Likewise.
84736         * intl/Makefile: Likewise.
84737         * locale/Makefile: Likewise.
84738         * po/Makefile: Likewise.
84739         * posix/Makefile: Likewise.
84740         * sysdeps/gnu/Makefile: Likewise.
84741         * sysdeps/mach/hurd/Makefile: Likewise.
84742         * sysdeps/sparc/sparc32/Makefile: Likewise.
84744         [BZ #13118]
84745         * posix/Makefile (bug-regex32-ENV): Define.
84746         Patch by John Stanley <jpsinthemix@verizon.net>.
84748         * misc/Makefile (headers): Add bits/select2.h.
84749         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
84750         * misc/bits/select2.h: New file.
84751         * include/bits/select2.h: New file.
84752         * debug/Makefile (routines): Add fdelt_chk.
84753         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
84754         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
84755         FD_ISSET.
84756         * debug/fdelt_chk.c: New file.
84758         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
84759         * wcsmbs/test-wmemcmp.c: Likewise.
84760         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
84761         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
84763 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84765         * string/Makefile (strop-tests): Add memcmp.
84766         * string/test-wmemcmp.c: New file.
84767         * string/test-memcmp.c: Add wmemcmp support.
84769 2011-09-08  Roland McGrath  <roland@hack.frob.com>
84771         [BZ #13153]
84772         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
84773         2011-07-19 change.
84775         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
84776         garbage value in a __mach_port_mod_refs call in the cases of the
84777         task-self and thread-self ports.
84779 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84781         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
84783 2011-09-08  Andreas Schwab  <schwab@redhat.com>
84785         * elf/dl-load.c (lose): Check for non-null L.
84787 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
84789         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
84791         * elf/dl-libc.c (dlerror_run): Pass back error code from
84792         dl_catch_error.
84794         [BZ #13123]
84795         * elf/dl-load.c (lose): Free l_origin if it is valid.
84797         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
84798         names.
84799         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
84800         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
84801         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
84802         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
84803         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
84804         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
84806 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84808         * sysdeps/powerpc/fpu/e_hypot.c: New file.
84809         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
84810         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
84811         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
84812         * sysdeps/powerpc/fpu/k_cosf.c: New file.
84813         * sysdeps/powerpc/fpu/k_sinf.c: New file.
84814         * sysdeps/powerpc/fpu/s_cosf.c: New file.
84815         * sysdeps/powerpc/fpu/s_sinf.c: New file.
84816         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
84817         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
84819 2011-08-15  Alan Modra  <amodra@gmail.com>
84821         [BZ #13092]
84822         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
84823         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
84824         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
84825         ppc_mcount to static-only-routines.
84826         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
84827         __mcount_internal.
84828         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
84829         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
84831 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
84833         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
84834         for finite and infinity parameters.
84836 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
84838         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
84839         and add nop instructions for throughput optimization.
84840         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
84842 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
84844         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
84845         aligned copy for power7 with vector-scalar instructions.
84846         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
84848 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
84850         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
84851         AVX check.
84853 2011-09-07  Andreas Schwab  <schwab@redhat.com>
84855         [BZ #13144]
84856         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
84857         last change.
84859 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
84861         * sysdeps/unix/sysv/linux/x86_64/init-first.c
84862         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
84863         syscall wrapper around clock_gettime in __vdso_clock_gettime.
84864         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
84865         clock_gettime.
84867 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
84869         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
84870         Forgot to demangle the pointer.
84872         * sysdeps/i386/sysdep.h: Define atom_text_section.
84873         * sysdeps/x86_64/sysdep.h: Likewise.
84874         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
84875         section with atom_text_section.
84876         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
84877         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
84878         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
84879         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
84880         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
84882         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
84883         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
84884         already be defined.  Change to take two parameters and don't assign
84885         result to variable.  Adjust all users.
84886         Define INTERNAL_GETTIME if not already defined.
84887         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
84888         call.
84889         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
84890         HAVE_CLOCK_GETTIME_VSYSCALL.
84891         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
84893         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
84894         gettimeofday vsyscall, just use time.
84896 2011-09-06  Andreas Schwab  <schwab@redhat.com>
84898         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
84899         <errno.h>.
84901 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
84903         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
84904         syscall on x86-64.
84905         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
84906         syscall.
84907         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
84908         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
84909         syscall if possible.
84911 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
84913         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
84914         e_ident.  Don't pass to find_mapsXX.
84915         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
84917 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84919         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84920         strchr-sse2-no-bsf strrchr-sse2-no-bsf
84921         * sysdeps/x86_64/multiarch/strchr.S: Update.
84922         Check bit_slow_BSF bit.
84923         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
84924         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
84925         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
84927 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
84929         [BZ #13134]
84930         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
84931         before glibc 2.15.
84932         (tryshell): Define.
84933         (__spawni): Change last parameter to be flag.  Test
84934         SPAWN_XFLAGS_USE_PATH flag to use path or not.
84935         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
84936         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
84937         * posix/spawni.c: Likewise.
84938         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
84939         * posix/spawnp.c: Likewise.  Change normal version to use
84940         SPAWN_XFLAGS_USE_PATH.
84941         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
84942         SPAWN_XFLAGS_TRY_SHELL.
84944         [BZ #13150]
84945         * posix/glob.h: Remove gcc 1.x support.
84947         [BZ #13068]
84948         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
84950 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84952         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84953         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
84954         strrchr-sse2-bsf
84955         * sysdeps/i386/i686/multiarch/strchr.S: New file.
84956         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
84957         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
84958         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
84959         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
84960         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
84962 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84964         * sysdeps/x86_64/wcscmp.S: New file.
84966         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
84967         wcscmp-c wcscmp-sse2
84968         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
84969         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
84970         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
84971         * wcsmbs/wcscmp.c: Allow renaming.
84973 2011-09-05  David S. Miller  <davem@davemloft.net>
84975         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
84976         stack slot, rather than the struct return pointer slot.
84977         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
84978         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
84979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
84980         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
84982 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
84984         * po/ja.po: Update from translation team.
84986         [BZ #13144]
84987         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
84988         kernel in 64-bit binaries.
84990 2011-09-01  David S. Miller  <davem@davemloft.net>
84992         * elf/elf.h (HWCAP_SPARC_*): Move to..
84993         * sysdeps/sparc/sysdep.h: this new file and add new values.
84994         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
84995         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
84996         _DL_HWCAP_COUNT to 24.
84997         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
84998         entries.
84999         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
85000         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
85001         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
85002         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
85003         instead of magic constants.
85004         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
85006 2011-08-31  David S. Miller  <davem@davemloft.net>
85008         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
85009         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
85010         Reimplement to do errno handling inline.
85011         (SYSCALL_ERROR_HANDLER): New macro.
85012         (__SYSCALL_STRING): Do not do errno handling in asm.
85013         (__CLONE_SYSCALL_STRING): Delete.
85014         (__INTERNAL_SYSCALL_STRING): Delete.
85015         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
85016         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
85017         (PSEUDO): Reimplement to do errno handling inline.
85018         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
85019         (SYSCALL_ERROR_HANDLER): New macro.
85020         (__SYSCALL_STRING): Do not do errno handling in asm.
85021         (__CLONE_SYSCALL_STRING): Delete.
85022         (__INTERNAL_SYSCALL_STRING): Delete.
85023         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
85024         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
85025         i386.
85026         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
85027         (inline_syscall*): Add 'err' argument.
85028         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
85029         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
85030         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
85031         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
85033         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
85034         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
85036 2011-08-30  Andreas Schwab  <schwab@redhat.com>
85038         * elf/rtld.c (dl_main): Relocate objects in dependency order.
85040 2011-08-29  Jiri Olsa <jolsa@redhat.com>
85042         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
85043         directive.
85045 2011-08-24  David S. Miller  <davem@davemloft.net>
85047         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
85049 2011-08-24  Andreas Schwab  <schwab@redhat.com>
85051         * elf/Makefile: Add rules to build and run unload8 test.
85052         * elf/unload8.c: New file.
85053         * elf/unload8mod1.c: New file.
85054         * elf/unload8mod1x.c: New file.
85055         * elf/unload8mod2.c: New file.
85056         * elf/unload8mod3.c: New file.
85058         * elf/dl-close.c (_dl_close_worker): Reset private search list if
85059         it wasn't used.
85061 2011-08-23  David S. Miller  <davem@davemloft.net>
85063         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
85064         subtract stack bias.
85065         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
85066         %sp not %fp in calculations.
85067         (_JMPBUF_UNWINDS_ADJ): Likewise.
85069         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
85070         (aio_suspend): Call it to force an exception region around the
85071         AIO_MISC_WAIT() invocation.
85073 2011-08-23  Andreas Schwab  <schwab@redhat.com>
85075         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
85076         backslash.
85078 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
85080         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
85081         protection macro.
85082         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
85083         and <dl-machine.h>.
85084         (Elf64_FuncDesc): Remove.
85086 2011-08-22  David S. Miller  <davem@davemloft.net>
85088         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
85089         sigaltstack check, add missing cfi directives.
85090         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
85091         missing cfi directives, and sigaltstack handling.
85093 2011-08-16  Andreas Schwab  <schwab@redhat.com>
85095         [BZ #11724]
85096         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
85097         object is seen twice.
85098         * elf/dl-fini.c (_dl_sort_fini): Likewise.
85100         * elf/Makefile (distribute): Add tst-initorder2.c.
85101         (tests): Add tst-initorder2.
85102         (modules-names): Add tst-initorder2a tst-initorder2b
85103         tst-initorder2c tst-initorder2d.  Add rules to build them.
85104         ($(objpfx)tst-initorder2.out): New rule.
85105         * elf/tst-initorder2.c: New file.
85106         * elf/tst-initorder2.exp: New file.
85108 2011-08-22  Andreas Schwab  <schwab@redhat.com>
85110         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
85112         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
85113         dependencies back to end of function.
85115         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
85116         $(elfobjdir)/ld.so.
85118 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
85120         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
85121         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
85122         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
85123         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
85124         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
85125         of __vdso_gettimeofday.
85126         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
85127         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
85128         attribute_hidden.
85129         (_libc_vdso_platform_setup): Remove initialization of
85130         __vdso_gettimeofday and __vdso_time.
85132 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
85134         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
85135         and fgetc_unlocked.
85136         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
85137         getc_unlocked.
85139         * elf/dl-open.c (add_to_global): Report additions to the global scope
85140         for LD_DEBUG=scopes.
85141         (dl_open_worker): Also print scope of newly loaded dependencies.
85142         (_dl_show_scope): Indicate if there is no scope.
85144         [BZ #13114]
85145         * stdio-common/Makefile (tests): Add bug24.
85146         * stdio-common/bug24.c: New file.
85148 2011-08-19  Andreas Jaeger  <aj@suse.de>
85150         [BZ #13114]
85151         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
85152         non-existant file when using close-on-exec mode.
85154 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
85156         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
85157         the very first instruction.
85159         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
85160         the CFI state in the end.
85161         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
85162         inclusion of dl-trampoline.h.
85163         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
85165 2011-08-19  Andreas Schwab  <schwab@redhat.com>
85167         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
85168         expectations for long double.
85170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
85171         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
85173 2011-08-14  David S. Miller  <davem@davemloft.net>
85175         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
85176         artificual limit depends upon the system page size.
85178 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
85180         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
85181         * resolv/Makefile: Define CFLAGS-libresolv.
85183 2011-08-17  Andreas Schwab  <schwab@redhat.com>
85185         * nss/makedb.c (compute_tables): Make variables used in nested
85186         function static.
85188 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
85190         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
85191         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
85192         if buffer was too small.
85194         * elf/pldd.c (main): Attach to all threads in the process.
85195         Rewrite /proc handling to use *at functions.
85197 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
85199         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
85200         specifies first scope to show.
85201         (dl_open_worker): Update callers.  Move printing scope of new
85202         object to before the relocation.
85203         * elf/rtld.c (dl_main): Update _dl_show_scope call.
85204         * sysdeps/generic/ldsodefs.h: Update declaration.
85206         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
85207         string for the scope number.
85209 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
85211         * nscd/servicescache.c (cache_addserv): Make sure written is always
85212         initialized.
85214 2011-08-14  Roland McGrath  <roland@hack.frob.com>
85216         * sysdeps/i386/i486/bits/atomic.h
85217         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
85218         statement expression, so as to suppress "set but not used" warning.
85219         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
85221         * string/strncat.c (STRNCAT): Use prototype definition.
85223         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
85224         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
85225         -Iprograms here.
85226         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
85227         (localedef-modules): Add localedef.
85228         (locale-modules): Add locale.
85230         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
85231         * elf/rtld.c (dl_main): Invert order of assignment in last change,
85232         to avoid a warning.
85234 2011-08-14  David S. Miller  <davem@davemloft.net>
85236         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
85237         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
85239 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
85241         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
85242         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
85243         * elf/rtld.c (dl_main): Set l_name of vDSO.
85244         Call _dl_show_scope when DL_DEBUG_SCOPES.
85245         (process_dl_debug): Recognize scopes flag and also set it for all.
85246         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
85247         Declare _dl_show_scope.
85249         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
85250         (do_dlopen): Pass caller_dlopen to dl_open.
85251         (__libc_dlopen_mode): Initialize caller_dlopen.
85253         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
85254         of libc.  Make tolower call locale-independent.  Optimize a bit by
85255         using isdigit instead of isalnum.
85256         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
85258 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
85260         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
85261         was a dependency or dynamically loaded.
85263 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
85265         * intl/l10nflist.c: Allow architecture-specific pop function.
85266         * sysdeps/x86_64/l10nflist.c: New file.
85268         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
85269         classification.
85271 2011-08-10  Andreas Schwab  <schwab@redhat.com>
85273         * include/dirent.h: Add libc_hidden_proto for scandirat and
85274         scandirat64.  Don't declare __scandirat64.
85275         * dirent/scandirat.c: Add libc_hidden_def.
85276         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
85277         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
85279 2011-08-10  David S. Miller  <davem@davemloft.net>
85281         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
85282         enum.
85283         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
85284         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
85285         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
85287 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
85289         * Versions.def [libc]: Add GLIBC_2.15.
85290         * dirent/Makefile (routines): Add scandirat and scandirat64.
85291         * dirent/Versions [libc]: Export scandirat and scandirat64 for
85292         GLIBC_2.15.
85293         * dirent/dirent.h: Declare scandirat and scandirat64.
85294         * dirent/scandirat.c: New file.
85295         * dirent/scandirat64.c: New file.
85296         * sysdeps/wordsize-64/scandirat.c: New file.
85297         * sysdeps/wordsize-64/scandirat64.c: New file.
85298         * dirent/opendir.c: Define opendirat.
85299         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
85300         using scandirat.
85301         * dirent/scandir64.c: Adjust for scandir.c change.
85302         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
85303         __scandirat64, and __scandir_cancel_handler.
85304         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
85305         additional parameter and use openat instead of open (outside of ld.so).
85306         Add new __opendir as wrapper around __opendirat.
85307         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
85308         here without requiring old scandirat implementation.
85310 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
85312         * dirent/scandir.c (cancel_handler): Renamed to
85313         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
85314         defined.  Adjust users.
85315         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
85316         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
85318 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
85320         * string/test-string.h (IMPL): Use __STRING to expand name and then
85321         stringify it.
85323         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
85324         of cleanups.
85326 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85328         * string/Makefile: Update.
85329         (strop-tests): Append strncat.
85330         * string/test-wcscmp.c: New file.
85331         New comprehensive test for wcscmp.
85332         * string/test-strcmp.c: Update.
85333         (WIDE): New define.
85335 2011-07-22  Andreas Schwab  <schwab@redhat.com>
85337         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
85338         line.
85340 2011-07-26  Andreas Schwab  <schwab@redhat.com>
85342         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
85343         encoding to ACE if AI_IDN.
85345 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
85347         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
85348         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
85350 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85352         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
85353         Fix overflow bug in strncat.
85354         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
85356         * string/test-strncat.c: Update.
85357         Add new tests for checking overflow bugs.
85359 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85361         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85362         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
85363         * sysdeps/i386/i686/multiarch/strcat.S: New file.
85364         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
85365         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
85366         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
85367         * sysdeps/i386/i686/multiarch/strncat.S: New file.
85368         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
85369         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
85371         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
85372         (USE_AS_STRCAT): Define.
85373         Add strcat and strncat support.
85374         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
85376 2011-07-25  Andreas Schwab  <schwab@redhat.com>
85378         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
85379         __n bigger than INT_MAX+1.
85380         (__strncmp_g): Likewise.
85382 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
85384         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
85385         * libio/stido.h: Likewise.
85387         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
85388         (AF_NFC): Define.
85389         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
85390         (AF_NFC): Define.
85392         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
85393         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
85394         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
85395         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
85396         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
85398         [BZ #13021]
85399         * scripts/test-installation.pl: Don't expect libnss_test1 to be
85400         installed.
85402         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
85403         typo.
85404         (_dl_x86_64_save_sse): Likewise.
85406 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
85408         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
85409         OSXSAVE.
85410         (_dl_x86_64_save_sse): Likewise.
85412         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
85414         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
85416 2011-07-21  Andreas Schwab  <schwab@redhat.com>
85418         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
85419         change.
85420         (_dl_x86_64_save_sse): Use correct AVX check.
85422 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85424         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
85425         bug in strncpy/strncat.
85426         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
85428 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
85430         * string/tester.c (test_strcat): Add tests for different alignments
85431         of source and destination.
85432         (test_strncat): Likewise.
85434 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
85436         [BZ #12852]
85437         * posix/glob.c (glob): Check passed in values before using them in
85438         expressions to avoid some overflows.
85439         (glob_in_dir): Likewise.
85441         [BZ #13007]
85442         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
85443         check for AVX enablement so that we don't crash with old kernels and
85444         new hardware.
85445         * elf/tst-audit4.c: Add same checks here.
85446         * elf/tst-audit6.c: Likewise.
85448         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
85450 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
85452         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
85454 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
85456         * po/cs.po: Update from translation team.
85457         * po/bg.po: Likewise.
85459 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
85461         * misc/sys/cdefs.h: Add support for const attribute.
85462         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
85463         to gnu_dev_{major,minor,makedev} functions.
85465 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
85467         * intl/dcigettext.c (get_output_charset): Add missing bracket.
85469 2011-07-20  Andreas Schwab  <schwab@redhat.com>
85471         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
85472         strlen results.
85474 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85476         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
85477         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
85478         register in order to avoid conflicts with the soft frame pointer
85479         being held in r11 when necessary.
85480         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
85481         (INTERNAL_VSYSCALL_NCS): Likewise.
85483 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
85485         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
85486         * elf/dl-fini.c (_dl_fini): Adjust caller.
85487         * elf/dl-close.c (_dl_close_worker): Likewise.
85488         * sysdeps/generic/ldsodefs.h: Adjust declaration.
85490 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
85492         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
85493         "aux_cache->nlibs < 0".
85495         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
85496         in the reload-count case.
85498 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85500         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85501         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
85502         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
85503         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
85504         * sysdeps/x86_64/multiarch/strcat.S: New file.
85505         * sysdeps/x86_64/multiarch/strncat.S: New file.
85506         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
85507         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
85508         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
85509         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
85510         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
85511         (USE_AS_STRCAT): Define.
85512         Add strcat and strncat support.
85513         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
85514         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
85515         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
85516         * string/strncat.c: Update.
85517         (USE_AS_STRNCAT): Define.
85518         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85519         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
85520         and i7.
85521         * sysdeps/x86_64/multiarch/init-arch.h
85522         (bit_Prefer_PMINUB_for_stringop): New.
85523         (index_Prefer_PMINUB_for_stringop): Likewise.
85524         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
85525         bit_Prefer_PMINUB_for_stringop.
85527 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
85529         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
85530         buffer64.
85531         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
85532         of casting of buffer.
85533         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
85534         buffer32 and buffer64.
85535         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
85536         writes instead of casting of buffer.
85537         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
85538         buffer32.
85539         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
85540         casting of buffer.
85542 2011-07-19  Andreas Schwab  <schwab@redhat.com>
85544         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
85546 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
85548         * nscd/nscd.c (termination_handler): Don't do anything for a database
85549         if it has not yet been initialized.
85551 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
85553         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
85555 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
85557         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
85559 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
85561         * po/nl.po: Update from translation team.
85562         * po/sv.po: Likewise.
85564 2011-07-16  Roland McGrath  <roland@hack.frob.com>
85566         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
85567         now disallowed by GCC.
85569         * configure.in (use-default-link): Default to yes if a test -shared
85570         link meets our qualifications.
85571         * configure: Regenerated.
85573         * config.make.in (output-format): New variable.
85574         * configure.in: Check for ld --print-output-format support.
85575         * configure: Regenerated.
85576         * Makerules ($(common-objpfx)format.lds)
85577         [$(output-format) != unknown]: Just use $(output-format),
85578         instead of the linker-script munging.
85580 2011-07-14  Roland McGrath  <roland@hack.frob.com>
85582         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
85583         of $(common-objpfx)shlib.lds.
85584         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
85586         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
85587         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
85589         * configure.in (-z relro check): Adjust test code to add a large
85590         writable data section after it.
85591         * configure: Regenerated.
85593 2011-07-11  Roland McGrath  <roland@hack.frob.com>
85595         * configure.in (-z relro check): Fix test code to make the variable
85596         truly const.
85597         * configure: Regenerated.
85599 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
85601         * nscd/nscd.h (struct traced_file): Define.
85602         (struct database_dyn): Remove inotify_descr, reset_res, and filename
85603         elements.  Add traced_files.
85604         (inotify_fd): Declare.
85605         (register_traced_file): Declare.
85606         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
85607         (inotify_fd): Export.
85608         (resolv_conf_descr): Remove.
85609         (nscd_init): Move inotify descriptor creation to main.
85610         Don't register files for notification here.
85611         (register_traced_file): New function.
85612         (invalidate_cache): Don't use reset_res to determine whether to call
85613         res_init, go through the list of registered files.
85614         (main_loop_poll): The inotify descriptors are now stored in the
85615         structures for the traced files.
85616         (main_loop_epoll): Likewise.
85617         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
85618         to __nss_disable_nscd.
85619         * nscd/cache.c (prune_cache): There is no single inotify descriptor
85620         for a database anymore.  Check the records for all the registered
85621         files instead.
85622         * nss/Makefile (libnss_files-routines): Add files-init.
85623         (libnss_db-routines): Add db-init.
85624         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
85625         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
85626         * nss/nss_db/db-init.c: New file.
85627         * nss/nss_files/files-init.c: New file.
85628         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
85629         __nss_lookup_function.
85630         (__nss_lookup_function): Call nss_load_library.
85631         (nss_load_all_libraries): New function.
85632         (__nss_disable_nscd): Take parameter with callback function for files
85633         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
85634         used for the cached services.
85635         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
85636         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
85637         options for features to all the files in nscd.
85639         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
85641 2011-07-10  Roland McGrath  <roland@hack.frob.com>
85643         * csu/elf-init.c (__libc_csu_init): Comment typo.
85645 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
85647         * po/pl.po: Update from translation team.
85648         * po/ja.po: Likewise.
85649         * po/ru.po: Likewise.
85650         * po/ko.po: Likewise.
85651         * po/fr.po: Likewise.
85653 2011-07-09  Roland McGrath  <roland@hack.frob.com>
85655         * configure.in (.ctors/.dtors header and trailer check):
85656         Use an empirical test on a built program.
85657         * configure: Regenerated.
85659         * configure.in (-z relro check): Use an empirical test on a built DSO.
85660         Detect, but do not require, on ia64.
85661         * configure: Regenerated.
85663         * configure.in (READELF): Find it with AC_CHECK_TOOL.
85664         Update tests that use readelf to use $READELF instead.
85665         * configure: Regenerated.
85667 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
85669         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
85670         if the result is not used.
85672 2011-07-05  Andreas Jaeger  <aj@suse.de>
85674         [BZ#9696]
85675         * stdlib/tst-strtod.c: Add testcase.
85677 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
85679         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
85680         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
85681         The latter has a higher limit.  Take additional parameter to pass to
85682         the new function.
85683         (__pathconf): Pass file to __statfs_link_max.
85684         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
85685         __statfs_link_max.
85686         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
85687         __statfs_link_max.
85689         [BZ #12868]
85690         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
85691         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85692         Handle Lustre.
85693         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
85694         (__statfs_filesize_max): Likewise.
85695         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
85697 2011-07-05  Andreas Jaeger  <aj@suse.de>
85699         * resolv/res_comp.c (dn_skipname): Remove unused variable.
85701 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
85703         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
85704         `status' variable.
85705         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
85706         Likewise.
85708 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
85710         * Makefile (strop-tests): Add strncat.
85711         * string/test-strncat.c: New file.
85713 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
85715         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
85717 2011-06-21  Andreas Jaeger  <aj@suse.de>
85719         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
85720         Copy rule from iconvdata/Makefile.
85722 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
85724         [BZ #12922]
85725         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
85726         but no long options are defined, just return 'W'.
85728 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
85730         [BZ #9696]
85731         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
85733 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
85735         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
85736         netgroups to read.
85737         (innetgr): Likewise.
85739 2011-07-05  Roland McGrath  <roland@hack.frob.com>
85741         * config.make.in (install_root): Default to $(DESTDIR).
85743 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
85745         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
85747 2011-07-02  Roland McGrath  <roland@hack.frob.com>
85749         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
85751         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
85752         containing directory rather than embedding absolute directory names.
85754         * scripts/check-local-headers.sh: Rewritten using awk.
85755         Match by word, not by line.  Print error messages for matches.
85756         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
85758         * Makerules [shlib-lds-flags empty]:
85759         ($(common-objpfx)libc_pic.opts): New target.
85760         ($(common-objpfx)libc_pic.os.clean): New target.
85761         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
85763         * config.make.in (OBJCOPY): New variable.
85764         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
85765         * configure: Regenerated.
85767         * config.make.in (use-default-link): New variable.
85768         * configure.in (use_default_link): Grok --with-default-link to set it.
85769         * configure: Regenerated.
85770         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
85771         (shlib-lds, shlib-lds-flags): Define to empty.
85773         * Makerules (shlib-lds): New variable.
85774         (shlib-lds-flags): New variable.
85775         (build-shlib, build-moduile, build-module-asneeded): Use it.
85776         ($(common-objpfx)libc.so): Use $(shlib-lds).
85777         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
85778         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
85780         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
85781         DT_FLAGS/DT_FLAGS_1 with zero flags.
85783         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
85784         linker script munging.
85786 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
85788         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
85789         as 128-bit value.
85790         * crypt/sha512.c (sha512_process_block): Perform total addition using
85791         128-bit if possible.
85792         (__sha512_finish_ctx): Likewise.
85793         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
85794         as 64-bit value.
85795         * crypt/sha256.c (SWAP64): Define.
85796         (sha256_process_block): Perform total addition using 64-bit if
85797         possible.
85798         (__sha256_finish_ctx): Likewise.
85800 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
85802         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
85803         * nscd/initgrcache.c (addinitgroupsX): Likewise.
85804         * nscd/hstcache.c (cache_addhst): Likewise.
85805         * nscd/grpcache.c (cache_addgr): Likewise.
85806         * nscd/aicache.c (addhstaiX): Likewise.
85807         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
85809 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
85811         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
85812         * nscd/initgrcache.c (addinitgroupsX): Likewise.
85813         * nscd/hstcache.c (cache_addhst): Likewise.
85814         * nscd/grpcache.c (cache_addgr): Likewise.
85815         * nscd/aicache.c (addhstaiX): Likewise.
85817 2011-07-01  Andreas Schwab  <schwab@redhat.com>
85819         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
85820         domain only when needed.
85822 2011-06-30  Andreas Schwab  <schwab@redhat.com>
85824         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
85825         is always restored.
85827 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
85829         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
85830         are re-adding the entry.
85831         * nscd/servicescache.c (cache_addserv): Likewise.
85833 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
85835         * sysdeps/generic/dl-irel.h: fix protection against multiple
85836         inclusions.
85837         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
85839 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
85841         [BZ #12935]
85842         * malloc/memusage.sh: Fix quoting in message.
85843         * debug/xtrace.sh: Likewise.
85845         * configure.in: Remove support for --experimental-malloc option, make
85846         it the default.
85847         * config.make.in: Likewise.
85848         * malloc/Makefile: Likewise.
85850 2011-06-27  Andreas Schwab  <schwab@redhat.com>
85852         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
85853         two-byte characters.
85855 2011-06-27  Roland McGrath  <roland@hack.frob.com>
85857         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
85858         AC_CACHE_CHECK invocation.
85859         * configure: Regenerated.
85861         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
85863 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
85865         [BZ #12350]
85866         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
85867         bit from old_res_options.
85869         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
85871         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
85872         value type for setfct.
85874 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
85876         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
85877         __gettimeofday instead of gettimeofday.
85879 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
85881         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
85883 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
85885         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
85887         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
85888         info.
85890 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
85892         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85893         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
85894         strcpy-sse2-unaligned strncpy-sse2-unaligned
85895         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
85896         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
85897         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
85898         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
85899         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
85900         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
85901         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
85902         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
85903         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
85904         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
85905         (STRCPY): Support SSE2 and SSSE3 versions.
85907 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
85909         [BZ #12874]
85910         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
85911         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
85912         kernels which artificially limit size of requests.
85914 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
85916         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85917         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
85918         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
85919         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
85920         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
85921         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
85922         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
85923         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
85924         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
85925         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
85926         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
85927         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
85928         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
85929         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
85930         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
85931         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85932         Enable unaligned load optimization for Intel Core i3, i5 and i7
85933         processors.
85934         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
85935         Define.
85936         (index_Fast_Unaligned_Load): Define.
85937         (HAS_FAST_UNALIGNED_LOAD): Define.
85939 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
85941         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
85943 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
85945         [BZ #12907]
85946         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
85947         until it is clear that the information is realy needed.
85948         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
85950 2011-06-22  Andreas Schwab  <schwab@redhat.com>
85952         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
85954 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
85956         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
85957         /sys/devices/system/cpu/online if it is usable.
85959         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
85960         reading the information from the /proc filesystem to once a second.
85962 2011-06-21  Andreas Jaeger  <aj@suse.de>
85964         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
85965         NULL after inclusion of kernel headers.
85967 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
85969         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
85970         calls to internal_setent.
85972         [BZ #12885]
85973         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
85974         addresses using gethostbyname4_r ignore IPv4 addresses.
85976         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
85977         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
85979         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
85981 2011-06-20  David S. Miller  <davem@davemloft.net>
85983         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
85984         inclusions.
85985         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
85987         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
85988         (elf_irel): Use it.
85989         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
85990         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
85991         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
85992         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
85993         * sysdeps/x86_64/dl-irel.h: Likewise.
85995         * elf/dl-runtime.c: Use elf_ifunc_invoke.
85996         * elf/dl-sym.c: Likewise.
85998 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
86000         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
86001         need to dereference resplen2.
86003 2011-06-14  Andreas Schwab  <schwab@redhat.com>
86005         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
86007 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
86009         * Makeconfig: Define vardbdir and inst_vardbdir.
86010         * nss/Makefile: Add rules to install db-Makefile.
86012         * nss/nss_db/db-XXX.c: Cleanup.
86014         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
86015         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
86016         GLIBC_PRIVATE.
86017         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
86018         * nss/makedb.c: Implement -g option to specify that value strings
86019         are generated and should not be added to table iterated over for
86020         get*ent calls.
86021         * nss/nss_db/db-initgroups.c: New file.
86023         * nss/getent.c: Add support for initgroups lookups through getgrouplist
86024         interface.
86026         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
86027         (internal_getgrouplist): Adjust to name change.
86028         Update use_initgroups_entry if this is not the first call.
86029         * nss/databases.def: Add initgroups entry.
86031         * nss/makedb.c (compute_tables): Check result of multiple hash table
86032         sizes to minimize maximum chain length.
86034 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
86036         * Versions.def: Add entry for libnss_db.
86037         * shlib-versions: Likewise.
86038         * nss/Makefile: Add rules to build libnss_db.
86039         * nss/Versions: Add libnss_db information.  Organize libnss_files
86040         entries better.
86041         * nss/db-Makefile: Add gshadow support.  Change rules for the new
86042         makedb progra.  Some minor improvements to generate smaller files.
86043         * nss/nss_db/nss_db.h: Move NSS database header data structures to
86044         here from...
86045         * nss/makedb.c: ...here.
86046         Improve database format to be smaller and require less memory at
86047         runtime.
86048         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
86049         db anymore.
86050         * nss/nss_db/db-netgrp.c: Likewise.
86051         * nss/nss_db/db-open.c: Likewise.
86052         * nss/nss_files/flies-XXX.x: Adjust comments.
86053         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
86054         * nss/nss_files/files-grp.c: Likewise.
86055         * nss/nss_files/files-hosts.c: Likewise.
86056         * nss/nss_files/files-network.c: Likewise.
86057         * nss/nss_files/files-proto.c: Likewise.
86058         * nss/nss_files/files-pwd.c: Likewise.
86059         * nss/nss_files/files-rpc.c: Likewise.
86060         * nss/nss_files/files-service.c: Likewise.
86061         * nss/nss_files/files-sgrp.c: Likewise.
86062         * nss/nss_files/files-spwd.c: Likewise.
86063         * nss/nss_db/db-alias.c: Removed.
86064         * nss/nss_db/dummy-db.h: Removed.
86066 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
86068         * nss/makedb.c: Rewritten to not use database library.
86069         * nss/Makefile: Update to build new makedb program.
86071 2011-06-14  Andreas Jaeger  <aj@suse.de>
86073         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
86074         memset declaration.
86076 2011-06-10  Andreas Schwab  <schwab@redhat.com>
86078         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
86079         tmpbuf.
86081 2011-06-10  Roland McGrath  <roland@hack.frob.com>
86083         * Makerules (shlib.lds): Fail if the linker script comes out empty.
86084         * elf/Makefile ($(objpfx)ld.so): Likewise.
86086         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
86087         Don't list ld.so twice in dependencies.
86089         * posix/bug-regex31.c: Include <stdlib.h>.
86091         * nscd/hstcache.c (cache_addhst): Remove unused variable.
86093         * nis/nss_compat/compat-spwd.c
86094         (getspent_next_nss_netgr): Remove unused variable.
86095         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
86097         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
86098         nonmembers" output to use the right array.
86100         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
86102         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
86104         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
86105         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
86106         * catgets/gencat.c (read_input_file): Likewise.
86107         * locale/programs/locarchive.c (enlarge_archive): Likewise.
86109         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
86110         variable definition inside #if's controlling its use.
86112         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
86114         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
86116         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
86118         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
86119         unreachable code.
86121         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
86123         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
86124         * configure: Regenerated.
86126         * Makerules: Revert last change.
86127         * elf/Makefile: Likewise.
86129 2011-06-09  Roland McGrath  <roland@hack.frob.com>
86131         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
86132         * elf/Makefile ($(objpfx)librtld.os): Likewise.
86133         (reloc-link): Likewise.
86135 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
86137         * elf/Makefile: Add rules to build pldd.
86138         * elf/pldd.c: New file.
86139         * elf/pldd-xx.c: New file.
86141 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
86143         * version.h: Update for 2.15 development version.
86145 2011-06-07  David S. Miller  <davem@davemloft.net>
86147         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
86148         ifuncs.
86149         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
86150         elf_machine_lazy_rel): Likewise.
86151         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
86152         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
86153         elf_machine_lazy_rel): Likewise.
86154         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
86155         dl_hwcap via passed in argument.
86156         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
86157         Likewise.
86159 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86161         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
86163 2011-06-06  Roland McGrath  <roland@hack.frob.com>
86165         [BZ #12849]
86166         * manual/fdl-1.1.texi: New file, verbatim from:
86167         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
86168         * manual/lgpl-2.1.texi: New file, verbatim from:
86169         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
86170         * manual/Makefile (licenses): New variable, list those new file names.
86171         (texis): Use it.
86172         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
86174         * manual/fdl.texi: File removed.
86175         * manual/lesser.texi: File removed.
86176         * manual/libc.texinfo (Copying, Documentation License):
86177         Use new @include file names, put @appendix directive before @include.
86179 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
86181         [BZ #12841]
86182         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
86183         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
86184         (mq_open): Add __NTH.
86186 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
86188         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86189         Assume Intel Core i3/i5/i7 processor if AVX is available.
86191 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
86193         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86194         typo.
86196 2011-05-31  Andreas Schwab  <schwab@redhat.com>
86198         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
86199         memory.  Use alloca_account.  Fix memory leak when retrying.
86201 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
86203         * version.h (RELEASE): Bump for 2.14 release.
86204         * include/features.h (__GLIBC_MINOR__): Bump to 14.
86206         * config.make.in (RANLIB): Remove entry.
86208 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
86210         * po/Makefile (po-sed-cmd): Add ksh to extensions.
86211         (libc.pot): Work around missing support for .ksh extension in xgettext.
86213         [BZ #12684]
86214         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
86215         if both request failed.
86216         (send_dg): In case of server errors clear resplen or *resplen2.
86218         [BZ #12454]
86219         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
86220         when there are multiple maps.
86221         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
86222         (_dl_fini): Remove test here.
86224         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
86226 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
86228         [BZ #12350]
86229         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
86230         bit from old_res_options.
86231         (gaih_inet): Likewise.
86233         [BZ #11099]
86234         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
86235         as signed.
86237         * resolv/res_init.c (res_setoptions): Make the code more compact.
86239         [BZ #11558]
86240         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
86241         set RES_USEVC.
86243         [BZ #11634]
86244         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
86246         * malloc/malloc.h: Mark malloc hook variables as deprecated.
86248         [BZ #11781]
86249         * malloc/malloc.h: Declare malloc hook variables as volatile.
86251         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
86252         in last patch.
86254         [BZ #11799]
86255         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
86256         raise in the comment.
86257         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
86258         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
86259         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
86261 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
86263         [BZ #12811]
86264         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
86265         grow the buffers more if it already has to be sufficient.
86266         (build_wcs_upper_buffer): Likewise.
86267         * posix/regexec.c (check_matching): Likewise.
86268         (clean_state_log_if_needed): Likewise.
86269         (extend_buffers): Don't enlarge buffers beyond size of the input
86270         buffer.
86271         Patches mostly by Emil Wojak <emil@wojak.eu>.
86272         * posix/bug-regex32.c: New file.
86273         * posix/Makefile (tests): Add bug-regex32.
86275         * locale/findlocale.c (_nl_find_locale): Return right away if
86276         _nl_explode_name failed.
86277         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
86279         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
86281         * debug/xtrace.sh: Unify messages.
86282         * malloc/memusage.sh: Likewise.
86284         [BZ #12813]
86285         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
86286         time symbol from vDSO.  Substitute with vsyscall if not available.
86287         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
86288         __vdso_time.
86290         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
86291         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
86292         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
86293         Add sendmmsg and internal_sendmmsg.
86294         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
86295         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
86296         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
86298         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
86299         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
86300         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
86302 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
86304         [BZ #12813]
86305         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
86306         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
86307         available.
86308         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
86309         __vdso_getcpu.
86311         [BZ #12814]
86312         * iconvdata/Makefile (tests): Add bug-iconv9.
86313         * iconvdata/bug-iconv9.c: New file.
86315 2011-05-27  Andreas Schwab  <schwab@redhat.com>
86317         [BZ #12814]
86318         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
86320 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
86322         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
86323         (struct user_regs_struct): Change intcs field back to cs.
86325 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
86327         * po/ja.po: Update from translation team.
86329 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
86331         [BZ #12795]
86332         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
86333         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
86335 2011-05-20  Andreas Schwab  <schwab@redhat.com>
86337         * stdlib/longlong.h: Update from GCC.
86339 2011-05-23  Andreas Schwab  <schwab@redhat.com>
86341         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
86342         parameter name.
86343         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
86344         Add parameter name.
86345         (__sysconf): Pass it down.
86347 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
86349         [BZ #12671]
86350         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
86351         some situations.
86352         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
86353         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
86354         add in in __libc_use_alloca calls.  Adjust callers.
86355         (glob): Use malloc in some situations.
86357         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
86358         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
86359         pltexit.
86361 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
86363         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
86364         and CLOCK_BOOTTIME_ALARM.
86366         [BZ #12782]
86367         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
86368         is returned.
86370         * string/_strerror.c (__strerror_r): Print negative errors as signed
86371         numbers.
86373         [BZ #12777]
86374         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
86375         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
86376         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
86378         * configure.in: Fix typo in redirection and correct removal of test
86379         files in two cases.
86381         [BZ #12788]
86382         * locale/setlocale.c (new_composite_name): Fix test to check for
86383         identical name of all categories.
86385         [BZ #12792]
86386         * libio/filedoalloc.c (local_isatty): New function.
86387         (_IO_file_doallocate): Use local_isatty.
86388         * stdio-common/perror.c (perror): In case a new stream is used
86389         forward the stream error.
86390         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
86391         error flag.
86393 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
86395         [BZ #11884]
86396         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
86397         alloca.
86398         * include/alloca.h (extend_alloca_account): Define.
86400         [BZ #11857]
86401         * posix/regex.h: Fix comments with documentation of user-accessible
86402         fields after compilation and describe correct free'ing of pattern
86403         after re_compile_pattern.
86404         Patch by Reuben Thomas <rrt@sc3d.org>.
86406 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
86408         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
86409         and -mno-altivec to prevent the compiler from using Altivec and/or
86410         VSX instructions when the corresponding registers are not available.
86412 2011-05-19  Andreas Schwab  <schwab@redhat.com>
86414         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
86416 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
86418         * libio/freopen.c (freopen): Use __dup2, not dup2.
86419         * libio/freopen64.c (freopen64): Likewise.
86421 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
86423         [BZ #12775]
86424         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
86425         * math/Makefile (tests): Add test-powl.
86426         (CFLAGS-test-powl.c): Define.
86427         * math/test-powl.c: New file.
86429 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
86431         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
86433 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
86435         [BZ #11837]
86436         * iconvdata/gb18030.c: Update to GB18020-2005.
86438 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
86440         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
86441         RE_SYNTAX_POSIX_AWK): Update to match recent development.
86442         Patch by Aharon Robbins <arnold@skeeve.com>.
86444         [BZ #11892]
86445         * stdlib/putenv.c (putenv): Don't always create copy of the variable
86446         on the stack.
86448         [BZ #11895]
86449         * misc/pselect.c (__pselect): Handle timeout value errors hidden
86450         through underflows.
86452         [BZ #12766]
86453         * misc/error.c (error_at_line): Ensure file_name and old_file_name
86454         point to strings before performing equality test for error_one_per_line
86455         mode.
86457         [BZ #11697]
86458         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
86460         [BZ #11820]
86461         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
86462         (struct user_fpregs_struct): Avoid __uint*_t types.
86464         [BZ #6420]
86465         * malloc/mtrace.c (tr_where): Add additional parameter to point to
86466         symbol info.  Use it instead of calling _dl_addr locally.
86467         (lock_and_info): New function.
86468         (tr_freehook): Call lock_and_info and pass symbol info as additional
86469         parameter to tr_where.
86470         (tr_mallochook): Likewise.
86471         (tr_reallochook): Likewise.
86472         (tr_memalignhook): Likewise.
86474         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
86475         used and couldn't be at all thread-safe.
86477 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
86479         * libio/freopen.c (freopen): Don't close old file descriptor
86480         before the new one is opened.  Instead dup the new file descriptor
86481         to the old one after the new stream is created.
86482         * libio/freopen64.c (freopen64): Likewise.
86483         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
86484         * libio/fileops.c (_IO_new_file_close_it): Handle new
86485         _IO_FLAGS2_NOCLOSE flag.
86486         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
86487         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
86488         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
86489         _IO_FLAGS2_NOCLOSE flag.
86490         * include/unistd.h: Add hidden_proto for dup3.
86491         Define __have_dup3.
86492         * io/dup3.c: Define hidden symbol.
86493         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
86495         [BZ #7101]
86496         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
86497         when an incomplete long option is used.
86498         * posix/tst-getopt_long1.c: New file.
86499         * posix/Makefile (tests): Add tst-getopt_long1.
86501         [BZ #10138]
86502         * scripts/config.guess: Update from autoconf-2.68.
86503         * scripts/config.sub: Likewise.
86505         [BZ #10157]
86506         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
86507         tests into ...
86508         (has_cpuclock): ...this.  New function.
86509         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
86510         macro here based on has_cpuclock code.
86512         [BZ #10149]
86513         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86514         First byte (not low byte) is now always NUL.
86515         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
86517         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86518         Use non-cancelable interfaces.
86520         [BZ #9809]
86521         * locale/iso-639.def: Add entry for Sorani.
86523         [BZ #11901]
86524         * include/stdlib.h: Move include protection to the right place.
86525         Define abort_msg_s.  Declare __abort_msg with it.
86526         * stdlib/abort.c (__abort_msg): Adjust type.
86527         * assert/assert.c (__assert_fail_base): New function.  Majority
86528         of code from __assert_fail.  Allocate memory for __abort_msg with
86529         mmap.
86530         (__assert_fail): Now call __assert_fail_base.
86531         * assert/assert-perr.c: Remove bulk of implementation.  Use
86532         __assert_fail_base.
86533         * include/assert.hL Declare __assert_fail_base.
86534         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
86535         mmap.
86536         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
86538 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
86540         [BZ #11952]
86541         [BZ #12453]
86542         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
86543         until all modules are registered in the DTV.
86544         * elf/Makefile: Add rules to build and run tst-tls19.
86545         * elf/tst-tls19.c: New file.
86546         * elf/tst-tls19mod1.c: New file.
86547         * elf/tst-tls19mod2.c: New file.
86548         * elf/tst-tls19mod3.c: New file.
86549         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
86551         [BZ #12083]
86552         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
86553         correctly.
86555         [BZ #12601]
86556         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
86557         two-byte sequence errors.
86558         * iconvdata/Makefile (tests): Add bug-iconv8.
86559         * iconvdata/bug-iconv8.c: New file.
86561         [BZ #12626]
86562         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
86563         buf2 definition.
86565         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
86567         [BZ #12432]
86568         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
86569         (dummy_getcfa): New function.
86570         (init): Get _Unwind_GetCFA address, use dummy if not found.
86571         (backtrace_helper): In recursion check, also check whether CFA changes.
86572         (__backtrace): Completely initialize arg.
86574         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
86575         storing incomplete byte sequence in state object.  Avoid testing for
86576         guaranteed too small input if we know there is enough data available.
86578 2011-05-11  Andreas Schwab  <schwab@redhat.com>
86580         * Makeconfig (+link-pie): Indent.
86581         * Rules (binaries-pie): Define if $(have-fpie) and
86582         $(build-shared).
86583         (binaries-shared): Also filter out $(binaries-pie).
86584         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
86585         * nscd/Makefile (others-pie): Add nscd.
86586         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
86587         ($(objpfx)nscd): Remove command override.
86588         * login/Makefile (others-pie): Add pt_chown.
86589         ($(objpfx)pt_chown): Remove command override.
86590         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
86591         remove command overrides.
86593 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
86595         * libio/tst_putwc.c: Fix error messages.
86597         [BZ #12724]
86598         * libio/fileops.c (_IO_new_file_close_it): Always flush when
86599         currently writing and seek to current position when not.
86600         * libio/Makefile (tests): Add bug-fclose1.
86601         * libio/bug-fclose1.c: New file.
86603 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
86605         [BZ #12511]
86606         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
86607         don't set DF_1_NODELETE here.
86608         (do_lookup_x): When entering new entry test for copy relocation
86609         and if necessary set DF_1_NODELETE flag.
86610         * elf/tst-unique4.cc: New file.
86611         * elf/tst-unique4.h: New file.
86612         * elf/tst-unique4lib.cc: New file.
86613         * elf/Makefile: Add rules to build and run tst-unique4.
86614         Patch by Piotr Bury <pbury@goahead.com>.
86616 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
86618         [BZ #12052]
86619         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
86621         [BZ #12625]
86622         * misc/mntent_r.c (addmntent): Flush the stream after the output
86624         [BZ #12393]
86625         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
86626         (is_trusted_path_normalize): Skip initial colon.  Append slash
86627         to empty buffer.  Duplicate is_trusted_path code but allow
86628         constructed patch to be prefix.
86629         (is_dst): Allow $ORIGIN followed by /.
86630         (_dl_dst_substitute): Correct clearing of check_for_trusted.
86631         Correct testing of result of is_trusted_path_normalize
86632         (decompose_rpath): Fix warning.
86634 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
86636         [BZ #11257]
86637         * grp/initgroups.c (internal_getgrouplist): When we found the service
86638         list through the initgroups entry in nsswitch.conf do not always
86639         continue on a successful lookup.  Don't always use the
86640         __nss_group_database value if it is set.
86641         * nss/nsswitch.conf (initgroups): Change action for successful db
86642         lookup to continue for compatibility.
86644 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
86646         [BZ #11532]
86647         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
86648         and CP774 modules.
86649         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
86650         and CP774 modules.
86651         * iconvdata/tst-tables.sh: Likewise.
86652         * iconvdata/cp770.c: New file.
86653         * iconvdata/cp771.c: New file.
86654         * iconvdata/cp772.c: New file.
86655         * iconvdata/cp773.c: New file.
86656         * iconvdata/cp774.c: New file.
86657         * iconvdata/testdata/CP770: New file.
86658         * iconvdata/testdata/CP770..UTF8: New file.
86659         * iconvdata/testdata/CP771: New file.
86660         * iconvdata/testdata/CP771..UTF8: New file.
86661         * iconvdata/testdata/CP772: New file.
86662         * iconvdata/testdata/CP772..UTF8: New file.
86663         * iconvdata/testdata/CP773: New file.
86664         * iconvdata/testdata/CP773..UTF8: New file.
86665         * iconvdata/testdata/CP774: New file.
86666         * iconvdata/testdata/CP774..UTF8: New file.
86668         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
86669         END CHARMAP line.
86670         * iconvdata/gen-8bit-gap.sh: Likewise.
86671         * iconvdata/gen-8bit.sh: Likewise.
86673         * locale/iso-639.def: Add ary entry.
86675         [BZ #11258]
86676         * locale/C-translit.h.in: Add U20A1 transliteration.
86678         [BZ #12178]
86679         * locale/iso-639.def: Add wae entry.
86680         Patch by Kevin Bortis <bortis@translate-wae.ch>.
86682         [BZ #12545]
86683         * locale/programs/localedef.c (construct_output_path): Use ssize_t
86684         for n.
86686         [BZ #12711]
86687         * locale/C-translit.h.in: Add entry for U20B9.
86688         Patch by pravin.d.s@gmail.com.
86690 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
86692         [BZ #12713]
86693         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
86694         ENAMETOOLONG use generic getcwd.
86695         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
86696         in rtld.  Use *stat64.
86697         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
86698         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
86699         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
86700         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
86701         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
86702         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
86703         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
86704         __fstatat64 macros.
86705         * include/dirent.h: Add libc_hidden_proto for rewinddir.
86706         * dirent/rewinddir.c: Add libc_hidden_def.
86707         * sysdeps/mach/hurd/rewinddir.c: Likewise.
86708         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
86710         * include/dirent.h (__alloc_dir): Add flags parameter.
86711         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
86712         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
86713         __alloc_dir.
86714         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
86715         from fdopendir if O_CLOEXEC is already set.
86717 2011-03-15  Alan Modra  <amodra@gmail.com>
86719         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
86720         l_tls_firstbyte_offset non-zero.  Save padding offset in
86721         l_tls_firstbyte_offset for later use.
86722         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
86723         freeing static tls block.
86725 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
86727         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
86728         where #ifdef was intended.  The intent is to prevent ARG_MAX from
86729         being defined by the kernel headers.
86731 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
86733         [BZ #12734]
86734         * resolv/resolv.h: Define RES_NOTLDQUERY.
86735         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
86736         no-tld-query and set RES_NOTLDQUERY.
86737         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
86738         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
86739         modern BIND to search name as TLD unless forbidden.
86741 2011-05-07  Petr Baudis  <pasky@suse.cz>
86742             Ulrich Drepper  <drepper@gmail.com>
86744         [BZ #12393]
86745         * elf/dl-load.c (fillin_rpath): Move trusted path check...
86746         (is_trusted_path): ...to here.
86747         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
86748         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
86749         using is_trusted_path_normalize() in setuid scripts.
86751 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
86753         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
86754         __BEGIN/__END_DECLS.
86756 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
86758         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
86759         NSS_STATUS_NOTFOUND if no record was found.
86761 2011-05-05  Andreas Schwab  <schwab@redhat.com>
86763         * sunrpc/Makefile (headers): Add rpc/netdb.h.
86764         (headers-not-in-tirpc): Remove rpc/netdb.h
86765         * resolv/netdb.h: Revert last change.
86767 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
86769         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
86770         circular dependency between libgcc.a and libc.a.
86772 2011-05-05  Andreas Schwab  <schwab@redhat.com>
86774         * resolv/netdb.h: Don't include <rpc/netdb.h>.
86775         * nis/Makefile: Don't install rpcsvc/*.
86776         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
86777         instead of <rpc/types.h>.
86778         (MAXHOSTNAMELEN): Define.
86780 2011-05-03  Andreas Schwab  <schwab@redhat.com>
86782         * elf/ldconfig.c (add_dir): Don't crash on empty path.
86784 2011-04-28  Maciej Babinski  <mbabinski@google.com>
86786         [BZ #12714]
86787         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
86788         gethostbyname4_r when IPv6 results are possible.
86790 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
86792         [BZ #12723]
86793         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
86794         _PC_PIPE_BUF handling.
86796 2011-04-30  Bruno Haible  <bruno@clisp.org>
86798         [BZ #12717]
86799         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
86800         * resolv/netdb.h (getnameinfo): Change type of flags parameter
86801         to 'int'.
86802         * inet/getnameinfo.c (getnameinfo): Likewise.
86804 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
86806         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
86807         to groups setting in database lookup.
86808         * nss/nsswitch.conf: Add initgroups entry.
86810 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
86812         [BZ #12685]
86813         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
86814         mode string.
86815         Patch by Eric Blake <eblake@redhat.com>.
86817 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
86819         * sunrpc/Makefile (need-export-routines): Add svc_run.
86820         (routines): Remove svc_run.
86821         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
86822         * sunrpc/clnt_perr.c (clnt_perrno): Export.
86823         * sunrpc/svc_run.c (svc_run): Likewise.
86824         * sunrpc/svc_udp.c (svcudp_create): Likewise.
86826 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
86828         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
86829         problem in reallocation in last patch.
86831 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
86833         * sunrpc/Makefile: Move inclusion of Rules.
86835 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
86837         * nss/nss_files/files-initgroups.c: New file.
86838         * nss/Makefile (libnss_files-routines): Add files-initgroups.
86839         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
86840         _nss_files_initgroups_dyn.
86842 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
86844         * elf/elf.h (R_ARM_IRELATIVE): Define.
86846 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
86848         * po/ru.po: Update from translation team.
86850 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
86852         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
86853         dependencies.
86855 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
86857         [BZ #12653]
86858         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
86859         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
86860         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
86861         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
86862         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
86864 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
86866         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
86867         differing bytes.
86868         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
86869         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
86870         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
86872 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
86874         [BZ #12420]
86875         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
86876         storing it.
86877         * stdlib/bug-getcontext.c: New file.
86878         * stdlib/Makefile: Add rules to build and run bug-getcontext.
86880 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86882         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
86883         instructions into .machine "z9-109".
86884         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
86885         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
86887 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86889         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
86890         between environment variables and auxiliary vector.
86892 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
86894         * Makefile: Add rules to build linkobj/libc.so.
86895         * include/libc-symbols.h: Define libc_hidden_nolink.
86896         * include/rpc/auth.h: Mark functions which are to be hidden.
86897         * include/rpc/auth_des.h: Likewise.
86898         * include/rpc/auth_unix.h: Likewise.
86899         * include/rpc/clnt.h: Likewise.
86900         * include/rpc/des_crypt.h: Likewise.
86901         * include/rpc/key_prot.h: Likewise.
86902         * include/rpc/pmap_clnt.h: Likewise.
86903         * include/rpc/pmap_prot.h: Likewise.
86904         * include/rpc/pmap_rmt.h: Likewise.
86905         * include/rpc/rpc_msg.h: Likewise.
86906         * include/rpc/svc.h: Likewise.
86907         * include/rpc/svc_auth.h: Likewise.
86908         * include/rpc/xdr.h: Likewise.
86909         * nis/Makefile: Link all DSOs against linkobj/libc.so.
86910         * nss/Makefile: Likewise.
86911         * sunrpc/Makefile: Don't install headers.  Build library with normal
86912         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
86913         * sunrpc/auth_des.c: Hide exported symbols by default, export some
86914         for the compat linking library.  Remove use of INTDEF/INTUSE.
86915         * sunrpc/auth_none.c: Likewise.
86916         * sunrpc/auth_unix.c: Likewise.
86917         * sunrpc/authdes_prot.c: Likewise.
86918         * sunrpc/authuxprot.c: Likewise.
86919         * sunrpc/clnt_gen.c: Likewise.
86920         * sunrpc/clnt_perr.c: Likewise.
86921         * sunrpc/clnt_raw.c: Likewise.
86922         * sunrpc/clnt_simp.c: Likewise.
86923         * sunrpc/clnt_tcp.c: Likewise.
86924         * sunrpc/clnt_udp.c: Likewise.
86925         * sunrpc/clnt_unix.c: Likewise.
86926         * sunrpc/des_crypt.c: Likewise.
86927         * sunrpc/des_soft.c: Likewise.
86928         * sunrpc/get_myaddr.c: Likewise.
86929         * sunrpc/key_call.c: Likewise.
86930         * sunrpc/key_prot.c: Likewise.
86931         * sunrpc/netname.c: Likewise.
86932         * sunrpc/pm_getmaps.c: Likewise.
86933         * sunrpc/pm_getport.c: Likewise.
86934         * sunrpc/pmap_clnt.c: Likewise.
86935         * sunrpc/pmap_prot.c: Likewise.
86936         * sunrpc/pmap_prot2.c: Likewise.
86937         * sunrpc/pmap_rmt.c: Likewise.
86938         * sunrpc/publickey.c: Likewise.
86939         * sunrpc/rpc_cmsg.c: Likewise.
86940         * sunrpc/rpc_common.c: Likewise.
86941         * sunrpc/rpc_dtable.c: Likewise.
86942         * sunrpc/rpc_prot.c: Likewise.
86943         * sunrpc/rpc_thread.c: Likewise.
86944         * sunrpc/rtime.c: Likewise.
86945         * sunrpc/svc.c: Likewise.
86946         * sunrpc/svc_auth.c: Likewise.
86947         * sunrpc/svc_authux.c: Likewise.
86948         * sunrpc/svc_raw.c: Likewise.
86949         * sunrpc/svc_run.c: Likewise.
86950         * sunrpc/svc_simple.c: Likewise.
86951         * sunrpc/svc_tcp.c: Likewise.
86952         * sunrpc/svc_udp.c: Likewise.
86953         * sunrpc/svc_unix.c: Likewise.
86954         * sunrpc/svcauth_des.c: Likewise.
86955         * sunrpc/xcrypt.c: Likewise.
86956         * sunrpc/xdr.c: Likewise.
86957         * sunrpc/xdr_array.c: Likewise.
86958         * sunrpc/xdr_float.c: Likewise.
86959         * sunrpc/xdr_intXX_t.c: Likewise.
86960         * sunrpc/xdr_mem.c: Likewise.
86961         * sunrpc/xdr_rec.c: Likewise.
86962         * sunrpc/xdr_ref.c: Likewise.
86963         * sunrpc/xdr_sizeof.c: Likewise.
86964         * sunrpc/xdr_stdio.c: Likewise.
86966 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
86968         [BZ #12650]
86969         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
86970         * sysdeps/ia64/dl-tls.h: Likewise.
86971         * sysdeps/powerpc/dl-tls.h: Likewise.
86972         * sysdeps/s390/dl-tls.h: Likewise.
86973         * sysdeps/sh/dl-tls.h: Likewise.
86974         * sysdeps/sparc/dl-tls.h: Likewise.
86975         * sysdeps/x86_64/dl-tls.h: Likewise.
86976         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
86978 2011-03-14  Andreas Schwab  <schwab@redhat.com>
86980         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
86981         rpath element also skip the following colon.
86982         (expand_dynamic_string_token): Add is_path parameter and pass
86983         down to DL_DST_REQUIRED and _dl_dst_substitute.
86984         (decompose_rpath): Call expand_dynamic_string_token with
86985         non-zero is_path.  Ignore empty rpaths.
86986         (_dl_map_object_from_fd): Call expand_dynamic_string_token
86987         with zero is_path.
86989 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
86991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
86992         Make cancelable.
86994 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
86996         [BZ #12655]
86997         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
86998         Patch by Filipe David Manana <fdmanana@apache.org>.
87000 2011-04-07  Andreas Schwab  <schwab@redhat.com>
87002         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
87003         Maintain aligned stack.
87004         (CHECK_RSP): Remove unused macro.
87006 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
87008         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
87009         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
87011 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
87013         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
87015         * include/features.h: Mention __USE_XOPEN2K8 in comment.
87017 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
87019         [BZ #12518]
87020         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
87021         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
87022         * sysdeps/x86_64/memmove.c: New file.
87023         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
87024         (memcpy): Renamed to ...
87025         (__new_memcpy): This.
87026         (memcpy): Provide GLIBC_2_14 memcpy.
87027         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
87028         (memcpy): Provide GLIBC_2_2_5 memcpy.
87030 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87032         [BZ #12631]
87033         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
87035 2011-03-30  Andreas Schwab  <schwab@redhat.com>
87037         * misc/syncfs.c: New file.
87038         * misc/Makefile (routines): Add syncfs.
87039         * posix/unistd.h: Declare syncfs.
87040         * sysdeps/unix/syscalls.list: Add syncfs.
87042 2011-04-01  Andreas Schwab  <schwab@redhat.com>
87044         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
87045         open_by_handle_at.
87046         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
87047         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87048         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87049         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87050         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87051         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
87052         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87054 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87056         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
87057         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87058         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
87059         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87060         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87061         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87062         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87064         * io/Makefile: Compile fallocate.c, fallocate64.c, and
87065         sync_file_range.c with -fexceptions.
87066         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
87067         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
87068         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
87069         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
87070         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
87071         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
87072         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
87073         sync_file_range as cancellation point
87074         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
87075         now a wrapper around __call_sync_file_range with cancellation handling.
87076         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
87077         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
87078         function name to __call_sync_file_range.
87079         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
87080         Add call_sync_file_range.
87082 2011-04-01  Andreas Schwab  <schwab@redhat.com>
87084         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87085         bits/timex.h.
87087 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87089         * iconv/iconv.h: Fix typo in comment.
87090         * io/fcntl.h: Likewise.
87091         * libio/stdio.h: Likewise.
87092         * posix/spawn.h: Likewise.
87093         * posix/unistd.h: Likewise.
87094         * stdlib/stdlib.h: Likewise.
87095         * time/time.h: Likewise.
87096         * wcsmbs/wchar.h: Likewise.
87098         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
87099         open_by_handle): Add.
87100         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
87101         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
87102         Augment a few comments.
87103         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87104         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87105         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87106         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87107         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87108         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
87109         open_by_handle.
87111         * io/fcntl.h (AT_EMPTY_PATH): Define.
87113 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
87115         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
87116         * sysdeps/unix/sysv/linux/bits/time.h: New file.
87117         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
87118         to...
87119         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
87120         * Versions.def: Add GLIBC_2.14.
87121         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
87122         Export.
87124 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
87126         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
87127         round counter.
87128         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
87130 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
87132         [BZ #12597]
87133         * string/test-strncmp.c (do_page_test): New function.
87134         (check2): Likewise.
87135         (test_main): Call check2.
87136         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
87138 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
87140         [BZ #12587]
87141         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
87142         Handle cache information in CPU leaf 4.
87143         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
87145 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
87147         [BZ #12583]
87148         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
87149         character representation.
87150         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
87152 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
87154         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
87155         END(__isnan) to END(__isnanf) to match function entry point/label
87156         EALIGN(__isnanf,...).
87158 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
87160         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
87162 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
87164         [BZ #12510]
87165         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
87166         copy from the symbol referenced in the relocation to initialize the
87167         used variable.
87168         Patch by Piotr Bury <pbury@goahead.com>.
87169         * elf/Makefile: Add rules to build and tst-unique3.
87170         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
87171         * elf/tst-unique3.cc: New file.
87172         * elf/tst-unique3.h: New file.
87173         * elf/tst-unique3lib.cc: New file.
87174         * elf/tst-unique3lib2.cc: New file.
87176         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
87178 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
87180         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
87181         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
87182         to _start.
87184 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
87186         * elf/dl-load.c (_dl_map_object): If we are looking for the first
87187         to-be-loaded object along a path to loader is ld.so.
87189 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
87190             Ulrich Drepper  <drepper@gmail.com>
87192         * sysdeps/x86_64/memset.S: After aligning destination, code
87193         branches to different locations depending on the value of
87194         misalignment, when multiarch is enabled. Fix this.
87196 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
87198         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
87199         Set _x86_64_preferred_memory_instruction for AMD processsors.
87200         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87201         Set bit_Prefer_SSE_for_memop for AMD processors.
87203 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
87205         * libio/fmemopen.c (fmemopen): Optimize a bit.
87207 2011-03-03  Andreas Schwab  <schwab@redhat.com>
87209         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
87211 2011-03-03  Roland McGrath  <roland@redhat.com>
87213         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
87215 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
87217         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
87218         __bzero_ultra1 instead of __memset_ultra1.
87220 2011-02-23  Andreas Schwab  <schwab@redhat.com>
87221             Ulrich Drepper  <drepper@gmail.com>
87223         [BZ #12509]
87224         * include/link.h (struct link_map): Add l_orig_initfini.
87225         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
87226         returning unsuccessfully.
87227         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
87228         close of a file loaded at startup, restore the original l_initfini
87229         list.
87230         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
87231         list, store the pointer.
87232         * elf/Makefile ($(objpfx)noload-mem): New rule.
87233         (noload-ENV): Define.
87234         (tests): Add $(objpfx)noload-mem.
87235         * elf/noload.c: Include <memcheck.h>.
87236         (main): Call mtrace.  Close all opened handles.
87238 2011-02-17  Andreas Schwab  <schwab@redhat.com>
87240         [BZ #12454]
87241         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
87242         dependencies are missing.
87244 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87246         Fix __if_freereq crash: Unlike the generic version which uses free,
87247         Hurd needs munmap.
87248         * sysdeps/mach/hurd/ifreq.h: New file.
87250 2011-01-27  Petr Baudis  <pasky@suse.cz>
87251             Ulrich Drepper  <drepper@gmail.com>
87253         [BZ 12445]#
87254         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
87255         to extend_alloca().
87256         * stdio-common/bug23.c: New file.
87257         * stdio-common/Makefile (tests): Add bug23.
87259 2010-09-28  Andreas Schwab  <schwab@redhat.com>
87260             Ulrich Drepper  <drepper@gmail.com>
87262         [BZ #12489]
87263         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
87264         before performing relro protection.  At old place add assertion
87265         to make sure nothing changed.
87267 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
87268             Glauber de Oliveira Costa  <glommer@gmail.com>
87270         * elf/elf.h: Add new ARM TLS relocs.
87272 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
87274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
87275         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
87276         cast from r3.
87277         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
87278         'tests' variable.
87279         * sysdeps/wordsize-64/tst-writev.c: New file.
87281 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
87283         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
87284         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
87285         insns in _dl_start to prevent a TOC reference before relocs are
87286         resolved.
87288 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
87290         [BZ #12469]
87291         * Makeconfig: Remove RANLIB definition.
87292         * Makerules: Don't use RANLIB.
87293         * aclocal.m4: Remove ranlib test.
87294         * configure.in: No need to check for ranlib.
87295         * elf/rtld-Rules: Don't use RANLIB.
87297 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87299         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
87300         protection macro.
87301         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
87302         inclusion protection macro.
87304         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
87305         SIGRTMIN and SIGRTMAX and print information in that case only when
87306         SIGRTMIN is defined.
87308 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
87310         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
87311         arginfo fn returning -1.
87313         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
87314         and thousands string is zero terminated.
87316 2011-02-03  Andreas Schwab  <schwab@redhat.com>
87318         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
87319         sysdeps/unix/sysv/linux/bits/socket.h.
87321 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87323         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
87324         (__CPU_COUNT): Remove old macros.
87325         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
87326         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
87327         (__CPU_ALLOC, __CPU_FREE): Add macros.
87328         (__sched_cpualloc, __sched_cpufree): Add declarations.
87330 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
87332         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
87333         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
87334         * nscd/aicache.c (addhstaiX): Return timeout of added value.
87335         (readdhstai): Return value of addhstaiX call.
87336         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
87337         (addgrbyX): Return value returned by cache_addgr.
87338         (readdgrbyname): Return value returned by addgrbyX.
87339         (readdgrbygid): Likewise.
87340         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
87341         (addpwbyX): Return value returned by cache_addpw.
87342         (readdpwbyname): Return value returned by addhstbyX.
87343         (readdpwbyuid): Likewise.
87344         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
87345         (addservbyX): Return value returned by cache_addserv.
87346         (readdservbyname): Return value returned by addservbyX:
87347         (readdservbyport): Likewise.
87348         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
87349         (addhstbyX): Return value returned by cache_addhst.
87350         (readdhstbyname): Return value returned by addhstbyX.
87351         (readdhstbyaddr): Likewise.
87352         (readdhstbynamev6): Likewise.
87353         (readdhstbyaddrv6): Likewise.
87354         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
87355         (readdinitgroups): Return value returned by addinitgroupsX.
87356         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
87357         (prune_cache): Keep track of timeout value of re-added entries.
87358         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
87359         * nscd/nscd.h: Adjust prototypes of readd* functions.
87361 2011-02-04  Roland McGrath  <roland@redhat.com>
87363         * nis/nis_server.c (nis_servstate): Use the right name for 0.
87364         (nis_stats): Likewise.
87365         * nis/nis_modify.c (nis_modify): Likewise.
87366         * nis/nis_remove.c (nis_remove): Likewise.
87367         * nis/nis_add.c (nis_add): Likewise.
87369         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
87371         * posix/fnmatch_loop.c: Add some consts.
87373         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
87375 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
87377         [BZ #12460]
87378         * config.make.in (config-cflags-novzeroupper): Define.
87379         * configure.in: Substitute libc_cv_cc_novzeroupper.
87380         * elf/Makefile (AVX-CFLAGS): Define.
87381         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
87382         (CFLAGS-tst-auditmod4a.c): Likewise.
87383         (CFLAGS-tst-auditmod4b.c): Likewise.
87384         (CFLAGS-tst-auditmod6b.c): Likewise.
87385         (CFLAGS-tst-auditmod6c.c): Likewise.
87386         (CFLAGS-tst-auditmod7b.c): Likewise.
87387         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
87389 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
87391         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
87392         function to the callback.
87393         Patch partly by Jiri Olsa <jolsa@redhat.com>.
87395 2011-02-02  Andreas Schwab  <schwab@redhat.com>
87397         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
87398         of errno.
87400 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
87402         [BZ #11724]
87403         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
87404         of constructors.
87405         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
87406         of destructors.
87407         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
87409         [BZ #11724]
87410         * elf/Makefile: Add rules to build and run new test.
87411         * elf/tst-initorder.c: New file.
87412         * elf/tst-initorder.exp: New file.
87413         * elf/tst-initordera1.c: New file.
87414         * elf/tst-initordera2.c: New file.
87415         * elf/tst-initordera3.c: New file.
87416         * elf/tst-initordera4.c: New file.
87417         * elf/tst-initorderb1.c: New file.
87418         * elf/tst-initorderb2.c: New file.
87419         * elf/tst-order-a1.c: New file.
87420         * elf/tst-order-a2.c: New file.
87421         * elf/tst-order-a3.c: New file.
87422         * elf/tst-order-a4.c: New file.
87423         * elf/tst-order-b1.c: New file.
87424         * elf/tst-order-b2.c: New file.
87425         * elf/tst-order-main.c: New file.
87426         New test case by George Gensure <werkt0@gmail.com>.
87428 2010-10-01  Andreas Schwab  <schwab@redhat.com>
87430         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
87431         decoding ACE if AI_CANONIDN.
87433 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
87435         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
87437 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
87439         * version.h (RELEASE): Bump for 2.13 release.
87440         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
87442         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
87444         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
87445         MADV_NOHUGEPAGE.
87446         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
87447         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
87448         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
87449         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
87450         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
87451         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
87453         * posix/getconf.c: Update copyright year.
87454         * catgets/gencat.c: Likewise.
87455         * csu/version.c: Likewise.
87456         * debug/catchsegv.sh: Likewise.
87457         * debug/xtrace.sh: Likewise.
87458         * elf/ldconfig.c: Likewise.
87459         * elf/ldd.bash.in: Likewise.
87460         * elf/sprof.c (print_version): Likewise.
87461         * iconv/iconv_prog.c: Likewise.
87462         * iconv/iconvconfig.c: Likewise.
87463         * locale/programs/locale.c: Likewise.
87464         * locale/programs/localedef.c: Likewise.
87465         * malloc/memusage.sh: Likewise.
87466         * malloc/mtrace.pl: Likewise.
87467         * nscd/nscd.c (print_version): Likewise.
87468         * nss/getent.c: Likewise.
87470         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
87471         PF_CAIF, and PF_ALG.
87472         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87474 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
87476         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
87477         (modules-names): Use them.
87478         (ifunc-test-modules, ifunc-pie-tests): Define.
87479         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
87480         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
87481         (test-extras): Likewise.
87482         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
87483         $(compile-command.c).
87484         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
87485         (all-built-dso): Define.
87486         (check-textrel.out, check-execstack.out): Depend on it.
87488         * configure.in: Don't override --enable-multi-arch.
87490 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
87492         [BZ #6812]
87493         * nscd/hstcache.c (tryagain): Define.
87494         (cache_addhst): Return tryagain not notfound for temporary errors.
87495         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
87496         failed.
87498 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
87500         [BZ #10563]
87501         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
87502         to make the syscall.
87503         * sysdeps/unix/sysv/linux/setgroups.c: New file.
87505         [BZ #12378]
87506         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
87507         and fall back to matching as normal character if the string ends before
87508         the matching ']' is found.  This is what POSIX requires.
87509         * posix/testfnm.c: Adjust test result.
87510         * posix/globtest.sh: Adjust test result.  Add new test.
87511         * posix/tst-fnmatch.input: Likewise.
87512         * posix/tst-fnmatch2.c: Add new test.
87514 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
87516         * elf/Makefile (check-execstack): Revert last change.  Depend on
87517         check-execstack.h.
87518         (check-execstack.h): New target.
87519         (generated): Add check-execstack.h.
87520         * elf/check-execstack.c: Include "check-execstack.h".
87521         (main): Revert last change.
87522         (handle_file): Return zero if GNU_STACK is absent and
87523         DEFAULT_STACK_PERMS doesn't include PF_X.
87525 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
87527         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
87528         in child fails because the descriptor is already closed.
87529         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
87530         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
87531         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
87533         [BZ #12397]
87534         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
87535         syscall.
87537         [BZ #10484]
87538         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
87539         temporary buffer used to handle multi lookups locally.
87540         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
87542 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
87544         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
87545         loader is ld.so.
87547 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
87549         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
87550         alignment for SSE2.
87552 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
87554         [BZ #12394]
87555         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
87556         characters.  When rounding increased number of integer digits recompute
87557         number of groups.
87558         * stdio-common/tst-grouping.c: New file.
87559         * stdio-common/Makefile: Add rules to build and run tst-grouping.
87561 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
87563         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
87564         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
87566         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
87567         void.
87568         * bits/select.h: Likewise.
87570 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
87572         * po/ja.po: Update from translation team.
87574 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
87576         [BZ #11155]
87577         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
87578         implementation just like for lxstat, fxstatat, et al.
87580 2010-12-27  Jim Meyering  <meyering@redhat.com>
87582         [BZ #12348]
87583         * posix/regexec.c (build_trtable): Return failure indication upon
87584         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
87586 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
87588         [BZ #12201]
87589         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
87590         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
87591         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
87592         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
87594         [BZ #12207]
87595         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
87597         [BZ #12204]
87598         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
87599         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
87601 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
87603         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
87604         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
87605         script has SORT_BY_INIT_PRIORITY.
87606         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
87607         NO_CTORS_DTORS_SECTIONS is defined.
87608         * elf/soinit.c: Likewise.
87609         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
87610         NO_CTORS_DTORS_SECTIONS is defined.
87611         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
87612         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
87613         * sysdeps/sh/init-first.c: Likewise.
87614         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
87616 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
87618         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
87619         always use the slow path.
87621 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
87623         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
87624         similar rule which adds the sysdep directories to the header search in
87625         order to pick up the correct platform stackinfo.h.
87626         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
87627         perform test if it is, otherwise return successfully without testing.
87628         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
87629         DEFAULT_STACK_PERMS define in stackinfo.h.
87630         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
87631         defined in stackinfo.h.
87632         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
87633         DEFAULT_STACK_PERMS defined in stackinfo.h.
87634         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
87635         * sysdeps/ia64/stackinfo.h: Likewise.
87636         * sysdeps/s390/stackinfo.h: Likewise.
87637         * sysdeps/sh/stackinfo.h: Likewise.
87638         * sysdeps/sparc/stackinfo.h: Likewise.
87639         * sysdeps/x86_64/stackinfo.h: Likewise.
87640         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
87641         PF_X for powerpc64.  Retain PF_X for powerpc32.
87643 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
87645         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
87646         accurately.
87647         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
87648         GETDENTS_64BIT_ALIGNED.
87650 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
87652         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
87654 2010-12-10  Andreas Schwab  <schwab@redhat.com>
87656         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
87657         _GNU_SOURCE.
87659         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
87660         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
87661         Remove __restrict.
87662         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
87663         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
87665 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
87667         [BZ #11655]
87668         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
87669         are initialized.
87671 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
87673         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
87675 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
87677         * po/it.po: Update from translation team.
87679 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
87681         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
87682         unused codes.
87684 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
87686         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
87688 2010-11-24  Andreas Schwab  <schwab@redhat.com>
87690         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
87691         specially.
87692         (gaih_getanswer_slice): Likewise.
87694 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
87696         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
87698 2010-05-31  Petr Baudis  <pasky@suse.cz>
87700         [BZ #11149]
87701         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
87702         silently even in the chroot mode.
87704 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
87706         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
87707         last patch a bit.  Pretty printing
87709 2010-05-31  Petr Baudis <pasky@suse.cz>
87711         [BZ #10085]
87712         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
87713         initialization of skip_initgroups_dyn.
87715 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
87717         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
87718         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
87720 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
87722         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
87724 2010-11-11  Andreas Schwab  <schwab@redhat.com>
87726         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
87727         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
87728         (tst-fnmatch-ENV): Set MALLOC_TRACE.
87729         ($(objpfx)tst-fnmatch-mem): New rule.
87730         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
87731         * posix/tst-fnmatch.c (main): Call mtrace.
87733 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
87735         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87736         Support Intel processor model 6 and model 0x2c.
87738 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
87740         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
87741           signed comparison.
87743 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
87745         [BZ #12205]
87746         * string/test-strncasecmp.c (check_result): New function.
87747         (do_one_test): Use it.
87748         (check1): New function.
87749         (test_main): Use it.
87750         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
87751         Support strcasecmp and strncasecmp.
87753 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
87755         [BZ #12194]
87756         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
87757         * sysdeps/x86_64/bits/byteswap.h: Likewise.
87759 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
87761         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
87762         IFUNC support.
87763         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87764         memset-x86-64.
87765         * sysdeps/x86_64/multiarch/bzero.S: New file.
87766         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
87767         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
87768         * sysdeps/x86_64/multiarch/memset.S: New file.
87769         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
87770         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87771         Set bit_Prefer_SSE_for_memop for Intel processors.
87772         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
87773         Define.
87774         (index_Prefer_SSE_for_memop): Define.
87775         (HAS_PREFER_SSE_FOR_MEMOP): Define.
87777 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
87779         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
87780         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
87782 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
87784         [BZ #12191]
87785         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
87786         (__x86_64_raw_data_cache_size_half): Likewise.
87787         (__x86_64_raw_shared_cache_size): Likewise.
87788         (__x86_64_raw_shared_cache_size_half): Likewise.
87790         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
87791         (__x86_64_raw_data_cache_size_half): Likewise.
87792         (__x86_64_raw_shared_cache_size): Likewise.
87793         (__x86_64_raw_shared_cache_size_half): Likewise.
87794         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
87795         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
87796         and __x86_64_raw_shared_cache_size_half.  Round
87797         __x86_64_data_cache_size_half, __x86_64_data_cache_size
87798         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
87799         to multiple of 256 bytes.
87801 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
87803         [BZ #12167]
87804         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
87805         of inacessible symlinks.  Verify result of symlink before returning it.
87806         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
87807         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
87809 2010-10-28  Erich Ritz  <erichritz@gmail.com>
87811         * math/math.h (isinf): Fix typo in comment.
87813 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
87815         * po/da.po: Update from translation team.
87817 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
87819         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
87820         is added to the list.
87822 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87823             Ulrich Drepper  <drepper@gmail.com>
87825         * elf/dl-object.c (_dl_new_object): Don't append the new object to
87826         the global list here.  Move code to...
87827         (_dl_add_to_namespace_list): ...here.  New function.
87828         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
87829         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
87830         * elf/dl-load.c (lose): Don't remove the element from the list.
87831         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
87832         (_dl_map_object): Likewise.
87834 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
87836         [BZ #12159]
87837         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
87838         into all bytes of SSE register.
87839         Patch by Richard Li <richardpku@gmail.com>.
87841 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
87843         [BZ #12140]
87844         * malloc/malloc.c (_int_free): Fill correct number of bytes when
87845         perturbing.
87847 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
87849         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
87850         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
87851         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
87852         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
87853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
87854         submachine.
87855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
87857 2010-10-22  Andreas Schwab  <schwab@redhat.com>
87859         * include/dlfcn.h (__RTLD_SECURE): Define.
87860         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
87861         mode & __RTLD_SECURE instead.
87862         (open_path): Rename preloaded parameter to secure.
87863         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
87864         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
87865         * elf/dl-deps.c (openaux): Likewise.
87866         * elf/rtld.c (struct map_args): Remove is_preloaded.
87867         (map_doit): Don't use it.
87868         (dl_main): Likewise.
87869         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
87870         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
87872 2010-09-09  Andreas Schwab  <schwab@redhat.com>
87874         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
87875         (sysd-rules-targets): Remove duplicates.
87876         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
87877         rtld-%.$o dependency.
87879 2010-10-18  Andreas Schwab  <schwab@redhat.com>
87881         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
87882         _dl_map_object do it.
87884 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
87886         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
87887         fast fma builtins, define the macros in the C99 standard.
87888         (FP_FAST_FMAF): Likewise.
87889         (FP_FAST_FMAL): Likewise.
87890         * sysdeps/x86_64/bits/mathdef.h: Likewise.
87892         * bits/mathdef.h: Update copyright year.
87893         * sysdeps/powerpc/bits/mathdef.h: Likewise.
87895 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
87897         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
87898         builtins, define the macros in the C99 standard.
87899         (FP_FAST_FMAF): Likewise.
87900         (FP_FAST_FMAL): Likewise.
87901         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
87902         multiply/add.
87903         (FP_FAST_FMAF): Likewise.
87905 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
87907         [BZ #3268]
87908         * math/libm-test.inc (fma_test): Some new testcases.
87909         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
87910         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
87911         y and infinite z.  Do multiplication by C already in long double.
87912         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
87913         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
87914         y and infinite z.  Do bitwise or of inexact bit into u.d.
87915         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
87916         * sysdeps/i386/fpu/s_fmaf.S: Removed.
87917         * sysdeps/i386/fpu/s_fma.S: Removed.
87918         * sysdeps/i386/fpu/s_fmal.S: Removed.
87920 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
87922         [BZ #3268]
87923         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
87924         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
87925         computation is not scheduled after fetestexcept.  Fix value
87926         of minimum denormal long double.
87928 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
87930         [BZ #3268]
87931         * math/libm-test.inc (fma_test): Add some more tests.
87932         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
87933         correctly.
87935 2010-10-15  Andreas Schwab  <schwab@redhat.com>
87937         * scripts/data/localplt-s390-linux-gnu.data: New file.
87938         * scripts/data/localplt-s390x-linux-gnu.data: New file.
87940 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
87942         [BZ #3268]
87943         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
87944         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
87945         instead of dbl-64.
87946         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
87947         inlines.
87948         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
87949         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
87950         if one of x and y is very large and the other is subnormal.
87951         * sysdeps/s390/fpu/s_fmaf.c: New file.
87952         * sysdeps/s390/fpu/s_fma.c: New file.
87953         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
87954         * sysdeps/powerpc/fpu/s_fma.S: New file.
87955         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
87956         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
87957         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
87959 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
87961         [BZ #3268]
87962         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
87963         fma tests.
87964         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
87965         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
87966         * sysdeps/i386/i686/multiarch/s_fma.c: Include
87967         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
87968         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
87969         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
87970         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
87972 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
87974         [BZ #12078]
87975         * posix/regcomp.c (parse_branch): One more memory leak plugged.
87976         * posix/bug-regex31.input: Add test case.
87978 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
87980         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
87981         * posix/bug-regex31.input: New file.
87983         [BZ #12078]
87984         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
87985         (parse_sub_exp): Fix last change, use postorder.
87987         * posix/bug-regex31.c: New file.
87988         * posix/Makefile: Add rules to build and run bug-regex31.
87990         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
87992         [BZ #12078]
87993         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
87995         [BZ #12108]
87996         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
87997         to have entries in sys_siglist.
87999         [BZ #12093]
88000         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
88001         be NULL.
88003 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
88005         [BZ #3268]
88006         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
88007         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
88008         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
88009         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
88010         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
88011         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
88012         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
88013         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
88014         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
88015         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
88016         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
88017         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
88018         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
88019         * math/ftestexcept.c (fetestexcept): Likewise.
88020         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
88021         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
88022         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
88023         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
88024         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
88025         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
88026         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
88028 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
88030         [BZ #12107]
88031         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
88032         newline.
88034 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
88036         * string/bug-strstr1.c: New file.
88037         * string/Makefile: Add rules to build and run bug-strstr1.
88039 2010-10-05  Eric Blake  <eblake@redhat.com>
88041         [BZ #12092]
88042         * string/str-two-way.h (two_way_long_needle): Always clear memory
88043         when skipping input due to the shift table.
88045 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
88047         [BZ #12005]
88048         * malloc/mcheck.c: Handle large requests.
88050         [BZ #12077]
88051         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
88052         for strncmp and strncasecmp.
88053         * string/stratcliff.c: Add tests for strcmp and strncmp.
88054         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
88056 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
88058         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
88059         __set_fpscr.
88061 2010-09-30  Andreas Jaeger  <aj@suse.de>
88063         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
88064         (CGROUP_SUPER_MAGIC): Define.
88065         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88066         Handle btrfs and cgroup file systems.
88067         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
88068         Likewise.
88070 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
88072         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
88073         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
88075 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88077         [BZ #12067]
88078         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
88079         trying to locate the ELF header.
88081 2010-09-27  Andreas Schwab  <schwab@redhat.com>
88083         [BZ #11611]
88084         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
88085         Mask out sign-bit copies when constructing f_fsid.
88087 2010-09-24  Petr Baudis <pasky@suse.cz>
88089         * debug/stack_chk_fail_local.c: Add missing licence exception.
88090         * debug/warning-nop.c: Likewise.
88092 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
88094         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
88095         implementing getdents64 using getdents syscall, set d_type if
88096         __ASSUME_GETDENTS32_D_TYPE.
88098 2010-09-16  Andreas Schwab  <schwab@redhat.com>
88100         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
88101         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
88103 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
88105         [BZ #12037]
88106         * posix/unistd.h: Undo change of feature selection for ftruncate from
88107         2010-01-11.
88109 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
88111         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
88112         detection.
88114 2010-09-20  Andreas Schwab  <schwab@redhat.com>
88116         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
88117         fanotify_mark.
88118         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
88120 2010-09-14  Andreas Schwab  <schwab@redhat.com>
88122         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
88123         variables after CHECK_SP call.
88124         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
88126 2010-09-13  Andreas Schwab  <schwab@redhat.com>
88127             Ulrich Drepper  <drepper@redhat.com>
88129         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
88130         re-relocationg ld.so.
88131         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
88132         _dl_init_paths call.
88133         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
88134         here anymore.
88136 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
88138         * resolv/res_init.c (__res_vinit): Count the default server we added.
88140 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
88141             Ulrich Drepper  <drepper@redhat.com>
88143         [BZ #11968]
88144         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
88145         (____longjmp_chk): Use %ebx for saving value across system call.
88146         Add unwind info.
88148 2010-09-06  Andreas Schwab  <schwab@redhat.com>
88150         * manual/Makefile: Don't mix pattern rules with normal rules.
88152 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
88154         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
88155         operation.
88156         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
88157         * libio/iofopncook.c (_IO_cookie_init): Likewise.
88158         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
88159         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
88160         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
88161         Likewise.
88163 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
88165         [BZ #11979]
88166         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
88167         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
88169 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
88171         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
88172         * sysdeps/x86_64/addmul_1.S: Likewise.
88173         * sysdeps/x86_64/lshift.S: Likewise.
88174         * sysdeps/x86_64/mul_1.S: Likewise.
88175         * sysdeps/x86_64/rshift.S: Likewise.
88176         * sysdeps/x86_64/sub_n.S: Likewise.
88177         * sysdeps/x86_64/submul_1.S: Likewise.
88179 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88181         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
88182         Define __sched_param instead of SCHED_* and sched_param when
88183         <bits/sched.h> is included with __need_schedparam defined.
88184         * bits/sched.h [__need_schedparam]
88185         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
88186         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
88187         (__defined_schedparam): Define to 1.
88188         (__sched_param): New structure, identical to sched_param.
88189         (__need_schedparam): Undefine.
88191 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
88193         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
88194         (epoll_create1): Declare.
88196         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
88198 2010-08-31  Andreas Schwab  <schwab@redhat.com>
88200         [BZ #7066]
88201         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
88202         shifting retval into place.
88204 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
88206         * nis/rpcsvc/nis.h: Update copyright notice.
88207         * nis/rpcsvc/nis.x: Likewise.
88208         * nis/rpcsvc/nis_callback.h: Likewise.
88209         * nis/rpcsvc/nis_callback.x: Likewise.
88210         * nis/rpcsvc/nis_object.x: Likewise.
88211         * nis/rpcsvc/nis_tags.h: Likewise.
88212         * nis/rpcsvc/yp.h: Likewise.
88213         * nis/rpcsvc/yp.x: Likewise.
88214         * nis/rpcsvc/ypupd.h: Likewise.
88215         * nis/yp_xdr.c: Likewise.
88216         * nis/ypupdate_xdr.c: Likewise.
88218         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
88219         mainly the body of pmap_getport.  Add parameters to specify timeouts.
88220         (pmap_getport): Use __libc_rpc_getport.
88221         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
88222         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
88223         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
88225 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
88227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
88228         fanotify_mark.
88230 2010-08-27  Roland McGrath  <roland@redhat.com>
88232         * sysdeps/i386/i686/multiarch/Makefile
88233         (CFLAGS-varshift.c): New variable.
88235 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
88237         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
88238         * sysdeps/i386/i686/multiarch/varshift.c: New file.
88240         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
88242         * sysdeps/x86_64/strlen.S: Minimal code improvement.
88244 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
88246         * sysdeps/x86_64/strlen.S: Unroll the loop.
88247         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88248         strlen-sse2 strlen-sse2-bsf.
88249         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
88250         __strlen_no_bsf if bit_Slow_BSF is set.
88251         (__strlen_sse42): Removed.
88252         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
88253         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
88255 2010-08-25  Roland McGrath  <roland@redhat.com>
88257         * sysdeps/x86_64/multiarch/varshift.S: File removed.
88258         * sysdeps/x86_64/multiarch/varshift.c: New file.
88259         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
88260         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
88261         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
88262         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
88264 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
88266         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88267         strlen-sse2 strlen-sse2-bsf.
88268         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
88269         __strlen_sse2_bsf if bit_Slow_BSF is unset.
88270         (__strlen_sse2): Removed.
88271         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
88272         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
88273         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
88274         bit_Slow_BSF for Atom.
88275         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
88276         (index_Slow_BSF): Define.
88277         (HAS_SLOW_BSF): Define.
88279 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
88281         [BZ #10851]
88282         * resolv/res_init.c (__res_vinit): When no server address at all
88283         is given default to loopback.
88285 2010-08-24  Roland McGrath  <roland@redhat.com>
88287         * configure.in: Remove config-name.h generation.
88288         * configure: Regenerated.
88289         * config-name.in: File removed.
88290         * scripts/config-uname.sh: New file.
88291         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
88292         ($(objdir)config-name.h): New target.
88294         * sunrpc/rpc_parse.h: Avoid nested comment.
88296 2010-08-24  Richard Henderson  <rth@redhat.com>
88297             Ulrich Drepper  <drepper@redhat.com>
88298             H.J. Lu  <hongjiu.lu@intel.com>
88300         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
88301         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
88302         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
88303         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
88304         _mm_alignr_epi8 with _mm_loadu_si128.
88305         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
88306         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
88307         (__m128i_shift_right): Removed.
88308         * sysdeps/i386/i686/multiarch/varshift.h: New file.
88309         * sysdeps/i386/i686/multiarch/varshift.S: New file.
88310         * sysdeps/x86_64/multiarch/varshift.h: New file.
88311         * sysdeps/x86_64/multiarch/varshift.S: New file.
88313 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
88315         * configure.in: Move assembler checks to before sysdep dir checking.
88317 2010-08-20  Petr Baudis  <pasky@suse.cz>
88319         * LICENSES: Sync the sunrpc license.
88321 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
88323         * sunrpc/auth_des.c: Update copyright notice once again.
88324         * sunrpc/auth_none.c: Likewise.
88325         * sunrpc/auth_unix.c: Likewise.
88326         * sunrpc/authdes_prot.c: Likewise.
88327         * sunrpc/authuxprot.c: Likewise.
88328         * sunrpc/bindrsvprt.c: Likewise.
88329         * sunrpc/clnt_gen.c: Likewise.
88330         * sunrpc/clnt_perr.c: Likewise.
88331         * sunrpc/clnt_raw.c: Likewise.
88332         * sunrpc/clnt_simp.c: Likewise.
88333         * sunrpc/clnt_tcp.c: Likewise.
88334         * sunrpc/clnt_udp.c: Likewise.
88335         * sunrpc/clnt_unix.c: Likewise.
88336         * sunrpc/des_crypt.c: Likewise.
88337         * sunrpc/des_soft.c: Likewise.
88338         * sunrpc/get_myaddr.c: Likewise.
88339         * sunrpc/getrpcport.c: Likewise.
88340         * sunrpc/key_call.c: Likewise.
88341         * sunrpc/key_prot.c: Likewise.
88342         * sunrpc/openchild.c: Likewise.
88343         * sunrpc/pm_getmaps.c: Likewise.
88344         * sunrpc/pm_getport.c: Likewise.
88345         * sunrpc/pmap_clnt.c: Likewise.
88346         * sunrpc/pmap_prot.c: Likewise.
88347         * sunrpc/pmap_prot2.c: Likewise.
88348         * sunrpc/pmap_rmt.c: Likewise.
88349         * sunrpc/rpc/auth.h: Likewise.
88350         * sunrpc/rpc/auth_unix.h: Likewise.
88351         * sunrpc/rpc/clnt.h: Likewise.
88352         * sunrpc/rpc/des_crypt.h: Likewise.
88353         * sunrpc/rpc/key_prot.h: Likewise.
88354         * sunrpc/rpc/netdb.h: Likewise.
88355         * sunrpc/rpc/pmap_clnt.h: Likewise.
88356         * sunrpc/rpc/pmap_prot.h: Likewise.
88357         * sunrpc/rpc/pmap_rmt.h: Likewise.
88358         * sunrpc/rpc/rpc.h: Likewise.
88359         * sunrpc/rpc/rpc_des.h: Likewise.
88360         * sunrpc/rpc/rpc_msg.h: Likewise.
88361         * sunrpc/rpc/svc.h: Likewise.
88362         * sunrpc/rpc/svc_auth.h: Likewise.
88363         * sunrpc/rpc/types.h: Likewise.
88364         * sunrpc/rpc/xdr.h: Likewise.
88365         * sunrpc/rpc_clntout.c: Likewise.
88366         * sunrpc/rpc_cmsg.c: Likewise.
88367         * sunrpc/rpc_common.c: Likewise.
88368         * sunrpc/rpc_cout.c: Likewise.
88369         * sunrpc/rpc_dtable.c: Likewise.
88370         * sunrpc/rpc_hout.c: Likewise.
88371         * sunrpc/rpc_main.c: Likewise.
88372         * sunrpc/rpc_parse.c: Likewise.
88373         * sunrpc/rpc_parse.h: Likewise.
88374         * sunrpc/rpc_prot.c: Likewise.
88375         * sunrpc/rpc_sample.c: Likewise.
88376         * sunrpc/rpc_scan.c: Likewise.
88377         * sunrpc/rpc_scan.h: Likewise.
88378         * sunrpc/rpc_svcout.c: Likewise.
88379         * sunrpc/rpc_tblout.c: Likewise.
88380         * sunrpc/rpc_util.c: Likewise.
88381         * sunrpc/rpc_util.h: Likewise.
88382         * sunrpc/rpcinfo.c: Likewise.
88383         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
88384         * sunrpc/rpcsvc/key_prot.x: Likewise.
88385         * sunrpc/rpcsvc/klm_prot.x: Likewise.
88386         * sunrpc/rpcsvc/mount.x: Likewise.
88387         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
88388         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
88389         * sunrpc/rpcsvc/rex.x: Likewise.
88390         * sunrpc/rpcsvc/rstat.x: Likewise.
88391         * sunrpc/rpcsvc/rusers.x: Likewise.
88392         * sunrpc/rpcsvc/sm_inter.x: Likewise.
88393         * sunrpc/rpcsvc/spray.x: Likewise.
88394         * sunrpc/rpcsvc/yppasswd.x: Likewise.
88395         * sunrpc/rtime.c: Likewise.
88396         * sunrpc/svc.c: Likewise.
88397         * sunrpc/svc_auth.c: Likewise.
88398         * sunrpc/svc_authux.c: Likewise.
88399         * sunrpc/svc_raw.c: Likewise.
88400         * sunrpc/svc_run.c: Likewise.
88401         * sunrpc/svc_simple.c: Likewise.
88402         * sunrpc/svc_tcp.c: Likewise.
88403         * sunrpc/svc_udp.c: Likewise.
88404         * sunrpc/svc_unix.c: Likewise.
88405         * sunrpc/svcauth_des.c: Likewise.
88406         * sunrpc/xcrypt.c: Likewise.
88407         * sunrpc/xdr.c: Likewise.
88408         * sunrpc/xdr_array.c: Likewise.
88409         * sunrpc/xdr_float.c: Likewise.
88410         * sunrpc/xdr_mem.c: Likewise.
88411         * sunrpc/xdr_rec.c: Likewise.
88412         * sunrpc/xdr_ref.c: Likewise.
88413         * sunrpc/xdr_sizeof.c: Likewise.
88414         * sunrpc/xdr_stdio.c: Likewise.
88416         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
88417         handling.
88419 2010-08-19  Andreas Schwab  <schwab@redhat.com>
88421         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
88423 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
88425         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
88426         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
88427         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
88428         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
88429         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
88430         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
88431         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
88432         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
88433         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
88434         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
88435         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
88436         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
88437         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
88438         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
88440 2010-07-26  Anton Blanchard  <anton@samba.org>
88442         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
88443         * malloc/arena.c (heap_trim): Likewise.
88445 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
88447         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
88448         here.  Not...
88449         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
88450         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
88452 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
88454         * sysdeps/i386/elf/Makefile: New file.
88456 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
88458         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
88459         from fanotify_init.
88460         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
88461         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
88463 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
88465         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
88466         of strncasecmp_l.
88467         * sysdeps/multiarch/strcmp.S: Likewise.
88469 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
88471         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
88472         strncase_l-nonascii.
88473         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
88474         Add strncase_l-ssse3.
88475         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
88476         * sysdeps/x86_64/strcmp.S: Likewise.
88477         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
88478         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
88479         * sysdeps/x86_64/strncase.S: New file.
88480         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
88481         * sysdeps/x86_64/strncase_l.S: New file.
88482         * string/Makefile (strop-tests): Add strncasecmp.
88483         * string/test-strncasecmp.c: New file.
88485         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
88486         warning.
88488         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
88489         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
88491 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
88493         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
88495 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
88497         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
88498         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
88499         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
88501 2010-05-01  Alan Modra  <amodra@gmail.com>
88503         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
88504         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
88505         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
88506         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
88507         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
88508         tidying.  Don't tail-call __sigjmp_save for static lib.
88509         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
88510         save location.
88511         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
88512         (CALL_MCOUNT): Add eh info, and nop after bl.
88513         (TAIL_CALL_SYSCALL_ERROR): New macro.
88514         (PSEUDO_RET): Use it.
88515         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
88516         Correct save location of integer regs and cr.
88517         (_dl_profile_resolve): Correct cr save location.  Delete nops
88518         after bl when SHARED.  Reduce cfi size a little by better
88519         placement of cfi directives.
88520         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
88521         make a stack frame.  Instead use parm save area as a temp.
88522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
88523         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
88524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
88525         Don't make a stack frame for parent, use parm save area.
88526         Increase child stack frame to 112 bytes.  Don't save unused reg,
88527         and adjust reg usage.  Set up cfi on error recovery and
88528         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
88529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
88530         (__makecontext): Add dummy nop after jump to exit.
88531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
88532         Use correct parm save area and cr save, reduce stack frame.
88533         Correct cfi for possible PSEUDO_RET frame setup.
88534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
88535         Branch to local label emitted by PSEUDO_RET rather than
88536         __syscall_error.
88538 2010-08-12  Andreas Schwab  <schwab@redhat.com>
88540         [BZ #11904]
88541         * locale/programs/locale.c (print_assignment): New function.
88542         (show_locale_vars): Use it.
88544 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
88546         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
88547         field.
88548         (struct statfs64): Likewise.
88549         (_STATFS_F_FLAGS): Define.
88550         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
88551         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88552         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
88553         (ST_VALID): Define locally.
88554         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
88555         __statvfs_getflags, use the provided value.
88556         * sysdeps/unix/sysv/linux/kernel-features.h: Define
88557         __ASSUME_STATFS_F_FLAGS.
88559         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
88561         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
88562         Add sys/fanotify.h.
88563         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
88564         fanotify_mask for GLIBC_2.13.
88565         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
88566         fanotify_init and fanotify_mark.
88567         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
88568         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
88570         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
88571         Add prlimit.
88572         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
88573         prlimit64 for GLIBC_2.13.
88574         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
88575         prlimit64.
88576         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
88577         syscall.
88578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
88579         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
88580         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
88581         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
88582         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
88583         add prlimit alias.
88584         * sysdeps/unix/sysv/linux/prlimit.c: New file.
88586         [BZ #11903]
88587         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
88588         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
88590         * nss/Makefile: Add rules to build and run tst-nss-test1.
88591         * shlib-versions: Add entry for libnss_test1.
88592         * nss/nss_test1.c: New file.
88593         * nss/tst-nss-test1.c: New file.
88595         * nss/nsswitch.c (__nss_database_custom): Define new variable.
88596         (__nss_configure_lookup): Set appropriate entry in
88597         __nss_configure_lookup to true.
88598         * nss/nsswitch.h: Define enum with indeces of databases in
88599         databases and __nss_database_custom arrays.  Declare
88600         __nss_database_custom.
88601         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
88602         to avoid using nscd when custom rules are installed.
88603         * nss/getXXbyYY_r.c: Likewise.
88604         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
88606         * nss/nss_files/files-parse.c: Whitespace fixes.
88608 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
88610         [BZ #11883]
88611         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
88612         * posix/fnmatch_loop.c: Likewise.
88614 2010-07-17  Andi Kleen  <ak@linux.intel.com>
88616         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
88617         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
88618         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
88619         * Versions.def [GLIBC_2.13]: Add.
88621 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
88623         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
88624         Also fail if tpwd after pwuid call is NULL.
88626 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88628         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
88629         when converting to ms.
88631 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88633         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
88634         EOPNOTSUPP errors with ENOTTY.
88635         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
88636         EOPNOTSUPP errors with ENOTTY.
88638 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
88640         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
88641         Add strcasecmp_l-ssse3.
88642         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
88643         strcasecmp.
88644         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
88645         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
88646         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
88648 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
88650         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
88652         * string/Makefile (strop-tests): Add strcasecmp.
88653         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
88654         strcasecmp_l-nonascii.
88655         (gen-as-const-headers): Add locale-defines.sym.
88656         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
88657         * sysdeps/x86_64/strcasecmp.S: New file.
88658         * sysdeps/x86_64/strcasecmp_l.S: New file.
88659         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
88660         * sysdeps/x86_64/locale-defines.sym: New file.
88661         * string/test-strcasecmp.c: New file.
88663         * string/test-strcasestr.c: Test both ends of the range of characters.
88664         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
88666 2010-07-29  Roland McGrath  <roland@redhat.com>
88668         [BZ #11856]
88669         * manual/locale.texi (Yes-or-No Questions): Fix example code.
88671 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
88673         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
88674         for ld.so.
88676 2010-07-27  Andreas Schwab  <schwab@redhat.com>
88678         * manual/memory.texi (Malloc Tunable Parameters): Document
88679         M_PERTURB.
88681 2010-07-26  Roland McGrath  <roland@redhat.com>
88683         [BZ #11840]
88684         * configure.in (-fgnu89-inline check): Set and substitute
88685         gnu89_inline, not libc_cv_gnu89_inline.
88686         * configure: Regenerated.
88687         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
88689 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
88691         * string/test-strnlen.c: New file.
88692         * string/Makefile (strop-tests): Add strnlen.
88693         * string/tester.c (test_strnlen): Add a few more test cases.
88694         * string/tst-strlen.c: Better error reporting.
88696         * sysdeps/x86_64/strnlen.S: New file.
88698 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
88700         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
88701         lower-latency instructions.
88703 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
88705         * string/test-strcasestr.c: New file.
88706         * string/test-strstr.c: New file.
88707         * string/Makefile (strop-tests): Add strstr and strcasestr.
88708         * string/str-two-way.h: Don't undefine MAX.
88709         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
88711 2010-07-21  Andreas Schwab  <schwab@redhat.com>
88713         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88714         strcasestr-nonascii.
88715         (CFLAGS-strcasestr-nonascii.c): Define.
88716         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
88717         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
88718         Remove unused attribute.
88720 2010-07-20  Roland McGrath  <roland@redhat.com>
88722         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
88723         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
88724         ld.so.cache was broken.  With it, there is no way to disable dsocaps
88725         like LD_HWCAP_MASK can disable hwcaps.
88727 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
88729         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
88731 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
88733         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
88734         call in strcasestr.
88735         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
88736         __strcasestr_sse42_nonascii.
88737         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
88738         strcasestr-nonascii.c.
88739         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
88741 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
88743         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
88744         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
88745         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
88746         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
88748 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
88750         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
88751         fcntl.
88753 2010-07-06  Andreas Schwab  <schwab@redhat.com>
88755         [BZ #11577]
88756         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
88757         dl_signal_cerror.
88759 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
88761         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
88762         _PC_PIPE_BUF using F_GETPIPE_SZ.
88764 2010-07-05  Roland McGrath  <roland@redhat.com>
88766         * manual/arith.texi (Rounding Functions): Fix rint description
88767         implicit in round description.
88769 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
88771         * elf/Makefile: Fix linking for a few tests to make recent linker
88772         happy.
88774 2010-06-30  Andreas Schwab  <schwab@redhat.com>
88776         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
88777         $(common-objpfx)libc_nonshared.a.
88779 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
88781         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
88782         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
88783         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
88784         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
88785         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
88786         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
88787         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
88788         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
88789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
88790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
88791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
88792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
88793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
88794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
88795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
88796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
88797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
88798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
88799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
88800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
88801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
88802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
88803         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
88804         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
88805         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
88806         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
88807         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
88808         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
88809         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
88810         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
88811         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
88812         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
88813         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
88814         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
88815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
88816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
88817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
88818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
88819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
88820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
88821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
88822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
88823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
88824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
88825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
88826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
88827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
88828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
88830 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
88832         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
88833         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
88834         * string/memmove.c (memmove): Renamed to ...
88835         (MEMMOVE): ...this.  Default to memmove.
88836         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
88837         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
88838         (END_CHK): Define.
88839         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88840         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
88841         mempcpy-ssse3-back memmove-ssse3-back.
88842         * sysdeps/x86_64/multiarch/bcopy.S: New file .
88843         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
88844         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
88845         * sysdeps/x86_64/multiarch/memcpy.S: New file.
88846         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
88847         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
88848         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
88849         * sysdeps/x86_64/multiarch/memmove.c: New file.
88850         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
88851         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
88852         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
88853         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
88854         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
88855         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
88856         Define.
88857         (index_Fast_Copy_Backward): Define.
88858         (HAS_ARCH_FEATURE): Define.
88859         (HAS_FAST_REP_STRING): Define.
88860         (HAS_FAST_COPY_BACKWARD): Define.
88862 2010-06-21  Andreas Schwab  <schwab@redhat.com>
88864         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
88865         Restore proper fallback handling.
88867 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
88869         [BZ #11701]
88870         * posix/group_member.c (__group_member): Correct checking loop.
88872         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
88873         OOM in getpwuid_r correctly.  Return error number when the caller
88874         should return, otherwise -1.
88875         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
88876         call returning > 0 value.
88877         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
88879 2010-06-07  Andreas Schwab  <schwab@redhat.com>
88881         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
88882         libc_nonshared.a from targets in modules-names.
88884 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
88886         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
88887         requires it.
88889 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
88891         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
88892         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
88893         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
88894         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
88896 2010-06-02  Andreas Schwab  <schwab@redhat.com>
88898         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
88900 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
88902         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
88903         and F_GETPIPE_SZ.
88904         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
88905         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88906         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88907         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88908         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88909         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88911 2010-06-14  Roland McGrath  <roland@redhat.com>
88913         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
88915 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
88917         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
88918         __REDIRECT followed by __THROW.
88919         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
88920         * posix/getopt.h (getopt): Likewise.
88922 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
88924         * hurd/lookup-at.c (__file_name_lookup_at): Accept
88925         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
88926         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
88927         in AT_FLAGS.
88928         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
88929         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
88931 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
88933         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
88935 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
88937         [BZ #11640]
88938         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88939         Properly check family and model.
88941 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
88943         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
88945 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
88947         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
88949 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
88951         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
88952         symbol reference.
88954 2010-05-19  Andreas Schwab  <schwab@redhat.com>
88956         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
88957         symbol reference.
88959 2010-05-21  Andreas Schwab  <schwab@redhat.com>
88961         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
88962         and internal_recvmmsg.
88963         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
88964         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
88965         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
88966         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
88968         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
88969         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
88970         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
88972 2010-05-20  Andreas Schwab  <schwab@redhat.com>
88974         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
88976 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
88978         POWER7 optimizations.
88979         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
88980         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
88982 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
88984         * version.h: Update for 2.13 development version.
88986 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
88988         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
88989         exceptions.  Return 0.
88991 2010-05-07  Roland McGrath  <roland@redhat.com>
88993         * elf/ldconfig.c (main): Add a const.
88995 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
88997         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
88998         (args_options): Add no-idn option.
88999         (ahosts_keys_int): Add idn_flags to ai_flags.
89000         (parse_option): Handle 'i' option to clear idn_flags.
89002         * malloc/malloc.c (_int_free): Possible race in the most recently
89003         added check.  Only act on the data if no current modification
89004         happened.
89006 See ChangeLog.17 for earlier changes.